#
tokens: 48064/50000 9/1634 files (page 41/187)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 41 of 187. Use http://codebase.md/xmlui-org/xmlui/xmlui/mockApiDef.js?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── config.json
│   └── itchy-cases-deny.md
├── .eslintrc.cjs
├── .github
│   ├── build-checklist.png
│   ├── ISSUE_TEMPLATE
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── workflows
│       ├── deploy-blog-optimized.yml
│       ├── deploy-blog-swa.yml
│       ├── deploy-blog.yml
│       ├── deploy-docs-optimized.yml
│       ├── deploy-docs-swa.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
│   │   │   │   ├── an-advanced-codefence.gif
│   │   │   │   ├── an-advanced-codefence.mp4
│   │   │   │   ├── blog-page-component.png
│   │   │   │   ├── blog-scrabble.png
│   │   │   │   ├── codefence-runner.png
│   │   │   │   ├── integrated-blog-search.png
│   │   │   │   ├── lorem-ipsum.png
│   │   │   │   ├── playground-checkbox-source.png
│   │   │   │   ├── playground.png
│   │   │   │   ├── use-xmlui-mcp-to-find-a-howto.png
│   │   │   │   └── xmlui-demo-gallery.png
│   │   │   ├── introducing-xmlui.md
│   │   │   ├── lorem-ipsum.md
│   │   │   ├── newest-post.md
│   │   │   ├── older-post.md
│   │   │   ├── xmlui-playground.md
│   │   │   └── xmlui-powered-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
│   │   │   ├── rss.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   ├── staticwebapp.config.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
│   │       └── blog-theme.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
│   │           ├── FancyButton.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
│   │   │   │   ├── control-cache-invalidation.md
│   │   │   │   ├── debounce-user-input-for-api-calls.md
│   │   │   │   ├── debounce-with-changelistener.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
│   │   │   │   ├── make-navpanel-width-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
│   ├── tsconfig.json
│   ├── 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
│   ├── 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
│   │   └── 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
│   ├── 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
│   ├── 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
│   ├── 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
│   ├── 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
│   ├── xmlui-spreadsheet
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── Spreadsheet.tsx
│   │       └── SpreadsheetNative.tsx
│   └── 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.spec.ts
│           │   ├── HeroSection.tsx
│           │   └── HeroSectionNative.tsx
│           ├── index.tsx
│           ├── ScrollToTop
│           │   ├── ScrollToTop.module.scss
│           │   ├── ScrollToTop.tsx
│           │   └── ScrollToTopNative.tsx
│           └── vite-env.d.ts
├── playwright.config.ts
├── 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.cjs
    │   ├── 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
    │   ├── component-behaviors.md
    │   ├── component-metadata.md
    │   ├── components-with-options.md
    │   ├── containers.md
    │   ├── data-operations.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
    │   ├── theme-variables-refactoring.md
    │   ├── ud-components.md
    │   └── xmlui-repo.md
    ├── package.json
    ├── scripts
    │   ├── coverage-only.js
    │   ├── e2e-test-summary.js
    │   ├── extract-component-metadata.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
    │   ├── generate-metadata-markdown.js
    │   ├── get-langserver-metadata.js
    │   ├── 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.module.scss
    │   │   │   │   ├── LabelList.spec.ts
    │   │   │   │   ├── LabelList.tsx
    │   │   │   │   └── 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
    │   │   │   ├── OptionContext.ts
    │   │   │   ├── Select.md
    │   │   │   ├── Select.module.scss
    │   │   │   ├── Select.spec.ts
    │   │   │   ├── Select.tsx
    │   │   │   ├── SelectContext.tsx
    │   │   │   └── SelectNative.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
    │   │   │   └── 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
    │   │   │   ├── base64-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.js
    │   ├── 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
    │   │   │   ├── index.ts
    │   │   │   ├── ModalDialogDriver.ts
    │   │   │   ├── NumberBoxDriver.ts
    │   │   │   ├── TextBoxDriver.ts
    │   │   │   ├── TimeInputDriver.ts
    │   │   │   ├── TimerDriver.ts
    │   │   │   └── TreeDriver.ts
    │   │   ├── fixtures.ts
    │   │   ├── index.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.json
    ├── tsdown.config.ts
    ├── vite.config.ts
    └── vitest.config.ts
```

# Files

--------------------------------------------------------------------------------
/xmlui/src/components/NavLink/NavLink.module.scss:
--------------------------------------------------------------------------------

```scss
  1 | @use "../../components-core/theming/themes" as t;
  2 | 
  3 | // --- This code snippet is required to collect the theme variables used in this module
  4 | $themeVars: ();
  5 | @function createThemeVar($componentVariable) {
  6 |   $themeVars: t.appendThemeVar($themeVars, $componentVariable) !global;
  7 |   @return t.getThemeVar($themeVars, $componentVariable);
  8 | }
  9 | 
 10 | $component: "NavLink";
 11 | $themeVars: t.composePaddingVars($themeVars, $component);
 12 | $themeVars: t.composeBorderVars($themeVars, $component);
 13 | $backgroundColor-NavLink: createThemeVar("backgroundColor-#{$component}");
 14 | $backgroundColor-NavLink--hover: createThemeVar("backgroundColor-#{$component}--hover");
 15 | $backgroundColor-NavLink--hover--active: createThemeVar("backgroundColor-#{$component}--hover--active");
 16 | $backgroundColor-NavLink--active: createThemeVar("backgroundColor-#{$component}--active");
 17 | $backgroundColor-NavLink--pressed: createThemeVar("backgroundColor-#{$component}--pressed");
 18 | $backgroundColor-NavLink--pressed--active: createThemeVar("backgroundColor-#{$component}--pressed--active");
 19 | $fontSize-NavLink: createThemeVar("fontSize-#{$component}");
 20 | $wordWrap-NavLink: createThemeVar("wordWrap-#{$component}");
 21 | $textColor-NavLink: createThemeVar("textColor-#{$component}");
 22 | $textColor-NavLink--hover: createThemeVar("textColor-#{$component}--hover");
 23 | $textColor-NavLink--active: createThemeVar("textColor-#{$component}--active");
 24 | $textColor-NavLink--hover--active: createThemeVar("textColor-#{$component}--hover--active");
 25 | $textColor-NavLink--pressed: createThemeVar("textColor-#{$component}--pressed");
 26 | $textColor-NavLink--pressed--active: createThemeVar("textColor-#{$component}--pressed--active");
 27 | $color-icon-NavLink: createThemeVar("color-icon-#{$component}");
 28 | $fontFamily-NavLink: createThemeVar("fontFamily-#{$component}");
 29 | $fontWeight-NavLink: createThemeVar("fontWeight-#{$component}");
 30 | $fontWeight-NavLink--pressed: createThemeVar("fontWeight-#{$component}--pressed");
 31 | $fontWeight-NavLink--active: createThemeVar("fontWeight-#{$component}--active");
 32 | $borderRadius-indicator-NavLink: createThemeVar("borderRadius-indicator-#{$component}");
 33 | $thickness-indicator-NavLink: createThemeVar("thickness-indicator-#{$component}");
 34 | $color-indicator-NavLink: createThemeVar("color-indicator-#{$component}");
 35 | $color-indicator-NavLink--hover: createThemeVar("color-indicator-#{$component}--hover");
 36 | $color-indicator-NavLink--active: createThemeVar("color-indicator-#{$component}--active");
 37 | $color-indicator-NavLink--pressed: createThemeVar("color-indicator-#{$component}--pressed");
 38 | 
 39 | // Variables for @layer section
 40 | $outlineWidth-NavLink--focus: createThemeVar('outlineWidth-#{$component}--focus');
 41 | $outlineColor-NavLink--focus: createThemeVar('outlineColor-#{$component}--focus');
 42 | $outlineStyle-NavLink--focus: createThemeVar('outlineStyle-#{$component}--focus');
 43 | $outlineOffset-NavLink--focus: createThemeVar('outlineOffset-#{$component}--focus');
 44 | 
 45 | $transition: color 0.1s, background-color 0.1s;
 46 | 
 47 | @layer components {
 48 |   .content {
 49 |     --nav-link-level: 0;
 50 |     &.base {
 51 |       &::before{
 52 |         content: "";
 53 |         width: calc(var(--nav-link-level) * 1em);
 54 |         display: block;
 55 |         flex-shrink: 0;
 56 |       }
 57 |       @include t.borderVars($themeVars, $component);
 58 |       @include t.paddingVars($themeVars, $component);
 59 |       outline: inherit;
 60 |       text-decoration: none;
 61 |       cursor: pointer;
 62 |       display: flex;
 63 |       align-items: center;
 64 |       font-size: $fontSize-NavLink;
 65 |       font-weight: $fontWeight-NavLink;
 66 |       font-family: $fontFamily-NavLink;
 67 |       word-wrap: $wordWrap-NavLink;
 68 |       position: relative;
 69 |       transition: $transition;
 70 |       color: $textColor-NavLink;
 71 |       background-color: $backgroundColor-NavLink;
 72 |       flex-shrink: 0;
 73 |       white-space: nowrap;
 74 | 
 75 |       .icon {
 76 |         color: $color-icon-NavLink;
 77 |       }
 78 | 
 79 |       * {
 80 |         color: $textColor-NavLink;
 81 |       }
 82 | 
 83 |       &.includeHoverIndicator {
 84 |         &:after {
 85 |           transition: $transition;
 86 |           position: absolute;
 87 |           left: 0.1em;
 88 |           right: 0.1em;
 89 |           bottom: 0;
 90 |           height: $thickness-indicator-NavLink;
 91 |           border-radius: $borderRadius-indicator-NavLink;
 92 |           content: "";
 93 |         }
 94 |       }
 95 | 
 96 |       &:hover,
 97 |       &:focus-visible {
 98 |         color: $textColor-NavLink--hover;
 99 |         background-color: $backgroundColor-NavLink--hover;
100 |         * {
101 |           color: $textColor-NavLink--hover;
102 |         }
103 |         &:after {
104 |           background-color: $color-indicator-NavLink--hover;
105 |         }
106 |       }
107 | 
108 | 
109 |       &:focus-visible{
110 |         outline-width: $outlineWidth-NavLink--focus;
111 |         outline-color: $outlineColor-NavLink--focus;
112 |         outline-style: $outlineStyle-NavLink--focus;
113 |         outline-offset: $outlineOffset-NavLink--focus;
114 |       }
115 | 
116 |       &[role='menuitem']{           //e.g. inside a navGroup, for hover it focuses the item, so it's always visible, that's why we have this selector here
117 |         outline: none;
118 |         &:not(:hover):focus-visible{
119 |           outline-width: $outlineWidth-NavLink--focus;
120 |           outline-color: $outlineColor-NavLink--focus;
121 |           outline-style: $outlineStyle-NavLink--focus;
122 |           outline-offset: $outlineOffset-NavLink--focus;
123 |         }
124 |       }
125 | 
126 |       &:active.displayActive {
127 |         color: $textColor-NavLink--pressed;
128 |         background-color: $backgroundColor-NavLink--pressed;
129 |         font-weight: $fontWeight-NavLink--pressed;
130 |         * {
131 |           font-weight: $fontWeight-NavLink--pressed;
132 |           color: $textColor-NavLink--pressed;
133 |         }
134 |         &:after {
135 |           background-color: $color-indicator-NavLink--pressed;
136 |         }
137 |       }
138 | 
139 |       &.navItemActive {
140 |         color: $textColor-NavLink--active;
141 |         background-color: $backgroundColor-NavLink--active;
142 |         font-weight: $fontWeight-NavLink--active;
143 |         * {
144 |           font-weight: $fontWeight-NavLink--active;
145 |           color: $textColor-NavLink--active;
146 |         }
147 |         & > * {
148 |           z-index: 1;
149 |         }
150 |         &:hover {
151 |           color: $textColor-NavLink--hover--active;
152 |           background-color: $backgroundColor-NavLink--hover--active;
153 |           * {
154 |             color: $textColor-NavLink--hover--active;
155 |           }
156 |         }
157 |         &:after {
158 |           z-index: 0;
159 |           background-color: $color-indicator-NavLink--active;
160 |         }
161 | 
162 |         &:active {
163 |           color: $textColor-NavLink--pressed--active;
164 |           background-color: $backgroundColor-NavLink--pressed--active;
165 |           font-weight: $fontWeight-NavLink--pressed;
166 |           * {
167 |             font-weight: $fontWeight-NavLink--pressed;
168 |             color: $textColor-NavLink--pressed--active;
169 |           }
170 |           &:after {
171 |             background-color: $color-indicator-NavLink--pressed;
172 |           }
173 |         }
174 |       }
175 | 
176 |       &.disabled {
177 |         cursor: not-allowed;
178 |         color: t.$textColor--disabled;
179 |       }
180 | 
181 |       &.vertical {
182 |         &:after {
183 |           top: 0;
184 |           bottom: 0;
185 |           left: 0;
186 |           right: auto;
187 |           width: $thickness-indicator-NavLink;
188 |           height: auto;
189 |           border-radius: $borderRadius-indicator-NavLink;
190 |         }
191 |       }
192 | 
193 |       &.indented {
194 |         padding-left: 2.4em;
195 |         flex-shrink: 0;
196 |       }
197 |     }
198 |   }
199 | 
200 |   .innerContent{
201 |     display: flex;
202 |     align-items: center;
203 |     gap: t.$space-2;
204 |     flex: 1;
205 |     white-space: break-spaces;
206 |     overflow-wrap: anywhere;
207 |   }
208 | }
209 | 
210 | 
211 | // --- We export the theme variables to add them to the component renderer
212 | :export {
213 |   themeVars: t.json-stringify($themeVars);
214 | }
215 | 
```

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

```typescript
  1 | import { expect, test } from "../../testing/fixtures";
  2 | 
  3 | // =============================================================================
  4 | // OPEN/CLOSE TESTS
  5 | // =============================================================================
  6 | 
  7 | test.describe("Open/Close", () => {
  8 |   test("Imperative open - without params", async ({ page, initTestBed }) => {
  9 |     await initTestBed(`
 10 |       <Fragment>
 11 |         <Button testId="button" onClick="modal.open()">open modal (imperative)</Button>
 12 |         <ModalDialog id="modal">
 13 |           <Text testId="textInModal">Hello</Text>
 14 |         </ModalDialog>
 15 |       </Fragment>
 16 |     `);
 17 | 
 18 |     await expect(page.getByTestId("textInModal")).not.toBeVisible();
 19 |     await page.getByTestId("button").click();
 20 |     await expect(page.getByTestId("textInModal")).toBeVisible();
 21 |   });
 22 | 
 23 |   test("Imperative open - with param inside", async ({ page, initTestBed }) => {
 24 |     await initTestBed(`
 25 |       <Fragment>
 26 |         <Button testId="button" onClick="modal.open('PARAM_VALUE')">open modal (imperative)</Button>
 27 |         <ModalDialog id="modal">
 28 |           <Text testId="textInModal">{$param}</Text>
 29 |         </ModalDialog>
 30 |       </Fragment>
 31 |     `);
 32 | 
 33 |     await page.getByTestId("button").click();
 34 |     await expect(page.getByTestId("textInModal")).toHaveText("PARAM_VALUE");
 35 |   });
 36 | 
 37 |   test("Imperative open - with multiple param inside", async ({ page, initTestBed }) => {
 38 |     await initTestBed(`
 39 |       <Fragment>
 40 |         <Button testId="button" onClick="modal.open('PARAM_VALUE1', 'PARAM_VALUE2')">open modal (imperative)</Button>
 41 |         <ModalDialog id="modal">
 42 |           <Text testId="textInModal1">{$params[0]}</Text>
 43 |           <Text testId="textInModal2">{$params[1]}</Text>
 44 |         </ModalDialog>
 45 |       </Fragment>
 46 |     `);
 47 | 
 48 |     await page.getByTestId("button").click();
 49 |     await expect(page.getByTestId("textInModal1")).toHaveText("PARAM_VALUE1");
 50 |     await expect(page.getByTestId("textInModal2")).toHaveText("PARAM_VALUE2");
 51 |   });
 52 | 
 53 |   test("Imperative open - with param in title", async ({ page, initTestBed }) => {
 54 |     await initTestBed(`
 55 |       <Fragment>
 56 |         <Button testId="button" onClick="modal.open('PARAM_VALUE')">open modal (imperative)</Button>
 57 |         <ModalDialog id="modal" title="{$param}"/>
 58 |       </Fragment>
 59 |     `);
 60 | 
 61 |     await page.getByTestId("button").click();
 62 |     await expect(page.getByTestId("modal").getByRole("heading")).toHaveText("PARAM_VALUE");
 63 |   });
 64 | 
 65 |   test("Preserves $item context variable from Table Column", async ({ page, initTestBed }) => {
 66 |     await initTestBed(`
 67 |       <Table data='{[
 68 |         {id: 1, company: "Acme Corp", order: 1},
 69 |       ]}'>
 70 |         <Column>
 71 |           <ModalDialog id="dialog" testId="dialog" title="{$item.company}">
 72 |             <Text testId="modal-text">{JSON.stringify($item)}</Text>
 73 |           </ModalDialog>
 74 |           <Button testId="btn-{$itemIndex}" onClick="dialog.open()">{$item.company}</Button>
 75 |         </Column>
 76 |       </Table>
 77 |     `);
 78 | 
 79 |     // Test first row
 80 |     await page.getByTestId("btn-0").click();
 81 |     const modal = page.getByTestId("dialog");
 82 |     await expect(modal).toBeVisible();
 83 |     await expect(modal).toContainText("Acme Corp");
 84 |   });
 85 | 
 86 |   test("Declarative open/close", async ({ page, initTestBed }) => {
 87 |     await initTestBed(`
 88 |     <Fragment var.isOpen="{false}">
 89 |       <Button testId="button" onClick="isOpen = true">open modal</Button>
 90 |       <ModalDialog when="{isOpen}" onClose="isOpen = false" testId="modal">
 91 |         <Text testId="textInModal">Hello</Text>
 92 |       </ModalDialog>
 93 |       <Text testId="isOpen">{isOpen + ''}</Text>
 94 |     </Fragment>
 95 |   `);
 96 | 
 97 |     await expect(page.getByTestId("textInModal")).not.toBeVisible();
 98 |     await expect(page.getByTestId("isOpen")).toHaveText("false");
 99 |     await page.getByTestId("button").click();
100 |     await expect(page.getByTestId("textInModal")).toBeVisible();
101 |     await expect(page.getByTestId("isOpen")).toHaveText("true");
102 |     //click modal close button
103 |     await page.getByTestId("modal").getByRole("button").click();
104 |     await expect(page.getByTestId("textInModal")).not.toBeVisible();
105 |     await expect(page.getByTestId("isOpen")).toHaveText("false");
106 |   });
107 | 
108 |   test("maxWidth works", async ({ page, initTestBed, createModalDialogDriver }) => {
109 |     await initTestBed(`
110 |       <Fragment>
111 |         <Button testId="button" onClick="modal.open()">open modal (imperative)</Button>
112 |         <ModalDialog id="modal" maxWidth="250px">
113 |           <Text testId="textInModal">Hello</Text>
114 |         </ModalDialog>
115 |       </Fragment>
116 |     `);
117 | 
118 |     const modal = await createModalDialogDriver("modal");
119 | 
120 |     await expect(modal.component).not.toBeVisible();
121 |     await expect(page.getByTestId("textInModal")).not.toBeVisible();
122 |     await page.getByTestId("button").click();
123 |     await expect(modal.component).toBeVisible();
124 |     await expect(modal.component).toHaveCSS("max-width", "250px");
125 |     await expect(page.getByTestId("textInModal")).toBeVisible();
126 |   });
127 | 
128 |   test("backgroundColor works", async ({ page, initTestBed, createModalDialogDriver }) => {
129 |     await initTestBed(`
130 |       <Fragment>
131 |         <Button testId="button" onClick="modal.open()">open modal (imperative)</Button>
132 |         <ModalDialog id="modal" backgroundColor="rgb(255, 255, 0)">
133 |           <Text testId="textInModal">Hello</Text>
134 |         </ModalDialog>
135 |       </Fragment>
136 |     `);
137 | 
138 |     const modal = await createModalDialogDriver("modal");
139 | 
140 |     await page.getByTestId("button").click();
141 |     await expect(modal.component).toBeVisible();
142 |     await expect(modal.component).toHaveCSS("background-color", "rgb(255, 255, 0)");
143 |     await expect(page.getByTestId("textInModal")).toBeVisible();
144 |   });
145 | 
146 | 
147 |   test("modal is scrollable in fullScreen mode and hides background content", async ({ page, initTestBed, createModalDialogDriver }) => {
148 |     await initTestBed(`
149 |       <Fragment>
150 |         <!-- Background page content that should be completely hidden by the modal -->
151 |         <VStack testId="pageContent" height="300vh" backgroundColor="lightblue">
152 |           <Button testId="button" onClick="modal.open()">
153 |             open modal
154 |           </Button>
155 |           <Stack height="*" verticalAlignment="end">
156 |               <Text testId="pageBottomText">
157 |                   Should be hidden
158 |               </Text>
159 |           </Stack>
160 |         </VStack>
161 |         <ModalDialog id="modal" fullScreen="{true}">
162 |           <VStack>
163 |             <Text testId="textInModal">
164 |               Content that should be scrollable
165 |             </Text>
166 |             <Stack
167 |               testId="longContent"
168 |               height="300vh"
169 |               verticalAlignment="end">
170 |               <Text testId="bottomText">
171 |                 Long content
172 |               </Text>
173 |             </Stack>
174 |           </VStack>
175 |         </ModalDialog>
176 |       </Fragment>
177 |     `);
178 | 
179 |     const modal = await createModalDialogDriver("modal");
180 | 
181 |     // Verify page content is initially visible before opening modal
182 |     await expect(page.getByTestId("pageContent")).toBeVisible();
183 |   
184 |     await expect(page.getByTestId("pageEndText")).not.toBeInViewport();
185 |     
186 |     // Open the modal
187 |     await page.getByTestId("button").click();
188 |     await expect(modal.component).toBeVisible();
189 | 
190 |     
191 |     
192 |     // Verify modal completely covers page content - all page content should be hidden
193 |     await expect(page.getByTestId("textInModal")).toBeVisible();
194 |     await expect(page.getByTestId("bottomText")).not.toBeInViewport();
195 | 
196 |     await page.getByTestId("bottomText").scrollIntoViewIfNeeded();
197 | 
198 |     await expect(page.getByTestId("pageBottomText")).not.toBeInViewport();
199 |   });
200 | });
201 | 
```

--------------------------------------------------------------------------------
/xmlui/src/components/TreeDisplay/TreeDisplayNative.tsx:
--------------------------------------------------------------------------------

```typescript
  1 | import { type CSSProperties, type ForwardedRef, forwardRef, type ReactNode, useMemo } from "react";
  2 | import classnames from "classnames";
  3 | 
  4 | import styles from "./TreeDisplay.module.scss";
  5 | 
  6 | type TreeNode = {
  7 |   label: string;
  8 |   level: number;
  9 |   children: TreeNode[];
 10 |   isLast?: boolean;
 11 | };
 12 | 
 13 | type Props = {
 14 |   style?: CSSProperties;
 15 |   className?: string;
 16 |   children?: ReactNode;
 17 |   content?: string;
 18 |   itemHeight?: number;
 19 | };
 20 | 
 21 | export const defaultProps: Pick<Props, "content" | "itemHeight"> = {
 22 |   content: "",
 23 |   itemHeight: 20
 24 | };
 25 | 
 26 | // Parse the indented text into a tree structure
 27 | const parseTreeContent = (content: string): TreeNode[] => {
 28 |   if (!content) return [];
 29 | 
 30 |   const lines = content.split("\n").filter((line) => line.trim());
 31 |   if (lines.length === 0) return [];
 32 | 
 33 |   const rootNodes: TreeNode[] = [];
 34 |   const levelMap: { [level: number]: TreeNode[] } = {};
 35 | 
 36 |   lines.forEach((line) => {
 37 |     // Count leading spaces to determine level
 38 |     const leadingSpaces = line.length - line.trimLeft().length;
 39 |     const currentLevel = leadingSpaces;
 40 |     const label = line.trim();
 41 |     const node: TreeNode = { label, level: currentLevel, children: [] };
 42 | 
 43 |     // If we're at level 0, this is a root node
 44 |     if (currentLevel === 0) {
 45 |       rootNodes.push(node);
 46 |       levelMap[0] = rootNodes;
 47 |       return;
 48 |     }
 49 | 
 50 |     // Find the nearest parent level
 51 |     let parentLevel = currentLevel - 1;
 52 |     while (parentLevel >= 0) {
 53 |       if (levelMap[parentLevel] && levelMap[parentLevel].length > 0) {
 54 |         // Get the last node at the parent level
 55 |         const parent = levelMap[parentLevel][levelMap[parentLevel].length - 1];
 56 |         parent.children.push(node);
 57 | 
 58 |         // Initialize or update this level's map entry
 59 |         if (!levelMap[currentLevel]) {
 60 |           levelMap[currentLevel] = [];
 61 |         }
 62 |         levelMap[currentLevel].push(node);
 63 |         return;
 64 |       }
 65 |       parentLevel--;
 66 |     }
 67 | 
 68 |     // If we get here, something is wrong with the tree structure
 69 |     // Add to root as fallback
 70 |     rootNodes.push(node);
 71 |   });
 72 | 
 73 |   // Mark last children at each level for correct connector rendering
 74 |   const markLastChildren = (nodes: TreeNode[]) => {
 75 |     if (nodes.length > 0) {
 76 |       nodes[nodes.length - 1].isLast = true;
 77 |       nodes.forEach((node) => {
 78 |         if (node.children.length > 0) {
 79 |           markLastChildren(node.children);
 80 |         }
 81 |       });
 82 |     }
 83 |   };
 84 | 
 85 |   markLastChildren(rootNodes);
 86 |   return rootNodes;
 87 | };
 88 | 
 89 | // Calculate the total height of a node and its descendants
 90 | const calculateNodeHeight = (node: TreeNode, itemHeight: number): number => {
 91 |   if (node.children.length === 0) {
 92 |     return itemHeight; // Single node height
 93 |   }
 94 |   return (
 95 |     itemHeight +
 96 |     node.children.reduce((acc, child) => acc + calculateNodeHeight(child, itemHeight), 0)
 97 |   );
 98 | };
 99 | 
100 | // Render a node and its children with SVG line connectors
101 | const renderTreeNode = (
102 |   node: TreeNode,
103 |   index: number,
104 |   itemHeight: number,
105 |   level = 0,
106 |   ancestorLines: boolean[] = [],
107 | ): JSX.Element => {
108 |   const isLast = node.isLast;
109 |   const isRoot = level === 0;
110 |   const hasChildren = node.children.length > 0;
111 |   const nodeHeight = hasChildren ? calculateNodeHeight(node, itemHeight) : itemHeight;
112 |   const halfHeight = itemHeight / 2;
113 |   return (
114 |     <div key={`${node.label}-${index}`} className={styles.treeNode}>
115 |       <div className={styles.treeNodeRow} style={{ height: `${itemHeight}px` }}>
116 |         <div
117 |           className={styles.connectorArea}
118 |           style={{
119 |             marginLeft: `${level * itemHeight}px`,
120 |             width: `${itemHeight}px`,
121 |             height: `${itemHeight}px`,
122 |           }}
123 |         >
124 |           {/* Single SVG for all connector lines at this level */}
125 |           <svg
126 |             className={styles.connector}
127 |             width={itemHeight}
128 |             height={hasChildren ? nodeHeight : itemHeight}
129 |             viewBox={`0 0 ${itemHeight} ${hasChildren ? nodeHeight : itemHeight}`}
130 |             style={{ position: "absolute", top: 0, left: 0 }}
131 |           >
132 |             {isRoot && (
133 |               <>
134 |                 {/* Horizontal line from the left edge to the text */}
135 |                 <line
136 |                   x1={halfHeight}
137 |                   y1={halfHeight}
138 |                   x2={itemHeight}
139 |                   y2={halfHeight}
140 |                   strokeWidth="1.5"
141 |                   className={styles.connectorLine}
142 |                 />
143 |               </>
144 |             )}
145 |             {!isRoot && (
146 |               <>
147 |                 {/* Vertical line from top */}
148 |                 <line
149 |                   x1={halfHeight}
150 |                   y1={0}
151 |                   x2={halfHeight}
152 |                   y2={isLast ? halfHeight : itemHeight}
153 |                   strokeWidth="1.5"
154 |                   className={styles.connectorLine}
155 |                 />
156 | 
157 |                 {/* Horizontal line to content */}
158 |                 <line
159 |                   x1={halfHeight}
160 |                   y1={halfHeight}
161 |                   x2={itemHeight}
162 |                   y2={halfHeight}
163 |                   strokeWidth="1.5"
164 |                   className={styles.connectorLine}
165 |                 />
166 |               </>
167 |             )}
168 | 
169 |             {/* Vertical line down through children if not last child */}
170 |             {!isLast && hasChildren && (
171 |               <line
172 |                 x1={halfHeight}
173 |                 y1={halfHeight}
174 |                 x2={halfHeight}
175 |                 y2={nodeHeight}
176 |                 strokeWidth="1.5"
177 |                 className={styles.connectorLine}
178 |               />
179 |             )}
180 | 
181 |             {/* Render ancestor vertical lines */}
182 |             {ancestorLines.map(
183 |               (shouldDraw, i) =>
184 |                 shouldDraw && (
185 |                   <line
186 |                     key={`ancestor-${i}`}
187 |                     x1={halfHeight - (level - i) * itemHeight}
188 |                     y1={0}
189 |                     x2={halfHeight - (level - i) * itemHeight}
190 |                     y2={nodeHeight}
191 |                     strokeWidth="1.5"
192 |                     className={styles.connectorLine}
193 |                   />
194 |                 ),
195 |             )}
196 |           </svg>
197 |         </div>
198 |         <div className={styles.treeNodeContent} style={{ lineHeight: `${itemHeight}px` }}>
199 |           {node.label}
200 |         </div>
201 |       </div>
202 | 
203 |       {hasChildren && (
204 |         <div className={styles.childrenContainer}>
205 |           {node.children.map((child, i) => {
206 |             // Create new ancestor lines array for child nodes
207 |             const newAncestorLines = [...ancestorLines];
208 |             while (newAncestorLines.length <= level) {
209 |               newAncestorLines.push(false);
210 |             }
211 |             // Set current level's line status: draw if this child is not the last child
212 |             newAncestorLines[level] = i !== node.children.length - 1;
213 |             return renderTreeNode(child, i, itemHeight, level + 1, newAncestorLines);
214 |           })}
215 |         </div>
216 |       )}
217 |     </div>
218 |   );
219 | };
220 | 
221 | export const TreeDisplay = forwardRef(function TreeDisplay(
222 |   { style, className, children, content = defaultProps.content, itemHeight = defaultProps.itemHeight }: Props,
223 |   forwardedRef: ForwardedRef<HTMLDivElement>,
224 | ) {
225 |   const contentString = (content || children?.toString() || "").toString();
226 | 
227 |   const treeNodes = useMemo(() => parseTreeContent(contentString), [contentString]);
228 | 
229 |   return (
230 |     <div className={classnames(styles.treeDisplay, className)} style={style} ref={forwardedRef}>
231 |       <div className={styles.content}>
232 |         {treeNodes.map((node, index) => renderTreeNode(node, index, itemHeight, 0, []))}
233 |       </div>
234 |     </div>
235 |   );
236 | });
237 | 
```

--------------------------------------------------------------------------------
/xmlui/src/components/Animation/AnimationNative.tsx:
--------------------------------------------------------------------------------

```typescript
  1 | import { animated, useSpring, useInView } from "@react-spring/web";
  2 | import type { ForwardedRef } from "react";
  3 | import React, { Children, forwardRef, useEffect, useId, useMemo, useState } from "react";
  4 | import { useCallback } from "react";
  5 | import { composeRefs } from "@radix-ui/react-compose-refs";
  6 | 
  7 | import type { RegisterComponentApiFn } from "../..";
  8 | import { isPlainObject } from "lodash-es";
  9 | 
 10 | export type AnimationProps = {
 11 |   children?: React.ReactNode;
 12 |   animation: any;
 13 |   registerComponentApi?: RegisterComponentApiFn;
 14 |   onStop?: () => void;
 15 |   onStart?: () => void;
 16 |   animateWhenInView?: boolean;
 17 |   duration?: number;
 18 |   reverse?: boolean;
 19 |   loop?: boolean;
 20 |   once?: boolean;
 21 |   delay?: number;
 22 | };
 23 | 
 24 | const AnimatedComponent = animated(
 25 |   forwardRef(function InlineComponentDef(props: any, ref: ForwardedRef<any>) {
 26 |     const { children, ...rest } = props;
 27 | 
 28 |     if (!React.isValidElement(children)) {
 29 |       return children;
 30 |     }
 31 |     return React.cloneElement(children, { ...rest, ref });
 32 |   }),
 33 | );
 34 | 
 35 | export const defaultProps: Pick<
 36 |   AnimationProps,
 37 |   "delay" | "animateWhenInView" | "reverse" | "loop" | "once"
 38 | > = {
 39 |   delay: 0,
 40 |   animateWhenInView: false,
 41 |   reverse: false,
 42 |   loop: false,
 43 |   once: false,
 44 | };
 45 | 
 46 | export const parseAnimation = (animation: string | object): object => {
 47 |   if (typeof animation === "object") {
 48 |     return animation;
 49 |   }
 50 | 
 51 |   const presetAnimations: Record<string, object> = {
 52 |     fadein: {
 53 |       from: { opacity: 0 },
 54 |       to: { opacity: 1 },
 55 |     },
 56 |     fadeout: {
 57 |       from: { opacity: 1 },
 58 |       to: { opacity: 0 },
 59 |     },
 60 |     slidein: {
 61 |       from: { transform: "translateX(-100%)" },
 62 |       to: { transform: "translateX(0%)" },
 63 |     },
 64 |     slideout: {
 65 |       from: { transform: "translateX(0%)" },
 66 |       to: { transform: "translateX(100%)" },
 67 |     },
 68 |     popin: {
 69 |       from: { transform: "scale(0.8)", opacity: 0 },
 70 |       to: { transform: "scale(1)", opacity: 1 },
 71 |     },
 72 |     popout: {
 73 |       from: { transform: "scale(1)", opacity: 1 },
 74 |       to: { transform: "scale(0.8)", opacity: 0 },
 75 |     },
 76 |     flipin: {
 77 |       from: { transform: "rotateY(90deg)", opacity: 0 },
 78 |       to: { transform: "rotateY(0deg)", opacity: 1 },
 79 |     },
 80 |     flipout: {
 81 |       from: { transform: "rotateY(0deg)", opacity: 1 },
 82 |       to: { transform: "rotateY(90deg)", opacity: 0 },
 83 |     },
 84 |     rotatein: {
 85 |       from: { transform: "rotate(-180deg)", opacity: 0 },
 86 |       to: { transform: "rotate(0deg)", opacity: 1 },
 87 |     },
 88 |     rotateout: {
 89 |       from: { transform: "rotate(0deg)", opacity: 1 },
 90 |       to: { transform: "rotate(180deg)", opacity: 0 },
 91 |     },
 92 |     zoomin: {
 93 |       from: { transform: "scale(0)", opacity: 0 },
 94 |       to: { transform: "scale(1)", opacity: 1 },
 95 |     },
 96 |     zoomout: {
 97 |       from: { transform: "scale(1)", opacity: 1 },
 98 |       to: { transform: "scale(0)", opacity: 0 },
 99 |     },
100 |   };
101 | 
102 |   return presetAnimations[animation] || { from: {}, to: {} };
103 | };
104 | 
105 | /**
106 |  * Helper function to parse a single animation-specific option value.
107 |  */
108 | function parseAnimationOptionValue(name: string, value: string): any {
109 |   switch (name) {
110 |     case "duration":
111 |     case "delay":
112 |       const num = parseInt(value, 10);
113 |       return isNaN(num) ? undefined : num;
114 | 
115 |     case "animateWhenInView":
116 |     case "reverse":
117 |     case "loop":
118 |     case "once":
119 |       const lowerVal = value.toLowerCase();
120 |       if (lowerVal === "true" || lowerVal === "1" || lowerVal === "yes") return true;
121 |       if (lowerVal === "false" || lowerVal === "0" || lowerVal === "no") return false;
122 |       return undefined;
123 | 
124 |     default:
125 |       return undefined;
126 |   }
127 | }
128 | 
129 | /**
130 |  * Parses animation options from a string or object.
131 |  */
132 | export function parseAnimationOptions(input: any): Partial<AnimationProps> {
133 |   if (isPlainObject(input)) {
134 |     return input as Partial<AnimationProps>;
135 |   }
136 | 
137 |   if (typeof input === "string") {
138 |     const options: Partial<AnimationProps> = {};
139 |     const values = input
140 |       .split(";")
141 |       .map((value) => value.trim())
142 |       .filter((value) => value.length > 0);
143 | 
144 |     for (const value of values) {
145 |       if (value.includes(":")) {
146 |         const [name, val] = value.split(":").map((part) => part.trim());
147 |         if (name && val) {
148 |           const parsedValue = parseAnimationOptionValue(name, val);
149 |           if (parsedValue !== undefined) {
150 |             (options as any)[name] = parsedValue;
151 |           }
152 |         }
153 |       } else {
154 |         const booleanOptions = ["animateWhenInView", "reverse", "loop", "once"];
155 |         if (booleanOptions.includes(value)) {
156 |           (options as any)[value] = true;
157 |         } else if (value.startsWith("!") && value.length > 1) {
158 |           const optionName = value.substring(1);
159 |           if (booleanOptions.includes(optionName)) {
160 |             (options as any)[optionName] = false;
161 |           }
162 |         }
163 |       }
164 |     }
165 |     return options;
166 |   }
167 | 
168 |   return {};
169 | }
170 | 
171 | export const Animation = forwardRef(function Animation(
172 |   {
173 |     children,
174 |     registerComponentApi,
175 |     animation,
176 |     duration,
177 |     onStop,
178 |     onStart,
179 |     delay = defaultProps.delay,
180 |     animateWhenInView = defaultProps.animateWhenInView,
181 |     reverse = defaultProps.reverse,
182 |     loop = defaultProps.loop,
183 |     once = defaultProps.once,
184 |     ...rest
185 |   }: AnimationProps,
186 |   forwardedRef: ForwardedRef<HTMLDivElement>,
187 | ) {
188 |   const [_animation] = useState(animation);
189 |   const [toggle, setToggle] = useState(false);
190 |   const [reset, setReset] = useState(false);
191 |   const [count, setCount] = useState(0);
192 |   const times = 1;
193 |   const animationId = useId();
194 | 
195 |   const animationSettings = useMemo<any>(
196 |     () => ({
197 |       from: _animation.from,
198 |       to: _animation.to,
199 |       config: {
200 |         ..._animation.config,
201 |         duration,
202 |       },
203 |       delay,
204 |       loop,
205 |       reset,
206 |       reverse: toggle,
207 |       onRest: () => {
208 |         onStop?.();
209 |         if (loop) {
210 |           if (reverse) {
211 |             setCount(count + 1);
212 |             setToggle(!toggle);
213 |           }
214 |           setReset(true);
215 |         } else {
216 |           if (reverse && count < times) {
217 |             setCount(count + 1);
218 |             setToggle(!toggle);
219 |           }
220 |         }
221 |       },
222 |       onStart: () => {
223 |         onStart?.();
224 |       },
225 |     }),
226 |     [
227 |       _animation.config,
228 |       _animation.from,
229 |       _animation.to,
230 |       count,
231 |       delay,
232 |       duration,
233 |       loop,
234 |       onStart,
235 |       onStop,
236 |       reset,
237 |       once,
238 |       reverse,
239 |       toggle,
240 |     ],
241 |   );
242 | 
243 |   const [springs, api] = useSpring(
244 |     () => ({
245 |       ...animationSettings,
246 |     }),
247 |     [animationSettings],
248 |   );
249 | 
250 |   const [ref, animationStyles] = useInView(() => animationSettings, {
251 |     once,
252 |   });
253 |   const composedRef = ref ? composeRefs(ref, forwardedRef) : forwardedRef;
254 | 
255 |   const startAnimation = useCallback(() => {
256 |     void api.start(_animation);
257 |     return () => {
258 |       api.stop();
259 |     };
260 |   }, [_animation, api]);
261 | 
262 |   const stopAnimation = useCallback(() => {
263 |     api.stop();
264 |   }, [api]);
265 | 
266 |   useEffect(() => {
267 |     registerComponentApi?.({
268 |       start: startAnimation,
269 |       stop: stopAnimation,
270 |     });
271 |   }, [registerComponentApi, startAnimation, stopAnimation]);
272 | 
273 |   const content = useMemo(() => {
274 |     return Children.map(children, (child, index) =>
275 |       animateWhenInView ? (
276 |         <AnimatedComponent key={index} {...rest} style={animationStyles} ref={composedRef}>
277 |           {child}
278 |         </AnimatedComponent>
279 |       ) : (
280 |         <AnimatedComponent key={index} {...rest} style={springs} ref={forwardedRef}>
281 |           {child}
282 |         </AnimatedComponent>
283 |       ),
284 |     );
285 |   }, [animateWhenInView, animationStyles, children, springs, rest, composedRef, forwardedRef]);
286 | 
287 |   return content;
288 | });
289 | 
```

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

```typescript
  1 | import { test, expect } from "../../testing/fixtures";
  2 | 
  3 | // =============================================================================
  4 | // BASIC FUNCTIONALITY TESTS
  5 | // =============================================================================
  6 | 
  7 | test("component fires didChange event when listenTo value changes", async ({
  8 |   page,
  9 |   initTestBed,
 10 | }) => {
 11 |   await initTestBed(
 12 |     `<App var.counter="{0}" var.oneBigger="{1}">
 13 |       <Button label="Increment" onClick="{counter++}" />
 14 |       <ChangeListener
 15 |         listenTo="{counter}"
 16 |         onDidChange="oneBigger = counter + 1" />
 17 |       <Text testId="counterText">{counter}</Text>
 18 |       <Text testId="oneBiggerText">{oneBigger}</Text>
 19 |     </App>`,
 20 |   );
 21 | 
 22 |   const counterText = page.getByTestId("counterText");
 23 |   const oneBiggerText = page.getByTestId("oneBiggerText");
 24 | 
 25 |   await expect(counterText).toHaveText("0");
 26 |   await expect(oneBiggerText).toHaveText("1");
 27 | 
 28 |   await page.getByRole("button", { name: "Increment" }).click();
 29 | 
 30 |   await expect(counterText).toHaveText("1");
 31 |   await expect(oneBiggerText).toHaveText("2");
 32 | });
 33 | 
 34 | test("component does not fire event when unrelated values change", async ({
 35 |   page,
 36 |   initTestBed,
 37 | }) => {
 38 |   await initTestBed(
 39 |     `<App var.a="{0}" var.counter="{0}" var.oneBigger="{1}">
 40 |       <Button label="Increment" onClick="{counter++}" />
 41 |       <ChangeListener
 42 |         listenTo="{a}"
 43 |         onDidChange="oneBigger = counter + 1" />
 44 |       <Text testId="counterText">{counter}</Text>
 45 |       <Text testId="oneBiggerText">{oneBigger}</Text>
 46 |     </App>`,
 47 |   );
 48 | 
 49 |   const counterText = page.getByTestId("counterText");
 50 |   const oneBiggerText = page.getByTestId("oneBiggerText");
 51 | 
 52 |   await expect(counterText).toHaveText("0");
 53 |   await expect(oneBiggerText).toHaveText("1");
 54 | 
 55 |   await page.getByRole("button", { name: "Increment" }).click();
 56 | 
 57 |   await expect(counterText).toHaveText("1");
 58 |   await expect(oneBiggerText).toHaveText("1");
 59 | });
 60 | 
 61 | test("component passes both previous and new values to the handler", async ({
 62 |   page,
 63 |   initTestBed,
 64 | }) => {
 65 |   await initTestBed(`
 66 |     <VStack var.counter="{0}" var.clone="{0}">
 67 |       <Button testId="button" onClick="counter++">Increment</Button>
 68 |       <Text testId="text">{clone}</Text>
 69 |       <ChangeListener
 70 |         listenTo="{counter}"
 71 |         onDidChange="chg => clone = chg.prevValue + '|' + chg.newValue" />
 72 |     </VStack>
 73 |   `);
 74 | 
 75 |   // Click the button to change the counter value
 76 |   await page.locator("button").click();
 77 | 
 78 |   // Check that the event fired and testState was updated
 79 |   await expect(page.getByTestId("text")).toHaveText("0|1");
 80 | });
 81 | 
 82 | // =============================================================================
 83 | // EDGE CASE TESTS
 84 | // =============================================================================
 85 | 
 86 | test("component handles complex data types", async ({ page, initTestBed }) => {
 87 |   await initTestBed(`
 88 |     <VStack var.data="{{ a: 1, b: [2, { counter: 10}] }}" var.clone="{0}">
 89 |       <Button testId="incRelevant" onClick="data.b[1].counter++">Increment</Button>
 90 |       <Button testId="incIrrelevant" onClick="data.a++">Increment irrelevant</Button>
 91 |       <Text testId="text">{clone}</Text>
 92 |       <ChangeListener
 93 |         listenTo="{data.b[1].counter}"
 94 |         onDidChange="chg => clone = chg.newValue" />
 95 |     </VStack>
 96 |   `);
 97 | 
 98 |   await expect(page.getByTestId("text")).toHaveText("10");
 99 | 
100 |   // make sure the irrelevant parts of the data doesn't get listenedTo
101 |   await page.getByTestId("incIrrelevant").click();
102 |   await expect(page.getByTestId("text")).toHaveText("10");
103 | 
104 |   await page.getByTestId("incRelevant").click();
105 | 
106 |   // Check that the event fired and testState was updated
107 |   await expect(page.getByTestId("text")).toHaveText("11");
108 | });
109 | 
110 | test("component handles undefined and null values", async ({ page, initTestBed }) => {
111 |   await initTestBed(`
112 |     <VStack var.counter="{0}" var.clone="{0}">
113 |       <Button testId="setNull" onClick="counter = null">Set Null</Button>
114 |       <Button testId="setUndefined" onClick="counter = undefined">Set Undefined</Button>
115 |       <Button testId="setValue" onClick="counter = 3">Set Value</Button>
116 |       <Text testId="text">
117 |         {clone === undefined ? 'undefined' : JSON.stringify(clone)}
118 |       </Text>
119 |       <ChangeListener listenTo="{counter}" onDidChange="chg => clone = chg.newValue" />
120 |     </VStack>`);
121 | 
122 |   await page.getByTestId("setNull").click();
123 |   await expect(page.getByTestId("text")).toHaveText("null");
124 |   await page.getByTestId("setUndefined").click();
125 |   await expect(page.getByTestId("text")).toHaveText("undefined");
126 |   await page.getByTestId("setValue").click();
127 |   await expect(page.getByTestId("text")).toHaveText("3");
128 | });
129 | 
130 | test("component doesn't fire on identical primitive values", async ({ page, initTestBed }) => {
131 |   await initTestBed(`
132 |     <VStack var.counter="{0}" var.clicked="{0}" var.data="{1}">
133 |       <Button testId="setToPrimitive" onClick="clicked++; data = data + 1 - 1">
134 |         Set The Same Primitive
135 |       </Button>
136 |       <Text testId="text">{clicked}|{counter}|{data}</Text>
137 |       <ChangeListener listenTo="{data}" onDidChange="counter++" />
138 |     </VStack>
139 |   `);
140 | 
141 |   await expect(page.getByTestId("text")).toHaveText("0|1|1");
142 |   await page.locator("button").click();
143 |   await expect(page.getByTestId("text")).toHaveText("1|1|1");
144 |   await page.locator("button").click();
145 |   await expect(page.getByTestId("text")).toHaveText("2|1|1");
146 | });
147 | 
148 | // =============================================================================
149 | // INTEGRATION TESTS
150 | // =============================================================================
151 | 
152 | test("component works with multiple listeners on the same value", async ({ page, initTestBed }) => {
153 |   await initTestBed(`
154 |     <VStack var.counter1="{0}" var.counter2="{0}" var.clicked="{0}">
155 |       <Button testId="setToPrimitive" onClick="clicked++;">
156 |         Set The Same Primitive
157 |       </Button>
158 |       <Text testId="text">{clicked}|{counter1}|{counter2}</Text>
159 |       <ChangeListener listenTo="{clicked}" onDidChange="counter1++" />
160 |       <ChangeListener listenTo="{clicked}" onDidChange="counter2++" />
161 |     </VStack>
162 |   `);
163 | 
164 |   await expect(page.getByTestId("text")).toHaveText("0|1|1");
165 |   await page.locator("button").click();
166 |   await expect(page.getByTestId("text")).toHaveText("1|2|2");
167 |   await page.locator("button").click();
168 |   await expect(page.getByTestId("text")).toHaveText("2|3|3");
169 | });
170 | 
171 | test("component works with conditional rendering", async ({ page, initTestBed }) => {
172 |   await initTestBed(`
173 |     <VStack var.counter="{0}" var.clone="{0}" var.show="{false}">
174 |       <Button testId="button" onClick="counter++">Increment</Button>
175 |       <Button testId="showButton" onClick="show = !show">Toggle Show</Button>
176 |       <Text testId="text">
177 |         {clone}
178 |       </Text>
179 |       <ChangeListener
180 |         when="{show}"
181 |         listenTo="{counter}"
182 |         onDidChange="clone = counter" />
183 |     </VStack>
184 |   `);
185 | 
186 |   // Click the button to change the counter value
187 |   await page.getByTestId("button").click();
188 |   await expect(page.getByTestId("text")).toHaveText("0");
189 |   await page.getByTestId("button").click();
190 |   await expect(page.getByTestId("text")).toHaveText("0");
191 |   await page.getByTestId("button").click();
192 |   await expect(page.getByTestId("text")).toHaveText("0");
193 |   await page.getByTestId("showButton").click();
194 |   await expect(page.getByTestId("text")).toHaveText("3");
195 |   await page.getByTestId("button").click();
196 |   await expect(page.getByTestId("text")).toHaveText("4");
197 |   await page.getByTestId("showButton").click();
198 |   await page.getByTestId("button").click();
199 |   await expect(page.getByTestId("text")).toHaveText("4");
200 | });
201 | 
```

--------------------------------------------------------------------------------
/xmlui/src/components/TextArea/TextAreaNative.tsx:
--------------------------------------------------------------------------------

```typescript
  1 | import React, {
  2 |   type ChangeEventHandler,
  3 |   type CSSProperties,
  4 |   type ForwardedRef,
  5 |   forwardRef,
  6 |   type TextareaHTMLAttributes,
  7 |   useCallback,
  8 |   useEffect,
  9 |   useRef,
 10 |   useState,
 11 | } from "react";
 12 | import classnames from "classnames";
 13 | import TextareaAutosize from "react-textarea-autosize";
 14 | import { isNil } from "lodash-es";
 15 | 
 16 | import styles from "./TextArea.module.scss";
 17 | 
 18 | import type { RegisterComponentApiFn, UpdateStateFn } from "../../abstractions/RendererDefs";
 19 | import { noop } from "../../components-core/constants";
 20 | import { useEvent } from "../../components-core/utils/misc";
 21 | import type { ValidationStatus } from "../abstractions";
 22 | import TextAreaResizable from "./TextAreaResizable";
 23 | import { PART_INPUT } from "../../components-core/parts";
 24 | import { composeRefs } from "@radix-ui/react-compose-refs";
 25 | 
 26 | export const resizeOptionKeys = ["horizontal", "vertical", "both"] as const;
 27 | export type ResizeOptions = (typeof resizeOptionKeys)[number];
 28 | 
 29 | type Props = {
 30 |   id?: string;
 31 |   value?: string;
 32 |   placeholder?: string;
 33 |   required?: boolean;
 34 |   readOnly?: boolean;
 35 |   allowCopy?: boolean;
 36 |   updateState?: UpdateStateFn;
 37 |   validationStatus?: ValidationStatus;
 38 |   autoFocus?: boolean;
 39 |   initialValue?: string;
 40 |   resize?: ResizeOptions;
 41 |   enterSubmits?: boolean;
 42 |   escResets?: boolean;
 43 |   onDidChange?: (e: any) => void;
 44 |   onFocus?: () => void;
 45 |   onBlur?: () => void;
 46 |   controlled?: boolean;
 47 |   style?: CSSProperties;
 48 |   className?: string;
 49 |   registerComponentApi?: RegisterComponentApiFn;
 50 |   autoSize?: boolean;
 51 |   maxRows?: number;
 52 |   minRows?: number;
 53 |   maxLength?: number;
 54 |   rows?: number;
 55 |   enabled?: boolean;
 56 | };
 57 | 
 58 | export const defaultProps = {
 59 |   value: "",
 60 |   placeholder: "",
 61 |   required: false,
 62 |   readOnly: false,
 63 |   allowCopy: true,
 64 |   updateState: noop,
 65 |   autoFocus: false,
 66 |   initialValue: "",
 67 |   onDidChange: noop,
 68 |   onFocus: noop,
 69 |   onBlur: noop,
 70 |   controlled: true,
 71 |   enterSubmits: true,
 72 |   rows: 2,
 73 |   enabled: true,
 74 | };
 75 | 
 76 | export const TextArea = forwardRef(function TextArea(
 77 |   {
 78 |     id,
 79 |     value = defaultProps.value,
 80 |     placeholder = defaultProps.placeholder,
 81 |     required = defaultProps.required,
 82 |     readOnly = defaultProps.readOnly,
 83 |     allowCopy = defaultProps.allowCopy,
 84 |     updateState = defaultProps.updateState,
 85 |     validationStatus,
 86 |     autoFocus = defaultProps.autoFocus,
 87 |     initialValue = defaultProps.initialValue,
 88 |     resize,
 89 |     onDidChange = defaultProps.onDidChange,
 90 |     onFocus = defaultProps.onFocus,
 91 |     onBlur = defaultProps.onBlur,
 92 |     controlled = defaultProps.controlled,
 93 |     enterSubmits = defaultProps.enterSubmits,
 94 |     escResets,
 95 |     style,
 96 |     className,
 97 |     registerComponentApi,
 98 |     autoSize,
 99 |     maxRows,
100 |     minRows,
101 |     maxLength,
102 |     rows = defaultProps.rows,
103 |     enabled = defaultProps.enabled,
104 |     ...rest
105 |   }: Props,
106 |   forwardedRef: ForwardedRef<HTMLTextAreaElement>,
107 | ) {
108 |   // --- The component is initially unfocused
109 |   const inputRef = useRef<HTMLTextAreaElement>(null);
110 |   const ref = forwardRef ? composeRefs(forwardedRef, inputRef) : inputRef;
111 |   const [cursorPosition, setCursorPosition] = useState(null);
112 |   const [focused, setFocused] = React.useState(false);
113 | 
114 |   const updateValue = useCallback(
115 |     (value: string) => {
116 |       updateState({ value: value });
117 |       onDidChange(value);
118 |     },
119 |     [onDidChange, updateState],
120 |   );
121 | 
122 |   const onInputChange: ChangeEventHandler<HTMLTextAreaElement> = useCallback(
123 |     (event) => {
124 |       updateValue(event.target.value);
125 |     },
126 |     [updateValue],
127 |   );
128 | 
129 |   useEffect(() => {
130 |     updateState({ value: initialValue }, { initial: true });
131 |   }, [initialValue, updateState]);
132 | 
133 |   useEffect(() => {
134 |     if (autoFocus) {
135 |       setTimeout(() => {
136 |         inputRef.current?.focus();
137 |       }, 0);
138 |     }
139 |   }, [autoFocus, inputRef.current]);
140 | 
141 |   // --- Execute this function when the user copies the value
142 |   const handleCopy = (event: React.SyntheticEvent) => {
143 |     if (allowCopy) {
144 |       return true;
145 |     } else {
146 |       event.preventDefault();
147 |       return false;
148 |     }
149 |   };
150 | 
151 |   // --- Manage obtaining and losing the focus
152 |   const handleOnFocus = () => {
153 |     setFocused(true);
154 |     onFocus?.();
155 |   };
156 |   const handleOnBlur = () => {
157 |     setFocused(false);
158 |     onBlur?.();
159 |   };
160 | 
161 |   const focus = useCallback(() => {
162 |     setTimeout(() => {
163 |       inputRef.current?.focus();
164 |     }, 0);
165 |   }, []);
166 | 
167 |   const insert = useCallback(
168 |     (text: any) => {
169 |       const input = inputRef?.current;
170 |       if (input && text) {
171 |         const start = input.selectionStart;
172 |         const value = input.value;
173 |         onInputChange({
174 |           // @ts-ignore
175 |           target: {
176 |             value: value.substring(0, start) + text + value.substring(start),
177 |           },
178 |         });
179 |         setCursorPosition(start + text.length);
180 |       }
181 |     },
182 |     [inputRef, onInputChange],
183 |   );
184 | 
185 |   const setValue = useEvent((val: string) => {
186 |     updateValue(val);
187 |   });
188 | 
189 |   useEffect(() => {
190 |     if (cursorPosition) {
191 |       const input = inputRef?.current;
192 |       if (input) {
193 |         input.setSelectionRange(cursorPosition, cursorPosition);
194 |         setCursorPosition(null);
195 |       }
196 |     }
197 |   }, [value, cursorPosition, inputRef]);
198 | 
199 |   useEffect(() => {
200 |     registerComponentApi?.({
201 |       focus,
202 |       insert,
203 |       setValue,
204 |     });
205 |   }, [focus, insert, registerComponentApi, setValue]);
206 | 
207 |   // --- Handle the Enter key press
208 |   const handleEnter = useCallback(
209 |     (e: React.KeyboardEvent<HTMLTextAreaElement>) => {
210 |       if (e.currentTarget.form && enterSubmits && e.key.toLowerCase() === "enter" && !e.shiftKey) {
211 |         // -- Do not generate a new line
212 |         e.preventDefault();
213 |         e.currentTarget.form?.requestSubmit();
214 |       }
215 |       if (e.currentTarget.form && escResets && e.key.toLowerCase() === "escape" && !e.shiftKey) {
216 |         e.preventDefault();
217 |         e.currentTarget.form?.reset();
218 |       }
219 |     },
220 |     [enterSubmits, escResets],
221 |   );
222 | 
223 |   let classes = classnames(className, styles.textarea, {
224 |     [styles.resizeHorizontal]: resize === "horizontal",
225 |     [styles.resizeVertical]: resize === "vertical",
226 |     [styles.resizeBoth]: resize === "both",
227 |     [styles.focused]: focused,
228 |     [styles.disabled]: !enabled,
229 |     [styles.error]: validationStatus === "error",
230 |     [styles.warning]: validationStatus === "warning",
231 |     [styles.valid]: validationStatus === "valid",
232 |   });
233 |   const textareaProps: TextareaHTMLAttributes<HTMLTextAreaElement> &
234 |     React.RefAttributes<HTMLTextAreaElement> = {
235 |     ...rest,
236 |     id,
237 |     className: classes,
238 |     ref,
239 |     style: style as any,
240 |     value: controlled ? value || "" : undefined,
241 |     disabled: !enabled,
242 |     name: id,
243 |     placeholder,
244 |     required,
245 |     maxLength,
246 |     "aria-multiline": true,
247 |     "aria-readonly": readOnly,
248 |     readOnly: readOnly,
249 |     onChange: onInputChange,
250 |     onCopy: handleCopy,
251 |     onFocus: handleOnFocus,
252 |     onBlur: handleOnBlur,
253 |     onKeyDown: handleEnter,
254 |     autoComplete: "off",
255 |   };
256 | 
257 |   if (resize === "both" || resize === "horizontal" || resize === "vertical") {
258 |     return (
259 |       <TextAreaResizable
260 |         {...textareaProps}
261 |         data-part-id={PART_INPUT}
262 |         style={style as any}
263 |         className={classnames(classes)}
264 |         maxRows={maxRows}
265 |         minRows={minRows}
266 |         rows={rows}
267 |       />
268 |     );
269 |   }
270 |   if (autoSize || !isNil(maxRows) || !isNil(minRows)) {
271 |     return (
272 |       <TextareaAutosize
273 |         {...textareaProps}
274 |         data-part-id={PART_INPUT}
275 |         style={style as any}
276 |         className={classnames(classes)}
277 |         maxRows={maxRows}
278 |         minRows={minRows}
279 |         rows={rows}
280 |       />
281 |     );
282 |   }
283 | 
284 |   return (
285 |     <textarea
286 |       {...textareaProps}
287 |       data-part-id={PART_INPUT}
288 |       rows={rows}
289 |       className={classnames(classes)}
290 |     />
291 |   );
292 | });
293 | 
```

--------------------------------------------------------------------------------
/docs/content/components/ColorPicker.md:
--------------------------------------------------------------------------------

```markdown
  1 | # ColorPicker [#colorpicker]
  2 | 
  3 | `ColorPicker` enables users to choose colors by specifying RGB, HSL, or HEX values.
  4 | 
  5 | ## Using `ColorPicker` [#using-colorpicker]
  6 | 
  7 | This component allows you to edit or select a color using RGB, HSL, or CSS HEX notation. It displays a popup over the UI and lets you use the mouse or keyboard to edit or select a color.
  8 | 
  9 | ```xmlui-pg copy display name="Example: using ColorPicker"
 10 | <App>
 11 |   <ColorPicker id="colorPicker" label="Select your favorite color" />
 12 |   <Text>Selected color: {colorPicker.value}</Text>
 13 | </App>
 14 | ```
 15 | 
 16 | ## Properties [#properties]
 17 | 
 18 | ### `autoFocus` (default: false) [#autofocus-default-false]
 19 | 
 20 | If this property is set to `true`, the component gets the focus automatically when displayed.
 21 | 
 22 | ### `enabled` (default: true) [#enabled-default-true]
 23 | 
 24 | This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).
 25 | 
 26 | ### `initialValue` [#initialvalue]
 27 | 
 28 | This property sets the component's initial value.
 29 | 
 30 | ```xmlui-pg copy display name="Example: using ColorPicker"
 31 | <App>
 32 |   <ColorPicker 
 33 |     id="colorPicker" 
 34 |     label="Select your favorite color" 
 35 |     initialValue="#ff0080"
 36 |     />
 37 |   <Text>Selected color: {colorPicker.value}</Text>
 38 | </App>
 39 | ```
 40 | 
 41 | ### `readOnly` (default: false) [#readonly-default-false]
 42 | 
 43 | Set this property to `true` to disallow changing the component value.
 44 | 
 45 | ```xmlui-pg copy display name="Example: readOnly"
 46 | <App>
 47 |   <ColorPicker initialValue="#ffff00" label="Cannot be edited" readOnly />
 48 | </App>
 49 | ```
 50 | 
 51 | ### `required` (default: false) [#required-default-false]
 52 | 
 53 | Set this property to `true` to indicate it must have a value before submitting the containing form.
 54 | 
 55 | ### `validationStatus` (default: "none") [#validationstatus-default-none]
 56 | 
 57 | This property allows you to set the validation status of the input component.
 58 | 
 59 | Available values:
 60 | 
 61 | | Value | Description |
 62 | | --- | --- |
 63 | | `valid` | Visual indicator for an input that is accepted |
 64 | | `warning` | Visual indicator for an input that produced a warning |
 65 | | `error` | Visual indicator for an input that produced an error |
 66 | 
 67 | ```xmlui-pg copy display name="Example: validationStatus"
 68 | <App>
 69 |   <ColorPicker initialValue="#c0c0ff" label="Valid" validationStatus="valid" />
 70 |   <ColorPicker initialValue="#c0c0ff" label="Warning" validationStatus="warning" />
 71 |   <ColorPicker initialValue="#c0c0ff" label="Error" validationStatus="error" />
 72 | </App>
 73 | ```
 74 | 
 75 | ## Events [#events]
 76 | 
 77 | ### `didChange` [#didchange]
 78 | 
 79 | This event is triggered when value of ColorPicker has changed.
 80 | 
 81 | ### `gotFocus` [#gotfocus]
 82 | 
 83 | This event is triggered when the ColorPicker has received the focus.
 84 | 
 85 | ### `lostFocus` [#lostfocus]
 86 | 
 87 | This event is triggered when the ColorPicker has lost the focus.
 88 | 
 89 | ## Exposed Methods [#exposed-methods]
 90 | 
 91 | ### `focus` [#focus]
 92 | 
 93 | Focus the ColorPicker component.
 94 | 
 95 | **Signature**: `focus(): void`
 96 | 
 97 | ### `setValue` [#setvalue]
 98 | 
 99 | This method sets the current value of the ColorPicker.
100 | 
101 | **Signature**: `set value(value: string): void`
102 | 
103 | - `value`: The new value to set for the color picker.
104 | 
105 | ```xmlui-pg copy display name="Example: setValue"
106 | <App>
107 |   <App>
108 |     <ColorPicker 
109 |       id="colorPicker" 
110 |       label="Select your favorite color" 
111 |       initialValue="#808080" />
112 |     <HStack>
113 |       <Button
114 |         label="Set to red"
115 |         onClick="colorPicker.setValue('#ff0000')" />
116 |       <Button
117 |         label="Set to green"
118 |         onClick="colorPicker.setValue('#00c000')" />
119 |       <Button
120 |         label="Set to blue"
121 |         onClick="colorPicker.setValue('#0000ff')" />
122 |     </HStack>
123 |   </App>
124 | </App>
125 | ```
126 | 
127 | ### `value` [#value]
128 | 
129 | This method returns the current value of the ColorPicker.
130 | 
131 | **Signature**: `get value(): string`
132 | 
133 | ## Styling [#styling]
134 | 
135 | ### Theme Variables [#theme-variables]
136 | 
137 | | Variable | Default Value (Light) | Default Value (Dark) |
138 | | --- | --- | --- |
139 | | [backgroundColor](../styles-and-themes/common-units/#color)-ColorPicker | *none* | *none* |
140 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--default | *none* | *none* |
141 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--default--focus | *none* | *none* |
142 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--default--hover | *none* | *none* |
143 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--error | *none* | *none* |
144 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--error--focus | *none* | *none* |
145 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--error--hover | *none* | *none* |
146 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--success | *none* | *none* |
147 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--success--focus | *none* | *none* |
148 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--success--hover | *none* | *none* |
149 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--warning | *none* | *none* |
150 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--warning--focus | *none* | *none* |
151 | | [borderColor](../styles-and-themes/common-units/#color)-ColorPicker--warning--hover | *none* | *none* |
152 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-ColorPicker--default | *none* | *none* |
153 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-ColorPicker--error | *none* | *none* |
154 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-ColorPicker--success | *none* | *none* |
155 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-ColorPicker--warning | *none* | *none* |
156 | | [borderStyle](../styles-and-themes/common-units/#border-style)-ColorPicker--default | *none* | *none* |
157 | | [borderStyle](../styles-and-themes/common-units/#border-style)-ColorPicker--error | *none* | *none* |
158 | | [borderStyle](../styles-and-themes/common-units/#border-style)-ColorPicker--success | *none* | *none* |
159 | | [borderStyle](../styles-and-themes/common-units/#border-style)-ColorPicker--warning | *none* | *none* |
160 | | [borderWidth](../styles-and-themes/common-units/#size)-ColorPicker--default | *none* | *none* |
161 | | [borderWidth](../styles-and-themes/common-units/#size)-ColorPicker--error | *none* | *none* |
162 | | [borderWidth](../styles-and-themes/common-units/#size)-ColorPicker--success | *none* | *none* |
163 | | [borderWidth](../styles-and-themes/common-units/#size)-ColorPicker--warning | *none* | *none* |
164 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--default | *none* | *none* |
165 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--default--focus | *none* | *none* |
166 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--default--hover | *none* | *none* |
167 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--error | *none* | *none* |
168 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--error--focus | *none* | *none* |
169 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--error--hover | *none* | *none* |
170 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--success | *none* | *none* |
171 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--success--focus | *none* | *none* |
172 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--success--hover | *none* | *none* |
173 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--warning | *none* | *none* |
174 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--warning--focus | *none* | *none* |
175 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-ColorPicker--warning--hover | *none* | *none* |
176 | 
```

--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------

```html
  1 | <!doctype html>
  2 | <html lang="en">
  3 | 
  4 | <head>
  5 |   <meta charset="UTF-8" />
  6 |   <link rel="icon" type="image/svg+xml" href="/resources/favicon.ico" />
  7 |   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8 |   <link rel="alternate" type="application/rss+xml" title="XMLUI Blog" href="/feed.rss" />
  9 |   <script>window.__PUBLIC_PATH = '/'</script>
 10 |   <base href="/">
 11 |    <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-S7NYYDMNPR"></script> <script>   window.dataLayer = window.dataLayer || [];   function gtag(){dataLayer.push(arguments);}   gtag('js', new Date());   gtag('config', 'G-S7NYYDMNPR'); </script>	
 12 | </head>
 13 | 
 14 | <body>
 15 |   <div id="root"></div>
 16 |   <script type="module" src="/index.ts"></script>
 17 |   <script type="text/javascript">
 18 |     window.transformStops = function(stops) {
 19 | 
 20 |       return stops.map(function(stop) {
 21 | 
 22 |         // Helper to extract a value from additionalProperties by key
 23 |         function getProp(key) {
 24 |           if (!stop.additionalProperties) return '';
 25 |           var propObj = stop.additionalProperties.find(function(p) { return p.key === key; });
 26 |           return propObj ? propObj.value : '';
 27 |         }
 28 | 
 29 |         return {
 30 |           name: stop.commonName,
 31 |           zone: getProp('Zone'),
 32 |           wifi: getProp('WiFi'),
 33 |           toilets: getProp('Toilets'),
 34 |           // A comma-separated list of line names that serve this stop
 35 |           lines: stop.lines
 36 |             ? stop.lines.map(function(line) { return line.name; }).join(', ')
 37 |             : ''
 38 |         };
 39 | 
 40 |       });
 41 |     }
 42 | 
 43 |     window.getComponentsList = function(items) {
 44 |       const onlyComponents = items.filter(item => item.name === 'components');
 45 |       return onlyComponents;
 46 |     }
 47 | 
 48 | 
 49 |     window.sliderValueToDate = function (value) {
 50 |       // Convert a slider value (representing days from start date) to an actual date string
 51 |       // value: number of days offset from startDate
 52 |       // returns: date string in YYYY-MM-DD format
 53 | 
 54 |       // Use fixed start date instead of window.startDate
 55 |       const start = new Date('2022-06-01');  // <-- FIXED: hard-coded instead of window.startDate
 56 | 
 57 |       // Create a new date by adding the slider value (days) to the start date
 58 |       const resultDate = new Date(start);
 59 |       resultDate.setDate(start.getDate() + value);
 60 | 
 61 |       // Format the date as YYYY-MM-DD
 62 |       const year = resultDate.getFullYear();
 63 |       const month = String(resultDate.getMonth() + 1).padStart(2, '0'); // +1 because months are 0-indexed
 64 |       const day = String(resultDate.getDate()).padStart(2, '0');
 65 | 
 66 |       const result = `${year}-${month}-${day}`;
 67 |       return result
 68 |     }
 69 | 
 70 |     window.formatMonth = function (month) {
 71 |       // Input: '2022-06'
 72 |       const [year, monthNum] = month.split('-');
 73 |       const date = new Date(year, monthNum - 1);
 74 |       return date.toLocaleString('default', { month: 'short', year: '2-digit' });
 75 |       // Output: 'Jun 22'
 76 |     }
 77 | 
 78 |     window.formatToday = function (plusDays = 0) {
 79 |       const date = new Date();
 80 |       if (plusDays !== 0) {
 81 |         date.setDate(date.getDate() + plusDays);
 82 |       }
 83 |       return date.toISOString().slice(0, 10).replace(/-/g, '/');
 84 |     }
 85 | 
 86 |     window.lineItemTotal = function (lineItems) {
 87 |       if (!lineItems || !Array.isArray(lineItems)) {
 88 |         return 0;
 89 |       }
 90 | 
 91 |       let total = 0;
 92 |       for (const item of lineItems) {
 93 |         if (item && typeof item.amount === 'number') {
 94 |           total += item.amount;
 95 |         }
 96 |       }
 97 |       return total;
 98 |     }
 99 | 
100 |     window.sampleInvoice = {
101 |       id: 55,
102 |       invoice_number: "INV-1003",
103 |       client: 'Globex Corporation',
104 |       issue_date: "2025-03-13",
105 |       due_date: "2025-03-28",
106 |       status: "sent",
107 |       notes: "Monthly service invoice",
108 |       items: "[{\"id\": 14, \"name\": \"API Integration\", \"price\": 105, \"quantity\": 5, \"total\": 525}]",
109 |       total: 525,
110 |       created_at: "2025-04-19T23:45:47.937465",
111 |       paid_date: null
112 |     }
113 | 
114 |     window.filterInvoicesAfter = function (data, dateAfter) {
115 |       if (!dateAfter) return data;
116 |       return data
117 |         .filter(invoice => new Date(invoice.issue_date) >= new Date(dateAfter))
118 |         .sort((a, b) => new Date(a.issue_date) - new Date(b.issue_date));
119 |     }
120 | 
121 |     window.formatDate = function (date) {
122 |       return date.substring(0, 10)
123 |     }
124 | 
125 |     window.filterSearchResults = function (clients, products, invoices, searchTerm) {
126 |       if (!searchTerm) return [];
127 | 
128 |       const term = searchTerm.toLowerCase();
129 |       const results = [];
130 | 
131 |       // Search clients - access the .value property
132 |       if (clients && clients.value) {
133 |         clients.value.forEach(client => {
134 |           const nameMatch = client.name && client.name.toLowerCase().includes(term);
135 |           const emailMatch = client.email && client.email.toLowerCase().includes(term);
136 |           const phoneMatch = client.phone && client.phone.toLowerCase().includes(term);
137 |           const addressMatch = client.address && client.address.toLowerCase().includes(term);
138 | 
139 |           if (nameMatch || emailMatch || phoneMatch || addressMatch) {
140 |             let snippet = client.name;
141 |             if (nameMatch) snippet = `Name: ${client.name}`;
142 |             else if (emailMatch) snippet = `Email: ${client.email}`;
143 |             else if (phoneMatch) snippet = `Phone: ${client.phone}`;
144 |             else if (addressMatch) snippet = `Address: ${client.address}`;
145 | 
146 |             results.push({
147 |               table_name: 'clients',
148 |               record_id: client.id,
149 |               title: client.name,
150 |               snippet: snippet
151 |             });
152 |           }
153 |         });
154 |       }
155 | 
156 |       // Search products
157 |       if (products && products.value) {
158 |         products.value.forEach(product => {
159 |           const nameMatch = product.name && product.name.toLowerCase().includes(term);
160 |           const descMatch = product.description && product.description.toLowerCase().includes(term);
161 | 
162 |           if (nameMatch || descMatch) {
163 |             let snippet = product.name;
164 |             if (nameMatch) snippet = `Product: ${product.name}`;
165 |             else if (descMatch) snippet = `Description: ${product.description}`;
166 | 
167 |             results.push({
168 |               table_name: 'products',
169 |               record_id: product.id,
170 |               title: product.name,
171 |               snippet: snippet
172 |             });
173 |           }
174 |         });
175 |       }
176 | 
177 |       // Search invoices
178 |       if (invoices && invoices.value) {
179 |         invoices.value.forEach(invoice => {
180 |           const numberMatch = invoice.invoice_number && invoice.invoice_number.toLowerCase().includes(term);
181 |           const notesMatch = invoice.notes && invoice.notes.toLowerCase().includes(term);
182 |           const itemsMatch = invoice.items && invoice.items.toLowerCase().includes(term);
183 | 
184 |           if (numberMatch || notesMatch || itemsMatch) {
185 |             let snippet = `Invoice: ${invoice.invoice_number}`;
186 |             if (numberMatch) snippet = `Invoice: ${invoice.invoice_number}`;
187 |             else if (notesMatch) snippet = `Notes: ${invoice.notes.substring(0, 100)}...`;
188 |             else if (itemsMatch) snippet = `Items: ${invoice.items.substring(0, 100)}...`;
189 | 
190 |             results.push({
191 |               table_name: 'invoices',
192 |               record_id: invoice.id,
193 |               title: invoice.invoice_number,
194 |               snippet: snippet
195 |             });
196 |           }
197 |         });
198 |       }
199 | 
200 |       return results;
201 |     }
202 | 
203 |     window.handleHelloClick = function(event) {
204 |       console.log('Hello World clicked!', event);
205 |       alert('Button clicked!');
206 |     };
207 | 
208 |     window.handleHelloReset = function(event) {
209 |       console.log('Hello World reset!', event);
210 |       alert('Counter was reset!');
211 |     };
212 | 
213 | 
214 |   </script>
215 | </body>
216 | 
217 | </html>
```

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

```typescript
  1 | import { test, expect } from "../../testing/fixtures";
  2 | 
  3 | // =============================================================================
  4 | // BASIC FUNCTIONALITY TESTS
  5 | // =============================================================================
  6 | 
  7 | test.describe("Basic Functionality", () => {
  8 |   test("component renders with basic props", async ({ initTestBed, createProgressBarDriver }) => {
  9 |     await initTestBed(`<ProgressBar value="{0.5}" />`);
 10 |     const driver = await createProgressBarDriver();
 11 | 
 12 |     await expect(driver.component).toBeVisible();
 13 |     await expect(driver.bar).toBeVisible();
 14 |   });
 15 | 
 16 |   test("displays progress value correctly", async ({ initTestBed, createProgressBarDriver }) => {
 17 |     await initTestBed(`<ProgressBar value="{0.7}" />`);
 18 |     const driver = await createProgressBarDriver();
 19 | 
 20 |     const value = await driver.getProgressRatio();
 21 |     expect(value).toBeCloseTo(0.7, 2);
 22 |   });
 23 | 
 24 |   test("handles zero value", async ({ initTestBed, createProgressBarDriver }) => {
 25 |     await initTestBed(`<ProgressBar value="{0}" />`);
 26 |     const driver = await createProgressBarDriver();
 27 | 
 28 |     const value = await driver.getProgressRatio();
 29 |     expect(value).toBe(0);
 30 |   });
 31 | 
 32 |   test("handles maximum value", async ({ initTestBed, createProgressBarDriver }) => {
 33 |     await initTestBed(`<ProgressBar value="{1}" />`);
 34 |     const driver = await createProgressBarDriver();
 35 | 
 36 |     const value = await driver.getProgressRatio();
 37 |     expect(value).toBe(1);
 38 |   });
 39 | 
 40 |   test("handles decimal values", async ({ initTestBed, createProgressBarDriver }) => {
 41 |     await initTestBed(`<ProgressBar value="{0.335}" />`);
 42 |     const driver = await createProgressBarDriver();
 43 | 
 44 |     const value = await driver.getProgressRatio();
 45 |     expect(value).toBeCloseTo(0.335, 3);
 46 |   });
 47 | 
 48 |   test("handles string value prop", async ({ initTestBed, createProgressBarDriver }) => {
 49 |     await initTestBed(`<ProgressBar value="0.6" />`);
 50 |     const driver = await createProgressBarDriver();
 51 | 
 52 |     const value = await driver.getProgressRatio();
 53 |     expect(value).toBeCloseTo(0.6, 2);
 54 |   });
 55 | 
 56 |   test("component renders without value prop", async ({ initTestBed, createProgressBarDriver }) => {
 57 |     await initTestBed(`<ProgressBar />`);
 58 |     const driver = await createProgressBarDriver();
 59 | 
 60 |     await expect(driver.component).toBeVisible();
 61 |     const value = await driver.getProgressRatio();
 62 |     expect(value).toBe(0);
 63 |   });
 64 | });
 65 | 
 66 | // =============================================================================
 67 | // ACCESSIBILITY TESTS
 68 | // =============================================================================
 69 | 
 70 | test.describe("Accessibility", () => {
 71 |   test("has proper accessibility roles", async ({ initTestBed, page }) => {
 72 |     await initTestBed(`<ProgressBar value="{0.6}" />`);
 73 | 
 74 |     const bar = page.getByRole("progressbar");
 75 |     await expect(bar).toHaveAttribute("aria-valuemin", "0");
 76 |     await expect(bar).toHaveAttribute("aria-valuemax", "100");
 77 |     await expect(bar).toHaveAttribute("aria-valuenow", "60");
 78 |   });
 79 | 
 80 |   test("maintains accessibility attributes with edge case values", async ({
 81 |     initTestBed,
 82 |     page,
 83 |   }) => {
 84 |     await initTestBed(`<ProgressBar value="{-5}" />`);
 85 | 
 86 |     const bar = page.getByRole("progressbar");
 87 |     await expect(bar).toHaveAttribute("aria-valuenow", "0");
 88 |     await expect(bar).toHaveAttribute("aria-valuemin", "0");
 89 |     await expect(bar).toHaveAttribute("aria-valuemax", "100");
 90 |   });
 91 | });
 92 | 
 93 | // =============================================================================
 94 | // EDGE CASES TESTS
 95 | // =============================================================================
 96 | 
 97 | test.describe("Edge Cases", () => {
 98 |   test("handles negative values by clamping to 0", async ({
 99 |     initTestBed,
100 |     createProgressBarDriver,
101 |   }) => {
102 |     await initTestBed(`<ProgressBar value="{-0.5}" />`);
103 |     const driver = await createProgressBarDriver();
104 | 
105 |     const value = await driver.getProgressRatio();
106 |     expect(value).toBe(0);
107 |   });
108 | 
109 |   test("handles values greater than 1 by clamping to 1", async ({
110 |     initTestBed,
111 |     createProgressBarDriver,
112 |   }) => {
113 |     await initTestBed(`<ProgressBar value="{1.5}" />`);
114 |     const driver = await createProgressBarDriver();
115 | 
116 |     const value = await driver.getProgressRatio();
117 |     expect(value).toBe(1);
118 |   });
119 | 
120 |   test("handles NaN values", async ({ initTestBed, createProgressBarDriver }) => {
121 |     await initTestBed(`<ProgressBar value="{NaN}" />`);
122 |     const driver = await createProgressBarDriver();
123 | 
124 |     const value = await driver.getProgressRatio();
125 |     expect(value).toBe(0);
126 |   });
127 | 
128 |   test("handles undefined value", async ({ initTestBed, createProgressBarDriver }) => {
129 |     await initTestBed(`<ProgressBar value="{undefined}" />`);
130 |     const driver = await createProgressBarDriver();
131 | 
132 |     const value = await driver.getProgressRatio();
133 |     expect(value).toBe(0);
134 |   });
135 | 
136 |   test("handles null value", async ({ initTestBed, createProgressBarDriver }) => {
137 |     await initTestBed(`<ProgressBar value="{null}" />`);
138 |     const driver = await createProgressBarDriver();
139 | 
140 |     const value = await driver.getProgressRatio();
141 |     expect(value).toBe(0);
142 |   });
143 | 
144 |   test("handles very small decimal values", async ({ initTestBed, createProgressBarDriver }) => {
145 |     await initTestBed(`<ProgressBar value="{0.001}" />`);
146 |     const driver = await createProgressBarDriver();
147 | 
148 |     const value = await driver.getProgressRatio();
149 |     expect(value).toBeCloseTo(0.001, 3);
150 |   });
151 | 
152 |   test("handles string values that are not numbers", async ({
153 |     initTestBed,
154 |     createProgressBarDriver,
155 |   }) => {
156 |     await initTestBed(`<ProgressBar value="invalid" />`);
157 |     const driver = await createProgressBarDriver();
158 | 
159 |     const value = await driver.getProgressRatio();
160 |     expect(value).toBe(0);
161 |   });
162 | 
163 |   test("handles empty string value", async ({ initTestBed, createProgressBarDriver }) => {
164 |     await initTestBed(`<ProgressBar value="" />`);
165 |     const driver = await createProgressBarDriver();
166 | 
167 |     const value = await driver.getProgressRatio();
168 |     expect(value).toBe(0);
169 |   });
170 | 
171 |   test("handles 'true' value", async ({ initTestBed, createProgressBarDriver }) => {
172 |     await initTestBed(`<ProgressBar value="{true}" />`);
173 |     const driver = await createProgressBarDriver();
174 |     const value = await driver.getProgressRatio();
175 |     expect(value).toBe(1);
176 |   });
177 | 
178 |   test("handles 'false' value", async ({ initTestBed, createProgressBarDriver }) => {
179 |     await initTestBed(`<ProgressBar value="{false}" />`);
180 |     const driver = await createProgressBarDriver();
181 |     const value = await driver.getProgressRatio();
182 |     expect(value).toBe(0);
183 |   });
184 | });
185 | 
186 | // =============================================================================
187 | // THEME VARIABLES TESTS
188 | // =============================================================================
189 | 
190 | test.describe("Theme Variables", () => {
191 |   test("applies theme variables correctly", async ({ initTestBed, createProgressBarDriver }) => {
192 |     await initTestBed(`<ProgressBar value="{0.5}" />`, {
193 |       testThemeVars: {
194 |         "borderRadius-ProgressBar": "10px",
195 |         "borderRadius-indicator-ProgressBar": "5px",
196 |         "thickness-ProgressBar": "20px",
197 |         "backgroundColor-ProgressBar": "rgb(255, 0, 0)",
198 |         "color-indicator-ProgressBar": "rgb(0, 255, 0)",
199 |       },
200 |     });
201 |     const driver = await createProgressBarDriver();
202 | 
203 |     await expect(driver.component).toHaveCSS("border-radius", "10px");
204 |     await expect(driver.bar).toHaveCSS("border-radius", "5px");
205 |     await expect(driver.component).toHaveCSS("height", "20px");
206 |     await expect(driver.component).toHaveCSS("background-color", "rgb(255, 0, 0)");
207 |     await expect(driver.bar).toHaveCSS("background-color", "rgb(0, 255, 0)");
208 |   });
209 | });
210 | 
```
Page 41/187FirstPrevNextLast