This is page 137 of 189. Use http://codebase.md/xmlui-org/xmlui/tools/vscode/resources/assets/img/%7BextractResourceUrl(node.props.src)%7D?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .changeset
│ ├── config.json
│ ├── cyan-tools-design.md
│ ├── every-moments-teach.md
│ ├── fancy-laws-drop.md
│ ├── full-symbols-accept.md
│ └── tricky-zoos-crash.md
├── .eslintrc.cjs
├── .github
│ ├── build-checklist.png
│ ├── ISSUE_TEMPLATE
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ └── workflows
│ ├── deploy-blog-optimized.yml
│ ├── deploy-blog-swa.yml
│ ├── deploy-blog.yml
│ ├── deploy-docs-optimized.yml
│ ├── deploy-docs-swa.yml
│ ├── deploy-docs.yml
│ ├── prepare-versions.yml
│ ├── release-packages.yml
│ ├── run-all-tests.yml
│ └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│ ├── launch.json
│ └── settings.json
├── blog
│ ├── .gitignore
│ ├── .gitkeep
│ ├── CHANGELOG.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── blog
│ │ │ ├── images
│ │ │ │ ├── an-advanced-codefence.gif
│ │ │ │ ├── an-advanced-codefence.mp4
│ │ │ │ ├── blog-page-component.png
│ │ │ │ ├── blog-scrabble.png
│ │ │ │ ├── codefence-runner.png
│ │ │ │ ├── integrated-blog-search.png
│ │ │ │ ├── lorem-ipsum.png
│ │ │ │ ├── playground-checkbox-source.png
│ │ │ │ ├── playground.png
│ │ │ │ ├── use-xmlui-mcp-to-find-a-howto.png
│ │ │ │ └── xmlui-demo-gallery.png
│ │ │ ├── introducing-xmlui.md
│ │ │ ├── lorem-ipsum.md
│ │ │ ├── newest-post.md
│ │ │ ├── older-post.md
│ │ │ ├── xmlui-playground.md
│ │ │ └── xmlui-powered-blog.md
│ │ ├── mockServiceWorker.js
│ │ ├── resources
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ └── for-download
│ │ │ │ └── xmlui
│ │ │ │ └── xmlui-standalone.umd.js
│ │ │ ├── github.svg
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ ├── rss.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ ├── staticwebapp.config.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ └── PageNotFound.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── blog-theme.ts
│ └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── ComponentRefLinks.txt
│ ├── content
│ │ ├── _meta.json
│ │ ├── components
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── APICall.md
│ │ │ ├── App.md
│ │ │ ├── AppHeader.md
│ │ │ ├── AppState.md
│ │ │ ├── AutoComplete.md
│ │ │ ├── Avatar.md
│ │ │ ├── Backdrop.md
│ │ │ ├── Badge.md
│ │ │ ├── BarChart.md
│ │ │ ├── Bookmark.md
│ │ │ ├── Breakout.md
│ │ │ ├── Button.md
│ │ │ ├── Card.md
│ │ │ ├── Carousel.md
│ │ │ ├── ChangeListener.md
│ │ │ ├── Checkbox.md
│ │ │ ├── CHStack.md
│ │ │ ├── ColorPicker.md
│ │ │ ├── Column.md
│ │ │ ├── ContentSeparator.md
│ │ │ ├── CVStack.md
│ │ │ ├── DataSource.md
│ │ │ ├── DateInput.md
│ │ │ ├── DatePicker.md
│ │ │ ├── DonutChart.md
│ │ │ ├── DropdownMenu.md
│ │ │ ├── EmojiSelector.md
│ │ │ ├── ExpandableItem.md
│ │ │ ├── FileInput.md
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FlowLayout.md
│ │ │ ├── Footer.md
│ │ │ ├── Form.md
│ │ │ ├── FormItem.md
│ │ │ ├── FormSection.md
│ │ │ ├── Fragment.md
│ │ │ ├── H1.md
│ │ │ ├── H2.md
│ │ │ ├── H3.md
│ │ │ ├── H4.md
│ │ │ ├── H5.md
│ │ │ ├── H6.md
│ │ │ ├── Heading.md
│ │ │ ├── HSplitter.md
│ │ │ ├── HStack.md
│ │ │ ├── Icon.md
│ │ │ ├── IFrame.md
│ │ │ ├── Image.md
│ │ │ ├── Items.md
│ │ │ ├── LabelList.md
│ │ │ ├── Legend.md
│ │ │ ├── LineChart.md
│ │ │ ├── Link.md
│ │ │ ├── List.md
│ │ │ ├── Logo.md
│ │ │ ├── Markdown.md
│ │ │ ├── MenuItem.md
│ │ │ ├── MenuSeparator.md
│ │ │ ├── ModalDialog.md
│ │ │ ├── NavGroup.md
│ │ │ ├── NavLink.md
│ │ │ ├── NavPanel.md
│ │ │ ├── NoResult.md
│ │ │ ├── NumberBox.md
│ │ │ ├── Option.md
│ │ │ ├── Page.md
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── Pages.md
│ │ │ ├── Pagination.md
│ │ │ ├── PasswordInput.md
│ │ │ ├── PieChart.md
│ │ │ ├── ProgressBar.md
│ │ │ ├── Queue.md
│ │ │ ├── RadioGroup.md
│ │ │ ├── RealTimeAdapter.md
│ │ │ ├── Redirect.md
│ │ │ ├── Select.md
│ │ │ ├── Slider.md
│ │ │ ├── Slot.md
│ │ │ ├── SpaceFiller.md
│ │ │ ├── Spinner.md
│ │ │ ├── Splitter.md
│ │ │ ├── Stack.md
│ │ │ ├── StickyBox.md
│ │ │ ├── SubMenuItem.md
│ │ │ ├── Switch.md
│ │ │ ├── TabItem.md
│ │ │ ├── Table.md
│ │ │ ├── TableOfContents.md
│ │ │ ├── Tabs.md
│ │ │ ├── Text.md
│ │ │ ├── TextArea.md
│ │ │ ├── TextBox.md
│ │ │ ├── Theme.md
│ │ │ ├── TimeInput.md
│ │ │ ├── Timer.md
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneSwitch.md
│ │ │ ├── Tooltip.md
│ │ │ ├── Tree.md
│ │ │ ├── VSplitter.md
│ │ │ ├── VStack.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ ├── xmlui-spreadsheet
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Spreadsheet.md
│ │ │ └── xmlui-website-blocks
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── Carousel.md
│ │ │ ├── HelloMd.md
│ │ │ ├── HeroSection.md
│ │ │ └── ScrollToTop.md
│ │ └── extensions
│ │ ├── _meta.json
│ │ ├── xmlui-animations
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── Animation.md
│ │ │ ├── FadeAnimation.md
│ │ │ ├── FadeInAnimation.md
│ │ │ ├── FadeOutAnimation.md
│ │ │ ├── ScaleAnimation.md
│ │ │ └── SlideInAnimation.md
│ │ └── xmlui-website-blocks
│ │ ├── _meta.json
│ │ ├── _overview.md
│ │ ├── Carousel.md
│ │ ├── HelloMd.md
│ │ ├── HeroSection.md
│ │ └── ScrollToTop.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── feed.rss
│ │ ├── mockServiceWorker.js
│ │ ├── pages
│ │ │ ├── _meta.json
│ │ │ ├── app-structure.md
│ │ │ ├── build-editor-component.md
│ │ │ ├── build-hello-world-component.md
│ │ │ ├── components-intro.md
│ │ │ ├── context-variables.md
│ │ │ ├── forms.md
│ │ │ ├── globals.md
│ │ │ ├── glossary.md
│ │ │ ├── helper-tags.md
│ │ │ ├── hosted-deployment.md
│ │ │ ├── howto
│ │ │ │ ├── assign-a-complex-json-literal-to-a-component-variable.md
│ │ │ │ ├── chain-a-refetch.md
│ │ │ │ ├── control-cache-invalidation.md
│ │ │ │ ├── debounce-user-input-for-api-calls.md
│ │ │ │ ├── debounce-with-changelistener.md
│ │ │ │ ├── debug-a-component.md
│ │ │ │ ├── delay-a-datasource-until-another-datasource-is-ready.md
│ │ │ │ ├── delegate-a-method.md
│ │ │ │ ├── do-custom-form-validation.md
│ │ │ │ ├── expose-a-method-from-a-component.md
│ │ │ │ ├── filter-and-transform-data-from-an-api.md
│ │ │ │ ├── group-items-in-list-by-a-property.md
│ │ │ │ ├── handle-background-operations.md
│ │ │ │ ├── hide-an-element-until-its-datasource-is-ready.md
│ │ │ │ ├── make-a-set-of-equal-width-cards.md
│ │ │ │ ├── make-a-table-responsive.md
│ │ │ │ ├── make-navpanel-width-responsive.md
│ │ │ │ ├── modify-a-value-reported-in-a-column.md
│ │ │ │ ├── paginate-a-list.md
│ │ │ │ ├── pass-data-to-a-modal-dialog.md
│ │ │ │ ├── react-to-button-click-not-keystrokes.md
│ │ │ │ ├── set-the-initial-value-of-a-select-from-fetched-data.md
│ │ │ │ ├── share-a-modaldialog-across-components.md
│ │ │ │ ├── sync-selections-between-table-and-list-views.md
│ │ │ │ ├── update-ui-optimistically.md
│ │ │ │ ├── use-built-in-form-validation.md
│ │ │ │ └── use-the-same-modaldialog-to-add-or-edit.md
│ │ │ ├── howto.md
│ │ │ ├── intro.md
│ │ │ ├── layout.md
│ │ │ ├── markup.md
│ │ │ ├── mcp.md
│ │ │ ├── modal-dialogs.md
│ │ │ ├── news-and-reviews.md
│ │ │ ├── reactive-intro.md
│ │ │ ├── refactoring.md
│ │ │ ├── routing-and-links.md
│ │ │ ├── samples
│ │ │ │ ├── color-palette.xmlui
│ │ │ │ ├── color-values.xmlui
│ │ │ │ ├── shadow-sizes.xmlui
│ │ │ │ ├── spacing-sizes.xmlui
│ │ │ │ ├── swatch.xmlui
│ │ │ │ ├── theme-gallery-brief.xmlui
│ │ │ │ └── theme-gallery.xmlui
│ │ │ ├── scoping.md
│ │ │ ├── scripting.md
│ │ │ ├── styles-and-themes
│ │ │ │ ├── common-units.md
│ │ │ │ ├── layout-props.md
│ │ │ │ ├── theme-variable-defaults.md
│ │ │ │ ├── theme-variables.md
│ │ │ │ └── themes.md
│ │ │ ├── template-properties.md
│ │ │ ├── test.md
│ │ │ ├── tutorial-01.md
│ │ │ ├── tutorial-02.md
│ │ │ ├── tutorial-03.md
│ │ │ ├── tutorial-04.md
│ │ │ ├── tutorial-05.md
│ │ │ ├── tutorial-06.md
│ │ │ ├── tutorial-07.md
│ │ │ ├── tutorial-08.md
│ │ │ ├── tutorial-09.md
│ │ │ ├── tutorial-10.md
│ │ │ ├── tutorial-11.md
│ │ │ ├── tutorial-12.md
│ │ │ ├── universal-properties.md
│ │ │ ├── user-defined-components.md
│ │ │ ├── vscode.md
│ │ │ ├── working-with-markdown.md
│ │ │ ├── working-with-text.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-charts
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── DonutChart.md
│ │ │ │ ├── LabelList.md
│ │ │ │ ├── Legend.md
│ │ │ │ ├── LineChart.md
│ │ │ │ └── PieChart.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ └── xmlui-spreadsheet
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ └── Spreadsheet.md
│ │ ├── resources
│ │ │ ├── devdocs
│ │ │ │ ├── debug-proxy-object-2.png
│ │ │ │ ├── debug-proxy-object.png
│ │ │ │ ├── table_editor_01.png
│ │ │ │ ├── table_editor_02.png
│ │ │ │ ├── table_editor_03.png
│ │ │ │ ├── table_editor_04.png
│ │ │ │ ├── table_editor_05.png
│ │ │ │ ├── table_editor_06.png
│ │ │ │ ├── table_editor_07.png
│ │ │ │ ├── table_editor_08.png
│ │ │ │ ├── table_editor_09.png
│ │ │ │ ├── table_editor_10.png
│ │ │ │ ├── table_editor_11.png
│ │ │ │ ├── table-editor-01.png
│ │ │ │ ├── table-editor-02.png
│ │ │ │ ├── table-editor-03.png
│ │ │ │ ├── table-editor-04.png
│ │ │ │ ├── table-editor-06.png
│ │ │ │ ├── table-editor-07.png
│ │ │ │ ├── table-editor-08.png
│ │ │ │ ├── table-editor-09.png
│ │ │ │ └── xmlui-rendering-of-tiptap-markdown.png
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ ├── clients.json
│ │ │ │ ├── daily-revenue.json
│ │ │ │ ├── dashboard-stats.json
│ │ │ │ ├── demo.xmlui
│ │ │ │ ├── demo.xmlui.xs
│ │ │ │ ├── downloads
│ │ │ │ │ └── downloads.json
│ │ │ │ ├── for-download
│ │ │ │ │ ├── index-with-api.html
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── mockApi.js
│ │ │ │ │ ├── start-darwin.sh
│ │ │ │ │ ├── start-linux.sh
│ │ │ │ │ ├── start.bat
│ │ │ │ │ └── xmlui
│ │ │ │ │ └── xmlui-standalone.umd.js
│ │ │ │ ├── getting-started
│ │ │ │ │ ├── cl-tutorial-final.zip
│ │ │ │ │ ├── cl-tutorial.zip
│ │ │ │ │ ├── cl-tutorial2.zip
│ │ │ │ │ ├── cl-tutorial3.zip
│ │ │ │ │ ├── cl-tutorial4.zip
│ │ │ │ │ ├── cl-tutorial5.zip
│ │ │ │ │ ├── cl-tutorial6.zip
│ │ │ │ │ ├── getting-started.zip
│ │ │ │ │ ├── hello-xmlui.zip
│ │ │ │ │ ├── xmlui-empty.zip
│ │ │ │ │ └── xmlui-starter.zip
│ │ │ │ ├── howto
│ │ │ │ │ └── component-icons
│ │ │ │ │ └── up-arrow.svg
│ │ │ │ ├── invoices.json
│ │ │ │ ├── monthly-status.json
│ │ │ │ ├── news-and-reviews.json
│ │ │ │ ├── products.json
│ │ │ │ ├── releases.json
│ │ │ │ ├── tutorials
│ │ │ │ │ ├── datasource
│ │ │ │ │ │ └── api.ts
│ │ │ │ │ └── p2do
│ │ │ │ │ ├── api.ts
│ │ │ │ │ └── todo-logo.svg
│ │ │ │ └── xmlui.json
│ │ │ ├── github.svg
│ │ │ ├── images
│ │ │ │ ├── apiaction-tutorial
│ │ │ │ │ ├── add-success.png
│ │ │ │ │ ├── apiaction-param.png
│ │ │ │ │ ├── change-completed.png
│ │ │ │ │ ├── change-in-progress.png
│ │ │ │ │ ├── confirm-delete.png
│ │ │ │ │ ├── data-error.png
│ │ │ │ │ ├── data-progress.png
│ │ │ │ │ ├── data-success.png
│ │ │ │ │ ├── display-1.png
│ │ │ │ │ ├── item-deleted.png
│ │ │ │ │ ├── item-updated.png
│ │ │ │ │ ├── missing-api-key.png
│ │ │ │ │ ├── new-item-added.png
│ │ │ │ │ └── test-message.png
│ │ │ │ ├── chat-api
│ │ │ │ │ └── domain-model.svg
│ │ │ │ ├── components
│ │ │ │ │ ├── image
│ │ │ │ │ │ └── breakfast.jpg
│ │ │ │ │ ├── markdown
│ │ │ │ │ │ └── colors.png
│ │ │ │ │ └── modal
│ │ │ │ │ ├── deep_link_dialog_1.jpg
│ │ │ │ │ └── deep_link_dialog_2.jpg
│ │ │ │ ├── create-apps
│ │ │ │ │ ├── collapsed-vertical.png
│ │ │ │ │ ├── using-forms-warning-dialog.png
│ │ │ │ │ └── using-forms.png
│ │ │ │ ├── datasource-tutorial
│ │ │ │ │ ├── data-with-header.png
│ │ │ │ │ ├── filtered-data.png
│ │ │ │ │ ├── filtered-items.png
│ │ │ │ │ ├── initial-page-items.png
│ │ │ │ │ ├── list-items.png
│ │ │ │ │ ├── next-page-items.png
│ │ │ │ │ ├── no-data.png
│ │ │ │ │ ├── pagination-1.jpg
│ │ │ │ │ ├── pagination-1.png
│ │ │ │ │ ├── polling-1.png
│ │ │ │ │ ├── refetch-data.png
│ │ │ │ │ ├── slow-loading.png
│ │ │ │ │ ├── test-message.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── unconventional-data.png
│ │ │ │ │ └── unfiltered-items.png
│ │ │ │ ├── flower.jpg
│ │ │ │ ├── get-started
│ │ │ │ │ ├── add-new-contact.png
│ │ │ │ │ ├── app-modified.png
│ │ │ │ │ ├── app-start.png
│ │ │ │ │ ├── app-with-boxes.png
│ │ │ │ │ ├── app-with-toast.png
│ │ │ │ │ ├── boilerplate-structure.png
│ │ │ │ │ ├── cl-initial.png
│ │ │ │ │ ├── cl-start.png
│ │ │ │ │ ├── contact-counts.png
│ │ │ │ │ ├── contact-dialog-title.png
│ │ │ │ │ ├── contact-dialog.png
│ │ │ │ │ ├── contact-menus.png
│ │ │ │ │ ├── contact-predicates.png
│ │ │ │ │ ├── context-menu.png
│ │ │ │ │ ├── dashboard-numbers.png
│ │ │ │ │ ├── default-contact-list.png
│ │ │ │ │ ├── delete-contact.png
│ │ │ │ │ ├── delete-task.png
│ │ │ │ │ ├── detailed-template.png
│ │ │ │ │ ├── edit-contact-details.png
│ │ │ │ │ ├── edited-contact-saved.png
│ │ │ │ │ ├── empty-sections.png
│ │ │ │ │ ├── filter-completed.png
│ │ │ │ │ ├── fullwidth-desktop.png
│ │ │ │ │ ├── fullwidth-mobile.png
│ │ │ │ │ ├── initial-table.png
│ │ │ │ │ ├── items-and-badges.png
│ │ │ │ │ ├── loading-message.png
│ │ │ │ │ ├── new-contact-button.png
│ │ │ │ │ ├── new-contact-saved.png
│ │ │ │ │ ├── no-empty-sections.png
│ │ │ │ │ ├── personal-todo-initial.png
│ │ │ │ │ ├── piechart.png
│ │ │ │ │ ├── review-today.png
│ │ │ │ │ ├── rudimentary-dashboard.png
│ │ │ │ │ ├── section-collapsed.png
│ │ │ │ │ ├── sectioned-items.png
│ │ │ │ │ ├── sections-ordered.png
│ │ │ │ │ ├── spacex-list-with-links.png
│ │ │ │ │ ├── spacex-list.png
│ │ │ │ │ ├── start-personal-todo-1.png
│ │ │ │ │ ├── submit-new-contact.png
│ │ │ │ │ ├── submit-new-task.png
│ │ │ │ │ ├── syntax-highlighting.png
│ │ │ │ │ ├── table-with-badge.png
│ │ │ │ │ ├── template-with-card.png
│ │ │ │ │ ├── test-emulated-api.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── todo-logo.png
│ │ │ │ │ └── xmlui-tools.png
│ │ │ │ ├── HelloApp.png
│ │ │ │ ├── HelloApp2.png
│ │ │ │ ├── logos
│ │ │ │ │ ├── xmlui1.svg
│ │ │ │ │ ├── xmlui2.svg
│ │ │ │ │ ├── xmlui3.svg
│ │ │ │ │ ├── xmlui4.svg
│ │ │ │ │ ├── xmlui5.svg
│ │ │ │ │ ├── xmlui6.svg
│ │ │ │ │ └── xmlui7.svg
│ │ │ │ ├── pdf
│ │ │ │ │ └── dummy-pdf.jpg
│ │ │ │ ├── rendering-engine
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ ├── Component.svg
│ │ │ │ │ ├── CompoundComponent.svg
│ │ │ │ │ ├── RootComponent.svg
│ │ │ │ │ └── tree-with-containers.svg
│ │ │ │ ├── reviewers-guide
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ └── incbutton-in-action.png
│ │ │ │ ├── tools
│ │ │ │ │ └── boilerplate-structure.png
│ │ │ │ ├── try.svg
│ │ │ │ ├── tutorial
│ │ │ │ │ ├── app-chat-history.png
│ │ │ │ │ ├── app-content-placeholder.png
│ │ │ │ │ ├── app-header-and-content.png
│ │ │ │ │ ├── app-links-channel-selected.png
│ │ │ │ │ ├── app-links-click.png
│ │ │ │ │ ├── app-navigation.png
│ │ │ │ │ ├── finished-ex01.png
│ │ │ │ │ ├── finished-ex02.png
│ │ │ │ │ ├── hello.png
│ │ │ │ │ ├── splash-screen-advanced.png
│ │ │ │ │ ├── splash-screen-after-click.png
│ │ │ │ │ ├── splash-screen-centered.png
│ │ │ │ │ ├── splash-screen-events.png
│ │ │ │ │ ├── splash-screen-expression.png
│ │ │ │ │ ├── splash-screen-reuse-after.png
│ │ │ │ │ ├── splash-screen-reuse-before.png
│ │ │ │ │ └── splash-screen.png
│ │ │ │ └── tutorial-01.png
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ ├── Boxes.xmlui
│ │ │ ├── Breadcrumb.xmlui
│ │ │ ├── ChangeLog.xmlui
│ │ │ ├── ColorPalette.xmlui
│ │ │ ├── DocumentLinks.xmlui
│ │ │ ├── DocumentPage.xmlui
│ │ │ ├── DocumentPageNoTOC.xmlui
│ │ │ ├── Icons.xmlui
│ │ │ ├── IncButton.xmlui
│ │ │ ├── IncButton2.xmlui
│ │ │ ├── NameValue.xmlui
│ │ │ ├── PageNotFound.xmlui
│ │ │ ├── PaletteItem.xmlui
│ │ │ ├── Palettes.xmlui
│ │ │ ├── SectionHeader.xmlui
│ │ │ ├── TBD.xmlui
│ │ │ ├── Test.xmlui
│ │ │ ├── ThemesIntro.xmlui
│ │ │ ├── ThousandThemes.xmlui
│ │ │ ├── TubeStops.xmlui
│ │ │ ├── TubeStops.xmlui.xs
│ │ │ └── TwoColumnCode.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ ├── docs-theme.ts
│ │ ├── earthtone.ts
│ │ ├── xmlui-gray-on-default.ts
│ │ ├── xmlui-green-on-default.ts
│ │ └── xmlui-orange-on-default.ts
│ └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│ ├── tsconfig.json
│ ├── xmlui-animations
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── Animation.tsx
│ │ ├── AnimationNative.tsx
│ │ ├── FadeAnimation.tsx
│ │ ├── FadeInAnimation.tsx
│ │ ├── FadeOutAnimation.tsx
│ │ ├── index.tsx
│ │ ├── ScaleAnimation.tsx
│ │ └── SlideInAnimation.tsx
│ ├── xmlui-devtools
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── devtools
│ │ │ │ ├── DevTools.tsx
│ │ │ │ ├── DevToolsNative.module.scss
│ │ │ │ ├── DevToolsNative.tsx
│ │ │ │ ├── ModalDialog.module.scss
│ │ │ │ ├── ModalDialog.tsx
│ │ │ │ ├── ModalVisibilityContext.tsx
│ │ │ │ ├── Tooltip.module.scss
│ │ │ │ ├── Tooltip.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── editor
│ │ │ │ └── Editor.tsx
│ │ │ └── index.tsx
│ │ └── vite.config-overrides.ts
│ ├── xmlui-hello-world
│ │ ├── .gitignore
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── HelloWorld.module.scss
│ │ ├── HelloWorld.tsx
│ │ ├── HelloWorldNative.tsx
│ │ └── index.tsx
│ ├── xmlui-os-frames
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── IPhoneFrame.module.scss
│ │ ├── IPhoneFrame.tsx
│ │ ├── MacOSAppFrame.module.scss
│ │ ├── MacOSAppFrame.tsx
│ │ ├── WindowsAppFrame.module.scss
│ │ └── WindowsAppFrame.tsx
│ ├── xmlui-pdf
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ ├── components
│ │ │ │ └── Pdf.xmlui
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── LazyPdfNative.tsx
│ │ ├── Pdf.module.scss
│ │ └── Pdf.tsx
│ ├── xmlui-playground
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── hooks
│ │ │ ├── usePlayground.ts
│ │ │ └── useToast.ts
│ │ ├── index.tsx
│ │ ├── playground
│ │ │ ├── Box.module.scss
│ │ │ ├── Box.tsx
│ │ │ ├── CodeSelector.module.scss
│ │ │ ├── CodeSelector.tsx
│ │ │ ├── ConfirmationDialog.module.scss
│ │ │ ├── ConfirmationDialog.tsx
│ │ │ ├── Editor.tsx
│ │ │ ├── Header.module.scss
│ │ │ ├── Header.tsx
│ │ │ ├── Playground.tsx
│ │ │ ├── PlaygroundContent.module.scss
│ │ │ ├── PlaygroundContent.tsx
│ │ │ ├── PlaygroundNative.module.scss
│ │ │ ├── PlaygroundNative.tsx
│ │ │ ├── Preview.tsx
│ │ │ ├── StandalonePlayground.tsx
│ │ │ ├── StandalonePlaygroundNative.module.scss
│ │ │ ├── StandalonePlaygroundNative.tsx
│ │ │ ├── ThemeSwitcher.module.scss
│ │ │ ├── ThemeSwitcher.tsx
│ │ │ └── utils.ts
│ │ ├── providers
│ │ │ ├── Toast.module.scss
│ │ │ └── ToastProvider.tsx
│ │ ├── state
│ │ │ └── store.ts
│ │ ├── themes
│ │ │ └── theme.ts
│ │ └── utils
│ │ └── helpers.ts
│ ├── xmlui-search
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Search.module.scss
│ │ └── Search.tsx
│ ├── xmlui-spreadsheet
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Spreadsheet.tsx
│ │ └── SpreadsheetNative.tsx
│ └── xmlui-website-blocks
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── demo
│ │ ├── components
│ │ │ ├── HeroBackgroundBreakoutPage.xmlui
│ │ │ ├── HeroBackgroundsPage.xmlui
│ │ │ ├── HeroContentsPage.xmlui
│ │ │ ├── HeroTextAlignPage.xmlui
│ │ │ ├── HeroTextPage.xmlui
│ │ │ └── HeroTonesPage.xmlui
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── default.ts
│ ├── index.html
│ ├── index.ts
│ ├── meta
│ │ └── componentsMetadata.ts
│ ├── package.json
│ ├── public
│ │ └── resources
│ │ ├── building.jpg
│ │ └── xmlui-logo.svg
│ └── src
│ ├── Carousel
│ │ ├── Carousel.module.scss
│ │ ├── Carousel.tsx
│ │ ├── CarouselContext.tsx
│ │ └── CarouselNative.tsx
│ ├── FancyButton
│ │ ├── FancyButton.module.scss
│ │ ├── FancyButton.tsx
│ │ └── FancyButton.xmlui
│ ├── Hello
│ │ ├── Hello.tsx
│ │ ├── Hello.xmlui
│ │ └── Hello.xmlui.xs
│ ├── HeroSection
│ │ ├── HeroSection.module.scss
│ │ ├── HeroSection.spec.ts
│ │ ├── HeroSection.tsx
│ │ └── HeroSectionNative.tsx
│ ├── index.tsx
│ ├── ScrollToTop
│ │ ├── ScrollToTop.module.scss
│ │ ├── ScrollToTop.tsx
│ │ └── ScrollToTopNative.tsx
│ └── vite-env.d.ts
├── playwright.config.ts
├── README.md
├── tools
│ ├── codefence
│ │ └── xmlui-code-fence-docs.md
│ ├── create-app
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── create-app.ts
│ │ ├── helpers
│ │ │ ├── copy.ts
│ │ │ ├── get-pkg-manager.ts
│ │ │ ├── git.ts
│ │ │ ├── install.ts
│ │ │ ├── is-folder-empty.ts
│ │ │ ├── is-writeable.ts
│ │ │ ├── make-dir.ts
│ │ │ └── validate-pkg.ts
│ │ ├── index.ts
│ │ ├── package.json
│ │ ├── templates
│ │ │ ├── default
│ │ │ │ └── ts
│ │ │ │ ├── gitignore
│ │ │ │ ├── index.html
│ │ │ │ ├── index.ts
│ │ │ │ ├── public
│ │ │ │ │ ├── mockServiceWorker.js
│ │ │ │ │ ├── resources
│ │ │ │ │ │ ├── favicon.ico
│ │ │ │ │ │ └── xmlui-logo.svg
│ │ │ │ │ └── serve.json
│ │ │ │ └── src
│ │ │ │ ├── components
│ │ │ │ │ ├── ApiAware.xmlui
│ │ │ │ │ ├── Home.xmlui
│ │ │ │ │ ├── IncButton.xmlui
│ │ │ │ │ └── PagePanel.xmlui
│ │ │ │ ├── config.ts
│ │ │ │ └── Main.xmlui
│ │ │ ├── index.ts
│ │ │ └── types.ts
│ │ └── tsconfig.json
│ ├── create-xmlui-hello-world
│ │ ├── index.js
│ │ └── package.json
│ └── vscode
│ ├── .gitignore
│ ├── .vscode
│ │ ├── launch.json
│ │ └── tasks.json
│ ├── .vscodeignore
│ ├── build.sh
│ ├── CHANGELOG.md
│ ├── esbuild.js
│ ├── eslint.config.mjs
│ ├── formatter-docs.md
│ ├── generate-test-sample.sh
│ ├── LICENSE.md
│ ├── package-lock.json
│ ├── package.json
│ ├── README.md
│ ├── resources
│ │ ├── xmlui-logo.png
│ │ └── xmlui-markup-syntax-highlighting.png
│ ├── src
│ │ ├── extension.ts
│ │ └── server.ts
│ ├── syntaxes
│ │ └── xmlui.tmLanguage.json
│ ├── test-samples
│ │ └── sample.xmlui
│ ├── tsconfig.json
│ └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
├── .gitignore
├── bin
│ ├── bootstrap.cjs
│ ├── bootstrap.js
│ ├── build-lib.ts
│ ├── build.ts
│ ├── index.ts
│ ├── preview.ts
│ ├── start.ts
│ ├── vite-xmlui-plugin.ts
│ └── viteConfig.ts
├── CHANGELOG.md
├── conventions
│ ├── component-qa-checklist.md
│ ├── copilot-conventions.md
│ ├── create-xmlui-components.md
│ ├── mermaid.md
│ ├── testing-conventions.md
│ └── xmlui-in-a-nutshell.md
├── dev-docs
│ ├── accessibility.md
│ ├── build-system.md
│ ├── build-xmlui.md
│ ├── component-behaviors.md
│ ├── component-metadata.md
│ ├── components-with-options.md
│ ├── containers.md
│ ├── data-operations.md
│ ├── glossary.md
│ ├── index.md
│ ├── next
│ │ ├── component-dev-guide.md
│ │ ├── configuration-management-enhancement-summary.md
│ │ ├── documentation-scripts-refactoring-complete-summary.md
│ │ ├── documentation-scripts-refactoring-plan.md
│ │ ├── duplicate-pattern-extraction-summary.md
│ │ ├── error-handling-standardization-summary.md
│ │ ├── generating-component-reference.md
│ │ ├── index.md
│ │ ├── logging-consistency-implementation-summary.md
│ │ ├── project-build.md
│ │ ├── project-structure.md
│ │ ├── theme-context.md
│ │ ├── tiptap-design-considerations.md
│ │ ├── working-with-code.md
│ │ ├── xmlui-runtime-architecture
│ │ └── xmlui-wcag-accessibility-report.md
│ ├── react-fundamentals.md
│ ├── release-method.md
│ ├── standalone-app.md
│ ├── theme-variables-refactoring.md
│ ├── ud-components.md
│ └── xmlui-repo.md
├── package.json
├── scripts
│ ├── coverage-only.js
│ ├── e2e-test-summary.js
│ ├── extract-component-metadata.js
│ ├── generate-docs
│ │ ├── build-downloads-map.mjs
│ │ ├── build-pages-map.mjs
│ │ ├── components-config.json
│ │ ├── configuration-management.mjs
│ │ ├── constants.mjs
│ │ ├── create-theme-files.mjs
│ │ ├── DocsGenerator.mjs
│ │ ├── error-handling.mjs
│ │ ├── extensions-config.json
│ │ ├── folders.mjs
│ │ ├── generate-summary-files.mjs
│ │ ├── get-docs.mjs
│ │ ├── input-handler.mjs
│ │ ├── logger.mjs
│ │ ├── logging-standards.mjs
│ │ ├── MetadataProcessor.mjs
│ │ ├── pattern-utilities.mjs
│ │ └── utils.mjs
│ ├── generate-metadata-markdown.js
│ ├── get-langserver-metadata.js
│ ├── inline-links.mjs
│ └── README-e2e-summary.md
├── src
│ ├── abstractions
│ │ ├── _conventions.md
│ │ ├── ActionDefs.ts
│ │ ├── AppContextDefs.ts
│ │ ├── ComponentDefs.ts
│ │ ├── ContainerDefs.ts
│ │ ├── ExtensionDefs.ts
│ │ ├── FunctionDefs.ts
│ │ ├── RendererDefs.ts
│ │ ├── scripting
│ │ │ ├── BlockScope.ts
│ │ │ ├── Compilation.ts
│ │ │ ├── LogicalThread.ts
│ │ │ ├── LoopScope.ts
│ │ │ ├── modules.ts
│ │ │ ├── ScriptParserError.ts
│ │ │ ├── Token.ts
│ │ │ ├── TryScope.ts
│ │ │ └── TryScopeExp.ts
│ │ └── ThemingDefs.ts
│ ├── components
│ │ ├── _conventions.md
│ │ ├── abstractions.ts
│ │ ├── Accordion
│ │ │ ├── Accordion.md
│ │ │ ├── Accordion.module.scss
│ │ │ ├── Accordion.spec.ts
│ │ │ ├── Accordion.tsx
│ │ │ ├── AccordionContext.tsx
│ │ │ ├── AccordionItem.tsx
│ │ │ ├── AccordionItemNative.tsx
│ │ │ └── AccordionNative.tsx
│ │ ├── Animation
│ │ │ └── AnimationNative.tsx
│ │ ├── APICall
│ │ │ ├── APICall.md
│ │ │ ├── APICall.spec.ts
│ │ │ ├── APICall.tsx
│ │ │ └── APICallNative.tsx
│ │ ├── App
│ │ │ ├── App.md
│ │ │ ├── App.module.scss
│ │ │ ├── App.spec.ts
│ │ │ ├── App.tsx
│ │ │ ├── AppLayoutContext.ts
│ │ │ ├── AppNative.tsx
│ │ │ ├── AppStateContext.ts
│ │ │ ├── doc-resources
│ │ │ │ ├── condensed-sticky.xmlui
│ │ │ │ ├── condensed.xmlui
│ │ │ │ ├── horizontal-sticky.xmlui
│ │ │ │ ├── horizontal.xmlui
│ │ │ │ ├── vertical-full-header.xmlui
│ │ │ │ ├── vertical-sticky.xmlui
│ │ │ │ └── vertical.xmlui
│ │ │ ├── IndexerContext.ts
│ │ │ ├── LinkInfoContext.ts
│ │ │ ├── SearchContext.tsx
│ │ │ ├── Sheet.module.scss
│ │ │ └── Sheet.tsx
│ │ ├── AppHeader
│ │ │ ├── AppHeader.md
│ │ │ ├── AppHeader.module.scss
│ │ │ ├── AppHeader.spec.ts
│ │ │ ├── AppHeader.tsx
│ │ │ └── AppHeaderNative.tsx
│ │ ├── AppState
│ │ │ ├── AppState.md
│ │ │ ├── AppState.spec.ts
│ │ │ ├── AppState.tsx
│ │ │ └── AppStateNative.tsx
│ │ ├── AutoComplete
│ │ │ ├── AutoComplete.md
│ │ │ ├── AutoComplete.module.scss
│ │ │ ├── AutoComplete.spec.ts
│ │ │ ├── AutoComplete.tsx
│ │ │ ├── AutoCompleteContext.tsx
│ │ │ └── AutoCompleteNative.tsx
│ │ ├── Avatar
│ │ │ ├── Avatar.md
│ │ │ ├── Avatar.module.scss
│ │ │ ├── Avatar.spec.ts
│ │ │ ├── Avatar.tsx
│ │ │ └── AvatarNative.tsx
│ │ ├── Backdrop
│ │ │ ├── Backdrop.md
│ │ │ ├── Backdrop.module.scss
│ │ │ ├── Backdrop.spec.ts
│ │ │ ├── Backdrop.tsx
│ │ │ └── BackdropNative.tsx
│ │ ├── Badge
│ │ │ ├── Badge.md
│ │ │ ├── Badge.module.scss
│ │ │ ├── Badge.spec.ts
│ │ │ ├── Badge.tsx
│ │ │ └── BadgeNative.tsx
│ │ ├── Bookmark
│ │ │ ├── Bookmark.md
│ │ │ ├── Bookmark.module.scss
│ │ │ ├── Bookmark.spec.ts
│ │ │ ├── Bookmark.tsx
│ │ │ └── BookmarkNative.tsx
│ │ ├── Breakout
│ │ │ ├── Breakout.module.scss
│ │ │ ├── Breakout.spec.ts
│ │ │ ├── Breakout.tsx
│ │ │ └── BreakoutNative.tsx
│ │ ├── Button
│ │ │ ├── Button-style.spec.ts
│ │ │ ├── Button.md
│ │ │ ├── Button.module.scss
│ │ │ ├── Button.spec.ts
│ │ │ ├── Button.tsx
│ │ │ └── ButtonNative.tsx
│ │ ├── Card
│ │ │ ├── Card.md
│ │ │ ├── Card.module.scss
│ │ │ ├── Card.spec.ts
│ │ │ ├── Card.tsx
│ │ │ └── CardNative.tsx
│ │ ├── Carousel
│ │ │ ├── Carousel.md
│ │ │ ├── Carousel.module.scss
│ │ │ ├── Carousel.spec.ts
│ │ │ ├── Carousel.tsx
│ │ │ ├── CarouselContext.tsx
│ │ │ ├── CarouselItem.tsx
│ │ │ ├── CarouselItemNative.tsx
│ │ │ └── CarouselNative.tsx
│ │ ├── ChangeListener
│ │ │ ├── ChangeListener.md
│ │ │ ├── ChangeListener.spec.ts
│ │ │ ├── ChangeListener.tsx
│ │ │ └── ChangeListenerNative.tsx
│ │ ├── chart-color-schemes.ts
│ │ ├── Charts
│ │ │ ├── AreaChart
│ │ │ │ ├── AreaChart.md
│ │ │ │ ├── AreaChart.spec.ts
│ │ │ │ ├── AreaChart.tsx
│ │ │ │ └── AreaChartNative.tsx
│ │ │ ├── BarChart
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── BarChart.module.scss
│ │ │ │ ├── BarChart.spec.ts
│ │ │ │ ├── BarChart.tsx
│ │ │ │ └── BarChartNative.tsx
│ │ │ ├── DonutChart
│ │ │ │ ├── DonutChart.spec.ts
│ │ │ │ └── DonutChart.tsx
│ │ │ ├── LabelList
│ │ │ │ ├── LabelList.module.scss
│ │ │ │ ├── LabelList.spec.ts
│ │ │ │ ├── LabelList.tsx
│ │ │ │ └── LabelListNative.tsx
│ │ │ ├── Legend
│ │ │ │ ├── Legend.spec.ts
│ │ │ │ ├── Legend.tsx
│ │ │ │ └── LegendNative.tsx
│ │ │ ├── LineChart
│ │ │ │ ├── LineChart.md
│ │ │ │ ├── LineChart.module.scss
│ │ │ │ ├── LineChart.spec.ts
│ │ │ │ ├── LineChart.tsx
│ │ │ │ └── LineChartNative.tsx
│ │ │ ├── PieChart
│ │ │ │ ├── PieChart.md
│ │ │ │ ├── PieChart.spec.ts
│ │ │ │ ├── PieChart.tsx
│ │ │ │ ├── PieChartNative.module.scss
│ │ │ │ └── PieChartNative.tsx
│ │ │ ├── RadarChart
│ │ │ │ ├── RadarChart.md
│ │ │ │ ├── RadarChart.spec.ts
│ │ │ │ ├── RadarChart.tsx
│ │ │ │ └── RadarChartNative.tsx
│ │ │ ├── Tooltip
│ │ │ │ ├── TooltipContent.module.scss
│ │ │ │ ├── TooltipContent.spec.ts
│ │ │ │ └── TooltipContent.tsx
│ │ │ └── utils
│ │ │ ├── abstractions.ts
│ │ │ └── ChartProvider.tsx
│ │ ├── Checkbox
│ │ │ ├── Checkbox.md
│ │ │ ├── Checkbox.spec.ts
│ │ │ └── Checkbox.tsx
│ │ ├── CodeBlock
│ │ │ ├── CodeBlock.module.scss
│ │ │ ├── CodeBlock.spec.ts
│ │ │ ├── CodeBlock.tsx
│ │ │ ├── CodeBlockNative.tsx
│ │ │ └── highlight-code.ts
│ │ ├── collectedComponentMetadata.ts
│ │ ├── ColorPicker
│ │ │ ├── ColorPicker.md
│ │ │ ├── ColorPicker.module.scss
│ │ │ ├── ColorPicker.spec.ts
│ │ │ ├── ColorPicker.tsx
│ │ │ └── ColorPickerNative.tsx
│ │ ├── Column
│ │ │ ├── Column.md
│ │ │ ├── Column.tsx
│ │ │ ├── ColumnNative.tsx
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ └── TableContext.tsx
│ │ ├── component-utils.ts
│ │ ├── ComponentProvider.tsx
│ │ ├── ComponentRegistryContext.tsx
│ │ ├── container-helpers.tsx
│ │ ├── ContentSeparator
│ │ │ ├── ContentSeparator.md
│ │ │ ├── ContentSeparator.module.scss
│ │ │ ├── ContentSeparator.spec.ts
│ │ │ ├── ContentSeparator.tsx
│ │ │ ├── ContentSeparatorNative.tsx
│ │ │ └── test-padding.xmlui
│ │ ├── DataSource
│ │ │ ├── DataSource.md
│ │ │ └── DataSource.tsx
│ │ ├── DateInput
│ │ │ ├── DateInput.md
│ │ │ ├── DateInput.module.scss
│ │ │ ├── DateInput.spec.ts
│ │ │ ├── DateInput.tsx
│ │ │ └── DateInputNative.tsx
│ │ ├── DatePicker
│ │ │ ├── DatePicker.md
│ │ │ ├── DatePicker.module.scss
│ │ │ ├── DatePicker.spec.ts
│ │ │ ├── DatePicker.tsx
│ │ │ └── DatePickerNative.tsx
│ │ ├── DropdownMenu
│ │ │ ├── DropdownMenu.md
│ │ │ ├── DropdownMenu.module.scss
│ │ │ ├── DropdownMenu.spec.ts
│ │ │ ├── DropdownMenu.tsx
│ │ │ ├── DropdownMenuNative.tsx
│ │ │ ├── MenuItem.md
│ │ │ └── SubMenuItem.md
│ │ ├── EmojiSelector
│ │ │ ├── EmojiSelector.md
│ │ │ ├── EmojiSelector.spec.ts
│ │ │ ├── EmojiSelector.tsx
│ │ │ └── EmojiSelectorNative.tsx
│ │ ├── ExpandableItem
│ │ │ ├── ExpandableItem.module.scss
│ │ │ ├── ExpandableItem.spec.ts
│ │ │ ├── ExpandableItem.tsx
│ │ │ └── ExpandableItemNative.tsx
│ │ ├── FileInput
│ │ │ ├── FileInput.md
│ │ │ ├── FileInput.module.scss
│ │ │ ├── FileInput.spec.ts
│ │ │ ├── FileInput.tsx
│ │ │ └── FileInputNative.tsx
│ │ ├── FileUploadDropZone
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FileUploadDropZone.module.scss
│ │ │ ├── FileUploadDropZone.spec.ts
│ │ │ ├── FileUploadDropZone.tsx
│ │ │ └── FileUploadDropZoneNative.tsx
│ │ ├── FlowLayout
│ │ │ ├── FlowLayout.md
│ │ │ ├── FlowLayout.module.scss
│ │ │ ├── FlowLayout.spec.ts
│ │ │ ├── FlowLayout.spec.ts-snapshots
│ │ │ │ └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
│ │ │ ├── FlowLayout.tsx
│ │ │ └── FlowLayoutNative.tsx
│ │ ├── Footer
│ │ │ ├── Footer.md
│ │ │ ├── Footer.module.scss
│ │ │ ├── Footer.spec.ts
│ │ │ ├── Footer.tsx
│ │ │ └── FooterNative.tsx
│ │ ├── Form
│ │ │ ├── Form.md
│ │ │ ├── Form.module.scss
│ │ │ ├── Form.spec.ts
│ │ │ ├── Form.tsx
│ │ │ ├── formActions.ts
│ │ │ ├── FormContext.ts
│ │ │ └── FormNative.tsx
│ │ ├── FormItem
│ │ │ ├── FormItem.md
│ │ │ ├── FormItem.module.scss
│ │ │ ├── FormItem.spec.ts
│ │ │ ├── FormItem.tsx
│ │ │ ├── FormItemNative.tsx
│ │ │ ├── HelperText.module.scss
│ │ │ ├── HelperText.tsx
│ │ │ ├── ItemWithLabel.tsx
│ │ │ └── Validations.ts
│ │ ├── FormSection
│ │ │ ├── FormSection.md
│ │ │ ├── FormSection.ts
│ │ │ └── FormSection.xmlui
│ │ ├── Fragment
│ │ │ ├── Fragment.spec.ts
│ │ │ └── Fragment.tsx
│ │ ├── Heading
│ │ │ ├── abstractions.ts
│ │ │ ├── H1.md
│ │ │ ├── H1.spec.ts
│ │ │ ├── H2.md
│ │ │ ├── H2.spec.ts
│ │ │ ├── H3.md
│ │ │ ├── H3.spec.ts
│ │ │ ├── H4.md
│ │ │ ├── H4.spec.ts
│ │ │ ├── H5.md
│ │ │ ├── H5.spec.ts
│ │ │ ├── H6.md
│ │ │ ├── H6.spec.ts
│ │ │ ├── Heading.md
│ │ │ ├── Heading.module.scss
│ │ │ ├── Heading.spec.ts
│ │ │ ├── Heading.tsx
│ │ │ └── HeadingNative.tsx
│ │ ├── HoverCard
│ │ │ ├── HoverCard.tsx
│ │ │ └── HovercardNative.tsx
│ │ ├── HtmlTags
│ │ │ ├── HtmlTags.module.scss
│ │ │ ├── HtmlTags.spec.ts
│ │ │ └── HtmlTags.tsx
│ │ ├── Icon
│ │ │ ├── AdmonitionDanger.tsx
│ │ │ ├── AdmonitionInfo.tsx
│ │ │ ├── AdmonitionNote.tsx
│ │ │ ├── AdmonitionTip.tsx
│ │ │ ├── AdmonitionWarning.tsx
│ │ │ ├── ApiIcon.tsx
│ │ │ ├── ArrowDropDown.module.scss
│ │ │ ├── ArrowDropDown.tsx
│ │ │ ├── ArrowDropUp.module.scss
│ │ │ ├── ArrowDropUp.tsx
│ │ │ ├── ArrowLeft.module.scss
│ │ │ ├── ArrowLeft.tsx
│ │ │ ├── ArrowRight.module.scss
│ │ │ ├── ArrowRight.tsx
│ │ │ ├── Attach.tsx
│ │ │ ├── Binding.module.scss
│ │ │ ├── Binding.tsx
│ │ │ ├── BoardIcon.tsx
│ │ │ ├── BoxIcon.tsx
│ │ │ ├── CheckIcon.tsx
│ │ │ ├── ChevronDownIcon.tsx
│ │ │ ├── ChevronLeft.tsx
│ │ │ ├── ChevronRight.tsx
│ │ │ ├── ChevronUpIcon.tsx
│ │ │ ├── CodeFileIcon.tsx
│ │ │ ├── CodeSandbox.tsx
│ │ │ ├── CompactListIcon.tsx
│ │ │ ├── ContentCopyIcon.tsx
│ │ │ ├── DarkToLightIcon.tsx
│ │ │ ├── DatabaseIcon.module.scss
│ │ │ ├── DatabaseIcon.tsx
│ │ │ ├── DocFileIcon.tsx
│ │ │ ├── DocIcon.tsx
│ │ │ ├── DotMenuHorizontalIcon.tsx
│ │ │ ├── DotMenuIcon.tsx
│ │ │ ├── EmailIcon.tsx
│ │ │ ├── EmptyFolderIcon.tsx
│ │ │ ├── ErrorIcon.tsx
│ │ │ ├── ExpressionIcon.tsx
│ │ │ ├── FillPlusCricleIcon.tsx
│ │ │ ├── FilterIcon.tsx
│ │ │ ├── FolderIcon.tsx
│ │ │ ├── GlobeIcon.tsx
│ │ │ ├── HomeIcon.tsx
│ │ │ ├── HyperLinkIcon.tsx
│ │ │ ├── Icon.md
│ │ │ ├── Icon.module.scss
│ │ │ ├── Icon.spec.ts
│ │ │ ├── Icon.tsx
│ │ │ ├── IconNative.tsx
│ │ │ ├── ImageFileIcon.tsx
│ │ │ ├── Inspect.tsx
│ │ │ ├── LightToDark.tsx
│ │ │ ├── LinkIcon.tsx
│ │ │ ├── ListIcon.tsx
│ │ │ ├── LooseListIcon.tsx
│ │ │ ├── MoonIcon.tsx
│ │ │ ├── MoreOptionsIcon.tsx
│ │ │ ├── NoSortIcon.tsx
│ │ │ ├── PDFIcon.tsx
│ │ │ ├── PenIcon.tsx
│ │ │ ├── PhoneIcon.tsx
│ │ │ ├── PhotoIcon.tsx
│ │ │ ├── PlusIcon.tsx
│ │ │ ├── SearchIcon.tsx
│ │ │ ├── ShareIcon.tsx
│ │ │ ├── SortAscendingIcon.tsx
│ │ │ ├── SortDescendingIcon.tsx
│ │ │ ├── StarsIcon.tsx
│ │ │ ├── SunIcon.tsx
│ │ │ ├── svg
│ │ │ │ ├── admonition_danger.svg
│ │ │ │ ├── admonition_info.svg
│ │ │ │ ├── admonition_note.svg
│ │ │ │ ├── admonition_tip.svg
│ │ │ │ ├── admonition_warning.svg
│ │ │ │ ├── api.svg
│ │ │ │ ├── arrow-dropdown.svg
│ │ │ │ ├── arrow-left.svg
│ │ │ │ ├── arrow-right.svg
│ │ │ │ ├── arrow-up.svg
│ │ │ │ ├── attach.svg
│ │ │ │ ├── binding.svg
│ │ │ │ ├── box.svg
│ │ │ │ ├── bulb.svg
│ │ │ │ ├── code-file.svg
│ │ │ │ ├── code-sandbox.svg
│ │ │ │ ├── dark_to_light.svg
│ │ │ │ ├── database.svg
│ │ │ │ ├── doc.svg
│ │ │ │ ├── empty-folder.svg
│ │ │ │ ├── expression.svg
│ │ │ │ ├── eye-closed.svg
│ │ │ │ ├── eye-dark.svg
│ │ │ │ ├── eye.svg
│ │ │ │ ├── file-text.svg
│ │ │ │ ├── filter.svg
│ │ │ │ ├── folder.svg
│ │ │ │ ├── img.svg
│ │ │ │ ├── inspect.svg
│ │ │ │ ├── light_to_dark.svg
│ │ │ │ ├── moon.svg
│ │ │ │ ├── pdf.svg
│ │ │ │ ├── photo.svg
│ │ │ │ ├── share.svg
│ │ │ │ ├── stars.svg
│ │ │ │ ├── sun.svg
│ │ │ │ ├── trending-down.svg
│ │ │ │ ├── trending-level.svg
│ │ │ │ ├── trending-up.svg
│ │ │ │ ├── txt.svg
│ │ │ │ ├── unknown-file.svg
│ │ │ │ ├── unlink.svg
│ │ │ │ └── xls.svg
│ │ │ ├── TableDeleteColumnIcon.tsx
│ │ │ ├── TableDeleteRowIcon.tsx
│ │ │ ├── TableInsertColumnIcon.tsx
│ │ │ ├── TableInsertRowIcon.tsx
│ │ │ ├── TrashIcon.tsx
│ │ │ ├── TrendingDownIcon.tsx
│ │ │ ├── TrendingLevelIcon.tsx
│ │ │ ├── TrendingUpIcon.tsx
│ │ │ ├── TxtIcon.tsx
│ │ │ ├── UnknownFileIcon.tsx
│ │ │ ├── UnlinkIcon.tsx
│ │ │ ├── UserIcon.tsx
│ │ │ ├── WarningIcon.tsx
│ │ │ └── XlsIcon.tsx
│ │ ├── IconProvider.tsx
│ │ ├── IconRegistryContext.tsx
│ │ ├── IFrame
│ │ │ ├── IFrame.md
│ │ │ ├── IFrame.module.scss
│ │ │ ├── IFrame.spec.ts
│ │ │ ├── IFrame.tsx
│ │ │ └── IFrameNative.tsx
│ │ ├── Image
│ │ │ ├── Image.md
│ │ │ ├── Image.module.scss
│ │ │ ├── Image.spec.ts
│ │ │ ├── Image.tsx
│ │ │ └── ImageNative.tsx
│ │ ├── Input
│ │ │ ├── index.ts
│ │ │ ├── InputAdornment.module.scss
│ │ │ ├── InputAdornment.tsx
│ │ │ ├── InputDivider.module.scss
│ │ │ ├── InputDivider.tsx
│ │ │ ├── InputLabel.module.scss
│ │ │ ├── InputLabel.tsx
│ │ │ ├── PartialInput.module.scss
│ │ │ └── PartialInput.tsx
│ │ ├── InspectButton
│ │ │ ├── InspectButton.module.scss
│ │ │ └── InspectButton.tsx
│ │ ├── Items
│ │ │ ├── Items.md
│ │ │ ├── Items.spec.ts
│ │ │ ├── Items.tsx
│ │ │ └── ItemsNative.tsx
│ │ ├── Link
│ │ │ ├── Link.md
│ │ │ ├── Link.module.scss
│ │ │ ├── Link.spec.ts
│ │ │ ├── Link.tsx
│ │ │ └── LinkNative.tsx
│ │ ├── List
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── List.md
│ │ │ ├── List.module.scss
│ │ │ ├── List.spec.ts
│ │ │ ├── List.tsx
│ │ │ └── ListNative.tsx
│ │ ├── Logo
│ │ │ ├── doc-resources
│ │ │ │ └── xmlui-logo.svg
│ │ │ ├── Logo.md
│ │ │ ├── Logo.tsx
│ │ │ └── LogoNative.tsx
│ │ ├── Markdown
│ │ │ ├── CodeText.module.scss
│ │ │ ├── CodeText.tsx
│ │ │ ├── Markdown.md
│ │ │ ├── Markdown.module.scss
│ │ │ ├── Markdown.spec.ts
│ │ │ ├── Markdown.tsx
│ │ │ ├── MarkdownNative.tsx
│ │ │ ├── parse-binding-expr.ts
│ │ │ └── utils.ts
│ │ ├── metadata-helpers.ts
│ │ ├── ModalDialog
│ │ │ ├── ConfirmationModalContextProvider.tsx
│ │ │ ├── Dialog.module.scss
│ │ │ ├── Dialog.tsx
│ │ │ ├── ModalDialog.md
│ │ │ ├── ModalDialog.module.scss
│ │ │ ├── ModalDialog.spec.ts
│ │ │ ├── ModalDialog.tsx
│ │ │ ├── ModalDialogNative.tsx
│ │ │ └── ModalVisibilityContext.tsx
│ │ ├── NavGroup
│ │ │ ├── NavGroup.md
│ │ │ ├── NavGroup.module.scss
│ │ │ ├── NavGroup.spec.ts
│ │ │ ├── NavGroup.tsx
│ │ │ ├── NavGroupContext.ts
│ │ │ └── NavGroupNative.tsx
│ │ ├── NavLink
│ │ │ ├── NavLink.md
│ │ │ ├── NavLink.module.scss
│ │ │ ├── NavLink.spec.ts
│ │ │ ├── NavLink.tsx
│ │ │ └── NavLinkNative.tsx
│ │ ├── NavPanel
│ │ │ ├── NavPanel.md
│ │ │ ├── NavPanel.module.scss
│ │ │ ├── NavPanel.spec.ts
│ │ │ ├── NavPanel.tsx
│ │ │ └── NavPanelNative.tsx
│ │ ├── NestedApp
│ │ │ ├── AppWithCodeView.module.scss
│ │ │ ├── AppWithCodeView.tsx
│ │ │ ├── AppWithCodeViewNative.tsx
│ │ │ ├── defaultProps.tsx
│ │ │ ├── logo.svg
│ │ │ ├── NestedApp.module.scss
│ │ │ ├── NestedApp.tsx
│ │ │ ├── NestedAppNative.tsx
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── NoResult
│ │ │ ├── NoResult.md
│ │ │ ├── NoResult.module.scss
│ │ │ ├── NoResult.spec.ts
│ │ │ ├── NoResult.tsx
│ │ │ └── NoResultNative.tsx
│ │ ├── NumberBox
│ │ │ ├── numberbox-abstractions.ts
│ │ │ ├── NumberBox.md
│ │ │ ├── NumberBox.module.scss
│ │ │ ├── NumberBox.spec.ts
│ │ │ ├── NumberBox.tsx
│ │ │ └── NumberBoxNative.tsx
│ │ ├── Option
│ │ │ ├── Option.md
│ │ │ ├── Option.spec.ts
│ │ │ ├── Option.tsx
│ │ │ ├── OptionNative.tsx
│ │ │ └── OptionTypeProvider.tsx
│ │ ├── PageMetaTitle
│ │ │ ├── PageMetaTilteNative.tsx
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── PageMetaTitle.spec.ts
│ │ │ └── PageMetaTitle.tsx
│ │ ├── Pages
│ │ │ ├── Page.md
│ │ │ ├── Pages.md
│ │ │ ├── Pages.module.scss
│ │ │ ├── Pages.tsx
│ │ │ └── PagesNative.tsx
│ │ ├── Pagination
│ │ │ ├── Pagination.md
│ │ │ ├── Pagination.module.scss
│ │ │ ├── Pagination.spec.ts
│ │ │ ├── Pagination.tsx
│ │ │ └── PaginationNative.tsx
│ │ ├── PositionedContainer
│ │ │ ├── PositionedContainer.module.scss
│ │ │ ├── PositionedContainer.tsx
│ │ │ └── PositionedContainerNative.tsx
│ │ ├── ProfileMenu
│ │ │ ├── ProfileMenu.module.scss
│ │ │ └── ProfileMenu.tsx
│ │ ├── ProgressBar
│ │ │ ├── ProgressBar.md
│ │ │ ├── ProgressBar.module.scss
│ │ │ ├── ProgressBar.spec.ts
│ │ │ ├── ProgressBar.tsx
│ │ │ └── ProgressBarNative.tsx
│ │ ├── Queue
│ │ │ ├── Queue.md
│ │ │ ├── Queue.spec.ts
│ │ │ ├── Queue.tsx
│ │ │ ├── queueActions.ts
│ │ │ └── QueueNative.tsx
│ │ ├── RadioGroup
│ │ │ ├── RadioGroup.md
│ │ │ ├── RadioGroup.module.scss
│ │ │ ├── RadioGroup.spec.ts
│ │ │ ├── RadioGroup.tsx
│ │ │ ├── RadioGroupNative.tsx
│ │ │ ├── RadioItem.tsx
│ │ │ └── RadioItemNative.tsx
│ │ ├── RealTimeAdapter
│ │ │ ├── RealTimeAdapter.tsx
│ │ │ └── RealTimeAdapterNative.tsx
│ │ ├── Redirect
│ │ │ ├── Redirect.md
│ │ │ ├── Redirect.spec.ts
│ │ │ └── Redirect.tsx
│ │ ├── ResponsiveBar
│ │ │ ├── README.md
│ │ │ ├── ResponsiveBar.md
│ │ │ ├── ResponsiveBar.module.scss
│ │ │ ├── ResponsiveBar.spec.ts
│ │ │ ├── ResponsiveBar.tsx
│ │ │ └── ResponsiveBarNative.tsx
│ │ ├── Select
│ │ │ ├── HiddenOption.tsx
│ │ │ ├── OptionContext.ts
│ │ │ ├── Select.md
│ │ │ ├── Select.module.scss
│ │ │ ├── Select.spec.ts
│ │ │ ├── Select.tsx
│ │ │ ├── SelectContext.tsx
│ │ │ └── SelectNative.tsx
│ │ ├── SelectionStore
│ │ │ ├── SelectionStore.md
│ │ │ ├── SelectionStore.tsx
│ │ │ └── SelectionStoreNative.tsx
│ │ ├── Slider
│ │ │ ├── Slider.md
│ │ │ ├── Slider.module.scss
│ │ │ ├── Slider.spec.ts
│ │ │ ├── Slider.tsx
│ │ │ └── SliderNative.tsx
│ │ ├── Slot
│ │ │ ├── Slot.md
│ │ │ ├── Slot.spec.ts
│ │ │ └── Slot.ts
│ │ ├── SlotItem.tsx
│ │ ├── SpaceFiller
│ │ │ ├── SpaceFiller.md
│ │ │ ├── SpaceFiller.module.scss
│ │ │ ├── SpaceFiller.spec.ts
│ │ │ ├── SpaceFiller.tsx
│ │ │ └── SpaceFillerNative.tsx
│ │ ├── Spinner
│ │ │ ├── Spinner.md
│ │ │ ├── Spinner.module.scss
│ │ │ ├── Spinner.spec.ts
│ │ │ ├── Spinner.tsx
│ │ │ └── SpinnerNative.tsx
│ │ ├── Splitter
│ │ │ ├── HSplitter.md
│ │ │ ├── HSplitter.spec.ts
│ │ │ ├── Splitter.md
│ │ │ ├── Splitter.module.scss
│ │ │ ├── Splitter.spec.ts
│ │ │ ├── Splitter.tsx
│ │ │ ├── SplitterNative.tsx
│ │ │ ├── utils.ts
│ │ │ ├── VSplitter.md
│ │ │ └── VSplitter.spec.ts
│ │ ├── Stack
│ │ │ ├── CHStack.md
│ │ │ ├── CHStack.spec.ts
│ │ │ ├── CVStack.md
│ │ │ ├── CVStack.spec.ts
│ │ │ ├── HStack.md
│ │ │ ├── HStack.spec.ts
│ │ │ ├── Stack.md
│ │ │ ├── Stack.module.scss
│ │ │ ├── Stack.spec.ts
│ │ │ ├── Stack.tsx
│ │ │ ├── StackNative.tsx
│ │ │ ├── VStack.md
│ │ │ └── VStack.spec.ts
│ │ ├── StickyBox
│ │ │ ├── StickyBox.md
│ │ │ ├── StickyBox.module.scss
│ │ │ ├── StickyBox.tsx
│ │ │ └── StickyBoxNative.tsx
│ │ ├── Switch
│ │ │ ├── Switch.md
│ │ │ ├── Switch.spec.ts
│ │ │ └── Switch.tsx
│ │ ├── Table
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── react-table-config.d.ts
│ │ │ ├── Table.md
│ │ │ ├── Table.module.scss
│ │ │ ├── Table.spec.ts
│ │ │ ├── Table.tsx
│ │ │ ├── TableNative.tsx
│ │ │ └── useRowSelection.tsx
│ │ ├── TableOfContents
│ │ │ ├── TableOfContents.module.scss
│ │ │ ├── TableOfContents.spec.ts
│ │ │ ├── TableOfContents.tsx
│ │ │ └── TableOfContentsNative.tsx
│ │ ├── Tabs
│ │ │ ├── TabContext.tsx
│ │ │ ├── TabItem.md
│ │ │ ├── TabItem.tsx
│ │ │ ├── TabItemNative.tsx
│ │ │ ├── Tabs.md
│ │ │ ├── Tabs.module.scss
│ │ │ ├── Tabs.spec.ts
│ │ │ ├── Tabs.tsx
│ │ │ └── TabsNative.tsx
│ │ ├── Text
│ │ │ ├── Text.md
│ │ │ ├── Text.module.scss
│ │ │ ├── Text.spec.ts
│ │ │ ├── Text.tsx
│ │ │ └── TextNative.tsx
│ │ ├── TextArea
│ │ │ ├── TextArea.md
│ │ │ ├── TextArea.module.scss
│ │ │ ├── TextArea.spec.ts
│ │ │ ├── TextArea.tsx
│ │ │ ├── TextAreaNative.tsx
│ │ │ ├── TextAreaResizable.tsx
│ │ │ └── useComposedRef.ts
│ │ ├── TextBox
│ │ │ ├── TextBox.md
│ │ │ ├── TextBox.module.scss
│ │ │ ├── TextBox.spec.ts
│ │ │ ├── TextBox.tsx
│ │ │ └── TextBoxNative.tsx
│ │ ├── Theme
│ │ │ ├── NotificationToast.tsx
│ │ │ ├── Theme.md
│ │ │ ├── Theme.module.scss
│ │ │ ├── Theme.spec.ts
│ │ │ ├── Theme.tsx
│ │ │ └── ThemeNative.tsx
│ │ ├── TimeInput
│ │ │ ├── TimeInput.md
│ │ │ ├── TimeInput.module.scss
│ │ │ ├── TimeInput.spec.ts
│ │ │ ├── TimeInput.tsx
│ │ │ ├── TimeInputNative.tsx
│ │ │ └── utils.ts
│ │ ├── Timer
│ │ │ ├── Timer.md
│ │ │ ├── Timer.spec.ts
│ │ │ ├── Timer.tsx
│ │ │ └── TimerNative.tsx
│ │ ├── Toggle
│ │ │ ├── Toggle.module.scss
│ │ │ └── Toggle.tsx
│ │ ├── ToneChangerButton
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneChangerButton.spec.ts
│ │ │ └── ToneChangerButton.tsx
│ │ ├── ToneSwitch
│ │ │ ├── ToneSwitch.md
│ │ │ ├── ToneSwitch.module.scss
│ │ │ ├── ToneSwitch.spec.ts
│ │ │ ├── ToneSwitch.tsx
│ │ │ └── ToneSwitchNative.tsx
│ │ ├── Tooltip
│ │ │ ├── Tooltip.md
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.spec.ts
│ │ │ ├── Tooltip.tsx
│ │ │ └── TooltipNative.tsx
│ │ ├── Tree
│ │ │ ├── testData.ts
│ │ │ ├── Tree-dynamic.spec.ts
│ │ │ ├── Tree-icons.spec.ts
│ │ │ ├── Tree.md
│ │ │ ├── Tree.spec.ts
│ │ │ ├── TreeComponent.module.scss
│ │ │ ├── TreeComponent.tsx
│ │ │ └── TreeNative.tsx
│ │ ├── TreeDisplay
│ │ │ ├── TreeDisplay.md
│ │ │ ├── TreeDisplay.module.scss
│ │ │ ├── TreeDisplay.tsx
│ │ │ └── TreeDisplayNative.tsx
│ │ ├── ValidationSummary
│ │ │ ├── ValidationSummary.module.scss
│ │ │ └── ValidationSummary.tsx
│ │ └── VisuallyHidden.tsx
│ ├── components-core
│ │ ├── abstractions
│ │ │ ├── ComponentRenderer.ts
│ │ │ ├── LoaderRenderer.ts
│ │ │ ├── standalone.ts
│ │ │ └── treeAbstractions.ts
│ │ ├── action
│ │ │ ├── actions.ts
│ │ │ ├── APICall.tsx
│ │ │ ├── FileDownloadAction.tsx
│ │ │ ├── FileUploadAction.tsx
│ │ │ ├── NavigateAction.tsx
│ │ │ └── TimedAction.tsx
│ │ ├── ApiBoundComponent.tsx
│ │ ├── appContext
│ │ │ ├── date-functions.ts
│ │ │ ├── math-function.ts
│ │ │ └── misc-utils.ts
│ │ ├── AppContext.tsx
│ │ ├── behaviors
│ │ │ ├── Behavior.tsx
│ │ │ └── CoreBehaviors.tsx
│ │ ├── component-hooks.ts
│ │ ├── ComponentDecorator.tsx
│ │ ├── ComponentViewer.tsx
│ │ ├── CompoundComponent.tsx
│ │ ├── constants.ts
│ │ ├── DebugViewProvider.tsx
│ │ ├── descriptorHelper.ts
│ │ ├── devtools
│ │ │ ├── InspectorDialog.module.scss
│ │ │ ├── InspectorDialog.tsx
│ │ │ └── InspectorDialogVisibilityContext.tsx
│ │ ├── EngineError.ts
│ │ ├── event-handlers.ts
│ │ ├── InspectorButton.module.scss
│ │ ├── InspectorContext.tsx
│ │ ├── interception
│ │ │ ├── abstractions.ts
│ │ │ ├── ApiInterceptor.ts
│ │ │ ├── ApiInterceptorProvider.tsx
│ │ │ ├── apiInterceptorWorker.ts
│ │ │ ├── Backend.ts
│ │ │ ├── Errors.ts
│ │ │ ├── IndexedDb.ts
│ │ │ ├── initMock.ts
│ │ │ ├── InMemoryDb.ts
│ │ │ ├── ReadonlyCollection.ts
│ │ │ └── useApiInterceptorContext.tsx
│ │ ├── loader
│ │ │ ├── ApiLoader.tsx
│ │ │ ├── DataLoader.tsx
│ │ │ ├── ExternalDataLoader.tsx
│ │ │ ├── Loader.tsx
│ │ │ ├── MockLoaderRenderer.tsx
│ │ │ └── PageableLoader.tsx
│ │ ├── LoaderComponent.tsx
│ │ ├── markup-check.ts
│ │ ├── parts.ts
│ │ ├── renderers.ts
│ │ ├── rendering
│ │ │ ├── AppContent.tsx
│ │ │ ├── AppRoot.tsx
│ │ │ ├── AppWrapper.tsx
│ │ │ ├── buildProxy.ts
│ │ │ ├── collectFnVarDeps.ts
│ │ │ ├── ComponentAdapter.tsx
│ │ │ ├── ComponentWrapper.tsx
│ │ │ ├── Container.tsx
│ │ │ ├── containers.ts
│ │ │ ├── ContainerWrapper.tsx
│ │ │ ├── ErrorBoundary.module.scss
│ │ │ ├── ErrorBoundary.tsx
│ │ │ ├── InvalidComponent.module.scss
│ │ │ ├── InvalidComponent.tsx
│ │ │ ├── nodeUtils.ts
│ │ │ ├── reducer.ts
│ │ │ ├── renderChild.tsx
│ │ │ ├── StandaloneComponent.tsx
│ │ │ ├── StateContainer.tsx
│ │ │ ├── UnknownComponent.module.scss
│ │ │ ├── UnknownComponent.tsx
│ │ │ └── valueExtractor.ts
│ │ ├── reportEngineError.ts
│ │ ├── RestApiProxy.ts
│ │ ├── script-runner
│ │ │ ├── asyncProxy.ts
│ │ │ ├── AttributeValueParser.ts
│ │ │ ├── bannedFunctions.ts
│ │ │ ├── BindingTreeEvaluationContext.ts
│ │ │ ├── eval-tree-async.ts
│ │ │ ├── eval-tree-common.ts
│ │ │ ├── eval-tree-sync.ts
│ │ │ ├── ParameterParser.ts
│ │ │ ├── process-statement-async.ts
│ │ │ ├── process-statement-common.ts
│ │ │ ├── process-statement-sync.ts
│ │ │ ├── ScriptingSourceTree.ts
│ │ │ ├── simplify-expression.ts
│ │ │ ├── statement-queue.ts
│ │ │ └── visitors.ts
│ │ ├── StandaloneApp.tsx
│ │ ├── StandaloneExtensionManager.ts
│ │ ├── TableOfContentsContext.tsx
│ │ ├── theming
│ │ │ ├── _themes.scss
│ │ │ ├── component-layout-resolver.ts
│ │ │ ├── extendThemeUtils.ts
│ │ │ ├── hvar.ts
│ │ │ ├── layout-resolver.ts
│ │ │ ├── parse-layout-props.ts
│ │ │ ├── StyleContext.tsx
│ │ │ ├── StyleRegistry.ts
│ │ │ ├── ThemeContext.tsx
│ │ │ ├── ThemeProvider.tsx
│ │ │ ├── themes
│ │ │ │ ├── base-utils.ts
│ │ │ │ ├── palette.ts
│ │ │ │ ├── root.ts
│ │ │ │ ├── solid.ts
│ │ │ │ ├── theme-colors.ts
│ │ │ │ └── xmlui.ts
│ │ │ ├── themeVars.module.scss
│ │ │ ├── themeVars.ts
│ │ │ ├── transformThemeVars.ts
│ │ │ └── utils.ts
│ │ ├── utils
│ │ │ ├── actionUtils.ts
│ │ │ ├── audio-utils.ts
│ │ │ ├── base64-utils.ts
│ │ │ ├── compound-utils.ts
│ │ │ ├── css-utils.ts
│ │ │ ├── DataLoaderQueryKeyGenerator.ts
│ │ │ ├── date-utils.ts
│ │ │ ├── extractParam.ts
│ │ │ ├── hooks.tsx
│ │ │ ├── LruCache.ts
│ │ │ ├── mergeProps.ts
│ │ │ ├── misc.ts
│ │ │ ├── request-params.ts
│ │ │ ├── statementUtils.ts
│ │ │ └── treeUtils.ts
│ │ └── xmlui-parser.ts
│ ├── index-standalone.ts
│ ├── index.scss
│ ├── index.ts
│ ├── language-server
│ │ ├── server-common.ts
│ │ ├── server-web-worker.ts
│ │ ├── server.ts
│ │ ├── services
│ │ │ ├── common
│ │ │ │ ├── docs-generation.ts
│ │ │ │ ├── lsp-utils.ts
│ │ │ │ ├── metadata-utils.ts
│ │ │ │ └── syntax-node-utilities.ts
│ │ │ ├── completion.ts
│ │ │ ├── diagnostic.ts
│ │ │ ├── format.ts
│ │ │ └── hover.ts
│ │ └── xmlui-metadata-generated.js
│ ├── logging
│ │ ├── LoggerContext.tsx
│ │ ├── LoggerInitializer.tsx
│ │ ├── LoggerService.ts
│ │ └── xmlui.ts
│ ├── logo.svg
│ ├── parsers
│ │ ├── common
│ │ │ ├── GenericToken.ts
│ │ │ ├── InputStream.ts
│ │ │ └── utils.ts
│ │ ├── scripting
│ │ │ ├── code-behind-collect.ts
│ │ │ ├── Lexer.ts
│ │ │ ├── modules.ts
│ │ │ ├── Parser.ts
│ │ │ ├── ParserError.ts
│ │ │ ├── ScriptingNodeTypes.ts
│ │ │ ├── TokenTrait.ts
│ │ │ ├── TokenType.ts
│ │ │ └── tree-visitor.ts
│ │ ├── style-parser
│ │ │ ├── errors.ts
│ │ │ ├── source-tree.ts
│ │ │ ├── StyleInputStream.ts
│ │ │ ├── StyleLexer.ts
│ │ │ ├── StyleParser.ts
│ │ │ └── tokens.ts
│ │ └── xmlui-parser
│ │ ├── CharacterCodes.ts
│ │ ├── diagnostics.ts
│ │ ├── fileExtensions.ts
│ │ ├── index.ts
│ │ ├── lint.ts
│ │ ├── parser.ts
│ │ ├── ParserError.ts
│ │ ├── scanner.ts
│ │ ├── syntax-kind.ts
│ │ ├── syntax-node.ts
│ │ ├── transform.ts
│ │ ├── utils.ts
│ │ ├── xmlui-serializer.ts
│ │ └── xmlui-tree.ts
│ ├── react-app-env.d.ts
│ ├── syntax
│ │ ├── monaco
│ │ │ ├── grammar.monacoLanguage.ts
│ │ │ ├── index.ts
│ │ │ ├── xmlui-dark.ts
│ │ │ ├── xmlui-light.ts
│ │ │ └── xmluiscript.monacoLanguage.ts
│ │ └── textMate
│ │ ├── index.ts
│ │ ├── xmlui-dark.json
│ │ ├── xmlui-light.json
│ │ ├── xmlui.json
│ │ └── xmlui.tmLanguage.json
│ ├── testing
│ │ ├── assertions.ts
│ │ ├── component-test-helpers.ts
│ │ ├── ComponentDrivers.ts
│ │ ├── drivers
│ │ │ ├── DateInputDriver.ts
│ │ │ ├── index.ts
│ │ │ ├── ModalDialogDriver.ts
│ │ │ ├── NumberBoxDriver.ts
│ │ │ ├── TextBoxDriver.ts
│ │ │ ├── TimeInputDriver.ts
│ │ │ ├── TimerDriver.ts
│ │ │ └── TreeDriver.ts
│ │ ├── fixtures.ts
│ │ ├── index.ts
│ │ ├── infrastructure
│ │ │ ├── index.html
│ │ │ ├── main.tsx
│ │ │ ├── public
│ │ │ │ ├── mockServiceWorker.js
│ │ │ │ ├── resources
│ │ │ │ │ ├── bell.svg
│ │ │ │ │ ├── box.svg
│ │ │ │ │ ├── doc.svg
│ │ │ │ │ ├── eye.svg
│ │ │ │ │ ├── flower-640x480.jpg
│ │ │ │ │ ├── sun.svg
│ │ │ │ │ ├── test-image-100x100.jpg
│ │ │ │ │ └── txt.svg
│ │ │ │ └── serve.json
│ │ │ └── TestBed.tsx
│ │ └── themed-app-test-helpers.ts
│ └── vite-env.d.ts
├── tests
│ ├── components
│ │ ├── CodeBlock
│ │ │ └── hightlight-code.test.ts
│ │ ├── playground-pattern.test.ts
│ │ └── Tree
│ │ └── Tree-states.test.ts
│ ├── components-core
│ │ ├── abstractions
│ │ │ └── treeAbstractions.test.ts
│ │ ├── container
│ │ │ └── buildProxy.test.ts
│ │ ├── interception
│ │ │ ├── orderBy.test.ts
│ │ │ ├── ReadOnlyCollection.test.ts
│ │ │ └── request-param-converter.test.ts
│ │ ├── scripts-runner
│ │ │ ├── AttributeValueParser.test.ts
│ │ │ ├── eval-tree-arrow-async.test.ts
│ │ │ ├── eval-tree-arrow.test.ts
│ │ │ ├── eval-tree-func-decl-async.test.ts
│ │ │ ├── eval-tree-func-decl.test.ts
│ │ │ ├── eval-tree-pre-post.test.ts
│ │ │ ├── eval-tree-regression.test.ts
│ │ │ ├── eval-tree.test.ts
│ │ │ ├── function-proxy.test.ts
│ │ │ ├── parser-regression.test.ts
│ │ │ ├── process-event.test.ts
│ │ │ ├── process-function.test.ts
│ │ │ ├── process-implicit-context.test.ts
│ │ │ ├── process-statement-asgn.test.ts
│ │ │ ├── process-statement-destruct.test.ts
│ │ │ ├── process-statement-regs.test.ts
│ │ │ ├── process-statement-sync.test.ts
│ │ │ ├── process-statement.test.ts
│ │ │ ├── process-switch-sync.test.ts
│ │ │ ├── process-switch.test.ts
│ │ │ ├── process-try-sync.test.ts
│ │ │ ├── process-try.test.ts
│ │ │ └── test-helpers.ts
│ │ ├── test-metadata-handler.ts
│ │ ├── theming
│ │ │ ├── border-segments.test.ts
│ │ │ ├── component-layout.resolver.test.ts
│ │ │ ├── layout-property-parser.test.ts
│ │ │ ├── layout-resolver.test.ts
│ │ │ ├── layout-resolver2.test.ts
│ │ │ ├── layout-vp-override.test.ts
│ │ │ └── padding-segments.test.ts
│ │ └── utils
│ │ ├── date-utils.test.ts
│ │ ├── format-human-elapsed-time.test.ts
│ │ └── LruCache.test.ts
│ ├── language-server
│ │ ├── completion.test.ts
│ │ ├── format.test.ts
│ │ ├── hover.test.ts
│ │ └── mockData.ts
│ └── parsers
│ ├── common
│ │ └── input-stream.test.ts
│ ├── markdown
│ │ └── parse-binding-expression.test.ts
│ ├── parameter-parser.test.ts
│ ├── paremeter-parser.test.ts
│ ├── scripting
│ │ ├── eval-tree-arrow.test.ts
│ │ ├── eval-tree-pre-post.test.ts
│ │ ├── eval-tree.test.ts
│ │ ├── function-proxy.test.ts
│ │ ├── lexer-literals.test.ts
│ │ ├── lexer-misc.test.ts
│ │ ├── module-parse.test.ts
│ │ ├── parser-arrow.test.ts
│ │ ├── parser-assignments.test.ts
│ │ ├── parser-binary.test.ts
│ │ ├── parser-destructuring.test.ts
│ │ ├── parser-errors.test.ts
│ │ ├── parser-expressions.test.ts
│ │ ├── parser-function.test.ts
│ │ ├── parser-literals.test.ts
│ │ ├── parser-primary.test.ts
│ │ ├── parser-regex.test.ts
│ │ ├── parser-statements.test.ts
│ │ ├── parser-unary.test.ts
│ │ ├── process-event.test.ts
│ │ ├── process-implicit-context.test.ts
│ │ ├── process-statement-asgn.test.ts
│ │ ├── process-statement-destruct.test.ts
│ │ ├── process-statement-regs.test.ts
│ │ ├── process-statement-sync.test.ts
│ │ ├── process-statement.test.ts
│ │ ├── process-switch-sync.test.ts
│ │ ├── process-switch.test.ts
│ │ ├── process-try-sync.test.ts
│ │ ├── process-try.test.ts
│ │ ├── simplify-expression.test.ts
│ │ ├── statement-hooks.test.ts
│ │ └── test-helpers.ts
│ ├── style-parser
│ │ ├── generateHvarChain.test.ts
│ │ ├── parseHVar.test.ts
│ │ ├── parser.test.ts
│ │ └── tokens.test.ts
│ └── xmlui
│ ├── lint.test.ts
│ ├── parser.test.ts
│ ├── scanner.test.ts
│ ├── transform.attr.test.ts
│ ├── transform.circular.test.ts
│ ├── transform.element.test.ts
│ ├── transform.errors.test.ts
│ ├── transform.escape.test.ts
│ ├── transform.regression.test.ts
│ ├── transform.script.test.ts
│ ├── transform.test.ts
│ └── xmlui.ts
├── tests-e2e
│ ├── api-bound-component-regression.spec.ts
│ ├── api-call-as-extracted-component.spec.ts
│ ├── assign-to-object-or-array-regression.spec.ts
│ ├── binding-regression.spec.ts
│ ├── children-as-template-context-vars.spec.ts
│ ├── compound-component.spec.ts
│ ├── context-vars-regression.spec.ts
│ ├── data-bindings.spec.ts
│ ├── datasource-and-api-usage-in-var.spec.ts
│ ├── datasource-direct-binding.spec.ts
│ ├── datasource-onLoaded-regression.spec.ts
│ ├── modify-array-item-regression.spec.ts
│ ├── namespaces.spec.ts
│ ├── push-to-array-regression.spec.ts
│ ├── screen-breakpoints.spec.ts
│ ├── scripting.spec.ts
│ ├── state-scope-in-pages.spec.ts
│ └── state-var-scopes.spec.ts
├── tsconfig.json
├── tsdown.config.ts
├── vite.config.ts
└── vitest.config.ts
```
# Files
--------------------------------------------------------------------------------
/xmlui/src/components/TextBox/TextBox.spec.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { getBounds, SKIP_REASON } from "../../testing/component-test-helpers";
2 | import { test, expect } from "../../testing/fixtures";
3 |
4 | // =============================================================================
5 | // BASIC FUNCTIONALITY TESTS
6 | // =============================================================================
7 |
8 | test.describe("Basic Functionality", () => {
9 | test("component renders", async ({ initTestBed, createTextBoxDriver }) => {
10 | await initTestBed(`<TextBox testId="test" />`);
11 | const driver = await createTextBoxDriver("test");
12 | await expect(driver.component).toBeVisible();
13 | });
14 |
15 | test("component renders with label", async ({ initTestBed, createTextBoxDriver }) => {
16 | await initTestBed(`<TextBox testId="test" label="Username" />`);
17 | const driver = await createTextBoxDriver("test");
18 | await expect(driver.component).toBeVisible();
19 | await expect(driver.label).toBeVisible();
20 | });
21 |
22 | test("initialValue sets field value", async ({ initTestBed, createTextBoxDriver }) => {
23 | await initTestBed(`<TextBox testId="test" initialValue="test value" />`);
24 | const driver = await createTextBoxDriver("test");
25 | await expect(driver.input).toHaveValue("test value");
26 | });
27 |
28 | test("initialValue accepts empty as empty string", async ({ initTestBed, createTextBoxDriver }) => {
29 | await initTestBed(`<TextBox testId="test" initialValue="" />`);
30 | const driver = await createTextBoxDriver("test");
31 | await expect(driver.input).toHaveValue("");
32 | });
33 |
34 | test("initialValue accepts different data types", async ({ initTestBed, createTextBoxDriver }) => {
35 | // Test string
36 | await initTestBed(`<TextBox testId="test" initialValue="hello" />`);
37 | const driver1 = await createTextBoxDriver("test");
38 | await expect(driver1.input).toHaveValue("hello");
39 |
40 | // Test number
41 | await initTestBed(`<TextBox testId="test" initialValue="{123}" />`);
42 | const driver2 = await createTextBoxDriver("test");
43 | await expect(driver2.input).toHaveValue("123");
44 |
45 | // Test boolean
46 | await initTestBed(`<TextBox testId="test" initialValue="{true}" />`);
47 | const driver3 = await createTextBoxDriver("test");
48 | await expect(driver3.input).toHaveValue("true");
49 | });
50 |
51 | test("initialValue handles null", async ({ initTestBed, createTextBoxDriver }) => {
52 | await initTestBed(`<TextBox testId="test" initialValue="{null}" />`);
53 | const driver = await createTextBoxDriver("test");
54 | await expect(driver.input).toHaveValue("");
55 | });
56 |
57 | test("initialValue handles undefined", async ({ initTestBed, createTextBoxDriver }) => {
58 | await initTestBed(`<TextBox testId="test" initialValue="{undefined}" />`);
59 | const driver = await createTextBoxDriver("test");
60 | await expect(driver.input).toHaveValue("");
61 | });
62 |
63 | test("component accepts user input", async ({ initTestBed, createTextBoxDriver }) => {
64 | await initTestBed(`<TextBox testId="test" />`);
65 | const driver = await createTextBoxDriver("test");
66 | await driver.input.fill("user input");
67 | await expect(driver.input).toHaveValue("user input");
68 | });
69 |
70 | test("component clears input correctly", async ({ initTestBed, createTextBoxDriver }) => {
71 | await initTestBed(`<TextBox testId="test" initialValue="initial text" />`);
72 | const driver = await createTextBoxDriver("test");
73 | await expect(driver.input).toHaveValue("initial text");
74 | await driver.input.clear();
75 | await expect(driver.input).toHaveValue("");
76 | });
77 |
78 | test("component required prop adds required attribute", async ({ initTestBed, createTextBoxDriver }) => {
79 | await initTestBed(`<TextBox testId="test" required="true" />`);
80 | const driver = await createTextBoxDriver("test");
81 | await expect(driver.input).toHaveAttribute("required");
82 | });
83 |
84 | test("enabled=false disables control", async ({ initTestBed, createTextBoxDriver }) => {
85 | await initTestBed(`<TextBox testId="test" enabled="false" />`);
86 | const driver = await createTextBoxDriver("test");
87 | await expect(driver.input).toBeDisabled();
88 | });
89 |
90 | test("enabled=false prevents user input", async ({ initTestBed, createTextBoxDriver }) => {
91 | await initTestBed(`<TextBox testId="test" enabled="false" />`);
92 | const driver = await createTextBoxDriver("test");
93 | await expect(driver.input).not.toBeEditable();
94 | });
95 |
96 | test("readOnly prevents editing but allows focus", async ({ initTestBed, createTextBoxDriver }) => {
97 | await initTestBed(`<TextBox testId="test" readOnly="true" initialValue="read only text" />`);
98 | const driver = await createTextBoxDriver("test");
99 | await expect(driver.input).toHaveAttribute("readonly");
100 | await expect(driver.input).toHaveValue("read only text");
101 | await expect(driver.input).not.toBeEditable();
102 |
103 | await driver.input.focus();
104 | await expect(driver.input).toBeFocused();
105 | });
106 |
107 | test("autoFocus focuses input on mount", async ({ initTestBed, createTextBoxDriver }) => {
108 | await initTestBed(`<TextBox testId="test" autoFocus="true" />`);
109 | const driver = await createTextBoxDriver("test");
110 | await expect(driver.input).toBeFocused();
111 | });
112 |
113 | test("autoFocus focuses input on mount with label", async ({ initTestBed, createTextBoxDriver }) => {
114 | await initTestBed(`<TextBox testId="test" autoFocus="true" label="Auto-focused input" />`);
115 | const driver = await createTextBoxDriver("test");
116 | await expect(driver.input).toBeFocused();
117 | });
118 |
119 | test("placeholder shows when input is empty", async ({ initTestBed, createTextBoxDriver }) => {
120 | await initTestBed(`<TextBox testId="test" placeholder="Enter text here..." />`);
121 | const driver = await createTextBoxDriver("test");
122 | await expect(driver.input).toHaveAttribute("placeholder", "Enter text here...");
123 | });
124 |
125 | test("maxLength limits input length", async ({ initTestBed, createTextBoxDriver }) => {
126 | await initTestBed(`<TextBox testId="test" maxLength="5" />`);
127 | const driver = await createTextBoxDriver("test");
128 | await driver.input.fill("12345678");
129 | await expect(driver.input).toHaveValue("12345");
130 | });
131 |
132 | test("can render startIcon", async ({ initTestBed, createTextBoxDriver }) => {
133 | await initTestBed(`<TextBox testId="test" startIcon="search" />`);
134 | const driver = await createTextBoxDriver("test");
135 | await expect(driver.startAdornment).toBeVisible();
136 | });
137 |
138 | test("can render endIcon", async ({ initTestBed, createTextBoxDriver }) => {
139 | await initTestBed(`<TextBox testId="test" endIcon="search" />`);
140 | const driver = await createTextBoxDriver("test");
141 | await expect(driver.endAdornment).toBeVisible();
142 | });
143 | });
144 |
145 | // =============================================================================
146 | // ACCESSIBILITY TESTS
147 | // =============================================================================
148 |
149 | test.describe("Accessibility", () => {
150 | test("label is properly associated with input", async ({ initTestBed, createTextBoxDriver }) => {
151 | await initTestBed(`<TextBox testId="test" label="Username" />`);
152 | const driver = await createTextBoxDriver("test");
153 | await expect(driver.label).toBeVisible();
154 | });
155 |
156 | test("component supports keyboard navigation", async ({ initTestBed, createTextBoxDriver }) => {
157 | await initTestBed(`<TextBox testId="test" label="Input" />`);
158 | const driver = await createTextBoxDriver("test");
159 | await driver.input.focus();
160 | await expect(driver.input).toBeFocused();
161 | });
162 |
163 | test("component supports keyboard navigation from other elements", async ({
164 | initTestBed,
165 | page,
166 | createTextBoxDriver,
167 | }) => {
168 | await initTestBed(`
169 | <Fragment>
170 | <TextBox testId="first-input" label="First input" />
171 | <TextBox testId="second-input" label="Second input" />
172 | </Fragment>
173 | `);
174 | const firstInput = await createTextBoxDriver("first-input");
175 | const secondInput = await createTextBoxDriver("second-input");
176 |
177 | await firstInput.input.focus();
178 | await expect(firstInput.input).toBeFocused();
179 |
180 | await page.keyboard.press("Tab", { delay: 100 });
181 | await expect(secondInput.input).toBeFocused();
182 | });
183 |
184 | test("required has proper ARIA attributes", async ({ initTestBed, createTextBoxDriver }) => {
185 | await initTestBed(`<TextBox testId="test" required="true" label="Required input" />`);
186 | const driver = await createTextBoxDriver("test");
187 | await expect(driver.input).toHaveAttribute("required");
188 | await expect(driver.label).toContainText("*");
189 | });
190 |
191 | test("disabled component has proper attribute", async ({ initTestBed, createTextBoxDriver }) => {
192 | await initTestBed(`<TextBox testId="test" enabled="false" />`);
193 | const driver = await createTextBoxDriver("test");
194 | await expect(driver.input).toHaveAttribute("disabled");
195 | });
196 |
197 | test("readOnly has proper ARIA attributes", async ({ initTestBed, createTextBoxDriver }) => {
198 | await initTestBed(`<TextBox testId="test" readOnly="true" label="Read-only input" />`);
199 | const driver = await createTextBoxDriver("test");
200 | await expect(driver.input).toHaveAttribute("readonly");
201 | await expect(driver.label).toContainText("Read-only input");
202 | await expect(driver.input).not.toBeEditable();
203 | });
204 | });
205 |
206 | // =============================================================================
207 | // LABEL POSITIONING TESTS
208 | // =============================================================================
209 |
210 | test.describe("Label", () => {
211 | test("labelPosition=start positions label before input", async ({ initTestBed, createTextBoxDriver }) => {
212 | await initTestBed(`<TextBox testId="test" direction="ltr" label="test" labelPosition="start" />`);
213 |
214 | const driver = await createTextBoxDriver("test");
215 |
216 | const { left: textboxLeft } = await getBounds(driver.input);
217 | const { right: labelRight } = await getBounds(driver.label);
218 |
219 | expect(labelRight).toBeLessThan(textboxLeft);
220 | });
221 |
222 | test("labelPosition=end positions label after input", async ({ initTestBed, createTextBoxDriver }) => {
223 | await initTestBed(`<TextBox testId="test" direction="ltr" label="test" labelPosition="end" />`);
224 |
225 | const driver = await createTextBoxDriver("test");
226 |
227 | const { right: textboxRight } = await getBounds(driver.input);
228 | const { left: labelLeft } = await getBounds(driver.label);
229 |
230 | expect(labelLeft).toBeGreaterThan(textboxRight);
231 | });
232 |
233 | test("labelPosition=top positions label above input", async ({ initTestBed, createTextBoxDriver }) => {
234 | await initTestBed(`<TextBox testId="test" label="test" labelPosition="top" />`);
235 |
236 | const driver = await createTextBoxDriver("test");
237 |
238 | const { top: textboxTop } = await getBounds(driver.input);
239 | const { bottom: labelBottom } = await getBounds(driver.label);
240 |
241 | expect(labelBottom).toBeLessThan(textboxTop);
242 | });
243 |
244 | test("labelPosition=bottom positions label below input", async ({ initTestBed, createTextBoxDriver }) => {
245 | await initTestBed(`<TextBox testId="test" label="test" labelPosition="bottom" />`);
246 |
247 | const driver = await createTextBoxDriver("test");
248 |
249 | const { bottom: textboxBottom } = await getBounds(driver.input);
250 | const { top: labelTop } = await getBounds(driver.label);
251 |
252 | expect(labelTop).toBeGreaterThan(textboxBottom);
253 | });
254 |
255 | test("labelBreak enables label line breaks", async ({ initTestBed, createTextBoxDriver }) => {
256 | const labelText = "Very long label text that should break";
257 | const commonProps = `label="${labelText}" labelWidth="100px"`;
258 | await initTestBed(
259 | `<Fragment>
260 | <TextBox ${commonProps} testId="break" labelBreak="{true}" />
261 | <TextBox ${commonProps} testId="oneLine" labelBreak="{false}" />
262 | </Fragment>`,
263 | );
264 | const driverBreak = await createTextBoxDriver("break");
265 | const driverOneLine = await createTextBoxDriver("oneLine");
266 | const { height: heightBreak } = await getBounds(driverBreak.label);
267 | const { height: heightOneLine } = await getBounds(driverOneLine.label);
268 |
269 | expect(heightBreak).toBeGreaterThan(heightOneLine);
270 | });
271 |
272 | test("component handles invalid labelPosition gracefully", async ({ initTestBed, createTextBoxDriver }) => {
273 | await initTestBed(`<TextBox testId="test" labelPosition="invalid" label="test" />`);
274 | const driver = await createTextBoxDriver("test");
275 | await expect(driver.label).toBeVisible();
276 | await expect(driver.input).toBeVisible();
277 | });
278 | });
279 |
280 | // =============================================================================
281 | // EVENT HANDLING TESTS
282 | // =============================================================================
283 |
284 | test.describe("Event Handling", () => {
285 | test("didChange event fires on input change", async ({ initTestBed, createTextBoxDriver }) => {
286 | const { testStateDriver } = await initTestBed(`
287 | <TextBox testId="test" onDidChange="testState = 'changed'" />
288 | `);
289 | const driver = await createTextBoxDriver("test");
290 | await driver.input.fill("test");
291 | await expect.poll(testStateDriver.testState).toEqual("changed");
292 | });
293 |
294 | test("didChange event passes new value", async ({ initTestBed, createTextBoxDriver }) => {
295 | const { testStateDriver } = await initTestBed(`
296 | <TextBox testId="test" onDidChange="arg => testState = arg" />
297 | `);
298 | const driver = await createTextBoxDriver("test");
299 | await driver.input.fill("test value");
300 | await expect.poll(testStateDriver.testState).toEqual("test value");
301 | });
302 |
303 | test("gotFocus event fires on focus", async ({ initTestBed, createTextBoxDriver }) => {
304 | const { testStateDriver } = await initTestBed(`
305 | <TextBox testId="test" onGotFocus="testState = 'focused'" />
306 | `);
307 | const driver = await createTextBoxDriver("test");
308 | await driver.input.focus();
309 | await expect.poll(testStateDriver.testState).toEqual("focused");
310 | });
311 |
312 | test("gotFocus event fires on label click", async ({ initTestBed, page }) => {
313 | const { testStateDriver } = await initTestBed(`
314 | <TextBox label="Username" onGotFocus="testState = 'focused'" />
315 | `);
316 | await page.getByText("Username").click();
317 | await expect.poll(testStateDriver.testState).toEqual("focused");
318 | });
319 |
320 | test("component lostFocus event fires on blur", async ({ initTestBed, createTextBoxDriver }) => {
321 | const { testStateDriver } = await initTestBed(`
322 | <TextBox testId="test" onLostFocus="testState = 'blurred'" />
323 | `);
324 | const driver = await createTextBoxDriver("test");
325 | await driver.input.focus();
326 | await driver.input.blur();
327 | await expect.poll(testStateDriver.testState).toEqual("blurred");
328 | });
329 |
330 | test("events do not fire when component is disabled", async ({ initTestBed, createTextBoxDriver }) => {
331 | const { testStateDriver } = await initTestBed(`
332 | <TextBox testId="test" enabled="false" didChange="testState = 'changed'" gotFocus="testState = 'focused'" />
333 | `);
334 | const driver = await createTextBoxDriver("test");
335 | await driver.input.focus();
336 | await driver.input.fill("test", { force: true });
337 | await expect.poll(testStateDriver.testState).toEqual(null);
338 | });
339 | });
340 |
341 | // =============================================================================
342 | // API TESTS
343 | // =============================================================================
344 |
345 | test.describe("Api", () => {
346 | test("component value API returns current state", async ({ initTestBed, page }) => {
347 | await initTestBed(`
348 | <Fragment>
349 | <TextBox id="myTextBox" initialValue="initial" />
350 | <Text testId="value">{myTextBox.value}</Text>
351 | </Fragment>
352 | `);
353 | await expect(page.getByTestId("value")).toHaveText("initial");
354 | });
355 |
356 | test("component value API returns state after change", async ({ initTestBed, page, createTextBoxDriver }) => {
357 | await initTestBed(`
358 | <Fragment>
359 | <TextBox id="myTextBox" testId="myTextBox" />
360 | <Text testId="value">{myTextBox.value}</Text>
361 | </Fragment>
362 | `);
363 | const driver = await createTextBoxDriver("myTextBox");
364 | await expect(page.getByTestId("value")).toHaveText("");
365 | await driver.input.fill("new value");
366 | await expect(page.getByTestId("value")).toHaveText("new value");
367 | });
368 |
369 | test("component setValue API updates state", async ({ initTestBed, page, createTextBoxDriver }) => {
370 | await initTestBed(`
371 | <Fragment>
372 | <TextBox id="myTextBox" testId="myTextBox" />
373 | <Button testId="setBtn" onClick="myTextBox.setValue('api value')" />
374 | </Fragment>
375 | `);
376 | const driver = await createTextBoxDriver("myTextBox");
377 | await page.getByTestId("setBtn").click();
378 | await expect(driver.input).toHaveValue("api value");
379 | });
380 |
381 | test("component setValue API triggers events", async ({ initTestBed, page }) => {
382 | const { testStateDriver } = await initTestBed(`
383 | <Fragment>
384 | <TextBox id="myTextBox" onDidChange="testState = 'api-changed'" />
385 | <Button testId="setBtn" onClick="myTextBox.setValue('test')">Set Value</Button>
386 | </Fragment>
387 | `);
388 | await page.getByTestId("setBtn").click();
389 | await expect.poll(testStateDriver.testState).toEqual("api-changed");
390 | });
391 |
392 | test("focus API focuses the input", async ({ initTestBed, page, createTextBoxDriver }) => {
393 | await initTestBed(`
394 | <Fragment>
395 | <TextBox id="myTextBox" />
396 | <Button testId="focusBtn" onClick="myTextBox.focus()">Focus</Button>
397 | </Fragment>
398 | `);
399 | const driver = await createTextBoxDriver("myTextBox");
400 | await expect(driver.input).not.toBeFocused();
401 |
402 | await page.getByTestId("focusBtn").click();
403 | await expect(driver.input).toBeFocused();
404 | });
405 |
406 | test("focus API does nothing when component is disabled", async ({ initTestBed, page, createTextBoxDriver }) => {
407 | await initTestBed(`
408 | <Fragment>
409 | <TextBox id="myTextBox" enabled="false" />
410 | <Button testId="focusBtn" onClick="myTextBox.focus()">Focus</Button>
411 | </Fragment>
412 | `);
413 | const driver = await createTextBoxDriver("myTextBox");
414 | await page.getByTestId("focusBtn").click();
415 | await expect(driver.input).not.toBeFocused();
416 | });
417 | });
418 |
419 | // =============================================================================
420 | // INPUT ADORNMENTS TESTS
421 | // =============================================================================
422 |
423 | test.describe("Input Adornments", () => {
424 | test("startText displays at beginning of input", async ({ initTestBed, createTextBoxDriver }) => {
425 | await initTestBed(`<TextBox testId="input" startText="$" />`);
426 | const driver = await createTextBoxDriver("input");
427 |
428 | const { left: compLeft, right: compRight } = await getBounds(driver.input);
429 | const { left: textLeft, right: textRight } = await getBounds(driver.startAdornment);
430 |
431 | await expect(driver.startAdornment).toContainText("$");
432 | expect(textRight - compLeft).toBeLessThanOrEqual(compRight - textLeft);
433 | });
434 |
435 | test("endText displays at end of input", async ({ initTestBed, createTextBoxDriver }) => {
436 | await initTestBed(`<TextBox testId="input" endText="USD" />`);
437 | const driver = await createTextBoxDriver("input");
438 |
439 | const { left: compLeft, right: compRight } = await getBounds(driver.input);
440 | const { left: textLeft, right: textRight } = await getBounds(driver.endAdornment);
441 |
442 | await expect(driver.endAdornment).toContainText("USD");
443 | expect(textRight - compLeft).toBeGreaterThanOrEqual(compRight - textLeft);
444 | });
445 |
446 | test("startIcon displays at beginning of input", async ({ initTestBed, createTextBoxDriver }) => {
447 | await initTestBed(`<TextBox testId="input" startIcon="search" />`);
448 | const driver = await createTextBoxDriver("input");
449 |
450 | const { left: compLeft, right: compRight } = await getBounds(driver.input);
451 | const { left: iconLeft, right: iconRight } = await getBounds(driver.startAdornment);
452 |
453 | expect(iconRight - compLeft).toBeLessThanOrEqual(compRight - iconLeft);
454 | });
455 |
456 | test("endIcon displays at end of input", async ({ initTestBed, createTextBoxDriver }) => {
457 | await initTestBed(`<TextBox testId="input" endIcon="search" />`);
458 |
459 | const driver = await createTextBoxDriver("input");
460 | const { left: compLeft, right: compRight } = await getBounds(driver.input);
461 | const { left: iconLeft, right: iconRight } = await getBounds(driver.endAdornment);
462 |
463 | expect(iconRight - compLeft).toBeGreaterThanOrEqual(compRight - iconLeft);
464 | });
465 |
466 | test("multiple adornments can be combined", async ({ initTestBed, createTextBoxDriver }) => {
467 | await initTestBed(`
468 | <TextBox testId="input" startText="$" endText="USD" startIcon="search" endIcon="search" />`);
469 | const driver = await createTextBoxDriver("input");
470 | await expect(driver.startAdornment).toContainText("$");
471 | await expect(driver.endAdornment).toContainText("USD");
472 | await expect(driver.startAdornment).toBeVisible();
473 | await expect(driver.endAdornment).toBeVisible();
474 | });
475 |
476 | test("all adornments appear in the right place", async ({ initTestBed, createTextBoxDriver }) => {
477 | await initTestBed(`
478 | <TextBox testId="input" startText="$" endText="USD" startIcon="search" endIcon="search" direction="ltr" />
479 | `);
480 | const driver = await createTextBoxDriver("input");
481 | const { left: compLeft, right: compRight } = await getBounds(driver.input);
482 | const { left: startTextLeft, right: startTextRight } = await getBounds(driver.startAdornment);
483 | const { left: endTextLeft, right: endTextRight } = await getBounds(driver.endAdornment);
484 | const { left: startIconLeft, right: startIconRight } = await getBounds(
485 | driver.startAdornment,
486 | );
487 | const { left: endIconLeft, right: endIconRight } = await getBounds(
488 | driver.endAdornment,
489 | );
490 |
491 | // Check order of adornments
492 | expect(startTextRight - compLeft).toBeLessThanOrEqual(compRight - startTextLeft);
493 | expect(startIconRight - compLeft).toBeLessThanOrEqual(compRight - startIconLeft);
494 | expect(endTextRight - compLeft).toBeGreaterThanOrEqual(compRight - endTextLeft);
495 | expect(endIconRight - compLeft).toBeGreaterThanOrEqual(compRight - endIconLeft);
496 | });
497 | });
498 |
499 | // =============================================================================
500 | // PASSWORD INPUT TESTS
501 | // =============================================================================
502 |
503 | test.describe("Password Input", () => {
504 | test("component renders", async ({ initTestBed, createTextBoxDriver }) => {
505 | await initTestBed(`<PasswordInput testId="input" />`);
506 | const driver = await createTextBoxDriver("input");
507 | await expect(driver.component).toBeVisible();
508 | });
509 |
510 | test("component has password type", async ({ initTestBed, createTextBoxDriver }) => {
511 | await initTestBed(`<PasswordInput testId="input" />`);
512 | const driver = await createTextBoxDriver("input");
513 | await expect(driver.input).toHaveAttribute("type", "password");
514 | });
515 |
516 | test("component has initial value", async ({ initTestBed, createTextBoxDriver }) => {
517 | await initTestBed(`<PasswordInput testId="input" initialValue="secret" />`);
518 | const driver = await createTextBoxDriver("input");
519 | await expect(driver.input).toHaveValue("secret");
520 | });
521 |
522 | test("showPasswordToggle displays visibility toggle", async ({ initTestBed, createTextBoxDriver }) => {
523 | await initTestBed(`<PasswordInput testId="input" showPasswordToggle="true" />`);
524 | const driver = await createTextBoxDriver("input");
525 | await expect(driver.input).toBeVisible();
526 | });
527 |
528 | test("password toggle switches between visible and hidden", async ({ initTestBed, createTextBoxDriver }) => {
529 | await initTestBed(`<PasswordInput testId="input" showPasswordToggle="true" />`);
530 | const driver = await createTextBoxDriver("input");
531 | await expect(driver.input).toHaveAttribute("type", "password");
532 | await driver.button.click();
533 | await expect(driver.input).toHaveAttribute("type", "text");
534 | });
535 |
536 | test("custom password icons work correctly", async ({ initTestBed, createTextBoxDriver }) => {
537 | await initTestBed(
538 | `
539 | <PasswordInput
540 | testId="input"
541 | showPasswordToggle="true"
542 | passwordVisibleIcon="test"
543 | passwordHiddenIcon="test"
544 | />`,
545 | {
546 | resources: {
547 | "icon.test": "resources/bell.svg",
548 | },
549 | },
550 | );
551 | const driver = await createTextBoxDriver("input");
552 | const icon = driver.button;
553 | await expect(icon).toBeVisible();
554 | await icon.click();
555 | await expect(icon).toBeVisible();
556 | });
557 | });
558 |
559 | // =============================================================================
560 | // VISUAL STATE TESTS
561 | // =============================================================================
562 |
563 | test.describe("Theme Vars", () => {
564 | test("backgroundColor applies correctly", async ({ initTestBed, createTextBoxDriver }) => {
565 | await initTestBed(`<TextBox testId="input" />`, {
566 | testThemeVars: {
567 | "backgroundColor-TextBox": "rgb(255, 240, 240)",
568 | },
569 | });
570 | const driver = await createTextBoxDriver("input");
571 | await expect(driver.component).toHaveCSS("background-color", "rgb(255, 240, 240)");
572 | });
573 |
574 | test("borderColor applies correctly", async ({ initTestBed, createTextBoxDriver }) => {
575 | await initTestBed(`<TextBox testId="input" />`, {
576 | testThemeVars: {
577 | "borderColor-TextBox": "rgb(255, 0, 0)",
578 | },
579 | });
580 | const driver = await createTextBoxDriver("input");
581 | await expect(driver.component).toHaveCSS("border-color", "rgb(255, 0, 0)");
582 | });
583 |
584 | test("textColor applies correctly", async ({ initTestBed, createTextBoxDriver }) => {
585 | await initTestBed(`<TextBox testId="input" />`, {
586 | testThemeVars: {
587 | "textColor-TextBox": "rgb(0, 0, 255)",
588 | },
589 | });
590 | const driver = await createTextBoxDriver("input");
591 | await expect(driver.component).toHaveCSS("color", "rgb(0, 0, 255)");
592 | });
593 |
594 | test("focus borderColor applies on focus", async ({ initTestBed, createTextBoxDriver }) => {
595 | await initTestBed(`<TextBox testId="input" />`, {
596 | testThemeVars: {
597 | "borderColor-TextBox--focus": "rgb(0, 255, 0)",
598 | },
599 | });
600 | const driver = await createTextBoxDriver("input");
601 | await driver.input.focus();
602 | await expect(driver.component).toHaveCSS("border-color", "rgb(0, 255, 0)");
603 | });
604 |
605 | test("disabled backgroundColor applies when disabled", async ({ initTestBed, createTextBoxDriver }) => {
606 | await initTestBed(`<TextBox testId="input" enabled="false" />`, {
607 | testThemeVars: {
608 | "backgroundColor-TextBox--disabled": "rgb(240, 240, 240)",
609 | },
610 | });
611 | const driver = await createTextBoxDriver("input");
612 | await expect(driver.component).toHaveCSS("background-color", "rgb(240, 240, 240)");
613 | });
614 |
615 | test("borderRadius applies correctly", async ({ initTestBed, createTextBoxDriver }) => {
616 | await initTestBed(`<TextBox testId="input" />`, {
617 | testThemeVars: {
618 | "borderRadius-TextBox": "8px",
619 | },
620 | });
621 | const driver = await createTextBoxDriver("input");
622 | await expect(driver.component).toHaveCSS("border-radius", "8px");
623 | });
624 |
625 | test("padding applies correctly", async ({ initTestBed, createTextBoxDriver }) => {
626 | await initTestBed(`<TextBox testId="input" />`, {
627 | testThemeVars: {
628 | "padding-TextBox": "12px",
629 | },
630 | });
631 | const driver = await createTextBoxDriver("input");
632 | await expect(driver.component).toHaveCSS("padding", "12px");
633 | });
634 | });
635 |
636 | // =============================================================================
637 | // VALIDATION STATUS TESTS
638 | // =============================================================================
639 |
640 | test.describe("Validation", () => {
641 | test("handles invalid validationStatus gracefully", async ({ initTestBed, createTextBoxDriver }) => {
642 | await initTestBed(`<TextBox testId="input" validationStatus="invalid" />`, {
643 | testThemeVars: {
644 | "borderColor-TextBox--default": "rgb(0, 0, 0)",
645 | "borderColor-TextBox--error": "rgb(255, 0, 0)",
646 | "borderColor-TextBox--warning": "rgb(255, 165, 0)",
647 | "borderColor-TextBox--success": "rgb(0, 255, 0)",
648 | },
649 | });
650 | const driver = await createTextBoxDriver("input");
651 | await expect(driver.component).not.toHaveCSS("border-color", "rgb(255, 0, 0)");
652 | await expect(driver.component).not.toHaveCSS("border-color", "rgb(255, 165, 0)");
653 | await expect(driver.component).not.toHaveCSS("border-color", "rgb(0, 255, 0)");
654 | await expect(driver.component).toHaveCSS("border-color", "rgb(0, 0, 0)");
655 | });
656 |
657 | [
658 | { value: "--default", prop: "" },
659 | { value: "--warning", prop: 'validationStatus="warning"' },
660 | { value: "--error", prop: 'validationStatus="error"' },
661 | { value: "--success", prop: 'validationStatus="valid"' },
662 | ].forEach((variant) => {
663 | test(`applies correct borderRadius ${variant.value}`, async ({ initTestBed, page }) => {
664 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
665 | testThemeVars: { [`borderRadius-TextBox${variant.value}`]: "12px" },
666 | });
667 | await expect(page.getByTestId("test")).toHaveCSS("border-radius", "12px");
668 | });
669 |
670 | test(`applies correct borderColor ${variant.value}`, async ({ initTestBed, page }) => {
671 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
672 | testThemeVars: { [`borderColor-TextBox${variant.value}`]: "rgb(255, 0, 0)" },
673 | });
674 | await expect(page.getByTestId("test")).toHaveCSS("border-color", "rgb(255, 0, 0)");
675 | });
676 |
677 | test(`applies correct borderWidth ${variant.value}`, async ({ initTestBed, page }) => {
678 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
679 | testThemeVars: { [`borderWidth-TextBox${variant.value}`]: "1px" },
680 | });
681 | await expect(page.getByTestId("test")).toHaveCSS("border-width", "1px");
682 | });
683 |
684 | test(`applies correct borderStyle ${variant.value}`, async ({ initTestBed, page }) => {
685 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
686 | testThemeVars: { [`borderStyle-TextBox${variant.value}`]: "dashed" },
687 | });
688 | await expect(page.getByTestId("test")).toHaveCSS("border-style", "dashed");
689 | });
690 |
691 | test(`applies correct fontSize ${variant.value}`, async ({ initTestBed, page }) => {
692 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
693 | testThemeVars: { [`fontSize-TextBox${variant.value}`]: "14px" },
694 | });
695 | await expect(page.getByTestId("test")).toHaveCSS("font-size", "14px");
696 | });
697 |
698 | test(`applies correct backgroundColor ${variant.value}`, async ({ initTestBed, page }) => {
699 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
700 | testThemeVars: { [`backgroundColor-TextBox${variant.value}`]: "rgb(240, 240, 240)" },
701 | });
702 | await expect(page.getByTestId("test")).toHaveCSS("background-color", "rgb(240, 240, 240)");
703 | });
704 |
705 | test(`applies correct boxShadow ${variant.value}`, async ({ initTestBed, page }) => {
706 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
707 | testThemeVars: {
708 | [`boxShadow-TextBox${variant.value}`]: "0 2px 8px rgba(0, 0, 0, 0.1)",
709 | },
710 | });
711 | await expect(page.getByTestId("test")).toHaveCSS(
712 | "box-shadow",
713 | "rgba(0, 0, 0, 0.1) 0px 2px 8px 0px",
714 | );
715 | });
716 |
717 | test(`applies correct textColor ${variant.value}`, async ({ initTestBed, page }) => {
718 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
719 | testThemeVars: { [`textColor-TextBox${variant.value}`]: "rgb(0, 0, 0)" },
720 | });
721 | await expect(page.getByTestId("test")).toHaveCSS("color", "rgb(0, 0, 0)");
722 | });
723 |
724 | test(`applies correct borderColor on hover ${variant.value}`, async ({ initTestBed, page }) => {
725 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
726 | testThemeVars: { [`borderColor-TextBox${variant.value}--hover`]: "rgb(0, 0, 0)" },
727 | });
728 | await page.getByTestId("test").hover();
729 | await expect(page.getByTestId("test")).toHaveCSS("border-color", "rgb(0, 0, 0)");
730 | });
731 |
732 | test(`applies correct backgroundColor on hover ${variant.value}`, async ({
733 | initTestBed,
734 | page,
735 | }) => {
736 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
737 | testThemeVars: { [`backgroundColor-TextBox${variant.value}--hover`]: "rgb(0, 0, 0)" },
738 | });
739 | await page.getByTestId("test").hover();
740 | await expect(page.getByTestId("test")).toHaveCSS("background-color", "rgb(0, 0, 0)");
741 | });
742 |
743 | test(`applies correct boxShadow on hover ${variant.value}`, async ({ initTestBed, page }) => {
744 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
745 | testThemeVars: {
746 | [`boxShadow-TextBox${variant.value}--hover`]: "0 2px 8px rgba(0, 0, 0, 0.1)",
747 | },
748 | });
749 | await page.getByTestId("test").hover();
750 | await expect(page.getByTestId("test")).toHaveCSS(
751 | "box-shadow",
752 | "rgba(0, 0, 0, 0.1) 0px 2px 8px 0px",
753 | );
754 | });
755 |
756 | test(`applies correct textColor on hover ${variant.value}`, async ({ initTestBed, page }) => {
757 | await initTestBed(`<TextBox testId="test" ${variant.prop} />`, {
758 | testThemeVars: { [`textColor-TextBox${variant.value}--hover`]: "rgb(0, 0, 0)" },
759 | });
760 | await page.getByTestId("test").hover();
761 | await expect(page.getByTestId("test")).toHaveCSS("color", "rgb(0, 0, 0)");
762 | });
763 | });
764 | });
765 |
766 | // =============================================================================
767 | // EDGE CASE TESTS
768 | // =============================================================================
769 |
770 | test.describe("Edge Cases", () => {
771 | test("handle special characters in input", async ({ initTestBed, createTextBoxDriver }) => {
772 | await initTestBed(`<TextBox testId="input"/>`);
773 | const driver = await createTextBoxDriver("input");
774 | await driver.input.fill("Hello 日本語 @#$%!");
775 | await expect(driver.input).toHaveValue("Hello 日本語 @#$%!");
776 | });
777 |
778 | test("handle Unicode characters in input", async ({ initTestBed, createTextBoxDriver }) => {
779 | await initTestBed(`<TextBox testId="input"/>`);
780 | const driver = await createTextBoxDriver("input");
781 | await driver.input.fill("🚀 Unicode test 🎉");
782 | await expect(driver.input).toHaveValue("🚀 Unicode test 🎉");
783 | });
784 |
785 | test("component handles very long input text", async ({ initTestBed, createTextBoxDriver }) => {
786 | const longText =
787 | "This is a very long text that might cause layout or performance issues in the component".repeat(
788 | 10,
789 | );
790 | await initTestBed(`<TextBox testId="input"/>`);
791 | const driver = await createTextBoxDriver("input");
792 | await driver.input.fill(longText);
793 | await expect(driver.input).toHaveValue(longText);
794 | });
795 |
796 | test("component handles special characters correctly", async ({ initTestBed, createTextBoxDriver }) => {
797 | await initTestBed(`<TextBox testId="input" label="Input with !@#$%^&*()"/>`, {});
798 | const driver = await createTextBoxDriver("input");
799 | await expect(driver.label).toBeVisible();
800 | });
801 |
802 | test("component handles extremely long input values", async ({ initTestBed, createTextBoxDriver }) => {
803 | await initTestBed(`<TextBox testId="input"/>`);
804 | const driver = await createTextBoxDriver("input");
805 | const veryLongText = "A".repeat(10000);
806 | await driver.input.fill(veryLongText);
807 | await expect(driver.input).toHaveValue(veryLongText);
808 | });
809 | });
810 |
811 | // =============================================================================
812 | // INTEGRATION TESTS
813 | // =============================================================================
814 |
815 | test.describe("Integration", () => {
816 | test("component works correctly in Stack layout contexts", async ({ initTestBed, createTextBoxDriver }) => {
817 | await initTestBed(`<Stack><TextBox testId="input" /></Stack>`);
818 | const driver = await createTextBoxDriver("input");
819 | const { width, height } = await getBounds(driver.input);
820 |
821 | await expect(driver.input).toBeVisible();
822 | expect(width).toBeGreaterThan(0);
823 | expect(height).toBeGreaterThan(0);
824 | });
825 |
826 | test("component works correctly in FlowLayout layout contexts", async ({ initTestBed, createTextBoxDriver }) => {
827 | await initTestBed(`<FlowLayout><TextBox testId="input" /></FlowLayout>`);
828 | const driver = await createTextBoxDriver("input");
829 | const { width, height } = await getBounds(driver.input);
830 |
831 | await expect(driver.input).toBeVisible();
832 | expect(width).toBeGreaterThan(0);
833 | expect(height).toBeGreaterThan(0);
834 | });
835 |
836 | test("component integrates with forms correctly", async ({ initTestBed, createTextBoxDriver }) => {
837 | await initTestBed(`<Form><TextBox testId="input" label="Username" /></Form>`);
838 | const driver = await createTextBoxDriver("input");
839 | const { width, height } = await getBounds(driver.input);
840 |
841 | await expect(driver.input).toBeVisible();
842 | expect(width).toBeGreaterThan(0);
843 | expect(height).toBeGreaterThan(0);
844 | });
845 |
846 | test("component works with conditional rendering", async ({ initTestBed, page, createTextBoxDriver }) => {
847 | await initTestBed(`
848 | <Fragment var.showInput="{true}">
849 | <Fragment when="{showInput}">
850 | <TextBox testId="input" label="Conditional input" />
851 | </Fragment>
852 | <Button testId="toggleBtn" onClick="showInput = !showInput">Toggle</Button>
853 | </Fragment>
854 | `);
855 |
856 | const driver = await createTextBoxDriver("input");
857 | await expect(driver.label).toBeVisible();
858 |
859 | await page.getByTestId("toggleBtn").click();
860 | await expect(driver.label).not.toBeVisible();
861 | });
862 | });
863 |
864 |
865 | test("labelWidth applies custom label width", async ({ initTestBed, createTextBoxDriver }) => {
866 | const expected = 200;
867 | await initTestBed(`<TextBox testId="test" label="test test" labelWidth="${expected}px" />`);
868 | const driver = await createTextBoxDriver("test");
869 | const { width } = await getBounds(driver.label);
870 | expect(width).toEqual(expected);
871 | });
872 |
873 | // =============================================================================
874 | // VISUAL STATE TESTS
875 | // =============================================================================
876 |
877 |
878 | test("input has correct width", async ({ initTestBed, page }) => {
879 | await initTestBed(`
880 | <TextBox width="200px" testId="test"/>
881 | `);
882 | const { width } = await page.getByTestId("test").boundingBox();
883 | expect(width).toBe(200);
884 | });
885 |
886 | test("input with label has correct width", async ({ initTestBed, page }) => {
887 | await initTestBed(`
888 | <TextBox width="200px" label="test" testId="test"/>
889 | `);
890 | const { width } = await page.getByTestId("test").boundingBox();
891 | expect(width).toBe(200);
892 | });
893 |
894 | test("input has correct width in %", async ({ page, initTestBed }) => {
895 | await page.setViewportSize({ width: 400, height: 300});
896 | await initTestBed(`<TextBox width="50%" testId="test"/>`, {});
897 |
898 | const input = page.getByTestId("test");
899 | const { width } = await input.boundingBox();
900 | expect(width).toBe(200);
901 | });
902 |
903 | test("input with label has correct width in %", async ({ page, initTestBed }) => {
904 | await page.setViewportSize({ width: 400, height: 300});
905 | await initTestBed(`<TextBox width="50%" label="test" testId="test"/>`, {});
906 |
907 | const input = page.getByTestId("test");
908 | const { width } = await input.boundingBox();
909 | expect(width).toBe(200);
910 | });
911 |
```
--------------------------------------------------------------------------------
/docs/public/pages/styles-and-themes/themes.md:
--------------------------------------------------------------------------------
```markdown
1 | import themeGallery from "./samples/theme-gallery.xmlui";
2 |
3 | # Themes [#themes-definitions]
4 |
5 | XMLUI ships with several built-in themes; you can discover them in this document.
6 |
7 | ## xmlui
8 |
9 | This is the framework's default theme. We loved the simple and beautiful UI style used in the [Tabler.io](https://tabler.io/) project by [Paweł Kuna](https://github.com/codecalm), so we used it in this theme.
10 |
11 | This theme is available in several color variants through these theme IDs:
12 | - `xmlui` (default theme with blueish colors)
13 | - `xmlui-green`
14 | - `xmlui-gray`
15 | - `xmlui-orange`
16 | - `xmlui-purple`
17 | - `xmlui-cyan`
18 | - `xmlui-red`
19 |
20 | ```xmlui-pg name="Theme: xmlui (light)"
21 | ---app
22 | <Theme tone="light" themeId="xmlui">
23 | <App>
24 | <ThemeGallery />
25 | </App>
26 | </Theme>
27 | ---comp
28 | <Component name="ThemeGallery">
29 | <VStack>
30 | <HStack>
31 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
32 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
33 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
34 | </HStack>
35 | <HStack>
36 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
37 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
38 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
39 | </HStack>
40 | <HStack>
41 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
42 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
43 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
44 | </HStack>
45 | <HStack>
46 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
47 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
48 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
49 | </HStack>
50 | <HStack>
51 | <Badge value="Badge"/>
52 | <Badge value="Long Pill" variant="pill"/>
53 | </HStack>
54 | <HStack>
55 | <Text value="Warning" color="$color-warn"/>
56 | <Text value="Danger" color="$color-danger"/>
57 | <Text value="Success" color="$color-success"/>
58 | <Text value="Info" color="$color-info"/>
59 | </HStack>
60 | <HStack>
61 | <Checkbox initialValue="false" label="Set or clear me!"/>
62 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
63 | <Switch initialValue="false" label="Toggle me!"/>
64 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
65 | </HStack>
66 | <FlowLayout>
67 | <TextBox width="50%" placeholder="John Smith"/>
68 | <NumberBox width="50%" initialValue="{12345}"/>
69 | </FlowLayout>
70 | <FlowLayout>
71 | <Text width="33%" variant="abbr">This is (abbr)</Text>
72 | <Text width="33%" variant="cite">This is (cite)</Text>
73 | <Text width="33%" variant="code">This is (code)</Text>
74 | <Text width="33%" variant="deleted">This is (deleted)</Text>
75 | <Text width="33%" variant="inserted">This is (inserted)</Text>
76 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
77 | </FlowLayout>
78 | <ProgressBar value="0.4"/>
79 | <HStack>
80 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
81 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
82 | <Spinner width="100px" />
83 | </HStack>
84 | </VStack>
85 | </Component>
86 | ```
87 |
88 | ```xmlui-pg name="Theme: xmlui (dark)"
89 | ---app
90 | <Theme tone="dark" themeId="xmlui">
91 | <App>
92 | <ThemeGallery />
93 | </App>
94 | </Theme>
95 | ---comp
96 | <Component name="ThemeGallery">
97 | <VStack>
98 | <HStack>
99 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
100 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
101 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
102 | </HStack>
103 | <HStack>
104 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
105 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
106 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
107 | </HStack>
108 | <HStack>
109 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
110 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
111 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
112 | </HStack>
113 | <HStack>
114 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
115 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
116 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
117 | </HStack>
118 | <HStack>
119 | <Badge value="Badge"/>
120 | <Badge value="Long Pill" variant="pill"/>
121 | </HStack>
122 | <HStack>
123 | <Text value="Warning" color="$color-warn"/>
124 | <Text value="Danger" color="$color-danger"/>
125 | <Text value="Success" color="$color-success"/>
126 | <Text value="Info" color="$color-info"/>
127 | </HStack>
128 | <HStack>
129 | <Checkbox initialValue="false" label="Set or clear me!"/>
130 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
131 | <Switch initialValue="false" label="Toggle me!"/>
132 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
133 | </HStack>
134 | <FlowLayout>
135 | <TextBox width="50%" placeholder="John Smith"/>
136 | <NumberBox width="50%" initialValue="{12345}"/>
137 | </FlowLayout>
138 | <FlowLayout>
139 | <Text width="33%" variant="abbr">This is (abbr)</Text>
140 | <Text width="33%" variant="cite">This is (cite)</Text>
141 | <Text width="33%" variant="code">This is (code)</Text>
142 | <Text width="33%" variant="deleted">This is (deleted)</Text>
143 | <Text width="33%" variant="inserted">This is (inserted)</Text>
144 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
145 | </FlowLayout>
146 | <ProgressBar value="0.4"/>
147 | <HStack>
148 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
149 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
150 | <Spinner width="100px" />
151 | </HStack>
152 | </VStack>
153 | </Component>
154 | ```
155 |
156 | ### `xmlui-green`
157 |
158 | ```xmlui-pg name="Theme: xmlui-green (light)"
159 | ---app
160 | <Theme tone="light" themeId="xmlui-green">
161 | <App>
162 | <ThemeGallery />
163 | </App>
164 | </Theme>
165 | ---comp
166 | <Component name="ThemeGallery">
167 | <VStack>
168 | <HStack>
169 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
170 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
171 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
172 | </HStack>
173 | <HStack>
174 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
175 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
176 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
177 | </HStack>
178 | <HStack>
179 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
180 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
181 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
182 | </HStack>
183 | <HStack>
184 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
185 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
186 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
187 | </HStack>
188 | <HStack>
189 | <Badge value="Badge"/>
190 | <Badge value="Long Pill" variant="pill"/>
191 | </HStack>
192 | <HStack>
193 | <Text value="Warning" color="$color-warn"/>
194 | <Text value="Danger" color="$color-danger"/>
195 | <Text value="Success" color="$color-success"/>
196 | <Text value="Info" color="$color-info"/>
197 | </HStack>
198 | <HStack>
199 | <Checkbox initialValue="false" label="Set or clear me!"/>
200 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
201 | <Switch initialValue="false" label="Toggle me!"/>
202 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
203 | </HStack>
204 | <FlowLayout>
205 | <TextBox width="50%" placeholder="John Smith"/>
206 | <NumberBox width="50%" initialValue="{12345}"/>
207 | </FlowLayout>
208 | <FlowLayout>
209 | <Text width="33%" variant="abbr">This is (abbr)</Text>
210 | <Text width="33%" variant="cite">This is (cite)</Text>
211 | <Text width="33%" variant="code">This is (code)</Text>
212 | <Text width="33%" variant="deleted">This is (deleted)</Text>
213 | <Text width="33%" variant="inserted">This is (inserted)</Text>
214 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
215 | </FlowLayout>
216 | <ProgressBar value="0.4"/>
217 | <HStack>
218 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
219 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
220 | <Spinner width="100px" />
221 | </HStack>
222 | </VStack>
223 | </Component>
224 | ```
225 |
226 | ```xmlui-pg name="Theme: xmlui-green (dark)"
227 | ---app
228 | <Theme tone="dark" themeId="xmlui-green">
229 | <App>
230 | <ThemeGallery />
231 | </App>
232 | </Theme>
233 | ---comp
234 | <Component name="ThemeGallery">
235 | <VStack>
236 | <HStack>
237 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
238 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
239 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
240 | </HStack>
241 | <HStack>
242 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
243 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
244 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
245 | </HStack>
246 | <HStack>
247 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
248 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
249 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
250 | </HStack>
251 | <HStack>
252 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
253 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
254 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
255 | </HStack>
256 | <HStack>
257 | <Badge value="Badge"/>
258 | <Badge value="Long Pill" variant="pill"/>
259 | </HStack>
260 | <HStack>
261 | <Text value="Warning" color="$color-warn"/>
262 | <Text value="Danger" color="$color-danger"/>
263 | <Text value="Success" color="$color-success"/>
264 | <Text value="Info" color="$color-info"/>
265 | </HStack>
266 | <HStack>
267 | <Checkbox initialValue="false" label="Set or clear me!"/>
268 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
269 | <Switch initialValue="false" label="Toggle me!"/>
270 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
271 | </HStack>
272 | <FlowLayout>
273 | <TextBox width="50%" placeholder="John Smith"/>
274 | <NumberBox width="50%" initialValue="{12345}"/>
275 | </FlowLayout>
276 | <FlowLayout>
277 | <Text width="33%" variant="abbr">This is (abbr)</Text>
278 | <Text width="33%" variant="cite">This is (cite)</Text>
279 | <Text width="33%" variant="code">This is (code)</Text>
280 | <Text width="33%" variant="deleted">This is (deleted)</Text>
281 | <Text width="33%" variant="inserted">This is (inserted)</Text>
282 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
283 | </FlowLayout>
284 | <ProgressBar value="0.4"/>
285 | <HStack>
286 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
287 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
288 | <Spinner width="100px" />
289 | </HStack>
290 | </VStack>
291 | </Component>
292 | ```
293 |
294 | ### `xmlui-gray`
295 |
296 | ```xmlui-pg name="Theme: xmlui-gray (light)"
297 | ---app
298 | <Theme tone="light" themeId="xmlui-gray">
299 | <App>
300 | <ThemeGallery />
301 | </App>
302 | </Theme>
303 | ---comp
304 | <Component name="ThemeGallery">
305 | <VStack>
306 | <HStack>
307 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
308 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
309 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
310 | </HStack>
311 | <HStack>
312 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
313 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
314 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
315 | </HStack>
316 | <HStack>
317 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
318 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
319 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
320 | </HStack>
321 | <HStack>
322 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
323 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
324 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
325 | </HStack>
326 | <HStack>
327 | <Badge value="Badge"/>
328 | <Badge value="Long Pill" variant="pill"/>
329 | </HStack>
330 | <HStack>
331 | <Text value="Warning" color="$color-warn"/>
332 | <Text value="Danger" color="$color-danger"/>
333 | <Text value="Success" color="$color-success"/>
334 | <Text value="Info" color="$color-info"/>
335 | </HStack>
336 | <HStack>
337 | <Checkbox initialValue="false" label="Set or clear me!"/>
338 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
339 | <Switch initialValue="false" label="Toggle me!"/>
340 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
341 | </HStack>
342 | <FlowLayout>
343 | <TextBox width="50%" placeholder="John Smith"/>
344 | <NumberBox width="50%" initialValue="{12345}"/>
345 | </FlowLayout>
346 | <FlowLayout>
347 | <Text width="33%" variant="abbr">This is (abbr)</Text>
348 | <Text width="33%" variant="cite">This is (cite)</Text>
349 | <Text width="33%" variant="code">This is (code)</Text>
350 | <Text width="33%" variant="deleted">This is (deleted)</Text>
351 | <Text width="33%" variant="inserted">This is (inserted)</Text>
352 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
353 | </FlowLayout>
354 | <ProgressBar value="0.4"/>
355 | <HStack>
356 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
357 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
358 | <Spinner width="100px" />
359 | </HStack>
360 | </VStack>
361 | </Component>
362 | ```
363 |
364 | ```xmlui-pg name="Theme: xmlui-gray (dark)"
365 | ---app
366 | <Theme tone="dark" themeId="xmlui-gray">
367 | <App>
368 | <ThemeGallery />
369 | </App>
370 | </Theme>
371 | ---comp
372 | <Component name="ThemeGallery">
373 | <VStack>
374 | <HStack>
375 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
376 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
377 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
378 | </HStack>
379 | <HStack>
380 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
381 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
382 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
383 | </HStack>
384 | <HStack>
385 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
386 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
387 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
388 | </HStack>
389 | <HStack>
390 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
391 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
392 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
393 | </HStack>
394 | <HStack>
395 | <Badge value="Badge"/>
396 | <Badge value="Long Pill" variant="pill"/>
397 | </HStack>
398 | <HStack>
399 | <Text value="Warning" color="$color-warn"/>
400 | <Text value="Danger" color="$color-danger"/>
401 | <Text value="Success" color="$color-success"/>
402 | <Text value="Info" color="$color-info"/>
403 | </HStack>
404 | <HStack>
405 | <Checkbox initialValue="false" label="Set or clear me!"/>
406 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
407 | <Switch initialValue="false" label="Toggle me!"/>
408 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
409 | </HStack>
410 | <FlowLayout>
411 | <TextBox width="50%" placeholder="John Smith"/>
412 | <NumberBox width="50%" initialValue="{12345}"/>
413 | </FlowLayout>
414 | <FlowLayout>
415 | <Text width="33%" variant="abbr">This is (abbr)</Text>
416 | <Text width="33%" variant="cite">This is (cite)</Text>
417 | <Text width="33%" variant="code">This is (code)</Text>
418 | <Text width="33%" variant="deleted">This is (deleted)</Text>
419 | <Text width="33%" variant="inserted">This is (inserted)</Text>
420 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
421 | </FlowLayout>
422 | <ProgressBar value="0.4"/>
423 | <HStack>
424 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
425 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
426 | <Spinner width="100px" />
427 | </HStack>
428 | </VStack>
429 | </Component>
430 | ```
431 |
432 | ### `xmlui-orange`
433 |
434 | ```xmlui-pg name="Theme: xmlui-orange (light)"
435 | ---app
436 | <Theme tone="light" themeId="xmlui-orange">
437 | <App>
438 | <ThemeGallery />
439 | </App>
440 | </Theme>
441 | ---comp
442 | <Component name="ThemeGallery">
443 | <VStack>
444 | <HStack>
445 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
446 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
447 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
448 | </HStack>
449 | <HStack>
450 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
451 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
452 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
453 | </HStack>
454 | <HStack>
455 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
456 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
457 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
458 | </HStack>
459 | <HStack>
460 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
461 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
462 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
463 | </HStack>
464 | <HStack>
465 | <Badge value="Badge"/>
466 | <Badge value="Long Pill" variant="pill"/>
467 | </HStack>
468 | <HStack>
469 | <Text value="Warning" color="$color-warn"/>
470 | <Text value="Danger" color="$color-danger"/>
471 | <Text value="Success" color="$color-success"/>
472 | <Text value="Info" color="$color-info"/>
473 | </HStack>
474 | <HStack>
475 | <Checkbox initialValue="false" label="Set or clear me!"/>
476 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
477 | <Switch initialValue="false" label="Toggle me!"/>
478 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
479 | </HStack>
480 | <FlowLayout>
481 | <TextBox width="50%" placeholder="John Smith"/>
482 | <NumberBox width="50%" initialValue="{12345}"/>
483 | </FlowLayout>
484 | <FlowLayout>
485 | <Text width="33%" variant="abbr">This is (abbr)</Text>
486 | <Text width="33%" variant="cite">This is (cite)</Text>
487 | <Text width="33%" variant="code">This is (code)</Text>
488 | <Text width="33%" variant="deleted">This is (deleted)</Text>
489 | <Text width="33%" variant="inserted">This is (inserted)</Text>
490 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
491 | </FlowLayout>
492 | <ProgressBar value="0.4"/>
493 | <HStack>
494 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
495 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
496 | <Spinner width="100px" />
497 | </HStack>
498 | </VStack>
499 | </Component>
500 | ```
501 |
502 | ```xmlui-pg name="Theme: xmlui-orange (dark)"
503 | ---app
504 | <Theme tone="dark" themeId="xmlui-orange">
505 | <App>
506 | <ThemeGallery />
507 | </App>
508 | </Theme>
509 | ---comp
510 | <Component name="ThemeGallery">
511 | <VStack>
512 | <HStack>
513 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
514 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
515 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
516 | </HStack>
517 | <HStack>
518 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
519 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
520 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
521 | </HStack>
522 | <HStack>
523 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
524 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
525 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
526 | </HStack>
527 | <HStack>
528 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
529 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
530 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
531 | </HStack>
532 | <HStack>
533 | <Badge value="Badge"/>
534 | <Badge value="Long Pill" variant="pill"/>
535 | </HStack>
536 | <HStack>
537 | <Text value="Warning" color="$color-warn"/>
538 | <Text value="Danger" color="$color-danger"/>
539 | <Text value="Success" color="$color-success"/>
540 | <Text value="Info" color="$color-info"/>
541 | </HStack>
542 | <HStack>
543 | <Checkbox initialValue="false" label="Set or clear me!"/>
544 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
545 | <Switch initialValue="false" label="Toggle me!"/>
546 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
547 | </HStack>
548 | <FlowLayout>
549 | <TextBox width="50%" placeholder="John Smith"/>
550 | <NumberBox width="50%" initialValue="{12345}"/>
551 | </FlowLayout>
552 | <FlowLayout>
553 | <Text width="33%" variant="abbr">This is (abbr)</Text>
554 | <Text width="33%" variant="cite">This is (cite)</Text>
555 | <Text width="33%" variant="code">This is (code)</Text>
556 | <Text width="33%" variant="deleted">This is (deleted)</Text>
557 | <Text width="33%" variant="inserted">This is (inserted)</Text>
558 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
559 | </FlowLayout>
560 | <ProgressBar value="0.4"/>
561 | <HStack>
562 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
563 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
564 | <Spinner width="100px" />
565 | </HStack>
566 | </VStack>
567 | </Component>
568 | ```
569 |
570 | ### `xmlui-purple`
571 |
572 | ```xmlui-pg name="Theme: xmlui-purple (light)"
573 | ---app
574 | <Theme tone="light" themeId="xmlui-purple">
575 | <App>
576 | <ThemeGallery />
577 | </App>
578 | </Theme>
579 | ---comp
580 | <Component name="ThemeGallery">
581 | <VStack>
582 | <HStack>
583 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
584 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
585 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
586 | </HStack>
587 | <HStack>
588 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
589 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
590 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
591 | </HStack>
592 | <HStack>
593 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
594 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
595 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
596 | </HStack>
597 | <HStack>
598 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
599 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
600 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
601 | </HStack>
602 | <HStack>
603 | <Badge value="Badge"/>
604 | <Badge value="Long Pill" variant="pill"/>
605 | </HStack>
606 | <HStack>
607 | <Text value="Warning" color="$color-warn"/>
608 | <Text value="Danger" color="$color-danger"/>
609 | <Text value="Success" color="$color-success"/>
610 | <Text value="Info" color="$color-info"/>
611 | </HStack>
612 | <HStack>
613 | <Checkbox initialValue="false" label="Set or clear me!"/>
614 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
615 | <Switch initialValue="false" label="Toggle me!"/>
616 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
617 | </HStack>
618 | <FlowLayout>
619 | <TextBox width="50%" placeholder="John Smith"/>
620 | <NumberBox width="50%" initialValue="{12345}"/>
621 | </FlowLayout>
622 | <FlowLayout>
623 | <Text width="33%" variant="abbr">This is (abbr)</Text>
624 | <Text width="33%" variant="cite">This is (cite)</Text>
625 | <Text width="33%" variant="code">This is (code)</Text>
626 | <Text width="33%" variant="deleted">This is (deleted)</Text>
627 | <Text width="33%" variant="inserted">This is (inserted)</Text>
628 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
629 | </FlowLayout>
630 | <ProgressBar value="0.4"/>
631 | <HStack>
632 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
633 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
634 | <Spinner width="100px" />
635 | </HStack>
636 | </VStack>
637 | </Component>
638 | ```
639 |
640 | ```xmlui-pg name="Theme: xmlui-purple (dark)"
641 | ---app
642 | <Theme tone="dark" themeId="xmlui-purple">
643 | <App>
644 | <ThemeGallery />
645 | </App>
646 | </Theme>
647 | ---comp
648 | <Component name="ThemeGallery">
649 | <VStack>
650 | <HStack>
651 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
652 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
653 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
654 | </HStack>
655 | <HStack>
656 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
657 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
658 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
659 | </HStack>
660 | <HStack>
661 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
662 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
663 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
664 | </HStack>
665 | <HStack>
666 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
667 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
668 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
669 | </HStack>
670 | <HStack>
671 | <Badge value="Badge"/>
672 | <Badge value="Long Pill" variant="pill"/>
673 | </HStack>
674 | <HStack>
675 | <Text value="Warning" color="$color-warn"/>
676 | <Text value="Danger" color="$color-danger"/>
677 | <Text value="Success" color="$color-success"/>
678 | <Text value="Info" color="$color-info"/>
679 | </HStack>
680 | <HStack>
681 | <Checkbox initialValue="false" label="Set or clear me!"/>
682 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
683 | <Switch initialValue="false" label="Toggle me!"/>
684 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
685 | </HStack>
686 | <FlowLayout>
687 | <TextBox width="50%" placeholder="John Smith"/>
688 | <NumberBox width="50%" initialValue="{12345}"/>
689 | </FlowLayout>
690 | <FlowLayout>
691 | <Text width="33%" variant="abbr">This is (abbr)</Text>
692 | <Text width="33%" variant="cite">This is (cite)</Text>
693 | <Text width="33%" variant="code">This is (code)</Text>
694 | <Text width="33%" variant="deleted">This is (deleted)</Text>
695 | <Text width="33%" variant="inserted">This is (inserted)</Text>
696 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
697 | </FlowLayout>
698 | <ProgressBar value="0.4"/>
699 | <HStack>
700 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
701 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
702 | <Spinner width="100px" />
703 | </HStack>
704 | </VStack>
705 | </Component>
706 | ```
707 |
708 | ### `xmlui-cyan`
709 |
710 | ```xmlui-pg name="Theme: xmlui-cyan (light)"
711 | ---app
712 | <Theme tone="light" themeId="xmlui-cyan">
713 | <App>
714 | <ThemeGallery />
715 | </App>
716 | </Theme>
717 | ---comp
718 | <Component name="ThemeGallery">
719 | <VStack>
720 | <HStack>
721 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
722 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
723 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
724 | </HStack>
725 | <HStack>
726 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
727 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
728 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
729 | </HStack>
730 | <HStack>
731 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
732 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
733 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
734 | </HStack>
735 | <HStack>
736 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
737 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
738 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
739 | </HStack>
740 | <HStack>
741 | <Badge value="Badge"/>
742 | <Badge value="Long Pill" variant="pill"/>
743 | </HStack>
744 | <HStack>
745 | <Text value="Warning" color="$color-warn"/>
746 | <Text value="Danger" color="$color-danger"/>
747 | <Text value="Success" color="$color-success"/>
748 | <Text value="Info" color="$color-info"/>
749 | </HStack>
750 | <HStack>
751 | <Checkbox initialValue="false" label="Set or clear me!"/>
752 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
753 | <Switch initialValue="false" label="Toggle me!"/>
754 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
755 | </HStack>
756 | <FlowLayout>
757 | <TextBox width="50%" placeholder="John Smith"/>
758 | <NumberBox width="50%" initialValue="{12345}"/>
759 | </FlowLayout>
760 | <FlowLayout>
761 | <Text width="33%" variant="abbr">This is (abbr)</Text>
762 | <Text width="33%" variant="cite">This is (cite)</Text>
763 | <Text width="33%" variant="code">This is (code)</Text>
764 | <Text width="33%" variant="deleted">This is (deleted)</Text>
765 | <Text width="33%" variant="inserted">This is (inserted)</Text>
766 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
767 | </FlowLayout>
768 | <ProgressBar value="0.4"/>
769 | <HStack>
770 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
771 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
772 | <Spinner width="100px" />
773 | </HStack>
774 | </VStack>
775 | </Component>
776 | ```
777 |
778 | ```xmlui-pg name="Theme: xmlui-cyan (dark)"
779 | ---app
780 | <Theme tone="dark" themeId="xmlui-cyan">
781 | <App>
782 | <ThemeGallery />
783 | </App>
784 | </Theme>
785 | ---comp
786 | <Component name="ThemeGallery">
787 | <VStack>
788 | <HStack>
789 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
790 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
791 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
792 | </HStack>
793 | <HStack>
794 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
795 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
796 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
797 | </HStack>
798 | <HStack>
799 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
800 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
801 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
802 | </HStack>
803 | <HStack>
804 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
805 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
806 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
807 | </HStack>
808 | <HStack>
809 | <Badge value="Badge"/>
810 | <Badge value="Long Pill" variant="pill"/>
811 | </HStack>
812 | <HStack>
813 | <Text value="Warning" color="$color-warn"/>
814 | <Text value="Danger" color="$color-danger"/>
815 | <Text value="Success" color="$color-success"/>
816 | <Text value="Info" color="$color-info"/>
817 | </HStack>
818 | <HStack>
819 | <Checkbox initialValue="false" label="Set or clear me!"/>
820 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
821 | <Switch initialValue="false" label="Toggle me!"/>
822 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
823 | </HStack>
824 | <FlowLayout>
825 | <TextBox width="50%" placeholder="John Smith"/>
826 | <NumberBox width="50%" initialValue="{12345}"/>
827 | </FlowLayout>
828 | <FlowLayout>
829 | <Text width="33%" variant="abbr">This is (abbr)</Text>
830 | <Text width="33%" variant="cite">This is (cite)</Text>
831 | <Text width="33%" variant="code">This is (code)</Text>
832 | <Text width="33%" variant="deleted">This is (deleted)</Text>
833 | <Text width="33%" variant="inserted">This is (inserted)</Text>
834 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
835 | </FlowLayout>
836 | <ProgressBar value="0.4"/>
837 | <HStack>
838 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
839 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
840 | <Spinner width="100px" />
841 | </HStack>
842 | </VStack>
843 | </Component>
844 | ```
845 |
846 | ### `xmlui-red`
847 |
848 | ```xmlui-pg name="Theme: xmlui-red (light)"
849 | ---app
850 | <Theme tone="light" themeId="xmlui-red">
851 | <App>
852 | <ThemeGallery />
853 | </App>
854 | </Theme>
855 | ---comp
856 | <Component name="ThemeGallery">
857 | <VStack>
858 | <HStack>
859 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
860 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
861 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
862 | </HStack>
863 | <HStack>
864 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
865 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
866 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
867 | </HStack>
868 | <HStack>
869 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
870 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
871 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
872 | </HStack>
873 | <HStack>
874 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
875 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
876 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
877 | </HStack>
878 | <HStack>
879 | <Badge value="Badge"/>
880 | <Badge value="Long Pill" variant="pill"/>
881 | </HStack>
882 | <HStack>
883 | <Text value="Warning" color="$color-warn"/>
884 | <Text value="Danger" color="$color-danger"/>
885 | <Text value="Success" color="$color-success"/>
886 | <Text value="Info" color="$color-info"/>
887 | </HStack>
888 | <HStack>
889 | <Checkbox initialValue="false" label="Set or clear me!"/>
890 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
891 | <Switch initialValue="false" label="Toggle me!"/>
892 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
893 | </HStack>
894 | <FlowLayout>
895 | <TextBox width="50%" placeholder="John Smith"/>
896 | <NumberBox width="50%" initialValue="{12345}"/>
897 | </FlowLayout>
898 | <FlowLayout>
899 | <Text width="33%" variant="abbr">This is (abbr)</Text>
900 | <Text width="33%" variant="cite">This is (cite)</Text>
901 | <Text width="33%" variant="code">This is (code)</Text>
902 | <Text width="33%" variant="deleted">This is (deleted)</Text>
903 | <Text width="33%" variant="inserted">This is (inserted)</Text>
904 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
905 | </FlowLayout>
906 | <ProgressBar value="0.4"/>
907 | <HStack>
908 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
909 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
910 | <Spinner width="100px" />
911 | </HStack>
912 | </VStack>
913 | </Component>
914 | ```
915 |
916 | ```xmlui-pg name="Theme: xmlui-red (dark)"
917 | ---app
918 | <Theme tone="dark" themeId="xmlui-red">
919 | <App>
920 | <ThemeGallery />
921 | </App>
922 | </Theme>
923 | ---comp
924 | <Component name="ThemeGallery">
925 | <VStack>
926 | <HStack>
927 | <Button label="solid/primary" variant="solid" themeColor="primary"/>
928 | <Button label="outlined/primary" variant="outlined" themeColor="primary"/>
929 | <Button label="ghost/primary" variant="ghost" themeColor="primary"/>
930 | </HStack>
931 | <HStack>
932 | <Button label="solid/secondary" variant="solid" themeColor="secondary"/>
933 | <Button label="outlined/secondary" variant="outlined" themeColor="secondary"/>
934 | <Button label="ghost/secondary" variant="ghost" themeColor="secondary"/>
935 | </HStack>
936 | <HStack>
937 | <Button label="solid/attention" variant="solid" themeColor="attention"/>
938 | <Button label="outlined/attention" variant="outlined" themeColor="attention"/>
939 | <Button label="ghost/attention" variant="ghost" themeColor="attention"/>
940 | </HStack>
941 | <HStack>
942 | <Button label="disabled/solid" variant="solid" enabled="{false}"/>
943 | <Button label="disabled/outlined" variant="outlined" enabled="{false}"/>
944 | <Button label="disabled/ghost" variant="ghost" enabled="{false}"/>
945 | </HStack>
946 | <HStack>
947 | <Badge value="Badge"/>
948 | <Badge value="Long Pill" variant="pill"/>
949 | </HStack>
950 | <HStack>
951 | <Text value="Warning" color="$color-warn"/>
952 | <Text value="Danger" color="$color-danger"/>
953 | <Text value="Success" color="$color-success"/>
954 | <Text value="Info" color="$color-info"/>
955 | </HStack>
956 | <HStack>
957 | <Checkbox initialValue="false" label="Set or clear me!"/>
958 | <Checkbox initialValue="false" enabled="false" label="I'm not enabled"/>
959 | <Switch initialValue="false" label="Toggle me!"/>
960 | <Switch initialValue="true" enabled="false" label="I'm not enabled"/>
961 | </HStack>
962 | <FlowLayout>
963 | <TextBox width="50%" placeholder="John Smith"/>
964 | <NumberBox width="50%" initialValue="{12345}"/>
965 | </FlowLayout>
966 | <FlowLayout>
967 | <Text width="33%" variant="abbr">This is (abbr)</Text>
968 | <Text width="33%" variant="cite">This is (cite)</Text>
969 | <Text width="33%" variant="code">This is (code)</Text>
970 | <Text width="33%" variant="deleted">This is (deleted)</Text>
971 | <Text width="33%" variant="inserted">This is (inserted)</Text>
972 | <Text width="33%" variant="keyboard">This is (keyboard)</Text>
973 | </FlowLayout>
974 | <ProgressBar value="0.4"/>
975 | <HStack>
976 | <Avatar url="https://i.pravatar.cc/200" size="sm"/>
977 | <Avatar url="https://i.pravatar.cc/300" size="sm"/>
978 | <Spinner width="100px" />
979 | </HStack>
980 | </VStack>
981 | </Component>
982 | ```
983 |
```