#
tokens: 49870/50000 3/1635 files (page 106/190)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 106 of 190. Use http://codebase.md/xmlui-org/xmlui/%7Bimage%7D?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── config.json
│   ├── dark-tips-mate.md
│   ├── eight-parrots-melt.md
│   └── five-women-win.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
│   │   │   ├── icons
│   │   │   │   ├── github.svg
│   │   │   │   └── rss.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
│   │   │   ├── LinkButton.xmlui
│   │   │   ├── PageNotFound.xmlui
│   │   │   └── Separator.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
│   │           ├── HelloMd.md
│   │           ├── HeroSection.md
│   │           └── ScrollToTop.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── feed.rss
│   │   ├── mockServiceWorker.js
│   │   ├── pages
│   │   │   ├── _meta.json
│   │   │   ├── app-structure.md
│   │   │   ├── build-editor-component.md
│   │   │   ├── build-hello-world-component.md
│   │   │   ├── components-intro.md
│   │   │   ├── context-variables.md
│   │   │   ├── forms.md
│   │   │   ├── globals.md
│   │   │   ├── glossary.md
│   │   │   ├── helper-tags.md
│   │   │   ├── hosted-deployment.md
│   │   │   ├── howto
│   │   │   │   ├── assign-a-complex-json-literal-to-a-component-variable.md
│   │   │   │   ├── chain-a-refetch.md
│   │   │   │   ├── 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
│   │   │   ├── icons
│   │   │   │   ├── github.svg
│   │   │   │   └── rss.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
│   │   ├── staticwebapp.config.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
│   │   │   ├── LinkButton.xmlui
│   │   │   ├── NameValue.xmlui
│   │   │   ├── PageNotFound.xmlui
│   │   │   ├── PaletteItem.xmlui
│   │   │   ├── Palettes.xmlui
│   │   │   ├── SectionHeader.xmlui
│   │   │   ├── Separator.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.module.scss
│   │       │   ├── 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.tsx
│   │       │   ├── StandalonePlayground.tsx
│   │       │   ├── StandalonePlaygroundNative.module.scss
│   │       │   ├── StandalonePlaygroundNative.tsx
│   │       │   ├── ThemeSwitcher.module.scss
│   │       │   ├── ThemeSwitcher.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
    │   │   │   └── test-padding.xmlui
    │   │   ├── 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
    │   └── 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/AutoComplete/AutoComplete.spec.ts:
--------------------------------------------------------------------------------

```typescript
  1 | import { SKIP_REASON } from "../../testing/component-test-helpers";
  2 | import { expect, test } from "../../testing/fixtures";
  3 | 
  4 | // =============================================================================
  5 | // BASIC FUNCTIONALITY TESTS
  6 | // =============================================================================
  7 | 
  8 | test("renders with default props", async ({ initTestBed, createAutoCompleteDriver }) => {
  9 |   await initTestBed(`
 10 |     <AutoComplete />
 11 |   `);
 12 | 
 13 |   const driver = await createAutoCompleteDriver();
 14 | 
 15 |   await expect(driver.component).toBeVisible();
 16 | });
 17 | 
 18 | test("displays placeholder text", async ({ initTestBed, page }) => {
 19 |   const placeholder = "Search for an option";
 20 |   await initTestBed(`<AutoComplete placeholder="${placeholder}" />`);
 21 |   await expect(page.getByPlaceholder(placeholder)).toBeVisible();
 22 | });
 23 | 
 24 | test("initialValue sets the selected option", async ({ initTestBed, page }) => {
 25 |   await initTestBed(`
 26 |     <Fragment>
 27 |       <AutoComplete id="autoComplete" initialValue="1" label="Select a superhero">
 28 |         <Option value="1" label="Bruce Wayne" />
 29 |         <Option value="2" label="Clark Kent" />
 30 |         <Option value="3" label="Diana Prince" />
 31 |       </AutoComplete>
 32 |       <Text testId="text">Selected value: {autoComplete.value}</Text>
 33 |     </Fragment>
 34 |   `);
 35 | 
 36 |   await expect(page.getByTestId("text")).toHaveText("Selected value: 1");
 37 |   await expect(page.getByRole("combobox")).toHaveValue("Bruce Wayne");
 38 | });
 39 | 
 40 | test("opens dropdown when clicked", async ({ initTestBed, page, createAutoCompleteDriver }) => {
 41 |   await initTestBed(`
 42 |     <AutoComplete>
 43 |       <Option value="1" label="Bruce Wayne" />
 44 |       <Option value="2" label="Clark Kent" />
 45 |       <Option value="3" label="Diana Prince" />
 46 |     </AutoComplete>
 47 |   `);
 48 | 
 49 |   const driver = await createAutoCompleteDriver();
 50 |   await driver.click();
 51 | 
 52 |   await expect(page.getByRole("listbox")).toBeVisible();
 53 | });
 54 | 
 55 | test("selects an option when clicked", async ({ initTestBed, page, createAutoCompleteDriver }) => {
 56 |   await initTestBed(`
 57 |     <Fragment>
 58 |       <AutoComplete id="autoComplete">
 59 |         <Option value="1" label="Bruce Wayne" />
 60 |         <Option value="2" label="Clark Kent" />
 61 |         <Option value="3" label="Diana Prince" />
 62 |       </AutoComplete>
 63 |       <Text testId="text">Selected value: {autoComplete.value}</Text>
 64 |     </Fragment>
 65 |   `);
 66 | 
 67 |   const driver = await createAutoCompleteDriver("autoComplete");
 68 | 
 69 |   // Open the dropdown
 70 |   await driver.click();
 71 | 
 72 |   // Wait for options to be visible before selecting
 73 |   await page.getByRole("option", { name: "Diana Prince" }).waitFor({ state: "visible" });
 74 | 
 75 |   // Select the option
 76 |   await driver.selectLabel("Diana Prince");
 77 | 
 78 |   // Verify the results
 79 |   await expect(page.getByTestId("text")).toHaveText("Selected value: 3");
 80 |   await expect(page.getByRole("combobox")).toHaveValue("Diana Prince");
 81 | });
 82 | 
 83 | // =============================================================================
 84 | // EDGE CASE TESTS
 85 | // =============================================================================
 86 | 
 87 | test("disabled option cannot be selected", async ({
 88 |   initTestBed,
 89 |   page,
 90 |   createAutoCompleteDriver,
 91 | }) => {
 92 |   await initTestBed(`
 93 |     <Fragment>
 94 |       <AutoComplete id="autoComplete">
 95 |         <Option value="1" label="Bruce Wayne" />
 96 |         <Option value="2" label="Clark Kent" enabled="false" />
 97 |         <Option value="3" label="Diana Prince" />
 98 |       </AutoComplete>
 99 |       <Text testId="text">Selected value: {autoComplete.value}</Text>
100 |     </Fragment>
101 |   `);
102 | 
103 |   const driver = await createAutoCompleteDriver("autoComplete");
104 |   await driver.click();
105 | 
106 |   await driver.selectLabel("Clark Kent");
107 | 
108 |   // Value should not change to the disabled option
109 |   await expect(page.getByRole("combobox")).not.toHaveValue("Bruce Wayne");
110 |   await expect(page.getByTestId("text")).not.toHaveText("Selected value: 2");
111 | });
112 | 
113 | // =============================================================================
114 | // INTEGRATION TESTS
115 | // =============================================================================
116 | 
117 | test("multi mode allows selecting multiple options", async ({
118 |   initTestBed,
119 |   page,
120 |   createAutoCompleteDriver,
121 | }) => {
122 |   await initTestBed(`
123 |     <Fragment>
124 |       <AutoComplete id="autoComplete" multi="true">
125 |         <Option value="1" label="Bruce Wayne" />
126 |         <Option value="2" label="Clark Kent" />
127 |         <Option value="3" label="Diana Prince" />
128 |       </AutoComplete>
129 |       <Text testId="text">Selected values: {autoComplete.value}</Text>
130 |     </Fragment>
131 |   `);
132 | 
133 |   const driver = await createAutoCompleteDriver("autoComplete");
134 |   await driver.click();
135 | 
136 |   // Click the first option
137 |   await driver.selectLabel("Bruce Wayne");
138 | 
139 |   // First option should be selected
140 |   await expect(page.getByTestId("text")).toHaveText("Selected values: 1");
141 | 
142 |   // Click another option
143 |   await driver.selectLabel("Diana Prince");
144 | 
145 |   // Both options should be selected
146 |   await expect(page.getByTestId("text")).toHaveText("Selected values: 1,3");
147 | 
148 |   await driver.click();
149 | 
150 |   // Both selected options should be visible as badges
151 |   await expect(page.getByText("Bruce Wayne")).toBeVisible();
152 |   await expect(page.getByText("Diana Prince")).toBeVisible();
153 | });
154 | 
155 | test("searching filters options", async ({ initTestBed, page, createAutoCompleteDriver }) => {
156 |   await initTestBed(`
157 |     <AutoComplete>
158 |       <Option value="1" label="Bruce Wayne" />
159 |       <Option value="2" label="Clark Kent" />
160 |       <Option value="3" label="Diana Prince" />
161 |       <Option value="4" label="Barry Allen" />
162 |       <Option value="5" label="Hal Jordan" />
163 |     </AutoComplete>
164 |   `);
165 | 
166 |   const driver = await createAutoCompleteDriver();
167 |   await driver.click();
168 | 
169 |   // Type in the search field
170 |   await page.keyboard.type("Bruce");
171 | 
172 |   // Only Bruce Wayne should be visible
173 |   await expect(page.getByText("Bruce Wayne")).toBeVisible();
174 |   await expect(page.getByText("Clark Kent")).not.toBeVisible();
175 |   await expect(page.getByText("Diana Prince")).not.toBeVisible();
176 | });
177 | 
178 | test("emptyListTemplate is shown when no options match", async ({
179 |   initTestBed,
180 |   page,
181 |   createAutoCompleteDriver,
182 | }) => {
183 |   await initTestBed(`
184 |     <AutoComplete>
185 |       <property name="emptyListTemplate">
186 |         <Text>No options found</Text>
187 |       </property>
188 |       <Option value="1" label="Bruce Wayne" />
189 |       <Option value="2" label="Clark Kent" />
190 |       <Option value="3" label="Diana Prince" />
191 |     </AutoComplete>
192 |   `);
193 | 
194 |   const driver = await createAutoCompleteDriver();
195 |   await driver.click();
196 | 
197 |   // Type something that doesn't match any option
198 |   await page.keyboard.type("Joker");
199 | 
200 |   // Empty list template should be shown
201 |   await expect(page.getByText("No options found")).toBeVisible();
202 | });
203 | 
204 | test("optionTemplate customizes option appearance", async ({
205 |   initTestBed,
206 |   page,
207 |   createAutoCompleteDriver,
208 | }) => {
209 |   await initTestBed(`
210 |     <AutoComplete>
211 |       <property name="optionTemplate">
212 |         <Text textAlign="center" color="purple">{$item.label}</Text>
213 |       </property>
214 |       <Option value="1" label="Bruce Wayne" />
215 |       <Option value="2" label="Clark Kent" />
216 |       <Option value="3" label="Diana Prince" />
217 |     </AutoComplete>
218 |   `);
219 | 
220 |   const driver = await createAutoCompleteDriver();
221 |   await driver.click();
222 | 
223 |   // Options should be visible with custom styling
224 |   await expect(page.getByText("Bruce Wayne")).toBeVisible();
225 |   await expect(page.getByText("Clark Kent")).toBeVisible();
226 |   await expect(page.getByText("Diana Prince")).toBeVisible();
227 | });
228 | 
229 | // =============================================================================
230 | // VISUAL STATE TESTS
231 | // =============================================================================
232 | 
233 | test("readOnly prevents changing selection", async ({
234 |   initTestBed,
235 |   page,
236 |   createAutoCompleteDriver,
237 | }) => {
238 |   await initTestBed(`
239 |     <AutoComplete readOnly="true" initialValue="1">
240 |       <Option value="1" label="Bruce Wayne" />
241 |       <Option value="2" label="Clark Kent" />
242 |       <Option value="3" label="Diana Prince" />
243 |     </AutoComplete>
244 |   `);
245 | 
246 |   // Initial value should be displayed
247 |   await expect(page.getByRole("combobox")).toHaveValue("Bruce Wayne");
248 | 
249 |   // Try to click to open dropdown
250 |   const driver = await createAutoCompleteDriver();
251 |   await driver.click();
252 | 
253 |   // Selection should not change
254 |   await expect(page.getByRole("listbox")).not.toBeVisible();
255 | });
256 | 
257 | test("disabled state prevents interaction", async ({
258 |   initTestBed,
259 |   page,
260 |   createAutoCompleteDriver,
261 | }) => {
262 |   await initTestBed(`
263 |     <AutoComplete enabled="false">
264 |       <Option value="1" label="Bruce Wayne" />
265 |       <Option value="2" label="Clark Kent" />
266 |       <Option value="3" label="Diana Prince" />
267 |     </AutoComplete>
268 |   `);
269 | 
270 |   const driver = await createAutoCompleteDriver();
271 | 
272 |   // Try to click to open dropdown
273 |   await driver.click({ force: true });
274 | 
275 |   // Try to type in the input
276 |   await page.keyboard.type("Joker");
277 | 
278 |   // Dropdown should not open
279 |   await expect(page.getByRole("listbox")).not.toBeVisible();
280 | 
281 |   // Input should not change
282 |   await expect(page.getByRole("combobox")).toHaveValue("");
283 | });
284 | 
285 | // =============================================================================
286 | // API AND EVENT TESTS
287 | // =============================================================================
288 | 
289 | test("didChange event fires when option is selected", async ({
290 |   initTestBed,
291 |   page,
292 |   createAutoCompleteDriver,
293 | }) => {
294 |   await initTestBed(`
295 |     <App var.selectedValue="">
296 |       <AutoComplete id="autoComplete" onDidChange="(val) => selectedValue = val">
297 |         <Option value="1" label="Bruce Wayne" />
298 |         <Option value="2" label="Clark Kent" />
299 |         <Option value="3" label="Diana Prince" />
300 |       </AutoComplete>
301 |       <Text testId="text">{selectedValue}</Text>
302 |     </App>
303 |   `);
304 | 
305 |   const driver = await createAutoCompleteDriver("autoComplete");
306 |   await driver.click();
307 |   await driver.selectLabel("Diana Prince");
308 | 
309 |   await expect(page.getByTestId("text")).toHaveText("3");
310 | });
311 | 
312 | test("gotFocus and lostFocus events work correctly", async ({
313 |   initTestBed,
314 |   page,
315 |   createAutoCompleteDriver,
316 | }) => {
317 |   await initTestBed(`
318 |     <App var.isFocused="false">
319 |       <Text testId="focusText">{isFocused === true ? 'AutoComplete focused' : 'AutoComplete lost focus'}</Text>
320 |       <AutoComplete
321 |         id="autoComplete"
322 |         onGotFocus="isFocused = true"
323 |         onLostFocus="isFocused = false"
324 |       >
325 |         <Option value="1" label="Bruce Wayne" />
326 |       </AutoComplete>
327 |     </App>
328 |   `);
329 | 
330 |   // Initial state
331 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete lost focus");
332 | 
333 |   // Focus the autocomplete
334 |   const driver = await createAutoCompleteDriver("autoComplete");
335 |   await driver.click();
336 | 
337 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete focused");
338 | 
339 |   // Blur the autocomplete
340 |   await page.keyboard.press("Tab");
341 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete lost focus");
342 | });
343 | 
344 | test("gotFocus and lostFocus events by clicking on label work correctly", async ({
345 |   initTestBed,
346 |   page,
347 | }) => {
348 |   await initTestBed(`
349 |     <App var.isFocused="false">
350 |       <Text testId="focusText">{isFocused === true ? 'AutoComplete focused' : 'AutoComplete lost focus'}</Text>
351 |       <AutoComplete
352 |         id="autoComplete"
353 |         label="Select a hero"
354 |         onGotFocus="isFocused = true"
355 |         onLostFocus="isFocused = false"
356 |       >
357 |         <Option value="1" label="Bruce Wayne" />
358 |       </AutoComplete>
359 |     </App>
360 |   `);
361 | 
362 |   // Initial state
363 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete lost focus");
364 | 
365 |   // Focus the autocomplete
366 |   await page.getByText("Select a hero").click();
367 | 
368 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete focused");
369 | 
370 |   // Blur the autocomplete
371 |   await page.keyboard.press("Tab");
372 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete lost focus");
373 | });
374 | 
375 | test("setValue API works correctly", async ({ initTestBed, page }) => {
376 |   await initTestBed(`
377 |     <App>
378 |       <AutoComplete id="autoComplete">
379 |         <Option value="1" label="Bruce Wayne" />
380 |         <Option value="2" label="Clark Kent" />
381 |         <Option value="3" label="Diana Prince" />
382 |       </AutoComplete>
383 |       <Button
384 |         testId="setButton"
385 |         label="Set Value"
386 |         onClick="autoComplete.setValue('2')" />
387 |       <Text testId="text">Selected value: {autoComplete.value}</Text>
388 |     </App>
389 |   `);
390 | 
391 |   // Initially no selection
392 |   await expect(page.getByTestId("text")).toHaveText("Selected value: ");
393 | 
394 |   // Set the value using the API
395 |   await page.getByTestId("setButton").click();
396 |   await expect(page.getByTestId("text")).toHaveText("Selected value: 2");
397 |   await expect(page.getByRole("combobox")).toHaveValue("Clark Kent");
398 | });
399 | 
400 | test("focus API brings focus to the component", async ({ initTestBed, page }) => {
401 |   await initTestBed(`
402 |     <App var.isFocused="false">
403 |       <Text testId="focusText">{isFocused === true ? 'AutoComplete focused' : 'AutoComplete lost focus'}</Text>
404 |  
405 |       <AutoComplete id="autoComplete">
406 |         <Option value="1" label="Bruce Wayne" />
407 |       </AutoComplete>
408 |       <Button
409 |         testId="focusButton"
410 |         label="Focus AutoComplete"
411 |         onClick="autoComplete.focus()" />
412 |     </App>
413 |   `);
414 | 
415 |   // Initial state
416 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete lost focus");
417 | 
418 |   // Focus the autocomplete using the API
419 |   await page.getByTestId("focusButton").click();
420 | 
421 |   // Check if the autocomplete is focused
422 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete lost focus");
423 | 
424 |   const isFocused = await page
425 |     .getByRole("combobox")
426 |     .evaluate((el) => document.activeElement === el);
427 |   expect(isFocused).toBeTruthy();
428 | });
429 | 
430 | test("autoFocus brings focus to the component on load", async ({ initTestBed, page }) => {
431 |   await initTestBed(`
432 |     <App var.isFocused="false">
433 |       <Text testId="focusText">{isFocused === true ? 'AutoComplete focused' : 'AutoComplete lost focus'}</Text>
434 |       <AutoComplete autoFocus="true" onGotFocus="isFocused = true">
435 |         <Option value="1" label="Bruce Wayne" />
436 |       </AutoComplete>
437 |     </App>
438 |   `);
439 | 
440 |   await expect(page.getByTestId("focusText")).toHaveText("AutoComplete focused");
441 | });
442 | 
443 | test("creates new option when typing non-existing value", async ({
444 |   initTestBed,
445 |   page,
446 |   createAutoCompleteDriver,
447 | }) => {
448 |   const { testStateDriver } = await initTestBed(`
449 |     <Fragment>
450 |       <AutoComplete id="autoComplete" creatable="true" onItemCreated="item => testState = item">
451 |         <Option value="1" label="Bruce Wayne" />
452 |         <Option value="2" label="Clark Kent" />
453 |       </AutoComplete>
454 |     </Fragment>
455 |   `);
456 | 
457 |   const driver = await createAutoCompleteDriver("autoComplete");
458 |   await driver.click();
459 | 
460 |   // Type a new option
461 |   await page.keyboard.type("Peter Parker");
462 |   await page.keyboard.press("Enter");
463 | 
464 |   expect(await testStateDriver.testState()).toBe("Peter Parker");
465 | });
466 | 
467 | // =============================================================================
468 | // ACCESSIBILITY TESTS
469 | // =============================================================================
470 | 
471 | test("has appropriate ARIA attributes", async ({ initTestBed, page }) => {
472 |   // ), //   "There's a weird issue where the aria-expanded attribute is not set correctly on the input but it is on the wrapping div.", // SKIP_REASON.XMLUI_BUG(
473 |   // TODO: review these Copilot-created tests
474 |   await initTestBed(`
475 |     <AutoComplete label="Select a hero" placeholder="Search heroes">
476 |       <Option value="1" label="Bruce Wayne" />
477 |       <Option value="2" label="Clark Kent" />
478 |       <Option value="3" label="Diana Prince" />
479 |     </AutoComplete>
480 |   `);
481 | 
482 |   // Get the combobox element
483 |   const listWrapper = page.locator('[data-part-id="listWrapper"]').first();
484 |   const combobox = page.getByRole("combobox");
485 | 
486 |   // Check initial ARIA attributes
487 |   await expect(combobox).toHaveAttribute("aria-autocomplete", "list");
488 |   await expect(listWrapper).toHaveAttribute("aria-expanded", "false");
489 | 
490 |   // Open the dropdown
491 |   await combobox.focus();
492 |   await page.keyboard.press("Enter");
493 | 
494 |   // Check expanded state
495 |   await expect(listWrapper).toHaveAttribute("aria-expanded", "true");
496 | });
497 | 
498 | test("supports keyboard navigation with arrow keys", async ({ initTestBed, page }) => {
499 |   await initTestBed(`
500 |     <AutoComplete id="autoComplete">
501 |       <Option value="1" label="Bruce Wayne" />
502 |       <Option value="2" label="Clark Kent" />
503 |       <Option value="3" label="Diana Prince" />
504 |     </AutoComplete>
505 |   `);
506 | 
507 |   // Focus the autocomplete
508 |   await page.getByRole("combobox").focus();
509 | 
510 |   // Open dropdown with arrow down
511 |   await page.keyboard.press("ArrowDown", { delay: 100 });
512 |   await expect(page.getByRole("listbox")).toBeVisible();
513 | 
514 |   // Navigate through options
515 |   await page.keyboard.press("ArrowDown", { delay: 100 }); // First option
516 |   await page.keyboard.press("ArrowDown", { delay: 100 }); // Second option
517 |   await page.keyboard.press("ArrowDown", { delay: 100 }); // Third option
518 |   await page.keyboard.press("ArrowUp", { delay: 100 }); // Back to second option
519 | 
520 |   // Select with Enter
521 |   await page.keyboard.press("Enter", { delay: 100 });
522 | 
523 |   // Verify selection
524 |   await expect(page.getByRole("combobox")).toHaveValue("Clark Kent");
525 | });
526 | 
527 | // =============================================================================
528 | // VISUAL STATE TESTS
529 | // =============================================================================
530 | 
531 | test("input has correct width in px", async ({ page, initTestBed }) => {
532 |   await initTestBed(`<AutoComplete width="200px" testId="test"/>`, {});
533 | 
534 |   const input = page.getByTestId("test");
535 |   const { width } = await input.boundingBox();
536 |   expect(width).toBe(200);
537 | });
538 | 
539 | test("input with label has correct width in px", async ({ page, initTestBed }) => {
540 |   await initTestBed(`<AutoComplete width="200px" label="test" testId="test"/>`, {});
541 | 
542 |   const input = page.getByTestId("test");
543 |   const { width } = await input.boundingBox();
544 |   expect(width).toBe(200);
545 | });
546 | 
547 | test("input has correct width in %", async ({ page, initTestBed }) => {
548 |   await page.setViewportSize({ width: 400, height: 300 });
549 |   await initTestBed(`<AutoComplete width="50%" testId="test"/>`, {});
550 | 
551 |   const input = page.getByTestId("test");
552 |   const { width } = await input.boundingBox();
553 |   expect(width).toBe(200);
554 | });
555 | 
556 | test("input with label has correct width in %", async ({ page, initTestBed }) => {
557 |   await page.setViewportSize({ width: 400, height: 300 });
558 |   await initTestBed(`<AutoComplete width="50%" label="test" testId="test"/>`, {});
559 | 
560 |   const input = page.getByTestId("test");
561 |   const { width } = await input.boundingBox();
562 |   expect(width).toBe(200);
563 | });
564 | 
565 | // =============================================================================
566 | // THEME VARIABLE TESTS
567 | // =============================================================================
568 | 
569 | test.describe("Theme Variables", () => {
570 |   [
571 |     { value: "--default", prop: "" },
572 |     { value: "--warning", prop: 'validationStatus="warning"' },
573 |     { value: "--error", prop: 'validationStatus="error"' },
574 |     { value: "--success", prop: 'validationStatus="valid"' },
575 |   ].forEach((variant) => {
576 |     test(`applies correct borderRadius ${variant.value}`, async ({ initTestBed, page }) => {
577 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
578 |         testThemeVars: { [`borderRadius-AutoComplete${variant.value}`]: "12px" },
579 |       });
580 |       await expect(page.getByTestId("test")).toHaveCSS("border-radius", "12px");
581 |     });
582 | 
583 |     test(`applies correct borderColor ${variant.value}`, async ({ initTestBed, page }) => {
584 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
585 |         testThemeVars: { [`borderColor-AutoComplete${variant.value}`]: "rgb(255, 0, 0)" },
586 |       });
587 |       await expect(page.getByTestId("test")).toHaveCSS("border-color", "rgb(255, 0, 0)");
588 |     });
589 | 
590 |     test(`applies correct borderWidth ${variant.value}`, async ({ initTestBed, page }) => {
591 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
592 |         testThemeVars: { [`borderWidth-AutoComplete${variant.value}`]: "1px" },
593 |       });
594 |       await expect(page.getByTestId("test")).toHaveCSS("border-width", "1px");
595 |     });
596 | 
597 |     test(`applies correct borderStyle ${variant.value}`, async ({ initTestBed, page }) => {
598 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
599 |         testThemeVars: { [`borderStyle-AutoComplete${variant.value}`]: "dashed" },
600 |       });
601 |       await expect(page.getByTestId("test")).toHaveCSS("border-style", "dashed");
602 |     });
603 | 
604 |     test(`applies correct fontSize ${variant.value}`, async ({ initTestBed, page }) => {
605 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
606 |         testThemeVars: { [`fontSize-AutoComplete${variant.value}`]: "14px" },
607 |       });
608 |       await expect(page.getByTestId("test")).toHaveCSS("font-size", "14px");
609 |     });
610 | 
611 |     test(`applies correct backgroundColor ${variant.value}`, async ({ initTestBed, page }) => {
612 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
613 |         testThemeVars: { [`backgroundColor-AutoComplete${variant.value}`]: "rgb(240, 240, 240)" },
614 |       });
615 |       await expect(page.getByTestId("test")).toHaveCSS("background-color", "rgb(240, 240, 240)");
616 |     });
617 | 
618 |     test(`applies correct boxShadow ${variant.value}`, async ({ initTestBed, page }) => {
619 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
620 |         testThemeVars: {
621 |           [`boxShadow-AutoComplete${variant.value}`]: "0 2px 8px rgba(0, 0, 0, 0.1)",
622 |         },
623 |       });
624 |       await expect(page.getByTestId("test")).toHaveCSS(
625 |         "box-shadow",
626 |         "rgba(0, 0, 0, 0.1) 0px 2px 8px 0px",
627 |       );
628 |     });
629 | 
630 |     test(`applies correct textColor ${variant.value}`, async ({ initTestBed, page }) => {
631 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
632 |         testThemeVars: { [`textColor-AutoComplete${variant.value}`]: "rgb(0, 0, 0)" },
633 |       });
634 |       await expect(page.getByTestId("test")).toHaveCSS("color", "rgb(0, 0, 0)");
635 |     });
636 | 
637 |     test(`applies correct borderColor on hover ${variant.value}`, async ({ initTestBed, page }) => {
638 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
639 |         testThemeVars: { [`borderColor-AutoComplete${variant.value}--hover`]: "rgb(0, 0, 0)" },
640 |       });
641 |       await page.getByTestId("test").hover();
642 |       await expect(page.getByTestId("test")).toHaveCSS("border-color", "rgb(0, 0, 0)");
643 |     });
644 | 
645 |     test(`applies correct backgroundColor on hover ${variant.value}`, async ({
646 |       initTestBed,
647 |       page,
648 |     }) => {
649 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
650 |         testThemeVars: { [`backgroundColor-AutoComplete${variant.value}--hover`]: "rgb(0, 0, 0)" },
651 |       });
652 |       await page.getByTestId("test").hover();
653 |       await expect(page.getByTestId("test")).toHaveCSS("background-color", "rgb(0, 0, 0)");
654 |     });
655 | 
656 |     test(`applies correct boxShadow on hover ${variant.value}`, async ({ initTestBed, page }) => {
657 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
658 |         testThemeVars: {
659 |           [`boxShadow-AutoComplete${variant.value}--hover`]: "0 2px 8px rgba(0, 0, 0, 0.1)",
660 |         },
661 |       });
662 |       await page.getByTestId("test").hover();
663 |       await expect(page.getByTestId("test")).toHaveCSS(
664 |         "box-shadow",
665 |         "rgba(0, 0, 0, 0.1) 0px 2px 8px 0px",
666 |       );
667 |     });
668 | 
669 |     test(`applies correct textColor on hover ${variant.value}`, async ({ initTestBed, page }) => {
670 |       await initTestBed(`<AutoComplete testId="test" ${variant.prop} />`, {
671 |         testThemeVars: { [`textColor-AutoComplete${variant.value}--hover`]: "rgb(0, 0, 0)" },
672 |       });
673 |       await page.getByTestId("test").hover();
674 |       await expect(page.getByTestId("test")).toHaveCSS("color", "rgb(0, 0, 0)");
675 |     });
676 |   });
677 | 
678 |   test("applies correct textColor to placeholder", async ({ initTestBed, page }) => {
679 |     await initTestBed(`<AutoComplete testId="test" placeholder="Search..." />`, {
680 |       testThemeVars: { "textColor-placeholder-AutoComplete": "rgb(0, 0, 0)" },
681 |     });
682 |     const placeholderColor = await page.evaluate(() => {
683 |       const input = document.querySelector("input");
684 |       return window.getComputedStyle(input, "::placeholder").color;
685 |     });
686 |     expect(placeholderColor).toBe("rgb(0, 0, 0)");
687 |   });
688 | 
689 |   test.fixme(
690 |     "applies correct fontSize to placeholder",
691 |     SKIP_REASON.UNSURE("Does AutoComplete applies the correct css for the placeholder?"),
692 |     async ({ initTestBed, page }) => {
693 |       await initTestBed(`<AutoComplete testId="test" placeholder="Search..." />`, {
694 |         testThemeVars: { "fontSize-placeholder-AutoComplete--default": "20px" },
695 |       });
696 |       const placeholderFontSize = await page.evaluate(() => {
697 |         const input = document.querySelector("input");
698 |         return window.getComputedStyle(input, "::placeholder").fontSize;
699 |       });
700 |       expect(placeholderFontSize).toBe("20px");
701 |     },
702 |   );
703 | });
704 | 
```

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

```markdown
  1 | # DateInput [#dateinput]
  2 | 
  3 | `DateInput` provides a text-based date input interface for selecting single dates or date ranges, with direct keyboard input similar to TimeInput. It offers customizable formatting and validation options without dropdown calendars.
  4 | 
  5 | **Key features:**
  6 | - **Date format support**: Multiple date formats including MM/dd/yyyy, yyyy-MM-dd, and dd/MM/yyyy
  7 | - **Direct input**: Keyboard-only date entry with input fields for day, month, and year
  8 | - **Input validation**: Real-time validation with visual feedback for invalid dates
  9 | - **Range support**: Single date selection (default) or date range selection
 10 | - **Accessibility**: Full keyboard navigation and screen reader support
 11 | 
 12 | ## Properties [#properties]
 13 | 
 14 | ### `autoFocus` (default: false) [#autofocus-default-false]
 15 | 
 16 | If this property is set to `true`, the component gets the focus automatically when displayed.
 17 | 
 18 | ### `clearable` (default: false) [#clearable-default-false]
 19 | 
 20 | Whether to show a clear button to reset the input
 21 | 
 22 | When enabled, it displays a clear button that allows users to clear the date input. Enter a date in this app and then click the clear button:
 23 | 
 24 | ```xmlui-pg copy display name="Example: clearable" /clearable/
 25 | <App>
 26 |   <DateInput initialValue="05/25/2024" />
 27 |   <DateInput clearable="true" initialValue="05/25/2024" />
 28 | </App>
 29 | ```
 30 | 
 31 | ### `clearIcon` [#clearicon]
 32 | 
 33 | Icon name for the clear button
 34 | 
 35 | ```xmlui-pg copy display name="Example: clearIcon" /clearIcon/
 36 | <App>
 37 |   <DateInput initialValue="05/25/2024" clearable="true" clearIcon="trash" />
 38 | </App>
 39 | ```
 40 | 
 41 | ### `clearToInitialValue` (default: false) [#cleartoinitialvalue-default-false]
 42 | 
 43 | Whether clearing resets to initial value or null
 44 | 
 45 | When `true`, the clear button resets the input to its initial value. When `false`, it clears the input completely.
 46 | 
 47 | ```xmlui-pg copy display name="Example: clearToInitialValue"
 48 | <App>
 49 |   <DateInput 
 50 |     clearable="true" 
 51 |     clearToInitialValue="true" 
 52 |     initialValue="05/25/2024" />
 53 |   <DateInput 
 54 |     clearable="true" 
 55 |     clearToInitialValue="false" 
 56 |     initialValue="05/25/2024" />
 57 | </App>
 58 | ```
 59 | 
 60 | ### `dateFormat` (default: "MM/dd/yyyy") [#dateformat-default-mm-dd-yyyy]
 61 | 
 62 | The format of the date displayed in the input field
 63 | 
 64 | Available values: `MM/dd/yyyy` **(default)**, `MM-dd-yyyy`, `yyyy/MM/dd`, `yyyy-MM-dd`, `dd/MM/yyyy`, `dd-MM-yyyy`, `yyyyMMdd`, `MMddyyyy`
 65 | 
 66 | The `dateFormat` prop controls how dates are displayed and entered. Different formats change the order and separators of day, month, and year fields.
 67 | 
 68 | > [!NOTE] Regardless of the dateFormat, the year input field always accepts and displays 4-digit years. When entering a 2-digit year, it will be automatically normalized to a 4-digit year.
 69 | 
 70 | | Format | Description | Example |
 71 | | :----- | :---------- | :------ |
 72 | | `MM/dd/yyyy` | US format with slashes | 05/25/2024 |
 73 | | `MM-dd-yyyy` | US format with dashes | 05-25-2024 |
 74 | | `yyyy/MM/dd` | ISO-like format with slashes | 2024/05/25 |
 75 | | `yyyy-MM-dd` | ISO format with dashes | 2024-05-25 |
 76 | | `dd/MM/yyyy` | European format with slashes | 25/05/2024 |
 77 | | `dd-MM-yyyy` | European format with dashes | 25-05-2024 |
 78 | | `yyyyMMdd` | Compact format without separators | 20240525 |
 79 | | `MMddyyyy` | US compact format | 05252024 |
 80 | 
 81 | ```xmlui-pg copy display name="Example: dateFormat"
 82 | <App>
 83 |   <DateInput dateFormat="MM/dd/yyyy" initialValue="05/25/2024" />
 84 |   <DateInput dateFormat="yyyy-MM-dd" initialValue="2024-05-25" />
 85 |   <DateInput dateFormat="dd/MM/yyyy" initialValue="25/05/2024" />
 86 |   <DateInput dateFormat="yyyyMMdd" initialValue="20240525" />
 87 | </App>
 88 | ```
 89 | 
 90 | ### `disabledDates` [#disableddates]
 91 | 
 92 | An optional array of dates that are disabled (compatibility with DatePicker, not used in DateInput)
 93 | 
 94 | ### `emptyCharacter` (default: "-") [#emptycharacter-default-]
 95 | 
 96 | Character used to create placeholder text for empty input fields
 97 | 
 98 | Character to use as placeholder for empty date values. If longer than 1 character, uses the first character. Defaults to '-'.
 99 | 
100 | ```xmlui-pg copy display name="Example: emptyCharacter"
101 | <App>
102 |   <DateInput emptyCharacter="." />
103 |   <DateInput emptyCharacter="*" />
104 |   <DateInput emptyCharacter="abc" />
105 | </App>
106 | ```
107 | 
108 | ### `enabled` (default: true) [#enabled-default-true]
109 | 
110 | This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).
111 | 
112 | ```xmlui-pg copy display name="Example: enabled" height="120px"
113 | <App>
114 |   <DateInput enabled="false" initialValue="05/25/2024" />
115 | </App>  
116 | ```
117 | 
118 | ### `endIcon` [#endicon]
119 | 
120 | This property sets an optional icon to appear on the end (right side when the left-to-right direction is set) of the input.
121 | 
122 | ### `endText` [#endtext]
123 | 
124 | This property sets an optional text to appear on the end (right side when the left-to-right direction is set) of the input.
125 | 
126 | ### `gap` [#gap]
127 | 
128 | The gap between input elements
129 | 
130 | ### `initialValue` [#initialvalue]
131 | 
132 | This property sets the component's initial value.
133 | 
134 | ```xmlui-pg copy display name="Example: initialValue" height="120px"
135 | <App>
136 |   <DateInput initialValue="05/25/2024" />
137 | </App>  
138 | ```
139 | 
140 | ### `inline` (default: true) [#inline-default-true]
141 | 
142 | Whether to display the date input inline (compatibility with DatePicker, always true for DateInput)
143 | 
144 | ### `maxValue` [#maxvalue]
145 | 
146 | The optional end date of the selectable date range. If not defined, the range allows any future dates.
147 | 
148 | ### `minValue` [#minvalue]
149 | 
150 | The optional start date of the selectable date range. If not defined, the range allows any dates in the past.
151 | 
152 | ### `mode` (default: "single") [#mode-default-single]
153 | 
154 | The mode of the date input (single or range)
155 | 
156 | Available values: `single` **(default)**, `range`
157 | 
158 | Available values:
159 | 
160 | | Value | Description |
161 | | --- | --- |
162 | | `single` | Single date selection **(default)** |
163 | | `range` | Date range selection |
164 | 
165 | ### `readOnly` (default: false) [#readonly-default-false]
166 | 
167 | Set this property to `true` to disallow changing the component value.
168 | 
169 | Makes the date input read-only. Users can see the value but cannot modify it.
170 | 
171 | ```xmlui-pg copy display name="Example: readOnly" height="120px"
172 | <App>
173 |   <DateInput readOnly="true" initialValue="05/25/2024" />
174 | </App>
175 | ```
176 | 
177 | ### `required` (default: false) [#required-default-false]
178 | 
179 | Whether the input is required
180 | 
181 | Marks the date input as required for form validation.
182 | 
183 | ```xmlui-pg copy display name="Example: required" height="120px"
184 | <App>
185 |   <DateInput required="true" />
186 | </App>
187 | ```
188 | 
189 | ### `showWeekNumber` (default: false) [#showweeknumber-default-false]
190 | 
191 | Whether to show the week number (compatibility with DatePicker, not used in DateInput)
192 | 
193 | ### `startIcon` [#starticon]
194 | 
195 | This property sets an optional icon to appear at the start (left side when the left-to-right direction is set) of the input.
196 | 
197 | ### `startText` [#starttext]
198 | 
199 | This property sets an optional text to appear at the start (left side when the left-to-right direction is set) of the input.
200 | 
201 | ### `validationStatus` (default: "none") [#validationstatus-default-none]
202 | 
203 | This property allows you to set the validation status of the input component.
204 | 
205 | Available values:
206 | 
207 | | Value | Description |
208 | | --- | --- |
209 | | `valid` | Visual indicator for an input that is accepted |
210 | | `warning` | Visual indicator for an input that produced a warning |
211 | | `error` | Visual indicator for an input that produced an error |
212 | 
213 | | Value     | Description                                           |
214 | | :-------- | :---------------------------------------------------- |
215 | | `valid`   | Visual indicator for an input that is accepted        |
216 | | `warning` | Visual indicator for an input that produced a warning |
217 | | `error`   | Visual indicator for an input that produced an error  |
218 | 
219 | ```xmlui-pg copy display name="Example: validationStatus"
220 | <App>
221 |   <DateInput validationStatus="valid" initialValue="05/25/2024" />
222 |   <DateInput validationStatus="warning" initialValue="05/25/2024" />
223 |   <DateInput validationStatus="error" initialValue="05/25/2024" />
224 | </App>
225 | ```
226 | 
227 | ### `weekStartsOn` (default: 0) [#weekstartson-default-0]
228 | 
229 | The first day of the week. 0 is Sunday, 1 is Monday, etc. (compatibility with DatePicker, not used in DateInput)
230 | 
231 | Available values:
232 | 
233 | | Value | Description |
234 | | --- | --- |
235 | | `0` | Sunday **(default)** |
236 | | `1` | Monday |
237 | | `2` | Tuesday |
238 | | `3` | Wednesday |
239 | | `4` | Thursday |
240 | | `5` | Friday |
241 | | `6` | Saturday |
242 | 
243 | ## Events [#events]
244 | 
245 | ### `didChange` [#didchange]
246 | 
247 | This event is triggered when value of DateInput has changed.
248 | 
249 | Fired when the date value changes. Receives the new date value as a parameter.
250 | 
251 | > [!INFO] The date value changes when the edited input part (day, month, year) loses focus and contains a valid value.
252 | 
253 | ```xmlui-pg copy {2} display name="Example: didChange" height="180px"
254 | <App var.selectedDate="No date selected">
255 |   <Text value="{selectedDate}" />
256 |   <DateInput 
257 |     dateFormat="yyyy-MM-dd"
258 |     initialValue="2024-05-25" 
259 |     onDidChange="(date) => selectedDate = date" />
260 | </App>
261 | ```
262 | 
263 | ### `gotFocus` [#gotfocus]
264 | 
265 | This event is triggered when the DateInput has received the focus.
266 | 
267 | Fired when the date input receives focus.
268 | 
269 | ```xmlui-pg copy {4-5} display name="Example: gotFocus/lostFocus"
270 | <App var.isFocused="{false}">
271 |   <Text value="{isFocused 
272 |     ? 'DateInput focused' : 'DateInput lost focus'}" 
273 |   />
274 |   <DateInput
275 |     dateFormat="MM/dd/yyyy"
276 |     onGotFocus="isFocused = true"
277 |     onLostFocus="isFocused = false"
278 |     initialValue="05/25/2024"
279 |   />
280 | </App>
281 | ```
282 | 
283 | ### `lostFocus` [#lostfocus]
284 | 
285 | This event is triggered when the DateInput has lost the focus.
286 | 
287 | ## Exposed Methods [#exposed-methods]
288 | 
289 | ### `focus` [#focus]
290 | 
291 | Focus the DateInput component.
292 | 
293 | **Signature**: `focus(): void`
294 | 
295 | ### `isoValue` [#isovalue]
296 | 
297 | Get the current date value formatted in ISO standard (YYYY-MM-DD) format, suitable for JSON serialization.
298 | 
299 | **Signature**: `isoValue(): string | null`
300 | 
301 | ### `setValue` [#setvalue]
302 | 
303 | This method sets the current value of the DateInput.
304 | 
305 | **Signature**: `set value(value: any): void`
306 | 
307 | - `value`: The new value to set for the date input.
308 | 
309 | ```xmlui-pg copy {3, 9, 12} display name="Example: setValue"
310 | <App>
311 |   <HStack>
312 |     <Button
313 |       label="Set Date to 05/25/2024"
314 |       onClick="picker.setValue('05/25/2024')" />
315 |     <Button
316 |       label="Clear Date"
317 |       onClick="picker.setValue('')" />
318 |   </HStack>
319 |   <DateInput id="picker" />
320 | </App>
321 | ```
322 | 
323 | ### `value` [#value]
324 | 
325 | You can query the component's value. If no value is set, it will retrieve `undefined`.
326 | 
327 | **Signature**: `get value(): any`
328 | 
329 | ## Parts [#parts]
330 | 
331 | The component has some parts that can be styled through layout properties and theme variables separately:
332 | 
333 | - **`clearButton`**: The button to clear the date input.
334 | - **`day`**: The day input field.
335 | - **`month`**: The month input field.
336 | - **`year`**: The year input field.
337 | 
338 | ## Styling [#styling]
339 | 
340 | ### Theme Variables [#theme-variables]
341 | 
342 | | Variable | Default Value (Light) | Default Value (Dark) |
343 | | --- | --- | --- |
344 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--default | *none* | *none* |
345 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--default--focus | *none* | *none* |
346 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--default--hover | *none* | *none* |
347 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--disabled | *none* | *none* |
348 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--error | *none* | *none* |
349 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--error--focus | *none* | *none* |
350 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--error--hover | *none* | *none* |
351 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--hover | *none* | *none* |
352 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--success | *none* | *none* |
353 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--success--focus | *none* | *none* |
354 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--success--hover | *none* | *none* |
355 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--warning | *none* | *none* |
356 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--warning--focus | *none* | *none* |
357 | | [backgroundColor](../styles-and-themes/common-units/#color)-DateInput--warning--hover | *none* | *none* |
358 | | [backgroundColor](../styles-and-themes/common-units/#color)-input-DateInput-invalid | rgba(220, 53, 69, 0.15) | rgba(220, 53, 69, 0.15) |
359 | | [border](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
360 | | [borderBottom](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
361 | | [borderBottomColor](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
362 | | [borderBottomStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
363 | | [borderBottomWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
364 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
365 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--default | *none* | *none* |
366 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--default--focus | *none* | *none* |
367 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--default--hover | *none* | *none* |
368 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--disabled | *none* | *none* |
369 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--error | *none* | *none* |
370 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--error--focus | *none* | *none* |
371 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--error--hover | *none* | *none* |
372 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--success | *none* | *none* |
373 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--success--focus | *none* | *none* |
374 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--success--hover | *none* | *none* |
375 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--warning | *none* | *none* |
376 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--warning--focus | *none* | *none* |
377 | | [borderColor](../styles-and-themes/common-units/#color)-DateInput--warning--hover | *none* | *none* |
378 | | [borderEndEndRadius](../styles-and-themes/common-units/#border-rounding)-DateInput | *none* | *none* |
379 | | [borderEndStartRadius](../styles-and-themes/common-units/#border-rounding)-DateInput | *none* | *none* |
380 | | [borderHorizontal](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
381 | | [borderHorizontalColor](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
382 | | [borderHorizontalStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
383 | | [borderHorizontalWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
384 | | [borderLeft](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
385 | | [color](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
386 | | [borderLeftStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
387 | | [borderLeftWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
388 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-button-DateInput | $borderRadius | $borderRadius |
389 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-DateInput--default | *none* | *none* |
390 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-DateInput--error | *none* | *none* |
391 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-DateInput--success | *none* | *none* |
392 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-DateInput--warning | *none* | *none* |
393 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-input-DateInput | $borderRadius | $borderRadius |
394 | | [borderRight](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
395 | | [color](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
396 | | [borderRightStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
397 | | [borderRightWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
398 | | [borderStartEndRadius](../styles-and-themes/common-units/#border-rounding)-DateInput | *none* | *none* |
399 | | [borderStartStartRadius](../styles-and-themes/common-units/#border-rounding)-DateInput | *none* | *none* |
400 | | [borderStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
401 | | [borderStyle](../styles-and-themes/common-units/#border-style)-DateInput--default | *none* | *none* |
402 | | [borderStyle](../styles-and-themes/common-units/#border-style)-DateInput--error | *none* | *none* |
403 | | [borderStyle](../styles-and-themes/common-units/#border-style)-DateInput--success | *none* | *none* |
404 | | [borderStyle](../styles-and-themes/common-units/#border-style)-DateInput--warning | *none* | *none* |
405 | | [borderTop](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
406 | | [borderTopColor](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
407 | | [borderTopStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
408 | | [borderTopWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
409 | | [borderHorizontal](../styles-and-themes/common-units/#border)-DateInput | *none* | *none* |
410 | | [borderVerticalColor](../styles-and-themes/common-units/#color)-DateInput | *none* | *none* |
411 | | [borderVerticalStyle](../styles-and-themes/common-units/#border-style)-DateInput | *none* | *none* |
412 | | [borderVerticalWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
413 | | [borderWidth](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
414 | | [borderWidth](../styles-and-themes/common-units/#size)-DateInput--default | *none* | *none* |
415 | | [borderWidth](../styles-and-themes/common-units/#size)-DateInput--error | *none* | *none* |
416 | | [borderWidth](../styles-and-themes/common-units/#size)-DateInput--success | *none* | *none* |
417 | | [borderWidth](../styles-and-themes/common-units/#size)-DateInput--warning | *none* | *none* |
418 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--default | *none* | *none* |
419 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--default--focus | *none* | *none* |
420 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--default--hover | *none* | *none* |
421 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--error | *none* | *none* |
422 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--error--focus | *none* | *none* |
423 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--error--hover | *none* | *none* |
424 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--success | *none* | *none* |
425 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--success--focus | *none* | *none* |
426 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--success--hover | *none* | *none* |
427 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--warning | *none* | *none* |
428 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--warning--focus | *none* | *none* |
429 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-DateInput--warning--hover | *none* | *none* |
430 | | [color](../styles-and-themes/common-units/#color)-adornment-DateInput--default | *none* | *none* |
431 | | [color](../styles-and-themes/common-units/#color)-adornment-DateInput--error | *none* | *none* |
432 | | [color](../styles-and-themes/common-units/#color)-adornment-DateInput--success | *none* | *none* |
433 | | [color](../styles-and-themes/common-units/#color)-adornment-DateInput--warning | *none* | *none* |
434 | | [color](../styles-and-themes/common-units/#color)-divider-DateInput | $textColor-secondary | $textColor-secondary |
435 | | disabledColor-button-DateInput | $textColor-disabled | $textColor-disabled |
436 | | [fontSize](../styles-and-themes/common-units/#size)-ampm-DateInput | inherit | inherit |
437 | | [fontSize](../styles-and-themes/common-units/#size)-DateInput--default | *none* | *none* |
438 | | [fontSize](../styles-and-themes/common-units/#size)-DateInput--error | *none* | *none* |
439 | | [fontSize](../styles-and-themes/common-units/#size)-DateInput--success | *none* | *none* |
440 | | [fontSize](../styles-and-themes/common-units/#size)-DateInput--warning | *none* | *none* |
441 | | [fontSize](../styles-and-themes/common-units/#size)-input-DateInput | inherit | inherit |
442 | | [fontSize](../styles-and-themes/common-units/#size)-input-DateInput--default | *none* | *none* |
443 | | [fontSize](../styles-and-themes/common-units/#size)-input-DateInput--error | *none* | *none* |
444 | | [fontSize](../styles-and-themes/common-units/#size)-input-DateInput--success | *none* | *none* |
445 | | [fontSize](../styles-and-themes/common-units/#size)-input-DateInput--warning | *none* | *none* |
446 | | [gap](../styles-and-themes/common-units/#size)-adornment-DateInput | *none* | *none* |
447 | | hoverColor-button-DateInput | $color-surface-800 | $color-surface-800 |
448 | | [margin](../styles-and-themes/common-units/#size)-input-DateInput | *none* | *none* |
449 | | [minWidth](../styles-and-themes/common-units/#size)-ampm-DateInput | 2em | 2em |
450 | | [minWidth](../styles-and-themes/common-units/#size)-input-DateInput | 0.54em | 0.54em |
451 | | [opacity](../styles-and-themes/common-units/#opacity)-DateInput--disabled | *none* | *none* |
452 | | [outlineColor](../styles-and-themes/common-units/#color)-button-DateInput--focused | $color-accent-500 | $color-accent-500 |
453 | | [outlineColor](../styles-and-themes/common-units/#color)-DateInput--default--focus | *none* | *none* |
454 | | [outlineColor](../styles-and-themes/common-units/#color)-DateInput--error--focus | *none* | *none* |
455 | | [outlineColor](../styles-and-themes/common-units/#color)-DateInput--success--focus | *none* | *none* |
456 | | [outlineColor](../styles-and-themes/common-units/#color)-DateInput--warning--focus | *none* | *none* |
457 | | [outlineOffset](../styles-and-themes/common-units/#size)-button-DateInput--focused | 2px | 2px |
458 | | [outlineOffset](../styles-and-themes/common-units/#size)-DateInput--default--focus | *none* | *none* |
459 | | [outlineOffset](../styles-and-themes/common-units/#size)-DateInput--error--focus | *none* | *none* |
460 | | [outlineOffset](../styles-and-themes/common-units/#size)-DateInput--success--focus | *none* | *none* |
461 | | [outlineOffset](../styles-and-themes/common-units/#size)-DateInput--warning--focus | *none* | *none* |
462 | | [outlineStyle](../styles-and-themes/common-units/#border)-DateInput--default--focus | *none* | *none* |
463 | | [outlineStyle](../styles-and-themes/common-units/#border)-DateInput--error--focus | *none* | *none* |
464 | | [outlineStyle](../styles-and-themes/common-units/#border)-DateInput--success--focus | *none* | *none* |
465 | | [outlineStyle](../styles-and-themes/common-units/#border)-DateInput--warning--focus | *none* | *none* |
466 | | [outlineWidth](../styles-and-themes/common-units/#size)-button-DateInput--focused | 2px | 2px |
467 | | [outlineWidth](../styles-and-themes/common-units/#size)-DateInput--default--focus | *none* | *none* |
468 | | [outlineWidth](../styles-and-themes/common-units/#size)-DateInput--error--focus | *none* | *none* |
469 | | [outlineWidth](../styles-and-themes/common-units/#size)-DateInput--success--focus | *none* | *none* |
470 | | [outlineWidth](../styles-and-themes/common-units/#size)-DateInput--warning--focus | *none* | *none* |
471 | | [padding](../styles-and-themes/common-units/#size)-button-DateInput | 4px 6px | 4px 6px |
472 | | [padding](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
473 | | [padding](../styles-and-themes/common-units/#size)-input-DateInput | 0 2px | 0 2px |
474 | | [paddingBottom](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
475 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-DateInput | $space-2 | $space-2 |
476 | | [paddingLeft](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
477 | | [paddingRight](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
478 | | [paddingTop](../styles-and-themes/common-units/#size)-DateInput | *none* | *none* |
479 | | [paddingVertical](../styles-and-themes/common-units/#size)-DateInput | $space-2 | $space-2 |
480 | | spacing-divider-DateInput | 1px 0 | 1px 0 |
481 | | [textAlign](../styles-and-themes/common-units/#text-align)-input-DateInput | center | center |
482 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--default | *none* | *none* |
483 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--default--focus | *none* | *none* |
484 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--default--hover | *none* | *none* |
485 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--disabled | *none* | *none* |
486 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--error | *none* | *none* |
487 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--error--focus | *none* | *none* |
488 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--error--hover | *none* | *none* |
489 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--success | *none* | *none* |
490 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--success--focus | *none* | *none* |
491 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--success--hover | *none* | *none* |
492 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--warning | *none* | *none* |
493 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--warning--focus | *none* | *none* |
494 | | [textColor](../styles-and-themes/common-units/#color)-DateInput--warning--hover | *none* | *none* |
495 | | [transition](../styles-and-themes/common-units/#transition)-background-DateInput | *none* | *none* |
496 | | [width](../styles-and-themes/common-units/#size)-input-DateInput | 1.8em | 1.8em |
497 | 
```

--------------------------------------------------------------------------------
/xmlui/dev-docs/build-system.md:
--------------------------------------------------------------------------------

```markdown
  1 | # XMLUI Build System
  2 | 
  3 | This document explains XMLUI's build system architecture, CLI tools, and build configurations for application deployment and extension development.
  4 | 
  5 | > **Note:** For building the XMLUI framework package itself, see [Building the XMLUI Core Package](./build-xmlui.md).
  6 | 
  7 | ## Table of Contents
  8 | 
  9 | 1. [Overview](#overview)
 10 | 2. [CLI Commands](#cli-commands)
 11 |    - [xmlui start](#xmlui-start)
 12 |    - [xmlui build](#xmlui-build)
 13 |    - [xmlui preview](#xmlui-preview)
 14 |    - [xmlui build-lib](#xmlui-build-lib)
 15 |    - [xmlui zip-dist](#xmlui-zip-dist)
 16 | 3. [Build Modes](#build-modes)
 17 | 4. [Vite Plugin System](#vite-plugin-system)
 18 | 5. [Build Configurations](#build-configurations)
 19 | 6. [Building XMLUI Extensions](#building-xmlui-extensions)
 20 | 7. [Package Structure](#package-structure)
 21 | 8. [Development Workflow](#development-workflow)
 22 | 
 23 | ## Overview
 24 | 
 25 | XMLUI uses a multi-mode build system built on **Vite** that supports:
 26 | 
 27 | - **Development server** with hot module reloading for rapid app development
 28 | - **Production builds** for XMLUI applications with optimized assets
 29 | - **Extension builds** for creating reusable component libraries
 30 | - **Metadata extraction** for documentation and language server support
 31 | 
 32 | The build system is orchestrated through the `xmlui` CLI command, which provides a unified interface for all build operations.
 33 | 
 34 | ## CLI Commands
 35 | 
 36 | The XMLUI CLI is installed via the `bin/bootstrap.js` entry point and provides commands for development, building, and deployment.
 37 | 
 38 | ### xmlui start
 39 | 
 40 | Starts a Vite development server with hot module reloading for rapid application development.
 41 | 
 42 | **Usage:**
 43 | 
 44 | ```bash
 45 | xmlui start [options]
 46 | ```
 47 | 
 48 | **Options:**
 49 | 
 50 | - `--port <number>` - Server port (default: Vite's default port)
 51 | - `--withMock [boolean]` - Enable MSW API mocking (default: true)
 52 | - `--proxy <pattern->target>` - Proxy API requests (e.g., `/api->http://localhost:3000`)
 53 | 
 54 | **Examples:**
 55 | 
 56 | ```bash
 57 | # Start dev server with default settings
 58 | xmlui start
 59 | 
 60 | # Start on port 3000 without mocking
 61 | xmlui start --port 3000 --withMock=false
 62 | 
 63 | # Start with API proxy
 64 | xmlui start --proxy /api->http://localhost:8080
 65 | ```
 66 | 
 67 | **Behavior:**
 68 | 
 69 | - Enables full build mode (`VITE_BUILD_MODE=ALL`) with all components included
 70 | - Automatically enables MSW for API interception unless disabled
 71 | - Provides instant feedback through HMR when source files change
 72 | - Compiles `.xmlui` and `.xmlui.xs` files on-demand via vite-xmlui-plugin
 73 | 
 74 | ### xmlui build
 75 | 
 76 | Builds an XMLUI application for production deployment with optimized assets.
 77 | 
 78 | **Usage:**
 79 | 
 80 | ```bash
 81 | xmlui build [options]
 82 | ```
 83 | 
 84 | **Options:**
 85 | 
 86 | - `--buildMode <mode>` - Build mode: `CONFIG_ONLY`, `INLINE_ALL`, or `ALL` (default: `CONFIG_ONLY` in dev, auto in prod)
 87 | - `--flatDist [boolean]` - Flatten dist directory structure for simple hosting (default: false in dev, true in prod)
 88 | - `--withMock [boolean]` - Include MSW API mocking in build (default: true in dev, false in prod)
 89 | - `--withHostingMetaFiles [boolean]` - Include hosting metadata files (serve.json, web.config) (default: false in dev, false in prod)
 90 | - `--withRelativeRoot [boolean]` - Use relative paths for root references (default: false in dev, true in prod)
 91 | - `--prod` - Shorthand for production-ready settings
 92 | 
 93 | **Build Modes:**
 94 | 
 95 | | Mode          | Description                                             | Use Case                                 |
 96 | | ------------- | ------------------------------------------------------- | ---------------------------------------- |
 97 | | `CONFIG_ONLY` | Bundles only configuration; loads components at runtime | Development and dynamic apps             |
 98 | | `INLINE_ALL`  | Bundles entire app including all components             | Production with minimal runtime overhead |
 99 | | `ALL`         | Full build with both inline and runtime loading support | Maximum flexibility                      |
100 | 
101 | **Examples:**
102 | 
103 | ```bash
104 | # Development build
105 | xmlui build
106 | 
107 | # Production build with defaults
108 | xmlui build --prod
109 | 
110 | # Production build with specific settings
111 | xmlui build --buildMode=INLINE_ALL --flatDist --withHostingMetaFiles
112 | 
113 | # Test deployment build with mocking
114 | xmlui build --buildMode=INLINE_ALL --withMock --withHostingMetaFiles
115 | ```
116 | 
117 | **Output Structure:**
118 | 
119 | _Standard (flatDist=false):_
120 | 
121 | ```
122 | dist/
123 |   ├── index.html
124 |   ├── assets/
125 |   │   ├── index-[hash].js
126 |   │   └── index-[hash].css
127 |   └── resources/
128 |       └── (resource files)
129 | ```
130 | 
131 | _Flattened (flatDist=true):_
132 | 
133 | ```
134 | dist/
135 |   ├── index.html
136 |   ├── ui_assets_index-[hash].js
137 |   ├── ui_assets_index-[hash].css
138 |   ├── ui_resources_logo.png
139 |   └── (all files at root with ui_ prefix)
140 | ```
141 | 
142 | ### xmlui preview
143 | 
144 | Serves a production build locally for testing before deployment.
145 | 
146 | **Usage:**
147 | 
148 | ```bash
149 | xmlui preview [options]
150 | ```
151 | 
152 | **Options:**
153 | 
154 | - `--proxy <pattern->target>` - Proxy API requests during preview
155 | 
156 | **Example:**
157 | 
158 | ```bash
159 | # Build and preview
160 | xmlui build --prod
161 | xmlui preview
162 | 
163 | # Preview with API proxy
164 | xmlui preview --proxy /api->http://localhost:8080
165 | ```
166 | 
167 | ### xmlui build-lib
168 | 
169 | Builds the XMLUI framework itself as a distributable npm package. This command is used during XMLUI framework development, not for application builds.
170 | 
171 | **Usage:**
172 | 
173 | ```bash
174 | xmlui build-lib [options]
175 | ```
176 | 
177 | **Options:**
178 | 
179 | - `--watch [boolean]` - Watch mode for continuous rebuilds during development (default: false)
180 | - `--mode <mode>` - Build mode: `lib`, `standalone`, or `metadata`
181 | 
182 | **Examples:**
183 | 
184 | ```bash
185 | # Build library for npm distribution
186 | npm run build:xmlui
187 | 
188 | # Build standalone bundle
189 | npm run build:xmlui-standalone
190 | 
191 | # Build with watch mode during development
192 | xmlui build-lib --watch
193 | ```
194 | 
195 | ### xmlui zip-dist
196 | 
197 | Creates a ZIP archive of the dist directory for deployment.
198 | 
199 | **Usage:**
200 | 
201 | ```bash
202 | xmlui zip-dist [options]
203 | ```
204 | 
205 | **Options:**
206 | 
207 | - `--source <path>` - Source directory to zip (default: `dist`)
208 | - `--target <filename>` - Output ZIP filename (default: `ui.zip`)
209 | 
210 | **Example:**
211 | 
212 | ```bash
213 | xmlui build --prod
214 | xmlui zip-dist --target production.zip
215 | ```
216 | 
217 | ## Build Modes
218 | 
219 | XMLUI applications can be built in three distinct modes that control how components and configurations are bundled:
220 | 
221 | ### CONFIG_ONLY Mode
222 | 
223 | **Characteristics:**
224 | 
225 | - Only configuration and entry point are bundled
226 | - Components loaded at runtime from source files
227 | - Smallest bundle size
228 | - Requires buildless component discovery at runtime
229 | 
230 | **Use Cases:**
231 | 
232 | - Development environments
233 | - Applications with frequently changing components
234 | - Scenarios where component hot-swapping is needed
235 | 
236 | ### INLINE_ALL Mode
237 | 
238 | **Characteristics:**
239 | 
240 | - All components pre-compiled and bundled
241 | - No runtime parsing or component discovery
242 | - Fastest startup time
243 | - Larger initial bundle size
244 | 
245 | **Use Cases:**
246 | 
247 | - Production deployments
248 | - Performance-critical applications
249 | - Environments with restricted runtime file access
250 | 
251 | ### ALL Mode
252 | 
253 | **Characteristics:**
254 | 
255 | - Hybrid approach with both bundled and runtime loading
256 | - Maximum flexibility
257 | - Balanced bundle size and performance
258 | 
259 | **Use Cases:**
260 | 
261 | - Complex applications with both static and dynamic components
262 | - Testing and staging environments
263 | 
264 | ## Vite Plugin System
265 | 
266 | The `vite-xmlui-plugin` transforms XMLUI source files during the build process.
267 | 
268 | ### Plugin Responsibilities
269 | 
270 | 1. **Transform .xmlui files** - Parses markup into component definitions
271 | 2. **Transform .xmlui.xs files** - Processes code-behind scripts
272 | 3. **Transform .xmlui.xm files** - Processes module scripts
273 | 4. **Error handling** - Converts parse errors into error components
274 | 5. **Code generation** - Produces ESM modules for Vite bundling
275 | 
276 | ### Transformation Pipeline
277 | 
278 | ```
279 | .xmlui file
280 |   ↓
281 | xmlUiMarkupToComponent()
282 |   ↓
283 | ComponentDef object
284 |   ↓
285 | dataToEsm()
286 |   ↓
287 | JavaScript module
288 | ```
289 | 
290 | ```
291 | .xmlui.xs file
292 |   ↓
293 | Parser.parseStatements()
294 |   ↓
295 | collectCodeBehindFromSource()
296 |   ↓
297 | Code-behind definition
298 |   ↓
299 | dataToEsm()
300 |   ↓
301 | JavaScript module
302 | ```
303 | 
304 | ### Plugin Configuration
305 | 
306 | The plugin is configured in `vite.config.ts`:
307 | 
308 | ```typescript
309 | import ViteXmlui from "./bin/vite-xmlui-plugin";
310 | 
311 | export default {
312 |   plugins: [
313 |     ViteXmlui({
314 |       // Plugin options (currently none defined)
315 |     }),
316 |   ],
317 | };
318 | ```
319 | 
320 | ## Build Configurations
321 | 
322 | XMLUI uses Vite with mode-specific configurations for different build targets.
323 | 
324 | ### Library Build (lib)
325 | 
326 | **Purpose:** Build XMLUI framework for npm distribution
327 | 
328 | **Entry Points:**
329 | 
330 | - `xmlui` - Main framework export
331 | - `xmlui-parser` - Parser utilities
332 | - `language-server` - Node.js language server
333 | - `language-server-web-worker` - Browser-based language server
334 | - `syntax-monaco` - Monaco editor syntax support
335 | - `syntax-textmate` - TextMate grammar support
336 | 
337 | **Output Format:** ES modules
338 | 
339 | **Key Features:**
340 | 
341 | - TypeScript declarations generated via `vite-plugin-dts`
342 | - CSS injection via `vite-plugin-lib-inject-css`
343 | - SCSS source files copied to `dist/lib/scss/`
344 | - React and SVG support
345 | - Rollup type bundling for optimized .d.ts files
346 | 
347 | **NPM Package Exports:**
348 | 
349 | ```json
350 | {
351 |   ".": "./dist/lib/xmlui.js",
352 |   "./parser": "./dist/lib/xmlui-parser.js",
353 |   "./language-server": "./dist/lib/language-server.js",
354 |   "./vite-xmlui-plugin": "./dist/scripts/bin/vite-xmlui-plugin.js",
355 |   "./*.css": "./dist/lib/*.css",
356 |   "./index.scss": "./dist/lib/scss/index.scss"
357 | }
358 | ```
359 | 
360 | ### Standalone Build (standalone)
361 | 
362 | **Purpose:** Build single-file XMLUI runtime for buildless deployments
363 | 
364 | **Entry Point:** `src/index-standalone.ts`
365 | 
366 | **Output Format:** UMD bundle (`xmlui-standalone.umd.js`)
367 | 
368 | **Key Features:**
369 | 
370 | - Self-contained runtime with all dependencies
371 | - MSW worker enabled for API mocking
372 | - Version stamping with build date
373 | - Can be loaded via `<script>` tag in browsers
374 | - Supports buildless app execution
375 | 
376 | **Use Cases:**
377 | 
378 | - CDN distribution
379 | - Buildless application deployment
380 | - Prototyping and demos
381 | - Environments without npm/build tools
382 | 
383 | ### Metadata Build (metadata)
384 | 
385 | **Purpose:** Extract component metadata for documentation and tooling
386 | 
387 | **Entry Point:** `src/components/collectedComponentMetadata.ts`
388 | 
389 | **Output:** `xmlui-metadata.js`
390 | 
391 | **Use Cases:**
392 | 
393 | - Generating documentation
394 | - Language server autocomplete
395 | - Component explorer tools
396 | - API reference generation
397 | 
398 | **Workflow:**
399 | 
400 | ```bash
401 | # Extract metadata
402 | npm run build:xmlui-metadata
403 | 
404 | # Generate documentation from metadata
405 | npm run generate-docs
406 | 
407 | # Create summary files
408 | npm run generate-docs-summaries
409 | ```
410 | 
411 | ## Package Structure
412 | 
413 | ### Source Layout
414 | 
415 | ```
416 | src/
417 |   ├── index.ts                    # Main framework entry
418 |   ├── index-standalone.ts         # Standalone runtime entry
419 |   ├── components/                 # Core components
420 |   ├── parsers/                    # .xmlui parser
421 |   ├── language-server/            # LSP implementation
422 |   ├── syntax/                     # Editor syntax support
423 |   └── styles/                     # Framework SCSS
424 | ```
425 | 
426 | ### Build Output (after npm publish)
427 | 
428 | ```
429 | dist/
430 |   ├── lib/                        # Library build
431 |   │   ├── xmlui.js
432 |   │   ├── xmlui.d.ts
433 |   │   ├── xmlui-parser.js
434 |   │   ├── language-server.js
435 |   │   └── scss/                   # SCSS source files
436 |   ├── standalone/                 # Standalone build
437 |   │   └── xmlui-standalone.umd.js
438 |   ├── metadata/                   # Metadata build
439 |   │   └── xmlui-metadata.js
440 |   └── bin/
441 |       └── index.js
442 | ```
443 | 
444 | ### Bin Scripts
445 | 
446 | ```
447 | bin/
448 |   ├── bootstrap.js                # CLI entry for development (uses tsx)
449 |   ├── index.ts                    # Command router
450 |   ├── build.ts                    # Build implementation
451 |   ├── build-lib.ts                # Library build
452 |   ├── start.ts                    # Dev server
453 |   ├── preview.ts                  # Preview server
454 |   ├── vite-xmlui-plugin.ts        # Vite plugin
455 |   └── viteConfig.ts               # Shared Vite config
456 | ```
457 | 
458 | ## Building XMLUI Extensions
459 | 
460 | XMLUI extensions are npm packages that provide reusable component libraries. The build system supports extension development through the same CLI commands used for framework and application builds.
461 | 
462 | ### Extension Build Commands
463 | 
464 | Extensions use standard npm scripts that invoke the `xmlui` CLI:
465 | 
466 | **package.json example:**
467 | 
468 | ```json
469 | {
470 |   "scripts": {
471 |     "start": "xmlui start",
472 |     "build:extension": "xmlui build-lib",
473 |     "build-watch": "xmlui build-lib --watch",
474 |     "build:demo": "xmlui build",
475 |     "build:meta": "xmlui build-lib --mode=metadata"
476 |   }
477 | }
478 | ```
479 | 
480 | **Command Reference:**
481 | 
482 | | Command                   | CLI Equivalent                    | Purpose                    | Output                        |
483 | | ------------------------- | --------------------------------- | -------------------------- | ----------------------------- |
484 | | `npm start`               | `xmlui start`                     | Dev server for demo app    | Dev server with HMR           |
485 | | `npm run build:extension` | `xmlui build-lib`                 | Build extension library    | `dist/` with .js, .d.ts, .css |
486 | | `npm run build-watch`     | `xmlui build-lib --watch`         | Watch mode for development | Continuous rebuilds           |
487 | | `npm run build:demo`      | `xmlui build`                     | Build demo application     | Production demo build         |
488 | | `npm run build:meta`      | `xmlui build-lib --mode=metadata` | Extract component metadata | Metadata for docs/LSP         |
489 | 
490 | ### Extension Build Workflow
491 | 
492 | **Development Process:**
493 | 
494 | ```bash
495 | # Terminal 1: Watch extension builds
496 | npm run build-watch
497 | 
498 | # Terminal 2: Run demo app with HMR
499 | npm start
500 | ```
501 | 
502 | **Build Output:**
503 | 
504 | ```
505 | dist/
506 |   ├── xmlui-extension-name.js      # CommonJS bundle
507 |   ├── xmlui-extension-name.mjs     # ES module bundle
508 |   ├── xmlui-extension-name.d.ts    # TypeScript declarations
509 |   └── *.css                        # Extracted component styles
510 | ```
511 | 
512 | ### Extension Distribution
513 | 
514 | **Publishing to npm:**
515 | 
516 | ```bash
517 | # Build all artifacts
518 | npm run build:extension
519 | npm run build:meta
520 | 
521 | # Publish
522 | npm publish
523 | ```
524 | 
525 | **Package Configuration:**
526 | 
527 | ```json
528 | {
529 |   "name": "xmlui-myextension",
530 |   "main": "./dist/xmlui-myextension.js",
531 |   "module": "./dist/xmlui-myextension.mjs",
532 |   "exports": {
533 |     ".": {
534 |       "import": "./dist/xmlui-myextension.mjs",
535 |       "require": "./dist/xmlui-myextension.js"
536 |     },
537 |     "./*.css": {
538 |       "import": "./dist/*.css",
539 |       "require": "./dist/*.css"
540 |     }
541 |   },
542 |   "files": ["dist"]
543 | }
544 | ```
545 | 
546 | ### Using Extensions
547 | 
548 | **Installation:**
549 | 
550 | ```bash
551 | npm install xmlui-myextension
552 | ```
553 | 
554 | **Integration:**
555 | 
556 | ```typescript
557 | import { startApp } from "xmlui";
558 | import myExtension from "xmlui-myextension";
559 | import "xmlui-myextension/ComponentName.css";
560 | 
561 | const runtime = import.meta.glob(`/demo/**`, { eager: true });
562 | startApp(runtime, [myExtension]);
563 | ```
564 | 
565 | ### Example: xmlui-website-blocks
566 | 
567 | **Reference implementation in the monorepo:**
568 | 
569 | ```
570 | packages/xmlui-website-blocks/
571 |   ├── package.json          # Extension package config
572 |   ├── index.ts              # Entry point with startApp
573 |   ├── src/                  # Extension components
574 |   │   └── index.tsx         # Component registry export
575 |   ├── demo/                 # Demo XMLUI application
576 |   │   └── Main.xmlui
577 |   └── dist/                 # Build output
578 | ```
579 | 
580 | **Build commands:**
581 | 
582 | ```bash
583 | cd packages/xmlui-website-blocks
584 | 
585 | # Development
586 | npm start                    # Demo app at http://localhost:5173
587 | 
588 | # Building
589 | npm run build:extension      # Library build
590 | npm run build:demo          # Demo app build
591 | npm run build:meta          # Metadata extraction
592 | ```
593 | 
594 | ## Development Workflow
595 | 
596 | ### Framework Development
597 | 
598 | **Setup:**
599 | 
600 | ```bash
601 | cd xmlui
602 | npm install
603 | ```
604 | 
605 | **Development Loop:**
606 | 
607 | ```bash
608 | # Terminal 1: Watch mode for library
609 | npm run build:bin
610 | xmlui build-lib --watch
611 | 
612 | # Terminal 2: Dev server for test app
613 | cd src/testing/infrastructure
614 | xmlui start
615 | ```
616 | 
617 | **Testing:**
618 | 
619 | ```bash
620 | # Unit tests
621 | npm run test:unit
622 | 
623 | # E2E tests
624 | npm run test:e2e-smoke
625 | npm run test:e2e-non-smoke
626 | 
627 | # Interactive E2E
628 | npm run test:e2e-ui
629 | ```
630 | 
631 | **Publishing:**
632 | 
633 | ```bash
634 | # Build all artifacts
635 | npm run build:xmlui
636 | npm run build:xmlui-standalone
637 | npm run build:xmlui-metadata
638 | 
639 | # Publish to npm (uses clean-package to transform package.json)
640 | npm publish
641 | ```
642 | 
643 | ### Application Development
644 | 
645 | **Create New App:**
646 | 
647 | ```bash
648 | # Create app directory
649 | mkdir my-xmlui-app
650 | cd my-xmlui-app
651 | 
652 | # Initialize with Main.xmlui
653 | echo '<App><Text>Hello XMLUI</Text></App>' > Main.xmlui
654 | 
655 | # Create index.html
656 | cat > index.html << 'EOF'
657 | <!DOCTYPE html>
658 | <html>
659 |   <head>
660 |     <title>My XMLUI App</title>
661 |   </head>
662 |   <body>
663 |     <div id="root"></div>
664 |     <script src="https://unpkg.com/xmlui@latest/dist/standalone/xmlui-standalone.umd.js"></script>
665 |   </body>
666 | </html>
667 | EOF
668 | 
669 | # Serve with any static server
670 | npx serve
671 | ```
672 | 
673 | **Built App Development:**
674 | 
675 | ```bash
676 | # Install xmlui
677 | npm install xmlui
678 | 
679 | # Add vite config
680 | cat > vite.config.ts << 'EOF'
681 | import { defineConfig } from 'vite';
682 | import react from '@vitejs/plugin-react';
683 | import ViteXmlui from 'xmlui/vite-xmlui-plugin';
684 | 
685 | export default defineConfig({
686 |   plugins: [react(), ViteXmlui()]
687 | });
688 | EOF
689 | 
690 | # Start dev server
691 | xmlui start
692 | 
693 | # Build for production
694 | xmlui build --prod
695 | ```
696 | 
697 | **Key Scripts:**
698 | 
699 | ```bash
700 | # Development
701 | xmlui start                      # Dev server with HMR
702 | xmlui start --withMock=false     # Without API mocking
703 | xmlui start --proxy /api->...    # With backend proxy
704 | 
705 | # Production builds
706 | xmlui build --prod               # Optimized build
707 | xmlui build --buildMode=INLINE_ALL --flatDist
708 | 
709 | # Deployment
710 | xmlui build --prod --withHostingMetaFiles
711 | xmlui zip-dist
712 | ```
713 | 
714 | ### Quick Reference Table
715 | 
716 | This table summarizes when to run builds across different contexts:
717 | 
718 | | Context        | Scenario                  | npm Script                       | Underlying CLI                                  | When to Run                                    | Comments                                                                                                                                                                                                                                                            |
719 | | -------------- | ------------------------- | -------------------------------- | ----------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
720 | | **docs/**      | Editing `.md` files       | `npm start`                      | `xmlui start`                                   | No build - just refresh browser                | Markdown files are served directly; dev server provides hot reload for instant feedback                                                                                                                                                                             |
721 | | **docs/**      | Building docs site        | `npm run build:docs`             | `xmlui build --buildMode=INLINE_ALL --withMock` | Before deployment                              | Creates optimized production build with INLINE_ALL mode, downloads latest XMLUI release, generates RSS feed                                                                                                                                                         |
722 | | **docs/**      | Preview production build  | `npm run preview`                | `xmlui preview`                                 | After building                                 | Serves production build locally for testing before deployment                                                                                                                                                                                                       |
723 | | **xmlui/**     | Testing component changes | `npm start-test-bed`             | `cd src/testing/infrastructure && xmlui start`  | Automatic HMR                                  | Runs dev server in `src/testing/infrastructure`; component changes appear instantly via HMR                                                                                                                                                                         |
724 | | **xmlui/**     | Building framework        | `npm run build:xmlui`            | `vite build --mode lib`                         | Before npm publish                             | Builds library for npm distribution using Vite directly (not xmlui CLI); generates .mjs, .d.ts, and CSS                                                                                                                                                             |
725 | | **xmlui/**     | Building standalone       | `npm run build:xmlui-standalone` | `vite build --mode standalone`                  | For CDN/buildless                              | Creates self-contained UMD bundle for `<script>` tag usage; framework builds itself with Vite directly                                                                                                                                                              |
726 | | **xmlui/**     | Generating metadata       | `npm run build:xmlui-metadata`   | `vite build --mode metadata`                    | After component changes, before doc generation | Extracts component metadata into `xmlui-metadata.js` for documentation generation and language server autocomplete. This is the source of truth for component APIs, props, and descriptions. Framework uses Vite directly.                                          |
727 | | **xmlui/**     | Full doc generation       | `npm run generate-all-docs`      | Node scripts (not CLI)                          | After metadata changes                         | Runs three scripts: (1) `build:xmlui-metadata` - extracts metadata, (2) `generate-docs` - creates component .md files from metadata, (3) `generate-docs-summaries` - creates overview/summary files. This is the complete pipeline from source code → documentation |
728 | | **xmlui/**     | Compile bin scripts       | `npm run build:bin`              | `tsdown`                                        | After changes to bin/\*.ts files               | Compiles TypeScript bin scripts (CLI tools) to JavaScript using tsdown (see tsdown.config.ts); needed when modifying build system or CLI commands                                                                                                                   |
729 | | **extension/** | Development               | `npm start`                      | `xmlui start`                                   | Keep running during dev                        | Runs dev server with HMR for demo app; use with build-watch in separate terminal                                                                                                                                                                                    |
730 | | **extension/** | Watch mode build          | `npm run build-watch`            | `xmlui build-lib --watch`                       | Keep running during dev                        | Continuously rebuilds extension library on changes; pair with `npm start` for rapid iteration                                                                                                                                                                       |
731 | | **extension/** | Building for publish      | `npm run build:extension`        | `xmlui build-lib`                               | Before npm publish                             | Creates distributable library bundle (.mjs, .js, .d.ts, CSS) for npm package                                                                                                                                                                                        |
732 | | **extension/** | Build demo app            | `npm run build:demo`             | `xmlui build`                                   | For demo deployment                            | Builds the demo application (not the extension itself) for hosting                                                                                                                                                                                                  |
733 | | **extension/** | Extract metadata          | `npm run build:meta`             | `xmlui build-lib --mode=metadata`               | For LSP/docs support                           | Extracts extension component metadata for language server and documentation                                                                                                                                                                                         |
734 | 
735 | **Key principles:**
736 | 
737 | - **Development mode uses HMR** - No manual builds needed when running `xmlui start`
738 | - **Production requires explicit builds** - Use `xmlui build` or `npm run build:*` scripts
739 | - **Framework builds itself differently** - XMLUI uses Vite directly (`vite build --mode lib`) instead of the `xmlui` CLI
740 | - **Extensions use the CLI** - Extension developers use `xmlui build-lib` and `xmlui start`
741 | - **npm scripts wrap CLI commands** - Convenience shortcuts with project-specific flags
742 | 
743 | ### Build Optimization Tips
744 | 
745 | 1. **Development:** Use `xmlui start` for instant feedback
746 | 2. **Testing:** Use `CONFIG_ONLY` mode for faster rebuilds
747 | 3. **Production:** Use `INLINE_ALL` with `--flatDist` for optimal performance
748 | 4. **Debugging:** Enable `--withMock` to test without backend
749 | 5. **Large Apps:** Consider lazy loading with `ALL` mode
750 | 
751 | ### Environment Variables
752 | 
753 | Build behavior can be controlled via environment variables:
754 | 
755 | ```bash
756 | # .env file
757 | NODE_ENV=production
758 | VITE_BUILD_MODE=INLINE_ALL
759 | VITE_MOCK_ENABLED=false
760 | VITE_STANDALONE=true
761 | ```
762 | 
763 | **Key Variables:**
764 | 
765 | - `VITE_BUILD_MODE` - Component bundling strategy
766 | - `VITE_MOCK_ENABLED` - Enable/disable MSW
767 | - `VITE_STANDALONE` - Standalone runtime mode
768 | - `VITE_INCLUDE_ALL_COMPONENTS` - Bundle all components
769 | - `VITE_XMLUI_VERSION` - Version string for metadata
770 | 
771 | ---
772 | 
773 | ## See Also
774 | 
775 | - [Building the XMLUI Core Package](./build-xmlui.md) - Framework package build with Vite
776 | - [Standalone Rendering Architecture](./standalone-app.md) - How built vs buildless apps work
777 | - [Container-Based State Management](./containers.md) - Runtime state system
778 | - [React Fundamentals](./react-fundamentals.md) - React integration details
779 | 
```
Page 106/190FirstPrevNextLast