#
tokens: 47187/50000 1/1628 files (page 167/181)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 167 of 181. Use http://codebase.md/xmlui-org/xmlui?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── config.json
│   └── stale-days-care.md
├── .eslintrc.cjs
├── .github
│   ├── build-checklist.png
│   ├── ISSUE_TEMPLATE
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── workflows
│       ├── deploy-blog-optimized.yml
│       ├── deploy-docs-optimized.yml
│       ├── deploy-docs.yml
│       ├── prepare-versions.yml
│       ├── release-packages.yml
│       ├── run-all-tests.yml
│       └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│   ├── launch.json
│   └── settings.json
├── blog
│   ├── .gitignore
│   ├── .gitkeep
│   ├── CHANGELOG.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── blog
│   │   │   ├── images
│   │   │   │   ├── blog-page-component.png
│   │   │   │   ├── blog-scrabble.png
│   │   │   │   ├── integrated-blog-search.png
│   │   │   │   └── lorem-ipsum.png
│   │   │   ├── lorem-ipsum.md
│   │   │   ├── newest-post.md
│   │   │   ├── older-post.md
│   │   │   └── welcome-to-the-xmlui-blog.md
│   │   ├── mockServiceWorker.js
│   │   ├── resources
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   └── for-download
│   │   │   │       └── xmlui
│   │   │   │           └── xmlui-standalone.umd.js
│   │   │   ├── github.svg
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   └── PageNotFound.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       ├── docs-theme.ts
│   │       ├── earthtone.ts
│   │       ├── xmlui-gray-on-default.ts
│   │       ├── xmlui-green-on-default.ts
│   │       └── xmlui-orange-on-default.ts
│   └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│   ├── .gitignore
│   ├── CHANGELOG.md
│   ├── ComponentRefLinks.txt
│   ├── content
│   │   ├── _meta.json
│   │   ├── components
│   │   │   ├── _meta.json
│   │   │   ├── _overview.md
│   │   │   ├── APICall.md
│   │   │   ├── App.md
│   │   │   ├── AppHeader.md
│   │   │   ├── AppState.md
│   │   │   ├── AutoComplete.md
│   │   │   ├── Avatar.md
│   │   │   ├── Backdrop.md
│   │   │   ├── Badge.md
│   │   │   ├── BarChart.md
│   │   │   ├── Bookmark.md
│   │   │   ├── Breakout.md
│   │   │   ├── Button.md
│   │   │   ├── Card.md
│   │   │   ├── Carousel.md
│   │   │   ├── ChangeListener.md
│   │   │   ├── Checkbox.md
│   │   │   ├── CHStack.md
│   │   │   ├── ColorPicker.md
│   │   │   ├── Column.md
│   │   │   ├── ContentSeparator.md
│   │   │   ├── CVStack.md
│   │   │   ├── DataSource.md
│   │   │   ├── DateInput.md
│   │   │   ├── DatePicker.md
│   │   │   ├── DonutChart.md
│   │   │   ├── DropdownMenu.md
│   │   │   ├── EmojiSelector.md
│   │   │   ├── ExpandableItem.md
│   │   │   ├── FileInput.md
│   │   │   ├── FileUploadDropZone.md
│   │   │   ├── FlowLayout.md
│   │   │   ├── Footer.md
│   │   │   ├── Form.md
│   │   │   ├── FormItem.md
│   │   │   ├── FormSection.md
│   │   │   ├── Fragment.md
│   │   │   ├── H1.md
│   │   │   ├── H2.md
│   │   │   ├── H3.md
│   │   │   ├── H4.md
│   │   │   ├── H5.md
│   │   │   ├── H6.md
│   │   │   ├── Heading.md
│   │   │   ├── HSplitter.md
│   │   │   ├── HStack.md
│   │   │   ├── Icon.md
│   │   │   ├── IFrame.md
│   │   │   ├── Image.md
│   │   │   ├── Items.md
│   │   │   ├── LabelList.md
│   │   │   ├── Legend.md
│   │   │   ├── LineChart.md
│   │   │   ├── Link.md
│   │   │   ├── List.md
│   │   │   ├── Logo.md
│   │   │   ├── Markdown.md
│   │   │   ├── MenuItem.md
│   │   │   ├── MenuSeparator.md
│   │   │   ├── ModalDialog.md
│   │   │   ├── NavGroup.md
│   │   │   ├── NavLink.md
│   │   │   ├── NavPanel.md
│   │   │   ├── NoResult.md
│   │   │   ├── NumberBox.md
│   │   │   ├── Option.md
│   │   │   ├── Page.md
│   │   │   ├── PageMetaTitle.md
│   │   │   ├── Pages.md
│   │   │   ├── Pagination.md
│   │   │   ├── PasswordInput.md
│   │   │   ├── PieChart.md
│   │   │   ├── ProgressBar.md
│   │   │   ├── Queue.md
│   │   │   ├── RadioGroup.md
│   │   │   ├── RealTimeAdapter.md
│   │   │   ├── Redirect.md
│   │   │   ├── Select.md
│   │   │   ├── Slider.md
│   │   │   ├── Slot.md
│   │   │   ├── SpaceFiller.md
│   │   │   ├── Spinner.md
│   │   │   ├── Splitter.md
│   │   │   ├── Stack.md
│   │   │   ├── StickyBox.md
│   │   │   ├── SubMenuItem.md
│   │   │   ├── Switch.md
│   │   │   ├── TabItem.md
│   │   │   ├── Table.md
│   │   │   ├── TableOfContents.md
│   │   │   ├── Tabs.md
│   │   │   ├── Text.md
│   │   │   ├── TextArea.md
│   │   │   ├── TextBox.md
│   │   │   ├── Theme.md
│   │   │   ├── TimeInput.md
│   │   │   ├── Timer.md
│   │   │   ├── ToneChangerButton.md
│   │   │   ├── ToneSwitch.md
│   │   │   ├── Tooltip.md
│   │   │   ├── Tree.md
│   │   │   ├── VSplitter.md
│   │   │   ├── VStack.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   ├── xmlui-spreadsheet
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Spreadsheet.md
│   │   │   └── xmlui-website-blocks
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       ├── Carousel.md
│   │   │       ├── HelloMd.md
│   │   │       ├── HeroSection.md
│   │   │       └── ScrollToTop.md
│   │   └── extensions
│   │       ├── _meta.json
│   │       ├── xmlui-animations
│   │       │   ├── _meta.json
│   │       │   ├── _overview.md
│   │       │   ├── Animation.md
│   │       │   ├── FadeAnimation.md
│   │       │   ├── FadeInAnimation.md
│   │       │   ├── FadeOutAnimation.md
│   │       │   ├── ScaleAnimation.md
│   │       │   └── SlideInAnimation.md
│   │       └── xmlui-website-blocks
│   │           ├── _meta.json
│   │           ├── _overview.md
│   │           ├── Carousel.md
│   │           ├── HelloMd.md
│   │           ├── HeroSection.md
│   │           └── ScrollToTop.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── feed.rss
│   │   ├── mockServiceWorker.js
│   │   ├── pages
│   │   │   ├── _meta.json
│   │   │   ├── app-structure.md
│   │   │   ├── build-editor-component.md
│   │   │   ├── build-hello-world-component.md
│   │   │   ├── components-intro.md
│   │   │   ├── context-variables.md
│   │   │   ├── forms.md
│   │   │   ├── globals.md
│   │   │   ├── glossary.md
│   │   │   ├── helper-tags.md
│   │   │   ├── hosted-deployment.md
│   │   │   ├── howto
│   │   │   │   ├── assign-a-complex-json-literal-to-a-component-variable.md
│   │   │   │   ├── chain-a-refetch.md
│   │   │   │   ├── debug-a-component.md
│   │   │   │   ├── delay-a-datasource-until-another-datasource-is-ready.md
│   │   │   │   ├── delegate-a-method.md
│   │   │   │   ├── do-custom-form-validation.md
│   │   │   │   ├── expose-a-method-from-a-component.md
│   │   │   │   ├── filter-and-transform-data-from-an-api.md
│   │   │   │   ├── group-items-in-list-by-a-property.md
│   │   │   │   ├── handle-background-operations.md
│   │   │   │   ├── hide-an-element-until-its-datasource-is-ready.md
│   │   │   │   ├── make-a-set-of-equal-width-cards.md
│   │   │   │   ├── make-a-table-responsive.md
│   │   │   │   ├── modify-a-value-reported-in-a-column.md
│   │   │   │   ├── paginate-a-list.md
│   │   │   │   ├── pass-data-to-a-modal-dialog.md
│   │   │   │   ├── react-to-button-click-not-keystrokes.md
│   │   │   │   ├── set-the-initial-value-of-a-select-from-fetched-data.md
│   │   │   │   ├── share-a-modaldialog-across-components.md
│   │   │   │   ├── sync-selections-between-table-and-list-views.md
│   │   │   │   ├── update-ui-optimistically.md
│   │   │   │   ├── use-built-in-form-validation.md
│   │   │   │   └── use-the-same-modaldialog-to-add-or-edit.md
│   │   │   ├── howto.md
│   │   │   ├── intro.md
│   │   │   ├── layout.md
│   │   │   ├── markup.md
│   │   │   ├── mcp.md
│   │   │   ├── modal-dialogs.md
│   │   │   ├── news-and-reviews.md
│   │   │   ├── reactive-intro.md
│   │   │   ├── refactoring.md
│   │   │   ├── routing-and-links.md
│   │   │   ├── samples
│   │   │   │   ├── color-palette.xmlui
│   │   │   │   ├── color-values.xmlui
│   │   │   │   ├── shadow-sizes.xmlui
│   │   │   │   ├── spacing-sizes.xmlui
│   │   │   │   ├── swatch.xmlui
│   │   │   │   ├── theme-gallery-brief.xmlui
│   │   │   │   └── theme-gallery.xmlui
│   │   │   ├── scoping.md
│   │   │   ├── scripting.md
│   │   │   ├── styles-and-themes
│   │   │   │   ├── common-units.md
│   │   │   │   ├── layout-props.md
│   │   │   │   ├── theme-variable-defaults.md
│   │   │   │   ├── theme-variables.md
│   │   │   │   └── themes.md
│   │   │   ├── template-properties.md
│   │   │   ├── test.md
│   │   │   ├── tutorial-01.md
│   │   │   ├── tutorial-02.md
│   │   │   ├── tutorial-03.md
│   │   │   ├── tutorial-04.md
│   │   │   ├── tutorial-05.md
│   │   │   ├── tutorial-06.md
│   │   │   ├── tutorial-07.md
│   │   │   ├── tutorial-08.md
│   │   │   ├── tutorial-09.md
│   │   │   ├── tutorial-10.md
│   │   │   ├── tutorial-11.md
│   │   │   ├── tutorial-12.md
│   │   │   ├── universal-properties.md
│   │   │   ├── user-defined-components.md
│   │   │   ├── vscode.md
│   │   │   ├── working-with-markdown.md
│   │   │   ├── working-with-text.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-charts
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── BarChart.md
│   │   │   │   ├── DonutChart.md
│   │   │   │   ├── LabelList.md
│   │   │   │   ├── Legend.md
│   │   │   │   ├── LineChart.md
│   │   │   │   └── PieChart.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   └── xmlui-spreadsheet
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       └── Spreadsheet.md
│   │   ├── resources
│   │   │   ├── devdocs
│   │   │   │   ├── debug-proxy-object-2.png
│   │   │   │   ├── debug-proxy-object.png
│   │   │   │   ├── table_editor_01.png
│   │   │   │   ├── table_editor_02.png
│   │   │   │   ├── table_editor_03.png
│   │   │   │   ├── table_editor_04.png
│   │   │   │   ├── table_editor_05.png
│   │   │   │   ├── table_editor_06.png
│   │   │   │   ├── table_editor_07.png
│   │   │   │   ├── table_editor_08.png
│   │   │   │   ├── table_editor_09.png
│   │   │   │   ├── table_editor_10.png
│   │   │   │   ├── table_editor_11.png
│   │   │   │   ├── table-editor-01.png
│   │   │   │   ├── table-editor-02.png
│   │   │   │   ├── table-editor-03.png
│   │   │   │   ├── table-editor-04.png
│   │   │   │   ├── table-editor-06.png
│   │   │   │   ├── table-editor-07.png
│   │   │   │   ├── table-editor-08.png
│   │   │   │   ├── table-editor-09.png
│   │   │   │   └── xmlui-rendering-of-tiptap-markdown.png
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   ├── clients.json
│   │   │   │   ├── daily-revenue.json
│   │   │   │   ├── dashboard-stats.json
│   │   │   │   ├── demo.xmlui
│   │   │   │   ├── demo.xmlui.xs
│   │   │   │   ├── downloads
│   │   │   │   │   └── downloads.json
│   │   │   │   ├── for-download
│   │   │   │   │   ├── index-with-api.html
│   │   │   │   │   ├── index.html
│   │   │   │   │   ├── mockApi.js
│   │   │   │   │   ├── start-darwin.sh
│   │   │   │   │   ├── start-linux.sh
│   │   │   │   │   ├── start.bat
│   │   │   │   │   └── xmlui
│   │   │   │   │       └── xmlui-standalone.umd.js
│   │   │   │   ├── getting-started
│   │   │   │   │   ├── cl-tutorial-final.zip
│   │   │   │   │   ├── cl-tutorial.zip
│   │   │   │   │   ├── cl-tutorial2.zip
│   │   │   │   │   ├── cl-tutorial3.zip
│   │   │   │   │   ├── cl-tutorial4.zip
│   │   │   │   │   ├── cl-tutorial5.zip
│   │   │   │   │   ├── cl-tutorial6.zip
│   │   │   │   │   ├── getting-started.zip
│   │   │   │   │   ├── hello-xmlui.zip
│   │   │   │   │   ├── xmlui-empty.zip
│   │   │   │   │   └── xmlui-starter.zip
│   │   │   │   ├── howto
│   │   │   │   │   └── component-icons
│   │   │   │   │       └── up-arrow.svg
│   │   │   │   ├── invoices.json
│   │   │   │   ├── monthly-status.json
│   │   │   │   ├── news-and-reviews.json
│   │   │   │   ├── products.json
│   │   │   │   ├── releases.json
│   │   │   │   ├── tutorials
│   │   │   │   │   ├── datasource
│   │   │   │   │   │   └── api.ts
│   │   │   │   │   └── p2do
│   │   │   │   │       ├── api.ts
│   │   │   │   │       └── todo-logo.svg
│   │   │   │   └── xmlui.json
│   │   │   ├── github.svg
│   │   │   ├── images
│   │   │   │   ├── apiaction-tutorial
│   │   │   │   │   ├── add-success.png
│   │   │   │   │   ├── apiaction-param.png
│   │   │   │   │   ├── change-completed.png
│   │   │   │   │   ├── change-in-progress.png
│   │   │   │   │   ├── confirm-delete.png
│   │   │   │   │   ├── data-error.png
│   │   │   │   │   ├── data-progress.png
│   │   │   │   │   ├── data-success.png
│   │   │   │   │   ├── display-1.png
│   │   │   │   │   ├── item-deleted.png
│   │   │   │   │   ├── item-updated.png
│   │   │   │   │   ├── missing-api-key.png
│   │   │   │   │   ├── new-item-added.png
│   │   │   │   │   └── test-message.png
│   │   │   │   ├── chat-api
│   │   │   │   │   └── domain-model.svg
│   │   │   │   ├── components
│   │   │   │   │   ├── image
│   │   │   │   │   │   └── breakfast.jpg
│   │   │   │   │   ├── markdown
│   │   │   │   │   │   └── colors.png
│   │   │   │   │   └── modal
│   │   │   │   │       ├── deep_link_dialog_1.jpg
│   │   │   │   │       └── deep_link_dialog_2.jpg
│   │   │   │   ├── create-apps
│   │   │   │   │   ├── collapsed-vertical.png
│   │   │   │   │   ├── using-forms-warning-dialog.png
│   │   │   │   │   └── using-forms.png
│   │   │   │   ├── datasource-tutorial
│   │   │   │   │   ├── data-with-header.png
│   │   │   │   │   ├── filtered-data.png
│   │   │   │   │   ├── filtered-items.png
│   │   │   │   │   ├── initial-page-items.png
│   │   │   │   │   ├── list-items.png
│   │   │   │   │   ├── next-page-items.png
│   │   │   │   │   ├── no-data.png
│   │   │   │   │   ├── pagination-1.jpg
│   │   │   │   │   ├── pagination-1.png
│   │   │   │   │   ├── polling-1.png
│   │   │   │   │   ├── refetch-data.png
│   │   │   │   │   ├── slow-loading.png
│   │   │   │   │   ├── test-message.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── unconventional-data.png
│   │   │   │   │   └── unfiltered-items.png
│   │   │   │   ├── flower.jpg
│   │   │   │   ├── get-started
│   │   │   │   │   ├── add-new-contact.png
│   │   │   │   │   ├── app-modified.png
│   │   │   │   │   ├── app-start.png
│   │   │   │   │   ├── app-with-boxes.png
│   │   │   │   │   ├── app-with-toast.png
│   │   │   │   │   ├── boilerplate-structure.png
│   │   │   │   │   ├── cl-initial.png
│   │   │   │   │   ├── cl-start.png
│   │   │   │   │   ├── contact-counts.png
│   │   │   │   │   ├── contact-dialog-title.png
│   │   │   │   │   ├── contact-dialog.png
│   │   │   │   │   ├── contact-menus.png
│   │   │   │   │   ├── contact-predicates.png
│   │   │   │   │   ├── context-menu.png
│   │   │   │   │   ├── dashboard-numbers.png
│   │   │   │   │   ├── default-contact-list.png
│   │   │   │   │   ├── delete-contact.png
│   │   │   │   │   ├── delete-task.png
│   │   │   │   │   ├── detailed-template.png
│   │   │   │   │   ├── edit-contact-details.png
│   │   │   │   │   ├── edited-contact-saved.png
│   │   │   │   │   ├── empty-sections.png
│   │   │   │   │   ├── filter-completed.png
│   │   │   │   │   ├── fullwidth-desktop.png
│   │   │   │   │   ├── fullwidth-mobile.png
│   │   │   │   │   ├── initial-table.png
│   │   │   │   │   ├── items-and-badges.png
│   │   │   │   │   ├── loading-message.png
│   │   │   │   │   ├── new-contact-button.png
│   │   │   │   │   ├── new-contact-saved.png
│   │   │   │   │   ├── no-empty-sections.png
│   │   │   │   │   ├── personal-todo-initial.png
│   │   │   │   │   ├── piechart.png
│   │   │   │   │   ├── review-today.png
│   │   │   │   │   ├── rudimentary-dashboard.png
│   │   │   │   │   ├── section-collapsed.png
│   │   │   │   │   ├── sectioned-items.png
│   │   │   │   │   ├── sections-ordered.png
│   │   │   │   │   ├── spacex-list-with-links.png
│   │   │   │   │   ├── spacex-list.png
│   │   │   │   │   ├── start-personal-todo-1.png
│   │   │   │   │   ├── submit-new-contact.png
│   │   │   │   │   ├── submit-new-task.png
│   │   │   │   │   ├── syntax-highlighting.png
│   │   │   │   │   ├── table-with-badge.png
│   │   │   │   │   ├── template-with-card.png
│   │   │   │   │   ├── test-emulated-api.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── todo-logo.png
│   │   │   │   │   └── xmlui-tools.png
│   │   │   │   ├── HelloApp.png
│   │   │   │   ├── HelloApp2.png
│   │   │   │   ├── logos
│   │   │   │   │   ├── xmlui1.svg
│   │   │   │   │   ├── xmlui2.svg
│   │   │   │   │   ├── xmlui3.svg
│   │   │   │   │   ├── xmlui4.svg
│   │   │   │   │   ├── xmlui5.svg
│   │   │   │   │   ├── xmlui6.svg
│   │   │   │   │   └── xmlui7.svg
│   │   │   │   ├── pdf
│   │   │   │   │   └── dummy-pdf.jpg
│   │   │   │   ├── rendering-engine
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   ├── Component.svg
│   │   │   │   │   ├── CompoundComponent.svg
│   │   │   │   │   ├── RootComponent.svg
│   │   │   │   │   └── tree-with-containers.svg
│   │   │   │   ├── reviewers-guide
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   └── incbutton-in-action.png
│   │   │   │   ├── tools
│   │   │   │   │   └── boilerplate-structure.png
│   │   │   │   ├── try.svg
│   │   │   │   ├── tutorial
│   │   │   │   │   ├── app-chat-history.png
│   │   │   │   │   ├── app-content-placeholder.png
│   │   │   │   │   ├── app-header-and-content.png
│   │   │   │   │   ├── app-links-channel-selected.png
│   │   │   │   │   ├── app-links-click.png
│   │   │   │   │   ├── app-navigation.png
│   │   │   │   │   ├── finished-ex01.png
│   │   │   │   │   ├── finished-ex02.png
│   │   │   │   │   ├── hello.png
│   │   │   │   │   ├── splash-screen-advanced.png
│   │   │   │   │   ├── splash-screen-after-click.png
│   │   │   │   │   ├── splash-screen-centered.png
│   │   │   │   │   ├── splash-screen-events.png
│   │   │   │   │   ├── splash-screen-expression.png
│   │   │   │   │   ├── splash-screen-reuse-after.png
│   │   │   │   │   ├── splash-screen-reuse-before.png
│   │   │   │   │   └── splash-screen.png
│   │   │   │   └── tutorial-01.png
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   ├── Boxes.xmlui
│   │   │   ├── Breadcrumb.xmlui
│   │   │   ├── ChangeLog.xmlui
│   │   │   ├── ColorPalette.xmlui
│   │   │   ├── DocumentLinks.xmlui
│   │   │   ├── DocumentPage.xmlui
│   │   │   ├── DocumentPageNoTOC.xmlui
│   │   │   ├── Icons.xmlui
│   │   │   ├── IncButton.xmlui
│   │   │   ├── IncButton2.xmlui
│   │   │   ├── NameValue.xmlui
│   │   │   ├── PageNotFound.xmlui
│   │   │   ├── PaletteItem.xmlui
│   │   │   ├── Palettes.xmlui
│   │   │   ├── SectionHeader.xmlui
│   │   │   ├── TBD.xmlui
│   │   │   ├── Test.xmlui
│   │   │   ├── ThemesIntro.xmlui
│   │   │   ├── ThousandThemes.xmlui
│   │   │   ├── TubeStops.xmlui
│   │   │   ├── TubeStops.xmlui.xs
│   │   │   └── TwoColumnCode.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       ├── docs-theme.ts
│   │       ├── earthtone.ts
│   │       ├── xmlui-gray-on-default.ts
│   │       ├── xmlui-green-on-default.ts
│   │       └── xmlui-orange-on-default.ts
│   └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│   ├── xmlui-animations
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── Animation.tsx
│   │   │   ├── AnimationNative.tsx
│   │   │   ├── FadeAnimation.tsx
│   │   │   ├── FadeInAnimation.tsx
│   │   │   ├── FadeOutAnimation.tsx
│   │   │   ├── index.tsx
│   │   │   ├── ScaleAnimation.tsx
│   │   │   └── SlideInAnimation.tsx
│   │   └── tsconfig.json
│   ├── xmlui-devtools
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── devtools
│   │   │   │   ├── DevTools.tsx
│   │   │   │   ├── DevToolsNative.module.scss
│   │   │   │   ├── DevToolsNative.tsx
│   │   │   │   ├── ModalDialog.module.scss
│   │   │   │   ├── ModalDialog.tsx
│   │   │   │   ├── ModalVisibilityContext.tsx
│   │   │   │   ├── Tooltip.module.scss
│   │   │   │   ├── Tooltip.tsx
│   │   │   │   └── utils.ts
│   │   │   ├── editor
│   │   │   │   └── Editor.tsx
│   │   │   └── index.tsx
│   │   ├── tsconfig.json
│   │   └── vite.config-overrides.ts
│   ├── xmlui-hello-world
│   │   ├── .gitignore
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── HelloWorld.module.scss
│   │   │   ├── HelloWorld.tsx
│   │   │   ├── HelloWorldNative.tsx
│   │   │   └── index.tsx
│   │   └── tsconfig.json
│   ├── xmlui-os-frames
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── IPhoneFrame.module.scss
│   │   │   ├── IPhoneFrame.tsx
│   │   │   ├── MacOSAppFrame.module.scss
│   │   │   ├── MacOSAppFrame.tsx
│   │   │   ├── WindowsAppFrame.module.scss
│   │   │   └── WindowsAppFrame.tsx
│   │   └── tsconfig.json
│   ├── xmlui-pdf
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   ├── components
│   │   │   │   └── Pdf.xmlui
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── LazyPdfNative.tsx
│   │   │   ├── Pdf.module.scss
│   │   │   └── Pdf.tsx
│   │   └── tsconfig.json
│   ├── xmlui-playground
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── hooks
│   │   │   │   ├── usePlayground.ts
│   │   │   │   └── useToast.ts
│   │   │   ├── index.tsx
│   │   │   ├── playground
│   │   │   │   ├── Box.module.scss
│   │   │   │   ├── Box.tsx
│   │   │   │   ├── CodeSelector.tsx
│   │   │   │   ├── ConfirmationDialog.module.scss
│   │   │   │   ├── ConfirmationDialog.tsx
│   │   │   │   ├── Editor.tsx
│   │   │   │   ├── Header.module.scss
│   │   │   │   ├── Header.tsx
│   │   │   │   ├── Playground.tsx
│   │   │   │   ├── PlaygroundContent.module.scss
│   │   │   │   ├── PlaygroundContent.tsx
│   │   │   │   ├── PlaygroundNative.module.scss
│   │   │   │   ├── PlaygroundNative.tsx
│   │   │   │   ├── Preview.module.scss
│   │   │   │   ├── Preview.tsx
│   │   │   │   ├── Select.module.scss
│   │   │   │   ├── StandalonePlayground.tsx
│   │   │   │   ├── StandalonePlaygroundNative.module.scss
│   │   │   │   ├── StandalonePlaygroundNative.tsx
│   │   │   │   ├── ThemeSwitcher.module.scss
│   │   │   │   ├── ThemeSwitcher.tsx
│   │   │   │   ├── ToneSwitcher.tsx
│   │   │   │   ├── Tooltip.module.scss
│   │   │   │   ├── Tooltip.tsx
│   │   │   │   └── utils.ts
│   │   │   ├── providers
│   │   │   │   ├── Toast.module.scss
│   │   │   │   └── ToastProvider.tsx
│   │   │   ├── state
│   │   │   │   └── store.ts
│   │   │   ├── themes
│   │   │   │   └── theme.ts
│   │   │   └── utils
│   │   │       └── helpers.ts
│   │   └── tsconfig.json
│   ├── xmlui-search
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── Search.module.scss
│   │   │   └── Search.tsx
│   │   └── tsconfig.json
│   ├── xmlui-spreadsheet
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── index.tsx
│   │   │   ├── Spreadsheet.tsx
│   │   │   └── SpreadsheetNative.tsx
│   │   └── tsconfig.json
│   └── xmlui-website-blocks
│       ├── .gitignore
│       ├── CHANGELOG.md
│       ├── demo
│       │   ├── components
│       │   │   ├── HeroBackgroundBreakoutPage.xmlui
│       │   │   ├── HeroBackgroundsPage.xmlui
│       │   │   ├── HeroContentsPage.xmlui
│       │   │   ├── HeroTextAlignPage.xmlui
│       │   │   ├── HeroTextPage.xmlui
│       │   │   └── HeroTonesPage.xmlui
│       │   ├── Main.xmlui
│       │   └── themes
│       │       └── default.ts
│       ├── index.html
│       ├── index.ts
│       ├── meta
│       │   └── componentsMetadata.ts
│       ├── package.json
│       ├── public
│       │   └── resources
│       │       ├── building.jpg
│       │       └── xmlui-logo.svg
│       ├── src
│       │   ├── Carousel
│       │   │   ├── Carousel.module.scss
│       │   │   ├── Carousel.tsx
│       │   │   ├── CarouselContext.tsx
│       │   │   └── CarouselNative.tsx
│       │   ├── FancyButton
│       │   │   ├── FancyButton.module.scss
│       │   │   ├── FancyButton.tsx
│       │   │   └── FancyButton.xmlui
│       │   ├── Hello
│       │   │   ├── Hello.tsx
│       │   │   ├── Hello.xmlui
│       │   │   └── Hello.xmlui.xs
│       │   ├── HeroSection
│       │   │   ├── HeroSection.module.scss
│       │   │   ├── HeroSection.tsx
│       │   │   └── HeroSectionNative.tsx
│       │   ├── index.tsx
│       │   ├── ScrollToTop
│       │   │   ├── ScrollToTop.module.scss
│       │   │   ├── ScrollToTop.tsx
│       │   │   └── ScrollToTopNative.tsx
│       │   └── vite-env.d.ts
│       └── tsconfig.json
├── README.md
├── tools
│   ├── codefence
│   │   └── xmlui-code-fence-docs.md
│   ├── create-app
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── create-app.ts
│   │   ├── helpers
│   │   │   ├── copy.ts
│   │   │   ├── get-pkg-manager.ts
│   │   │   ├── git.ts
│   │   │   ├── install.ts
│   │   │   ├── is-folder-empty.ts
│   │   │   ├── is-writeable.ts
│   │   │   ├── make-dir.ts
│   │   │   └── validate-pkg.ts
│   │   ├── index.ts
│   │   ├── package.json
│   │   ├── templates
│   │   │   ├── default
│   │   │   │   └── ts
│   │   │   │       ├── gitignore
│   │   │   │       ├── index.html
│   │   │   │       ├── index.ts
│   │   │   │       ├── public
│   │   │   │       │   ├── mockServiceWorker.js
│   │   │   │       │   ├── resources
│   │   │   │       │   │   ├── favicon.ico
│   │   │   │       │   │   └── xmlui-logo.svg
│   │   │   │       │   └── serve.json
│   │   │   │       └── src
│   │   │   │           ├── components
│   │   │   │           │   ├── ApiAware.xmlui
│   │   │   │           │   ├── Home.xmlui
│   │   │   │           │   ├── IncButton.xmlui
│   │   │   │           │   └── PagePanel.xmlui
│   │   │   │           ├── config.ts
│   │   │   │           └── Main.xmlui
│   │   │   ├── index.ts
│   │   │   └── types.ts
│   │   └── tsconfig.json
│   ├── create-xmlui-hello-world
│   │   ├── index.js
│   │   └── package.json
│   └── vscode
│       ├── .gitignore
│       ├── .vscode
│       │   ├── launch.json
│       │   └── tasks.json
│       ├── .vscodeignore
│       ├── build.sh
│       ├── CHANGELOG.md
│       ├── esbuild.js
│       ├── eslint.config.mjs
│       ├── formatter-docs.md
│       ├── generate-test-sample.sh
│       ├── LICENSE.md
│       ├── package-lock.json
│       ├── package.json
│       ├── README.md
│       ├── resources
│       │   ├── xmlui-logo.png
│       │   └── xmlui-markup-syntax-highlighting.png
│       ├── src
│       │   ├── extension.ts
│       │   └── server.ts
│       ├── syntaxes
│       │   └── xmlui.tmLanguage.json
│       ├── test-samples
│       │   └── sample.xmlui
│       ├── tsconfig.json
│       └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
    ├── .gitignore
    ├── bin
    │   ├── bootstrap.js
    │   ├── build-lib.ts
    │   ├── build.ts
    │   ├── index.ts
    │   ├── preview.ts
    │   ├── start.ts
    │   ├── vite-xmlui-plugin.ts
    │   └── viteConfig.ts
    ├── CHANGELOG.md
    ├── conventions
    │   ├── component-qa-checklist.md
    │   ├── copilot-conventions.md
    │   ├── create-xmlui-components.md
    │   ├── mermaid.md
    │   ├── testing-conventions.md
    │   └── xmlui-in-a-nutshell.md
    ├── dev-docs
    │   ├── accessibility.md
    │   ├── build-system.md
    │   ├── build-xmlui.md
    │   ├── containers.md
    │   ├── glossary.md
    │   ├── index.md
    │   ├── next
    │   │   ├── component-dev-guide.md
    │   │   ├── configuration-management-enhancement-summary.md
    │   │   ├── documentation-scripts-refactoring-complete-summary.md
    │   │   ├── documentation-scripts-refactoring-plan.md
    │   │   ├── duplicate-pattern-extraction-summary.md
    │   │   ├── error-handling-standardization-summary.md
    │   │   ├── generating-component-reference.md
    │   │   ├── index.md
    │   │   ├── logging-consistency-implementation-summary.md
    │   │   ├── project-build.md
    │   │   ├── project-structure.md
    │   │   ├── theme-context.md
    │   │   ├── tiptap-design-considerations.md
    │   │   ├── working-with-code.md
    │   │   ├── xmlui-runtime-architecture
    │   │   └── xmlui-wcag-accessibility-report.md
    │   ├── react-fundamentals.md
    │   ├── release-method.md
    │   ├── standalone-app.md
    │   ├── state-management.md
    │   └── xmlui-repo.md
    ├── package.json
    ├── playwright.config.ts
    ├── scripts
    │   ├── coverage-only.js
    │   ├── e2e-test-summary.js
    │   ├── generate-docs
    │   │   ├── build-downloads-map.mjs
    │   │   ├── build-pages-map.mjs
    │   │   ├── components-config.json
    │   │   ├── configuration-management.mjs
    │   │   ├── constants.mjs
    │   │   ├── create-theme-files.mjs
    │   │   ├── DocsGenerator.mjs
    │   │   ├── error-handling.mjs
    │   │   ├── extensions-config.json
    │   │   ├── folders.mjs
    │   │   ├── generate-summary-files.mjs
    │   │   ├── get-docs.mjs
    │   │   ├── input-handler.mjs
    │   │   ├── logger.mjs
    │   │   ├── logging-standards.mjs
    │   │   ├── MetadataProcessor.mjs
    │   │   ├── pattern-utilities.mjs
    │   │   └── utils.mjs
    │   ├── get-langserver-metadata.mjs
    │   ├── inline-links.mjs
    │   └── README-e2e-summary.md
    ├── src
    │   ├── abstractions
    │   │   ├── _conventions.md
    │   │   ├── ActionDefs.ts
    │   │   ├── AppContextDefs.ts
    │   │   ├── ComponentDefs.ts
    │   │   ├── ContainerDefs.ts
    │   │   ├── ExtensionDefs.ts
    │   │   ├── FunctionDefs.ts
    │   │   ├── RendererDefs.ts
    │   │   ├── scripting
    │   │   │   ├── BlockScope.ts
    │   │   │   ├── Compilation.ts
    │   │   │   ├── LogicalThread.ts
    │   │   │   ├── LoopScope.ts
    │   │   │   ├── modules.ts
    │   │   │   ├── ScriptParserError.ts
    │   │   │   ├── Token.ts
    │   │   │   ├── TryScope.ts
    │   │   │   └── TryScopeExp.ts
    │   │   └── ThemingDefs.ts
    │   ├── components
    │   │   ├── _conventions.md
    │   │   ├── abstractions.ts
    │   │   ├── Accordion
    │   │   │   ├── Accordion.md
    │   │   │   ├── Accordion.module.scss
    │   │   │   ├── Accordion.spec.ts
    │   │   │   ├── Accordion.tsx
    │   │   │   ├── AccordionContext.tsx
    │   │   │   ├── AccordionItem.tsx
    │   │   │   ├── AccordionItemNative.tsx
    │   │   │   └── AccordionNative.tsx
    │   │   ├── Animation
    │   │   │   └── AnimationNative.tsx
    │   │   ├── APICall
    │   │   │   ├── APICall.md
    │   │   │   ├── APICall.spec.ts
    │   │   │   ├── APICall.tsx
    │   │   │   └── APICallNative.tsx
    │   │   ├── App
    │   │   │   ├── App.md
    │   │   │   ├── App.module.scss
    │   │   │   ├── App.spec.ts
    │   │   │   ├── App.tsx
    │   │   │   ├── AppLayoutContext.ts
    │   │   │   ├── AppNative.tsx
    │   │   │   ├── AppStateContext.ts
    │   │   │   ├── doc-resources
    │   │   │   │   ├── condensed-sticky.xmlui
    │   │   │   │   ├── condensed.xmlui
    │   │   │   │   ├── horizontal-sticky.xmlui
    │   │   │   │   ├── horizontal.xmlui
    │   │   │   │   ├── vertical-full-header.xmlui
    │   │   │   │   ├── vertical-sticky.xmlui
    │   │   │   │   └── vertical.xmlui
    │   │   │   ├── IndexerContext.ts
    │   │   │   ├── LinkInfoContext.ts
    │   │   │   ├── SearchContext.tsx
    │   │   │   ├── Sheet.module.scss
    │   │   │   └── Sheet.tsx
    │   │   ├── AppHeader
    │   │   │   ├── AppHeader.md
    │   │   │   ├── AppHeader.module.scss
    │   │   │   ├── AppHeader.spec.ts
    │   │   │   ├── AppHeader.tsx
    │   │   │   └── AppHeaderNative.tsx
    │   │   ├── AppState
    │   │   │   ├── AppState.md
    │   │   │   ├── AppState.spec.ts
    │   │   │   ├── AppState.tsx
    │   │   │   └── AppStateNative.tsx
    │   │   ├── AutoComplete
    │   │   │   ├── AutoComplete.md
    │   │   │   ├── AutoComplete.module.scss
    │   │   │   ├── AutoComplete.spec.ts
    │   │   │   ├── AutoComplete.tsx
    │   │   │   ├── AutoCompleteContext.tsx
    │   │   │   └── AutoCompleteNative.tsx
    │   │   ├── Avatar
    │   │   │   ├── Avatar.md
    │   │   │   ├── Avatar.module.scss
    │   │   │   ├── Avatar.spec.ts
    │   │   │   ├── Avatar.tsx
    │   │   │   └── AvatarNative.tsx
    │   │   ├── Backdrop
    │   │   │   ├── Backdrop.md
    │   │   │   ├── Backdrop.module.scss
    │   │   │   ├── Backdrop.spec.ts
    │   │   │   ├── Backdrop.tsx
    │   │   │   └── BackdropNative.tsx
    │   │   ├── Badge
    │   │   │   ├── Badge.md
    │   │   │   ├── Badge.module.scss
    │   │   │   ├── Badge.spec.ts
    │   │   │   ├── Badge.tsx
    │   │   │   └── BadgeNative.tsx
    │   │   ├── Bookmark
    │   │   │   ├── Bookmark.md
    │   │   │   ├── Bookmark.module.scss
    │   │   │   ├── Bookmark.spec.ts
    │   │   │   ├── Bookmark.tsx
    │   │   │   └── BookmarkNative.tsx
    │   │   ├── Breakout
    │   │   │   ├── Breakout.module.scss
    │   │   │   ├── Breakout.spec.ts
    │   │   │   ├── Breakout.tsx
    │   │   │   └── BreakoutNative.tsx
    │   │   ├── Button
    │   │   │   ├── Button-style.spec.ts
    │   │   │   ├── Button.md
    │   │   │   ├── Button.module.scss
    │   │   │   ├── Button.spec.ts
    │   │   │   ├── Button.tsx
    │   │   │   └── ButtonNative.tsx
    │   │   ├── Card
    │   │   │   ├── Card.md
    │   │   │   ├── Card.module.scss
    │   │   │   ├── Card.spec.ts
    │   │   │   ├── Card.tsx
    │   │   │   └── CardNative.tsx
    │   │   ├── Carousel
    │   │   │   ├── Carousel.md
    │   │   │   ├── Carousel.module.scss
    │   │   │   ├── Carousel.spec.ts
    │   │   │   ├── Carousel.tsx
    │   │   │   ├── CarouselContext.tsx
    │   │   │   ├── CarouselItem.tsx
    │   │   │   ├── CarouselItemNative.tsx
    │   │   │   └── CarouselNative.tsx
    │   │   ├── ChangeListener
    │   │   │   ├── ChangeListener.md
    │   │   │   ├── ChangeListener.spec.ts
    │   │   │   ├── ChangeListener.tsx
    │   │   │   └── ChangeListenerNative.tsx
    │   │   ├── chart-color-schemes.ts
    │   │   ├── Charts
    │   │   │   ├── AreaChart
    │   │   │   │   ├── AreaChart.md
    │   │   │   │   ├── AreaChart.spec.ts
    │   │   │   │   ├── AreaChart.tsx
    │   │   │   │   └── AreaChartNative.tsx
    │   │   │   ├── BarChart
    │   │   │   │   ├── BarChart.md
    │   │   │   │   ├── BarChart.module.scss
    │   │   │   │   ├── BarChart.spec.ts
    │   │   │   │   ├── BarChart.tsx
    │   │   │   │   └── BarChartNative.tsx
    │   │   │   ├── DonutChart
    │   │   │   │   ├── DonutChart.spec.ts
    │   │   │   │   └── DonutChart.tsx
    │   │   │   ├── LabelList
    │   │   │   │   ├── LabelList.spec.ts
    │   │   │   │   ├── LabelList.tsx
    │   │   │   │   ├── LabelListNative.module.scss
    │   │   │   │   └── LabelListNative.tsx
    │   │   │   ├── Legend
    │   │   │   │   ├── Legend.spec.ts
    │   │   │   │   ├── Legend.tsx
    │   │   │   │   └── LegendNative.tsx
    │   │   │   ├── LineChart
    │   │   │   │   ├── LineChart.md
    │   │   │   │   ├── LineChart.module.scss
    │   │   │   │   ├── LineChart.spec.ts
    │   │   │   │   ├── LineChart.tsx
    │   │   │   │   └── LineChartNative.tsx
    │   │   │   ├── PieChart
    │   │   │   │   ├── PieChart.md
    │   │   │   │   ├── PieChart.spec.ts
    │   │   │   │   ├── PieChart.tsx
    │   │   │   │   ├── PieChartNative.module.scss
    │   │   │   │   └── PieChartNative.tsx
    │   │   │   ├── RadarChart
    │   │   │   │   ├── RadarChart.md
    │   │   │   │   ├── RadarChart.spec.ts
    │   │   │   │   ├── RadarChart.tsx
    │   │   │   │   └── RadarChartNative.tsx
    │   │   │   ├── Tooltip
    │   │   │   │   ├── TooltipContent.module.scss
    │   │   │   │   ├── TooltipContent.spec.ts
    │   │   │   │   └── TooltipContent.tsx
    │   │   │   └── utils
    │   │   │       ├── abstractions.ts
    │   │   │       └── ChartProvider.tsx
    │   │   ├── Checkbox
    │   │   │   ├── Checkbox.md
    │   │   │   ├── Checkbox.spec.ts
    │   │   │   └── Checkbox.tsx
    │   │   ├── CodeBlock
    │   │   │   ├── CodeBlock.module.scss
    │   │   │   ├── CodeBlock.spec.ts
    │   │   │   ├── CodeBlock.tsx
    │   │   │   ├── CodeBlockNative.tsx
    │   │   │   └── highlight-code.ts
    │   │   ├── collectedComponentMetadata.ts
    │   │   ├── ColorPicker
    │   │   │   ├── ColorPicker.md
    │   │   │   ├── ColorPicker.module.scss
    │   │   │   ├── ColorPicker.spec.ts
    │   │   │   ├── ColorPicker.tsx
    │   │   │   └── ColorPickerNative.tsx
    │   │   ├── Column
    │   │   │   ├── Column.md
    │   │   │   ├── Column.tsx
    │   │   │   ├── ColumnNative.tsx
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   └── TableContext.tsx
    │   │   ├── component-utils.ts
    │   │   ├── ComponentProvider.tsx
    │   │   ├── ComponentRegistryContext.tsx
    │   │   ├── container-helpers.tsx
    │   │   ├── ContentSeparator
    │   │   │   ├── ContentSeparator.md
    │   │   │   ├── ContentSeparator.module.scss
    │   │   │   ├── ContentSeparator.spec.ts
    │   │   │   ├── ContentSeparator.tsx
    │   │   │   └── ContentSeparatorNative.tsx
    │   │   ├── DataSource
    │   │   │   ├── DataSource.md
    │   │   │   └── DataSource.tsx
    │   │   ├── DateInput
    │   │   │   ├── DateInput.md
    │   │   │   ├── DateInput.module.scss
    │   │   │   ├── DateInput.spec.ts
    │   │   │   ├── DateInput.tsx
    │   │   │   └── DateInputNative.tsx
    │   │   ├── DatePicker
    │   │   │   ├── DatePicker.md
    │   │   │   ├── DatePicker.module.scss
    │   │   │   ├── DatePicker.spec.ts
    │   │   │   ├── DatePicker.tsx
    │   │   │   └── DatePickerNative.tsx
    │   │   ├── DropdownMenu
    │   │   │   ├── DropdownMenu.md
    │   │   │   ├── DropdownMenu.module.scss
    │   │   │   ├── DropdownMenu.spec.ts
    │   │   │   ├── DropdownMenu.tsx
    │   │   │   ├── DropdownMenuNative.tsx
    │   │   │   ├── MenuItem.md
    │   │   │   └── SubMenuItem.md
    │   │   ├── EmojiSelector
    │   │   │   ├── EmojiSelector.md
    │   │   │   ├── EmojiSelector.spec.ts
    │   │   │   ├── EmojiSelector.tsx
    │   │   │   └── EmojiSelectorNative.tsx
    │   │   ├── ExpandableItem
    │   │   │   ├── ExpandableItem.module.scss
    │   │   │   ├── ExpandableItem.spec.ts
    │   │   │   ├── ExpandableItem.tsx
    │   │   │   └── ExpandableItemNative.tsx
    │   │   ├── FileInput
    │   │   │   ├── FileInput.md
    │   │   │   ├── FileInput.module.scss
    │   │   │   ├── FileInput.spec.ts
    │   │   │   ├── FileInput.tsx
    │   │   │   └── FileInputNative.tsx
    │   │   ├── FileUploadDropZone
    │   │   │   ├── FileUploadDropZone.md
    │   │   │   ├── FileUploadDropZone.module.scss
    │   │   │   ├── FileUploadDropZone.spec.ts
    │   │   │   ├── FileUploadDropZone.tsx
    │   │   │   └── FileUploadDropZoneNative.tsx
    │   │   ├── FlowLayout
    │   │   │   ├── FlowLayout.md
    │   │   │   ├── FlowLayout.module.scss
    │   │   │   ├── FlowLayout.spec.ts
    │   │   │   ├── FlowLayout.spec.ts-snapshots
    │   │   │   │   └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
    │   │   │   ├── FlowLayout.tsx
    │   │   │   └── FlowLayoutNative.tsx
    │   │   ├── Footer
    │   │   │   ├── Footer.md
    │   │   │   ├── Footer.module.scss
    │   │   │   ├── Footer.spec.ts
    │   │   │   ├── Footer.tsx
    │   │   │   └── FooterNative.tsx
    │   │   ├── Form
    │   │   │   ├── Form.md
    │   │   │   ├── Form.module.scss
    │   │   │   ├── Form.spec.ts
    │   │   │   ├── Form.tsx
    │   │   │   ├── formActions.ts
    │   │   │   ├── FormContext.ts
    │   │   │   └── FormNative.tsx
    │   │   ├── FormItem
    │   │   │   ├── FormItem.md
    │   │   │   ├── FormItem.module.scss
    │   │   │   ├── FormItem.spec.ts
    │   │   │   ├── FormItem.tsx
    │   │   │   ├── FormItemNative.tsx
    │   │   │   ├── HelperText.module.scss
    │   │   │   ├── HelperText.tsx
    │   │   │   ├── ItemWithLabel.tsx
    │   │   │   └── Validations.ts
    │   │   ├── FormSection
    │   │   │   ├── FormSection.md
    │   │   │   ├── FormSection.ts
    │   │   │   └── FormSection.xmlui
    │   │   ├── Fragment
    │   │   │   ├── Fragment.spec.ts
    │   │   │   └── Fragment.tsx
    │   │   ├── Heading
    │   │   │   ├── abstractions.ts
    │   │   │   ├── H1.md
    │   │   │   ├── H1.spec.ts
    │   │   │   ├── H2.md
    │   │   │   ├── H2.spec.ts
    │   │   │   ├── H3.md
    │   │   │   ├── H3.spec.ts
    │   │   │   ├── H4.md
    │   │   │   ├── H4.spec.ts
    │   │   │   ├── H5.md
    │   │   │   ├── H5.spec.ts
    │   │   │   ├── H6.md
    │   │   │   ├── H6.spec.ts
    │   │   │   ├── Heading.md
    │   │   │   ├── Heading.module.scss
    │   │   │   ├── Heading.spec.ts
    │   │   │   ├── Heading.tsx
    │   │   │   └── HeadingNative.tsx
    │   │   ├── HoverCard
    │   │   │   ├── HoverCard.tsx
    │   │   │   └── HovercardNative.tsx
    │   │   ├── HtmlTags
    │   │   │   ├── HtmlTags.module.scss
    │   │   │   ├── HtmlTags.spec.ts
    │   │   │   └── HtmlTags.tsx
    │   │   ├── Icon
    │   │   │   ├── AdmonitionDanger.tsx
    │   │   │   ├── AdmonitionInfo.tsx
    │   │   │   ├── AdmonitionNote.tsx
    │   │   │   ├── AdmonitionTip.tsx
    │   │   │   ├── AdmonitionWarning.tsx
    │   │   │   ├── ApiIcon.tsx
    │   │   │   ├── ArrowDropDown.module.scss
    │   │   │   ├── ArrowDropDown.tsx
    │   │   │   ├── ArrowDropUp.module.scss
    │   │   │   ├── ArrowDropUp.tsx
    │   │   │   ├── ArrowLeft.module.scss
    │   │   │   ├── ArrowLeft.tsx
    │   │   │   ├── ArrowRight.module.scss
    │   │   │   ├── ArrowRight.tsx
    │   │   │   ├── Attach.tsx
    │   │   │   ├── Binding.module.scss
    │   │   │   ├── Binding.tsx
    │   │   │   ├── BoardIcon.tsx
    │   │   │   ├── BoxIcon.tsx
    │   │   │   ├── CheckIcon.tsx
    │   │   │   ├── ChevronDownIcon.tsx
    │   │   │   ├── ChevronLeft.tsx
    │   │   │   ├── ChevronRight.tsx
    │   │   │   ├── ChevronUpIcon.tsx
    │   │   │   ├── CodeFileIcon.tsx
    │   │   │   ├── CodeSandbox.tsx
    │   │   │   ├── CompactListIcon.tsx
    │   │   │   ├── ContentCopyIcon.tsx
    │   │   │   ├── DarkToLightIcon.tsx
    │   │   │   ├── DatabaseIcon.module.scss
    │   │   │   ├── DatabaseIcon.tsx
    │   │   │   ├── DocFileIcon.tsx
    │   │   │   ├── DocIcon.tsx
    │   │   │   ├── DotMenuHorizontalIcon.tsx
    │   │   │   ├── DotMenuIcon.tsx
    │   │   │   ├── EmailIcon.tsx
    │   │   │   ├── EmptyFolderIcon.tsx
    │   │   │   ├── ErrorIcon.tsx
    │   │   │   ├── ExpressionIcon.tsx
    │   │   │   ├── FillPlusCricleIcon.tsx
    │   │   │   ├── FilterIcon.tsx
    │   │   │   ├── FolderIcon.tsx
    │   │   │   ├── GlobeIcon.tsx
    │   │   │   ├── HomeIcon.tsx
    │   │   │   ├── HyperLinkIcon.tsx
    │   │   │   ├── Icon.md
    │   │   │   ├── Icon.module.scss
    │   │   │   ├── Icon.spec.ts
    │   │   │   ├── Icon.tsx
    │   │   │   ├── IconNative.tsx
    │   │   │   ├── ImageFileIcon.tsx
    │   │   │   ├── Inspect.tsx
    │   │   │   ├── LightToDark.tsx
    │   │   │   ├── LinkIcon.tsx
    │   │   │   ├── ListIcon.tsx
    │   │   │   ├── LooseListIcon.tsx
    │   │   │   ├── MoonIcon.tsx
    │   │   │   ├── MoreOptionsIcon.tsx
    │   │   │   ├── NoSortIcon.tsx
    │   │   │   ├── PDFIcon.tsx
    │   │   │   ├── PenIcon.tsx
    │   │   │   ├── PhoneIcon.tsx
    │   │   │   ├── PhotoIcon.tsx
    │   │   │   ├── PlusIcon.tsx
    │   │   │   ├── SearchIcon.tsx
    │   │   │   ├── ShareIcon.tsx
    │   │   │   ├── SortAscendingIcon.tsx
    │   │   │   ├── SortDescendingIcon.tsx
    │   │   │   ├── StarsIcon.tsx
    │   │   │   ├── SunIcon.tsx
    │   │   │   ├── svg
    │   │   │   │   ├── admonition_danger.svg
    │   │   │   │   ├── admonition_info.svg
    │   │   │   │   ├── admonition_note.svg
    │   │   │   │   ├── admonition_tip.svg
    │   │   │   │   ├── admonition_warning.svg
    │   │   │   │   ├── api.svg
    │   │   │   │   ├── arrow-dropdown.svg
    │   │   │   │   ├── arrow-left.svg
    │   │   │   │   ├── arrow-right.svg
    │   │   │   │   ├── arrow-up.svg
    │   │   │   │   ├── attach.svg
    │   │   │   │   ├── binding.svg
    │   │   │   │   ├── box.svg
    │   │   │   │   ├── bulb.svg
    │   │   │   │   ├── code-file.svg
    │   │   │   │   ├── code-sandbox.svg
    │   │   │   │   ├── dark_to_light.svg
    │   │   │   │   ├── database.svg
    │   │   │   │   ├── doc.svg
    │   │   │   │   ├── empty-folder.svg
    │   │   │   │   ├── expression.svg
    │   │   │   │   ├── eye-closed.svg
    │   │   │   │   ├── eye-dark.svg
    │   │   │   │   ├── eye.svg
    │   │   │   │   ├── file-text.svg
    │   │   │   │   ├── filter.svg
    │   │   │   │   ├── folder.svg
    │   │   │   │   ├── img.svg
    │   │   │   │   ├── inspect.svg
    │   │   │   │   ├── light_to_dark.svg
    │   │   │   │   ├── moon.svg
    │   │   │   │   ├── pdf.svg
    │   │   │   │   ├── photo.svg
    │   │   │   │   ├── share.svg
    │   │   │   │   ├── stars.svg
    │   │   │   │   ├── sun.svg
    │   │   │   │   ├── trending-down.svg
    │   │   │   │   ├── trending-level.svg
    │   │   │   │   ├── trending-up.svg
    │   │   │   │   ├── txt.svg
    │   │   │   │   ├── unknown-file.svg
    │   │   │   │   ├── unlink.svg
    │   │   │   │   └── xls.svg
    │   │   │   ├── TableDeleteColumnIcon.tsx
    │   │   │   ├── TableDeleteRowIcon.tsx
    │   │   │   ├── TableInsertColumnIcon.tsx
    │   │   │   ├── TableInsertRowIcon.tsx
    │   │   │   ├── TrashIcon.tsx
    │   │   │   ├── TrendingDownIcon.tsx
    │   │   │   ├── TrendingLevelIcon.tsx
    │   │   │   ├── TrendingUpIcon.tsx
    │   │   │   ├── TxtIcon.tsx
    │   │   │   ├── UnknownFileIcon.tsx
    │   │   │   ├── UnlinkIcon.tsx
    │   │   │   ├── UserIcon.tsx
    │   │   │   ├── WarningIcon.tsx
    │   │   │   └── XlsIcon.tsx
    │   │   ├── IconProvider.tsx
    │   │   ├── IconRegistryContext.tsx
    │   │   ├── IFrame
    │   │   │   ├── IFrame.md
    │   │   │   ├── IFrame.module.scss
    │   │   │   ├── IFrame.spec.ts
    │   │   │   ├── IFrame.tsx
    │   │   │   └── IFrameNative.tsx
    │   │   ├── Image
    │   │   │   ├── Image.md
    │   │   │   ├── Image.module.scss
    │   │   │   ├── Image.spec.ts
    │   │   │   ├── Image.tsx
    │   │   │   └── ImageNative.tsx
    │   │   ├── Input
    │   │   │   ├── index.ts
    │   │   │   ├── InputAdornment.module.scss
    │   │   │   ├── InputAdornment.tsx
    │   │   │   ├── InputDivider.module.scss
    │   │   │   ├── InputDivider.tsx
    │   │   │   ├── InputLabel.module.scss
    │   │   │   ├── InputLabel.tsx
    │   │   │   ├── PartialInput.module.scss
    │   │   │   └── PartialInput.tsx
    │   │   ├── InspectButton
    │   │   │   ├── InspectButton.module.scss
    │   │   │   └── InspectButton.tsx
    │   │   ├── Items
    │   │   │   ├── Items.md
    │   │   │   ├── Items.spec.ts
    │   │   │   ├── Items.tsx
    │   │   │   └── ItemsNative.tsx
    │   │   ├── Link
    │   │   │   ├── Link.md
    │   │   │   ├── Link.module.scss
    │   │   │   ├── Link.spec.ts
    │   │   │   ├── Link.tsx
    │   │   │   └── LinkNative.tsx
    │   │   ├── List
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   ├── List.md
    │   │   │   ├── List.module.scss
    │   │   │   ├── List.spec.ts
    │   │   │   ├── List.tsx
    │   │   │   └── ListNative.tsx
    │   │   ├── Logo
    │   │   │   ├── doc-resources
    │   │   │   │   └── xmlui-logo.svg
    │   │   │   ├── Logo.md
    │   │   │   ├── Logo.tsx
    │   │   │   └── LogoNative.tsx
    │   │   ├── Markdown
    │   │   │   ├── CodeText.module.scss
    │   │   │   ├── CodeText.tsx
    │   │   │   ├── Markdown.md
    │   │   │   ├── Markdown.module.scss
    │   │   │   ├── Markdown.spec.ts
    │   │   │   ├── Markdown.tsx
    │   │   │   ├── MarkdownNative.tsx
    │   │   │   ├── parse-binding-expr.ts
    │   │   │   └── utils.ts
    │   │   ├── metadata-helpers.ts
    │   │   ├── ModalDialog
    │   │   │   ├── ConfirmationModalContextProvider.tsx
    │   │   │   ├── Dialog.module.scss
    │   │   │   ├── Dialog.tsx
    │   │   │   ├── ModalDialog.md
    │   │   │   ├── ModalDialog.module.scss
    │   │   │   ├── ModalDialog.spec.ts
    │   │   │   ├── ModalDialog.tsx
    │   │   │   ├── ModalDialogNative.tsx
    │   │   │   └── ModalVisibilityContext.tsx
    │   │   ├── NavGroup
    │   │   │   ├── NavGroup.md
    │   │   │   ├── NavGroup.module.scss
    │   │   │   ├── NavGroup.spec.ts
    │   │   │   ├── NavGroup.tsx
    │   │   │   ├── NavGroupContext.ts
    │   │   │   └── NavGroupNative.tsx
    │   │   ├── NavLink
    │   │   │   ├── NavLink.md
    │   │   │   ├── NavLink.module.scss
    │   │   │   ├── NavLink.spec.ts
    │   │   │   ├── NavLink.tsx
    │   │   │   └── NavLinkNative.tsx
    │   │   ├── NavPanel
    │   │   │   ├── NavPanel.md
    │   │   │   ├── NavPanel.module.scss
    │   │   │   ├── NavPanel.spec.ts
    │   │   │   ├── NavPanel.tsx
    │   │   │   └── NavPanelNative.tsx
    │   │   ├── NestedApp
    │   │   │   ├── AppWithCodeView.module.scss
    │   │   │   ├── AppWithCodeView.tsx
    │   │   │   ├── AppWithCodeViewNative.tsx
    │   │   │   ├── defaultProps.tsx
    │   │   │   ├── logo.svg
    │   │   │   ├── NestedApp.module.scss
    │   │   │   ├── NestedApp.tsx
    │   │   │   ├── NestedAppNative.tsx
    │   │   │   ├── Tooltip.module.scss
    │   │   │   ├── Tooltip.tsx
    │   │   │   └── utils.ts
    │   │   ├── NoResult
    │   │   │   ├── NoResult.md
    │   │   │   ├── NoResult.module.scss
    │   │   │   ├── NoResult.spec.ts
    │   │   │   ├── NoResult.tsx
    │   │   │   └── NoResultNative.tsx
    │   │   ├── NumberBox
    │   │   │   ├── numberbox-abstractions.ts
    │   │   │   ├── NumberBox.md
    │   │   │   ├── NumberBox.module.scss
    │   │   │   ├── NumberBox.spec.ts
    │   │   │   ├── NumberBox.tsx
    │   │   │   └── NumberBoxNative.tsx
    │   │   ├── Option
    │   │   │   ├── Option.md
    │   │   │   ├── Option.spec.ts
    │   │   │   ├── Option.tsx
    │   │   │   ├── OptionNative.tsx
    │   │   │   └── OptionTypeProvider.tsx
    │   │   ├── PageMetaTitle
    │   │   │   ├── PageMetaTilteNative.tsx
    │   │   │   ├── PageMetaTitle.md
    │   │   │   ├── PageMetaTitle.spec.ts
    │   │   │   └── PageMetaTitle.tsx
    │   │   ├── Pages
    │   │   │   ├── Page.md
    │   │   │   ├── Pages.md
    │   │   │   ├── Pages.module.scss
    │   │   │   ├── Pages.tsx
    │   │   │   └── PagesNative.tsx
    │   │   ├── Pagination
    │   │   │   ├── Pagination.md
    │   │   │   ├── Pagination.module.scss
    │   │   │   ├── Pagination.spec.ts
    │   │   │   ├── Pagination.tsx
    │   │   │   └── PaginationNative.tsx
    │   │   ├── PositionedContainer
    │   │   │   ├── PositionedContainer.module.scss
    │   │   │   ├── PositionedContainer.tsx
    │   │   │   └── PositionedContainerNative.tsx
    │   │   ├── ProfileMenu
    │   │   │   ├── ProfileMenu.module.scss
    │   │   │   └── ProfileMenu.tsx
    │   │   ├── ProgressBar
    │   │   │   ├── ProgressBar.md
    │   │   │   ├── ProgressBar.module.scss
    │   │   │   ├── ProgressBar.spec.ts
    │   │   │   ├── ProgressBar.tsx
    │   │   │   └── ProgressBarNative.tsx
    │   │   ├── Queue
    │   │   │   ├── Queue.md
    │   │   │   ├── Queue.spec.ts
    │   │   │   ├── Queue.tsx
    │   │   │   ├── queueActions.ts
    │   │   │   └── QueueNative.tsx
    │   │   ├── RadioGroup
    │   │   │   ├── RadioGroup.md
    │   │   │   ├── RadioGroup.module.scss
    │   │   │   ├── RadioGroup.spec.ts
    │   │   │   ├── RadioGroup.tsx
    │   │   │   ├── RadioGroupNative.tsx
    │   │   │   ├── RadioItem.tsx
    │   │   │   └── RadioItemNative.tsx
    │   │   ├── RealTimeAdapter
    │   │   │   ├── RealTimeAdapter.tsx
    │   │   │   └── RealTimeAdapterNative.tsx
    │   │   ├── Redirect
    │   │   │   ├── Redirect.md
    │   │   │   ├── Redirect.spec.ts
    │   │   │   └── Redirect.tsx
    │   │   ├── ResponsiveBar
    │   │   │   ├── README.md
    │   │   │   ├── ResponsiveBar.md
    │   │   │   ├── ResponsiveBar.module.scss
    │   │   │   ├── ResponsiveBar.spec.ts
    │   │   │   ├── ResponsiveBar.tsx
    │   │   │   └── ResponsiveBarNative.tsx
    │   │   ├── Select
    │   │   │   ├── HiddenOption.tsx
    │   │   │   ├── MultiSelectOption.tsx
    │   │   │   ├── OptionContext.ts
    │   │   │   ├── Select.md
    │   │   │   ├── Select.module.scss
    │   │   │   ├── Select.spec.ts
    │   │   │   ├── Select.tsx
    │   │   │   ├── SelectContext.tsx
    │   │   │   ├── SelectNative.tsx
    │   │   │   ├── SelectOption.tsx
    │   │   │   └── SimpleSelect.tsx
    │   │   ├── SelectionStore
    │   │   │   ├── SelectionStore.md
    │   │   │   ├── SelectionStore.tsx
    │   │   │   └── SelectionStoreNative.tsx
    │   │   ├── Slider
    │   │   │   ├── Slider.md
    │   │   │   ├── Slider.module.scss
    │   │   │   ├── Slider.spec.ts
    │   │   │   ├── Slider.tsx
    │   │   │   └── SliderNative.tsx
    │   │   ├── Slot
    │   │   │   ├── Slot.md
    │   │   │   ├── Slot.spec.ts
    │   │   │   └── Slot.ts
    │   │   ├── SlotItem.tsx
    │   │   ├── SpaceFiller
    │   │   │   ├── SpaceFiller.md
    │   │   │   ├── SpaceFiller.module.scss
    │   │   │   ├── SpaceFiller.spec.ts
    │   │   │   ├── SpaceFiller.tsx
    │   │   │   └── SpaceFillerNative.tsx
    │   │   ├── Spinner
    │   │   │   ├── Spinner.md
    │   │   │   ├── Spinner.module.scss
    │   │   │   ├── Spinner.spec.ts
    │   │   │   ├── Spinner.tsx
    │   │   │   └── SpinnerNative.tsx
    │   │   ├── Splitter
    │   │   │   ├── HSplitter.md
    │   │   │   ├── HSplitter.spec.ts
    │   │   │   ├── Splitter.md
    │   │   │   ├── Splitter.module.scss
    │   │   │   ├── Splitter.spec.ts
    │   │   │   ├── Splitter.tsx
    │   │   │   ├── SplitterNative.tsx
    │   │   │   ├── utils.ts
    │   │   │   ├── VSplitter.md
    │   │   │   └── VSplitter.spec.ts
    │   │   ├── Stack
    │   │   │   ├── CHStack.md
    │   │   │   ├── CHStack.spec.ts
    │   │   │   ├── CVStack.md
    │   │   │   ├── CVStack.spec.ts
    │   │   │   ├── HStack.md
    │   │   │   ├── HStack.spec.ts
    │   │   │   ├── Stack.md
    │   │   │   ├── Stack.module.scss
    │   │   │   ├── Stack.spec.ts
    │   │   │   ├── Stack.tsx
    │   │   │   ├── StackNative.tsx
    │   │   │   ├── VStack.md
    │   │   │   └── VStack.spec.ts
    │   │   ├── StickyBox
    │   │   │   ├── StickyBox.md
    │   │   │   ├── StickyBox.module.scss
    │   │   │   ├── StickyBox.tsx
    │   │   │   └── StickyBoxNative.tsx
    │   │   ├── Switch
    │   │   │   ├── Switch.md
    │   │   │   ├── Switch.spec.ts
    │   │   │   └── Switch.tsx
    │   │   ├── Table
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   ├── react-table-config.d.ts
    │   │   │   ├── Table.md
    │   │   │   ├── Table.module.scss
    │   │   │   ├── Table.spec.ts
    │   │   │   ├── Table.tsx
    │   │   │   ├── TableNative.tsx
    │   │   │   └── useRowSelection.tsx
    │   │   ├── TableOfContents
    │   │   │   ├── TableOfContents.module.scss
    │   │   │   ├── TableOfContents.spec.ts
    │   │   │   ├── TableOfContents.tsx
    │   │   │   └── TableOfContentsNative.tsx
    │   │   ├── Tabs
    │   │   │   ├── TabContext.tsx
    │   │   │   ├── TabItem.md
    │   │   │   ├── TabItem.tsx
    │   │   │   ├── TabItemNative.tsx
    │   │   │   ├── Tabs.md
    │   │   │   ├── Tabs.module.scss
    │   │   │   ├── Tabs.spec.ts
    │   │   │   ├── Tabs.tsx
    │   │   │   └── TabsNative.tsx
    │   │   ├── Text
    │   │   │   ├── Text.md
    │   │   │   ├── Text.module.scss
    │   │   │   ├── Text.spec.ts
    │   │   │   ├── Text.tsx
    │   │   │   └── TextNative.tsx
    │   │   ├── TextArea
    │   │   │   ├── TextArea.md
    │   │   │   ├── TextArea.module.scss
    │   │   │   ├── TextArea.spec.ts
    │   │   │   ├── TextArea.tsx
    │   │   │   ├── TextAreaNative.tsx
    │   │   │   ├── TextAreaResizable.tsx
    │   │   │   └── useComposedRef.ts
    │   │   ├── TextBox
    │   │   │   ├── TextBox.md
    │   │   │   ├── TextBox.module.scss
    │   │   │   ├── TextBox.spec.ts
    │   │   │   ├── TextBox.tsx
    │   │   │   └── TextBoxNative.tsx
    │   │   ├── Theme
    │   │   │   ├── NotificationToast.tsx
    │   │   │   ├── Theme.md
    │   │   │   ├── Theme.module.scss
    │   │   │   ├── Theme.spec.ts
    │   │   │   ├── Theme.tsx
    │   │   │   └── ThemeNative.tsx
    │   │   ├── TimeInput
    │   │   │   ├── TimeInput.md
    │   │   │   ├── TimeInput.module.scss
    │   │   │   ├── TimeInput.spec.ts
    │   │   │   ├── TimeInput.tsx
    │   │   │   ├── TimeInputNative.tsx
    │   │   │   └── utils.ts
    │   │   ├── Timer
    │   │   │   ├── Timer.md
    │   │   │   ├── Timer.spec.ts
    │   │   │   ├── Timer.tsx
    │   │   │   └── TimerNative.tsx
    │   │   ├── Toggle
    │   │   │   ├── Toggle.module.scss
    │   │   │   └── Toggle.tsx
    │   │   ├── ToneChangerButton
    │   │   │   ├── ToneChangerButton.md
    │   │   │   ├── ToneChangerButton.spec.ts
    │   │   │   └── ToneChangerButton.tsx
    │   │   ├── ToneSwitch
    │   │   │   ├── ToneSwitch.md
    │   │   │   ├── ToneSwitch.module.scss
    │   │   │   ├── ToneSwitch.spec.ts
    │   │   │   ├── ToneSwitch.tsx
    │   │   │   └── ToneSwitchNative.tsx
    │   │   ├── Tooltip
    │   │   │   ├── Tooltip.md
    │   │   │   ├── Tooltip.module.scss
    │   │   │   ├── Tooltip.spec.ts
    │   │   │   ├── Tooltip.tsx
    │   │   │   └── TooltipNative.tsx
    │   │   ├── Tree
    │   │   │   ├── testData.ts
    │   │   │   ├── Tree-dynamic.spec.ts
    │   │   │   ├── Tree-icons.spec.ts
    │   │   │   ├── Tree.md
    │   │   │   ├── Tree.spec.ts
    │   │   │   ├── TreeComponent.module.scss
    │   │   │   ├── TreeComponent.tsx
    │   │   │   └── TreeNative.tsx
    │   │   ├── TreeDisplay
    │   │   │   ├── TreeDisplay.md
    │   │   │   ├── TreeDisplay.module.scss
    │   │   │   ├── TreeDisplay.tsx
    │   │   │   └── TreeDisplayNative.tsx
    │   │   ├── ValidationSummary
    │   │   │   ├── ValidationSummary.module.scss
    │   │   │   └── ValidationSummary.tsx
    │   │   └── VisuallyHidden.tsx
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   ├── ComponentRenderer.ts
    │   │   │   ├── LoaderRenderer.ts
    │   │   │   ├── standalone.ts
    │   │   │   └── treeAbstractions.ts
    │   │   ├── action
    │   │   │   ├── actions.ts
    │   │   │   ├── APICall.tsx
    │   │   │   ├── FileDownloadAction.tsx
    │   │   │   ├── FileUploadAction.tsx
    │   │   │   ├── NavigateAction.tsx
    │   │   │   └── TimedAction.tsx
    │   │   ├── ApiBoundComponent.tsx
    │   │   ├── appContext
    │   │   │   ├── date-functions.ts
    │   │   │   ├── math-function.ts
    │   │   │   └── misc-utils.ts
    │   │   ├── AppContext.tsx
    │   │   ├── behaviors
    │   │   │   ├── Behavior.tsx
    │   │   │   ├── BehaviorContext.tsx
    │   │   │   └── CoreBehaviors.tsx
    │   │   ├── component-hooks.ts
    │   │   ├── ComponentDecorator.tsx
    │   │   ├── ComponentViewer.tsx
    │   │   ├── CompoundComponent.tsx
    │   │   ├── constants.ts
    │   │   ├── DebugViewProvider.tsx
    │   │   ├── descriptorHelper.ts
    │   │   ├── devtools
    │   │   │   ├── InspectorDialog.module.scss
    │   │   │   ├── InspectorDialog.tsx
    │   │   │   └── InspectorDialogVisibilityContext.tsx
    │   │   ├── EngineError.ts
    │   │   ├── event-handlers.ts
    │   │   ├── InspectorButton.module.scss
    │   │   ├── InspectorContext.tsx
    │   │   ├── interception
    │   │   │   ├── abstractions.ts
    │   │   │   ├── ApiInterceptor.ts
    │   │   │   ├── ApiInterceptorProvider.tsx
    │   │   │   ├── apiInterceptorWorker.ts
    │   │   │   ├── Backend.ts
    │   │   │   ├── Errors.ts
    │   │   │   ├── IndexedDb.ts
    │   │   │   ├── initMock.ts
    │   │   │   ├── InMemoryDb.ts
    │   │   │   ├── ReadonlyCollection.ts
    │   │   │   └── useApiInterceptorContext.tsx
    │   │   ├── loader
    │   │   │   ├── ApiLoader.tsx
    │   │   │   ├── DataLoader.tsx
    │   │   │   ├── ExternalDataLoader.tsx
    │   │   │   ├── Loader.tsx
    │   │   │   ├── MockLoaderRenderer.tsx
    │   │   │   └── PageableLoader.tsx
    │   │   ├── LoaderComponent.tsx
    │   │   ├── markup-check.ts
    │   │   ├── parts.ts
    │   │   ├── renderers.ts
    │   │   ├── rendering
    │   │   │   ├── AppContent.tsx
    │   │   │   ├── AppRoot.tsx
    │   │   │   ├── AppWrapper.tsx
    │   │   │   ├── buildProxy.ts
    │   │   │   ├── collectFnVarDeps.ts
    │   │   │   ├── ComponentAdapter.tsx
    │   │   │   ├── ComponentWrapper.tsx
    │   │   │   ├── Container.tsx
    │   │   │   ├── containers.ts
    │   │   │   ├── ContainerWrapper.tsx
    │   │   │   ├── ErrorBoundary.module.scss
    │   │   │   ├── ErrorBoundary.tsx
    │   │   │   ├── InvalidComponent.module.scss
    │   │   │   ├── InvalidComponent.tsx
    │   │   │   ├── nodeUtils.ts
    │   │   │   ├── reducer.ts
    │   │   │   ├── renderChild.tsx
    │   │   │   ├── StandaloneComponent.tsx
    │   │   │   ├── StateContainer.tsx
    │   │   │   ├── UnknownComponent.module.scss
    │   │   │   ├── UnknownComponent.tsx
    │   │   │   └── valueExtractor.ts
    │   │   ├── reportEngineError.ts
    │   │   ├── RestApiProxy.ts
    │   │   ├── script-runner
    │   │   │   ├── asyncProxy.ts
    │   │   │   ├── AttributeValueParser.ts
    │   │   │   ├── bannedFunctions.ts
    │   │   │   ├── BindingTreeEvaluationContext.ts
    │   │   │   ├── eval-tree-async.ts
    │   │   │   ├── eval-tree-common.ts
    │   │   │   ├── eval-tree-sync.ts
    │   │   │   ├── ParameterParser.ts
    │   │   │   ├── process-statement-async.ts
    │   │   │   ├── process-statement-common.ts
    │   │   │   ├── process-statement-sync.ts
    │   │   │   ├── ScriptingSourceTree.ts
    │   │   │   ├── simplify-expression.ts
    │   │   │   ├── statement-queue.ts
    │   │   │   └── visitors.ts
    │   │   ├── StandaloneApp.tsx
    │   │   ├── StandaloneExtensionManager.ts
    │   │   ├── TableOfContentsContext.tsx
    │   │   ├── theming
    │   │   │   ├── _themes.scss
    │   │   │   ├── component-layout-resolver.ts
    │   │   │   ├── extendThemeUtils.ts
    │   │   │   ├── hvar.ts
    │   │   │   ├── layout-resolver.ts
    │   │   │   ├── parse-layout-props.ts
    │   │   │   ├── StyleContext.tsx
    │   │   │   ├── StyleRegistry.ts
    │   │   │   ├── ThemeContext.tsx
    │   │   │   ├── ThemeProvider.tsx
    │   │   │   ├── themes
    │   │   │   │   ├── base-utils.ts
    │   │   │   │   ├── palette.ts
    │   │   │   │   ├── root.ts
    │   │   │   │   ├── solid.ts
    │   │   │   │   ├── theme-colors.ts
    │   │   │   │   └── xmlui.ts
    │   │   │   ├── themeVars.module.scss
    │   │   │   ├── themeVars.ts
    │   │   │   ├── transformThemeVars.ts
    │   │   │   └── utils.ts
    │   │   ├── utils
    │   │   │   ├── actionUtils.ts
    │   │   │   ├── audio-utils.ts
    │   │   │   ├── compound-utils.ts
    │   │   │   ├── css-utils.ts
    │   │   │   ├── DataLoaderQueryKeyGenerator.ts
    │   │   │   ├── date-utils.ts
    │   │   │   ├── extractParam.ts
    │   │   │   ├── hooks.tsx
    │   │   │   ├── LruCache.ts
    │   │   │   ├── mergeProps.ts
    │   │   │   ├── misc.ts
    │   │   │   ├── request-params.ts
    │   │   │   ├── statementUtils.ts
    │   │   │   └── treeUtils.ts
    │   │   └── xmlui-parser.ts
    │   ├── index-standalone.ts
    │   ├── index.scss
    │   ├── index.ts
    │   ├── language-server
    │   │   ├── server-common.ts
    │   │   ├── server-web-worker.ts
    │   │   ├── server.ts
    │   │   ├── services
    │   │   │   ├── common
    │   │   │   │   ├── docs-generation.ts
    │   │   │   │   ├── lsp-utils.ts
    │   │   │   │   ├── metadata-utils.ts
    │   │   │   │   └── syntax-node-utilities.ts
    │   │   │   ├── completion.ts
    │   │   │   ├── diagnostic.ts
    │   │   │   ├── format.ts
    │   │   │   └── hover.ts
    │   │   └── xmlui-metadata-generated.mjs
    │   ├── logging
    │   │   ├── LoggerContext.tsx
    │   │   ├── LoggerInitializer.tsx
    │   │   ├── LoggerService.ts
    │   │   └── xmlui.ts
    │   ├── logo.svg
    │   ├── parsers
    │   │   ├── common
    │   │   │   ├── GenericToken.ts
    │   │   │   ├── InputStream.ts
    │   │   │   └── utils.ts
    │   │   ├── scripting
    │   │   │   ├── code-behind-collect.ts
    │   │   │   ├── Lexer.ts
    │   │   │   ├── modules.ts
    │   │   │   ├── Parser.ts
    │   │   │   ├── ParserError.ts
    │   │   │   ├── ScriptingNodeTypes.ts
    │   │   │   ├── TokenTrait.ts
    │   │   │   ├── TokenType.ts
    │   │   │   └── tree-visitor.ts
    │   │   ├── style-parser
    │   │   │   ├── errors.ts
    │   │   │   ├── source-tree.ts
    │   │   │   ├── StyleInputStream.ts
    │   │   │   ├── StyleLexer.ts
    │   │   │   ├── StyleParser.ts
    │   │   │   └── tokens.ts
    │   │   └── xmlui-parser
    │   │       ├── CharacterCodes.ts
    │   │       ├── diagnostics.ts
    │   │       ├── fileExtensions.ts
    │   │       ├── index.ts
    │   │       ├── lint.ts
    │   │       ├── parser.ts
    │   │       ├── ParserError.ts
    │   │       ├── scanner.ts
    │   │       ├── syntax-kind.ts
    │   │       ├── syntax-node.ts
    │   │       ├── transform.ts
    │   │       ├── utils.ts
    │   │       ├── xmlui-serializer.ts
    │   │       └── xmlui-tree.ts
    │   ├── react-app-env.d.ts
    │   ├── syntax
    │   │   ├── monaco
    │   │   │   ├── grammar.monacoLanguage.ts
    │   │   │   ├── index.ts
    │   │   │   ├── xmlui-dark.ts
    │   │   │   ├── xmlui-light.ts
    │   │   │   └── xmluiscript.monacoLanguage.ts
    │   │   └── textMate
    │   │       ├── index.ts
    │   │       ├── xmlui-dark.json
    │   │       ├── xmlui-light.json
    │   │       ├── xmlui.json
    │   │       └── xmlui.tmLanguage.json
    │   ├── testing
    │   │   ├── assertions.ts
    │   │   ├── component-test-helpers.ts
    │   │   ├── ComponentDrivers.ts
    │   │   ├── drivers
    │   │   │   ├── DateInputDriver.ts
    │   │   │   ├── ModalDialogDriver.ts
    │   │   │   ├── NumberBoxDriver.ts
    │   │   │   ├── TextBoxDriver.ts
    │   │   │   ├── TimeInputDriver.ts
    │   │   │   ├── TimerDriver.ts
    │   │   │   └── TreeDriver.ts
    │   │   ├── fixtures.ts
    │   │   ├── infrastructure
    │   │   │   ├── index.html
    │   │   │   ├── main.tsx
    │   │   │   ├── public
    │   │   │   │   ├── mockServiceWorker.js
    │   │   │   │   ├── resources
    │   │   │   │   │   ├── bell.svg
    │   │   │   │   │   ├── box.svg
    │   │   │   │   │   ├── doc.svg
    │   │   │   │   │   ├── eye.svg
    │   │   │   │   │   ├── flower-640x480.jpg
    │   │   │   │   │   ├── sun.svg
    │   │   │   │   │   ├── test-image-100x100.jpg
    │   │   │   │   │   └── txt.svg
    │   │   │   │   └── serve.json
    │   │   │   └── TestBed.tsx
    │   │   └── themed-app-test-helpers.ts
    │   └── vite-env.d.ts
    ├── tests
    │   ├── components
    │   │   ├── CodeBlock
    │   │   │   └── hightlight-code.test.ts
    │   │   ├── playground-pattern.test.ts
    │   │   └── Tree
    │   │       └── Tree-states.test.ts
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   └── treeAbstractions.test.ts
    │   │   ├── container
    │   │   │   └── buildProxy.test.ts
    │   │   ├── interception
    │   │   │   ├── orderBy.test.ts
    │   │   │   ├── ReadOnlyCollection.test.ts
    │   │   │   └── request-param-converter.test.ts
    │   │   ├── scripts-runner
    │   │   │   ├── AttributeValueParser.test.ts
    │   │   │   ├── eval-tree-arrow-async.test.ts
    │   │   │   ├── eval-tree-arrow.test.ts
    │   │   │   ├── eval-tree-func-decl-async.test.ts
    │   │   │   ├── eval-tree-func-decl.test.ts
    │   │   │   ├── eval-tree-pre-post.test.ts
    │   │   │   ├── eval-tree-regression.test.ts
    │   │   │   ├── eval-tree.test.ts
    │   │   │   ├── function-proxy.test.ts
    │   │   │   ├── parser-regression.test.ts
    │   │   │   ├── process-event.test.ts
    │   │   │   ├── process-function.test.ts
    │   │   │   ├── process-implicit-context.test.ts
    │   │   │   ├── process-statement-asgn.test.ts
    │   │   │   ├── process-statement-destruct.test.ts
    │   │   │   ├── process-statement-regs.test.ts
    │   │   │   ├── process-statement-sync.test.ts
    │   │   │   ├── process-statement.test.ts
    │   │   │   ├── process-switch-sync.test.ts
    │   │   │   ├── process-switch.test.ts
    │   │   │   ├── process-try-sync.test.ts
    │   │   │   ├── process-try.test.ts
    │   │   │   └── test-helpers.ts
    │   │   ├── test-metadata-handler.ts
    │   │   ├── theming
    │   │   │   ├── border-segments.test.ts
    │   │   │   ├── component-layout.resolver.test.ts
    │   │   │   ├── layout-property-parser.test.ts
    │   │   │   ├── layout-resolver.test.ts
    │   │   │   ├── layout-resolver2.test.ts
    │   │   │   ├── layout-vp-override.test.ts
    │   │   │   └── padding-segments.test.ts
    │   │   └── utils
    │   │       ├── date-utils.test.ts
    │   │       ├── format-human-elapsed-time.test.ts
    │   │       └── LruCache.test.ts
    │   ├── language-server
    │   │   ├── completion.test.ts
    │   │   ├── format.test.ts
    │   │   ├── hover.test.ts
    │   │   └── mockData.ts
    │   └── parsers
    │       ├── common
    │       │   └── input-stream.test.ts
    │       ├── markdown
    │       │   └── parse-binding-expression.test.ts
    │       ├── parameter-parser.test.ts
    │       ├── paremeter-parser.test.ts
    │       ├── scripting
    │       │   ├── eval-tree-arrow.test.ts
    │       │   ├── eval-tree-pre-post.test.ts
    │       │   ├── eval-tree.test.ts
    │       │   ├── function-proxy.test.ts
    │       │   ├── lexer-literals.test.ts
    │       │   ├── lexer-misc.test.ts
    │       │   ├── module-parse.test.ts
    │       │   ├── parser-arrow.test.ts
    │       │   ├── parser-assignments.test.ts
    │       │   ├── parser-binary.test.ts
    │       │   ├── parser-destructuring.test.ts
    │       │   ├── parser-errors.test.ts
    │       │   ├── parser-expressions.test.ts
    │       │   ├── parser-function.test.ts
    │       │   ├── parser-literals.test.ts
    │       │   ├── parser-primary.test.ts
    │       │   ├── parser-regex.test.ts
    │       │   ├── parser-statements.test.ts
    │       │   ├── parser-unary.test.ts
    │       │   ├── process-event.test.ts
    │       │   ├── process-implicit-context.test.ts
    │       │   ├── process-statement-asgn.test.ts
    │       │   ├── process-statement-destruct.test.ts
    │       │   ├── process-statement-regs.test.ts
    │       │   ├── process-statement-sync.test.ts
    │       │   ├── process-statement.test.ts
    │       │   ├── process-switch-sync.test.ts
    │       │   ├── process-switch.test.ts
    │       │   ├── process-try-sync.test.ts
    │       │   ├── process-try.test.ts
    │       │   ├── simplify-expression.test.ts
    │       │   ├── statement-hooks.test.ts
    │       │   └── test-helpers.ts
    │       ├── style-parser
    │       │   ├── generateHvarChain.test.ts
    │       │   ├── parseHVar.test.ts
    │       │   ├── parser.test.ts
    │       │   └── tokens.test.ts
    │       └── xmlui
    │           ├── lint.test.ts
    │           ├── parser.test.ts
    │           ├── scanner.test.ts
    │           ├── transform.attr.test.ts
    │           ├── transform.circular.test.ts
    │           ├── transform.element.test.ts
    │           ├── transform.errors.test.ts
    │           ├── transform.escape.test.ts
    │           ├── transform.regression.test.ts
    │           ├── transform.script.test.ts
    │           ├── transform.test.ts
    │           └── xmlui.ts
    ├── tests-e2e
    │   ├── api-bound-component-regression.spec.ts
    │   ├── api-call-as-extracted-component.spec.ts
    │   ├── assign-to-object-or-array-regression.spec.ts
    │   ├── binding-regression.spec.ts
    │   ├── children-as-template-context-vars.spec.ts
    │   ├── compound-component.spec.ts
    │   ├── context-vars-regression.spec.ts
    │   ├── data-bindings.spec.ts
    │   ├── datasource-and-api-usage-in-var.spec.ts
    │   ├── datasource-direct-binding.spec.ts
    │   ├── datasource-onLoaded-regression.spec.ts
    │   ├── modify-array-item-regression.spec.ts
    │   ├── namespaces.spec.ts
    │   ├── push-to-array-regression.spec.ts
    │   ├── screen-breakpoints.spec.ts
    │   ├── scripting.spec.ts
    │   ├── state-scope-in-pages.spec.ts
    │   └── state-var-scopes.spec.ts
    ├── tsconfig.bin.json
    ├── tsconfig.json
    ├── tsconfig.node.json
    ├── vite.config.ts
    └── vitest.config.ts
```

# Files

--------------------------------------------------------------------------------
/xmlui/src/components/Text/Text.spec.ts:
--------------------------------------------------------------------------------

```typescript
   1 | import { getBounds, SKIP_REASON } from "../../testing/component-test-helpers";
   2 | import { expect, test } from "../../testing/fixtures";
   3 | import { TextVariantElement } from "../abstractions";
   4 | 
   5 | // =============================================================================
   6 | // BASIC FUNCTIONALITY TESTS
   7 | // =============================================================================
   8 | 
   9 | test.describe("Basic Functionality", () => {
  10 |   test("component renders", async ({ initTestBed, createTextDriver }) => {
  11 |     await initTestBed(`<Text />`);
  12 |     const driver = await createTextDriver();
  13 | 
  14 |     await expect(driver.component).toBeAttached();
  15 |     await expect(driver.component).toBeEmpty();
  16 |   });
  17 | 
  18 |   test("component renders with value prop", async ({ initTestBed, createTextDriver }) => {
  19 |     await initTestBed(`<Text value="test content" />`);
  20 |     const driver = await createTextDriver();
  21 | 
  22 |     await expect(driver.component).toHaveText("test content");
  23 |   });
  24 | 
  25 |   test("component renders with text content", async ({ initTestBed, createTextDriver }) => {
  26 |     await initTestBed(`<Text>test content</Text>`);
  27 |     const driver = await createTextDriver();
  28 | 
  29 |     await expect(driver.component).toHaveText("test content");
  30 |   });
  31 | 
  32 |   test("text content overrides value prop", async ({ initTestBed, createTextDriver }) => {
  33 |     const EXPECTED = "this test text is the value of the heading";
  34 |     await initTestBed(`
  35 |       <Text value="${EXPECTED}">
  36 |         This is a child
  37 |       </Text>
  38 |     `);
  39 |     const driver = await createTextDriver();
  40 | 
  41 |     await expect(driver.component).toHaveText(EXPECTED);
  42 |   });
  43 | 
  44 |   Object.entries(TextVariantElement).forEach(([variant, htmlElement]) => {
  45 |     test(`variant=${variant} renders correct HTML element: ${htmlElement}`, async ({
  46 |       initTestBed,
  47 |       createTextDriver,
  48 |     }) => {
  49 |       await initTestBed(`<Text variant="${variant}" />`);
  50 |       const driver = await createTextDriver();
  51 | 
  52 |       const tagName = await driver.getComponentTagName();
  53 |       expect(tagName).toEqual(htmlElement);
  54 |     });
  55 |   });
  56 | 
  57 |   Array.from(new Set(Object.values(TextVariantElement)))
  58 |     .filter((variant) => !["h6", "span"].includes(variant))
  59 |     .forEach((htmlElement) => {
  60 |       test(`HtmlTag component '${htmlElement}' renders correctly`, async ({
  61 |         initTestBed,
  62 |         createTextDriver,
  63 |       }) => {
  64 |         await initTestBed(`<${htmlElement} />`);
  65 |         const driver = await createTextDriver();
  66 | 
  67 |         await expect(driver.component).toBeAttached();
  68 |       });
  69 |     });
  70 | 
  71 |   [
  72 |     { label: "undefined", value: "'{undefined}'", toExpected: "" },
  73 |     { label: "undefined with string", value: "'abc{undefined}def'", toExpected: "abcdef" },
  74 |     { label: "null", value: "'{null}'", toExpected: "" },
  75 |     { label: "null with string", value: "'abc{null}def'", toExpected: "abcdef" },
  76 |     { label: "empty string", value: "''", toExpected: "" },
  77 |     { label: "string", value: "'test'", toExpected: "test" },
  78 |     { label: "integer", value: "'{1}'", toExpected: "1" },
  79 |     { label: "float", value: "'{1.2}'", toExpected: "1.2" },
  80 |     { label: "boolean", value: "'{true}'", toExpected: "true" },
  81 |     { label: "empty object", value: "'{{}}'", toExpected: {}.toString() },
  82 |     { label: "object", value: "\"{{ a: 1, b: 'hi' }}\"", toExpected: { a: 1, b: "hi" }.toString() },
  83 |     { label: "empty array", value: "'{[]}'", toExpected: "" },
  84 |     { label: "array", value: "'{[1, 2, 3]}'", toExpected: [1, 2, 3].toString() },
  85 |   ].forEach(({ label, value, toExpected }) => {
  86 |     test(`handles ${label} value prop correctly`, async ({ initTestBed, createTextDriver }) => {
  87 |       await initTestBed(`<Text value=${value} />`);
  88 |       const driver = await createTextDriver();
  89 | 
  90 |       await expect(driver.component).toHaveText(toExpected);
  91 |     });
  92 |   });
  93 | 
  94 |   test("removes leading whitespace", async ({ page, initTestBed }) => {
  95 |     await initTestBed(`<Text testId="text">   {123}</Text>`);
  96 |     await expect(page.getByTestId("text")).toHaveText("123");
  97 |   });
  98 | 
  99 |   test("removes trailing whitespace", async ({ page, initTestBed }) => {
 100 |     await initTestBed(`<Text testId="text">{123}  </Text>`);
 101 |     await expect(page.getByTestId("text")).toHaveText("123");
 102 |   });
 103 | 
 104 |   test("preserves whitespace when using value prop", async ({ initTestBed, createTextDriver }) => {
 105 |     const expected = "test        content";
 106 |     await initTestBed(`<Text value="${expected}" />`);
 107 |     const driver = await createTextDriver();
 108 | 
 109 |     await expect(driver.component).toHaveText(expected);
 110 |   });
 111 | 
 112 |   test("supports preserveLinebreaks prop", async ({ initTestBed, createTextDriver }) => {
 113 |     await initTestBed(`
 114 |     <VStack>
 115 |       <Text testId="textShort">Short</Text>
 116 |       <Text testId="textLong" preserveLinebreaks="true"
 117 |         value="Though this long
 118 | text does not fit into a single line,
 119 | please do not break it!"
 120 |       />
 121 |     </VStack>
 122 |     `);
 123 |     const { height: heightTextShort } = await getBounds(await createTextDriver("textShort"));
 124 |     const { height: heightTextLong } = await getBounds(await createTextDriver("textLong"));
 125 | 
 126 |     expect(heightTextLong).toEqualWithTolerance(heightTextShort * 3, 0.01);
 127 |   });
 128 | });
 129 | 
 130 | // =============================================================================
 131 | // API TESTS
 132 | // =============================================================================
 133 | 
 134 | test.describe("API", () => {
 135 |   test("hasOverflow returns true when text overflows horizontally", async ({
 136 |     initTestBed,
 137 |     page,
 138 |   }) => {
 139 |     const { testStateDriver } = await initTestBed(`
 140 |       <Fragment>
 141 |         <Stack width="200px">
 142 |           <Text id="overflowText" maxLines="{1}" 
 143 |             value="This is a very long text that should definitely overflow when constrained to a small width" 
 144 |           />
 145 |           <Button onClick="testState = overflowText.hasOverflow()" />
 146 |         </Stack>
 147 |       </Fragment>
 148 |     `);
 149 | 
 150 |     await page.getByRole("button").click();
 151 |     await expect.poll(testStateDriver.testState).toBe(true);
 152 |   });
 153 | 
 154 |   test("hasOverflow returns true when text overflows with maxLines constraint", async ({
 155 |     initTestBed,
 156 |     page,
 157 |   }) => {
 158 |     const { testStateDriver } = await initTestBed(`
 159 |       <Fragment>
 160 |         <Stack width="200px">
 161 |           <Text id="overflowText" maxLines="{2}" value="This is a very long text that will wrap to multiple lines and should overflow beyond the maxLines constraint when the container is wide enough to allow wrapping" />
 162 |           <Button onClick="testState = overflowText.hasOverflow()" />
 163 |         </Stack>
 164 |       </Fragment>
 165 |     `);
 166 | 
 167 |     await page.getByRole("button").click();
 168 |     await expect.poll(testStateDriver.testState).toBe(true);
 169 |   });
 170 | 
 171 |   test("hasOverflow returns false when text fits within container", async ({
 172 |     initTestBed,
 173 |     page,
 174 |   }) => {
 175 |     const { testStateDriver } = await initTestBed(`
 176 |       <Fragment>
 177 |         <Stack width="300px" height="100px">
 178 |           <Text id="normalText" value="Short text" />
 179 |           <Button onClick="testState = normalText.hasOverflow()" />
 180 |         </Stack>
 181 |       </Fragment>
 182 |     `);
 183 | 
 184 |     await page.getByRole("button").click();
 185 |     await expect.poll(testStateDriver.testState).toBe(false);
 186 |   });
 187 | 
 188 |   test("hasOverflow returns false for empty text", async ({ initTestBed, page }) => {
 189 |     const { testStateDriver } = await initTestBed(`
 190 |       <Fragment>
 191 |         <Stack width="100px" height="50px">
 192 |           <Text id="emptyText" value="" />
 193 |           <Button onClick="testState = emptyText.hasOverflow()" />
 194 |         </Stack>
 195 |       </Fragment>
 196 |     `);
 197 | 
 198 |     await page.getByRole("button").click();
 199 |     await expect.poll(testStateDriver.testState).toBe(false);
 200 |   });
 201 | 
 202 |   test("hasOverflow returns false for text with no size constraints", async ({
 203 |     initTestBed,
 204 |     page,
 205 |   }) => {
 206 |     const { testStateDriver } = await initTestBed(`
 207 |       <Fragment>
 208 |         <Text id="unconstrainedText" value="This text has no width or height constraints so it should not overflow" />
 209 |         <Button onClick="testState = unconstrainedText.hasOverflow()" />
 210 |       </Fragment>
 211 |     `);
 212 | 
 213 |     await page.getByRole("button").click();
 214 |     await expect.poll(testStateDriver.testState).toBe(false);
 215 |   });
 216 | 
 217 |   test("hasOverflow works with different overflow modes", async ({ initTestBed, page }) => {
 218 |     const { testStateDriver } = await initTestBed(`
 219 |       <Fragment>
 220 |         <Stack width="100px">
 221 |           <Text id="ellipsisText" overflowMode="ellipsis" maxLines="{1}" value="This is a very long text that should overflow" />
 222 |           <Button onClick="testState = { ellipsis: ellipsisText.hasOverflow() }" />
 223 |         </Stack>
 224 |       </Fragment>
 225 |     `);
 226 | 
 227 |     await page.getByRole("button").click();
 228 |     const result = await testStateDriver.testState();
 229 |     expect(result.ellipsis).toBe(true);
 230 |   });
 231 | 
 232 |   test("hasOverflow works with scroll overflow mode", async ({ initTestBed, page }) => {
 233 |     const { testStateDriver } = await initTestBed(`
 234 |       <Fragment>
 235 |         <Stack width="100px">
 236 |           <Text id="scrollText" overflowMode="scroll" value="This is a very long text that should create horizontal scroll" />
 237 |           <Button onClick="testState = scrollText.hasOverflow()" />
 238 |         </Stack>
 239 |       </Fragment>
 240 |     `);
 241 | 
 242 |     await page.getByRole("button").click();
 243 |     await expect.poll(testStateDriver.testState).toBe(true);
 244 |   });
 245 | 
 246 |   test("hasOverflow returns correct result after content changes", async ({
 247 |     initTestBed,
 248 |     page,
 249 |   }) => {
 250 |     const { testStateDriver } = await initTestBed(`
 251 |       <Fragment var.text="short">
 252 |         <Stack width="100px">
 253 |           <Text id="dynamicText" value="{text}" maxLines="{1}" />
 254 |           <Button testId="checkBtn" onClick="testState = dynamicText.hasOverflow()" />
 255 |           <Button testId="changeBtn" onClick="text = 'This is a very long text that will definitely overflow the container'" />
 256 |         </Stack>
 257 |       </Fragment>
 258 |     `);
 259 | 
 260 |     // Check initial state (should not overflow)
 261 |     await page.getByTestId("checkBtn").click();
 262 |     await expect.poll(testStateDriver.testState).toBe(false);
 263 | 
 264 |     // Change content to overflow
 265 |     await page.getByTestId("changeBtn").click();
 266 |     await page.getByTestId("checkBtn").click();
 267 |     await expect.poll(testStateDriver.testState).toBe(true);
 268 |   });
 269 | 
 270 |   test("hasOverflow handles null/undefined values gracefully", async ({ initTestBed, page }) => {
 271 |     const { testStateDriver } = await initTestBed(`
 272 |       <Fragment>
 273 |         <Stack width="100px">
 274 |           <Text id="nullText" value="{null}" />
 275 |           <Button onClick="testState = nullText.hasOverflow()" />
 276 |         </Stack>
 277 |       </Fragment>
 278 |     `);
 279 | 
 280 |     await page.getByRole("button").click();
 281 |     await expect.poll(testStateDriver.testState).toBe(false);
 282 |   });
 283 | 
 284 |   test("hasOverflow works with unicode characters", async ({ initTestBed, page }) => {
 285 |     const { testStateDriver } = await initTestBed(`
 286 |       <Fragment>
 287 |         <Stack width="100px">
 288 |           <Text id="unicodeText" maxLines="{1}" value="👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦" />
 289 |           <Button onClick="testState = unicodeText.hasOverflow()" />
 290 |         </Stack>
 291 |       </Fragment>
 292 |     `);
 293 | 
 294 |     await page.getByRole("button").click();
 295 |     await expect.poll(testStateDriver.testState).toBe(true);
 296 |   });
 297 | 
 298 |   test("hasOverflow works with Chinese characters", async ({ initTestBed, page }) => {
 299 |     const { testStateDriver } = await initTestBed(`
 300 |       <Fragment>
 301 |         <Stack width="100px">
 302 |           <Text id="chineseText" maxLines="{1}" value="这是一个非常长的中文文本,应该会在小容器中溢出显示区域超出边界限制" />
 303 |           <Button onClick="testState = chineseText.hasOverflow()" />
 304 |         </Stack>
 305 |       </Fragment>
 306 |     `);
 307 | 
 308 |     await page.getByRole("button").click();
 309 |     await expect.poll(testStateDriver.testState).toBe(true);
 310 |   });
 311 | 
 312 |   test("hasOverflow API can be called multiple times", async ({ initTestBed, page }) => {
 313 |     const { testStateDriver } = await initTestBed(`
 314 |       <Fragment>
 315 |         <Stack width="200px">
 316 |           <Text id="multiCallText" value="Test content" />
 317 |           <Button onClick="testState = testState == null ? 1 : testState + 1; multiCallText.hasOverflow()" />
 318 |         </Stack>
 319 |       </Fragment>
 320 |     `);
 321 | 
 322 |     // Call API multiple times
 323 |     await page.getByRole("button").click();
 324 |     await page.getByRole("button").click();
 325 |     await page.getByRole("button").click();
 326 | 
 327 |     // Should have been called 3 times without errors
 328 |     await expect.poll(testStateDriver.testState).toBe(3);
 329 |   });
 330 | });
 331 | 
 332 | // =============================================================================
 333 | // ACCESSIBILITY TESTS
 334 | // =============================================================================
 335 | 
 336 | test.describe("Accessibility", () => {
 337 |   test("non-breaking space entities are rendered correctly", async ({
 338 |     initTestBed,
 339 |     createTextDriver,
 340 |   }) => {
 341 |     const content = "4 spaces here [&nbsp;&nbsp;&nbsp;&nbsp;], &amp;nbsp; written out.";
 342 |     const expected = "4 spaces here [    ], &nbsp; written out.";
 343 | 
 344 |     await initTestBed(`<Text>${content}</Text>`);
 345 |     const driver = await createTextDriver();
 346 | 
 347 |     await expect(driver.component).toHaveText(expected);
 348 |   });
 349 | 
 350 |   test("supports proper semantic HTML variants", async ({ initTestBed, createTextDriver }) => {
 351 |     await initTestBed(`<Text variant="strong">Important text</Text>`);
 352 |     const driver = await createTextDriver();
 353 | 
 354 |     const tagName = await driver.getComponentTagName();
 355 |     expect(tagName).toEqual("strong");
 356 |     await expect(driver.component).toHaveText("Important text");
 357 |   });
 358 | 
 359 |   test("maintains text content readability", async ({ initTestBed, createTextDriver }) => {
 360 |     await initTestBed(`<Text>This is readable text content</Text>`);
 361 |     const driver = await createTextDriver();
 362 | 
 363 |     await expect(driver.component).toBeVisible();
 364 |     await expect(driver.component).toHaveText("This is readable text content");
 365 |   });
 366 | });
 367 | 
 368 | // =============================================================================
 369 | // VISUAL STATES TESTS
 370 | // =============================================================================
 371 | 
 372 | test.describe("Visual States", () => {
 373 |   test("handles text overflow with ellipses", async ({ initTestBed, createTextDriver }) => {
 374 |     await initTestBed(`
 375 |       <Fragment>
 376 |         <Text testId="textShort" width="200">Short</Text>
 377 |         <Text testId="textLong" width="200" maxLines="1">
 378 |           Though this long text does not fit into a single line, please do not break it!
 379 |         </Text>
 380 |       </Fragment>
 381 |     `);
 382 |     const shortTextDriver = await createTextDriver("textShort");
 383 |     const longTextDriver = await createTextDriver("textLong");
 384 | 
 385 |     const { height: heightTextShort } = await getBounds(shortTextDriver);
 386 |     const { height: heightTextLong } = await getBounds(longTextDriver);
 387 | 
 388 |     expect(heightTextShort).toEqual(heightTextLong);
 389 |     await expect(longTextDriver.component).toHaveCSS("text-overflow", "ellipsis");
 390 |   });
 391 | 
 392 |   test("disables ellipses when specified", async ({ initTestBed, createTextDriver }) => {
 393 |     await initTestBed(`
 394 |       <Fragment>
 395 |         <Text testId="textShort" width="200">Short</Text>
 396 |         <Text testId="textLong" width="200" maxLines="1" ellipses="false">
 397 |           Though this long text does not fit into a single line, please do not break it!
 398 |         </Text>
 399 |       </Fragment>
 400 |     `);
 401 |     const shortTextDriver = await createTextDriver("textShort");
 402 |     const longTextDriver = await createTextDriver("textLong");
 403 | 
 404 |     const { height: heightTextShort } = await getBounds(shortTextDriver);
 405 |     const { height: heightTextLong } = await getBounds(longTextDriver);
 406 | 
 407 |     expect(heightTextShort).toEqual(heightTextLong);
 408 |     await expect(longTextDriver.component).not.toHaveCSS("text-overflow", "ellipsis");
 409 |   });
 410 | 
 411 |   test("constrains text to maxLines", async ({ initTestBed, createTextDriver }) => {
 412 |     await initTestBed(`
 413 |       <VStack>
 414 |         <Text testId="textShort" width="200px">Short</Text>
 415 |         <Text testId="textLong" width="200px" maxLines="2">
 416 |           Though this long text does not fit into a single line, please do not break it!
 417 |         </Text>
 418 |       </VStack>
 419 |     `);
 420 |     const shortText = await createTextDriver("textShort");
 421 |     const longText = await createTextDriver("textLong");
 422 | 
 423 |     const { height: heightTextShort } = await getBounds(shortText);
 424 |     const { height: heightTextLong } = await getBounds(longText);
 425 | 
 426 |     expect(heightTextLong).toEqual(heightTextShort * 2);
 427 |   });
 428 | 
 429 |   test("breaks long text when constrained by width", async ({ initTestBed, createTextDriver }) => {
 430 |     await initTestBed(`
 431 |       <VStack>
 432 |         <Text testId="textShort" width="200px">Short</Text>
 433 |         <Text testId="textLong" width="200px">
 434 |           This long text does not fit into a viewport with a 200-pixel width.
 435 |         </Text>
 436 |       </VStack>
 437 |     `);
 438 |     const shortText = await createTextDriver("textShort");
 439 |     const longText = await createTextDriver("textLong");
 440 | 
 441 |     await expect(longText.component).toBeVisible();
 442 | 
 443 |     const { height: heightTextShort } = await getBounds(shortText);
 444 |     const { height: heightTextLong } = await getBounds(longText);
 445 | 
 446 |     expect(heightTextShort).toBeLessThan(heightTextLong);
 447 |   });
 448 | 
 449 |   test("text overflows container when explicitly sized larger", async ({
 450 |     initTestBed,
 451 |     createVStackDriver,
 452 |     createTextDriver,
 453 |   }) => {
 454 |     const widthLayoutExpected = 300;
 455 |     const widthTextExpected = 400;
 456 |     await initTestBed(`
 457 |       <VStack height="40px" width="${widthLayoutExpected}px" border="1px solid red">
 458 |         <Text testId="text" width="${widthTextExpected}px">
 459 |           This text sets its size explicitly bigger than its container.
 460 |           As it does not fit into the container's viewport, it overflows.
 461 |         </Text>
 462 |       </VStack>
 463 |     `);
 464 |     const { width: widthLayout } = await getBounds(await createVStackDriver());
 465 |     const { width: widthText } = await getBounds(await createTextDriver("text"));
 466 | 
 467 |     expect(widthText).toEqual(widthTextExpected);
 468 |     expect(widthLayout).toEqual(widthLayoutExpected);
 469 |   });
 470 | 
 471 |   test("collapses nested text whitespace correctly", async ({ initTestBed, createTextDriver }) => {
 472 |     await initTestBed(`
 473 |       <Text>
 474 |       test      content
 475 |           here
 476 |       </Text>
 477 |     `);
 478 |     const driver = await createTextDriver();
 479 |     await expect(driver.component).toHaveText("test content here");
 480 |   });
 481 | });
 482 | 
 483 | // =============================================================================
 484 | // OVERFLOW MODE TESTS
 485 | // =============================================================================
 486 | 
 487 | test.describe("Overflow Mode", () => {
 488 |   test('overflowMode="none" allows wrapping with no overflow indicator', async ({
 489 |     initTestBed,
 490 |     createTextDriver,
 491 |   }) => {
 492 |     await initTestBed(`
 493 |       <Text testId="text" width="200px" overflowMode="none">
 494 |         This is a very long text that should wrap naturally and show no ellipsis.
 495 |       </Text>
 496 |     `);
 497 |     const driver = await createTextDriver("text");
 498 | 
 499 |     await expect(driver.component).toHaveCSS("white-space", "nowrap");
 500 |     await expect(driver.component).toHaveCSS("text-overflow", "clip");
 501 |     await expect(driver.component).toHaveCSS("overflow", "hidden");
 502 |   });
 503 | 
 504 |   test('overflowMode="none" ignores maxLines and clips text cleanly', async ({
 505 |     initTestBed,
 506 |     createTextDriver,
 507 |   }) => {
 508 |     await initTestBed(`
 509 |       <Text testId="text" width="200px" overflowMode="none" maxLines="2">
 510 |         This is a long-long-long text that should be simply cut at the end without any ellipsis or other overflow indicator.
 511 |       </Text>
 512 |     `);
 513 |     const driver = await createTextDriver("text");
 514 | 
 515 |     await expect(driver.component).toHaveCSS("white-space", "nowrap");
 516 |     await expect(driver.component).toHaveCSS("text-overflow", "clip");
 517 |     await expect(driver.component).toHaveCSS("overflow", "hidden");
 518 |     // Should NOT use webkit-line-clamp for "none" behavior - it ignores maxLines
 519 |     await expect(driver.component).toHaveCSS("-webkit-line-clamp", "none");
 520 |     // Should not apply maxLines styles since none mode ignores maxLines
 521 |     const maxHeight = await driver.component.evaluate((el) => getComputedStyle(el).maxHeight);
 522 |     expect(maxHeight).toBe("none"); // Should be "none" since maxLines is ignored
 523 | 
 524 |     // Verify the element is visible and has content
 525 |     await expect(driver.component).toBeVisible();
 526 |     await expect(driver.component).toContainText("This is a long-long-long text");
 527 |   });
 528 | 
 529 |   test('overflowMode="ellipsis" shows ellipsis when text overflows (default)', async ({
 530 |     initTestBed,
 531 |     createTextDriver,
 532 |   }) => {
 533 |     await initTestBed(`
 534 |       <Text testId="text" width="200px" overflowMode="ellipsis" maxLines="1">
 535 |         This is a very long text that should show ellipsis when it overflows.
 536 |       </Text>
 537 |     `);
 538 |     const driver = await createTextDriver("text");
 539 | 
 540 |     await expect(driver.component).toHaveCSS("text-overflow", "ellipsis");
 541 |     await expect(driver.component).toHaveCSS("overflow", "hidden");
 542 |   });
 543 | 
 544 |   test('overflowMode="scroll" enables horizontal scrolling', async ({
 545 |     initTestBed,
 546 |     createTextDriver,
 547 |   }) => {
 548 |     await initTestBed(`
 549 |       <Text testId="text" width="200px" overflowMode="scroll">
 550 |         This is a very long text that should enable horizontal scrolling when it overflows the container width.
 551 |       </Text>
 552 |     `);
 553 |     const driver = await createTextDriver("text");
 554 | 
 555 |     await expect(driver.component).toHaveCSS("white-space", "nowrap");
 556 |     await expect(driver.component).toHaveCSS("overflow-x", "auto");
 557 |     await expect(driver.component).toHaveCSS("overflow-y", "hidden");
 558 |   });
 559 | 
 560 |   test('overflowMode="flow" allows multi-line wrapping with vertical scrolling', async ({
 561 |     initTestBed,
 562 |     createTextDriver,
 563 |   }) => {
 564 |     await initTestBed(`
 565 |       <Text testId="text" width="200px" height="60px" overflowMode="flow">
 566 |         This is a very long text that should wrap to multiple lines and show a vertical scrollbar when the content exceeds the container height.
 567 |       </Text>
 568 |     `);
 569 |     const driver = await createTextDriver("text");
 570 | 
 571 |     await expect(driver.component).toHaveCSS("white-space", "normal");
 572 |     await expect(driver.component).toHaveCSS("overflow-x", "hidden");
 573 |     await expect(driver.component).toHaveCSS("overflow-y", "auto");
 574 |   });
 575 | 
 576 |   test('overflowMode="flow" ignores maxLines property', async ({
 577 |     initTestBed,
 578 |     createTextDriver,
 579 |   }) => {
 580 |     await initTestBed(`
 581 |       <Text testId="text" width="200px" overflowMode="flow" maxLines="3">
 582 |         This is a very long text that should wrap to multiple lines and completely ignore the maxLines property when using flow mode.
 583 |       </Text>
 584 |     `);
 585 |     const driver = await createTextDriver("text");
 586 | 
 587 |     await expect(driver.component).toHaveCSS("white-space", "normal");
 588 |     await expect(driver.component).toHaveCSS("overflow-y", "auto");
 589 |     // Check that line-clamp is NOT applied when flow mode ignores maxLines
 590 |     await expect(driver.component).toHaveCSS("-webkit-line-clamp", "none");
 591 |     await expect(driver.component).not.toHaveCSS("display", "-webkit-box");
 592 |   });
 593 | 
 594 |   test("overflowMode works with maxLines", async ({ initTestBed, createTextDriver }) => {
 595 |     await initTestBed(`
 596 |       <VStack>
 597 |         <Text testId="ellipsisText" width="200px" overflowMode="ellipsis" maxLines="2">
 598 |           This is a very long text that should be limited to 2 lines with line-clamp and show ellipsis.
 599 |         </Text>
 600 |       </VStack>
 601 |     `);
 602 |     const ellipsisDriver = await createTextDriver("ellipsisText");
 603 | 
 604 |     // Ellipsis should respect maxLines with line-clamp
 605 |     await expect(ellipsisDriver.component).toHaveCSS("-webkit-line-clamp", "2");
 606 | 
 607 |     // Should show ellipsis behavior
 608 |     await expect(ellipsisDriver.component).toHaveCSS("text-overflow", "ellipsis");
 609 |   });
 610 | 
 611 |   test("overflowMode='scroll' ignores maxLines", async ({ initTestBed, createTextDriver }) => {
 612 |     await initTestBed(`
 613 |       <VStack>
 614 |         <Text testId="scrollWithMaxLines" width="150px" overflowMode="scroll" maxLines="2">
 615 |           This is a very long text that should scroll horizontally and completely ignore the maxLines property.
 616 |         </Text>
 617 |         <Text testId="scrollWithoutMaxLines" width="150px" overflowMode="scroll">
 618 |           This is a very long text that should scroll horizontally without any maxLines property.
 619 |         </Text>
 620 |       </VStack>
 621 |     `);
 622 |     const scrollWithMaxLinesDriver = await createTextDriver("scrollWithMaxLines");
 623 |     const scrollWithoutMaxLinesDriver = await createTextDriver("scrollWithoutMaxLines");
 624 | 
 625 |     // Both should have the same behavior - no line-clamp applied
 626 |     await expect(scrollWithMaxLinesDriver.component).toHaveCSS("-webkit-line-clamp", "none");
 627 |     await expect(scrollWithoutMaxLinesDriver.component).toHaveCSS("-webkit-line-clamp", "none");
 628 | 
 629 |     // Both should have scroll behavior
 630 |     await expect(scrollWithMaxLinesDriver.component).toHaveCSS("overflow-x", "auto");
 631 |     await expect(scrollWithoutMaxLinesDriver.component).toHaveCSS("overflow-x", "auto");
 632 |     await expect(scrollWithMaxLinesDriver.component).toHaveCSS("white-space", "nowrap");
 633 |     await expect(scrollWithoutMaxLinesDriver.component).toHaveCSS("white-space", "nowrap");
 634 | 
 635 |     // Neither should use text-overflow ellipsis
 636 |     await expect(scrollWithMaxLinesDriver.component).toHaveCSS("text-overflow", "clip");
 637 |     await expect(scrollWithoutMaxLinesDriver.component).toHaveCSS("text-overflow", "clip");
 638 |   });
 639 | 
 640 |   test("overflowMode='flow' ignores maxLines for unrestricted wrapping", async ({
 641 |     initTestBed,
 642 |     createTextDriver,
 643 |   }) => {
 644 |     await initTestBed(`
 645 |       <VStack>
 646 |         <Text testId="flowWithMaxLines" width="150px" overflowMode="flow" maxLines="2">
 647 |           This is a very long text that should wrap to multiple lines and completely ignore the maxLines property when using flow mode.
 648 |         </Text>
 649 |         <Text testId="flowWithoutMaxLines" width="150px" overflowMode="flow">
 650 |           This is a very long text that should wrap to multiple lines without any line limit when using flow mode.
 651 |         </Text>
 652 |       </VStack>
 653 |     `);
 654 |     const flowWithMaxLinesDriver = await createTextDriver("flowWithMaxLines");
 655 |     const flowWithoutMaxLinesDriver = await createTextDriver("flowWithoutMaxLines");
 656 | 
 657 |     // Both should behave identically - flow mode ignores maxLines
 658 |     await expect(flowWithMaxLinesDriver.component).toHaveCSS("-webkit-line-clamp", "none");
 659 |     await expect(flowWithoutMaxLinesDriver.component).toHaveCSS("-webkit-line-clamp", "none");
 660 | 
 661 |     // Both should have flow behavior
 662 |     await expect(flowWithMaxLinesDriver.component).toHaveCSS("overflow-y", "auto");
 663 |     await expect(flowWithoutMaxLinesDriver.component).toHaveCSS("overflow-y", "auto");
 664 |     await expect(flowWithMaxLinesDriver.component).toHaveCSS("overflow-x", "hidden");
 665 |     await expect(flowWithoutMaxLinesDriver.component).toHaveCSS("overflow-x", "hidden");
 666 |     await expect(flowWithMaxLinesDriver.component).toHaveCSS("white-space", "normal");
 667 |     await expect(flowWithoutMaxLinesDriver.component).toHaveCSS("white-space", "normal");
 668 | 
 669 |     // Neither should use webkit-box display
 670 |     await expect(flowWithMaxLinesDriver.component).not.toHaveCSS("display", "-webkit-box");
 671 |     await expect(flowWithoutMaxLinesDriver.component).not.toHaveCSS("display", "-webkit-box");
 672 |   });
 673 | 
 674 |   test("overflowMode respects ellipses property for ellipsis behavior", async ({
 675 |     initTestBed,
 676 |     createTextDriver,
 677 |   }) => {
 678 |     await initTestBed(`
 679 |       <VStack>
 680 |         <Text testId="withEllipses" width="200px" overflowMode="ellipsis" ellipses="true" maxLines="1">
 681 |           This text should show ellipses.
 682 |         </Text>
 683 |         <Text testId="withoutEllipses" width="200px" overflowMode="ellipsis" ellipses="false" maxLines="1">
 684 |           This text should not show ellipses.
 685 |         </Text>
 686 |       </VStack>
 687 |     `);
 688 |     const withEllipsesDriver = await createTextDriver("withEllipses");
 689 |     const withoutEllipsesDriver = await createTextDriver("withoutEllipses");
 690 | 
 691 |     await expect(withEllipsesDriver.component).toHaveCSS("text-overflow", "ellipsis");
 692 |     await expect(withoutEllipsesDriver.component).toHaveCSS("text-overflow", "clip");
 693 |   });
 694 | 
 695 |   test('overflowMode="ellipsis" works with multi-line text (maxLines > 1)', async ({
 696 |     initTestBed,
 697 |     createTextDriver,
 698 |   }) => {
 699 |     await initTestBed(`
 700 |       <VStack>
 701 |         <Text testId="singleLine" width="150px" overflowMode="ellipsis" maxLines="1">
 702 |           This is a very long text that should be truncated to a single line with ellipsis.
 703 |         </Text>
 704 |         <Text testId="multiLine" width="150px" overflowMode="ellipsis" maxLines="2">
 705 |           This is a very long text that should wrap to exactly two lines and then be truncated with ellipsis if there's more content that doesn't fit.
 706 |         </Text>
 707 |       </VStack>
 708 |     `);
 709 |     const singleLineDriver = await createTextDriver("singleLine");
 710 |     const multiLineDriver = await createTextDriver("multiLine");
 711 | 
 712 |     // Both should have ellipsis behavior
 713 |     await expect(singleLineDriver.component).toHaveCSS("text-overflow", "ellipsis");
 714 |     await expect(multiLineDriver.component).toHaveCSS("text-overflow", "ellipsis");
 715 | 
 716 |     // Single line should use nowrap
 717 |     await expect(singleLineDriver.component).toHaveCSS("white-space", "nowrap");
 718 | 
 719 |     // Multi-line should have line-clamp applied
 720 |     await expect(multiLineDriver.component).toHaveCSS("-webkit-line-clamp", "2");
 721 | 
 722 |     // Verify heights: multi-line should be approximately 2x single line height
 723 |     const { height: heightSingle } = await getBounds(singleLineDriver);
 724 |     const { height: heightMulti } = await getBounds(multiLineDriver);
 725 | 
 726 |     // Multi-line should be taller than single line
 727 |     expect(heightMulti).toBeGreaterThan(heightSingle);
 728 |     // And should be roughly 2x the height (allowing for some tolerance)
 729 |     expect(heightMulti).toBeGreaterThan(heightSingle * 1.5);
 730 |     expect(heightMulti).toBeLessThan(heightSingle * 2.5);
 731 |   });
 732 | });
 733 | 
 734 | // =============================================================================
 735 | // BREAK MODE TESTS
 736 | // =============================================================================
 737 | 
 738 | test.describe("Break Mode", () => {
 739 |   test('breakMode="normal" uses standard word boundaries', async ({
 740 |     initTestBed,
 741 |     createTextDriver,
 742 |   }) => {
 743 |     await initTestBed(`
 744 |       <Text testId="text" width="150px" breakMode="normal">
 745 |         This is a verylongwordthatshouldbreakatwordboundaries normally.
 746 |       </Text>
 747 |     `);
 748 |     const driver = await createTextDriver("text");
 749 | 
 750 |     await expect(driver.component).toHaveCSS("word-break", "normal");
 751 |     await expect(driver.component).toHaveCSS("overflow-wrap", "normal");
 752 |   });
 753 | 
 754 |   test('breakMode="word" breaks long words to prevent overflow', async ({
 755 |     initTestBed,
 756 |     createTextDriver,
 757 |   }) => {
 758 |     await initTestBed(`
 759 |       <Text testId="text" width="150px" breakMode="word">
 760 |         This is a verylongwordthatexceedsthecontainerwidthandshouldbreak.
 761 |       </Text>
 762 |     `);
 763 |     const driver = await createTextDriver("text");
 764 | 
 765 |     await expect(driver.component).toHaveCSS("overflow-wrap", "break-word");
 766 |   });
 767 | 
 768 |   test('breakMode="anywhere" breaks at any character', async ({
 769 |     initTestBed,
 770 |     createTextDriver,
 771 |   }) => {
 772 |     await initTestBed(`
 773 |       <Text testId="text" width="100px" breakMode="anywhere">
 774 |         Verylongwordwithnobreaks
 775 |       </Text>
 776 |     `);
 777 |     const driver = await createTextDriver("text");
 778 | 
 779 |     // Should have word-break: break-all or overflow-wrap: anywhere
 780 |     const wordBreak = await driver.component.evaluate((el) => getComputedStyle(el).wordBreak);
 781 |     const overflowWrap = await driver.component.evaluate((el) => getComputedStyle(el).overflowWrap);
 782 | 
 783 |     expect(wordBreak === "break-all" || overflowWrap === "anywhere").toBe(true);
 784 |   });
 785 | 
 786 |   test('breakMode="keep" prevents breaking within words', async ({
 787 |     initTestBed,
 788 |     createTextDriver,
 789 |   }) => {
 790 |     await initTestBed(`
 791 |       <Text testId="text" width="100px" breakMode="keep">
 792 |         This text should keep words intact
 793 |       </Text>
 794 |     `);
 795 |     const driver = await createTextDriver("text");
 796 | 
 797 |     await expect(driver.component).toHaveCSS("word-break", "keep-all");
 798 |   });
 799 | 
 800 |   test('breakMode="hyphenate" uses automatic hyphenation', async ({
 801 |     initTestBed,
 802 |     createTextDriver,
 803 |   }) => {
 804 |     await initTestBed(`
 805 |       <Text testId="text" width="150px" breakMode="hyphenate" lang="en">
 806 |         This is a supercalifragilisticexpialidocious word that should be hyphenated.
 807 |       </Text>
 808 |     `);
 809 |     const driver = await createTextDriver("text");
 810 | 
 811 |     await expect(driver.component).toHaveCSS("hyphens", "auto");
 812 |     await expect(driver.component).toHaveCSS("overflow-wrap", "break-word");
 813 |   });
 814 | 
 815 |   test("breakMode works with different overflow modes", async ({
 816 |     initTestBed,
 817 |     createTextDriver,
 818 |   }) => {
 819 |     await initTestBed(`
 820 |       <VStack>
 821 |         <Text testId="ellipsisWord" width="150px" overflowMode="ellipsis" breakMode="word" maxLines="1">
 822 |           This superlongwordwithoutbreaks should be handled properly.
 823 |         </Text>
 824 |         <Text testId="scrollAnywhere" width="150px" overflowMode="scroll" breakMode="anywhere">
 825 |           This verylongwordwithoutanybreaks should break anywhere and scroll.
 826 |         </Text>
 827 |       </VStack>
 828 |     `);
 829 |     const ellipsisDriver = await createTextDriver("ellipsisWord");
 830 |     const scrollDriver = await createTextDriver("scrollAnywhere");
 831 | 
 832 |     // Check overflow mode styles
 833 |     await expect(ellipsisDriver.component).toHaveCSS("text-overflow", "ellipsis");
 834 |     await expect(scrollDriver.component).toHaveCSS("overflow-x", "auto");
 835 | 
 836 |     // Check break mode styles
 837 |     await expect(ellipsisDriver.component).toHaveCSS("overflow-wrap", "break-word");
 838 | 
 839 |     const scrollWordBreak = await scrollDriver.component.evaluate(
 840 |       (el) => getComputedStyle(el).wordBreak,
 841 |     );
 842 |     const scrollOverflowWrap = await scrollDriver.component.evaluate(
 843 |       (el) => getComputedStyle(el).overflowWrap,
 844 |     );
 845 |     expect(scrollWordBreak === "break-all" || scrollOverflowWrap === "anywhere").toBe(true);
 846 |   });
 847 | 
 848 |   test("default breakMode allows theme variables to work", async ({
 849 |     initTestBed,
 850 |     createTextDriver,
 851 |   }) => {
 852 |     await initTestBed(`
 853 |       <Text testId="text" width="200px">
 854 |         This text should use the default browser behavior and allow theme variables to override.
 855 |       </Text>
 856 |     `);
 857 |     const driver = await createTextDriver("text");
 858 | 
 859 |     // Should not have any break mode classes when no breakMode is specified
 860 |     const className = await driver.component.getAttribute("class");
 861 |     expect(className).not.toContain("breakWord");
 862 |     expect(className).not.toContain("breakAnywhere");
 863 |     expect(className).not.toContain("breakKeep");
 864 |     expect(className).not.toContain("breakHyphenate");
 865 |   });
 866 | });
 867 | 
 868 | // =============================================================================
 869 | // EDGE CASES TESTS
 870 | // =============================================================================
 871 | 
 872 | test.describe("Edge Cases", () => {
 873 |   [
 874 |     { label: "empty object", value: "'{{}}'", toExpected: {}.toString() },
 875 |     { label: "object", value: "\"{{ a: 1, b: 'hi' }}\"", toExpected: { a: 1, b: "hi" }.toString() },
 876 |     { label: "empty array", value: "'{[]}'", toExpected: "" },
 877 |     { label: "array", value: "'{[1, 2, 3]}'", toExpected: [1, 2, 3].toString() },
 878 |   ].forEach(({ label, value, toExpected }) => {
 879 |     test(`handles ${label} value prop gracefully`, async ({ initTestBed, createTextDriver }) => {
 880 |       await initTestBed(`<Text value=${value} />`);
 881 |       const driver = await createTextDriver();
 882 | 
 883 |       await expect(driver.component).toHaveText(toExpected);
 884 |     });
 885 |   });
 886 | 
 887 |   test("handles extremely long text content", async ({ initTestBed, createTextDriver }) => {
 888 |     const longText = "Very long text content ".repeat(1000);
 889 |     await initTestBed(`<Text value="${longText}" />`);
 890 |     const driver = await createTextDriver();
 891 | 
 892 |     await expect(driver.component).toBeVisible();
 893 |     await expect(driver.component).toContainText("Very long text content");
 894 |   });
 895 | 
 896 |   test("handles special characters and symbols", async ({ initTestBed, createTextDriver }) => {
 897 |     const specialText = "Special chars: !@#$%^&*()[]|\\:;'<>?,./ αβγδε 中文 🚀✨";
 898 |     await initTestBed(`<Text value="${specialText}" />`);
 899 |     const driver = await createTextDriver();
 900 | 
 901 |     await expect(driver.component).toHaveText(specialText);
 902 |   });
 903 | 
 904 |   test("handles mixed content types", async ({ initTestBed, createTextDriver }) => {
 905 |     await initTestBed(`<Text>Mixed content: {123} {"string"} {true}</Text>`);
 906 |     const driver = await createTextDriver();
 907 | 
 908 |     await expect(driver.component).toBeVisible();
 909 |     await expect(driver.component).toContainText("Mixed content:");
 910 |   });
 911 | 
 912 |   test("nested Texts", async ({ initTestBed, page }) => {
 913 |     await initTestBed(`<Text>abc<Text>def</Text>ghi</Text>`);
 914 | 
 915 |     // Check if the page displays the combined text "abcdefghi"
 916 |     await expect(page.locator("body")).toContainText("abcdefghi");
 917 |   });
 918 | });
 919 | 
 920 | // =============================================================================
 921 | // PERFORMANCE TESTS
 922 | // =============================================================================
 923 | 
 924 | test.describe("Performance", () => {
 925 |   test("renders multiple text components efficiently", async ({
 926 |     initTestBed,
 927 |     createTextDriver,
 928 |   }) => {
 929 |     const textElements = Array.from(
 930 |       { length: 100 },
 931 |       (_, i) => `<Text testId="text-${i}">Text content ${i}</Text>`,
 932 |     ).join("");
 933 | 
 934 |     await initTestBed(`<VStack>${textElements}</VStack>`);
 935 | 
 936 |     // Test a few random elements to ensure they render correctly
 937 |     const driver1 = await createTextDriver("text-0");
 938 |     const driver50 = await createTextDriver("text-49");
 939 |     const driver100 = await createTextDriver("text-99");
 940 | 
 941 |     await expect(driver1.component).toHaveText("Text content 0");
 942 |     await expect(driver50.component).toHaveText("Text content 49");
 943 |     await expect(driver100.component).toHaveText("Text content 99");
 944 |   });
 945 | 
 946 |   test("handles rapid text content changes", async ({ initTestBed, createTextDriver }) => {
 947 |     await initTestBed(`<Text value="Initial content" />`);
 948 |     const driver = await createTextDriver();
 949 | 
 950 |     const textValues = ["Content 1", "Content 2", "Content 3", "Content 4", "Content 5"];
 951 | 
 952 |     for (const value of textValues) {
 953 |       await initTestBed(`<Text value="${value}" />`);
 954 |       await expect(driver.component).toHaveText(value);
 955 |     }
 956 |   });
 957 | 
 958 |   test("maintains performance with complex theme variables", async ({
 959 |     initTestBed,
 960 |     createTextDriver,
 961 |   }) => {
 962 |     await initTestBed('<Text value="Performance test" />', {
 963 |       testThemeVars: {
 964 |         "textColor-Text": "rgb(255, 0, 0)",
 965 |         "fontSize-Text": "16px",
 966 |         "fontWeight-Text": "bold",
 967 |         "lineHeight-Text": "1.5",
 968 |         "textShadow-Text": "1px 1px 2px rgba(0,0,0,0.5)",
 969 |       },
 970 |     });
 971 |     const driver = await createTextDriver();
 972 | 
 973 |     await expect(driver.component).toBeVisible();
 974 |     await expect(driver.component).toHaveText("Performance test");
 975 |   });
 976 | });
 977 | 
 978 | // =============================================================================
 979 | // INTEGRATION TESTS
 980 | // =============================================================================
 981 | 
 982 | test.describe("Integration", () => {
 983 |   test("renders implicit text in other components", async ({ initTestBed, createStackDriver }) => {
 984 |     const expected = "test content";
 985 |     await initTestBed(`<Stack>${expected}</Stack>`);
 986 |     const driver = await createStackDriver();
 987 | 
 988 |     await expect(driver.component).toHaveText(expected);
 989 |   });
 990 | 
 991 |   test("maintains inline behavior in HStack layout", async ({
 992 |     initTestBed,
 993 |     createTextDriver,
 994 |     createIconDriver,
 995 |   }) => {
 996 |     await initTestBed(`
 997 |       <HStack>
 998 |         <Text testId="text0" >Show me a trash</Text>
 999 |         <Icon testId="icon0"  name="trash"/>
1000 |         <Text testId="text1" >icon!</Text>
1001 |       </HStack>
1002 |     `);
1003 |     const { top: topText0 } = await getBounds(await createTextDriver("text0"));
1004 |     const { top: topIcon0 } = await getBounds(await createIconDriver("icon0"));
1005 |     const { top: topText1 } = await getBounds(await createTextDriver("text1"));
1006 | 
1007 |     expect(topText0).toEqual(topIcon0);
1008 |     expect(topIcon0).toEqual(topText1);
1009 |   });
1010 | 
1011 |   test("maintains block behavior in VStack layout", async ({
1012 |     initTestBed,
1013 |     createTextDriver,
1014 |     createIconDriver,
1015 |   }) => {
1016 |     await initTestBed(`
1017 |       <VStack>
1018 |         <Text testId="text0" >Show me a trash</Text>
1019 |         <Icon testId="icon0"  name="trash"/>
1020 |         <Text testId="text1" >icon!</Text>
1021 |       </VStack>
1022 |     `);
1023 |     const { top: topText0 } = await getBounds(await createTextDriver("text0"));
1024 |     const { top: topIcon0 } = await getBounds((await createIconDriver("icon0")).svgIcon);
1025 |     const { top: topText1 } = await getBounds(await createTextDriver("text1"));
1026 | 
1027 |     expect(topText0).toBeLessThan(topIcon0);
1028 |     expect(topIcon0).toBeLessThan(topText1);
1029 |   });
1030 | 
1031 |   test("integrates with complex component hierarchies", async ({
1032 |     initTestBed,
1033 |     createTextDriver,
1034 |   }) => {
1035 |     await initTestBed(`
1036 |       <VStack>
1037 |         <HStack>
1038 |           <Text testId="header">Header Text</Text>
1039 |         </HStack>
1040 |         <Text testId="content">Main content text with longer description</Text>
1041 |         <HStack>
1042 |           <Text testId="footer1">Footer</Text>
1043 |           <Text testId="footer2">Text</Text>
1044 |         </HStack>
1045 |       </VStack>
1046 |     `);
1047 | 
1048 |     const headerDriver = await createTextDriver("header");
1049 |     const contentDriver = await createTextDriver("content");
1050 |     const footer1Driver = await createTextDriver("footer1");
1051 |     const footer2Driver = await createTextDriver("footer2");
1052 | 
1053 |     await expect(headerDriver.component).toHaveText("Header Text");
1054 |     await expect(contentDriver.component).toHaveText("Main content text with longer description");
1055 |     await expect(footer1Driver.component).toHaveText("Footer");
1056 |     await expect(footer2Driver.component).toHaveText("Text");
1057 |   });
1058 | 
1059 |   test("works correctly with dynamic content", async ({ initTestBed, createTextDriver }) => {
1060 |     await initTestBed(`<Text value="{123 + 456}" />`);
1061 |     const driver = await createTextDriver();
1062 | 
1063 |     await expect(driver.component).toHaveText("579");
1064 |   });
1065 | });
1066 | 
1067 | // =============================================================================
1068 | // THEME VARIABLE TESTS
1069 | // =============================================================================
1070 | 
1071 | test.describe("Theme Variables", () => {
1072 |   test("textColor theme variable", async ({ initTestBed, createTextDriver }) => {
1073 |     const EXPECTED = "rgb(255, 0, 0)";
1074 |     await initTestBed('<Text value="Hello, World" />', {
1075 |       testThemeVars: {
1076 |         "textColor-Text": EXPECTED,
1077 |       },
1078 |     });
1079 |     const component = (await createTextDriver()).component;
1080 | 
1081 |     await expect(component).toHaveCSS("color", EXPECTED);
1082 |   });
1083 | 
1084 |   test("fontFamily theme variable", async ({ initTestBed, createTextDriver }) => {
1085 |     const EXPECTED = "sans-serif";
1086 |     await initTestBed('<Text value="Hello, World" />', {
1087 |       testThemeVars: {
1088 |         "fontFamily-Text": EXPECTED,
1089 |       },
1090 |     });
1091 |     const component = (await createTextDriver()).component;
1092 | 
1093 |     await expect(component).toHaveCSS("font-family", EXPECTED);
1094 |   });
1095 | 
1096 |   test("fontSize theme variable", async ({ initTestBed, createTextDriver }) => {
1097 |     const EXPECTED = "48px";
1098 |     await initTestBed('<Text value="Hello, World" />', {
1099 |       testThemeVars: {
1100 |         "fontSize-Text": EXPECTED,
1101 |       },
1102 |     });
1103 |     const component = (await createTextDriver()).component;
1104 | 
1105 |     await expect(component).toHaveCSS("font-size", EXPECTED);
1106 |   });
1107 | 
1108 |   test("fontStyle theme variable", async ({ initTestBed, createTextDriver }) => {
1109 |     const EXPECTED = "italic";
1110 |     await initTestBed('<Text value="Hello, World" />', {
1111 |       testThemeVars: {
1112 |         "fontStyle-Text": EXPECTED,
1113 |       },
1114 |     });
1115 |     const component = (await createTextDriver()).component;
1116 | 
1117 |     await expect(component).toHaveCSS("font-style", EXPECTED);
1118 |   });
1119 | 
1120 |   test("fontWeight theme variable", async ({ initTestBed, createTextDriver }) => {
1121 |     const EXPECTED = "900";
1122 |     await initTestBed('<Text value="Hello, World" />', {
1123 |       testThemeVars: {
1124 |         "fontWeight-Text": EXPECTED,
1125 |       },
1126 |     });
1127 |     const component = (await createTextDriver()).component;
1128 | 
1129 |     await expect(component).toHaveCSS("font-weight", EXPECTED);
1130 |   });
1131 | 
1132 |   test("fontStretch theme variable", async ({ initTestBed, createTextDriver }) => {
1133 |     const EXPECTED = "125%";
1134 |     await initTestBed('<Text value="Hello, World" />', {
1135 |       testThemeVars: {
1136 |         "fontStretch-Text": EXPECTED,
1137 |       },
1138 |     });
1139 |     const component = (await createTextDriver()).component;
1140 | 
1141 |     await expect(component).toHaveCSS("font-stretch", EXPECTED);
1142 |   });
1143 | 
1144 |   test("textDecorationLine theme variable", async ({ initTestBed, createTextDriver }) => {
1145 |     const EXPECTED = "underline";
1146 |     await initTestBed('<Text value="Hello, World" />', {
1147 |       testThemeVars: {
1148 |         "textDecorationLine-Text": EXPECTED,
1149 |       },
1150 |     });
1151 |     const component = (await createTextDriver()).component;
1152 | 
1153 |     await expect(component).toHaveCSS("text-decoration-line", EXPECTED);
1154 |   });
1155 | 
1156 |   test("textDecorationColor theme variable", async ({ initTestBed, createTextDriver }) => {
1157 |     const EXPECTED = "rgb(255, 0, 0)";
1158 |     await initTestBed('<Text value="Hello, World" />', {
1159 |       testThemeVars: {
1160 |         "textDecorationColor-Text": EXPECTED,
1161 |       },
1162 |     });
1163 |     const component = (await createTextDriver()).component;
1164 | 
1165 |     await expect(component).toHaveCSS("text-decoration-color", EXPECTED);
1166 |   });
1167 | 
1168 |   test("textDecorationStyle theme variable", async ({ initTestBed, createTextDriver }) => {
1169 |     const EXPECTED = "dotted";
1170 |     await initTestBed('<Text value="Hello, World" />', {
1171 |       testThemeVars: {
1172 |         "textDecorationStyle-Text": EXPECTED,
1173 |       },
1174 |     });
1175 |     const component = (await createTextDriver()).component;
1176 | 
1177 |     await expect(component).toHaveCSS("text-decoration-style", EXPECTED);
1178 |   });
1179 | 
1180 |   test("textDecorationThickness theme variable", async ({ initTestBed, createTextDriver }) => {
1181 |     const EXPECTED = "12px";
1182 |     await initTestBed('<Text value="Hello, World" />', {
1183 |       testThemeVars: {
1184 |         "textDecorationThickness-Text": EXPECTED,
1185 |       },
1186 |     });
1187 |     const component = (await createTextDriver()).component;
1188 | 
1189 |     await expect(component).toHaveCSS("text-decoration-thickness", EXPECTED);
1190 |   });
1191 | 
1192 |   test("textUnderlineOffset theme variable", async ({ initTestBed, createTextDriver }) => {
1193 |     const EXPECTED = "12px";
1194 |     await initTestBed('<Text value="Hello, World" />', {
1195 |       testThemeVars: {
1196 |         "textUnderlineOffset-Text": EXPECTED,
1197 |       },
1198 |     });
1199 |     const component = (await createTextDriver()).component;
1200 | 
1201 |     await expect(component).toHaveCSS("text-underline-offset", EXPECTED);
1202 |   });
1203 | 
1204 |   test("lineHeight theme variable", async ({ initTestBed, createTextDriver }) => {
1205 |     const EXPECTED = "24px";
1206 |     await initTestBed('<Text value="Hello, World" />', {
1207 |       testThemeVars: {
1208 |         "lineHeight-Text": EXPECTED,
1209 |       },
1210 |     });
1211 |     const component = (await createTextDriver()).component;
1212 | 
1213 |     await expect(component).toHaveCSS("line-height", EXPECTED);
1214 |   });
1215 | 
1216 |   test("backgroundColor theme variable", async ({ initTestBed, createTextDriver }) => {
1217 |     const EXPECTED = "rgb(255, 0, 0)";
1218 |     await initTestBed('<Text value="Hello, World" />', {
1219 |       testThemeVars: {
1220 |         "backgroundColor-Text": EXPECTED,
1221 |       },
1222 |     });
1223 |     const component = (await createTextDriver()).component;
1224 | 
1225 |     await expect(component).toHaveCSS("background-color", EXPECTED);
1226 |   });
1227 | 
1228 |   test("textTransform theme variable", async ({ initTestBed, createTextDriver }) => {
1229 |     const EXPECTED = "uppercase";
1230 |     await initTestBed('<Text value="Hello, World" />', {
1231 |       testThemeVars: {
1232 |         "textTransform-Text": EXPECTED,
1233 |       },
1234 |     });
1235 |     const component = (await createTextDriver()).component;
1236 |     await expect(component).toHaveCSS("text-transform", EXPECTED);
1237 |   });
1238 | 
1239 |   test("letterSpacing theme variable", async ({ initTestBed, createTextDriver }) => {
1240 |     const EXPECTED = "12px";
1241 |     await initTestBed('<Text value="Hello, World" />', {
1242 |       testThemeVars: {
1243 |         "letterSpacing-Text": EXPECTED,
1244 |       },
1245 |     });
1246 |     const component = (await createTextDriver()).component;
1247 |     await expect(component).toHaveCSS("letter-spacing", EXPECTED);
1248 |   });
1249 | 
1250 |   test("wordSpacing theme variable", async ({ initTestBed, createTextDriver }) => {
1251 |     const EXPECTED = "12px";
1252 |     await initTestBed('<Text value="Hello, World" />', {
1253 |       testThemeVars: {
1254 |         "wordSpacing-Text": EXPECTED,
1255 |       },
1256 |     });
1257 |     const component = (await createTextDriver()).component;
1258 |     await expect(component).toHaveCSS("word-spacing", EXPECTED);
1259 |   });
1260 | 
1261 |   test("textShadow theme variable", async ({ initTestBed, createTextDriver }) => {
1262 |     const EXPECTED = "rgba(0, 0, 0, 0.5) 2px 2px 2px";
1263 |     await initTestBed('<Text value="Hello, World" />', {
1264 |       testThemeVars: {
1265 |         "textShadow-Text": EXPECTED,
1266 |       },
1267 |     });
1268 |     const component = (await createTextDriver()).component;
1269 |     await expect(component).toHaveCSS("text-shadow", EXPECTED);
1270 |   });
1271 | 
1272 |   test("textIndent theme variable", async ({ initTestBed, createTextDriver }) => {
1273 |     const EXPECTED = "12px";
1274 |     await initTestBed('<Text value="Hello, World" />', {
1275 |       testThemeVars: {
1276 |         "textIndent-Text": EXPECTED,
1277 |       },
1278 |     });
1279 |     const component = (await createTextDriver()).component;
1280 |     await expect(component).toHaveCSS("text-indent", EXPECTED);
1281 |   });
1282 | 
1283 |   test("textAlign theme variable", async ({ initTestBed, createTextDriver }) => {
1284 |     const EXPECTED = "center";
1285 |     await initTestBed('<Text value="Hello, World" />', {
1286 |       testThemeVars: {
1287 |         "textAlign-Text": EXPECTED,
1288 |       },
1289 |     });
1290 |     const component = (await createTextDriver()).component;
1291 |     await expect(component).toHaveCSS("text-align", EXPECTED);
1292 |   });
1293 | 
1294 |   test("textAlignLast theme variable", async ({ initTestBed, createTextDriver }) => {
1295 |     const EXPECTED = "center";
1296 |     await initTestBed('<Text value="Hello, World" />', {
1297 |       testThemeVars: {
1298 |         "textAlignLast-Text": EXPECTED,
1299 |       },
1300 |     });
1301 |     const component = (await createTextDriver()).component;
1302 |     await expect(component).toHaveCSS("text-align-last", EXPECTED);
1303 |   });
1304 | 
1305 |   test("wordBreak theme variable", async ({ initTestBed, createTextDriver }) => {
1306 |     const EXPECTED = "normal";
1307 |     await initTestBed('<Text value="Hello, World" />', {
1308 |       testThemeVars: {
1309 |         "wordBreak-Text": EXPECTED,
1310 |       },
1311 |     });
1312 |     const component = (await createTextDriver()).component;
1313 |     await expect(component).toHaveCSS("word-break", EXPECTED);
1314 |   });
1315 | 
1316 |   test("direction theme variable", async ({ initTestBed, createTextDriver }) => {
1317 |     const EXPECTED = "rtl";
1318 |     await initTestBed('<Text value="Hello, World" />', {
1319 |       testThemeVars: {
1320 |         "direction-Text": EXPECTED,
1321 |       },
1322 |     });
1323 |     const component = (await createTextDriver()).component;
1324 |     await expect(component).toHaveCSS("direction", EXPECTED);
1325 |   });
1326 | 
1327 |   test("writingMode theme variable", async ({ initTestBed, createTextDriver }) => {
1328 |     const EXPECTED = "vertical-rl";
1329 |     await initTestBed('<Text value="Hello, World" />', {
1330 |       testThemeVars: {
1331 |         "writingMode-Text": EXPECTED,
1332 |       },
1333 |     });
1334 |     const component = (await createTextDriver()).component;
1335 |     await expect(component).toHaveCSS("writing-mode", EXPECTED);
1336 |   });
1337 | 
1338 |   test("lineBreak theme variable", async ({ initTestBed, createTextDriver }) => {
1339 |     const EXPECTED = "normal";
1340 |     await initTestBed('<Text value="Hello, World" />', {
1341 |       testThemeVars: {
1342 |         "lineBreak-Text": EXPECTED,
1343 |       },
1344 |     });
1345 |     const component = (await createTextDriver()).component;
1346 |     await expect(component).toHaveCSS("line-break", EXPECTED);
1347 |   });
1348 | });
1349 | 
1350 | // =============================================================================
1351 | // CUSTOM VARIANT TESTS
1352 | // =============================================================================
1353 | 
1354 | test.describe("Custom Variants", () => {
1355 |   test("custom variant textColor theme variable", async ({ initTestBed, page }) => {
1356 |     const EXPECTED = "rgb(255, 0, 0)";
1357 |     await initTestBed(`
1358 |       <App>
1359 |         <Theme textColor-Text-customRed="${EXPECTED}">
1360 |           <Text variant="customRed" testId="text">Hello Custom!</Text>
1361 |         </Theme>
1362 |       </App>
1363 |     `);
1364 | 
1365 |     await expect(page.getByTestId("text")).toHaveCSS("color", EXPECTED);
1366 |   });
1367 | 
1368 |   test("custom variant fontFamily theme variable", async ({ initTestBed, page }) => {
1369 |     const EXPECTED = "monospace";
1370 |     await initTestBed(`
1371 |       <App>
1372 |         <Theme fontFamily-Text-customMono="${EXPECTED}">
1373 |           <Text variant="customMono" testId="text">Hello Custom!</Text>
1374 |         </Theme>
1375 |       </App>
1376 |     `);
1377 | 
1378 |     await expect(page.getByTestId("text")).toHaveCSS("font-family", EXPECTED);
1379 |   });
1380 | 
1381 |   test("custom variant fontSize theme variable", async ({ initTestBed, page }) => {
1382 |     const EXPECTED = "24px";
1383 |     await initTestBed(`
1384 |       <App>
1385 |         <Theme fontSize-Text-customLarge="${EXPECTED}">
1386 |           <Text variant="customLarge" testId="text">Hello Custom!</Text>
1387 |         </Theme>
1388 |       </App>
1389 |     `);
1390 | 
1391 |     await expect(page.getByTestId("text")).toHaveCSS("font-size", EXPECTED);
1392 |   });
1393 | 
1394 |   test("custom variant fontStyle theme variable", async ({ initTestBed, page }) => {
1395 |     const EXPECTED = "italic";
1396 |     await initTestBed(`
1397 |       <App>
1398 |         <Theme fontStyle-Text-customItalic="${EXPECTED}">
1399 |           <Text variant="customItalic" testId="text">Hello Custom!</Text>
1400 |         </Theme>
1401 |       </App>
1402 |     `);
1403 | 
1404 |     await expect(page.getByTestId("text")).toHaveCSS("font-style", EXPECTED);
1405 |   });
1406 | 
1407 |   test("custom variant fontWeight theme variable", async ({ initTestBed, page }) => {
1408 |     const EXPECTED = "700";
1409 |     await initTestBed(`
1410 |       <App>
1411 |         <Theme fontWeight-Text-customBold="bold">
1412 |           <Text variant="customBold" testId="text">Hello Custom!</Text>
1413 |         </Theme>
1414 |       </App>
1415 |     `);
1416 | 
1417 |     await expect(page.getByTestId("text")).toHaveCSS("font-weight", EXPECTED);
1418 |   });
1419 | 
1420 |   test("custom variant fontStretch theme variable", async ({ initTestBed, page }) => {
1421 |     const EXPECTED = "125%";
1422 |     await initTestBed(`
1423 |       <App>
1424 |         <Theme fontStretch-Text-customExpanded="expanded">
1425 |           <Text variant="customExpanded" testId="text">Hello Custom!</Text>
1426 |         </Theme>
1427 |       </App>
1428 |     `);
1429 | 
1430 |     await expect(page.getByTestId("text")).toHaveCSS("font-stretch", EXPECTED);
1431 |   });
1432 | 
1433 |   test("custom variant textDecorationLine theme variable", async ({ initTestBed, page }) => {
1434 |     const EXPECTED = "underline";
1435 |     await initTestBed(`
1436 |       <App>
1437 |         <Theme textDecorationLine-Text-customUnderline="${EXPECTED}">
1438 |           <Text variant="customUnderline" testId="text">Hello Custom!</Text>
1439 |         </Theme>
1440 |       </App>
1441 |     `);
1442 | 
1443 |     await expect(page.getByTestId("text")).toHaveCSS("text-decoration-line", EXPECTED);
1444 |   });
1445 | 
1446 |   test("custom variant textDecorationColor theme variable", async ({ initTestBed, page }) => {
1447 |     const EXPECTED = "rgb(255, 0, 0)";
1448 |     await initTestBed(`
1449 |       <App>
1450 |         <Theme 
1451 |           textDecorationLine-Text-customDeco="underline"
1452 |           textDecorationColor-Text-customDeco="${EXPECTED}"
1453 |         >
1454 |           <Text variant="customDeco" testId="text">Hello Custom!</Text>
1455 |         </Theme>
1456 |       </App>
1457 |     `);
1458 | 
1459 |     await expect(page.getByTestId("text")).toHaveCSS("text-decoration-color", EXPECTED);
1460 |   });
1461 | 
1462 |   test("custom variant textDecorationStyle theme variable", async ({ initTestBed, page }) => {
1463 |     const EXPECTED = "wavy";
1464 |     await initTestBed(`
1465 |       <App>
1466 |         <Theme 
1467 |           textDecorationLine-Text-customWavy="underline"
1468 |           textDecorationStyle-Text-customWavy="${EXPECTED}"
1469 |         >
1470 |           <Text variant="customWavy" testId="text">Hello Custom!</Text>
1471 |         </Theme>
1472 |       </App>
1473 |     `);
1474 | 
1475 |     await expect(page.getByTestId("text")).toHaveCSS("text-decoration-style", EXPECTED);
1476 |   });
1477 | 
1478 |   test("custom variant textDecorationThickness theme variable", async ({ initTestBed, page }) => {
1479 |     const EXPECTED = "3px";
1480 |     await initTestBed(`
1481 |       <App>
1482 |         <Theme 
1483 |           textDecorationLine-Text-customThick="underline"
1484 |           textDecorationThickness-Text-customThick="${EXPECTED}"
1485 |         >
1486 |           <Text variant="customThick" testId="text">Hello Custom!</Text>
1487 |         </Theme>
1488 |       </App>
1489 |     `);
1490 | 
1491 |     await expect(page.getByTestId("text")).toHaveCSS("text-decoration-thickness", EXPECTED);
1492 |   });
1493 | 
1494 |   test("custom variant textUnderlineOffset theme variable", async ({ initTestBed, page }) => {
1495 |     const EXPECTED = "5px";
1496 |     await initTestBed(`
1497 |       <App>
1498 |         <Theme 
1499 |           textDecorationLine-Text-customOffset="underline"
1500 |           textUnderlineOffset-Text-customOffset="${EXPECTED}"
1501 |         >
1502 |           <Text variant="customOffset" testId="text">Hello Custom!</Text>
1503 |         </Theme>
1504 |       </App>
1505 |     `);
1506 | 
1507 |     await expect(page.getByTestId("text")).toHaveCSS("text-underline-offset", EXPECTED);
1508 |   });
1509 | 
1510 |   test("custom variant lineHeight theme variable", async ({ initTestBed, page }) => {
1511 |     const EXPECTED = "32px";
1512 |     await initTestBed(`
1513 |       <App>
1514 |         <Theme lineHeight-Text-customLineHeight="${EXPECTED}">
1515 |           <Text variant="customLineHeight" testId="text">Hello Custom!</Text>
1516 |         </Theme>
1517 |       </App>
1518 |     `);
1519 | 
1520 |     await expect(page.getByTestId("text")).toHaveCSS("line-height", EXPECTED);
1521 |   });
1522 | 
1523 |   test("custom variant backgroundColor theme variable", async ({ initTestBed, page }) => {
1524 |     const EXPECTED = "rgb(255, 255, 0)";
1525 |     await initTestBed(`
1526 |       <App>
1527 |         <Theme backgroundColor-Text-customBg="${EXPECTED}">
1528 |           <Text variant="customBg" testId="text">Hello Custom!</Text>
1529 |         </Theme>
1530 |       </App>
1531 |     `);
1532 | 
1533 |     await expect(page.getByTestId("text")).toHaveCSS("background-color", EXPECTED);
1534 |   });
1535 | 
1536 |   test("custom variant textTransform theme variable", async ({ initTestBed, page }) => {
1537 |     const EXPECTED = "uppercase";
1538 |     await initTestBed(`
1539 |       <App>
1540 |         <Theme textTransform-Text-customUpper="${EXPECTED}">
1541 |           <Text variant="customUpper" testId="text">Hello Custom!</Text>
1542 |         </Theme>
1543 |       </App>
1544 |     `);
1545 | 
1546 |     await expect(page.getByTestId("text")).toHaveCSS("text-transform", EXPECTED);
1547 |   });
1548 | 
1549 |   test("custom variant letterSpacing theme variable", async ({ initTestBed, page }) => {
1550 |     const EXPECTED = "5px";
1551 |     await initTestBed(`
1552 |       <App>
1553 |         <Theme letterSpacing-Text-customSpaced="${EXPECTED}">
1554 |           <Text variant="customSpaced" testId="text">Hello Custom!</Text>
1555 |         </Theme>
1556 |       </App>
1557 |     `);
1558 | 
1559 |     await expect(page.getByTestId("text")).toHaveCSS("letter-spacing", EXPECTED);
1560 |   });
1561 | 
1562 |   test("custom variant wordSpacing theme variable", async ({ initTestBed, page }) => {
1563 |     const EXPECTED = "10px";
1564 |     await initTestBed(`
1565 |       <App>
1566 |         <Theme wordSpacing-Text-customWordSpace="${EXPECTED}">
1567 |           <Text variant="customWordSpace" testId="text">Hello Custom!</Text>
1568 |         </Theme>
1569 |       </App>
1570 |     `);
1571 | 
1572 |     await expect(page.getByTestId("text")).toHaveCSS("word-spacing", EXPECTED);
1573 |   });
1574 | 
1575 |   test("custom variant textShadow theme variable", async ({ initTestBed, page }) => {
1576 |     const EXPECTED = "rgb(255, 0, 0) 2px 2px 4px";
1577 |     await initTestBed(`
1578 |       <App>
1579 |         <Theme textShadow-Text-customShadow="${EXPECTED}">
1580 |           <Text variant="customShadow" testId="text">Hello Custom!</Text>
1581 |         </Theme>
1582 |       </App>
1583 |     `);
1584 | 
1585 |     await expect(page.getByTestId("text")).toHaveCSS("text-shadow", EXPECTED);
1586 |   });
1587 | 
1588 |   test("custom variant textIndent theme variable", async ({ initTestBed, page }) => {
1589 |     const EXPECTED = "20px";
1590 |     await initTestBed(`
1591 |       <App>
1592 |         <Theme textIndent-Text-customIndent="${EXPECTED}">
1593 |           <Text variant="customIndent" testId="text">Hello Custom!</Text>
1594 |         </Theme>
1595 |       </App>
1596 |     `);
1597 | 
1598 |     await expect(page.getByTestId("text")).toHaveCSS("text-indent", EXPECTED);
1599 |   });
1600 | 
1601 |   test("custom variant textAlign theme variable", async ({ initTestBed, page }) => {
1602 |     const EXPECTED = "center";
1603 |     await initTestBed(`
1604 |       <App>
1605 |         <Theme textAlign-Text-customCenter="${EXPECTED}">
1606 |           <Text variant="customCenter" testId="text">Hello Custom!</Text>
1607 |         </Theme>
1608 |       </App>
1609 |     `);
1610 | 
1611 |     await expect(page.getByTestId("text")).toHaveCSS("text-align", EXPECTED);
1612 |   });
1613 | 
1614 |   test("custom variant textAlignLast theme variable", async ({ initTestBed, page }) => {
1615 |     const EXPECTED = "right";
1616 |     await initTestBed(`
1617 |       <App>
1618 |         <Theme textAlignLast-Text-customAlignLast="${EXPECTED}">
1619 |           <Text variant="customAlignLast" testId="text">Hello Custom!</Text>
1620 |         </Theme>
1621 |       </App>
1622 |     `);
1623 | 
1624 |     await expect(page.getByTestId("text")).toHaveCSS("text-align-last", EXPECTED);
1625 |   });
1626 | 
1627 |   test("custom variant wordBreak theme variable", async ({ initTestBed, page }) => {
1628 |     const EXPECTED = "break-all";
1629 |     await initTestBed(`
1630 |       <App>
1631 |         <Theme wordBreak-Text-customBreak="${EXPECTED}">
1632 |           <Text variant="customBreak" breakMode="'{undefined}'" testId="text">Hello Custom!</Text>
1633 |         </Theme>
1634 |       </App>
1635 |     `);
1636 | 
1637 |     await expect(page.getByTestId("text")).toHaveCSS("word-break", EXPECTED);
1638 |   });
1639 | 
1640 |   test("custom variant wordWrap theme variable", async ({ initTestBed, page }) => {
1641 |     const EXPECTED = "break-word";
1642 |     await initTestBed(`
1643 |       <App>
1644 |         <Theme wordWrap-Text-customWrap="${EXPECTED}">
1645 |           <Text variant="customWrap" breakMode="'{undefined}'" testId="text">Hello Custom!</Text>
1646 |         </Theme>
1647 |       </App>
1648 |     `);
1649 | 
1650 |     await expect(page.getByTestId("text")).toHaveCSS("word-wrap", EXPECTED);
1651 |   });
1652 | 
1653 |   test("custom variant direction theme variable", async ({ initTestBed, page }) => {
1654 |     const EXPECTED = "rtl";
1655 |     await initTestBed(`
1656 |       <App>
1657 |         <Theme direction-Text-customRtl="${EXPECTED}">
1658 |           <Text variant="customRtl" testId="text">Hello Custom!</Text>
1659 |         </Theme>
1660 |       </App>
1661 |     `);
1662 | 
1663 |     await expect(page.getByTestId("text")).toHaveCSS("direction", EXPECTED);
1664 |   });
1665 | 
1666 |   test("custom variant writingMode theme variable", async ({ initTestBed, page }) => {
1667 |     const EXPECTED = "vertical-rl";
1668 |     await initTestBed(`
1669 |       <App>
1670 |         <Theme writingMode-Text-customVertical="${EXPECTED}">
1671 |           <Text variant="customVertical" testId="text">Hello Custom!</Text>
1672 |         </Theme>
1673 |       </App>
1674 |     `);
1675 | 
1676 |     await expect(page.getByTestId("text")).toHaveCSS("writing-mode", EXPECTED);
1677 |   });
1678 | 
1679 |   test("custom variant lineBreak theme variable", async ({ initTestBed, page }) => {
1680 |     const EXPECTED = "strict";
1681 |     await initTestBed(`
1682 |       <App>
1683 |         <Theme lineBreak-Text-customLineBreak="${EXPECTED}">
1684 |           <Text variant="customLineBreak" testId="text">Hello Custom!</Text>
1685 |         </Theme>
1686 |       </App>
1687 |     `);
1688 | 
1689 |     await expect(page.getByTestId("text")).toHaveCSS("line-break", EXPECTED);
1690 |   });
1691 | 
1692 |   test("custom variant with multiple theme variables", async ({ initTestBed, page }) => {
1693 |     await initTestBed(`
1694 |       <App>
1695 |         <Theme 
1696 |           textColor-Text-pinkElephant="rgb(255, 192, 203)" 
1697 |           fontWeight-Text-pinkElephant="bold"
1698 |           textColor-Text-greenDog="rgb(0, 128, 0)" 
1699 |           fontStyle-Text-greenDog="italic"
1700 |         >
1701 |           <Text variant="pinkElephant" testId="pink">
1702 |             Hello Pink Elephant!
1703 |           </Text>
1704 |           <Text variant="greenDog" testId="green">
1705 |             Hello Green Dog!
1706 |           </Text>
1707 |         </Theme>
1708 |       </App>
1709 |     `);
1710 | 
1711 |     const pinkText = page.getByTestId("pink");
1712 |     const greenText = page.getByTestId("green");
1713 | 
1714 |     await expect(pinkText).toHaveCSS("color", "rgb(255, 192, 203)");
1715 |     await expect(pinkText).toHaveCSS("font-weight", "700");
1716 |     await expect(greenText).toHaveCSS("color", "rgb(0, 128, 0)");
1717 |     await expect(greenText).toHaveCSS("font-style", "italic");
1718 |   });
1719 | });
1720 | 
1721 | // =============================================================================
1722 | // SMOKE TESTS (kept for compatibility)
1723 | // =============================================================================
1724 | 
1725 | test.describe("smoke tests", { tag: "@smoke" }, () => {
1726 |   test("basic smoke test", async ({ initTestBed, createTextDriver }) => {
1727 |     await initTestBed(`<Text value="Smoke test" />`);
1728 |     const driver = await createTextDriver();
1729 | 
1730 |     await expect(driver.component).toBeVisible();
1731 |     await expect(driver.component).toHaveText("Smoke test");
1732 |   });
1733 | });
1734 | 
```
Page 167/181FirstPrevNextLast