This is page 92 of 186. Use http://codebase.md/xmlui-org/xmlui/tools/vscode/resources/assets/img/bg-iphone-14-pro.jpg?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .changeset
│ └── config.json
├── .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.yml
│ ├── prepare-versions.yml
│ ├── release-packages.yml
│ ├── run-all-tests.yml
│ └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│ ├── launch.json
│ └── settings.json
├── blog
│ ├── .gitignore
│ ├── .gitkeep
│ ├── CHANGELOG.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── blog
│ │ │ ├── images
│ │ │ │ ├── an-advanced-codefence.gif
│ │ │ │ ├── an-advanced-codefence.mp4
│ │ │ │ ├── blog-page-component.png
│ │ │ │ ├── blog-scrabble.png
│ │ │ │ ├── codefence-runner.png
│ │ │ │ ├── integrated-blog-search.png
│ │ │ │ ├── lorem-ipsum.png
│ │ │ │ ├── playground-checkbox-source.png
│ │ │ │ ├── playground.png
│ │ │ │ ├── use-xmlui-mcp-to-find-a-howto.png
│ │ │ │ └── xmlui-demo-gallery.png
│ │ │ ├── introducing-xmlui.md
│ │ │ ├── lorem-ipsum.md
│ │ │ ├── newest-post.md
│ │ │ ├── older-post.md
│ │ │ ├── xmlui-playground.md
│ │ │ └── xmlui-powered-blog.md
│ │ ├── mockServiceWorker.js
│ │ ├── resources
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ └── for-download
│ │ │ │ └── xmlui
│ │ │ │ └── xmlui-standalone.umd.js
│ │ │ ├── github.svg
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ ├── rss.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ ├── staticwebapp.config.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ └── PageNotFound.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── blog-theme.ts
│ └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── ComponentRefLinks.txt
│ ├── content
│ │ ├── _meta.json
│ │ ├── components
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── APICall.md
│ │ │ ├── App.md
│ │ │ ├── AppHeader.md
│ │ │ ├── AppState.md
│ │ │ ├── AutoComplete.md
│ │ │ ├── Avatar.md
│ │ │ ├── Backdrop.md
│ │ │ ├── Badge.md
│ │ │ ├── BarChart.md
│ │ │ ├── Bookmark.md
│ │ │ ├── Breakout.md
│ │ │ ├── Button.md
│ │ │ ├── Card.md
│ │ │ ├── Carousel.md
│ │ │ ├── ChangeListener.md
│ │ │ ├── Checkbox.md
│ │ │ ├── CHStack.md
│ │ │ ├── ColorPicker.md
│ │ │ ├── Column.md
│ │ │ ├── ContentSeparator.md
│ │ │ ├── CVStack.md
│ │ │ ├── DataSource.md
│ │ │ ├── DateInput.md
│ │ │ ├── DatePicker.md
│ │ │ ├── DonutChart.md
│ │ │ ├── DropdownMenu.md
│ │ │ ├── EmojiSelector.md
│ │ │ ├── ExpandableItem.md
│ │ │ ├── FileInput.md
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FlowLayout.md
│ │ │ ├── Footer.md
│ │ │ ├── Form.md
│ │ │ ├── FormItem.md
│ │ │ ├── FormSection.md
│ │ │ ├── Fragment.md
│ │ │ ├── H1.md
│ │ │ ├── H2.md
│ │ │ ├── H3.md
│ │ │ ├── H4.md
│ │ │ ├── H5.md
│ │ │ ├── H6.md
│ │ │ ├── Heading.md
│ │ │ ├── HSplitter.md
│ │ │ ├── HStack.md
│ │ │ ├── Icon.md
│ │ │ ├── IFrame.md
│ │ │ ├── Image.md
│ │ │ ├── Items.md
│ │ │ ├── LabelList.md
│ │ │ ├── Legend.md
│ │ │ ├── LineChart.md
│ │ │ ├── Link.md
│ │ │ ├── List.md
│ │ │ ├── Logo.md
│ │ │ ├── Markdown.md
│ │ │ ├── MenuItem.md
│ │ │ ├── MenuSeparator.md
│ │ │ ├── ModalDialog.md
│ │ │ ├── NavGroup.md
│ │ │ ├── NavLink.md
│ │ │ ├── NavPanel.md
│ │ │ ├── NoResult.md
│ │ │ ├── NumberBox.md
│ │ │ ├── Option.md
│ │ │ ├── Page.md
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── Pages.md
│ │ │ ├── Pagination.md
│ │ │ ├── PasswordInput.md
│ │ │ ├── PieChart.md
│ │ │ ├── ProgressBar.md
│ │ │ ├── Queue.md
│ │ │ ├── RadioGroup.md
│ │ │ ├── RealTimeAdapter.md
│ │ │ ├── Redirect.md
│ │ │ ├── Select.md
│ │ │ ├── Slider.md
│ │ │ ├── Slot.md
│ │ │ ├── SpaceFiller.md
│ │ │ ├── Spinner.md
│ │ │ ├── Splitter.md
│ │ │ ├── Stack.md
│ │ │ ├── StickyBox.md
│ │ │ ├── SubMenuItem.md
│ │ │ ├── Switch.md
│ │ │ ├── TabItem.md
│ │ │ ├── Table.md
│ │ │ ├── TableOfContents.md
│ │ │ ├── Tabs.md
│ │ │ ├── Text.md
│ │ │ ├── TextArea.md
│ │ │ ├── TextBox.md
│ │ │ ├── Theme.md
│ │ │ ├── TimeInput.md
│ │ │ ├── Timer.md
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneSwitch.md
│ │ │ ├── Tooltip.md
│ │ │ ├── Tree.md
│ │ │ ├── VSplitter.md
│ │ │ ├── VStack.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ ├── xmlui-spreadsheet
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Spreadsheet.md
│ │ │ └── xmlui-website-blocks
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── Carousel.md
│ │ │ ├── HelloMd.md
│ │ │ ├── HeroSection.md
│ │ │ └── ScrollToTop.md
│ │ └── extensions
│ │ ├── _meta.json
│ │ ├── xmlui-animations
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── Animation.md
│ │ │ ├── FadeAnimation.md
│ │ │ ├── FadeInAnimation.md
│ │ │ ├── FadeOutAnimation.md
│ │ │ ├── ScaleAnimation.md
│ │ │ └── SlideInAnimation.md
│ │ └── xmlui-website-blocks
│ │ ├── _meta.json
│ │ ├── _overview.md
│ │ ├── Carousel.md
│ │ ├── FancyButton.md
│ │ ├── HeroSection.md
│ │ └── ScrollToTop.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── feed.rss
│ │ ├── mockServiceWorker.js
│ │ ├── pages
│ │ │ ├── _meta.json
│ │ │ ├── app-structure.md
│ │ │ ├── build-editor-component.md
│ │ │ ├── build-hello-world-component.md
│ │ │ ├── components-intro.md
│ │ │ ├── context-variables.md
│ │ │ ├── forms.md
│ │ │ ├── globals.md
│ │ │ ├── glossary.md
│ │ │ ├── helper-tags.md
│ │ │ ├── hosted-deployment.md
│ │ │ ├── howto
│ │ │ │ ├── assign-a-complex-json-literal-to-a-component-variable.md
│ │ │ │ ├── chain-a-refetch.md
│ │ │ │ ├── control-cache-invalidation.md
│ │ │ │ ├── debounce-user-input-for-api-calls.md
│ │ │ │ ├── debounce-with-changelistener.md
│ │ │ │ ├── debug-a-component.md
│ │ │ │ ├── delay-a-datasource-until-another-datasource-is-ready.md
│ │ │ │ ├── delegate-a-method.md
│ │ │ │ ├── do-custom-form-validation.md
│ │ │ │ ├── expose-a-method-from-a-component.md
│ │ │ │ ├── filter-and-transform-data-from-an-api.md
│ │ │ │ ├── group-items-in-list-by-a-property.md
│ │ │ │ ├── handle-background-operations.md
│ │ │ │ ├── hide-an-element-until-its-datasource-is-ready.md
│ │ │ │ ├── make-a-set-of-equal-width-cards.md
│ │ │ │ ├── make-a-table-responsive.md
│ │ │ │ ├── make-navpanel-width-responsive.md
│ │ │ │ ├── modify-a-value-reported-in-a-column.md
│ │ │ │ ├── paginate-a-list.md
│ │ │ │ ├── pass-data-to-a-modal-dialog.md
│ │ │ │ ├── react-to-button-click-not-keystrokes.md
│ │ │ │ ├── set-the-initial-value-of-a-select-from-fetched-data.md
│ │ │ │ ├── share-a-modaldialog-across-components.md
│ │ │ │ ├── sync-selections-between-table-and-list-views.md
│ │ │ │ ├── update-ui-optimistically.md
│ │ │ │ ├── use-built-in-form-validation.md
│ │ │ │ └── use-the-same-modaldialog-to-add-or-edit.md
│ │ │ ├── howto.md
│ │ │ ├── intro.md
│ │ │ ├── layout.md
│ │ │ ├── markup.md
│ │ │ ├── mcp.md
│ │ │ ├── modal-dialogs.md
│ │ │ ├── news-and-reviews.md
│ │ │ ├── reactive-intro.md
│ │ │ ├── refactoring.md
│ │ │ ├── routing-and-links.md
│ │ │ ├── samples
│ │ │ │ ├── color-palette.xmlui
│ │ │ │ ├── color-values.xmlui
│ │ │ │ ├── shadow-sizes.xmlui
│ │ │ │ ├── spacing-sizes.xmlui
│ │ │ │ ├── swatch.xmlui
│ │ │ │ ├── theme-gallery-brief.xmlui
│ │ │ │ └── theme-gallery.xmlui
│ │ │ ├── scoping.md
│ │ │ ├── scripting.md
│ │ │ ├── styles-and-themes
│ │ │ │ ├── common-units.md
│ │ │ │ ├── layout-props.md
│ │ │ │ ├── theme-variable-defaults.md
│ │ │ │ ├── theme-variables.md
│ │ │ │ └── themes.md
│ │ │ ├── template-properties.md
│ │ │ ├── test.md
│ │ │ ├── tutorial-01.md
│ │ │ ├── tutorial-02.md
│ │ │ ├── tutorial-03.md
│ │ │ ├── tutorial-04.md
│ │ │ ├── tutorial-05.md
│ │ │ ├── tutorial-06.md
│ │ │ ├── tutorial-07.md
│ │ │ ├── tutorial-08.md
│ │ │ ├── tutorial-09.md
│ │ │ ├── tutorial-10.md
│ │ │ ├── tutorial-11.md
│ │ │ ├── tutorial-12.md
│ │ │ ├── universal-properties.md
│ │ │ ├── user-defined-components.md
│ │ │ ├── vscode.md
│ │ │ ├── working-with-markdown.md
│ │ │ ├── working-with-text.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-charts
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── DonutChart.md
│ │ │ │ ├── LabelList.md
│ │ │ │ ├── Legend.md
│ │ │ │ ├── LineChart.md
│ │ │ │ └── PieChart.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ └── xmlui-spreadsheet
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ └── Spreadsheet.md
│ │ ├── resources
│ │ │ ├── devdocs
│ │ │ │ ├── debug-proxy-object-2.png
│ │ │ │ ├── debug-proxy-object.png
│ │ │ │ ├── table_editor_01.png
│ │ │ │ ├── table_editor_02.png
│ │ │ │ ├── table_editor_03.png
│ │ │ │ ├── table_editor_04.png
│ │ │ │ ├── table_editor_05.png
│ │ │ │ ├── table_editor_06.png
│ │ │ │ ├── table_editor_07.png
│ │ │ │ ├── table_editor_08.png
│ │ │ │ ├── table_editor_09.png
│ │ │ │ ├── table_editor_10.png
│ │ │ │ ├── table_editor_11.png
│ │ │ │ ├── table-editor-01.png
│ │ │ │ ├── table-editor-02.png
│ │ │ │ ├── table-editor-03.png
│ │ │ │ ├── table-editor-04.png
│ │ │ │ ├── table-editor-06.png
│ │ │ │ ├── table-editor-07.png
│ │ │ │ ├── table-editor-08.png
│ │ │ │ ├── table-editor-09.png
│ │ │ │ └── xmlui-rendering-of-tiptap-markdown.png
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ ├── clients.json
│ │ │ │ ├── daily-revenue.json
│ │ │ │ ├── dashboard-stats.json
│ │ │ │ ├── demo.xmlui
│ │ │ │ ├── demo.xmlui.xs
│ │ │ │ ├── downloads
│ │ │ │ │ └── downloads.json
│ │ │ │ ├── for-download
│ │ │ │ │ ├── index-with-api.html
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── mockApi.js
│ │ │ │ │ ├── start-darwin.sh
│ │ │ │ │ ├── start-linux.sh
│ │ │ │ │ ├── start.bat
│ │ │ │ │ └── xmlui
│ │ │ │ │ └── xmlui-standalone.umd.js
│ │ │ │ ├── getting-started
│ │ │ │ │ ├── cl-tutorial-final.zip
│ │ │ │ │ ├── cl-tutorial.zip
│ │ │ │ │ ├── cl-tutorial2.zip
│ │ │ │ │ ├── cl-tutorial3.zip
│ │ │ │ │ ├── cl-tutorial4.zip
│ │ │ │ │ ├── cl-tutorial5.zip
│ │ │ │ │ ├── cl-tutorial6.zip
│ │ │ │ │ ├── getting-started.zip
│ │ │ │ │ ├── hello-xmlui.zip
│ │ │ │ │ ├── xmlui-empty.zip
│ │ │ │ │ └── xmlui-starter.zip
│ │ │ │ ├── howto
│ │ │ │ │ └── component-icons
│ │ │ │ │ └── up-arrow.svg
│ │ │ │ ├── invoices.json
│ │ │ │ ├── monthly-status.json
│ │ │ │ ├── news-and-reviews.json
│ │ │ │ ├── products.json
│ │ │ │ ├── releases.json
│ │ │ │ ├── tutorials
│ │ │ │ │ ├── datasource
│ │ │ │ │ │ └── api.ts
│ │ │ │ │ └── p2do
│ │ │ │ │ ├── api.ts
│ │ │ │ │ └── todo-logo.svg
│ │ │ │ └── xmlui.json
│ │ │ ├── github.svg
│ │ │ ├── images
│ │ │ │ ├── apiaction-tutorial
│ │ │ │ │ ├── add-success.png
│ │ │ │ │ ├── apiaction-param.png
│ │ │ │ │ ├── change-completed.png
│ │ │ │ │ ├── change-in-progress.png
│ │ │ │ │ ├── confirm-delete.png
│ │ │ │ │ ├── data-error.png
│ │ │ │ │ ├── data-progress.png
│ │ │ │ │ ├── data-success.png
│ │ │ │ │ ├── display-1.png
│ │ │ │ │ ├── item-deleted.png
│ │ │ │ │ ├── item-updated.png
│ │ │ │ │ ├── missing-api-key.png
│ │ │ │ │ ├── new-item-added.png
│ │ │ │ │ └── test-message.png
│ │ │ │ ├── chat-api
│ │ │ │ │ └── domain-model.svg
│ │ │ │ ├── components
│ │ │ │ │ ├── image
│ │ │ │ │ │ └── breakfast.jpg
│ │ │ │ │ ├── markdown
│ │ │ │ │ │ └── colors.png
│ │ │ │ │ └── modal
│ │ │ │ │ ├── deep_link_dialog_1.jpg
│ │ │ │ │ └── deep_link_dialog_2.jpg
│ │ │ │ ├── create-apps
│ │ │ │ │ ├── collapsed-vertical.png
│ │ │ │ │ ├── using-forms-warning-dialog.png
│ │ │ │ │ └── using-forms.png
│ │ │ │ ├── datasource-tutorial
│ │ │ │ │ ├── data-with-header.png
│ │ │ │ │ ├── filtered-data.png
│ │ │ │ │ ├── filtered-items.png
│ │ │ │ │ ├── initial-page-items.png
│ │ │ │ │ ├── list-items.png
│ │ │ │ │ ├── next-page-items.png
│ │ │ │ │ ├── no-data.png
│ │ │ │ │ ├── pagination-1.jpg
│ │ │ │ │ ├── pagination-1.png
│ │ │ │ │ ├── polling-1.png
│ │ │ │ │ ├── refetch-data.png
│ │ │ │ │ ├── slow-loading.png
│ │ │ │ │ ├── test-message.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── unconventional-data.png
│ │ │ │ │ └── unfiltered-items.png
│ │ │ │ ├── flower.jpg
│ │ │ │ ├── get-started
│ │ │ │ │ ├── add-new-contact.png
│ │ │ │ │ ├── app-modified.png
│ │ │ │ │ ├── app-start.png
│ │ │ │ │ ├── app-with-boxes.png
│ │ │ │ │ ├── app-with-toast.png
│ │ │ │ │ ├── boilerplate-structure.png
│ │ │ │ │ ├── cl-initial.png
│ │ │ │ │ ├── cl-start.png
│ │ │ │ │ ├── contact-counts.png
│ │ │ │ │ ├── contact-dialog-title.png
│ │ │ │ │ ├── contact-dialog.png
│ │ │ │ │ ├── contact-menus.png
│ │ │ │ │ ├── contact-predicates.png
│ │ │ │ │ ├── context-menu.png
│ │ │ │ │ ├── dashboard-numbers.png
│ │ │ │ │ ├── default-contact-list.png
│ │ │ │ │ ├── delete-contact.png
│ │ │ │ │ ├── delete-task.png
│ │ │ │ │ ├── detailed-template.png
│ │ │ │ │ ├── edit-contact-details.png
│ │ │ │ │ ├── edited-contact-saved.png
│ │ │ │ │ ├── empty-sections.png
│ │ │ │ │ ├── filter-completed.png
│ │ │ │ │ ├── fullwidth-desktop.png
│ │ │ │ │ ├── fullwidth-mobile.png
│ │ │ │ │ ├── initial-table.png
│ │ │ │ │ ├── items-and-badges.png
│ │ │ │ │ ├── loading-message.png
│ │ │ │ │ ├── new-contact-button.png
│ │ │ │ │ ├── new-contact-saved.png
│ │ │ │ │ ├── no-empty-sections.png
│ │ │ │ │ ├── personal-todo-initial.png
│ │ │ │ │ ├── piechart.png
│ │ │ │ │ ├── review-today.png
│ │ │ │ │ ├── rudimentary-dashboard.png
│ │ │ │ │ ├── section-collapsed.png
│ │ │ │ │ ├── sectioned-items.png
│ │ │ │ │ ├── sections-ordered.png
│ │ │ │ │ ├── spacex-list-with-links.png
│ │ │ │ │ ├── spacex-list.png
│ │ │ │ │ ├── start-personal-todo-1.png
│ │ │ │ │ ├── submit-new-contact.png
│ │ │ │ │ ├── submit-new-task.png
│ │ │ │ │ ├── syntax-highlighting.png
│ │ │ │ │ ├── table-with-badge.png
│ │ │ │ │ ├── template-with-card.png
│ │ │ │ │ ├── test-emulated-api.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── todo-logo.png
│ │ │ │ │ └── xmlui-tools.png
│ │ │ │ ├── HelloApp.png
│ │ │ │ ├── HelloApp2.png
│ │ │ │ ├── logos
│ │ │ │ │ ├── xmlui1.svg
│ │ │ │ │ ├── xmlui2.svg
│ │ │ │ │ ├── xmlui3.svg
│ │ │ │ │ ├── xmlui4.svg
│ │ │ │ │ ├── xmlui5.svg
│ │ │ │ │ ├── xmlui6.svg
│ │ │ │ │ └── xmlui7.svg
│ │ │ │ ├── pdf
│ │ │ │ │ └── dummy-pdf.jpg
│ │ │ │ ├── rendering-engine
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ ├── Component.svg
│ │ │ │ │ ├── CompoundComponent.svg
│ │ │ │ │ ├── RootComponent.svg
│ │ │ │ │ └── tree-with-containers.svg
│ │ │ │ ├── reviewers-guide
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ └── incbutton-in-action.png
│ │ │ │ ├── tools
│ │ │ │ │ └── boilerplate-structure.png
│ │ │ │ ├── try.svg
│ │ │ │ ├── tutorial
│ │ │ │ │ ├── app-chat-history.png
│ │ │ │ │ ├── app-content-placeholder.png
│ │ │ │ │ ├── app-header-and-content.png
│ │ │ │ │ ├── app-links-channel-selected.png
│ │ │ │ │ ├── app-links-click.png
│ │ │ │ │ ├── app-navigation.png
│ │ │ │ │ ├── finished-ex01.png
│ │ │ │ │ ├── finished-ex02.png
│ │ │ │ │ ├── hello.png
│ │ │ │ │ ├── splash-screen-advanced.png
│ │ │ │ │ ├── splash-screen-after-click.png
│ │ │ │ │ ├── splash-screen-centered.png
│ │ │ │ │ ├── splash-screen-events.png
│ │ │ │ │ ├── splash-screen-expression.png
│ │ │ │ │ ├── splash-screen-reuse-after.png
│ │ │ │ │ ├── splash-screen-reuse-before.png
│ │ │ │ │ └── splash-screen.png
│ │ │ │ └── tutorial-01.png
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ ├── Boxes.xmlui
│ │ │ ├── Breadcrumb.xmlui
│ │ │ ├── ChangeLog.xmlui
│ │ │ ├── ColorPalette.xmlui
│ │ │ ├── DocumentLinks.xmlui
│ │ │ ├── DocumentPage.xmlui
│ │ │ ├── DocumentPageNoTOC.xmlui
│ │ │ ├── Icons.xmlui
│ │ │ ├── IncButton.xmlui
│ │ │ ├── IncButton2.xmlui
│ │ │ ├── NameValue.xmlui
│ │ │ ├── PageNotFound.xmlui
│ │ │ ├── PaletteItem.xmlui
│ │ │ ├── Palettes.xmlui
│ │ │ ├── SectionHeader.xmlui
│ │ │ ├── TBD.xmlui
│ │ │ ├── Test.xmlui
│ │ │ ├── ThemesIntro.xmlui
│ │ │ ├── ThousandThemes.xmlui
│ │ │ ├── TubeStops.xmlui
│ │ │ ├── TubeStops.xmlui.xs
│ │ │ └── TwoColumnCode.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ ├── docs-theme.ts
│ │ ├── earthtone.ts
│ │ ├── xmlui-gray-on-default.ts
│ │ ├── xmlui-green-on-default.ts
│ │ └── xmlui-orange-on-default.ts
│ └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│ ├── tsconfig.json
│ ├── xmlui-animations
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── Animation.tsx
│ │ ├── AnimationNative.tsx
│ │ ├── FadeAnimation.tsx
│ │ ├── FadeInAnimation.tsx
│ │ ├── FadeOutAnimation.tsx
│ │ ├── index.tsx
│ │ ├── ScaleAnimation.tsx
│ │ └── SlideInAnimation.tsx
│ ├── xmlui-devtools
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── devtools
│ │ │ │ ├── DevTools.tsx
│ │ │ │ ├── DevToolsNative.module.scss
│ │ │ │ ├── DevToolsNative.tsx
│ │ │ │ ├── ModalDialog.module.scss
│ │ │ │ ├── ModalDialog.tsx
│ │ │ │ ├── ModalVisibilityContext.tsx
│ │ │ │ ├── Tooltip.module.scss
│ │ │ │ ├── Tooltip.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── editor
│ │ │ │ └── Editor.tsx
│ │ │ └── index.tsx
│ │ └── vite.config-overrides.ts
│ ├── xmlui-hello-world
│ │ ├── .gitignore
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── HelloWorld.module.scss
│ │ ├── HelloWorld.tsx
│ │ ├── HelloWorldNative.tsx
│ │ └── index.tsx
│ ├── xmlui-os-frames
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── IPhoneFrame.module.scss
│ │ ├── IPhoneFrame.tsx
│ │ ├── MacOSAppFrame.module.scss
│ │ ├── MacOSAppFrame.tsx
│ │ ├── WindowsAppFrame.module.scss
│ │ └── WindowsAppFrame.tsx
│ ├── xmlui-pdf
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ ├── components
│ │ │ │ └── Pdf.xmlui
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── LazyPdfNative.tsx
│ │ ├── Pdf.module.scss
│ │ └── Pdf.tsx
│ ├── xmlui-playground
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── hooks
│ │ │ ├── usePlayground.ts
│ │ │ └── useToast.ts
│ │ ├── index.tsx
│ │ ├── playground
│ │ │ ├── Box.module.scss
│ │ │ ├── Box.tsx
│ │ │ ├── CodeSelector.tsx
│ │ │ ├── ConfirmationDialog.module.scss
│ │ │ ├── ConfirmationDialog.tsx
│ │ │ ├── Editor.tsx
│ │ │ ├── Header.module.scss
│ │ │ ├── Header.tsx
│ │ │ ├── Playground.tsx
│ │ │ ├── PlaygroundContent.module.scss
│ │ │ ├── PlaygroundContent.tsx
│ │ │ ├── PlaygroundNative.module.scss
│ │ │ ├── PlaygroundNative.tsx
│ │ │ ├── Preview.module.scss
│ │ │ ├── Preview.tsx
│ │ │ ├── Select.module.scss
│ │ │ ├── StandalonePlayground.tsx
│ │ │ ├── StandalonePlaygroundNative.module.scss
│ │ │ ├── StandalonePlaygroundNative.tsx
│ │ │ ├── ThemeSwitcher.module.scss
│ │ │ ├── ThemeSwitcher.tsx
│ │ │ ├── ToneSwitcher.tsx
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── providers
│ │ │ ├── Toast.module.scss
│ │ │ └── ToastProvider.tsx
│ │ ├── state
│ │ │ └── store.ts
│ │ ├── themes
│ │ │ └── theme.ts
│ │ └── utils
│ │ └── helpers.ts
│ ├── xmlui-search
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Search.module.scss
│ │ └── Search.tsx
│ ├── xmlui-spreadsheet
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Spreadsheet.tsx
│ │ └── SpreadsheetNative.tsx
│ └── xmlui-website-blocks
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── demo
│ │ ├── components
│ │ │ ├── HeroBackgroundBreakoutPage.xmlui
│ │ │ ├── HeroBackgroundsPage.xmlui
│ │ │ ├── HeroContentsPage.xmlui
│ │ │ ├── HeroTextAlignPage.xmlui
│ │ │ ├── HeroTextPage.xmlui
│ │ │ └── HeroTonesPage.xmlui
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── default.ts
│ ├── index.html
│ ├── index.ts
│ ├── meta
│ │ └── componentsMetadata.ts
│ ├── package.json
│ ├── public
│ │ └── resources
│ │ ├── building.jpg
│ │ └── xmlui-logo.svg
│ └── src
│ ├── Carousel
│ │ ├── Carousel.module.scss
│ │ ├── Carousel.tsx
│ │ ├── CarouselContext.tsx
│ │ └── CarouselNative.tsx
│ ├── FancyButton
│ │ ├── FancyButton.module.scss
│ │ ├── FancyButton.tsx
│ │ └── FancyButton.xmlui
│ ├── Hello
│ │ ├── Hello.tsx
│ │ ├── Hello.xmlui
│ │ └── Hello.xmlui.xs
│ ├── HeroSection
│ │ ├── HeroSection.module.scss
│ │ ├── HeroSection.spec.ts
│ │ ├── HeroSection.tsx
│ │ └── HeroSectionNative.tsx
│ ├── index.tsx
│ ├── ScrollToTop
│ │ ├── ScrollToTop.module.scss
│ │ ├── ScrollToTop.tsx
│ │ └── ScrollToTopNative.tsx
│ └── vite-env.d.ts
├── playwright.config.ts
├── README.md
├── tools
│ ├── codefence
│ │ └── xmlui-code-fence-docs.md
│ ├── create-app
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── create-app.ts
│ │ ├── helpers
│ │ │ ├── copy.ts
│ │ │ ├── get-pkg-manager.ts
│ │ │ ├── git.ts
│ │ │ ├── install.ts
│ │ │ ├── is-folder-empty.ts
│ │ │ ├── is-writeable.ts
│ │ │ ├── make-dir.ts
│ │ │ └── validate-pkg.ts
│ │ ├── index.ts
│ │ ├── package.json
│ │ ├── templates
│ │ │ ├── default
│ │ │ │ └── ts
│ │ │ │ ├── gitignore
│ │ │ │ ├── index.html
│ │ │ │ ├── index.ts
│ │ │ │ ├── public
│ │ │ │ │ ├── mockServiceWorker.js
│ │ │ │ │ ├── resources
│ │ │ │ │ │ ├── favicon.ico
│ │ │ │ │ │ └── xmlui-logo.svg
│ │ │ │ │ └── serve.json
│ │ │ │ └── src
│ │ │ │ ├── components
│ │ │ │ │ ├── ApiAware.xmlui
│ │ │ │ │ ├── Home.xmlui
│ │ │ │ │ ├── IncButton.xmlui
│ │ │ │ │ └── PagePanel.xmlui
│ │ │ │ ├── config.ts
│ │ │ │ └── Main.xmlui
│ │ │ ├── index.ts
│ │ │ └── types.ts
│ │ └── tsconfig.json
│ ├── create-xmlui-hello-world
│ │ ├── index.js
│ │ └── package.json
│ └── vscode
│ ├── .gitignore
│ ├── .vscode
│ │ ├── launch.json
│ │ └── tasks.json
│ ├── .vscodeignore
│ ├── build.sh
│ ├── CHANGELOG.md
│ ├── esbuild.js
│ ├── eslint.config.mjs
│ ├── formatter-docs.md
│ ├── generate-test-sample.sh
│ ├── LICENSE.md
│ ├── package-lock.json
│ ├── package.json
│ ├── README.md
│ ├── resources
│ │ ├── xmlui-logo.png
│ │ └── xmlui-markup-syntax-highlighting.png
│ ├── src
│ │ ├── extension.ts
│ │ └── server.ts
│ ├── syntaxes
│ │ └── xmlui.tmLanguage.json
│ ├── test-samples
│ │ └── sample.xmlui
│ ├── tsconfig.json
│ └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
├── .gitignore
├── bin
│ ├── bootstrap.cjs
│ ├── bootstrap.js
│ ├── build-lib.ts
│ ├── build.ts
│ ├── index.ts
│ ├── preview.ts
│ ├── start.ts
│ ├── vite-xmlui-plugin.ts
│ └── viteConfig.ts
├── CHANGELOG.md
├── conventions
│ ├── component-qa-checklist.md
│ ├── copilot-conventions.md
│ ├── create-xmlui-components.md
│ ├── mermaid.md
│ ├── testing-conventions.md
│ └── xmlui-in-a-nutshell.md
├── dev-docs
│ ├── accessibility.md
│ ├── build-system.md
│ ├── build-xmlui.md
│ ├── component-behaviors.md
│ ├── component-metadata.md
│ ├── components-with-options.md
│ ├── containers.md
│ ├── data-operations.md
│ ├── glossary.md
│ ├── index.md
│ ├── next
│ │ ├── component-dev-guide.md
│ │ ├── configuration-management-enhancement-summary.md
│ │ ├── documentation-scripts-refactoring-complete-summary.md
│ │ ├── documentation-scripts-refactoring-plan.md
│ │ ├── duplicate-pattern-extraction-summary.md
│ │ ├── error-handling-standardization-summary.md
│ │ ├── generating-component-reference.md
│ │ ├── index.md
│ │ ├── logging-consistency-implementation-summary.md
│ │ ├── project-build.md
│ │ ├── project-structure.md
│ │ ├── theme-context.md
│ │ ├── tiptap-design-considerations.md
│ │ ├── working-with-code.md
│ │ ├── xmlui-runtime-architecture
│ │ └── xmlui-wcag-accessibility-report.md
│ ├── react-fundamentals.md
│ ├── release-method.md
│ ├── standalone-app.md
│ ├── theme-variables-refactoring.md
│ ├── ud-components.md
│ └── xmlui-repo.md
├── package.json
├── scripts
│ ├── coverage-only.js
│ ├── e2e-test-summary.js
│ ├── extract-component-metadata.js
│ ├── generate-docs
│ │ ├── build-downloads-map.mjs
│ │ ├── build-pages-map.mjs
│ │ ├── components-config.json
│ │ ├── configuration-management.mjs
│ │ ├── constants.mjs
│ │ ├── create-theme-files.mjs
│ │ ├── DocsGenerator.mjs
│ │ ├── error-handling.mjs
│ │ ├── extensions-config.json
│ │ ├── folders.mjs
│ │ ├── generate-summary-files.mjs
│ │ ├── get-docs.mjs
│ │ ├── input-handler.mjs
│ │ ├── logger.mjs
│ │ ├── logging-standards.mjs
│ │ ├── MetadataProcessor.mjs
│ │ ├── pattern-utilities.mjs
│ │ └── utils.mjs
│ ├── generate-metadata-markdown.js
│ ├── get-langserver-metadata.js
│ ├── inline-links.mjs
│ └── README-e2e-summary.md
├── src
│ ├── abstractions
│ │ ├── _conventions.md
│ │ ├── ActionDefs.ts
│ │ ├── AppContextDefs.ts
│ │ ├── ComponentDefs.ts
│ │ ├── ContainerDefs.ts
│ │ ├── ExtensionDefs.ts
│ │ ├── FunctionDefs.ts
│ │ ├── RendererDefs.ts
│ │ ├── scripting
│ │ │ ├── BlockScope.ts
│ │ │ ├── Compilation.ts
│ │ │ ├── LogicalThread.ts
│ │ │ ├── LoopScope.ts
│ │ │ ├── modules.ts
│ │ │ ├── ScriptParserError.ts
│ │ │ ├── Token.ts
│ │ │ ├── TryScope.ts
│ │ │ └── TryScopeExp.ts
│ │ └── ThemingDefs.ts
│ ├── components
│ │ ├── _conventions.md
│ │ ├── abstractions.ts
│ │ ├── Accordion
│ │ │ ├── Accordion.md
│ │ │ ├── Accordion.module.scss
│ │ │ ├── Accordion.spec.ts
│ │ │ ├── Accordion.tsx
│ │ │ ├── AccordionContext.tsx
│ │ │ ├── AccordionItem.tsx
│ │ │ ├── AccordionItemNative.tsx
│ │ │ └── AccordionNative.tsx
│ │ ├── Animation
│ │ │ └── AnimationNative.tsx
│ │ ├── APICall
│ │ │ ├── APICall.md
│ │ │ ├── APICall.spec.ts
│ │ │ ├── APICall.tsx
│ │ │ └── APICallNative.tsx
│ │ ├── App
│ │ │ ├── App.md
│ │ │ ├── App.module.scss
│ │ │ ├── App.spec.ts
│ │ │ ├── App.tsx
│ │ │ ├── AppLayoutContext.ts
│ │ │ ├── AppNative.tsx
│ │ │ ├── AppStateContext.ts
│ │ │ ├── doc-resources
│ │ │ │ ├── condensed-sticky.xmlui
│ │ │ │ ├── condensed.xmlui
│ │ │ │ ├── horizontal-sticky.xmlui
│ │ │ │ ├── horizontal.xmlui
│ │ │ │ ├── vertical-full-header.xmlui
│ │ │ │ ├── vertical-sticky.xmlui
│ │ │ │ └── vertical.xmlui
│ │ │ ├── IndexerContext.ts
│ │ │ ├── LinkInfoContext.ts
│ │ │ ├── SearchContext.tsx
│ │ │ ├── Sheet.module.scss
│ │ │ └── Sheet.tsx
│ │ ├── AppHeader
│ │ │ ├── AppHeader.md
│ │ │ ├── AppHeader.module.scss
│ │ │ ├── AppHeader.spec.ts
│ │ │ ├── AppHeader.tsx
│ │ │ └── AppHeaderNative.tsx
│ │ ├── AppState
│ │ │ ├── AppState.md
│ │ │ ├── AppState.spec.ts
│ │ │ ├── AppState.tsx
│ │ │ └── AppStateNative.tsx
│ │ ├── AutoComplete
│ │ │ ├── AutoComplete.md
│ │ │ ├── AutoComplete.module.scss
│ │ │ ├── AutoComplete.spec.ts
│ │ │ ├── AutoComplete.tsx
│ │ │ ├── AutoCompleteContext.tsx
│ │ │ └── AutoCompleteNative.tsx
│ │ ├── Avatar
│ │ │ ├── Avatar.md
│ │ │ ├── Avatar.module.scss
│ │ │ ├── Avatar.spec.ts
│ │ │ ├── Avatar.tsx
│ │ │ └── AvatarNative.tsx
│ │ ├── Backdrop
│ │ │ ├── Backdrop.md
│ │ │ ├── Backdrop.module.scss
│ │ │ ├── Backdrop.spec.ts
│ │ │ ├── Backdrop.tsx
│ │ │ └── BackdropNative.tsx
│ │ ├── Badge
│ │ │ ├── Badge.md
│ │ │ ├── Badge.module.scss
│ │ │ ├── Badge.spec.ts
│ │ │ ├── Badge.tsx
│ │ │ └── BadgeNative.tsx
│ │ ├── Bookmark
│ │ │ ├── Bookmark.md
│ │ │ ├── Bookmark.module.scss
│ │ │ ├── Bookmark.spec.ts
│ │ │ ├── Bookmark.tsx
│ │ │ └── BookmarkNative.tsx
│ │ ├── Breakout
│ │ │ ├── Breakout.module.scss
│ │ │ ├── Breakout.spec.ts
│ │ │ ├── Breakout.tsx
│ │ │ └── BreakoutNative.tsx
│ │ ├── Button
│ │ │ ├── Button-style.spec.ts
│ │ │ ├── Button.md
│ │ │ ├── Button.module.scss
│ │ │ ├── Button.spec.ts
│ │ │ ├── Button.tsx
│ │ │ └── ButtonNative.tsx
│ │ ├── Card
│ │ │ ├── Card.md
│ │ │ ├── Card.module.scss
│ │ │ ├── Card.spec.ts
│ │ │ ├── Card.tsx
│ │ │ └── CardNative.tsx
│ │ ├── Carousel
│ │ │ ├── Carousel.md
│ │ │ ├── Carousel.module.scss
│ │ │ ├── Carousel.spec.ts
│ │ │ ├── Carousel.tsx
│ │ │ ├── CarouselContext.tsx
│ │ │ ├── CarouselItem.tsx
│ │ │ ├── CarouselItemNative.tsx
│ │ │ └── CarouselNative.tsx
│ │ ├── ChangeListener
│ │ │ ├── ChangeListener.md
│ │ │ ├── ChangeListener.spec.ts
│ │ │ ├── ChangeListener.tsx
│ │ │ └── ChangeListenerNative.tsx
│ │ ├── chart-color-schemes.ts
│ │ ├── Charts
│ │ │ ├── AreaChart
│ │ │ │ ├── AreaChart.md
│ │ │ │ ├── AreaChart.spec.ts
│ │ │ │ ├── AreaChart.tsx
│ │ │ │ └── AreaChartNative.tsx
│ │ │ ├── BarChart
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── BarChart.module.scss
│ │ │ │ ├── BarChart.spec.ts
│ │ │ │ ├── BarChart.tsx
│ │ │ │ └── BarChartNative.tsx
│ │ │ ├── DonutChart
│ │ │ │ ├── DonutChart.spec.ts
│ │ │ │ └── DonutChart.tsx
│ │ │ ├── LabelList
│ │ │ │ ├── LabelList.module.scss
│ │ │ │ ├── LabelList.spec.ts
│ │ │ │ ├── LabelList.tsx
│ │ │ │ └── LabelListNative.tsx
│ │ │ ├── Legend
│ │ │ │ ├── Legend.spec.ts
│ │ │ │ ├── Legend.tsx
│ │ │ │ └── LegendNative.tsx
│ │ │ ├── LineChart
│ │ │ │ ├── LineChart.md
│ │ │ │ ├── LineChart.module.scss
│ │ │ │ ├── LineChart.spec.ts
│ │ │ │ ├── LineChart.tsx
│ │ │ │ └── LineChartNative.tsx
│ │ │ ├── PieChart
│ │ │ │ ├── PieChart.md
│ │ │ │ ├── PieChart.spec.ts
│ │ │ │ ├── PieChart.tsx
│ │ │ │ ├── PieChartNative.module.scss
│ │ │ │ └── PieChartNative.tsx
│ │ │ ├── RadarChart
│ │ │ │ ├── RadarChart.md
│ │ │ │ ├── RadarChart.spec.ts
│ │ │ │ ├── RadarChart.tsx
│ │ │ │ └── RadarChartNative.tsx
│ │ │ ├── Tooltip
│ │ │ │ ├── TooltipContent.module.scss
│ │ │ │ ├── TooltipContent.spec.ts
│ │ │ │ └── TooltipContent.tsx
│ │ │ └── utils
│ │ │ ├── abstractions.ts
│ │ │ └── ChartProvider.tsx
│ │ ├── Checkbox
│ │ │ ├── Checkbox.md
│ │ │ ├── Checkbox.spec.ts
│ │ │ └── Checkbox.tsx
│ │ ├── CodeBlock
│ │ │ ├── CodeBlock.module.scss
│ │ │ ├── CodeBlock.spec.ts
│ │ │ ├── CodeBlock.tsx
│ │ │ ├── CodeBlockNative.tsx
│ │ │ └── highlight-code.ts
│ │ ├── collectedComponentMetadata.ts
│ │ ├── ColorPicker
│ │ │ ├── ColorPicker.md
│ │ │ ├── ColorPicker.module.scss
│ │ │ ├── ColorPicker.spec.ts
│ │ │ ├── ColorPicker.tsx
│ │ │ └── ColorPickerNative.tsx
│ │ ├── Column
│ │ │ ├── Column.md
│ │ │ ├── Column.tsx
│ │ │ ├── ColumnNative.tsx
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ └── TableContext.tsx
│ │ ├── component-utils.ts
│ │ ├── ComponentProvider.tsx
│ │ ├── ComponentRegistryContext.tsx
│ │ ├── container-helpers.tsx
│ │ ├── ContentSeparator
│ │ │ ├── ContentSeparator.md
│ │ │ ├── ContentSeparator.module.scss
│ │ │ ├── ContentSeparator.spec.ts
│ │ │ ├── ContentSeparator.tsx
│ │ │ └── ContentSeparatorNative.tsx
│ │ ├── DataSource
│ │ │ ├── DataSource.md
│ │ │ └── DataSource.tsx
│ │ ├── DateInput
│ │ │ ├── DateInput.md
│ │ │ ├── DateInput.module.scss
│ │ │ ├── DateInput.spec.ts
│ │ │ ├── DateInput.tsx
│ │ │ └── DateInputNative.tsx
│ │ ├── DatePicker
│ │ │ ├── DatePicker.md
│ │ │ ├── DatePicker.module.scss
│ │ │ ├── DatePicker.spec.ts
│ │ │ ├── DatePicker.tsx
│ │ │ └── DatePickerNative.tsx
│ │ ├── DropdownMenu
│ │ │ ├── DropdownMenu.md
│ │ │ ├── DropdownMenu.module.scss
│ │ │ ├── DropdownMenu.spec.ts
│ │ │ ├── DropdownMenu.tsx
│ │ │ ├── DropdownMenuNative.tsx
│ │ │ ├── MenuItem.md
│ │ │ └── SubMenuItem.md
│ │ ├── EmojiSelector
│ │ │ ├── EmojiSelector.md
│ │ │ ├── EmojiSelector.spec.ts
│ │ │ ├── EmojiSelector.tsx
│ │ │ └── EmojiSelectorNative.tsx
│ │ ├── ExpandableItem
│ │ │ ├── ExpandableItem.module.scss
│ │ │ ├── ExpandableItem.spec.ts
│ │ │ ├── ExpandableItem.tsx
│ │ │ └── ExpandableItemNative.tsx
│ │ ├── FileInput
│ │ │ ├── FileInput.md
│ │ │ ├── FileInput.module.scss
│ │ │ ├── FileInput.spec.ts
│ │ │ ├── FileInput.tsx
│ │ │ └── FileInputNative.tsx
│ │ ├── FileUploadDropZone
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FileUploadDropZone.module.scss
│ │ │ ├── FileUploadDropZone.spec.ts
│ │ │ ├── FileUploadDropZone.tsx
│ │ │ └── FileUploadDropZoneNative.tsx
│ │ ├── FlowLayout
│ │ │ ├── FlowLayout.md
│ │ │ ├── FlowLayout.module.scss
│ │ │ ├── FlowLayout.spec.ts
│ │ │ ├── FlowLayout.spec.ts-snapshots
│ │ │ │ └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
│ │ │ ├── FlowLayout.tsx
│ │ │ └── FlowLayoutNative.tsx
│ │ ├── Footer
│ │ │ ├── Footer.md
│ │ │ ├── Footer.module.scss
│ │ │ ├── Footer.spec.ts
│ │ │ ├── Footer.tsx
│ │ │ └── FooterNative.tsx
│ │ ├── Form
│ │ │ ├── Form.md
│ │ │ ├── Form.module.scss
│ │ │ ├── Form.spec.ts
│ │ │ ├── Form.tsx
│ │ │ ├── formActions.ts
│ │ │ ├── FormContext.ts
│ │ │ └── FormNative.tsx
│ │ ├── FormItem
│ │ │ ├── FormItem.md
│ │ │ ├── FormItem.module.scss
│ │ │ ├── FormItem.spec.ts
│ │ │ ├── FormItem.tsx
│ │ │ ├── FormItemNative.tsx
│ │ │ ├── HelperText.module.scss
│ │ │ ├── HelperText.tsx
│ │ │ ├── ItemWithLabel.tsx
│ │ │ └── Validations.ts
│ │ ├── FormSection
│ │ │ ├── FormSection.md
│ │ │ ├── FormSection.ts
│ │ │ └── FormSection.xmlui
│ │ ├── Fragment
│ │ │ ├── Fragment.spec.ts
│ │ │ └── Fragment.tsx
│ │ ├── Heading
│ │ │ ├── abstractions.ts
│ │ │ ├── H1.md
│ │ │ ├── H1.spec.ts
│ │ │ ├── H2.md
│ │ │ ├── H2.spec.ts
│ │ │ ├── H3.md
│ │ │ ├── H3.spec.ts
│ │ │ ├── H4.md
│ │ │ ├── H4.spec.ts
│ │ │ ├── H5.md
│ │ │ ├── H5.spec.ts
│ │ │ ├── H6.md
│ │ │ ├── H6.spec.ts
│ │ │ ├── Heading.md
│ │ │ ├── Heading.module.scss
│ │ │ ├── Heading.spec.ts
│ │ │ ├── Heading.tsx
│ │ │ └── HeadingNative.tsx
│ │ ├── HoverCard
│ │ │ ├── HoverCard.tsx
│ │ │ └── HovercardNative.tsx
│ │ ├── HtmlTags
│ │ │ ├── HtmlTags.module.scss
│ │ │ ├── HtmlTags.spec.ts
│ │ │ └── HtmlTags.tsx
│ │ ├── Icon
│ │ │ ├── AdmonitionDanger.tsx
│ │ │ ├── AdmonitionInfo.tsx
│ │ │ ├── AdmonitionNote.tsx
│ │ │ ├── AdmonitionTip.tsx
│ │ │ ├── AdmonitionWarning.tsx
│ │ │ ├── ApiIcon.tsx
│ │ │ ├── ArrowDropDown.module.scss
│ │ │ ├── ArrowDropDown.tsx
│ │ │ ├── ArrowDropUp.module.scss
│ │ │ ├── ArrowDropUp.tsx
│ │ │ ├── ArrowLeft.module.scss
│ │ │ ├── ArrowLeft.tsx
│ │ │ ├── ArrowRight.module.scss
│ │ │ ├── ArrowRight.tsx
│ │ │ ├── Attach.tsx
│ │ │ ├── Binding.module.scss
│ │ │ ├── Binding.tsx
│ │ │ ├── BoardIcon.tsx
│ │ │ ├── BoxIcon.tsx
│ │ │ ├── CheckIcon.tsx
│ │ │ ├── ChevronDownIcon.tsx
│ │ │ ├── ChevronLeft.tsx
│ │ │ ├── ChevronRight.tsx
│ │ │ ├── ChevronUpIcon.tsx
│ │ │ ├── CodeFileIcon.tsx
│ │ │ ├── CodeSandbox.tsx
│ │ │ ├── CompactListIcon.tsx
│ │ │ ├── ContentCopyIcon.tsx
│ │ │ ├── DarkToLightIcon.tsx
│ │ │ ├── DatabaseIcon.module.scss
│ │ │ ├── DatabaseIcon.tsx
│ │ │ ├── DocFileIcon.tsx
│ │ │ ├── DocIcon.tsx
│ │ │ ├── DotMenuHorizontalIcon.tsx
│ │ │ ├── DotMenuIcon.tsx
│ │ │ ├── EmailIcon.tsx
│ │ │ ├── EmptyFolderIcon.tsx
│ │ │ ├── ErrorIcon.tsx
│ │ │ ├── ExpressionIcon.tsx
│ │ │ ├── FillPlusCricleIcon.tsx
│ │ │ ├── FilterIcon.tsx
│ │ │ ├── FolderIcon.tsx
│ │ │ ├── GlobeIcon.tsx
│ │ │ ├── HomeIcon.tsx
│ │ │ ├── HyperLinkIcon.tsx
│ │ │ ├── Icon.md
│ │ │ ├── Icon.module.scss
│ │ │ ├── Icon.spec.ts
│ │ │ ├── Icon.tsx
│ │ │ ├── IconNative.tsx
│ │ │ ├── ImageFileIcon.tsx
│ │ │ ├── Inspect.tsx
│ │ │ ├── LightToDark.tsx
│ │ │ ├── LinkIcon.tsx
│ │ │ ├── ListIcon.tsx
│ │ │ ├── LooseListIcon.tsx
│ │ │ ├── MoonIcon.tsx
│ │ │ ├── MoreOptionsIcon.tsx
│ │ │ ├── NoSortIcon.tsx
│ │ │ ├── PDFIcon.tsx
│ │ │ ├── PenIcon.tsx
│ │ │ ├── PhoneIcon.tsx
│ │ │ ├── PhotoIcon.tsx
│ │ │ ├── PlusIcon.tsx
│ │ │ ├── SearchIcon.tsx
│ │ │ ├── ShareIcon.tsx
│ │ │ ├── SortAscendingIcon.tsx
│ │ │ ├── SortDescendingIcon.tsx
│ │ │ ├── StarsIcon.tsx
│ │ │ ├── SunIcon.tsx
│ │ │ ├── svg
│ │ │ │ ├── admonition_danger.svg
│ │ │ │ ├── admonition_info.svg
│ │ │ │ ├── admonition_note.svg
│ │ │ │ ├── admonition_tip.svg
│ │ │ │ ├── admonition_warning.svg
│ │ │ │ ├── api.svg
│ │ │ │ ├── arrow-dropdown.svg
│ │ │ │ ├── arrow-left.svg
│ │ │ │ ├── arrow-right.svg
│ │ │ │ ├── arrow-up.svg
│ │ │ │ ├── attach.svg
│ │ │ │ ├── binding.svg
│ │ │ │ ├── box.svg
│ │ │ │ ├── bulb.svg
│ │ │ │ ├── code-file.svg
│ │ │ │ ├── code-sandbox.svg
│ │ │ │ ├── dark_to_light.svg
│ │ │ │ ├── database.svg
│ │ │ │ ├── doc.svg
│ │ │ │ ├── empty-folder.svg
│ │ │ │ ├── expression.svg
│ │ │ │ ├── eye-closed.svg
│ │ │ │ ├── eye-dark.svg
│ │ │ │ ├── eye.svg
│ │ │ │ ├── file-text.svg
│ │ │ │ ├── filter.svg
│ │ │ │ ├── folder.svg
│ │ │ │ ├── img.svg
│ │ │ │ ├── inspect.svg
│ │ │ │ ├── light_to_dark.svg
│ │ │ │ ├── moon.svg
│ │ │ │ ├── pdf.svg
│ │ │ │ ├── photo.svg
│ │ │ │ ├── share.svg
│ │ │ │ ├── stars.svg
│ │ │ │ ├── sun.svg
│ │ │ │ ├── trending-down.svg
│ │ │ │ ├── trending-level.svg
│ │ │ │ ├── trending-up.svg
│ │ │ │ ├── txt.svg
│ │ │ │ ├── unknown-file.svg
│ │ │ │ ├── unlink.svg
│ │ │ │ └── xls.svg
│ │ │ ├── TableDeleteColumnIcon.tsx
│ │ │ ├── TableDeleteRowIcon.tsx
│ │ │ ├── TableInsertColumnIcon.tsx
│ │ │ ├── TableInsertRowIcon.tsx
│ │ │ ├── TrashIcon.tsx
│ │ │ ├── TrendingDownIcon.tsx
│ │ │ ├── TrendingLevelIcon.tsx
│ │ │ ├── TrendingUpIcon.tsx
│ │ │ ├── TxtIcon.tsx
│ │ │ ├── UnknownFileIcon.tsx
│ │ │ ├── UnlinkIcon.tsx
│ │ │ ├── UserIcon.tsx
│ │ │ ├── WarningIcon.tsx
│ │ │ └── XlsIcon.tsx
│ │ ├── IconProvider.tsx
│ │ ├── IconRegistryContext.tsx
│ │ ├── IFrame
│ │ │ ├── IFrame.md
│ │ │ ├── IFrame.module.scss
│ │ │ ├── IFrame.spec.ts
│ │ │ ├── IFrame.tsx
│ │ │ └── IFrameNative.tsx
│ │ ├── Image
│ │ │ ├── Image.md
│ │ │ ├── Image.module.scss
│ │ │ ├── Image.spec.ts
│ │ │ ├── Image.tsx
│ │ │ └── ImageNative.tsx
│ │ ├── Input
│ │ │ ├── index.ts
│ │ │ ├── InputAdornment.module.scss
│ │ │ ├── InputAdornment.tsx
│ │ │ ├── InputDivider.module.scss
│ │ │ ├── InputDivider.tsx
│ │ │ ├── InputLabel.module.scss
│ │ │ ├── InputLabel.tsx
│ │ │ ├── PartialInput.module.scss
│ │ │ └── PartialInput.tsx
│ │ ├── InspectButton
│ │ │ ├── InspectButton.module.scss
│ │ │ └── InspectButton.tsx
│ │ ├── Items
│ │ │ ├── Items.md
│ │ │ ├── Items.spec.ts
│ │ │ ├── Items.tsx
│ │ │ └── ItemsNative.tsx
│ │ ├── Link
│ │ │ ├── Link.md
│ │ │ ├── Link.module.scss
│ │ │ ├── Link.spec.ts
│ │ │ ├── Link.tsx
│ │ │ └── LinkNative.tsx
│ │ ├── List
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── List.md
│ │ │ ├── List.module.scss
│ │ │ ├── List.spec.ts
│ │ │ ├── List.tsx
│ │ │ └── ListNative.tsx
│ │ ├── Logo
│ │ │ ├── doc-resources
│ │ │ │ └── xmlui-logo.svg
│ │ │ ├── Logo.md
│ │ │ ├── Logo.tsx
│ │ │ └── LogoNative.tsx
│ │ ├── Markdown
│ │ │ ├── CodeText.module.scss
│ │ │ ├── CodeText.tsx
│ │ │ ├── Markdown.md
│ │ │ ├── Markdown.module.scss
│ │ │ ├── Markdown.spec.ts
│ │ │ ├── Markdown.tsx
│ │ │ ├── MarkdownNative.tsx
│ │ │ ├── parse-binding-expr.ts
│ │ │ └── utils.ts
│ │ ├── metadata-helpers.ts
│ │ ├── ModalDialog
│ │ │ ├── ConfirmationModalContextProvider.tsx
│ │ │ ├── Dialog.module.scss
│ │ │ ├── Dialog.tsx
│ │ │ ├── ModalDialog.md
│ │ │ ├── ModalDialog.module.scss
│ │ │ ├── ModalDialog.spec.ts
│ │ │ ├── ModalDialog.tsx
│ │ │ ├── ModalDialogNative.tsx
│ │ │ └── ModalVisibilityContext.tsx
│ │ ├── NavGroup
│ │ │ ├── NavGroup.md
│ │ │ ├── NavGroup.module.scss
│ │ │ ├── NavGroup.spec.ts
│ │ │ ├── NavGroup.tsx
│ │ │ ├── NavGroupContext.ts
│ │ │ └── NavGroupNative.tsx
│ │ ├── NavLink
│ │ │ ├── NavLink.md
│ │ │ ├── NavLink.module.scss
│ │ │ ├── NavLink.spec.ts
│ │ │ ├── NavLink.tsx
│ │ │ └── NavLinkNative.tsx
│ │ ├── NavPanel
│ │ │ ├── NavPanel.md
│ │ │ ├── NavPanel.module.scss
│ │ │ ├── NavPanel.spec.ts
│ │ │ ├── NavPanel.tsx
│ │ │ └── NavPanelNative.tsx
│ │ ├── NestedApp
│ │ │ ├── AppWithCodeView.module.scss
│ │ │ ├── AppWithCodeView.tsx
│ │ │ ├── AppWithCodeViewNative.tsx
│ │ │ ├── defaultProps.tsx
│ │ │ ├── logo.svg
│ │ │ ├── NestedApp.module.scss
│ │ │ ├── NestedApp.tsx
│ │ │ ├── NestedAppNative.tsx
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── NoResult
│ │ │ ├── NoResult.md
│ │ │ ├── NoResult.module.scss
│ │ │ ├── NoResult.spec.ts
│ │ │ ├── NoResult.tsx
│ │ │ └── NoResultNative.tsx
│ │ ├── NumberBox
│ │ │ ├── numberbox-abstractions.ts
│ │ │ ├── NumberBox.md
│ │ │ ├── NumberBox.module.scss
│ │ │ ├── NumberBox.spec.ts
│ │ │ ├── NumberBox.tsx
│ │ │ └── NumberBoxNative.tsx
│ │ ├── Option
│ │ │ ├── Option.md
│ │ │ ├── Option.spec.ts
│ │ │ ├── Option.tsx
│ │ │ ├── OptionNative.tsx
│ │ │ └── OptionTypeProvider.tsx
│ │ ├── PageMetaTitle
│ │ │ ├── PageMetaTilteNative.tsx
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── PageMetaTitle.spec.ts
│ │ │ └── PageMetaTitle.tsx
│ │ ├── Pages
│ │ │ ├── Page.md
│ │ │ ├── Pages.md
│ │ │ ├── Pages.module.scss
│ │ │ ├── Pages.tsx
│ │ │ └── PagesNative.tsx
│ │ ├── Pagination
│ │ │ ├── Pagination.md
│ │ │ ├── Pagination.module.scss
│ │ │ ├── Pagination.spec.ts
│ │ │ ├── Pagination.tsx
│ │ │ └── PaginationNative.tsx
│ │ ├── PositionedContainer
│ │ │ ├── PositionedContainer.module.scss
│ │ │ ├── PositionedContainer.tsx
│ │ │ └── PositionedContainerNative.tsx
│ │ ├── ProfileMenu
│ │ │ ├── ProfileMenu.module.scss
│ │ │ └── ProfileMenu.tsx
│ │ ├── ProgressBar
│ │ │ ├── ProgressBar.md
│ │ │ ├── ProgressBar.module.scss
│ │ │ ├── ProgressBar.spec.ts
│ │ │ ├── ProgressBar.tsx
│ │ │ └── ProgressBarNative.tsx
│ │ ├── Queue
│ │ │ ├── Queue.md
│ │ │ ├── Queue.spec.ts
│ │ │ ├── Queue.tsx
│ │ │ ├── queueActions.ts
│ │ │ └── QueueNative.tsx
│ │ ├── RadioGroup
│ │ │ ├── RadioGroup.md
│ │ │ ├── RadioGroup.module.scss
│ │ │ ├── RadioGroup.spec.ts
│ │ │ ├── RadioGroup.tsx
│ │ │ ├── RadioGroupNative.tsx
│ │ │ ├── RadioItem.tsx
│ │ │ └── RadioItemNative.tsx
│ │ ├── RealTimeAdapter
│ │ │ ├── RealTimeAdapter.tsx
│ │ │ └── RealTimeAdapterNative.tsx
│ │ ├── Redirect
│ │ │ ├── Redirect.md
│ │ │ ├── Redirect.spec.ts
│ │ │ └── Redirect.tsx
│ │ ├── ResponsiveBar
│ │ │ ├── README.md
│ │ │ ├── ResponsiveBar.md
│ │ │ ├── ResponsiveBar.module.scss
│ │ │ ├── ResponsiveBar.spec.ts
│ │ │ ├── ResponsiveBar.tsx
│ │ │ └── ResponsiveBarNative.tsx
│ │ ├── Select
│ │ │ ├── HiddenOption.tsx
│ │ │ ├── OptionContext.ts
│ │ │ ├── Select.md
│ │ │ ├── Select.module.scss
│ │ │ ├── Select.spec.ts
│ │ │ ├── Select.tsx
│ │ │ ├── SelectContext.tsx
│ │ │ └── SelectNative.tsx
│ │ ├── SelectionStore
│ │ │ ├── SelectionStore.md
│ │ │ ├── SelectionStore.tsx
│ │ │ └── SelectionStoreNative.tsx
│ │ ├── Slider
│ │ │ ├── Slider.md
│ │ │ ├── Slider.module.scss
│ │ │ ├── Slider.spec.ts
│ │ │ ├── Slider.tsx
│ │ │ └── SliderNative.tsx
│ │ ├── Slot
│ │ │ ├── Slot.md
│ │ │ ├── Slot.spec.ts
│ │ │ └── Slot.ts
│ │ ├── SlotItem.tsx
│ │ ├── SpaceFiller
│ │ │ ├── SpaceFiller.md
│ │ │ ├── SpaceFiller.module.scss
│ │ │ ├── SpaceFiller.spec.ts
│ │ │ ├── SpaceFiller.tsx
│ │ │ └── SpaceFillerNative.tsx
│ │ ├── Spinner
│ │ │ ├── Spinner.md
│ │ │ ├── Spinner.module.scss
│ │ │ ├── Spinner.spec.ts
│ │ │ ├── Spinner.tsx
│ │ │ └── SpinnerNative.tsx
│ │ ├── Splitter
│ │ │ ├── HSplitter.md
│ │ │ ├── HSplitter.spec.ts
│ │ │ ├── Splitter.md
│ │ │ ├── Splitter.module.scss
│ │ │ ├── Splitter.spec.ts
│ │ │ ├── Splitter.tsx
│ │ │ ├── SplitterNative.tsx
│ │ │ ├── utils.ts
│ │ │ ├── VSplitter.md
│ │ │ └── VSplitter.spec.ts
│ │ ├── Stack
│ │ │ ├── CHStack.md
│ │ │ ├── CHStack.spec.ts
│ │ │ ├── CVStack.md
│ │ │ ├── CVStack.spec.ts
│ │ │ ├── HStack.md
│ │ │ ├── HStack.spec.ts
│ │ │ ├── Stack.md
│ │ │ ├── Stack.module.scss
│ │ │ ├── Stack.spec.ts
│ │ │ ├── Stack.tsx
│ │ │ ├── StackNative.tsx
│ │ │ ├── VStack.md
│ │ │ └── VStack.spec.ts
│ │ ├── StickyBox
│ │ │ ├── StickyBox.md
│ │ │ ├── StickyBox.module.scss
│ │ │ ├── StickyBox.tsx
│ │ │ └── StickyBoxNative.tsx
│ │ ├── Switch
│ │ │ ├── Switch.md
│ │ │ ├── Switch.spec.ts
│ │ │ └── Switch.tsx
│ │ ├── Table
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── react-table-config.d.ts
│ │ │ ├── Table.md
│ │ │ ├── Table.module.scss
│ │ │ ├── Table.spec.ts
│ │ │ ├── Table.tsx
│ │ │ ├── TableNative.tsx
│ │ │ └── useRowSelection.tsx
│ │ ├── TableOfContents
│ │ │ ├── TableOfContents.module.scss
│ │ │ ├── TableOfContents.spec.ts
│ │ │ ├── TableOfContents.tsx
│ │ │ └── TableOfContentsNative.tsx
│ │ ├── Tabs
│ │ │ ├── TabContext.tsx
│ │ │ ├── TabItem.md
│ │ │ ├── TabItem.tsx
│ │ │ ├── TabItemNative.tsx
│ │ │ ├── Tabs.md
│ │ │ ├── Tabs.module.scss
│ │ │ ├── Tabs.spec.ts
│ │ │ ├── Tabs.tsx
│ │ │ └── TabsNative.tsx
│ │ ├── Text
│ │ │ ├── Text.md
│ │ │ ├── Text.module.scss
│ │ │ ├── Text.spec.ts
│ │ │ ├── Text.tsx
│ │ │ └── TextNative.tsx
│ │ ├── TextArea
│ │ │ ├── TextArea.md
│ │ │ ├── TextArea.module.scss
│ │ │ ├── TextArea.spec.ts
│ │ │ ├── TextArea.tsx
│ │ │ ├── TextAreaNative.tsx
│ │ │ ├── TextAreaResizable.tsx
│ │ │ └── useComposedRef.ts
│ │ ├── TextBox
│ │ │ ├── TextBox.md
│ │ │ ├── TextBox.module.scss
│ │ │ ├── TextBox.spec.ts
│ │ │ ├── TextBox.tsx
│ │ │ └── TextBoxNative.tsx
│ │ ├── Theme
│ │ │ ├── NotificationToast.tsx
│ │ │ ├── Theme.md
│ │ │ ├── Theme.module.scss
│ │ │ ├── Theme.spec.ts
│ │ │ ├── Theme.tsx
│ │ │ └── ThemeNative.tsx
│ │ ├── TimeInput
│ │ │ ├── TimeInput.md
│ │ │ ├── TimeInput.module.scss
│ │ │ ├── TimeInput.spec.ts
│ │ │ ├── TimeInput.tsx
│ │ │ ├── TimeInputNative.tsx
│ │ │ └── utils.ts
│ │ ├── Timer
│ │ │ ├── Timer.md
│ │ │ ├── Timer.spec.ts
│ │ │ ├── Timer.tsx
│ │ │ └── TimerNative.tsx
│ │ ├── Toggle
│ │ │ ├── Toggle.module.scss
│ │ │ └── Toggle.tsx
│ │ ├── ToneChangerButton
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneChangerButton.spec.ts
│ │ │ └── ToneChangerButton.tsx
│ │ ├── ToneSwitch
│ │ │ ├── ToneSwitch.md
│ │ │ ├── ToneSwitch.module.scss
│ │ │ ├── ToneSwitch.spec.ts
│ │ │ ├── ToneSwitch.tsx
│ │ │ └── ToneSwitchNative.tsx
│ │ ├── Tooltip
│ │ │ ├── Tooltip.md
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.spec.ts
│ │ │ ├── Tooltip.tsx
│ │ │ └── TooltipNative.tsx
│ │ ├── Tree
│ │ │ ├── testData.ts
│ │ │ ├── Tree-dynamic.spec.ts
│ │ │ ├── Tree-icons.spec.ts
│ │ │ ├── Tree.md
│ │ │ ├── Tree.spec.ts
│ │ │ ├── TreeComponent.module.scss
│ │ │ ├── TreeComponent.tsx
│ │ │ └── TreeNative.tsx
│ │ ├── TreeDisplay
│ │ │ ├── TreeDisplay.md
│ │ │ ├── TreeDisplay.module.scss
│ │ │ ├── TreeDisplay.tsx
│ │ │ └── TreeDisplayNative.tsx
│ │ ├── ValidationSummary
│ │ │ ├── ValidationSummary.module.scss
│ │ │ └── ValidationSummary.tsx
│ │ └── VisuallyHidden.tsx
│ ├── components-core
│ │ ├── abstractions
│ │ │ ├── ComponentRenderer.ts
│ │ │ ├── LoaderRenderer.ts
│ │ │ ├── standalone.ts
│ │ │ └── treeAbstractions.ts
│ │ ├── action
│ │ │ ├── actions.ts
│ │ │ ├── APICall.tsx
│ │ │ ├── FileDownloadAction.tsx
│ │ │ ├── FileUploadAction.tsx
│ │ │ ├── NavigateAction.tsx
│ │ │ └── TimedAction.tsx
│ │ ├── ApiBoundComponent.tsx
│ │ ├── appContext
│ │ │ ├── date-functions.ts
│ │ │ ├── math-function.ts
│ │ │ └── misc-utils.ts
│ │ ├── AppContext.tsx
│ │ ├── behaviors
│ │ │ ├── Behavior.tsx
│ │ │ └── CoreBehaviors.tsx
│ │ ├── component-hooks.ts
│ │ ├── ComponentDecorator.tsx
│ │ ├── ComponentViewer.tsx
│ │ ├── CompoundComponent.tsx
│ │ ├── constants.ts
│ │ ├── DebugViewProvider.tsx
│ │ ├── descriptorHelper.ts
│ │ ├── devtools
│ │ │ ├── InspectorDialog.module.scss
│ │ │ ├── InspectorDialog.tsx
│ │ │ └── InspectorDialogVisibilityContext.tsx
│ │ ├── EngineError.ts
│ │ ├── event-handlers.ts
│ │ ├── InspectorButton.module.scss
│ │ ├── InspectorContext.tsx
│ │ ├── interception
│ │ │ ├── abstractions.ts
│ │ │ ├── ApiInterceptor.ts
│ │ │ ├── ApiInterceptorProvider.tsx
│ │ │ ├── apiInterceptorWorker.ts
│ │ │ ├── Backend.ts
│ │ │ ├── Errors.ts
│ │ │ ├── IndexedDb.ts
│ │ │ ├── initMock.ts
│ │ │ ├── InMemoryDb.ts
│ │ │ ├── ReadonlyCollection.ts
│ │ │ └── useApiInterceptorContext.tsx
│ │ ├── loader
│ │ │ ├── ApiLoader.tsx
│ │ │ ├── DataLoader.tsx
│ │ │ ├── ExternalDataLoader.tsx
│ │ │ ├── Loader.tsx
│ │ │ ├── MockLoaderRenderer.tsx
│ │ │ └── PageableLoader.tsx
│ │ ├── LoaderComponent.tsx
│ │ ├── markup-check.ts
│ │ ├── parts.ts
│ │ ├── renderers.ts
│ │ ├── rendering
│ │ │ ├── AppContent.tsx
│ │ │ ├── AppRoot.tsx
│ │ │ ├── AppWrapper.tsx
│ │ │ ├── buildProxy.ts
│ │ │ ├── collectFnVarDeps.ts
│ │ │ ├── ComponentAdapter.tsx
│ │ │ ├── ComponentWrapper.tsx
│ │ │ ├── Container.tsx
│ │ │ ├── containers.ts
│ │ │ ├── ContainerWrapper.tsx
│ │ │ ├── ErrorBoundary.module.scss
│ │ │ ├── ErrorBoundary.tsx
│ │ │ ├── InvalidComponent.module.scss
│ │ │ ├── InvalidComponent.tsx
│ │ │ ├── nodeUtils.ts
│ │ │ ├── reducer.ts
│ │ │ ├── renderChild.tsx
│ │ │ ├── StandaloneComponent.tsx
│ │ │ ├── StateContainer.tsx
│ │ │ ├── UnknownComponent.module.scss
│ │ │ ├── UnknownComponent.tsx
│ │ │ └── valueExtractor.ts
│ │ ├── reportEngineError.ts
│ │ ├── RestApiProxy.ts
│ │ ├── script-runner
│ │ │ ├── asyncProxy.ts
│ │ │ ├── AttributeValueParser.ts
│ │ │ ├── bannedFunctions.ts
│ │ │ ├── BindingTreeEvaluationContext.ts
│ │ │ ├── eval-tree-async.ts
│ │ │ ├── eval-tree-common.ts
│ │ │ ├── eval-tree-sync.ts
│ │ │ ├── ParameterParser.ts
│ │ │ ├── process-statement-async.ts
│ │ │ ├── process-statement-common.ts
│ │ │ ├── process-statement-sync.ts
│ │ │ ├── ScriptingSourceTree.ts
│ │ │ ├── simplify-expression.ts
│ │ │ ├── statement-queue.ts
│ │ │ └── visitors.ts
│ │ ├── StandaloneApp.tsx
│ │ ├── StandaloneExtensionManager.ts
│ │ ├── TableOfContentsContext.tsx
│ │ ├── theming
│ │ │ ├── _themes.scss
│ │ │ ├── component-layout-resolver.ts
│ │ │ ├── extendThemeUtils.ts
│ │ │ ├── hvar.ts
│ │ │ ├── layout-resolver.ts
│ │ │ ├── parse-layout-props.ts
│ │ │ ├── StyleContext.tsx
│ │ │ ├── StyleRegistry.ts
│ │ │ ├── ThemeContext.tsx
│ │ │ ├── ThemeProvider.tsx
│ │ │ ├── themes
│ │ │ │ ├── base-utils.ts
│ │ │ │ ├── palette.ts
│ │ │ │ ├── root.ts
│ │ │ │ ├── solid.ts
│ │ │ │ ├── theme-colors.ts
│ │ │ │ └── xmlui.ts
│ │ │ ├── themeVars.module.scss
│ │ │ ├── themeVars.ts
│ │ │ ├── transformThemeVars.ts
│ │ │ └── utils.ts
│ │ ├── utils
│ │ │ ├── actionUtils.ts
│ │ │ ├── audio-utils.ts
│ │ │ ├── base64-utils.ts
│ │ │ ├── compound-utils.ts
│ │ │ ├── css-utils.ts
│ │ │ ├── DataLoaderQueryKeyGenerator.ts
│ │ │ ├── date-utils.ts
│ │ │ ├── extractParam.ts
│ │ │ ├── hooks.tsx
│ │ │ ├── LruCache.ts
│ │ │ ├── mergeProps.ts
│ │ │ ├── misc.ts
│ │ │ ├── request-params.ts
│ │ │ ├── statementUtils.ts
│ │ │ └── treeUtils.ts
│ │ └── xmlui-parser.ts
│ ├── index-standalone.ts
│ ├── index.scss
│ ├── index.ts
│ ├── language-server
│ │ ├── server-common.ts
│ │ ├── server-web-worker.ts
│ │ ├── server.ts
│ │ ├── services
│ │ │ ├── common
│ │ │ │ ├── docs-generation.ts
│ │ │ │ ├── lsp-utils.ts
│ │ │ │ ├── metadata-utils.ts
│ │ │ │ └── syntax-node-utilities.ts
│ │ │ ├── completion.ts
│ │ │ ├── diagnostic.ts
│ │ │ ├── format.ts
│ │ │ └── hover.ts
│ │ └── xmlui-metadata-generated.js
│ ├── logging
│ │ ├── LoggerContext.tsx
│ │ ├── LoggerInitializer.tsx
│ │ ├── LoggerService.ts
│ │ └── xmlui.ts
│ ├── logo.svg
│ ├── parsers
│ │ ├── common
│ │ │ ├── GenericToken.ts
│ │ │ ├── InputStream.ts
│ │ │ └── utils.ts
│ │ ├── scripting
│ │ │ ├── code-behind-collect.ts
│ │ │ ├── Lexer.ts
│ │ │ ├── modules.ts
│ │ │ ├── Parser.ts
│ │ │ ├── ParserError.ts
│ │ │ ├── ScriptingNodeTypes.ts
│ │ │ ├── TokenTrait.ts
│ │ │ ├── TokenType.ts
│ │ │ └── tree-visitor.ts
│ │ ├── style-parser
│ │ │ ├── errors.ts
│ │ │ ├── source-tree.ts
│ │ │ ├── StyleInputStream.ts
│ │ │ ├── StyleLexer.ts
│ │ │ ├── StyleParser.ts
│ │ │ └── tokens.ts
│ │ └── xmlui-parser
│ │ ├── CharacterCodes.ts
│ │ ├── diagnostics.ts
│ │ ├── fileExtensions.ts
│ │ ├── index.ts
│ │ ├── lint.ts
│ │ ├── parser.ts
│ │ ├── ParserError.ts
│ │ ├── scanner.ts
│ │ ├── syntax-kind.ts
│ │ ├── syntax-node.ts
│ │ ├── transform.ts
│ │ ├── utils.ts
│ │ ├── xmlui-serializer.ts
│ │ └── xmlui-tree.ts
│ ├── react-app-env.d.ts
│ ├── syntax
│ │ ├── monaco
│ │ │ ├── grammar.monacoLanguage.ts
│ │ │ ├── index.ts
│ │ │ ├── xmlui-dark.ts
│ │ │ ├── xmlui-light.ts
│ │ │ └── xmluiscript.monacoLanguage.ts
│ │ └── textMate
│ │ ├── index.ts
│ │ ├── xmlui-dark.json
│ │ ├── xmlui-light.json
│ │ ├── xmlui.json
│ │ └── xmlui.tmLanguage.json
│ ├── testing
│ │ ├── assertions.ts
│ │ ├── component-test-helpers.ts
│ │ ├── ComponentDrivers.ts
│ │ ├── drivers
│ │ │ ├── DateInputDriver.ts
│ │ │ ├── index.ts
│ │ │ ├── ModalDialogDriver.ts
│ │ │ ├── NumberBoxDriver.ts
│ │ │ ├── TextBoxDriver.ts
│ │ │ ├── TimeInputDriver.ts
│ │ │ ├── TimerDriver.ts
│ │ │ └── TreeDriver.ts
│ │ ├── fixtures.ts
│ │ ├── index.ts
│ │ ├── infrastructure
│ │ │ ├── index.html
│ │ │ ├── main.tsx
│ │ │ ├── public
│ │ │ │ ├── mockServiceWorker.js
│ │ │ │ ├── resources
│ │ │ │ │ ├── bell.svg
│ │ │ │ │ ├── box.svg
│ │ │ │ │ ├── doc.svg
│ │ │ │ │ ├── eye.svg
│ │ │ │ │ ├── flower-640x480.jpg
│ │ │ │ │ ├── sun.svg
│ │ │ │ │ ├── test-image-100x100.jpg
│ │ │ │ │ └── txt.svg
│ │ │ │ └── serve.json
│ │ │ └── TestBed.tsx
│ │ └── themed-app-test-helpers.ts
│ └── vite-env.d.ts
├── tests
│ ├── components
│ │ ├── CodeBlock
│ │ │ └── hightlight-code.test.ts
│ │ ├── playground-pattern.test.ts
│ │ └── Tree
│ │ └── Tree-states.test.ts
│ ├── components-core
│ │ ├── abstractions
│ │ │ └── treeAbstractions.test.ts
│ │ ├── container
│ │ │ └── buildProxy.test.ts
│ │ ├── interception
│ │ │ ├── orderBy.test.ts
│ │ │ ├── ReadOnlyCollection.test.ts
│ │ │ └── request-param-converter.test.ts
│ │ ├── scripts-runner
│ │ │ ├── AttributeValueParser.test.ts
│ │ │ ├── eval-tree-arrow-async.test.ts
│ │ │ ├── eval-tree-arrow.test.ts
│ │ │ ├── eval-tree-func-decl-async.test.ts
│ │ │ ├── eval-tree-func-decl.test.ts
│ │ │ ├── eval-tree-pre-post.test.ts
│ │ │ ├── eval-tree-regression.test.ts
│ │ │ ├── eval-tree.test.ts
│ │ │ ├── function-proxy.test.ts
│ │ │ ├── parser-regression.test.ts
│ │ │ ├── process-event.test.ts
│ │ │ ├── process-function.test.ts
│ │ │ ├── process-implicit-context.test.ts
│ │ │ ├── process-statement-asgn.test.ts
│ │ │ ├── process-statement-destruct.test.ts
│ │ │ ├── process-statement-regs.test.ts
│ │ │ ├── process-statement-sync.test.ts
│ │ │ ├── process-statement.test.ts
│ │ │ ├── process-switch-sync.test.ts
│ │ │ ├── process-switch.test.ts
│ │ │ ├── process-try-sync.test.ts
│ │ │ ├── process-try.test.ts
│ │ │ └── test-helpers.ts
│ │ ├── test-metadata-handler.ts
│ │ ├── theming
│ │ │ ├── border-segments.test.ts
│ │ │ ├── component-layout.resolver.test.ts
│ │ │ ├── layout-property-parser.test.ts
│ │ │ ├── layout-resolver.test.ts
│ │ │ ├── layout-resolver2.test.ts
│ │ │ ├── layout-vp-override.test.ts
│ │ │ └── padding-segments.test.ts
│ │ └── utils
│ │ ├── date-utils.test.ts
│ │ ├── format-human-elapsed-time.test.ts
│ │ └── LruCache.test.ts
│ ├── language-server
│ │ ├── completion.test.ts
│ │ ├── format.test.ts
│ │ ├── hover.test.ts
│ │ └── mockData.ts
│ └── parsers
│ ├── common
│ │ └── input-stream.test.ts
│ ├── markdown
│ │ └── parse-binding-expression.test.ts
│ ├── parameter-parser.test.ts
│ ├── paremeter-parser.test.ts
│ ├── scripting
│ │ ├── eval-tree-arrow.test.ts
│ │ ├── eval-tree-pre-post.test.ts
│ │ ├── eval-tree.test.ts
│ │ ├── function-proxy.test.ts
│ │ ├── lexer-literals.test.ts
│ │ ├── lexer-misc.test.ts
│ │ ├── module-parse.test.ts
│ │ ├── parser-arrow.test.ts
│ │ ├── parser-assignments.test.ts
│ │ ├── parser-binary.test.ts
│ │ ├── parser-destructuring.test.ts
│ │ ├── parser-errors.test.ts
│ │ ├── parser-expressions.test.ts
│ │ ├── parser-function.test.ts
│ │ ├── parser-literals.test.ts
│ │ ├── parser-primary.test.ts
│ │ ├── parser-regex.test.ts
│ │ ├── parser-statements.test.ts
│ │ ├── parser-unary.test.ts
│ │ ├── process-event.test.ts
│ │ ├── process-implicit-context.test.ts
│ │ ├── process-statement-asgn.test.ts
│ │ ├── process-statement-destruct.test.ts
│ │ ├── process-statement-regs.test.ts
│ │ ├── process-statement-sync.test.ts
│ │ ├── process-statement.test.ts
│ │ ├── process-switch-sync.test.ts
│ │ ├── process-switch.test.ts
│ │ ├── process-try-sync.test.ts
│ │ ├── process-try.test.ts
│ │ ├── simplify-expression.test.ts
│ │ ├── statement-hooks.test.ts
│ │ └── test-helpers.ts
│ ├── style-parser
│ │ ├── generateHvarChain.test.ts
│ │ ├── parseHVar.test.ts
│ │ ├── parser.test.ts
│ │ └── tokens.test.ts
│ └── xmlui
│ ├── lint.test.ts
│ ├── parser.test.ts
│ ├── scanner.test.ts
│ ├── transform.attr.test.ts
│ ├── transform.circular.test.ts
│ ├── transform.element.test.ts
│ ├── transform.errors.test.ts
│ ├── transform.escape.test.ts
│ ├── transform.regression.test.ts
│ ├── transform.script.test.ts
│ ├── transform.test.ts
│ └── xmlui.ts
├── tests-e2e
│ ├── api-bound-component-regression.spec.ts
│ ├── api-call-as-extracted-component.spec.ts
│ ├── assign-to-object-or-array-regression.spec.ts
│ ├── binding-regression.spec.ts
│ ├── children-as-template-context-vars.spec.ts
│ ├── compound-component.spec.ts
│ ├── context-vars-regression.spec.ts
│ ├── data-bindings.spec.ts
│ ├── datasource-and-api-usage-in-var.spec.ts
│ ├── datasource-direct-binding.spec.ts
│ ├── datasource-onLoaded-regression.spec.ts
│ ├── modify-array-item-regression.spec.ts
│ ├── namespaces.spec.ts
│ ├── push-to-array-regression.spec.ts
│ ├── screen-breakpoints.spec.ts
│ ├── scripting.spec.ts
│ ├── state-scope-in-pages.spec.ts
│ └── state-var-scopes.spec.ts
├── tsconfig.bin.json
├── tsconfig.json
├── tsconfig.node.json
├── vite.config.ts
└── vitest.config.ts
```
# Files
--------------------------------------------------------------------------------
/docs/content/components/AutoComplete.md:
--------------------------------------------------------------------------------
```markdown
1 | # AutoComplete [#autocomplete]
2 |
3 | `AutoComplete` is a searchable dropdown input that allows users to type and filter through options, with support for single or multiple selections. Unlike a basic [`Select`](/components/Select), it provides type-ahead functionality and can allow users to create new options.
4 |
5 | **Key features:**
6 | - **Type-ahead filtering**: Users can type to narrow down options in real-time
7 | - **Multi-select support**: Set `multi="true"` to allow selecting multiple items
8 | - **Custom option creation**: Enable `creatable="true"` to let users add new options
9 | - **Rich customization**: Use `optionTemplate` to create complex option layouts
10 |
11 | ## Using AutoComplete [#using-autocomplete]
12 |
13 | ```xmlui-pg copy display height="200px" name="Example: Using AutoComplete"
14 | <App>
15 | <AutoComplete>
16 | <Option value="1" label="Bruce Wayne" />
17 | <Option value="2" label="Clark Kent" enabled="false" />
18 | <Option value="3" label="Diana Prince" />
19 | </AutoComplete>
20 | </App>
21 | ```
22 |
23 | **Context variables available during execution:**
24 |
25 | - `$item`: This context value represents an item when you define an option item template. Use `$item.value` and `$item.label` to refer to the value and label of the particular option.
26 |
27 | ## Properties [#properties]
28 |
29 | ### `autoFocus` (default: false) [#autofocus-default-false]
30 |
31 | If this property is set to `true`, the component gets the focus automatically when displayed.
32 |
33 | ### `creatable` (default: false) [#creatable-default-false]
34 |
35 | This property allows the user to create new items that are not present in the list of options.
36 |
37 | ### `dropdownHeight` [#dropdownheight]
38 |
39 | This property sets the height of the dropdown list.
40 |
41 | ### `emptyListTemplate` [#emptylisttemplate]
42 |
43 | This property defines the template to display when the list of options is empty.
44 |
45 | ```xmlui-pg copy display height="200px" name="Example: emptyListTemplate"
46 | <App>
47 | <AutoComplete>
48 | <property name="emptyListTemplate">
49 | <Text>No options found</Text>
50 | </property>
51 | </AutoComplete>
52 | </App>
53 | ```
54 |
55 | ### `enabled` (default: true) [#enabled-default-true]
56 |
57 | This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).
58 |
59 | ### `initiallyOpen` (default: false) [#initiallyopen-default-false]
60 |
61 | This property determines whether the dropdown list is open when the component is first rendered.
62 |
63 | ### `initialValue` [#initialvalue]
64 |
65 | This property sets the component's initial value.
66 |
67 | ### `maxLength` [#maxlength]
68 |
69 | This property sets the maximum length of the input it accepts.
70 |
71 | ### `multi` (default: false) [#multi-default-false]
72 |
73 | The `true` value of the property indicates if the user can select multiple items.
74 |
75 | ```xmlui-pg copy display height="300px" name="Example: multi"
76 | <App>
77 | <AutoComplete multi="true">
78 | <Option value="1" label="Bruce Wayne" />
79 | <Option value="2" label="Clark Kent" />
80 | <Option value="3" label="Diana Prince" />
81 | <Option value="4" label="Barry Allen" />
82 | <Option value="5" label="Hal Jordan" />
83 | </AutoComplete>
84 | </App>
85 | ```
86 |
87 | ### `optionTemplate` [#optiontemplate]
88 |
89 | This property enables the customization of list items. To access the attributes of a list item use the `$item` context variable.
90 |
91 | ```xmlui-pg copy display height="300px" name="Example: optionTemplate"
92 | <App>
93 | <AutoComplete multi="true">
94 | <property name="optionTemplate">
95 | <Text textAlign="center" color="red">{$item.label}</Text>
96 | </property>
97 | <Option value="1" label="Bruce Wayne" />
98 | <Option value="2" label="Clark Kent" />
99 | <Option value="3" label="Diana Prince" />
100 | </AutoComplete>
101 | </App>
102 | ```
103 |
104 | ### `placeholder` [#placeholder]
105 |
106 | An optional placeholder text that is visible in the input field when its empty.
107 |
108 | ### `readOnly` (default: false) [#readonly-default-false]
109 |
110 | Set this property to `true` to disallow changing the component value.
111 |
112 | ### `required` (default: false) [#required-default-false]
113 |
114 | Set this property to `true` to indicate it must have a value before submitting the containing form.
115 |
116 | ### `validationStatus` (default: "none") [#validationstatus-default-none]
117 |
118 | This property allows you to set the validation status of the input component.
119 |
120 | Available values:
121 |
122 | | Value | Description |
123 | | --- | --- |
124 | | `valid` | Visual indicator for an input that is accepted |
125 | | `warning` | Visual indicator for an input that produced a warning |
126 | | `error` | Visual indicator for an input that produced an error |
127 |
128 | ## Events [#events]
129 |
130 | ### `didChange` [#didchange]
131 |
132 | This event is triggered when value of AutoComplete has changed.
133 |
134 | ### `gotFocus` [#gotfocus]
135 |
136 | This event is triggered when the AutoComplete has received the focus.
137 |
138 | ### `itemCreated` [#itemcreated]
139 |
140 | This event is triggered when a new item is created by the user (if `creatable` is enabled).
141 |
142 | Add a few new items not in the options list. The following markup will display them:
143 |
144 | ```xmlui-pg copy display height="300px" name="Example: itemCreated"
145 | <App var.newItems="{[]}">
146 | <AutoComplete
147 | id="autoComplete"
148 | creatable="true"
149 | onItemCreated="item => newItems.push(item)">
150 | <Option value="1" label="Bruce Wayne" />
151 | <Option value="2" label="Clark Kent" />
152 | </AutoComplete>
153 | <Text testId="text">
154 | New items: {newItems.join(", ")}
155 | </Text>
156 | </App>
157 | ```
158 |
159 | ### `lostFocus` [#lostfocus]
160 |
161 | This event is triggered when the AutoComplete has lost the focus.
162 |
163 | ## Exposed Methods [#exposed-methods]
164 |
165 | ### `focus` [#focus]
166 |
167 | This method focuses the AutoComplete component.
168 |
169 | **Signature**: `focus()`
170 |
171 | ### `setValue` [#setvalue]
172 |
173 | This API allows you to set the value of the component. If the value is not valid, the component will not update its internal state.
174 |
175 | **Signature**: `setValue(value: any)`
176 |
177 | - `value`: The value to set.
178 |
179 | ### `value` [#value]
180 |
181 | This API allows you to get or set the value of the component. If no value is set, it will retrieve `undefined`.
182 |
183 | **Signature**: `get value(): any`
184 |
185 | ## Styling [#styling]
186 |
187 | ### Theme Variables [#theme-variables]
188 |
189 | | Variable | Default Value (Light) | Default Value (Dark) |
190 | | --- | --- | --- |
191 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--default | *none* | *none* |
192 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--default--hover | *none* | *none* |
193 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--disabled | *none* | *none* |
194 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--error | *none* | *none* |
195 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--error--hover | *none* | *none* |
196 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--success | *none* | *none* |
197 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--success--hover | *none* | *none* |
198 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--warning | *none* | *none* |
199 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete--warning--hover | *none* | *none* |
200 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete-badge | $color-primary-500 | $color-primary-500 |
201 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete-badge | $color-primary-500 | $color-primary-500 |
202 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete-badge--active | $color-primary-500 | $color-primary-500 |
203 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete-badge--active | $color-primary-500 | $color-primary-500 |
204 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete-badge--hover | $color-primary-400 | $color-primary-400 |
205 | | [backgroundColor](../styles-and-themes/common-units/#color)-AutoComplete-badge--hover | $color-primary-400 | $color-primary-400 |
206 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-AutoComplete | $backgroundColor-dropdown-item | $backgroundColor-dropdown-item |
207 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-AutoComplete--active | $backgroundColor-dropdown-item--active | $backgroundColor-dropdown-item--active |
208 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-AutoComplete--hover | $backgroundColor-dropdown-item--hover | $backgroundColor-dropdown-item--hover |
209 | | [backgroundColor](../styles-and-themes/common-units/#color)-menu-AutoComplete | $color-surface-raised | $color-surface-raised |
210 | | [backgroundColor](../styles-and-themes/common-units/#color)-menu-AutoComplete | $color-surface-raised | $color-surface-raised |
211 | | [border](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
212 | | [borderBottom](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
213 | | [borderBottomColor](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
214 | | [borderBottomStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
215 | | [borderBottomWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
216 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
217 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--default | *none* | *none* |
218 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--default--hover | *none* | *none* |
219 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--disabled | initial | initial |
220 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--disabled | initial | initial |
221 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--error | *none* | *none* |
222 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--error--hover | *none* | *none* |
223 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--success | *none* | *none* |
224 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--success--hover | *none* | *none* |
225 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--warning | *none* | *none* |
226 | | [borderColor](../styles-and-themes/common-units/#color)-AutoComplete--warning--hover | *none* | *none* |
227 | | [borderColor](../styles-and-themes/common-units/#color)-menu-AutoComplete | $borderColor | $borderColor |
228 | | [borderColor](../styles-and-themes/common-units/#color)-menu-AutoComplete | $borderColor | $borderColor |
229 | | [borderEndEndRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete | *none* | *none* |
230 | | [borderEndStartRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete | *none* | *none* |
231 | | [borderHorizontal](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
232 | | [borderHorizontalColor](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
233 | | [borderHorizontalStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
234 | | [borderHorizontalWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
235 | | [borderLeft](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
236 | | [color](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
237 | | [borderLeftStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
238 | | [borderLeftWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
239 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete--default | *none* | *none* |
240 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete--error | *none* | *none* |
241 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete--success | *none* | *none* |
242 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete--warning | *none* | *none* |
243 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete-badge | $borderRadius | $borderRadius |
244 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-menu-AutoComplete | $borderRadius | $borderRadius |
245 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-menu-AutoComplete | $borderRadius | $borderRadius |
246 | | [borderRight](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
247 | | [color](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
248 | | [borderRightStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
249 | | [borderRightWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
250 | | [borderStartEndRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete | *none* | *none* |
251 | | [borderStartStartRadius](../styles-and-themes/common-units/#border-rounding)-AutoComplete | *none* | *none* |
252 | | [borderStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
253 | | [borderStyle](../styles-and-themes/common-units/#border-style)-AutoComplete--default | *none* | *none* |
254 | | [borderStyle](../styles-and-themes/common-units/#border-style)-AutoComplete--error | *none* | *none* |
255 | | [borderStyle](../styles-and-themes/common-units/#border-style)-AutoComplete--success | *none* | *none* |
256 | | [borderStyle](../styles-and-themes/common-units/#border-style)-AutoComplete--warning | *none* | *none* |
257 | | [borderTop](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
258 | | [borderTopColor](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
259 | | [borderTopStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
260 | | [borderTopWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
261 | | [borderHorizontal](../styles-and-themes/common-units/#border)-AutoComplete | *none* | *none* |
262 | | [borderVerticalColor](../styles-and-themes/common-units/#color)-AutoComplete | *none* | *none* |
263 | | [borderVerticalStyle](../styles-and-themes/common-units/#border-style)-AutoComplete | *none* | *none* |
264 | | [borderVerticalWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
265 | | [borderWidth](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
266 | | [borderWidth](../styles-and-themes/common-units/#size)-AutoComplete--default | *none* | *none* |
267 | | [borderWidth](../styles-and-themes/common-units/#size)-AutoComplete--error | *none* | *none* |
268 | | [borderWidth](../styles-and-themes/common-units/#size)-AutoComplete--success | *none* | *none* |
269 | | [borderWidth](../styles-and-themes/common-units/#size)-AutoComplete--warning | *none* | *none* |
270 | | [borderWidth](../styles-and-themes/common-units/#size)-menu-AutoComplete | 1px | 1px |
271 | | [borderWidth](../styles-and-themes/common-units/#size)-menu-AutoComplete | 1px | 1px |
272 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--default | *none* | *none* |
273 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--default--hover | *none* | *none* |
274 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--error | *none* | *none* |
275 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--error--hover | *none* | *none* |
276 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--success | *none* | *none* |
277 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--success--hover | *none* | *none* |
278 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--warning | *none* | *none* |
279 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-AutoComplete--warning--hover | *none* | *none* |
280 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-menu-AutoComplete | $boxShadow-md | $boxShadow-md |
281 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-menu-AutoComplete | $boxShadow-md | $boxShadow-md |
282 | | [fontSize](../styles-and-themes/common-units/#size)-AutoComplete--default | *none* | *none* |
283 | | [fontSize](../styles-and-themes/common-units/#size)-AutoComplete--error | *none* | *none* |
284 | | [fontSize](../styles-and-themes/common-units/#size)-AutoComplete--success | *none* | *none* |
285 | | [fontSize](../styles-and-themes/common-units/#size)-AutoComplete--warning | *none* | *none* |
286 | | [fontSize](../styles-and-themes/common-units/#size)-AutoComplete-badge | $fontSize-sm | $fontSize-sm |
287 | | [fontSize](../styles-and-themes/common-units/#size)-AutoComplete-badge | $fontSize-sm | $fontSize-sm |
288 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-AutoComplete--default | *none* | *none* |
289 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-AutoComplete--error | *none* | *none* |
290 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-AutoComplete--success | *none* | *none* |
291 | | [fontSize](../styles-and-themes/common-units/#size)-placeholder-AutoComplete--warning | *none* | *none* |
292 | | [gap](../styles-and-themes/common-units/#size)-adornment-AutoComplete | *none* | *none* |
293 | | [opacity](../styles-and-themes/common-units/#opacity)-AutoComplete--disabled | 0.5 | 0.5 |
294 | | [opacity](../styles-and-themes/common-units/#opacity)-text-item-AutoComplete--disabled | 0.5 | 0.5 |
295 | | [outlineColor](../styles-and-themes/common-units/#color)-AutoComplete--focus | *none* | *none* |
296 | | [outlineOffset](../styles-and-themes/common-units/#size)-AutoComplete--focus | *none* | *none* |
297 | | [outlineStyle](../styles-and-themes/common-units/#border)-AutoComplete--focus | *none* | *none* |
298 | | [outlineWidth](../styles-and-themes/common-units/#size)-AutoComplete--focus | *none* | *none* |
299 | | [padding](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
300 | | [padding](../styles-and-themes/common-units/#size)-item-AutoComplete | *none* | *none* |
301 | | [paddingBottom](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
302 | | [paddingBottom](../styles-and-themes/common-units/#size)-item-AutoComplete | *none* | *none* |
303 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-AutoComplete | $space-2 | $space-2 |
304 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-AutoComplete-badge | $space-2_5 | $space-2_5 |
305 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-item-AutoComplete | $space-2 | $space-2 |
306 | | [paddingLeft](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
307 | | [paddingLeft](../styles-and-themes/common-units/#size)-item-AutoComplete | *none* | *none* |
308 | | [paddingRight](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
309 | | [paddingRight](../styles-and-themes/common-units/#size)-item-AutoComplete | *none* | *none* |
310 | | [paddingTop](../styles-and-themes/common-units/#size)-AutoComplete | *none* | *none* |
311 | | [paddingTop](../styles-and-themes/common-units/#size)-item-AutoComplete | *none* | *none* |
312 | | [paddingVertical](../styles-and-themes/common-units/#size)-AutoComplete | $space-2 | $space-2 |
313 | | [paddingVertical](../styles-and-themes/common-units/#size)-AutoComplete-badge | $space-0_5 | $space-0_5 |
314 | | [paddingVertical](../styles-and-themes/common-units/#size)-item-AutoComplete | $space-2 | $space-2 |
315 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--default | *none* | *none* |
316 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--default--hover | *none* | *none* |
317 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--disabled | *none* | *none* |
318 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--error | *none* | *none* |
319 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--error--hover | *none* | *none* |
320 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--success | *none* | *none* |
321 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--success--hover | *none* | *none* |
322 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--warning | *none* | *none* |
323 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete--warning--hover | *none* | *none* |
324 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete-badge | $const-color-surface-50 | $const-color-surface-50 |
325 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete-badge | $const-color-surface-50 | $const-color-surface-50 |
326 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete-badge--active | *none* | *none* |
327 | | [textColor](../styles-and-themes/common-units/#color)-AutoComplete-badge--hover | *none* | *none* |
328 | | [textColor](../styles-and-themes/common-units/#color)-item-AutoComplete--disabled | $color-surface-200 | $color-surface-200 |
329 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-AutoComplete | *none* | *none* |
330 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-AutoComplete--default | *none* | *none* |
331 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-AutoComplete--error | *none* | *none* |
332 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-AutoComplete--success | *none* | *none* |
333 | | [textColor](../styles-and-themes/common-units/#color)-placeholder-AutoComplete--warning | *none* | *none* |
334 |
```
--------------------------------------------------------------------------------
/docs/content/components/TimeInput.md:
--------------------------------------------------------------------------------
```markdown
1 | # TimeInput [#timeinput]
2 |
3 | `TimeInput` provides time input with support for 12-hour and 24-hour formats and configurable precision for hours, minutes, and seconds.
4 |
5 | **Key features:**
6 | - **Time format support**: 12-hour and 24-hour formats with customizable display
7 | - **Precision control**: Configure precision for hours, minutes, and seconds
8 | - **Input validation**: Real-time validation with visual feedback for invalid times
9 | - **Accessibility**: Full keyboard navigation and screen reader support
10 | - **Localization**: Automatic AM/PM labels based on user locale
11 |
12 | ## Properties [#properties]
13 |
14 | ### `autoFocus` (default: false) [#autofocus-default-false]
15 |
16 | If this property is set to `true`, the component gets the focus automatically when displayed.
17 |
18 | ### `clearable` (default: false) [#clearable-default-false]
19 |
20 | Whether to show a clear button that allows clearing the selected time
21 |
22 | When enabled, it displays a clear button that allows users to reset the time picker back to its initial value. Change the time value in this app and then click the clear button:
23 |
24 | ```xmlui-pg copy display name="Example: clearable" /clearable/
25 | <App>
26 | <TimeInput initialValue="11:30" />
27 | <TimeInput clearable="true" initialValue="10:20" />
28 | </App>
29 | ```
30 |
31 | ### `clearIcon` [#clearicon]
32 |
33 | The icon to display in the clear button.
34 |
35 | ```xmlui-pg copy display name="Example: clearIcon" /clearIcon/
36 | <App>
37 | <TimeInput initialValue="11:30" clearIcon="trash" />
38 | </App>
39 | ```
40 |
41 | ### `clearToInitialValue` (default: true) [#cleartoinitialvalue-default-true]
42 |
43 | Whether the clear button resets the time input to its initial value
44 |
45 | ### `emptyCharacter` (default: "-") [#emptycharacter-default-]
46 |
47 | Character to use as placeholder for empty time values. If longer than 1 character, uses the first character. Defaults to '-'
48 |
49 | Character to use as placeholder for empty time values. If longer than 1 character, uses the first character. Defaults to '-'.
50 |
51 | ```xmlui-pg copy display name="Example: emptyCharacter"
52 | <App>
53 | <TimeInput emptyCharacter="." />
54 | <TimeInput emptyCharacter="*" />
55 | <TimeInput emptyCharacter="abc" />
56 | </App>
57 | ```
58 |
59 | ### `enabled` (default: true) [#enabled-default-true]
60 |
61 | This boolean property value indicates whether the component responds to user events (`true`) or not (`false`).
62 |
63 | ```xmlui-pg copy display name="Example: enabled" height="120px"
64 | <App>
65 | <TimeInput enabled="false" initialValue="14:30" />
66 | </App>
67 | ```
68 |
69 | ### `endIcon` [#endicon]
70 |
71 | This property sets an optional icon to appear on the end (right side when the left-to-right direction is set) of the input.
72 |
73 | ### `endText` [#endtext]
74 |
75 | This property sets an optional text to appear on the end (right side when the left-to-right direction is set) of the input.
76 |
77 | ### `gap` [#gap]
78 |
79 | This property defines the gap between the adornments and the input area. If not set, the gap declared by the current theme is used.
80 |
81 | ### `hour24` (default: true) [#hour24-default-true]
82 |
83 | Whether to use 24-hour format (true) or 12-hour format with AM/PM (false)
84 |
85 | ### `initialValue` [#initialvalue]
86 |
87 | This property sets the component's initial value.
88 |
89 | ```xmlui-pg copy display name="Example: initialValue" height="120px"
90 | <App>
91 | <TimeInput initialValue="14:30:15" />
92 | </App>
93 | ```
94 |
95 | ### `maxTime` [#maxtime]
96 |
97 | Maximum time that the user can select
98 |
99 | ### `minTime` [#mintime]
100 |
101 | Minimum time that the user can select
102 |
103 | ### `readOnly` (default: false) [#readonly-default-false]
104 |
105 | Set this property to `true` to disallow changing the component value.
106 |
107 | ### `required` (default: false) [#required-default-false]
108 |
109 | Whether the time input should be required
110 |
111 | Marks the time input as required for form validation.
112 |
113 | ```xmlui-pg copy display name="Example: required" height="120px"
114 | <App>
115 | <TimeInput required="true" />
116 | </App>
117 | ```
118 |
119 | ### `seconds` (default: false) [#seconds-default-false]
120 |
121 | Whether to show and allow input of seconds
122 |
123 | ### `startIcon` [#starticon]
124 |
125 | This property sets an optional icon to appear at the start (left side when the left-to-right direction is set) of the input.
126 |
127 | ### `startText` [#starttext]
128 |
129 | This property sets an optional text to appear at the start (left side when the left-to-right direction is set) of the input.
130 |
131 | ### `validationStatus` (default: "none") [#validationstatus-default-none]
132 |
133 | This property allows you to set the validation status of the input component.
134 |
135 | Available values:
136 |
137 | | Value | Description |
138 | | --- | --- |
139 | | `valid` | Visual indicator for an input that is accepted |
140 | | `warning` | Visual indicator for an input that produced a warning |
141 | | `error` | Visual indicator for an input that produced an error |
142 |
143 | | Value | Description |
144 | | :-------- | :---------------------------------------------------- |
145 | | `valid` | Visual indicator for an input that is accepted |
146 | | `warning` | Visual indicator for an input that produced a warning |
147 | | `error` | Visual indicator for an input that produced an error |
148 |
149 | ```xmlui-pg copy display name="Example: validationStatus"
150 | <App>
151 | <TimeInput validationStatus="valid" initialValue="11:30" />
152 | <TimeInput validationStatus="warning" initialValue="11:30" />
153 | <TimeInput validationStatus="error" initialValue="11:30" />
154 | </App>
155 | ```
156 |
157 | ## Events [#events]
158 |
159 | ### `didChange` [#didchange]
160 |
161 | This event is triggered when value of TimeInput has changed.
162 |
163 | Fired when the time value changes. Receives the new time value as a parameter.
164 |
165 | > [!INFO] The time value changes when the edited input part (hour, minute, second) loses focus or the AM/PM selectro changes.
166 |
167 | ```xmlui-pg copy {2} display name="Example: didChange" height="180px"
168 | <App var.selectedTime="No time selected">
169 | <Text value="{selectedTime}" />
170 | <TimeInput
171 | format="h:m:s a"
172 | initialValue="07:30:05"
173 | onDidChange="(time) => selectedTime = time" />
174 | </App>
175 | ```
176 |
177 | ### `gotFocus` [#gotfocus]
178 |
179 | This event is triggered when the TimeInput has received the focus.
180 |
181 | Fired when the time picker receives focus.
182 |
183 | ```xmlui-pg copy {4-5} display name="Example: gotFocus/lostFocus"
184 | <App var.isFocused="{false}">
185 | <Text value="{isFocused
186 | ? 'TimeInput focused' : 'TimeInput lost focus'}"
187 | />
188 | <TimeInput
189 | format="HH:mm:ss a"
190 | onGotFocus="isFocused = true"
191 | onLostFocus="isFocused = false"
192 | initialValue="14:30"
193 | />
194 | </App>
195 | ```
196 |
197 | ### `invalidTime` [#invalidtime]
198 |
199 | Fired when the user enters an invalid time
200 |
201 | Fired when the user enters an invalid time value.
202 |
203 | ```xmlui-pg copy {2} display name="Example: invalidTime"
204 | <App var.errorMessage="">
205 | <Text value="{errorMessage}" />
206 | <TimeInput
207 | onInvalidTime="(error) => errorMessage = 'Invalid time entered'"
208 | onDidChange="errorMessage = ''" />
209 | </App>
210 | ```
211 |
212 | ### `lostFocus` [#lostfocus]
213 |
214 | This event is triggered when the TimeInput has lost the focus.
215 |
216 | ## Exposed Methods [#exposed-methods]
217 |
218 | ### `focus` [#focus]
219 |
220 | Focus the TimeInput component.
221 |
222 | **Signature**: `focus(): void`
223 |
224 | ### `isoValue` [#isovalue]
225 |
226 | Get the current time value formatted in ISO standard (HH:MM:SS) using 24-hour format, suitable for JSON serialization.
227 |
228 | **Signature**: `isoValue(): string | null`
229 |
230 | ### `setValue` [#setvalue]
231 |
232 | This method sets the current value of the TimeInput.
233 |
234 | **Signature**: `set value(value: any): void`
235 |
236 | - `value`: The new time value to set for the time picker.
237 |
238 | ```xmlui-pg copy {3, 9, 12} display name="Example: setValue"
239 | <App>
240 | <HStack>
241 | <Button
242 | label="Set Time to 14:30"
243 | onClick="picker.setValue('14:30')" />
244 | <Button
245 | label="Remove Time"
246 | onClick="picker.setValue('')" />
247 | </HStack>
248 | <TimeInput id="picker" />
249 | </App>
250 | ```
251 |
252 | ### `value` [#value]
253 |
254 | You can query the component's value. If no value is set, it will retrieve `undefined`.
255 |
256 | **Signature**: `get value(): any`
257 |
258 | ## Parts [#parts]
259 |
260 | The component has some parts that can be styled through layout properties and theme variables separately:
261 |
262 | - **`ampm`**: The AM/PM indicator.
263 | - **`clearButton`**: The button to clear the time input.
264 | - **`hour`**: The hour input field.
265 | - **`minute`**: The minute input field.
266 | - **`second`**: The second input field.
267 |
268 | ## Styling [#styling]
269 |
270 | ### Theme Variables [#theme-variables]
271 |
272 | | Variable | Default Value (Light) | Default Value (Dark) |
273 | | --- | --- | --- |
274 | | [backgroundColor](../styles-and-themes/common-units/#color)-input-TimeInput-invalid | rgba(220, 53, 69, 0.15) | rgba(220, 53, 69, 0.15) |
275 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-TimeInput--active | *none* | *none* |
276 | | [backgroundColor](../styles-and-themes/common-units/#color)-item-TimeInput--hover | *none* | *none* |
277 | | [backgroundColor](../styles-and-themes/common-units/#color)-menu-TimeInput | *none* | *none* |
278 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--default | *none* | *none* |
279 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--default--focus | *none* | *none* |
280 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--default--hover | *none* | *none* |
281 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--disabled | *none* | *none* |
282 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--error | *none* | *none* |
283 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--error--focus | *none* | *none* |
284 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--error--hover | *none* | *none* |
285 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--hover | *none* | *none* |
286 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--success | *none* | *none* |
287 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--success--focus | *none* | *none* |
288 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--success--hover | *none* | *none* |
289 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--warning | *none* | *none* |
290 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--warning--focus | *none* | *none* |
291 | | [backgroundColor](../styles-and-themes/common-units/#color)-TimeInput--warning--hover | *none* | *none* |
292 | | [borderColor](../styles-and-themes/common-units/#color)-menu-TimeInput | *none* | *none* |
293 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--default | *none* | *none* |
294 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--default--focus | *none* | *none* |
295 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--default--hover | *none* | *none* |
296 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--disabled | *none* | *none* |
297 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--error | *none* | *none* |
298 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--error--focus | *none* | *none* |
299 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--error--hover | *none* | *none* |
300 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--success | *none* | *none* |
301 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--success--focus | *none* | *none* |
302 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--success--hover | *none* | *none* |
303 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--warning | *none* | *none* |
304 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--warning--focus | *none* | *none* |
305 | | [borderColor](../styles-and-themes/common-units/#color)-TimeInput--warning--hover | *none* | *none* |
306 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-button-TimeInput | $borderRadius | $borderRadius |
307 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-input-TimeInput | $borderRadius | $borderRadius |
308 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-menu-TimeInput | *none* | *none* |
309 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-TimeInput--default | *none* | *none* |
310 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-TimeInput--error | *none* | *none* |
311 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-TimeInput--success | *none* | *none* |
312 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-TimeInput--warning | *none* | *none* |
313 | | [borderStyle](../styles-and-themes/common-units/#border-style)-TimeInput--default | *none* | *none* |
314 | | [borderStyle](../styles-and-themes/common-units/#border-style)-TimeInput--error | *none* | *none* |
315 | | [borderStyle](../styles-and-themes/common-units/#border-style)-TimeInput--success | *none* | *none* |
316 | | [borderStyle](../styles-and-themes/common-units/#border-style)-TimeInput--warning | *none* | *none* |
317 | | [borderWidth](../styles-and-themes/common-units/#size)-TimeInput--default | *none* | *none* |
318 | | [borderWidth](../styles-and-themes/common-units/#size)-TimeInput--error | *none* | *none* |
319 | | [borderWidth](../styles-and-themes/common-units/#size)-TimeInput--success | *none* | *none* |
320 | | [borderWidth](../styles-and-themes/common-units/#size)-TimeInput--warning | *none* | *none* |
321 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-menu-TimeInput | *none* | *none* |
322 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--default | *none* | *none* |
323 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--default--focus | *none* | *none* |
324 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--default--hover | *none* | *none* |
325 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--error | *none* | *none* |
326 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--error--focus | *none* | *none* |
327 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--error--hover | *none* | *none* |
328 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--success | *none* | *none* |
329 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--success--focus | *none* | *none* |
330 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--success--hover | *none* | *none* |
331 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--warning | *none* | *none* |
332 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--warning--focus | *none* | *none* |
333 | | [boxShadow](../styles-and-themes/common-units/#boxShadow)-TimeInput--warning--hover | *none* | *none* |
334 | | [color](../styles-and-themes/common-units/#color)-adornment-TimeInput--default | *none* | *none* |
335 | | [color](../styles-and-themes/common-units/#color)-adornment-TimeInput--error | *none* | *none* |
336 | | [color](../styles-and-themes/common-units/#color)-adornment-TimeInput--success | *none* | *none* |
337 | | [color](../styles-and-themes/common-units/#color)-adornment-TimeInput--warning | *none* | *none* |
338 | | [color](../styles-and-themes/common-units/#color)-divider-TimeInput | $textColor-secondary | $textColor-secondary |
339 | | disabledColor-button-TimeInput | $textColor-disabled | $textColor-disabled |
340 | | [fontSize](../styles-and-themes/common-units/#size)-ampm-TimeInput | inherit | inherit |
341 | | [fontSize](../styles-and-themes/common-units/#size)-input-TimeInput | inherit | inherit |
342 | | [fontSize](../styles-and-themes/common-units/#size)-TimeInput--default | *none* | *none* |
343 | | [fontSize](../styles-and-themes/common-units/#size)-TimeInput--error | *none* | *none* |
344 | | [fontSize](../styles-and-themes/common-units/#size)-TimeInput--success | *none* | *none* |
345 | | [fontSize](../styles-and-themes/common-units/#size)-TimeInput--warning | *none* | *none* |
346 | | [gap](../styles-and-themes/common-units/#size)-adornment-TimeInput | *none* | *none* |
347 | | hoverColor-button-TimeInput | $color-surface-800 | $color-surface-800 |
348 | | [margin](../styles-and-themes/common-units/#size)-icon-TimeInput | *none* | *none* |
349 | | [margin](../styles-and-themes/common-units/#size)-input-TimeInput | *none* | *none* |
350 | | [maxHeight](../styles-and-themes/common-units/#size)-menu-TimeInput | *none* | *none* |
351 | | [minWidth](../styles-and-themes/common-units/#size)-ampm-TimeInput | 2.2em | 2.2em |
352 | | [minWidth](../styles-and-themes/common-units/#size)-input-TimeInput | 0.54em | 0.54em |
353 | | [opacity](../styles-and-themes/common-units/#opacity)-item-TimeInput--disabled | *none* | *none* |
354 | | [opacity](../styles-and-themes/common-units/#opacity)-TimeInput--disabled | *none* | *none* |
355 | | [outlineColor](../styles-and-themes/common-units/#color)-ampm-TimeInput--focused | *none* | *none* |
356 | | [outlineColor](../styles-and-themes/common-units/#color)-button-TimeInput--focused | $color-accent-500 | $color-accent-500 |
357 | | [outlineColor](../styles-and-themes/common-units/#color)-TimeInput--default--focus | *none* | *none* |
358 | | [outlineColor](../styles-and-themes/common-units/#color)-TimeInput--error--focus | *none* | *none* |
359 | | [outlineColor](../styles-and-themes/common-units/#color)-TimeInput--success--focus | *none* | *none* |
360 | | [outlineColor](../styles-and-themes/common-units/#color)-TimeInput--warning--focus | *none* | *none* |
361 | | [outlineOffset](../styles-and-themes/common-units/#size)-ampm-TimeInput--focused | *none* | *none* |
362 | | [outlineOffset](../styles-and-themes/common-units/#size)-button-TimeInput--focused | 0 | 0 |
363 | | [outlineOffset](../styles-and-themes/common-units/#size)-TimeInput--default--focus | *none* | *none* |
364 | | [outlineOffset](../styles-and-themes/common-units/#size)-TimeInput--error--focus | *none* | *none* |
365 | | [outlineOffset](../styles-and-themes/common-units/#size)-TimeInput--success--focus | *none* | *none* |
366 | | [outlineOffset](../styles-and-themes/common-units/#size)-TimeInput--warning--focus | *none* | *none* |
367 | | [outlineStyle](../styles-and-themes/common-units/#border)-TimeInput--default--focus | *none* | *none* |
368 | | [outlineStyle](../styles-and-themes/common-units/#border)-TimeInput--error--focus | *none* | *none* |
369 | | [outlineStyle](../styles-and-themes/common-units/#border)-TimeInput--success--focus | *none* | *none* |
370 | | [outlineStyle](../styles-and-themes/common-units/#border)-TimeInput--warning--focus | *none* | *none* |
371 | | [outlineWidth](../styles-and-themes/common-units/#size)-ampm-TimeInput--focused | *none* | *none* |
372 | | [outlineWidth](../styles-and-themes/common-units/#size)-button-TimeInput--focused | 2px | 2px |
373 | | [outlineWidth](../styles-and-themes/common-units/#size)-TimeInput--default--focus | *none* | *none* |
374 | | [outlineWidth](../styles-and-themes/common-units/#size)-TimeInput--error--focus | *none* | *none* |
375 | | [outlineWidth](../styles-and-themes/common-units/#size)-TimeInput--success--focus | *none* | *none* |
376 | | [outlineWidth](../styles-and-themes/common-units/#size)-TimeInput--warning--focus | *none* | *none* |
377 | | [padding](../styles-and-themes/common-units/#size)-button-TimeInput | 4px 4px | 4px 4px |
378 | | [padding](../styles-and-themes/common-units/#size)-input-TimeInput | 0 2px | 0 2px |
379 | | [padding](../styles-and-themes/common-units/#size)-item-TimeInput | *none* | *none* |
380 | | [padding](../styles-and-themes/common-units/#size)-TimeInput | *none* | *none* |
381 | | [paddingBottom](../styles-and-themes/common-units/#size)-TimeInput | *none* | *none* |
382 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-TimeInput | $space-2 | $space-2 |
383 | | [paddingLeft](../styles-and-themes/common-units/#size)-TimeInput | *none* | *none* |
384 | | [paddingRight](../styles-and-themes/common-units/#size)-TimeInput | *none* | *none* |
385 | | [paddingTop](../styles-and-themes/common-units/#size)-TimeInput | *none* | *none* |
386 | | [paddingVertical](../styles-and-themes/common-units/#size)-TimeInput | $space-2 | $space-2 |
387 | | spacing-divider-TimeInput | 1px 0 | 1px 0 |
388 | | [textAlign](../styles-and-themes/common-units/#text-align)-input-TimeInput | center | center |
389 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--default | *none* | *none* |
390 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--default--focus | *none* | *none* |
391 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--default--hover | *none* | *none* |
392 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--disabled | *none* | *none* |
393 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--error | *none* | *none* |
394 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--error--focus | *none* | *none* |
395 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--error--hover | *none* | *none* |
396 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--success | *none* | *none* |
397 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--success--focus | *none* | *none* |
398 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--success--hover | *none* | *none* |
399 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--warning | *none* | *none* |
400 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--warning--focus | *none* | *none* |
401 | | [textColor](../styles-and-themes/common-units/#color)-TimeInput--warning--hover | *none* | *none* |
402 | | [transition](../styles-and-themes/common-units/#transition)-background-TimeInput | *none* | *none* |
403 | | [width](../styles-and-themes/common-units/#size)-input-TimeInput | 1.8em | 1.8em |
404 |
```
--------------------------------------------------------------------------------
/xmlui/dev-docs/theme-variables-refactoring.md:
--------------------------------------------------------------------------------
```markdown
1 | # Theme Variables Refactoring Notes
2 |
3 | ## Overview
4 |
5 | This document outlines the process of refactoring SCSS component files to ensure all theme variables are properly exposed and registered at the module's top level. Variables defined inside `@mixin` or `@layer` blocks may not be correctly collected by the theme system.
6 |
7 | ## Theme Variable Naming Standards
8 |
9 | All theme variable names must follow a specific pattern that can be parsed by `parseLayoutProperty()` found in `parse-layout-props.ts`. The general structure is:
10 |
11 | ```
12 | {property}-{component-part}-{component-name}[--{state1}--{state2}...--{stateN}]
13 | ```
14 |
15 | Where `[]` denotes 0, 1 or more of the contained elements.
16 |
17 | ### Key Rules:
18 | 1. **Properties** use camelCase (e.g., `backgroundColor`, `textColor`, `borderRadius`)
19 | 2. **Component names** always start with a capital letter (e.g., `Text`, `NumberBox`, `Carousel`)
20 | 3. **Component parts** start with lowercase (e.g., `control`, `indicator`, `passwordToggle`)
21 | 4. **States** use double dashes (`--`) not single dashes, and must be at the END
22 | 5. Common states: `hover`, `focus`, `active`, `disabled`
23 | 6. Not all components have parts
24 |
25 | ### ✅ Correct Examples:
26 | ```scss
27 | // Simple property for a component
28 | $borderRadius-Image: createThemeVar("borderRadius-Image");
29 |
30 | // Property with component part
31 | $backgroundColor-control-Carousel: createThemeVar("backgroundColor-control-#{$component}");
32 |
33 | // Property with component part and state
34 | $backgroundColor-control-Carousel--hover: createThemeVar("backgroundColor-control-#{$component}--hover");
35 |
36 | // Property with multiple states
37 | $textColor-indicator-Carousel--hover--disabled: createThemeVar("textColor-indicator-#{$component}--hover--disabled");
38 | ```
39 |
40 | ### ❌ Incorrect Examples (DO NOT USE):
41 | ```scss
42 | // WRONG: Property uses kebab-case instead of camelCase
43 | $background-color-control-Carousel: createThemeVar("background-color-control-#{$component}");
44 |
45 | // WRONG: State uses single dash instead of double dash
46 | $backgroundColor-control-hover-Carousel: createThemeVar("backgroundColor-control-hover-#{$component}");
47 |
48 | // WRONG: State is not at the end
49 | $backgroundColor-hover-control-Carousel: createThemeVar("backgroundColor-hover-control-#{$component}");
50 |
51 | // WRONG: Component name doesn't start with uppercase
52 | $backgroundColor-carousel: createThemeVar("backgroundColor-carousel");
53 | ```
54 |
55 | ### When Refactoring Files with Non-Standard Variables:
56 | If you encounter theme variables that don't follow this standard (e.g., using `-hover` instead of `--hover`), **DO NOT** extract them during refactoring. Note them for later correction. The naming must be fixed first to comply with the `parseLayoutProperty()` parser.
57 |
58 | ## Refactoring Constraints
59 |
60 | ### 1. Move `createThemeVar` calls outside `@mixin` and `@layer`
61 | All `createThemeVar()` function calls must be moved to the top level of the SCSS file, before any `@mixin` or `@layer` blocks.
62 |
63 | ### 2. For calls under `@layer`
64 | Create SASS variables outside the `@layer` block, then reference them inside.
65 |
66 | **Before:**
67 | ```scss
68 | @layer components {
69 | .img {
70 | border-radius: createThemeVar("borderRadius-Image");
71 | border-color: createThemeVar("borderColor-Image");
72 | }
73 | }
74 | ```
75 |
76 | **After:**
77 | ```scss
78 | // Variables for @layer section
79 | $borderRadius-Image: createThemeVar("borderRadius-Image");
80 | $borderColor-Image: createThemeVar("borderColor-Image");
81 |
82 | @layer components {
83 | .img {
84 | border-radius: $borderRadius-Image;
85 | border-color: $borderColor-Image;
86 | }
87 | }
88 | ```
89 |
90 | ### 3. For calls under `@mixin`
91 | Create SASS variables for **each variant case** outside the mixin.
92 |
93 | **IMPORTANT:** Validation variants (default, error, warning, success) should be treated as states and use double dashes (`--`) just like hover, focus, disabled, etc.
94 |
95 | **Example for validation variant states (--default, --error, --warning, --success):**
96 | ```scss
97 | // Variables for default variant state
98 | $borderColor-TextBox--default: createThemeVar("Input:borderColor-#{$componentName}--default");
99 | $borderColor-TextBox--default--hover: createThemeVar("Input:borderColor-#{$componentName}--default--hover");
100 |
101 | // Variables for error variant state
102 | $borderColor-TextBox--error: createThemeVar("Input:borderColor-#{$componentName}--error");
103 | $borderColor-TextBox--error--hover: createThemeVar("Input:borderColor-#{$componentName}--error--hover");
104 |
105 | // ... repeat for warning and success
106 | ```
107 |
108 | String patterns can also omit the `#{$componentName}` but still must be accounted for:
109 | ```scss
110 | $borderColor-RadioGroupOption--default: createThemeVar("Input:borderColor-RadioGroupOption--default");
111 | $borderColor-RadioGroupOption--default--hover: createThemeVar("Input:borderColor-RadioGroupOption--default--hover");
112 | ```
113 |
114 | ### 4. Keep `@mixin` contents unchanged
115 | **IMPORTANT:** The `@mixin` should retain its original implementation with `createThemeVar()` calls. Do NOT attempt to use variable interpolation like `$borderColor-TextBox-#{$variantName}` as this is not valid SASS syntax for variable references.
116 |
117 | **Correct (keep as is):**
118 | ```scss
119 | @mixin variant($variantName) {
120 | border-color: createThemeVar("Input:borderColor-#{$componentName}-#{$variantName}");
121 | }
122 | ```
123 |
124 | **Incorrect (do not use):**
125 | ```scss
126 | @mixin variant($variantName) {
127 | border-color: $borderColor-TextBox-#{$variantName}; // Invalid SASS
128 | }
129 | ```
130 |
131 | ## Refactoring Patterns by Complexity
132 |
133 | ### Level 1: Simple Components Without Variants
134 |
135 | Components like Image that don't have variants or complex sub-elements will have a simple, flat list of variables.
136 |
137 | **Example:**
138 | ```scss
139 | // Variables for @layer section
140 | $borderRadius-Image: createThemeVar("borderRadius-Image");
141 | $borderColor-Image: createThemeVar("borderColor-Image");
142 |
143 | @layer components {
144 | .img {
145 | border-radius: $borderRadius-Image;
146 | border-color: $borderColor-Image;
147 | }
148 | }
149 | ```
150 |
151 | ### Level 2: Components with States
152 |
153 | Components that have state variations (hover, focus, active, disabled) but no variants or complex sub-elements.
154 |
155 | **Example - Link component:**
156 | ```scss
157 | // Variables for @layer section
158 | $outlineWidth-Link--focus: createThemeVar("outlineWidth-Link--focus");
159 | $outlineColor-Link--focus: createThemeVar("outlineColor-Link--focus");
160 | $outlineStyle-Link--focus: createThemeVar("outlineStyle-Link--focus");
161 | $outlineOffset-Link--focus: createThemeVar("outlineOffset-Link--focus");
162 |
163 | @layer components {
164 | .link {
165 | &:focus {
166 | outline-width: $outlineWidth-Link--focus;
167 | outline-color: $outlineColor-Link--focus;
168 | outline-style: $outlineStyle-Link--focus;
169 | outline-offset: $outlineOffset-Link--focus;
170 | }
171 | }
172 | }
173 | ```
174 |
175 | **Example - Heading component with multiple heading levels:**
176 | ```scss
177 | // Variables for H1
178 | $textColor-H1: createThemeVar("textColor-H1");
179 | $letterSpacing-H1: createThemeVar("letterSpacing-H1");
180 | $fontFamily-H1: createThemeVar("fontFamily-H1");
181 | $fontWeight-H1: createThemeVar("fontWeight-H1");
182 | $marginTop-H1: createThemeVar("marginTop-H1");
183 | $marginBottom-H1: createThemeVar("marginBottom-H1");
184 |
185 | // Variables for H2
186 | $textColor-H2: createThemeVar("textColor-H2");
187 | $letterSpacing-H2: createThemeVar("letterSpacing-H2");
188 | // ... repeat for H3-H6
189 |
190 | @layer components {
191 | .h1 {
192 | color: $textColor-H1;
193 | letter-spacing: $letterSpacing-H1;
194 | font-family: $fontFamily-H1;
195 | font-weight: $fontWeight-H1;
196 | margin-top: $marginTop-H1;
197 | margin-bottom: $marginBottom-H1;
198 | }
199 | }
200 | ```
201 |
202 | ### Level 3: Components with Sub-Elements
203 |
204 | Components with multiple distinct sub-elements (not variants), each with their own state variations. Group variables by sub-element for better organization.
205 |
206 | **⚠️ NOTE:** The Carousel component currently has incorrect variable naming (uses `-hover` instead of `--hover`). Do not extract variables with non-standard names.
207 |
208 | **How it SHOULD be:**
209 | ```scss
210 | // Variables for main carousel
211 | $width-Carousel: createThemeVar("width-#{$component}");
212 | $height-Carousel: createThemeVar("height-#{$component}");
213 |
214 | // Variables for control buttons
215 | $backgroundColor-control-Carousel: createThemeVar("backgroundColor-control-#{$component}");
216 | $backgroundColor-control-Carousel--hover: createThemeVar("backgroundColor-control-#{$component}--hover");
217 | $backgroundColor-control-Carousel--active: createThemeVar("backgroundColor-control-#{$component}--active");
218 | $backgroundColor-control-Carousel--disabled: createThemeVar("backgroundColor-control-#{$component}--disabled");
219 |
220 | // Variables for indicators
221 | $backgroundColor-indicator-Carousel: createThemeVar("backgroundColor-indicator-#{$component}");
222 | $backgroundColor-indicator-Carousel--hover: createThemeVar("backgroundColor-indicator-#{$component}--hover");
223 | $backgroundColor-indicator-Carousel--active: createThemeVar("backgroundColor-indicator-#{$component}--active");
224 |
225 | @layer components {
226 | .controlButton {
227 | background-color: $backgroundColor-control-Carousel;
228 |
229 | &:hover {
230 | background-color: $backgroundColor-control-Carousel--hover;
231 | }
232 | }
233 | }
234 | ```
235 |
236 | ### Level 4: Components with Validation Variants
237 |
238 | Components like TextBox and NumberBox that support validation variants (default, error, warning, success). These variants should use double dashes (`--`) as they are treated as states.
239 |
240 | **Structure:**
241 | ```scss
242 | $componentName: "TextBox";
243 |
244 | // Variables for default variant state
245 | $borderColor-TextBox--default: createThemeVar("Input:borderColor-#{$componentName}--default");
246 | $borderWidth-TextBox--default: createThemeVar("Input:borderWidth-#{$componentName}--default");
247 | $backgroundColor-TextBox--default: createThemeVar("Input:backgroundColor-#{$componentName}--default");
248 | $borderColor-TextBox--default--hover: createThemeVar("Input:borderColor-#{$componentName}--default--hover");
249 | $borderColor-TextBox--default--focus: createThemeVar("Input:borderColor-#{$componentName}--default--focus");
250 |
251 | // Variables for error variant state
252 | $borderColor-TextBox--error: createThemeVar("Input:borderColor-#{$componentName}--error");
253 | $borderWidth-TextBox--error: createThemeVar("Input:borderWidth-#{$componentName}--error");
254 | $backgroundColor-TextBox--error: createThemeVar("Input:backgroundColor-#{$componentName}--error");
255 | $borderColor-TextBox--error--hover: createThemeVar("Input:borderColor-#{$componentName}--error--hover");
256 | $borderColor-TextBox--error--focus: createThemeVar("Input:borderColor-#{$componentName}--error--focus");
257 |
258 | // ... repeat for warning and success variant states
259 |
260 | // Variables for @layer section
261 | $gap-adornment-TextBox: createThemeVar("Input:gap-adornment-#{$componentName}");
262 | $textColor-TextBox--disabled: createThemeVar("Input:textColor-#{$componentName}--disabled");
263 |
264 | @mixin variant($variantName) {
265 | // Keep original implementation with createThemeVar calls
266 | border-color: createThemeVar("Input:borderColor-#{$componentName}-#{$variantName}");
267 |
268 | &:hover {
269 | border-color: createThemeVar("Input:borderColor-#{$componentName}-#{$variantName}--hover");
270 | }
271 | }
272 |
273 | @layer components {
274 | .inputRoot {
275 | gap: $gap-adornment-TextBox;
276 | @include variant("default");
277 |
278 | &.error {
279 | @include variant("error");
280 | }
281 | }
282 | }
283 | ```
284 |
285 | ### Level 5: Components with Validation Variants AND Unique Sub-Elements
286 |
287 | Components that combine validation variants with component-specific elements (like TextBox with passwordToggle).
288 |
289 | **Structure:**
290 | ```scss
291 | // Variables for default variant state
292 | $borderColor-TextBox--default: createThemeVar("Input:borderColor-#{$componentName}--default");
293 | $borderColor-TextBox--default--hover: createThemeVar("Input:borderColor-#{$componentName}--default--hover");
294 |
295 | // Variables for error, warning, success variant states
296 | // ... (same pattern as default)
297 |
298 | // Variables for passwordToggle (not variant-specific)
299 | $color-passwordToggle-TextBox: createThemeVar("Input:color-passwordToggle-#{$componentName}");
300 | $paddingLeft-passwordToggle-TextBox: createThemeVar("Input:paddingLeft-passwordToggle-#{$componentName}");
301 | $paddingRight-passwordToggle-TextBox: createThemeVar("Input:paddingRight-passwordToggle-#{$componentName}");
302 | $color-passwordToggle-TextBox--hover: createThemeVar("Input:color-passwordToggle-#{$componentName}--hover");
303 | $color-passwordToggle-TextBox--focus: createThemeVar("Input:color-passwordToggle-#{$componentName}--focus");
304 |
305 | // Variables for @layer section
306 | $gap-adornment-TextBox: createThemeVar("Input:gap-adornment-#{$componentName}");
307 | $textColor-TextBox--disabled: createThemeVar("Input:textColor-#{$componentName}--disabled");
308 | ```
309 |
310 | ## Common Issues
311 |
312 | ### Missing borderRadius Variables
313 | Some components (like NumberBox) may not have pre-existing borderRadius variables defined outside the mixin. Ensure all borderRadius variant states are created:
314 |
315 | ```scss
316 | $borderRadius-NumberBox--default: createThemeVar("Input:borderRadius-#{$componentName}--default");
317 | $borderRadius-NumberBox--error: createThemeVar("Input:borderRadius-#{$componentName}--error");
318 | $borderRadius-NumberBox--warning: createThemeVar("Input:borderRadius-#{$componentName}--warning");
319 | $borderRadius-NumberBox--success: createThemeVar("Input:borderRadius-#{$componentName}--success");
320 | ```
321 |
322 | ### Inconsistent State Naming
323 | Always use `--` for states, never `-`. If you find incorrect naming, note it for correction but don't extract those variables during refactoring.
324 |
325 | ## New Findings from Recent Refactorings
326 |
327 | ### CSS !important Flag Behavior
328 | The CSS `!important` flag can be used with SASS variables when they are referenced in property declarations, but NOT in variable assignments:
329 |
330 | **✅ Valid - !important on CSS property:**
331 | ```scss
332 | h1 {
333 | margin-top: $marginTop-H1-markdown !important; // Correct
334 | font-size: $fontSize-H1-markdown !important; // Correct
335 | }
336 | ```
337 |
338 | This compiles to:
339 | ```css
340 | h1 {
341 | margin-top: var(--marginTop-H1-markdown) !important;
342 | }
343 | ```
344 |
345 | **❌ Invalid - !important on variable assignment:**
346 | ```scss
347 | // This has no effect and should not be used
348 | $marginTop-H1-markdown: createThemeVar("marginTop-H1-markdown") !important;
349 | ```
350 |
351 | The `!important` flag is a CSS feature that applies to property values in the compiled output, not to SASS variable definitions.
352 |
353 | ### Complex Components with Multiple Contexts
354 |
355 | Some components like Markdown have variables used in multiple contexts:
356 |
357 | 1. **Component-level properties** - applied to the root element (e.g., `paddingTop-Markdown`)
358 | 2. **Sub-element properties** - for distinct parts like blockquotes, admonitions (e.g., `backgroundColor-Blockquote`)
359 | 3. **Contextual variations** - elements styled differently within the component (e.g., `marginTop-H1-markdown`, `marginTop-Image-markdown`)
360 | 4. **Sub-element variants** - variations of sub-elements (e.g., `backgroundColor-Admonition-info`, `backgroundColor-Admonition-warning`)
361 |
362 | When refactoring complex components:
363 | - Group variables logically by their context (use comments to separate groups)
364 | - Maintain the `-markdown` suffix for contextual variations to distinguish them from standalone component variables
365 | - Sub-element variants should follow the pattern: `{property}-{part}-{component}-{variant}` (e.g., `backgroundColor-Admonition-info`)
366 |
367 | **Example from Markdown component:**
368 | ```scss
369 | // Variables for main Markdown container
370 | $paddingTop-MarkDown: createThemeVar("paddingTop-Markdown");
371 | $backgroundColor-MarkDown: createThemeVar("backgroundColor-Markdown");
372 |
373 | // Variables for Text-markdown (contextual variation)
374 | $marginTop-Text-markdown: createThemeVar("marginTop-Text-markdown");
375 | $marginLeft-Text-markdown: createThemeVar("marginLeft-Text-markdown");
376 |
377 | // Variables for Admonition sub-element
378 | $backgroundColor-Admonition: createThemeVar("backgroundColor-Admonition");
379 | $marginTop-Admonition: createThemeVar("marginTop-Admonition");
380 |
381 | // Variables for Admonition variants
382 | $backgroundColor-Admonition-info: createThemeVar("backgroundColor-Admonition-info");
383 | $backgroundColor-Admonition-warning: createThemeVar("backgroundColor-Admonition-warning");
384 | $backgroundColor-Admonition-danger: createThemeVar("backgroundColor-Admonition-danger");
385 | ```
386 |
387 | ### Components with Minimal Variables
388 |
389 | Not all components have numerous theme variables. Some simpler components like:
390 | - **IFrame** - Only 2 variables (`width-IFrame`, `height-IFrame`)
391 | - **Image** - Only 2 variables (`borderRadius-Image`, `borderColor-Image`)
392 |
393 | For these simple components, the refactoring is straightforward with just a few variable declarations before the `@layer` block.
394 |
395 | ## Special Cases
396 |
397 | ### Markdown Component - Hybrid Content Renderer
398 |
399 | The **Markdown** component is a special case that doesn't fit into the standard complexity levels. It acts as a content renderer that styles multiple different elements and contexts within markdown content.
400 |
401 | **Unique characteristics:**
402 | 1. **Multiple component contexts** - Styles many different HTML elements (h1-h6, images, blockquotes, horizontal rules, etc.)
403 | 2. **Contextual variations** - Same element types styled differently within markdown (e.g., `H1-markdown` vs standalone `H1`)
404 | 3. **Sub-element variants** - Has variant systems for sub-elements (e.g., Admonition with info/warning/danger/note/tip variants)
405 | 4. **Mixed naming patterns** - Uses both component-level naming and contextual suffixes
406 |
407 | **Variable organization pattern:**
408 | ```scss
409 | // Variables for main Markdown container
410 | $paddingTop-MarkDown: createThemeVar("paddingTop-Markdown");
411 | $backgroundColor-MarkDown: createThemeVar("backgroundColor-Markdown");
412 |
413 | // Variables for Text-markdown (contextual variation)
414 | $marginTop-Text-markdown: createThemeVar("marginTop-Text-markdown");
415 | $marginLeft-Text-markdown: createThemeVar("marginLeft-Text-markdown");
416 |
417 | // Variables for Heading margins in markdown context
418 | $marginTop-H1-markdown: createThemeVar("marginTop-H1-markdown");
419 | $marginBottom-H1-markdown: createThemeVar("marginBottom-H1-markdown");
420 | $fontSize-H1-markdown: createThemeVar("fontSize-H1-markdown");
421 | // ... repeat for H2-H6
422 |
423 | // Variables for Image in markdown context
424 | $marginTop-Image-markdown: createThemeVar("marginTop-Image-markdown");
425 | $marginBottom-Image-markdown: createThemeVar("marginBottom-Image-markdown");
426 |
427 | // Variables for Blockquote sub-element
428 | $backgroundColor-Blockquote: createThemeVar("backgroundColor-Blockquote");
429 | $marginTop-Blockquote: createThemeVar("marginTop-Blockquote");
430 | $color-accent-Blockquote: createThemeVar("color-accent-Blockquote");
431 |
432 | // Variables for Admonition sub-element
433 | $backgroundColor-Admonition: createThemeVar("backgroundColor-Admonition");
434 | $borderRadius-Admonition: createThemeVar("borderRadius-Admonition");
435 |
436 | // Variables for Admonition variants
437 | $backgroundColor-Admonition-info: createThemeVar("backgroundColor-Admonition-info");
438 | $borderColor-Admonition-info: createThemeVar("borderColor-Admonition-info");
439 | $backgroundColor-Admonition-warning: createThemeVar("backgroundColor-Admonition-warning");
440 | $borderColor-Admonition-warning: createThemeVar("borderColor-Admonition-warning");
441 | // ... etc
442 |
443 | // Variables for HorizontalRule
444 | $borderColor-HorizontalRule: createThemeVar("borderColor-HorizontalRule");
445 | $borderStyle-HorizontalRule: createThemeVar("borderStyle-HorizontalRule");
446 | $borderWidth-HorizontalRule: createThemeVar("borderWidth-HorizontalRule");
447 | ```
448 |
449 | **Key differences from other components:**
450 | - Uses `-markdown` suffix to differentiate contextual element styles from standalone components
451 | - Combines multiple sub-elements (Blockquote, Admonition, HorizontalRule) each with their own properties
452 | - Has variant systems for sub-elements (not for the Markdown component itself)
453 | - Requires careful grouping with comments to maintain readability due to the large number of variables
454 |
455 | When refactoring Markdown-like components, prioritize logical grouping by context and use clear comments to separate different sections.
456 |
457 | ## Refactoring Progress
458 |
459 | ### ✅ Completed Refactorings
460 |
461 | 1. **TextBox**
462 | 2. **NumberBox**
463 | 3. **Carousel** ⚠️ Has incorrect naming (uses `-hover` instead of `--hover`) - needs correction
464 | 4. **Image**
465 | 5. **Link**
466 | 6. **Heading**
467 | 7. **IFrame**
468 | 8. **Markdown**
469 | 9. **Button**
470 | 10. **Text**
471 | 11. **FormItem**
472 | 12. **Form**
473 | 13. **NavPanel**
474 | 14. **NavLink**
475 | 15. **Table**
476 | 16. **App**
477 | 17. **AppHeader**
478 | 18. **AutoComplete**
479 | 19. **ColorPicker**
480 | 20. **DateInput**
481 | 21. **FileInput**
482 | 22. **Pagination**
483 | 23. **RadioGroup**
484 | 24. **ToneSwitch**
485 | 25. **TreeDisplay**
486 | 26. **TableOfContents**
487 | 27. **TextArea**
488 | 28. **TimeInput**
489 | 29. **Slider**
490 | 30. **Select**
491 | 31. **DatePicker**
492 | 32. **Toggle** (contains both Checkbox and Switch)
493 |
494 | **Total: 32 components refactored**
495 |
496 | ### 📦 Components Using Shared Stylesheets
497 |
498 | The following components share stylesheets with already-refactored components and are therefore complete:
499 |
500 | 1. **H1** - Uses `Heading.module.scss` (Heading already refactored #6)
501 | 2. **H2** - Uses `Heading.module.scss` (Heading already refactored #6)
502 | 3. **H3** - Uses `Heading.module.scss` (Heading already refactored #6)
503 | 4. **H4** - Uses `Heading.module.scss` (Heading already refactored #6)
504 | 5. **H5** - Uses `Heading.module.scss` (Heading already refactored #6)
505 | 6. **H6** - Uses `Heading.module.scss` (Heading already refactored #6)
506 | 7. **CarouselItem** - Uses `Carousel.module.scss` (Carousel already refactored #3)
507 | 8. **RadioItem** - Uses `RadioGroup.module.scss` (RadioGroup already refactored #23)
508 | 9. **Password** - Uses `TextBox.module.scss` (TextBox already refactored #1)
509 |
510 | **Total: 9 additional components complete via shared stylesheets**
511 |
512 | ### ⚠️ Components Skipped
513 |
514 | 1. **Accordion** - Incorrect variable naming (single dash for states instead of double dash)
515 |
516 | ### 📋 Components Remaining
517 |
518 | Approximately **1 component** still needs refactoring (out of 42 total with unexposed theme variables, accounting for 32 direct refactorings + 9 shared-stylesheet components + 1 skipped).
519 |
520 |
```