#
tokens: 44425/50000 2/1634 files (page 112/189)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 112 of 189. Use http://codebase.md/xmlui-org/xmlui/tools/vscode/resources/assets/img/%7BimageSrc%7D?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── config.json
│   ├── cyan-tools-design.md
│   ├── every-moments-teach.md
│   ├── fancy-laws-drop.md
│   ├── full-symbols-accept.md
│   └── tricky-zoos-crash.md
├── .eslintrc.cjs
├── .github
│   ├── build-checklist.png
│   ├── ISSUE_TEMPLATE
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── workflows
│       ├── deploy-blog-optimized.yml
│       ├── deploy-blog-swa.yml
│       ├── deploy-blog.yml
│       ├── deploy-docs-optimized.yml
│       ├── deploy-docs-swa.yml
│       ├── deploy-docs.yml
│       ├── prepare-versions.yml
│       ├── release-packages.yml
│       ├── run-all-tests.yml
│       └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│   ├── launch.json
│   └── settings.json
├── blog
│   ├── .gitignore
│   ├── .gitkeep
│   ├── CHANGELOG.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── blog
│   │   │   ├── images
│   │   │   │   ├── an-advanced-codefence.gif
│   │   │   │   ├── an-advanced-codefence.mp4
│   │   │   │   ├── blog-page-component.png
│   │   │   │   ├── blog-scrabble.png
│   │   │   │   ├── codefence-runner.png
│   │   │   │   ├── integrated-blog-search.png
│   │   │   │   ├── lorem-ipsum.png
│   │   │   │   ├── playground-checkbox-source.png
│   │   │   │   ├── playground.png
│   │   │   │   ├── use-xmlui-mcp-to-find-a-howto.png
│   │   │   │   └── xmlui-demo-gallery.png
│   │   │   ├── introducing-xmlui.md
│   │   │   ├── lorem-ipsum.md
│   │   │   ├── newest-post.md
│   │   │   ├── older-post.md
│   │   │   ├── xmlui-playground.md
│   │   │   └── xmlui-powered-blog.md
│   │   ├── mockServiceWorker.js
│   │   ├── resources
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   └── for-download
│   │   │   │       └── xmlui
│   │   │   │           └── xmlui-standalone.umd.js
│   │   │   ├── github.svg
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   ├── rss.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   ├── staticwebapp.config.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   └── PageNotFound.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       └── blog-theme.ts
│   └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│   ├── .gitignore
│   ├── CHANGELOG.md
│   ├── ComponentRefLinks.txt
│   ├── content
│   │   ├── _meta.json
│   │   ├── components
│   │   │   ├── _meta.json
│   │   │   ├── _overview.md
│   │   │   ├── APICall.md
│   │   │   ├── App.md
│   │   │   ├── AppHeader.md
│   │   │   ├── AppState.md
│   │   │   ├── AutoComplete.md
│   │   │   ├── Avatar.md
│   │   │   ├── Backdrop.md
│   │   │   ├── Badge.md
│   │   │   ├── BarChart.md
│   │   │   ├── Bookmark.md
│   │   │   ├── Breakout.md
│   │   │   ├── Button.md
│   │   │   ├── Card.md
│   │   │   ├── Carousel.md
│   │   │   ├── ChangeListener.md
│   │   │   ├── Checkbox.md
│   │   │   ├── CHStack.md
│   │   │   ├── ColorPicker.md
│   │   │   ├── Column.md
│   │   │   ├── ContentSeparator.md
│   │   │   ├── CVStack.md
│   │   │   ├── DataSource.md
│   │   │   ├── DateInput.md
│   │   │   ├── DatePicker.md
│   │   │   ├── DonutChart.md
│   │   │   ├── DropdownMenu.md
│   │   │   ├── EmojiSelector.md
│   │   │   ├── ExpandableItem.md
│   │   │   ├── FileInput.md
│   │   │   ├── FileUploadDropZone.md
│   │   │   ├── FlowLayout.md
│   │   │   ├── Footer.md
│   │   │   ├── Form.md
│   │   │   ├── FormItem.md
│   │   │   ├── FormSection.md
│   │   │   ├── Fragment.md
│   │   │   ├── H1.md
│   │   │   ├── H2.md
│   │   │   ├── H3.md
│   │   │   ├── H4.md
│   │   │   ├── H5.md
│   │   │   ├── H6.md
│   │   │   ├── Heading.md
│   │   │   ├── HSplitter.md
│   │   │   ├── HStack.md
│   │   │   ├── Icon.md
│   │   │   ├── IFrame.md
│   │   │   ├── Image.md
│   │   │   ├── Items.md
│   │   │   ├── LabelList.md
│   │   │   ├── Legend.md
│   │   │   ├── LineChart.md
│   │   │   ├── Link.md
│   │   │   ├── List.md
│   │   │   ├── Logo.md
│   │   │   ├── Markdown.md
│   │   │   ├── MenuItem.md
│   │   │   ├── MenuSeparator.md
│   │   │   ├── ModalDialog.md
│   │   │   ├── NavGroup.md
│   │   │   ├── NavLink.md
│   │   │   ├── NavPanel.md
│   │   │   ├── NoResult.md
│   │   │   ├── NumberBox.md
│   │   │   ├── Option.md
│   │   │   ├── Page.md
│   │   │   ├── PageMetaTitle.md
│   │   │   ├── Pages.md
│   │   │   ├── Pagination.md
│   │   │   ├── PasswordInput.md
│   │   │   ├── PieChart.md
│   │   │   ├── ProgressBar.md
│   │   │   ├── Queue.md
│   │   │   ├── RadioGroup.md
│   │   │   ├── RealTimeAdapter.md
│   │   │   ├── Redirect.md
│   │   │   ├── Select.md
│   │   │   ├── Slider.md
│   │   │   ├── Slot.md
│   │   │   ├── SpaceFiller.md
│   │   │   ├── Spinner.md
│   │   │   ├── Splitter.md
│   │   │   ├── Stack.md
│   │   │   ├── StickyBox.md
│   │   │   ├── SubMenuItem.md
│   │   │   ├── Switch.md
│   │   │   ├── TabItem.md
│   │   │   ├── Table.md
│   │   │   ├── TableOfContents.md
│   │   │   ├── Tabs.md
│   │   │   ├── Text.md
│   │   │   ├── TextArea.md
│   │   │   ├── TextBox.md
│   │   │   ├── Theme.md
│   │   │   ├── TimeInput.md
│   │   │   ├── Timer.md
│   │   │   ├── ToneChangerButton.md
│   │   │   ├── ToneSwitch.md
│   │   │   ├── Tooltip.md
│   │   │   ├── Tree.md
│   │   │   ├── VSplitter.md
│   │   │   ├── VStack.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   ├── xmlui-spreadsheet
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Spreadsheet.md
│   │   │   └── xmlui-website-blocks
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       ├── Carousel.md
│   │   │       ├── HelloMd.md
│   │   │       ├── HeroSection.md
│   │   │       └── ScrollToTop.md
│   │   └── extensions
│   │       ├── _meta.json
│   │       ├── xmlui-animations
│   │       │   ├── _meta.json
│   │       │   ├── _overview.md
│   │       │   ├── Animation.md
│   │       │   ├── FadeAnimation.md
│   │       │   ├── FadeInAnimation.md
│   │       │   ├── FadeOutAnimation.md
│   │       │   ├── ScaleAnimation.md
│   │       │   └── SlideInAnimation.md
│   │       └── xmlui-website-blocks
│   │           ├── _meta.json
│   │           ├── _overview.md
│   │           ├── Carousel.md
│   │           ├── 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
│   │   │   ├── github.svg
│   │   │   ├── images
│   │   │   │   ├── apiaction-tutorial
│   │   │   │   │   ├── add-success.png
│   │   │   │   │   ├── apiaction-param.png
│   │   │   │   │   ├── change-completed.png
│   │   │   │   │   ├── change-in-progress.png
│   │   │   │   │   ├── confirm-delete.png
│   │   │   │   │   ├── data-error.png
│   │   │   │   │   ├── data-progress.png
│   │   │   │   │   ├── data-success.png
│   │   │   │   │   ├── display-1.png
│   │   │   │   │   ├── item-deleted.png
│   │   │   │   │   ├── item-updated.png
│   │   │   │   │   ├── missing-api-key.png
│   │   │   │   │   ├── new-item-added.png
│   │   │   │   │   └── test-message.png
│   │   │   │   ├── chat-api
│   │   │   │   │   └── domain-model.svg
│   │   │   │   ├── components
│   │   │   │   │   ├── image
│   │   │   │   │   │   └── breakfast.jpg
│   │   │   │   │   ├── markdown
│   │   │   │   │   │   └── colors.png
│   │   │   │   │   └── modal
│   │   │   │   │       ├── deep_link_dialog_1.jpg
│   │   │   │   │       └── deep_link_dialog_2.jpg
│   │   │   │   ├── create-apps
│   │   │   │   │   ├── collapsed-vertical.png
│   │   │   │   │   ├── using-forms-warning-dialog.png
│   │   │   │   │   └── using-forms.png
│   │   │   │   ├── datasource-tutorial
│   │   │   │   │   ├── data-with-header.png
│   │   │   │   │   ├── filtered-data.png
│   │   │   │   │   ├── filtered-items.png
│   │   │   │   │   ├── initial-page-items.png
│   │   │   │   │   ├── list-items.png
│   │   │   │   │   ├── next-page-items.png
│   │   │   │   │   ├── no-data.png
│   │   │   │   │   ├── pagination-1.jpg
│   │   │   │   │   ├── pagination-1.png
│   │   │   │   │   ├── polling-1.png
│   │   │   │   │   ├── refetch-data.png
│   │   │   │   │   ├── slow-loading.png
│   │   │   │   │   ├── test-message.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── unconventional-data.png
│   │   │   │   │   └── unfiltered-items.png
│   │   │   │   ├── flower.jpg
│   │   │   │   ├── get-started
│   │   │   │   │   ├── add-new-contact.png
│   │   │   │   │   ├── app-modified.png
│   │   │   │   │   ├── app-start.png
│   │   │   │   │   ├── app-with-boxes.png
│   │   │   │   │   ├── app-with-toast.png
│   │   │   │   │   ├── boilerplate-structure.png
│   │   │   │   │   ├── cl-initial.png
│   │   │   │   │   ├── cl-start.png
│   │   │   │   │   ├── contact-counts.png
│   │   │   │   │   ├── contact-dialog-title.png
│   │   │   │   │   ├── contact-dialog.png
│   │   │   │   │   ├── contact-menus.png
│   │   │   │   │   ├── contact-predicates.png
│   │   │   │   │   ├── context-menu.png
│   │   │   │   │   ├── dashboard-numbers.png
│   │   │   │   │   ├── default-contact-list.png
│   │   │   │   │   ├── delete-contact.png
│   │   │   │   │   ├── delete-task.png
│   │   │   │   │   ├── detailed-template.png
│   │   │   │   │   ├── edit-contact-details.png
│   │   │   │   │   ├── edited-contact-saved.png
│   │   │   │   │   ├── empty-sections.png
│   │   │   │   │   ├── filter-completed.png
│   │   │   │   │   ├── fullwidth-desktop.png
│   │   │   │   │   ├── fullwidth-mobile.png
│   │   │   │   │   ├── initial-table.png
│   │   │   │   │   ├── items-and-badges.png
│   │   │   │   │   ├── loading-message.png
│   │   │   │   │   ├── new-contact-button.png
│   │   │   │   │   ├── new-contact-saved.png
│   │   │   │   │   ├── no-empty-sections.png
│   │   │   │   │   ├── personal-todo-initial.png
│   │   │   │   │   ├── piechart.png
│   │   │   │   │   ├── review-today.png
│   │   │   │   │   ├── rudimentary-dashboard.png
│   │   │   │   │   ├── section-collapsed.png
│   │   │   │   │   ├── sectioned-items.png
│   │   │   │   │   ├── sections-ordered.png
│   │   │   │   │   ├── spacex-list-with-links.png
│   │   │   │   │   ├── spacex-list.png
│   │   │   │   │   ├── start-personal-todo-1.png
│   │   │   │   │   ├── submit-new-contact.png
│   │   │   │   │   ├── submit-new-task.png
│   │   │   │   │   ├── syntax-highlighting.png
│   │   │   │   │   ├── table-with-badge.png
│   │   │   │   │   ├── template-with-card.png
│   │   │   │   │   ├── test-emulated-api.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── todo-logo.png
│   │   │   │   │   └── xmlui-tools.png
│   │   │   │   ├── HelloApp.png
│   │   │   │   ├── HelloApp2.png
│   │   │   │   ├── logos
│   │   │   │   │   ├── xmlui1.svg
│   │   │   │   │   ├── xmlui2.svg
│   │   │   │   │   ├── xmlui3.svg
│   │   │   │   │   ├── xmlui4.svg
│   │   │   │   │   ├── xmlui5.svg
│   │   │   │   │   ├── xmlui6.svg
│   │   │   │   │   └── xmlui7.svg
│   │   │   │   ├── pdf
│   │   │   │   │   └── dummy-pdf.jpg
│   │   │   │   ├── rendering-engine
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   ├── Component.svg
│   │   │   │   │   ├── CompoundComponent.svg
│   │   │   │   │   ├── RootComponent.svg
│   │   │   │   │   └── tree-with-containers.svg
│   │   │   │   ├── reviewers-guide
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   └── incbutton-in-action.png
│   │   │   │   ├── tools
│   │   │   │   │   └── boilerplate-structure.png
│   │   │   │   ├── try.svg
│   │   │   │   ├── tutorial
│   │   │   │   │   ├── app-chat-history.png
│   │   │   │   │   ├── app-content-placeholder.png
│   │   │   │   │   ├── app-header-and-content.png
│   │   │   │   │   ├── app-links-channel-selected.png
│   │   │   │   │   ├── app-links-click.png
│   │   │   │   │   ├── app-navigation.png
│   │   │   │   │   ├── finished-ex01.png
│   │   │   │   │   ├── finished-ex02.png
│   │   │   │   │   ├── hello.png
│   │   │   │   │   ├── splash-screen-advanced.png
│   │   │   │   │   ├── splash-screen-after-click.png
│   │   │   │   │   ├── splash-screen-centered.png
│   │   │   │   │   ├── splash-screen-events.png
│   │   │   │   │   ├── splash-screen-expression.png
│   │   │   │   │   ├── splash-screen-reuse-after.png
│   │   │   │   │   ├── splash-screen-reuse-before.png
│   │   │   │   │   └── splash-screen.png
│   │   │   │   └── tutorial-01.png
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   ├── Boxes.xmlui
│   │   │   ├── Breadcrumb.xmlui
│   │   │   ├── ChangeLog.xmlui
│   │   │   ├── ColorPalette.xmlui
│   │   │   ├── DocumentLinks.xmlui
│   │   │   ├── DocumentPage.xmlui
│   │   │   ├── DocumentPageNoTOC.xmlui
│   │   │   ├── Icons.xmlui
│   │   │   ├── IncButton.xmlui
│   │   │   ├── IncButton2.xmlui
│   │   │   ├── NameValue.xmlui
│   │   │   ├── PageNotFound.xmlui
│   │   │   ├── PaletteItem.xmlui
│   │   │   ├── Palettes.xmlui
│   │   │   ├── SectionHeader.xmlui
│   │   │   ├── TBD.xmlui
│   │   │   ├── Test.xmlui
│   │   │   ├── ThemesIntro.xmlui
│   │   │   ├── ThousandThemes.xmlui
│   │   │   ├── TubeStops.xmlui
│   │   │   ├── TubeStops.xmlui.xs
│   │   │   └── TwoColumnCode.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       ├── docs-theme.ts
│   │       ├── earthtone.ts
│   │       ├── xmlui-gray-on-default.ts
│   │       ├── xmlui-green-on-default.ts
│   │       └── xmlui-orange-on-default.ts
│   └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│   ├── tsconfig.json
│   ├── xmlui-animations
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── Animation.tsx
│   │       ├── AnimationNative.tsx
│   │       ├── FadeAnimation.tsx
│   │       ├── FadeInAnimation.tsx
│   │       ├── FadeOutAnimation.tsx
│   │       ├── index.tsx
│   │       ├── ScaleAnimation.tsx
│   │       └── SlideInAnimation.tsx
│   ├── xmlui-devtools
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── devtools
│   │   │   │   ├── DevTools.tsx
│   │   │   │   ├── DevToolsNative.module.scss
│   │   │   │   ├── DevToolsNative.tsx
│   │   │   │   ├── ModalDialog.module.scss
│   │   │   │   ├── ModalDialog.tsx
│   │   │   │   ├── ModalVisibilityContext.tsx
│   │   │   │   ├── Tooltip.module.scss
│   │   │   │   ├── Tooltip.tsx
│   │   │   │   └── utils.ts
│   │   │   ├── editor
│   │   │   │   └── Editor.tsx
│   │   │   └── index.tsx
│   │   └── vite.config-overrides.ts
│   ├── xmlui-hello-world
│   │   ├── .gitignore
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── HelloWorld.module.scss
│   │       ├── HelloWorld.tsx
│   │       ├── HelloWorldNative.tsx
│   │       └── index.tsx
│   ├── xmlui-os-frames
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── IPhoneFrame.module.scss
│   │       ├── IPhoneFrame.tsx
│   │       ├── MacOSAppFrame.module.scss
│   │       ├── MacOSAppFrame.tsx
│   │       ├── WindowsAppFrame.module.scss
│   │       └── WindowsAppFrame.tsx
│   ├── xmlui-pdf
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   ├── components
│   │   │   │   └── Pdf.xmlui
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── LazyPdfNative.tsx
│   │       ├── Pdf.module.scss
│   │       └── Pdf.tsx
│   ├── xmlui-playground
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── hooks
│   │       │   ├── usePlayground.ts
│   │       │   └── useToast.ts
│   │       ├── index.tsx
│   │       ├── playground
│   │       │   ├── Box.module.scss
│   │       │   ├── Box.tsx
│   │       │   ├── CodeSelector.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
    │   │   └── themed-app-test-helpers.ts
    │   └── vite-env.d.ts
    ├── tests
    │   ├── components
    │   │   ├── CodeBlock
    │   │   │   └── hightlight-code.test.ts
    │   │   ├── playground-pattern.test.ts
    │   │   └── Tree
    │   │       └── Tree-states.test.ts
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   └── treeAbstractions.test.ts
    │   │   ├── container
    │   │   │   └── buildProxy.test.ts
    │   │   ├── interception
    │   │   │   ├── orderBy.test.ts
    │   │   │   ├── ReadOnlyCollection.test.ts
    │   │   │   └── request-param-converter.test.ts
    │   │   ├── scripts-runner
    │   │   │   ├── AttributeValueParser.test.ts
    │   │   │   ├── eval-tree-arrow-async.test.ts
    │   │   │   ├── eval-tree-arrow.test.ts
    │   │   │   ├── eval-tree-func-decl-async.test.ts
    │   │   │   ├── eval-tree-func-decl.test.ts
    │   │   │   ├── eval-tree-pre-post.test.ts
    │   │   │   ├── eval-tree-regression.test.ts
    │   │   │   ├── eval-tree.test.ts
    │   │   │   ├── function-proxy.test.ts
    │   │   │   ├── parser-regression.test.ts
    │   │   │   ├── process-event.test.ts
    │   │   │   ├── process-function.test.ts
    │   │   │   ├── process-implicit-context.test.ts
    │   │   │   ├── process-statement-asgn.test.ts
    │   │   │   ├── process-statement-destruct.test.ts
    │   │   │   ├── process-statement-regs.test.ts
    │   │   │   ├── process-statement-sync.test.ts
    │   │   │   ├── process-statement.test.ts
    │   │   │   ├── process-switch-sync.test.ts
    │   │   │   ├── process-switch.test.ts
    │   │   │   ├── process-try-sync.test.ts
    │   │   │   ├── process-try.test.ts
    │   │   │   └── test-helpers.ts
    │   │   ├── test-metadata-handler.ts
    │   │   ├── theming
    │   │   │   ├── border-segments.test.ts
    │   │   │   ├── component-layout.resolver.test.ts
    │   │   │   ├── layout-property-parser.test.ts
    │   │   │   ├── layout-resolver.test.ts
    │   │   │   ├── layout-resolver2.test.ts
    │   │   │   ├── layout-vp-override.test.ts
    │   │   │   └── padding-segments.test.ts
    │   │   └── utils
    │   │       ├── date-utils.test.ts
    │   │       ├── format-human-elapsed-time.test.ts
    │   │       └── LruCache.test.ts
    │   ├── language-server
    │   │   ├── completion.test.ts
    │   │   ├── format.test.ts
    │   │   ├── hover.test.ts
    │   │   └── mockData.ts
    │   └── parsers
    │       ├── common
    │       │   └── input-stream.test.ts
    │       ├── markdown
    │       │   └── parse-binding-expression.test.ts
    │       ├── parameter-parser.test.ts
    │       ├── paremeter-parser.test.ts
    │       ├── scripting
    │       │   ├── eval-tree-arrow.test.ts
    │       │   ├── eval-tree-pre-post.test.ts
    │       │   ├── eval-tree.test.ts
    │       │   ├── function-proxy.test.ts
    │       │   ├── lexer-literals.test.ts
    │       │   ├── lexer-misc.test.ts
    │       │   ├── module-parse.test.ts
    │       │   ├── parser-arrow.test.ts
    │       │   ├── parser-assignments.test.ts
    │       │   ├── parser-binary.test.ts
    │       │   ├── parser-destructuring.test.ts
    │       │   ├── parser-errors.test.ts
    │       │   ├── parser-expressions.test.ts
    │       │   ├── parser-function.test.ts
    │       │   ├── parser-literals.test.ts
    │       │   ├── parser-primary.test.ts
    │       │   ├── parser-regex.test.ts
    │       │   ├── parser-statements.test.ts
    │       │   ├── parser-unary.test.ts
    │       │   ├── process-event.test.ts
    │       │   ├── process-implicit-context.test.ts
    │       │   ├── process-statement-asgn.test.ts
    │       │   ├── process-statement-destruct.test.ts
    │       │   ├── process-statement-regs.test.ts
    │       │   ├── process-statement-sync.test.ts
    │       │   ├── process-statement.test.ts
    │       │   ├── process-switch-sync.test.ts
    │       │   ├── process-switch.test.ts
    │       │   ├── process-try-sync.test.ts
    │       │   ├── process-try.test.ts
    │       │   ├── simplify-expression.test.ts
    │       │   ├── statement-hooks.test.ts
    │       │   └── test-helpers.ts
    │       ├── style-parser
    │       │   ├── generateHvarChain.test.ts
    │       │   ├── parseHVar.test.ts
    │       │   ├── parser.test.ts
    │       │   └── tokens.test.ts
    │       └── xmlui
    │           ├── lint.test.ts
    │           ├── parser.test.ts
    │           ├── scanner.test.ts
    │           ├── transform.attr.test.ts
    │           ├── transform.circular.test.ts
    │           ├── transform.element.test.ts
    │           ├── transform.errors.test.ts
    │           ├── transform.escape.test.ts
    │           ├── transform.regression.test.ts
    │           ├── transform.script.test.ts
    │           ├── transform.test.ts
    │           └── xmlui.ts
    ├── tests-e2e
    │   ├── api-bound-component-regression.spec.ts
    │   ├── api-call-as-extracted-component.spec.ts
    │   ├── assign-to-object-or-array-regression.spec.ts
    │   ├── binding-regression.spec.ts
    │   ├── children-as-template-context-vars.spec.ts
    │   ├── compound-component.spec.ts
    │   ├── context-vars-regression.spec.ts
    │   ├── data-bindings.spec.ts
    │   ├── datasource-and-api-usage-in-var.spec.ts
    │   ├── datasource-direct-binding.spec.ts
    │   ├── datasource-onLoaded-regression.spec.ts
    │   ├── modify-array-item-regression.spec.ts
    │   ├── namespaces.spec.ts
    │   ├── push-to-array-regression.spec.ts
    │   ├── screen-breakpoints.spec.ts
    │   ├── scripting.spec.ts
    │   ├── state-scope-in-pages.spec.ts
    │   └── state-var-scopes.spec.ts
    ├── tsconfig.json
    ├── tsdown.config.ts
    ├── vite.config.ts
    └── vitest.config.ts
```

# Files

--------------------------------------------------------------------------------
/xmlui/src/components-core/theming/transformThemeVars.ts:
--------------------------------------------------------------------------------

```typescript
  1 | import Color from "color";
  2 | 
  3 | import { type HVar, parseHVar } from "../theming/hvar";
  4 | import { StyleParser } from "../../parsers/style-parser/StyleParser";
  5 | import { toCssVar } from "./layout-resolver";
  6 | 
  7 | export function isThemeVarName(varName: any) {
  8 |   return typeof varName === "string" && varName?.startsWith("$");
  9 | }
 10 | 
 11 | export function resolveThemeVar(
 12 |   varName: string | undefined,
 13 |   theme: Record<string, string> = {},
 14 | ): string {
 15 |   let safeVarName = varName;
 16 |   if (isThemeVarName(varName)) {
 17 |     safeVarName = varName.substring(1);
 18 |   }
 19 |   const value = theme[safeVarName];
 20 |   if (typeof value === "string" && isThemeVarName(value)) {
 21 |     return resolveThemeVar(value, theme);
 22 |   }
 23 |   return value;
 24 | }
 25 | 
 26 | export function generateBaseTones(theme: Record<string, string> | undefined) {
 27 |   if (!theme) {
 28 |     return {};
 29 |   }
 30 |   const resolvedTheme = resolveThemeVars(theme);
 31 |   return {
 32 |     ...generateBaseTonesForColor("color-primary", resolvedTheme),
 33 |     ...generateBaseTonesForColor("color-secondary", resolvedTheme),
 34 |     ...generateBaseTonesForColor("color-info", resolvedTheme),
 35 |     ...generateBaseTonesForColor("color-success", resolvedTheme),
 36 |     ...generateBaseTonesForColor("color-warn", resolvedTheme),
 37 |     ...generateBaseTonesForColor("color-danger", resolvedTheme),
 38 |     ...generateBaseTonesForColor("color-surface", resolvedTheme, { distributeEven: true }),
 39 |   };
 40 | }
 41 | 
 42 | export function generateBaseSpacings(theme: Record<string, string> | undefined) {
 43 |   if (!theme) {
 44 |     return {};
 45 |   }
 46 |   const resolvedTheme = resolveThemeVars(theme);
 47 |   const base = resolvedTheme["space-base"];
 48 |   if (!base || typeof base !== "string") {
 49 |     return {};
 50 |   }
 51 |   let baseTrimmed = base.trim();
 52 |   if (baseTrimmed.startsWith(".")) {
 53 |     //if we have something like .5rem
 54 |     baseTrimmed = `0${baseTrimmed}`;
 55 |   }
 56 |   const baseNum = parseFloat(baseTrimmed);
 57 |   let baseUnit = baseTrimmed.replace(baseNum + "", "") || "px";
 58 | 
 59 |   //  a) non-baseNum -> "0px"
 60 |   if (Number.isNaN(baseNum)) {
 61 |     return {};
 62 |   }
 63 | 
 64 |   const scale = [
 65 |     0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 20, 24, 28, 32, 36, 40,
 66 |     44, 48, 52, 56, 60, 64, 72, 80, 96,
 67 |   ];
 68 |   const ret: Record<string, string> = {};
 69 | 
 70 |   scale.forEach((step) => {
 71 |     ret[`space-${(step + "").replace(".", "_")}`] = `${step * baseNum}${baseUnit}`;
 72 |   });
 73 | 
 74 |   return ret;
 75 | }
 76 | 
 77 | export function generateBaseFontSizes(theme: Record<string, string> | undefined) {
 78 |   if (!theme) {
 79 |     return {};
 80 |   }
 81 |   const resolvedTheme = resolveThemeVars(theme);
 82 |   const base = resolvedTheme["fontSize"];
 83 |   if (!base || typeof base !== "string") {
 84 |     return {};
 85 |   }
 86 | 
 87 |   let baseTrimmed = base.trim();
 88 |   if (baseTrimmed.startsWith(".")) {
 89 |     //if we have something like .5rem
 90 |     baseTrimmed = `0${baseTrimmed}`;
 91 |   }
 92 |   const baseNum = parseFloat(baseTrimmed);
 93 |   let baseUnit = baseTrimmed.replace(baseNum + "", "") || "px";
 94 | 
 95 |   //  a) non-baseNum -> "0px"
 96 |   if (Number.isNaN(baseNum)) {
 97 |     return {};
 98 |   }
 99 |   const ret: Record<string, string> = {};
100 |   ret[`fontSize-tiny`] = `${0.625 * baseNum}${baseUnit}`;
101 |   ret[`fontSize-xs`] = `${0.75 * baseNum}${baseUnit}`;
102 |   ret[`fontSize-code`] = `${0.85 * baseNum}${baseUnit}`;
103 |   ret[`fontSize-sm`] = `${0.875 * baseNum}${baseUnit}`;
104 |   ret[`fontSize-base`] = base;
105 |   ret[`fontSize-lg`] = `${1.125 * baseNum}${baseUnit}`;
106 |   ret[`fontSize-xl`] = `${1.25 * baseNum}${baseUnit}`;
107 |   ret[`fontSize-2xl`] = `${1.5 * baseNum}${baseUnit}`;
108 |   ret[`fontSize-3xl`] = `${1.875 * baseNum}${baseUnit}`;
109 |   ret[`fontSize-4xl`] = `${2.25 * baseNum}${baseUnit}`;
110 |   ret[`fontSize-5xl`] = `${3 * baseNum}${baseUnit}`;
111 |   ret[`fontSize-6xl`] = `${3.75 * baseNum}${baseUnit}`;
112 |   ret[`fontSize-7xl`] = `${4.5 * baseNum}${baseUnit}`;
113 |   ret[`fontSize-8xl`] = `${6 * baseNum}${baseUnit}`;
114 |   ret[`fontSize-9xl`] = `${8 * baseNum}${baseUnit}`;
115 | 
116 |   return ret;
117 | }
118 | 
119 | export function generateTextFontSizes(theme: Record<string, string> | undefined) {
120 |   if (!theme) {
121 |     return {};
122 |   }
123 |   const resolvedTheme = resolveThemeVars(theme);
124 |   const base = resolvedTheme["fontSize-Text"];
125 |   if (!base || typeof base !== "string") {
126 |     return {};
127 |   }
128 | 
129 |   // --- Get the CSS variable name of fontSize-Text-keyboard
130 |   
131 |   const ret: Record<string, string> = {};
132 |   ret[`fontSize-Text-keyboard`] = `calc(${toCssVar("$fontSize-Text")} * 0.875)`;
133 |   ret[`fontSize-Text-sample`] = `calc(${toCssVar("$fontSize-Text")} * 0.875)`;
134 |   ret[`fontSize-Text-sup`] = `calc(${toCssVar("$fontSize-Text")} * 0.625)`;
135 |   ret[`fontSize-Text-sub`] = `calc(${toCssVar("$fontSize-Text")} * 0.625)`;
136 |   ret[`fontSize-Text-title`] = `calc(${toCssVar("$fontSize-Text")} * 1.5)`;
137 |   ret[`fontSize-Text-subtitle`] = `calc(${toCssVar("$fontSize-Text")} * 1.25)`;
138 |   ret[`fontSize-Text-small`] = `calc(${toCssVar("$fontSize-Text")} * 0.875)`;
139 |   ret[`fontSize-Text-placeholder`] = `calc(${toCssVar("$fontSize-Text")} * 0.875)`;
140 |   ret[`fontSize-Text-paragraph`] = toCssVar("$fontSize-Text");
141 |   ret[`fontSize-Text-subheading`] = `calc(${toCssVar("$fontSize-Text")} * 0.625)`;
142 |   ret[`fontSize-Text-tableheading`] = `calc(${toCssVar("$fontSize-Text")} * 0.625)`;
143 |   ret[`fontSize-Text-secondary`] = `calc(${toCssVar("$fontSize-Text")} * 0.875)`;
144 | 
145 |   return ret;
146 | }
147 | 
148 | export function generateButtonTones(theme?: Record<string, string>) {
149 |   if (!theme) {
150 |     return {};
151 |   }
152 |   const resolvedTheme = resolveThemeVars(theme);
153 |   const variants = ["primary", "secondary", "attention"];
154 | 
155 |   let ret = {};
156 | 
157 |   variants.forEach((variant) => {
158 |     const solidTones = mapTones(
159 |       findClosest(resolvedTheme, `color-Button-${variant}-solid`),
160 |       (tones) => {
161 |         return {
162 |           [`backgroundColor-Button-${variant}-solid`]: tones.base,
163 |           [`backgroundColor-Button-${variant}-solid--hover`]: tones.tone1,
164 |           [`backgroundColor-Button-${variant}-solid--active`]: tones.tone2,
165 |           [`borderColor-Button-${variant}-solid`]: tones.base,
166 |           [`borderColor-Button-${variant}-solid--hover`]: tones.base,
167 |           [`borderColor-Button-${variant}-solid--active`]: tones.base,
168 |           [`textColor-Button-${variant}-solid`]: tones.tone3,
169 |           [`textColor-Button-${variant}-solid--hover`]: tones.tone3,
170 |           [`textColor-Button-${variant}-solid--active`]: tones.tone3,
171 |         };
172 |       },
173 |     );
174 | 
175 |     const outlinedTones = mapTones(
176 |       findClosest(resolvedTheme, `color-Button-${variant}-outlined`),
177 |       (tones) => {
178 |         return {
179 |           [`backgroundColor-Button-${variant}-outlined--hover`]: tones.alpha1,
180 |           [`backgroundColor-Button-${variant}-outlined--active`]: tones.alpha2,
181 |           [`borderColor-Button-${variant}-outlined`]: tones.base,
182 |           [`borderColor-Button-${variant}-outlined--hover`]: tones.tone1,
183 |           [`borderColor-Button-${variant}-outlined--active`]: tones.tone2,
184 |           [`textColor-Button-${variant}-outlined`]: tones.base,
185 |           [`textColor-Button-${variant}-outlined--hover`]: tones.tone1,
186 |           [`textColor-Button-${variant}-outlined--active`]: tones.tone2,
187 |         };
188 |       },
189 |     );
190 | 
191 |     const ghostTones = mapTones(
192 |       findClosest(resolvedTheme, `color-Button-${variant}-ghost`),
193 |       (tones) => {
194 |         return {
195 |           [`backgroundColor-Button-${variant}-ghost--active`]: tones.alpha2,
196 |           [`backgroundColor-Button-${variant}-ghost--hover`]: tones.alpha1,
197 |           [`textColor-Button-${variant}-ghost`]: tones.base,
198 |           [`textColor-Button-${variant}-ghost--hover`]: tones.tone1,
199 |           [`textColor-Button-${variant}-ghost--active`]: tones.tone2,
200 |         };
201 |       },
202 |     );
203 |     ret = {
204 |       ...ret,
205 |       ...solidTones,
206 |       ...outlinedTones,
207 |       ...ghostTones,
208 |     };
209 |   });
210 |   return ret;
211 | }
212 | 
213 | const paddingRegEx = /^padding-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/;
214 | const paddingHorizontalRegEx = /^paddingHorizontal-(.+)$/;
215 | const paddingVerticalRegEx = /^paddingVertical-(.+)$/;
216 | 
217 | /**
218 |  * Segment the padding values into top, right, bottom, left to provide consistency
219 |  */
220 | export function generatePaddingSegments(theme?: Record<string, string>) {
221 |   if (!theme) {
222 |     return {};
223 |   }
224 |   const result = { ...theme };
225 | 
226 |   // --- Iterate through theme variables and split padding values
227 |   Object.entries(theme).forEach(([key, value]) => {
228 |     if (value === null || value === undefined) {
229 |       // --- We want to allow theme files to use null or undefined as a synonim for 
230 |       // --- "pretend this theme variable is not defined".
231 |       delete result[key];
232 |       return;
233 |     }
234 | 
235 |     // --- Check the "paddingHorizontal" theme variables
236 |     let match = paddingHorizontalRegEx.exec(key);
237 |     if (match) {
238 |       // --- We have a paddingHorizontal value to segment
239 |       const remainder = match[1];
240 |       result[`paddingLeft-${remainder}`] ??= value;
241 |       result[`paddingRight-${remainder}`] ??= value;
242 |     }
243 | 
244 |     // --- Check the "paddingVertical" theme variables
245 |     match = paddingVerticalRegEx.exec(key);
246 |     if (match) {
247 |       // --- We have a paddingVertical value to segment
248 |       const remainder = match[1];
249 |       result[`paddingTop-${remainder}`] ??= value;
250 |       result[`paddingBottom-${remainder}`] ??= value;
251 |     }
252 | 
253 |     // --- Check the "padding" theme variables
254 |     match = paddingRegEx.exec(key);
255 |     if (!match) return;
256 |     const remainder = match[1];
257 | 
258 |     // --- Check for horizontal and vertical padding values
259 |     const horizontal = theme[`paddingHorizontal-${remainder}`];
260 |     const vertical = theme[`paddingVertical-${remainder}`];
261 | 
262 |     // --- We have a padding value to segment
263 |     const segments = value.trim().replace(/ +/g, " ").split(" ");
264 |     switch (segments.length) {
265 |       case 1:
266 |         result[`paddingTop-${remainder}`] ??= vertical ?? segments[0];
267 |         result[`paddingRight-${remainder}`] ??= horizontal ?? segments[0];
268 |         result[`paddingBottom-${remainder}`] ??= vertical ?? segments[0];
269 |         result[`paddingLeft-${remainder}`] ??= horizontal ?? segments[0];
270 |         break;
271 |       case 2:
272 |         result[`paddingTop-${remainder}`] ??= vertical ?? segments[0];
273 |         result[`paddingRight-${remainder}`] ??= horizontal ?? segments[1];
274 |         result[`paddingBottom-${remainder}`] ??= vertical ?? segments[0];
275 |         result[`paddingLeft-${remainder}`] ??= horizontal ?? segments[1];
276 |         break;
277 |       case 3:
278 |         result[`paddingTop-${remainder}`] ??= vertical ?? segments[0];
279 |         result[`paddingRight-${remainder}`] ??= horizontal ?? segments[1];
280 |         result[`paddingBottom-${remainder}`] ??= vertical ?? segments[2];
281 |         result[`paddingLeft-${remainder}`] ??= horizontal ?? segments[1];
282 |         break;
283 |       case 4:
284 |         result[`paddingTop-${remainder}`] ??= vertical ?? segments[0];
285 |         result[`paddingRight-${remainder}`] ??= horizontal ?? segments[1];
286 |         result[`paddingBottom-${remainder}`] ??= vertical ?? segments[2];
287 |         result[`paddingLeft-${remainder}`] ??= horizontal ?? segments[3];
288 |         break;
289 |       default:
290 |         return;
291 |     }
292 |   });
293 | 
294 |   // --- Done
295 |   return result;
296 | }
297 | 
298 | const borderRegEx = /^border-(.+)$/;
299 | const thicknessBorderRegEx = /^borderWidth-(.+)$/;
300 | const thicknessBorderHorizontalRegEx = /^borderHorizontalWidth-(.+)$/;
301 | const thicknessBorderVerticalRegEx = /^borderVerticalWidth-(.+)$/;
302 | const styleBorderRegEx = /^borderStyle-(.+)$/;
303 | const styleBorderHorizontalRegEx = /^borderHorizontalStyle-(.+)$/;
304 | const styleBorderVerticalRegEx = /^borderVerticalStyle-(.+)$/;
305 | const borderLeftRegEx = /^borderLeft-(.+)$/;
306 | const borderRightRegEx = /^borderRight-(.+)$/;
307 | const borderTopRegEx = /^borderTop-(.+)$/;
308 | const borderBottomRegEx = /^borderBottom-(.+)$/;
309 | const borderHorizontalRegEx = /^borderHorizontal-(.+)$/;
310 | const borderVerticalRegEx = /^borderVertical-(.+)$/;
311 | const colorBorderRegEx = /^borderColor-(.+)$/;
312 | const colorBorderHorizontalRegEx = /^borderHorizontalColor-(.+)$/;
313 | const colorBorderVerticalRegEx = /^borderVerticalColor-(.+)$/;
314 | 
315 | /**
316 |  * Segment the border values to provide consistency
317 |  */
318 | export function generateBorderSegments(theme?: Record<string, string>) {
319 |   if (!theme) {
320 |     return {};
321 |   }
322 |   const result = { ...theme };
323 | 
324 |   // --- Iterate through theme variables and split border values
325 |   Object.entries(theme).forEach(([key, value]) => {
326 |     // --- Check "border-" theme variables
327 |     let match = borderRegEx.exec(key);
328 |     if (match) {
329 |       const remainder = match[1];
330 | 
331 |       // --- Flow down the border value
332 |       result[`borderLeft-${remainder}`] = value;
333 |       result[`borderRight-${remainder}`] = value;
334 |       result[`borderTop-${remainder}`] = value;
335 |       result[`borderBottom-${remainder}`] = value;
336 | 
337 |       // --- We have a border value to segment
338 |       const border = getBorderSegments(value);
339 |       result[`borderWidth-${remainder}`] ??= border.thickness;
340 |       result[`borderStyle-${remainder}`] ??= border.style;
341 |       result[`borderColor-${remainder}`] ??= border.color;
342 |     }
343 | 
344 |     // --- Check "borderWidth-" theme variables
345 |     match = thicknessBorderRegEx.exec(key);
346 |     if (match) {
347 |       // --- We have a borderWidth value to flow down
348 |       const remainder = match[1];
349 |       result[`borderLeftWidth-${remainder}`] = value;
350 |       result[`borderRightWidth-${remainder}`] = value;
351 |       result[`borderTopWidth-${remainder}`] = value;
352 |       result[`borderBottomWidth-${remainder}`] = value;
353 |     }
354 | 
355 |     // --- Check "borderStyle-" theme variables
356 |     match = styleBorderRegEx.exec(key);
357 |     if (match) {
358 |       // --- We have a borderStyle value to flow down
359 |       const remainder = match[1];
360 |       result[`borderLeftStyle-${remainder}`] = value;
361 |       result[`borderRightStyle-${remainder}`] = value;
362 |       result[`borderTopStyle-${remainder}`] = value;
363 |       result[`borderBottomStyle-${remainder}`] = value;
364 |     }
365 | 
366 |     // --- Check "borderColor-" theme variables
367 |     match = colorBorderRegEx.exec(key);
368 |     if (match) {
369 |       // --- We have a borderColor value to flow down
370 |       const remainder = match[1];
371 |       result[`borderLeftColor-${remainder}`] = value;
372 |       result[`borderRightColor-${remainder}`] = value;
373 |       result[`borderTopColor-${remainder}`] = value;
374 |       result[`borderBottomColor-${remainder}`] = value;
375 |     }
376 | 
377 |     // --- Check "borderHorizontal" theme variables
378 |     match = borderHorizontalRegEx.exec(key);
379 |     if (match) {
380 |       // --- We have a borderHorizontal value to segment
381 |       const remainder = match[1];
382 | 
383 |       // --- Flow down the border value
384 |       result[`borderLeft-${remainder}`] = value;
385 |       result[`borderRight-${remainder}`] = value;
386 | 
387 |       const border = getBorderSegments(value);
388 |       if (border.thickness) {
389 |         result[`borderLeftWidth-${remainder}`] = border.thickness;
390 |         result[`borderRightWidth-${remainder}`] = border.thickness;
391 |       }
392 |       if (border.style) {
393 |         result[`borderLeftStyle-${remainder}`] = border.style;
394 |         result[`borderRightStyle-${remainder}`] = border.style;
395 |       }
396 |       if (border.color) {
397 |         result[`borderLeftColor-${remainder}`] = border.color;
398 |         result[`borderRightColor-${remainder}`] = border.color;
399 |       }
400 |     }
401 | 
402 |     // --- Check "borderVertical" theme variables
403 |     match = borderVerticalRegEx.exec(key);
404 |     if (match) {
405 |       // --- We have a borderVertical value to segment
406 |       const remainder = match[1];
407 |       // --- Flow down the border value
408 |       result[`borderTop-${remainder}`] = value;
409 |       result[`borderBottom-${remainder}`] = value;
410 | 
411 |       const border = getBorderSegments(value);
412 |       if (border.thickness) {
413 |         result[`borderTopWidth-${remainder}`] = border.thickness;
414 |         result[`borderBottomWidth-${remainder}`] = border.thickness;
415 |       }
416 |       if (border.style) {
417 |         result[`borderTopStyle-${remainder}`] = border.style;
418 |         result[`borderBottomStyle-${remainder}`] = border.style;
419 |       }
420 |       if (border.color) {
421 |         result[`borderTopColor-${remainder}`] = border.color;
422 |         result[`borderBottomColor-${remainder}`] = border.color;
423 |       }
424 |     }
425 | 
426 |     // --- Check "borderLeft" theme variables
427 |     match = borderLeftRegEx.exec(key);
428 |     if (match) {
429 |       // --- We have a borderLeft value to segment
430 |       const remainder = match[1];
431 |       const border = getBorderSegments(value);
432 |       if (border.thickness && !theme[`borderLeftWidth-${remainder}`]) {
433 |         result[`borderLeftWidth-${remainder}`] = border.thickness;
434 |       }
435 |       if (border.style && !theme[`borderLeftStyle-${remainder}`]) {
436 |         result[`borderLeftStyle-${remainder}`] = border.style;
437 |       }
438 |       if (border.color && !theme[`borderLeftColor-${remainder}`]) {
439 |         result[`borderLeftColor-${remainder}`] = border.color;
440 |       }
441 |     }
442 | 
443 |     // --- Check "borderRight" theme variables
444 |     match = borderRightRegEx.exec(key);
445 |     if (match) {
446 |       // --- We have a borderRight value to segment
447 |       const remainder = match[1];
448 |       const border = getBorderSegments(value);
449 |       if (border.thickness) {
450 |         result[`borderRightWidth-${remainder}`] = border.thickness;
451 |       }
452 |       if (border.style) {
453 |         result[`borderRightStyle-${remainder}`] = border.style;
454 |       }
455 |       if (border.color) {
456 |         result[`borderRightColor-${remainder}`] = border.color;
457 |       }
458 |     }
459 | 
460 |     // --- Check "borderTop" theme variables
461 |     match = borderTopRegEx.exec(key);
462 |     if (match) {
463 |       // --- We have a borderTop value to segment
464 |       const remainder = match[1];
465 |       const border = getBorderSegments(value);
466 |       if (border.thickness) {
467 |         result[`borderTopWidth-${remainder}`] = border.thickness;
468 |       }
469 |       if (border.style) {
470 |         result[`borderTopStyle-${remainder}`] = border.style;
471 |       }
472 |       if (border.color) {
473 |         result[`borderTopColor-${remainder}`] = border.color;
474 |       }
475 |     }
476 | 
477 |     // --- Check "borderBottom" theme variables
478 |     match = borderBottomRegEx.exec(key);
479 |     if (match) {
480 |       // --- We have a borderBottom value to segment
481 |       const remainder = match[1];
482 |       const border = getBorderSegments(value);
483 |       if (border.thickness) {
484 |         result[`borderBottomWidth-${remainder}`] = border.thickness;
485 |       }
486 |       if (border.style) {
487 |         result[`borderBottomStyle-${remainder}`] = border.style;
488 |       }
489 |       if (border.color) {
490 |         result[`borderBottomColor-${remainder}`] = border.color;
491 |       }
492 |     }
493 | 
494 |     // --- Check "borderHorizontalWidth" theme variables
495 |     match = thicknessBorderHorizontalRegEx.exec(key);
496 |     if (match) {
497 |       // --- We have a borderHorizontalWidth value to flow down
498 |       const remainder = match[1];
499 |       result[`borderLeftWidth-${remainder}`] = value;
500 |       result[`borderRightWidth-${remainder}`] = value;
501 |     }
502 | 
503 |     // --- Check "borderVerticalWidth" theme variables
504 |     match = thicknessBorderVerticalRegEx.exec(key);
505 |     if (match) {
506 |       // --- We have a borderVerticalWidth value to flow down
507 |       const remainder = match[1];
508 |       result[`borderTopWidth-${remainder}`] = value;
509 |       result[`borderBottomWidth-${remainder}`] = value;
510 |     }
511 | 
512 |     // --- Check "borderHorizontalStyle" theme variables
513 |     match = styleBorderHorizontalRegEx.exec(key);
514 |     if (match) {
515 |       // --- We have a borderHorizontalStyle value to flow down
516 |       const remainder = match[1];
517 |       result[`borderLeftStyle-${remainder}`] = value;
518 |       result[`borderRightStyle-${remainder}`] = value;
519 |     }
520 | 
521 |     // --- Check "borderVerticalStyle" theme variables
522 |     match = styleBorderVerticalRegEx.exec(key);
523 |     if (match) {
524 |       // --- We have a borderVerticalStyle value to flow down
525 |       const remainder = match[1];
526 |       result[`borderTopStyle-${remainder}`] = value;
527 |       result[`borderBottomStyle-${remainder}`] = value;
528 |     }
529 | 
530 |     // --- Check "borderHorizontalColor" theme variables
531 |     match = colorBorderHorizontalRegEx.exec(key);
532 |     if (match) {
533 |       // --- We have a borderHorizontalColor value to flow down
534 |       const remainder = match[1];
535 |       result[`borderLeftColor-${remainder}`] = value;
536 |       result[`borderRightColor-${remainder}`] = value;
537 |     }
538 | 
539 |     // --- Check "borderVerticalColor" theme variables
540 |     match = colorBorderVerticalRegEx.exec(key);
541 |     if (match) {
542 |       // --- We have a borderVerticalColor value to flow down
543 |       const remainder = match[1];
544 |       result[`borderTopColor-${remainder}`] = value;
545 |       result[`borderBottomColor-${remainder}`] = value;
546 |     }
547 |   });
548 | 
549 |   // --- Done
550 |   return result;
551 | 
552 |   function getBorderSegments(value: string) {
553 |     try {
554 |       const sParser = new StyleParser(value);
555 |       const parsed = sParser.parseBorder();
556 | 
557 |       // --- Get the parsed result
558 |       const result = {
559 |         style: parsed.styleValue,
560 |         thickness:
561 |           parsed.widthValue !== undefined
562 |             ? `${parsed.widthValue}${parsed.widthUnit ?? "px"}`
563 |             : undefined,
564 |         color:
565 |           parsed.color === undefined
566 |             ? undefined
567 |             : typeof parsed.color === "string"
568 |               ? parsed.color
569 |               : parsed.color.toString(),
570 |       };
571 | 
572 |       // --- All theme variables are present?
573 |       if (parsed.themeId1 && parsed.themeId2 && parsed.themeId3) {
574 |         return {
575 |           thickness: parsed.themeId1.id,
576 |           style: parsed.themeId2.id,
577 |           color: parsed.themeId3.id,
578 |         };
579 |       }
580 | 
581 |       // --- Two theme variables are present?
582 |       if (parsed.themeId1 && parsed.themeId2) {
583 |         if (result.thickness) {
584 |           return {
585 |             thickness: result.thickness,
586 |             style: parsed.themeId1.id,
587 |             color: parsed.themeId2.id,
588 |           };
589 |         }
590 |         if (result.style) {
591 |           return {
592 |             thickness: parsed.themeId1.id,
593 |             style: result.style,
594 |             color: parsed.themeId2.id,
595 |           };
596 |         }
597 |         return {
598 |           thickness: parsed.themeId1.id,
599 |           style: parsed.themeId2.id,
600 |           color: result.color,
601 |         };
602 |       }
603 | 
604 |       // --- One theme variable is present?
605 |       if (parsed.themeId1) {
606 |         if (result.thickness && result.style) {
607 |           return {
608 |             thickness: result.thickness,
609 |             style: result.style,
610 |             color: parsed.themeId1.id,
611 |           };
612 |         }
613 |         if (result.thickness && result.color) {
614 |           return {
615 |             thickness: result.thickness,
616 |             style: parsed.themeId1.id,
617 |             color: result.color,
618 |           };
619 |         }
620 |         if (result.style && result.color) {
621 |           return {
622 |             thickness: parsed.themeId1.id,
623 |             style: result.style,
624 |             color: result.color,
625 |           };
626 |         }
627 |       }
628 |       return {
629 |         thickness: result.thickness?.trim(),
630 |         style: result.style?.trim(),
631 |         color: result.color?.trim(),
632 |       };
633 |     } catch (e) {
634 |       return {
635 |         thickness: undefined,
636 |         style: undefined,
637 |         color: undefined,
638 |       };
639 |     }
640 |   }
641 | }
642 | 
643 | function findClosest(theme: Record<string, string>, themeVarName: string) {
644 |   if (theme[themeVarName]) {
645 |     return theme[themeVarName];
646 |   }
647 |   const hVar = parseHVar(themeVarName);
648 |   if (!hVar) {
649 |     return null;
650 |   }
651 |   let closest: HVar | null = null;
652 |   let closestKey: string | null = null;
653 |   Object.keys(theme).forEach((themeVar) => {
654 |     const parsedVar = parseHVar(themeVar);
655 |     if (
656 |       !parsedVar ||
657 |       parsedVar.component !== hVar.component ||
658 |       parsedVar.attribute !== hVar.attribute
659 |     ) {
660 |       return;
661 |     }
662 |     if (parsedVar.states.length) {
663 |       return;
664 |     }
665 |     if (
666 |       parsedVar.traits.every((tr) => hVar.traits.includes(tr)) &&
667 |       (!closest || closest.traits.length <= parsedVar.traits.length)
668 |     ) {
669 |       closest = parsedVar;
670 |       closestKey = themeVar;
671 |       return;
672 |     }
673 |   });
674 |   if (closestKey) {
675 |     // console.log("found closest for", themeVarName, closestKey);
676 |     return theme[closestKey];
677 |   }
678 |   return null;
679 | }
680 | 
681 | function resolveThemeVars(theme: Record<string, string>) {
682 |   const ret: Record<string, string> = {};
683 |   Object.keys(theme).forEach((key) => {
684 |     ret[key] = resolveThemeVar(key, theme);
685 |   });
686 |   return ret;
687 | }
688 | 
689 | function getRgbChannelsString(colorStr?: string) {
690 |   if (!colorStr) {
691 |     return undefined;
692 |   }
693 |   const color = Color(colorStr);
694 |   let rgb = color.rgb();
695 |   return `${rgb.red()},${rgb.green()},${rgb.blue()}`;
696 | }
697 | 
698 | function generateBaseTonesForColor(
699 |   varName: string,
700 |   theme: Record<string, string>,
701 |   options = { distributeEven: false },
702 | ) {
703 |   try {
704 |     const { distributeEven } = options;
705 |     const color = theme[varName];
706 |     if (!color || typeof color !== "string") {
707 |       return {};
708 |     }
709 |     const baseColor = Color(color);
710 |     let color0;
711 |     let color50;
712 |     let color100;
713 |     let color200;
714 |     let color300;
715 |     let color400;
716 |     let color500;
717 |     let color600;
718 |     let color700;
719 |     let color800;
720 |     let color900;
721 |     let color950;
722 |     let color1000;
723 |     if (distributeEven) {
724 |       color0 = baseColor.lightness(100);
725 |       color50 = baseColor.lightness(98);
726 |       color100 = baseColor.lightness(95);
727 |       color200 = baseColor.lightness(83);
728 |       color300 = baseColor.lightness(75);
729 |       color400 = baseColor.lightness(63);
730 |       color500 = baseColor.lightness(52);
731 |       color600 = baseColor.lightness(40);
732 |       color700 = baseColor.lightness(32);
733 |       color800 = baseColor.lightness(27);
734 |       color900 = baseColor.lightness(16);
735 |       color950 = baseColor.lightness(13);
736 |       color1000 = baseColor.lightness(9);
737 |     } else {
738 |       const baseL = baseColor.hsl().l();
739 |       const darkStep = baseL / 5;
740 |       const lightStep = (100 - baseL) / 5;
741 |       color0 = baseColor.lightness(100);
742 |       color50 = baseColor.lightness(baseL + lightStep * 4.5);
743 |       color100 = baseColor.lightness(baseL + lightStep * 4);
744 |       color200 = baseColor.lightness(baseL + lightStep * 3);
745 |       color300 = baseColor.lightness(baseL + lightStep * 2);
746 |       color400 = baseColor.lightness(baseL + lightStep * 1);
747 |       color500 = baseColor.lightness(baseL);
748 |       color600 = baseColor.lightness(baseL - darkStep * 1);
749 |       color700 = baseColor.lightness(baseL - darkStep * 2);
750 |       color800 = baseColor.lightness(baseL - darkStep * 3);
751 |       color900 = baseColor.lightness(baseL - darkStep * 4);
752 |       color950 = baseColor.lightness(baseL - darkStep * 4.5);
753 |       color1000 = baseColor.lightness(baseL - darkStep * 5);
754 |     }
755 | 
756 |     return {
757 |       [`const-${varName}-0`]: color0.toString(),
758 |       [`const-${varName}-50`]: color50.toString(),
759 |       [`const-${varName}-100`]: color100.toString(),
760 |       [`const-${varName}-200`]: color200.toString(),
761 |       [`const-${varName}-300`]: color300.toString(),
762 |       [`const-${varName}-400`]: color400.toString(),
763 |       [`const-${varName}-500`]: color500.toString(),
764 |       [`const-${varName}-600`]: color600.toString(),
765 |       [`const-${varName}-700`]: color700.toString(),
766 |       [`const-${varName}-800`]: color800.toString(),
767 |       [`const-${varName}-900`]: color900.toString(),
768 |       [`const-${varName}-950`]: color950.toString(),
769 |       [`const-${varName}-1000`]: color1000.toString(),
770 |     };
771 |   } catch (e) {
772 |     console.error("Error generating base tones for color:", varName);
773 |     return {};
774 |   }
775 | }
776 | 
777 | function mapTones(
778 |   baseColor: string | undefined | null,
779 |   mapper: (tones: ColorTones) => Record<string, string>,
780 | ) {
781 |   const tones = generateTones(baseColor);
782 |   if (!tones) {
783 |     return {};
784 |   }
785 |   return mapper(tones);
786 | }
787 | 
788 | function generateTones(baseColorStr: string | null | undefined): ColorTones | null {
789 |   if (!baseColorStr || typeof baseColorStr !== "string" || baseColorStr.startsWith("$"))
790 |     return null; //TODO illesg here the startsWidth $ should be something else
791 | 
792 |   const baseColor = Color(baseColorStr);
793 |   let tone1;
794 |   let tone2;
795 |   let tone3;
796 |   if (baseColor.isLight()) {
797 |     tone1 = baseColor.darken(0.2).toString();
798 |     tone2 = baseColor.darken(0.1).toString();
799 |     tone3 = baseColor.darken(0.95).toString();
800 |   } else {
801 |     tone1 = baseColor.lighten(0.2).toString();
802 |     tone2 = baseColor.lighten(0.1).toString();
803 |     tone3 = baseColor.lighten(0.95).toString();
804 |   }
805 | 
806 |   const alpha1 = baseColor.alpha(0.1).toString();
807 |   const alpha2 = baseColor.alpha(0.2).toString();
808 |   return {
809 |     base: baseColorStr,
810 |     tone1,
811 |     tone2,
812 |     tone3,
813 |     alpha1,
814 |     alpha2,
815 |   };
816 | }
817 | 
818 | type ColorTones = {
819 |   base: string;
820 |   tone1: string;
821 |   tone2: string;
822 |   tone3: string;
823 |   alpha1: string;
824 |   alpha2: string;
825 | };
826 | 
```

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

```markdown
  1 | # Select [#select]
  2 | 
  3 | `Select` provides a dropdown interface for choosing from a list of options, supporting both single and multiple selection modes. It offers extensive customization capabilities including search functionality, custom templates, and comprehensive form integration.
  4 | 
  5 | **Key features:**
  6 | - **Flexible selection modes**: Single selection by default, with optional multi-select capability
  7 | - **Option containers**: Uses Option components to define selectable items with separate values and labels
  8 | - **Search functionality**: Optional filtering to quickly find options in large lists
  9 | - **Custom templates**: Configurable option display, value presentation, and empty state templates
 10 | - **Dynamic options**: Supports both static [Option](/components/Option) children and dynamic lists via [Items](/components/Items).
 11 | 
 12 | ## Using `Select` [#using-select]
 13 | 
 14 | The component accepts `Option` components as children defining a particular option's label-value pair.
 15 | `Option` requires a `value` property and while also having a `label` that is displayed in the list.
 16 | If the `label` is not specified `value` is shown.
 17 | 
 18 | ```xmlui-pg copy display name="Example: using Select" height="200px"
 19 | <App>
 20 |   <Select>
 21 |     <Option value="opt1" label="first"/>
 22 |     <Option value="opt2" label="second"/>
 23 |     <Option value="opt3" label="third"/>
 24 |   </Select>
 25 | </App>
 26 | ```
 27 | 
 28 | You can use `Select` with dynamic options:
 29 | 
 30 | ```xmlui-pg copy display name="Example: using Select with dynamic options" height="200px"
 31 | <App>
 32 |   <Select>
 33 |     <Items data="{['one', 'two', 'three']}" >
 34 |       <Option value="{$itemIndex}" label="{$item}" />
 35 |     </Items>
 36 |   </Select>
 37 | </App>
 38 | ```
 39 | 
 40 | **Context variables available during execution:**
 41 | 
 42 | - `$item`: Represents the current option's data (label and value properties)
 43 | - `$itemContext`: Provides utility methods like `removeItem()` for multi-select scenarios
 44 | 
 45 | ## Properties [#properties]
 46 | 
 47 | ### `autoFocus` (default: false) [#autofocus-default-false]
 48 | 
 49 | If this property is set to `true`, the component gets the focus automatically when displayed.
 50 | 
 51 | ### `clearable` (default: false) [#clearable-default-false]
 52 | 
 53 | This property enables a clear button that allows the user to clear the selected value(s).
 54 | 
 55 | ### `dropdownHeight` [#dropdownheight]
 56 | 
 57 | This property sets the height of the dropdown list. If not set, the height is determined automatically.
 58 | 
 59 | ```xmlui-pg copy display name="Example: dropdownHeight" height="300px"
 60 | <App>
 61 |   <Select dropdownHeight="180px">
 62 |     <Option value="opt1" label="first"/>
 63 |     <Option value="opt2" label="second"/>
 64 |     <Option value="opt3" label="third"/>
 65 |     <Option value="opt4" label="fourth"/>
 66 |     <Option value="opt5" label="fifth"/>
 67 |     <Option value="opt6" label="sixth"/>
 68 |     <Option value="opt7" label="seventh"/>
 69 |     <Option value="opt8" label="eighth"/>
 70 |     <Option value="opt9" label="ninth"/>
 71 |     <Option value="opt10" label="tenth"/>
 72 |     <Option value="opt11" label="eleventh"/>
 73 |     <Option value="opt12" label="twelfth"/>
 74 |   </Select>
 75 | </App>
 76 | ```
 77 | 
 78 | ### `emptyListTemplate` [#emptylisttemplate]
 79 | 
 80 | This optional property provides the ability to customize what is displayed when the list of options is empty.
 81 | 
 82 | Click on the second field to see the custom empty list indicator.
 83 | 
 84 | ```xmlui-pg copy {9-11} display name="Example: emptyListTemplate" height="260px"
 85 | <App>
 86 |   <VStack>
 87 |     <Text value="Default:" />
 88 |     <Select />
 89 |   </VStack>
 90 |   <VStack>
 91 |     <Text value="Custom:" />
 92 |     <Select>
 93 |       <property name="emptyListTemplate">
 94 |         <Text variant="strong" value="Nothing to see here!" />
 95 |       </property>
 96 |     </Select>
 97 |   </VStack>
 98 | </App>
 99 | ```
100 | 
101 | ### `enabled` (default: true) [#enabled-default-true]
102 | 
103 | This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).
104 | 
105 | ```xmlui-pg copy display name="Example: enabled"
106 | <App>
107 |   <Select enabled="false" />
108 | </App>
109 | ```
110 | 
111 | ### `initialValue` [#initialvalue]
112 | 
113 | This property sets the component's initial value.
114 | 
115 | ```xmlui-pg copy display name="Example: initialValue" height="200px"
116 | <App>
117 |   <Select initialValue="opt3">
118 |     <Option value="opt1" label="first"/>
119 |     <Option value="opt2" label="second"/>
120 |     <Option value="opt3" label="third"/>
121 |   </Select>
122 | </App>
123 | ```
124 | 
125 | ### `inProgress` (default: false) [#inprogress-default-false]
126 | 
127 | This property indicates whether the component is in progress. It can be used to show a loading message.
128 | 
129 | ### `inProgressNotificationMessage` (default: "") [#inprogressnotificationmessage-default-]
130 | 
131 | This property indicates the message to display when the component is in progress.
132 | 
133 | ### `multiSelect` (default: false) [#multiselect-default-false]
134 | 
135 | The `true` value of the property indicates if the user can select multiple items.
136 | 
137 | ```xmlui-pg copy display name="Example: multiSelect" height="300px"
138 | <App>
139 |   <Select multiSelect="true" dropdownHeight="180px" >
140 |     <Option value="opt1" label="first"/>
141 |     <Option value="opt2" label="second"/>
142 |     <Option value="opt3" label="third"/>
143 |     <Option value="opt4" label="fourth"/>
144 |     <Option value="opt5" label="fifth"/>
145 |     <Option value="opt6" label="sixth"/>
146 |     <Option value="opt7" label="seventh"/>
147 |     <Option value="opt8" label="eighth"/>
148 |     <Option value="opt9" label="ninth"/>
149 |     <Option value="opt10" label="tenth"/>
150 |     <Option value="opt11" label="eleventh"/>
151 |     <Option value="opt12" label="twelfth"/>
152 |   </Select>
153 | </App>
154 | ```
155 | 
156 | ### `optionLabelTemplate` [#optionlabeltemplate]
157 | 
158 | This property allows replacing the default template to display an option in the dropdown list.
159 | 
160 | In the template definition, you can use the `$item` context property to access the particular item's `label` and `value`.
161 | 
162 | ```xmlui-pg copy {3-9} display name="Example: optionLabelTemplate" height="300px"
163 | <App>
164 |   <Select initialValue="{0}" placeholder="Select..." searchable>
165 |     <property name="optionLabelTemplate">
166 |       <HStack
167 |         paddingHorizontal="$padding-tight"
168 |         border="2px dotted $color-primary-500">
169 |         <Text>{$item.label}</Text>
170 |       </HStack>
171 |     </property>
172 |     <Option value="{0}" label="zero"/>
173 |     <Option value="opt1" label="first"/>
174 |     <Option value="opt2" label="second"/>
175 |     <Option value="opt3" label="third"/>
176 |   </Select>
177 | </App>
178 | ```
179 | 
180 | ### `optionTemplate` [#optiontemplate]
181 | 
182 | This property allows replacing the default template to display an option in the dropdown list.
183 | 
184 | ```xmlui-pg copy display name="Example: optionTemplate" height="200px"
185 | <App>
186 |   <Select>
187 |     <property name="optionTemplate">
188 |       <HStack verticalAlignment="center" gap="$space-0_5">
189 |         <Icon name="info" />
190 |         <Text value="{$item.label}" variant="strong" />
191 |       </HStack>
192 |     </property>
193 |     <Option value="opt1" label="first"/>
194 |     <Option value="opt2" label="second"/>
195 |     <Option value="opt3" label="third"/>
196 |   </Select>
197 | </App>
198 | ```
199 | 
200 | ### `placeholder` (default: "") [#placeholder-default-]
201 | 
202 | An optional placeholder text that is visible in the input field when its empty.
203 | 
204 | ```xmlui-pg copy display name="Example: placeholder" height="200px"
205 | <App>
206 |   <Select placeholder="Please select an item">
207 |     <Option value="opt1" label="first"/>
208 |     <Option value="opt2" label="second"/>
209 |     <Option value="opt3" label="third"/>
210 |   </Select>
211 | </App>
212 | ```
213 | 
214 | ### `readOnly` (default: false) [#readonly-default-false]
215 | 
216 | Set this property to `true` to disallow changing the component value.
217 | 
218 | ### `required` (default: false) [#required-default-false]
219 | 
220 | Set this property to `true` to indicate it must have a value before submitting the containing form.
221 | 
222 | ### `searchable` (default: false) [#searchable-default-false]
223 | 
224 | This property enables the search functionality in the dropdown list.
225 | 
226 | ### `validationStatus` (default: "none") [#validationstatus-default-none]
227 | 
228 | This property allows you to set the validation status of the input component.
229 | 
230 | Available values:
231 | 
232 | | Value | Description |
233 | | --- | --- |
234 | | `valid` | Visual indicator for an input that is accepted |
235 | | `warning` | Visual indicator for an input that produced a warning |
236 | | `error` | Visual indicator for an input that produced an error |
237 | 
238 | ```xmlui-pg copy display name="Example: validationStatus" height="280px"
239 | <App>
240 |   <Select />
241 |   <Select validationStatus="valid" />
242 |   <Select validationStatus="warning" />
243 |   <Select validationStatus="error" />
244 | </App>
245 | ```
246 | 
247 | ### `valueTemplate` [#valuetemplate]
248 | 
249 | This property allows replacing the default template to display a selected value when multiple selections (`multiSelect` is `true`) are enabled.
250 | 
251 | In the template definition, you can use the `$item` context property to access the particular item's `label` and `value`.  The `$itemContext` property provides a `removeItem` method to delete a value from the current selection.
252 | 
253 | ```xmlui-pg copy {3-15} display name="Example: valueTemplate" height="300px"
254 | <App>
255 |   <Select initialValue="{0}" placeholder="Select..." multiSelect>
256 |     <property name="valueTemplate">
257 |       <HStack
258 |         paddingLeft="$padding-tight"
259 |         border="2px dotted $color-primary-500"
260 |         verticalAlignment="center">
261 |         <Text>{$item.label}</Text>
262 |         <Button
263 |           variant="ghost"
264 |           icon="close"
265 |           size="xs"
266 |           onClick="$itemContext.removeItem()"/>
267 |       </HStack>
268 |     </property>
269 |     <Option value="{0}" label="zero"/>
270 |     <Option value="opt1" label="first"/>
271 |     <Option value="opt2" label="second"/>
272 |     <Option value="opt3" label="third"/>
273 |   </Select>
274 | </App>
275 | ```
276 | 
277 | ## Events [#events]
278 | 
279 | ### `didChange` [#didchange]
280 | 
281 | This event is triggered when value of Select has changed.
282 | 
283 | ```xmlui-pg copy display name="Example: didChange" height="260px"
284 | <App>
285 |   <variable name="newValue" value="(none)" />
286 |   <Text value="{newValue}" />
287 |   <Select onDidChange="(newItem) => newValue = newItem">
288 |     <Option value="opt1" label="first"/>
289 |     <Option value="opt2" label="second"/>
290 |     <Option value="opt3" label="third"/>
291 |   </Select>
292 | </App>
293 | ```
294 | 
295 | ### `gotFocus` [#gotfocus]
296 | 
297 | This event is triggered when the Select has received the focus.
298 | 
299 | ```xmlui-pg copy {5-6} display name="Example: gotFocus/lostFocus" height="260px"
300 | <App>
301 |   <variable name="isFocused" value="{false}" />
302 |   <Text value="Input control is focused: {isFocused}" />
303 |   <Select
304 |     onGotFocus="isFocused = true"
305 |     onLostFocus="isFocused = false">
306 |     <Option value="opt1" label="first"/>
307 |     <Option value="opt2" label="second"/>
308 |     <Option value="opt3" label="third"/>
309 |   </Select>
310 | </App>
311 | ```
312 | 
313 | ### `lostFocus` [#lostfocus]
314 | 
315 | This event is triggered when the Select has lost the focus.
316 | 
317 | ## Exposed Methods [#exposed-methods]
318 | 
319 | ### `focus` [#focus]
320 | 
321 | This method focuses the `Select` component. You can use it to programmatically focus the component.
322 | 
323 | **Signature**: `focus(): void`
324 | 
325 | ```xmlui-pg copy display name="Example: focus()" height="260px"
326 | <App>
327 |   <Button label="Focus Input" onClick="inputControl.focus()" />
328 |   <Select id="inputControl">
329 |     <Option value="opt1" label="first"/>
330 |     <Option value="opt2" label="second"/>
331 |     <Option value="opt3" label="third"/>
332 |   </Select>
333 | </App>
334 | ```
335 | 
336 | ### `reset` [#reset]
337 | 
338 | This method resets the component to its initial value, or clears the selection if no initial value was provided.
339 | 
340 | **Signature**: `reset(): void`
341 | 
342 | ### `setValue` [#setvalue]
343 | 
344 | This API sets the value of the `Select`. You can use it to programmatically change the value.
345 | 
346 | **Signature**: `setValue(value: string | string[] | undefined): void`
347 | 
348 | - `value`: The new value to set. Can be a single value or an array of values for multi-select.
349 | 
350 | ```xmlui-pg copy display name="Example: setValue()" height="260px"
351 | <App>
352 |   <Select id="inputControl">
353 |     <Option value="opt1" label="first"/>
354 |     <Option value="opt2" label="second"/>
355 |     <Option value="opt3" label="third"/>
356 |   </Select>
357 |   <HStack>
358 |     <Button
359 |       label="Select 2nd Item"
360 |       onClick="inputControl.setValue('opt2')" />
361 |     <Button
362 |       label="Remove Selection"
363 |       onClick="inputControl.setValue('')" />
364 |   </HStack>
365 | </App>
366 | ```
367 | 
368 | ### `value` [#value]
369 | 
370 | This API retrieves the current value of the `Select`. You can use it to get the value programmatically.
371 | 
372 | **Signature**: `get value(): string | string[] | undefined`
373 | 
374 | ## Parts [#parts]
375 | 
376 | The component has some parts that can be styled through layout properties and theme variables separately:
377 | 
378 | - **`clearButton`**: The button to clear the selected value(s).
379 | 
380 | ## Styling [#styling]
381 | 
382 | ### Theme Variables [#theme-variables]
383 | 
384 | | Variable | Default Value (Light) | Default Value (Dark) |
385 | | --- | --- | --- |
386 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-Select | $backgroundColor-dropdown-item | $backgroundColor-dropdown-item |
387 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-Select--active | $backgroundColor-dropdown-item--active | $backgroundColor-dropdown-item--active |
388 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-Select--hover | $backgroundColor-dropdown-item--hover | $backgroundColor-dropdown-item--hover |
389 | | [backgroundColor](../styles-and-themes/common-units/#color)-menu-Select | $color-surface-raised | $color-surface-raised |
390 | | [backgroundColor](../styles-and-themes/common-units/#color)-menu-Select | $color-surface-raised | $color-surface-raised |
391 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--default | *none* | *none* |
392 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--default--hover | *none* | *none* |
393 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--disabled | *none* | *none* |
394 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--error | *none* | *none* |
395 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--error--hover | *none* | *none* |
396 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--success | *none* | *none* |
397 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--success--hover | *none* | *none* |
398 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--warning | *none* | *none* |
399 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select--warning--hover | *none* | *none* |
400 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select-badge | $color-primary-500 | $color-primary-500 |
401 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select-badge | $color-primary-500 | $color-primary-500 |
402 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select-badge--active | $color-primary-500 | $color-primary-500 |
403 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select-badge--active | $color-primary-500 | $color-primary-500 |
404 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select-badge--hover | $color-primary-400 | $color-primary-400 |
405 | | [backgroundColor](../styles-and-themes/common-units/#color)-Select-badge--hover | $color-primary-400 | $color-primary-400 |
406 | | [border](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
407 | | [borderBottom](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
408 | | [borderBottomColor](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
409 | | [borderBottomStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
410 | | [borderBottomWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
411 | | [borderColor](../styles-and-themes/common-units/#color)-menu-Select | $borderColor | $borderColor |
412 | | [borderColor](../styles-and-themes/common-units/#color)-menu-Select | $borderColor | $borderColor |
413 | | [borderColor](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
414 | | [borderColor](../styles-and-themes/common-units/#color)-Select--default | *none* | *none* |
415 | | [borderColor](../styles-and-themes/common-units/#color)-Select--default--hover | *none* | *none* |
416 | | [borderColor](../styles-and-themes/common-units/#color)-Select--disabled | initial | initial |
417 | | [borderColor](../styles-and-themes/common-units/#color)-Select--disabled | initial | initial |
418 | | [borderColor](../styles-and-themes/common-units/#color)-Select--error | *none* | *none* |
419 | | [borderColor](../styles-and-themes/common-units/#color)-Select--error--hover | *none* | *none* |
420 | | [borderColor](../styles-and-themes/common-units/#color)-Select--success | *none* | *none* |
421 | | [borderColor](../styles-and-themes/common-units/#color)-Select--success--hover | *none* | *none* |
422 | | [borderColor](../styles-and-themes/common-units/#color)-Select--warning | *none* | *none* |
423 | | [borderColor](../styles-and-themes/common-units/#color)-Select--warning--hover | *none* | *none* |
424 | | [borderEndEndRadius](../styles-and-themes/common-units/#border-rounding)-Select | *none* | *none* |
425 | | [borderEndStartRadius](../styles-and-themes/common-units/#border-rounding)-Select | *none* | *none* |
426 | | [borderHorizontal](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
427 | | [borderHorizontalColor](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
428 | | [borderHorizontalStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
429 | | [borderHorizontalWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
430 | | [borderLeft](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
431 | | [color](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
432 | | [borderLeftStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
433 | | [borderLeftWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
434 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-menu-Select | $borderRadius | $borderRadius |
435 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-menu-Select | $borderRadius | $borderRadius |
436 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Select--default | *none* | *none* |
437 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Select--error | *none* | *none* |
438 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Select--success | *none* | *none* |
439 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Select--warning | *none* | *none* |
440 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Select-badge | $borderRadius | $borderRadius |
441 | | [borderRight](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
442 | | [color](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
443 | | [borderRightStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
444 | | [borderRightWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
445 | | [borderStartEndRadius](../styles-and-themes/common-units/#border-rounding)-Select | *none* | *none* |
446 | | [borderStartStartRadius](../styles-and-themes/common-units/#border-rounding)-Select | *none* | *none* |
447 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
448 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Select--default | *none* | *none* |
449 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Select--error | *none* | *none* |
450 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Select--success | *none* | *none* |
451 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Select--warning | *none* | *none* |
452 | | [borderTop](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
453 | | [borderTopColor](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
454 | | [borderTopStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
455 | | [borderTopWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
456 | | [borderHorizontal](../styles-and-themes/common-units/#border)-Select | *none* | *none* |
457 | | [borderVerticalColor](../styles-and-themes/common-units/#color)-Select | *none* | *none* |
458 | | [borderVerticalStyle](../styles-and-themes/common-units/#border-style)-Select | *none* | *none* |
459 | | [borderVerticalWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
460 | | [borderWidth](../styles-and-themes/common-units/#size)-menu-Select | 1px | 1px |
461 | | [borderWidth](../styles-and-themes/common-units/#size)-menu-Select | 1px | 1px |
462 | | [borderWidth](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
463 | | [borderWidth](../styles-and-themes/common-units/#size)-Select--default | *none* | *none* |
464 | | [borderWidth](../styles-and-themes/common-units/#size)-Select--error | *none* | *none* |
465 | | [borderWidth](../styles-and-themes/common-units/#size)-Select--success | *none* | *none* |
466 | | [borderWidth](../styles-and-themes/common-units/#size)-Select--warning | *none* | *none* |
467 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-menu-Select | $boxShadow-md | $boxShadow-md |
468 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-menu-Select | $boxShadow-md | $boxShadow-md |
469 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--default | *none* | *none* |
470 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--default--hover | *none* | *none* |
471 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--error | *none* | *none* |
472 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--error--hover | *none* | *none* |
473 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--success | *none* | *none* |
474 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--success--hover | *none* | *none* |
475 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--warning | *none* | *none* |
476 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-Select--warning--hover | *none* | *none* |
477 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-Select--default | *none* | *none* |
478 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-Select--error | *none* | *none* |
479 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-Select--success | *none* | *none* |
480 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-Select--warning | *none* | *none* |
481 | | [fontSize](../styles-and-themes/common-units/#size)-Select--default | *none* | *none* |
482 | | [fontSize](../styles-and-themes/common-units/#size)-Select--error | *none* | *none* |
483 | | [fontSize](../styles-and-themes/common-units/#size)-Select--success | *none* | *none* |
484 | | [fontSize](../styles-and-themes/common-units/#size)-Select--warning | *none* | *none* |
485 | | [fontSize](../styles-and-themes/common-units/#size)-Select-badge | $fontSize-sm | $fontSize-sm |
486 | | [fontSize](../styles-and-themes/common-units/#size)-Select-badge | $fontSize-sm | $fontSize-sm |
487 | | [minHeight](../styles-and-themes/common-units/#size)-item-Select | $space-7 | $space-7 |
488 | | [minHeight](../styles-and-themes/common-units/#size)-Select | $space-7 | $space-7 |
489 | | [opacity](../styles-and-themes/common-units/#opacity)-Select--disabled | 0.5 | 0.5 |
490 | | [opacity](../styles-and-themes/common-units/#opacity)-text-item-Select--disabled | 0.5 | 0.5 |
491 | | [outlineColor](../styles-and-themes/common-units/#color)-Select--default--focus | *none* | *none* |
492 | | [outlineColor](../styles-and-themes/common-units/#color)-Select--error--focus | *none* | *none* |
493 | | [outlineColor](../styles-and-themes/common-units/#color)-Select--focus | *none* | *none* |
494 | | [outlineColor](../styles-and-themes/common-units/#color)-Select--success--focus | *none* | *none* |
495 | | [outlineColor](../styles-and-themes/common-units/#color)-Select--warning--focus | *none* | *none* |
496 | | [outlineOffset](../styles-and-themes/common-units/#size)-Select--default--focus | *none* | *none* |
497 | | [outlineOffset](../styles-and-themes/common-units/#size)-Select--error--focus | *none* | *none* |
498 | | [outlineOffset](../styles-and-themes/common-units/#size)-Select--focus | *none* | *none* |
499 | | [outlineOffset](../styles-and-themes/common-units/#size)-Select--success--focus | *none* | *none* |
500 | | [outlineOffset](../styles-and-themes/common-units/#size)-Select--warning--focus | *none* | *none* |
501 | | [outlineStyle](../styles-and-themes/common-units/#border)-Select--default--focus | *none* | *none* |
502 | | [outlineStyle](../styles-and-themes/common-units/#border)-Select--error--focus | *none* | *none* |
503 | | [outlineStyle](../styles-and-themes/common-units/#border)-Select--focus | *none* | *none* |
504 | | [outlineStyle](../styles-and-themes/common-units/#border)-Select--success--focus | *none* | *none* |
505 | | [outlineStyle](../styles-and-themes/common-units/#border)-Select--warning--focus | *none* | *none* |
506 | | [outlineWidth](../styles-and-themes/common-units/#size)-Select--default--focus | *none* | *none* |
507 | | [outlineWidth](../styles-and-themes/common-units/#size)-Select--error--focus | *none* | *none* |
508 | | [outlineWidth](../styles-and-themes/common-units/#size)-Select--focus | *none* | *none* |
509 | | [outlineWidth](../styles-and-themes/common-units/#size)-Select--success--focus | *none* | *none* |
510 | | [outlineWidth](../styles-and-themes/common-units/#size)-Select--warning--focus | *none* | *none* |
511 | | [padding](../styles-and-themes/common-units/#size)-item-Select | *none* | *none* |
512 | | [padding](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
513 | | [paddingBottom](../styles-and-themes/common-units/#size)-item-Select | *none* | *none* |
514 | | [paddingBottom](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
515 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-item-Select | $space-2 | $space-2 |
516 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-Select | $space-2 | $space-2 |
517 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-Select-badge | $space-2_5 | $space-2_5 |
518 | | [paddingLeft](../styles-and-themes/common-units/#size)-item-Select | *none* | *none* |
519 | | [paddingLeft](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
520 | | [paddingRight](../styles-and-themes/common-units/#size)-item-Select | *none* | *none* |
521 | | [paddingRight](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
522 | | [paddingTop](../styles-and-themes/common-units/#size)-item-Select | *none* | *none* |
523 | | [paddingTop](../styles-and-themes/common-units/#size)-Select | *none* | *none* |
524 | | [paddingVertical](../styles-and-themes/common-units/#size)-item-Select | $space-2 | $space-2 |
525 | | [paddingVertical](../styles-and-themes/common-units/#size)-Select | $space-2 | $space-2 |
526 | | [paddingVertical](../styles-and-themes/common-units/#size)-Select-badge | $space-0_5 | $space-0_5 |
527 | | [textColor](../styles-and-themes/common-units/#color)-indicator-Select | *none* | *none* |
528 | | [textColor](../styles-and-themes/common-units/#color)-item-Select--disabled | $color-surface-200 | $color-surface-200 |
529 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-Select | *none* | *none* |
530 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-Select--default | *none* | *none* |
531 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-Select--error | *none* | *none* |
532 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-Select--success | *none* | *none* |
533 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-Select--warning | *none* | *none* |
534 | | [textColor](../styles-and-themes/common-units/#color)-Select--default | *none* | *none* |
535 | | [textColor](../styles-and-themes/common-units/#color)-Select--default--hover | *none* | *none* |
536 | | [textColor](../styles-and-themes/common-units/#color)-Select--disabled | *none* | *none* |
537 | | [textColor](../styles-and-themes/common-units/#color)-Select--error | *none* | *none* |
538 | | [textColor](../styles-and-themes/common-units/#color)-Select--error--hover | *none* | *none* |
539 | | [textColor](../styles-and-themes/common-units/#color)-Select--success | *none* | *none* |
540 | | [textColor](../styles-and-themes/common-units/#color)-Select--success--hover | *none* | *none* |
541 | | [textColor](../styles-and-themes/common-units/#color)-Select--warning | *none* | *none* |
542 | | [textColor](../styles-and-themes/common-units/#color)-Select--warning--hover | *none* | *none* |
543 | | [textColor](../styles-and-themes/common-units/#color)-Select-badge | $const-color-surface-50 | $const-color-surface-50 |
544 | | [textColor](../styles-and-themes/common-units/#color)-Select-badge | $const-color-surface-50 | $const-color-surface-50 |
545 | | [textColor](../styles-and-themes/common-units/#color)-Select-badge--active | *none* | *none* |
546 | | [textColor](../styles-and-themes/common-units/#color)-Select-badge--hover | *none* | *none* |
547 | 
```
Page 112/189FirstPrevNextLast