This is page 143 of 181. Use http://codebase.md/xmlui-org/xmlui/assets/img/main.tsx?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .changeset
│ ├── config.json
│ ├── silver-llamas-cough.md
│ └── true-jeans-agree.md
├── .eslintrc.cjs
├── .github
│ ├── build-checklist.png
│ ├── ISSUE_TEMPLATE
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ └── workflows
│ ├── deploy-blog.yml
│ ├── deploy-docs-optimized.yml
│ ├── deploy-docs.yml
│ ├── prepare-versions.yml
│ ├── release-packages.yml
│ ├── run-all-tests.yml
│ └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│ ├── launch.json
│ └── settings.json
├── blog
│ ├── .gitignore
│ ├── .gitkeep
│ ├── CHANGELOG.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── blog
│ │ │ ├── images
│ │ │ │ ├── an-advanced-codefence.mp4
│ │ │ │ ├── blog-page-component.png
│ │ │ │ ├── blog-scrabble.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
│ │ └── 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
│ │ │ │ ├── debug-a-component.md
│ │ │ │ ├── delay-a-datasource-until-another-datasource-is-ready.md
│ │ │ │ ├── delegate-a-method.md
│ │ │ │ ├── do-custom-form-validation.md
│ │ │ │ ├── expose-a-method-from-a-component.md
│ │ │ │ ├── filter-and-transform-data-from-an-api.md
│ │ │ │ ├── group-items-in-list-by-a-property.md
│ │ │ │ ├── handle-background-operations.md
│ │ │ │ ├── hide-an-element-until-its-datasource-is-ready.md
│ │ │ │ ├── make-a-set-of-equal-width-cards.md
│ │ │ │ ├── make-a-table-responsive.md
│ │ │ │ ├── make-navpanel-width-responsive.md
│ │ │ │ ├── modify-a-value-reported-in-a-column.md
│ │ │ │ ├── paginate-a-list.md
│ │ │ │ ├── pass-data-to-a-modal-dialog.md
│ │ │ │ ├── react-to-button-click-not-keystrokes.md
│ │ │ │ ├── set-the-initial-value-of-a-select-from-fetched-data.md
│ │ │ │ ├── share-a-modaldialog-across-components.md
│ │ │ │ ├── sync-selections-between-table-and-list-views.md
│ │ │ │ ├── update-ui-optimistically.md
│ │ │ │ ├── use-built-in-form-validation.md
│ │ │ │ └── use-the-same-modaldialog-to-add-or-edit.md
│ │ │ ├── howto.md
│ │ │ ├── intro.md
│ │ │ ├── layout.md
│ │ │ ├── markup.md
│ │ │ ├── mcp.md
│ │ │ ├── modal-dialogs.md
│ │ │ ├── news-and-reviews.md
│ │ │ ├── reactive-intro.md
│ │ │ ├── refactoring.md
│ │ │ ├── routing-and-links.md
│ │ │ ├── samples
│ │ │ │ ├── color-palette.xmlui
│ │ │ │ ├── color-values.xmlui
│ │ │ │ ├── shadow-sizes.xmlui
│ │ │ │ ├── spacing-sizes.xmlui
│ │ │ │ ├── swatch.xmlui
│ │ │ │ ├── theme-gallery-brief.xmlui
│ │ │ │ └── theme-gallery.xmlui
│ │ │ ├── scoping.md
│ │ │ ├── scripting.md
│ │ │ ├── styles-and-themes
│ │ │ │ ├── common-units.md
│ │ │ │ ├── layout-props.md
│ │ │ │ ├── theme-variable-defaults.md
│ │ │ │ ├── theme-variables.md
│ │ │ │ └── themes.md
│ │ │ ├── template-properties.md
│ │ │ ├── test.md
│ │ │ ├── tutorial-01.md
│ │ │ ├── tutorial-02.md
│ │ │ ├── tutorial-03.md
│ │ │ ├── tutorial-04.md
│ │ │ ├── tutorial-05.md
│ │ │ ├── tutorial-06.md
│ │ │ ├── tutorial-07.md
│ │ │ ├── tutorial-08.md
│ │ │ ├── tutorial-09.md
│ │ │ ├── tutorial-10.md
│ │ │ ├── tutorial-11.md
│ │ │ ├── tutorial-12.md
│ │ │ ├── universal-properties.md
│ │ │ ├── user-defined-components.md
│ │ │ ├── vscode.md
│ │ │ ├── working-with-markdown.md
│ │ │ ├── working-with-text.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-charts
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── DonutChart.md
│ │ │ │ ├── LabelList.md
│ │ │ │ ├── Legend.md
│ │ │ │ ├── LineChart.md
│ │ │ │ └── PieChart.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ └── xmlui-spreadsheet
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ └── Spreadsheet.md
│ │ ├── resources
│ │ │ ├── devdocs
│ │ │ │ ├── debug-proxy-object-2.png
│ │ │ │ ├── debug-proxy-object.png
│ │ │ │ ├── table_editor_01.png
│ │ │ │ ├── table_editor_02.png
│ │ │ │ ├── table_editor_03.png
│ │ │ │ ├── table_editor_04.png
│ │ │ │ ├── table_editor_05.png
│ │ │ │ ├── table_editor_06.png
│ │ │ │ ├── table_editor_07.png
│ │ │ │ ├── table_editor_08.png
│ │ │ │ ├── table_editor_09.png
│ │ │ │ ├── table_editor_10.png
│ │ │ │ ├── table_editor_11.png
│ │ │ │ ├── table-editor-01.png
│ │ │ │ ├── table-editor-02.png
│ │ │ │ ├── table-editor-03.png
│ │ │ │ ├── table-editor-04.png
│ │ │ │ ├── table-editor-06.png
│ │ │ │ ├── table-editor-07.png
│ │ │ │ ├── table-editor-08.png
│ │ │ │ ├── table-editor-09.png
│ │ │ │ └── xmlui-rendering-of-tiptap-markdown.png
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ ├── clients.json
│ │ │ │ ├── daily-revenue.json
│ │ │ │ ├── dashboard-stats.json
│ │ │ │ ├── demo.xmlui
│ │ │ │ ├── demo.xmlui.xs
│ │ │ │ ├── downloads
│ │ │ │ │ └── downloads.json
│ │ │ │ ├── for-download
│ │ │ │ │ ├── index-with-api.html
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── mockApi.js
│ │ │ │ │ ├── start-darwin.sh
│ │ │ │ │ ├── start-linux.sh
│ │ │ │ │ ├── start.bat
│ │ │ │ │ └── xmlui
│ │ │ │ │ └── xmlui-standalone.umd.js
│ │ │ │ ├── getting-started
│ │ │ │ │ ├── cl-tutorial-final.zip
│ │ │ │ │ ├── cl-tutorial.zip
│ │ │ │ │ ├── cl-tutorial2.zip
│ │ │ │ │ ├── cl-tutorial3.zip
│ │ │ │ │ ├── cl-tutorial4.zip
│ │ │ │ │ ├── cl-tutorial5.zip
│ │ │ │ │ ├── cl-tutorial6.zip
│ │ │ │ │ ├── getting-started.zip
│ │ │ │ │ ├── hello-xmlui.zip
│ │ │ │ │ ├── xmlui-empty.zip
│ │ │ │ │ └── xmlui-starter.zip
│ │ │ │ ├── howto
│ │ │ │ │ └── component-icons
│ │ │ │ │ └── up-arrow.svg
│ │ │ │ ├── invoices.json
│ │ │ │ ├── monthly-status.json
│ │ │ │ ├── news-and-reviews.json
│ │ │ │ ├── products.json
│ │ │ │ ├── releases.json
│ │ │ │ ├── tutorials
│ │ │ │ │ ├── datasource
│ │ │ │ │ │ └── api.ts
│ │ │ │ │ └── p2do
│ │ │ │ │ ├── api.ts
│ │ │ │ │ └── todo-logo.svg
│ │ │ │ └── xmlui.json
│ │ │ ├── github.svg
│ │ │ ├── images
│ │ │ │ ├── apiaction-tutorial
│ │ │ │ │ ├── add-success.png
│ │ │ │ │ ├── apiaction-param.png
│ │ │ │ │ ├── change-completed.png
│ │ │ │ │ ├── change-in-progress.png
│ │ │ │ │ ├── confirm-delete.png
│ │ │ │ │ ├── data-error.png
│ │ │ │ │ ├── data-progress.png
│ │ │ │ │ ├── data-success.png
│ │ │ │ │ ├── display-1.png
│ │ │ │ │ ├── item-deleted.png
│ │ │ │ │ ├── item-updated.png
│ │ │ │ │ ├── missing-api-key.png
│ │ │ │ │ ├── new-item-added.png
│ │ │ │ │ └── test-message.png
│ │ │ │ ├── chat-api
│ │ │ │ │ └── domain-model.svg
│ │ │ │ ├── components
│ │ │ │ │ ├── image
│ │ │ │ │ │ └── breakfast.jpg
│ │ │ │ │ ├── markdown
│ │ │ │ │ │ └── colors.png
│ │ │ │ │ └── modal
│ │ │ │ │ ├── deep_link_dialog_1.jpg
│ │ │ │ │ └── deep_link_dialog_2.jpg
│ │ │ │ ├── create-apps
│ │ │ │ │ ├── collapsed-vertical.png
│ │ │ │ │ ├── using-forms-warning-dialog.png
│ │ │ │ │ └── using-forms.png
│ │ │ │ ├── datasource-tutorial
│ │ │ │ │ ├── data-with-header.png
│ │ │ │ │ ├── filtered-data.png
│ │ │ │ │ ├── filtered-items.png
│ │ │ │ │ ├── initial-page-items.png
│ │ │ │ │ ├── list-items.png
│ │ │ │ │ ├── next-page-items.png
│ │ │ │ │ ├── no-data.png
│ │ │ │ │ ├── pagination-1.jpg
│ │ │ │ │ ├── pagination-1.png
│ │ │ │ │ ├── polling-1.png
│ │ │ │ │ ├── refetch-data.png
│ │ │ │ │ ├── slow-loading.png
│ │ │ │ │ ├── test-message.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── unconventional-data.png
│ │ │ │ │ └── unfiltered-items.png
│ │ │ │ ├── flower.jpg
│ │ │ │ ├── get-started
│ │ │ │ │ ├── add-new-contact.png
│ │ │ │ │ ├── app-modified.png
│ │ │ │ │ ├── app-start.png
│ │ │ │ │ ├── app-with-boxes.png
│ │ │ │ │ ├── app-with-toast.png
│ │ │ │ │ ├── boilerplate-structure.png
│ │ │ │ │ ├── cl-initial.png
│ │ │ │ │ ├── cl-start.png
│ │ │ │ │ ├── contact-counts.png
│ │ │ │ │ ├── contact-dialog-title.png
│ │ │ │ │ ├── contact-dialog.png
│ │ │ │ │ ├── contact-menus.png
│ │ │ │ │ ├── contact-predicates.png
│ │ │ │ │ ├── context-menu.png
│ │ │ │ │ ├── dashboard-numbers.png
│ │ │ │ │ ├── default-contact-list.png
│ │ │ │ │ ├── delete-contact.png
│ │ │ │ │ ├── delete-task.png
│ │ │ │ │ ├── detailed-template.png
│ │ │ │ │ ├── edit-contact-details.png
│ │ │ │ │ ├── edited-contact-saved.png
│ │ │ │ │ ├── empty-sections.png
│ │ │ │ │ ├── filter-completed.png
│ │ │ │ │ ├── fullwidth-desktop.png
│ │ │ │ │ ├── fullwidth-mobile.png
│ │ │ │ │ ├── initial-table.png
│ │ │ │ │ ├── items-and-badges.png
│ │ │ │ │ ├── loading-message.png
│ │ │ │ │ ├── new-contact-button.png
│ │ │ │ │ ├── new-contact-saved.png
│ │ │ │ │ ├── no-empty-sections.png
│ │ │ │ │ ├── personal-todo-initial.png
│ │ │ │ │ ├── piechart.png
│ │ │ │ │ ├── review-today.png
│ │ │ │ │ ├── rudimentary-dashboard.png
│ │ │ │ │ ├── section-collapsed.png
│ │ │ │ │ ├── sectioned-items.png
│ │ │ │ │ ├── sections-ordered.png
│ │ │ │ │ ├── spacex-list-with-links.png
│ │ │ │ │ ├── spacex-list.png
│ │ │ │ │ ├── start-personal-todo-1.png
│ │ │ │ │ ├── submit-new-contact.png
│ │ │ │ │ ├── submit-new-task.png
│ │ │ │ │ ├── syntax-highlighting.png
│ │ │ │ │ ├── table-with-badge.png
│ │ │ │ │ ├── template-with-card.png
│ │ │ │ │ ├── test-emulated-api.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── todo-logo.png
│ │ │ │ │ └── xmlui-tools.png
│ │ │ │ ├── HelloApp.png
│ │ │ │ ├── HelloApp2.png
│ │ │ │ ├── logos
│ │ │ │ │ ├── xmlui1.svg
│ │ │ │ │ ├── xmlui2.svg
│ │ │ │ │ ├── xmlui3.svg
│ │ │ │ │ ├── xmlui4.svg
│ │ │ │ │ ├── xmlui5.svg
│ │ │ │ │ ├── xmlui6.svg
│ │ │ │ │ └── xmlui7.svg
│ │ │ │ ├── pdf
│ │ │ │ │ └── dummy-pdf.jpg
│ │ │ │ ├── rendering-engine
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ ├── Component.svg
│ │ │ │ │ ├── CompoundComponent.svg
│ │ │ │ │ ├── RootComponent.svg
│ │ │ │ │ └── tree-with-containers.svg
│ │ │ │ ├── reviewers-guide
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ └── incbutton-in-action.png
│ │ │ │ ├── tools
│ │ │ │ │ └── boilerplate-structure.png
│ │ │ │ ├── try.svg
│ │ │ │ ├── tutorial
│ │ │ │ │ ├── app-chat-history.png
│ │ │ │ │ ├── app-content-placeholder.png
│ │ │ │ │ ├── app-header-and-content.png
│ │ │ │ │ ├── app-links-channel-selected.png
│ │ │ │ │ ├── app-links-click.png
│ │ │ │ │ ├── app-navigation.png
│ │ │ │ │ ├── finished-ex01.png
│ │ │ │ │ ├── finished-ex02.png
│ │ │ │ │ ├── hello.png
│ │ │ │ │ ├── splash-screen-advanced.png
│ │ │ │ │ ├── splash-screen-after-click.png
│ │ │ │ │ ├── splash-screen-centered.png
│ │ │ │ │ ├── splash-screen-events.png
│ │ │ │ │ ├── splash-screen-expression.png
│ │ │ │ │ ├── splash-screen-reuse-after.png
│ │ │ │ │ ├── splash-screen-reuse-before.png
│ │ │ │ │ └── splash-screen.png
│ │ │ │ └── tutorial-01.png
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ ├── Boxes.xmlui
│ │ │ ├── Breadcrumb.xmlui
│ │ │ ├── ChangeLog.xmlui
│ │ │ ├── ColorPalette.xmlui
│ │ │ ├── DocumentLinks.xmlui
│ │ │ ├── DocumentPage.xmlui
│ │ │ ├── DocumentPageNoTOC.xmlui
│ │ │ ├── Icons.xmlui
│ │ │ ├── IncButton.xmlui
│ │ │ ├── IncButton2.xmlui
│ │ │ ├── NameValue.xmlui
│ │ │ ├── PageNotFound.xmlui
│ │ │ ├── PaletteItem.xmlui
│ │ │ ├── Palettes.xmlui
│ │ │ ├── SectionHeader.xmlui
│ │ │ ├── TBD.xmlui
│ │ │ ├── Test.xmlui
│ │ │ ├── ThemesIntro.xmlui
│ │ │ ├── ThousandThemes.xmlui
│ │ │ ├── TubeStops.xmlui
│ │ │ ├── TubeStops.xmlui.xs
│ │ │ └── TwoColumnCode.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ ├── docs-theme.ts
│ │ ├── earthtone.ts
│ │ ├── xmlui-gray-on-default.ts
│ │ ├── xmlui-green-on-default.ts
│ │ └── xmlui-orange-on-default.ts
│ └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│ ├── tsconfig.json
│ ├── xmlui-animations
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── Animation.tsx
│ │ ├── AnimationNative.tsx
│ │ ├── FadeAnimation.tsx
│ │ ├── FadeInAnimation.tsx
│ │ ├── FadeOutAnimation.tsx
│ │ ├── index.tsx
│ │ ├── ScaleAnimation.tsx
│ │ └── SlideInAnimation.tsx
│ ├── xmlui-devtools
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── devtools
│ │ │ │ ├── DevTools.tsx
│ │ │ │ ├── DevToolsNative.module.scss
│ │ │ │ ├── DevToolsNative.tsx
│ │ │ │ ├── ModalDialog.module.scss
│ │ │ │ ├── ModalDialog.tsx
│ │ │ │ ├── ModalVisibilityContext.tsx
│ │ │ │ ├── Tooltip.module.scss
│ │ │ │ ├── Tooltip.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── editor
│ │ │ │ └── Editor.tsx
│ │ │ └── index.tsx
│ │ └── vite.config-overrides.ts
│ ├── xmlui-hello-world
│ │ ├── .gitignore
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── HelloWorld.module.scss
│ │ ├── HelloWorld.tsx
│ │ ├── HelloWorldNative.tsx
│ │ └── index.tsx
│ ├── xmlui-os-frames
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── IPhoneFrame.module.scss
│ │ ├── IPhoneFrame.tsx
│ │ ├── MacOSAppFrame.module.scss
│ │ ├── MacOSAppFrame.tsx
│ │ ├── WindowsAppFrame.module.scss
│ │ └── WindowsAppFrame.tsx
│ ├── xmlui-pdf
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ ├── components
│ │ │ │ └── Pdf.xmlui
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── LazyPdfNative.tsx
│ │ ├── Pdf.module.scss
│ │ └── Pdf.tsx
│ ├── xmlui-playground
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── hooks
│ │ │ ├── usePlayground.ts
│ │ │ └── useToast.ts
│ │ ├── index.tsx
│ │ ├── playground
│ │ │ ├── Box.module.scss
│ │ │ ├── Box.tsx
│ │ │ ├── CodeSelector.tsx
│ │ │ ├── ConfirmationDialog.module.scss
│ │ │ ├── ConfirmationDialog.tsx
│ │ │ ├── Editor.tsx
│ │ │ ├── Header.module.scss
│ │ │ ├── Header.tsx
│ │ │ ├── Playground.tsx
│ │ │ ├── PlaygroundContent.module.scss
│ │ │ ├── PlaygroundContent.tsx
│ │ │ ├── PlaygroundNative.module.scss
│ │ │ ├── PlaygroundNative.tsx
│ │ │ ├── Preview.module.scss
│ │ │ ├── Preview.tsx
│ │ │ ├── Select.module.scss
│ │ │ ├── StandalonePlayground.tsx
│ │ │ ├── StandalonePlaygroundNative.module.scss
│ │ │ ├── StandalonePlaygroundNative.tsx
│ │ │ ├── ThemeSwitcher.module.scss
│ │ │ ├── ThemeSwitcher.tsx
│ │ │ ├── ToneSwitcher.tsx
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── providers
│ │ │ ├── Toast.module.scss
│ │ │ └── ToastProvider.tsx
│ │ ├── state
│ │ │ └── store.ts
│ │ ├── themes
│ │ │ └── theme.ts
│ │ └── utils
│ │ └── helpers.ts
│ ├── xmlui-search
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Search.module.scss
│ │ └── Search.tsx
│ ├── xmlui-spreadsheet
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Spreadsheet.tsx
│ │ └── SpreadsheetNative.tsx
│ └── xmlui-website-blocks
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── demo
│ │ ├── components
│ │ │ ├── HeroBackgroundBreakoutPage.xmlui
│ │ │ ├── HeroBackgroundsPage.xmlui
│ │ │ ├── HeroContentsPage.xmlui
│ │ │ ├── HeroTextAlignPage.xmlui
│ │ │ ├── HeroTextPage.xmlui
│ │ │ └── HeroTonesPage.xmlui
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── default.ts
│ ├── index.html
│ ├── index.ts
│ ├── meta
│ │ └── componentsMetadata.ts
│ ├── package.json
│ ├── public
│ │ └── resources
│ │ ├── building.jpg
│ │ └── xmlui-logo.svg
│ └── src
│ ├── Carousel
│ │ ├── Carousel.module.scss
│ │ ├── Carousel.tsx
│ │ ├── CarouselContext.tsx
│ │ └── CarouselNative.tsx
│ ├── FancyButton
│ │ ├── FancyButton.module.scss
│ │ ├── FancyButton.tsx
│ │ └── FancyButton.xmlui
│ ├── Hello
│ │ ├── Hello.tsx
│ │ ├── Hello.xmlui
│ │ └── Hello.xmlui.xs
│ ├── HeroSection
│ │ ├── HeroSection.module.scss
│ │ ├── HeroSection.spec.ts
│ │ ├── HeroSection.tsx
│ │ └── HeroSectionNative.tsx
│ ├── index.tsx
│ ├── ScrollToTop
│ │ ├── ScrollToTop.module.scss
│ │ ├── ScrollToTop.tsx
│ │ └── ScrollToTopNative.tsx
│ └── vite-env.d.ts
├── playwright.config.ts
├── README.md
├── tools
│ ├── codefence
│ │ └── xmlui-code-fence-docs.md
│ ├── create-app
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── create-app.ts
│ │ ├── helpers
│ │ │ ├── copy.ts
│ │ │ ├── get-pkg-manager.ts
│ │ │ ├── git.ts
│ │ │ ├── install.ts
│ │ │ ├── is-folder-empty.ts
│ │ │ ├── is-writeable.ts
│ │ │ ├── make-dir.ts
│ │ │ └── validate-pkg.ts
│ │ ├── index.ts
│ │ ├── package.json
│ │ ├── templates
│ │ │ ├── default
│ │ │ │ └── ts
│ │ │ │ ├── gitignore
│ │ │ │ ├── index.html
│ │ │ │ ├── index.ts
│ │ │ │ ├── public
│ │ │ │ │ ├── mockServiceWorker.js
│ │ │ │ │ ├── resources
│ │ │ │ │ │ ├── favicon.ico
│ │ │ │ │ │ └── xmlui-logo.svg
│ │ │ │ │ └── serve.json
│ │ │ │ └── src
│ │ │ │ ├── components
│ │ │ │ │ ├── ApiAware.xmlui
│ │ │ │ │ ├── Home.xmlui
│ │ │ │ │ ├── IncButton.xmlui
│ │ │ │ │ └── PagePanel.xmlui
│ │ │ │ ├── config.ts
│ │ │ │ └── Main.xmlui
│ │ │ ├── index.ts
│ │ │ └── types.ts
│ │ └── tsconfig.json
│ ├── create-xmlui-hello-world
│ │ ├── index.js
│ │ └── package.json
│ └── vscode
│ ├── .gitignore
│ ├── .vscode
│ │ ├── launch.json
│ │ └── tasks.json
│ ├── .vscodeignore
│ ├── build.sh
│ ├── CHANGELOG.md
│ ├── esbuild.js
│ ├── eslint.config.mjs
│ ├── formatter-docs.md
│ ├── generate-test-sample.sh
│ ├── LICENSE.md
│ ├── package-lock.json
│ ├── package.json
│ ├── README.md
│ ├── resources
│ │ ├── xmlui-logo.png
│ │ └── xmlui-markup-syntax-highlighting.png
│ ├── src
│ │ ├── extension.ts
│ │ └── server.ts
│ ├── syntaxes
│ │ └── xmlui.tmLanguage.json
│ ├── test-samples
│ │ └── sample.xmlui
│ ├── tsconfig.json
│ └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
├── .gitignore
├── bin
│ ├── bootstrap.cjs
│ ├── bootstrap.js
│ ├── build-lib.ts
│ ├── build.ts
│ ├── index.ts
│ ├── preview.ts
│ ├── start.ts
│ ├── vite-xmlui-plugin.ts
│ └── viteConfig.ts
├── CHANGELOG.md
├── conventions
│ ├── component-qa-checklist.md
│ ├── copilot-conventions.md
│ ├── create-xmlui-components.md
│ ├── mermaid.md
│ ├── testing-conventions.md
│ └── xmlui-in-a-nutshell.md
├── dev-docs
│ ├── accessibility.md
│ ├── build-system.md
│ ├── build-xmlui.md
│ ├── component-behaviors.md
│ ├── 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
│ ├── ud-components.md
│ └── xmlui-repo.md
├── package.json
├── scripts
│ ├── coverage-only.js
│ ├── e2e-test-summary.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
│ ├── 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.spec.ts
│ │ │ │ ├── LabelList.tsx
│ │ │ │ ├── LabelListNative.module.scss
│ │ │ │ └── LabelListNative.tsx
│ │ │ ├── Legend
│ │ │ │ ├── Legend.spec.ts
│ │ │ │ ├── Legend.tsx
│ │ │ │ └── LegendNative.tsx
│ │ │ ├── LineChart
│ │ │ │ ├── LineChart.md
│ │ │ │ ├── LineChart.module.scss
│ │ │ │ ├── LineChart.spec.ts
│ │ │ │ ├── LineChart.tsx
│ │ │ │ └── LineChartNative.tsx
│ │ │ ├── PieChart
│ │ │ │ ├── PieChart.md
│ │ │ │ ├── PieChart.spec.ts
│ │ │ │ ├── PieChart.tsx
│ │ │ │ ├── PieChartNative.module.scss
│ │ │ │ └── PieChartNative.tsx
│ │ │ ├── RadarChart
│ │ │ │ ├── RadarChart.md
│ │ │ │ ├── RadarChart.spec.ts
│ │ │ │ ├── RadarChart.tsx
│ │ │ │ └── RadarChartNative.tsx
│ │ │ ├── Tooltip
│ │ │ │ ├── TooltipContent.module.scss
│ │ │ │ ├── TooltipContent.spec.ts
│ │ │ │ └── TooltipContent.tsx
│ │ │ └── utils
│ │ │ ├── abstractions.ts
│ │ │ └── ChartProvider.tsx
│ │ ├── Checkbox
│ │ │ ├── Checkbox.md
│ │ │ ├── Checkbox.spec.ts
│ │ │ └── Checkbox.tsx
│ │ ├── CodeBlock
│ │ │ ├── CodeBlock.module.scss
│ │ │ ├── CodeBlock.spec.ts
│ │ │ ├── CodeBlock.tsx
│ │ │ ├── CodeBlockNative.tsx
│ │ │ └── highlight-code.ts
│ │ ├── collectedComponentMetadata.ts
│ │ ├── ColorPicker
│ │ │ ├── ColorPicker.md
│ │ │ ├── ColorPicker.module.scss
│ │ │ ├── ColorPicker.spec.ts
│ │ │ ├── ColorPicker.tsx
│ │ │ └── ColorPickerNative.tsx
│ │ ├── Column
│ │ │ ├── Column.md
│ │ │ ├── Column.tsx
│ │ │ ├── ColumnNative.tsx
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ └── TableContext.tsx
│ │ ├── component-utils.ts
│ │ ├── ComponentProvider.tsx
│ │ ├── ComponentRegistryContext.tsx
│ │ ├── container-helpers.tsx
│ │ ├── ContentSeparator
│ │ │ ├── ContentSeparator.md
│ │ │ ├── ContentSeparator.module.scss
│ │ │ ├── ContentSeparator.spec.ts
│ │ │ ├── ContentSeparator.tsx
│ │ │ └── ContentSeparatorNative.tsx
│ │ ├── DataSource
│ │ │ ├── DataSource.md
│ │ │ └── DataSource.tsx
│ │ ├── DateInput
│ │ │ ├── DateInput.md
│ │ │ ├── DateInput.module.scss
│ │ │ ├── DateInput.spec.ts
│ │ │ ├── DateInput.tsx
│ │ │ └── DateInputNative.tsx
│ │ ├── DatePicker
│ │ │ ├── DatePicker.md
│ │ │ ├── DatePicker.module.scss
│ │ │ ├── DatePicker.spec.ts
│ │ │ ├── DatePicker.tsx
│ │ │ └── DatePickerNative.tsx
│ │ ├── DropdownMenu
│ │ │ ├── DropdownMenu.md
│ │ │ ├── DropdownMenu.module.scss
│ │ │ ├── DropdownMenu.spec.ts
│ │ │ ├── DropdownMenu.tsx
│ │ │ ├── DropdownMenuNative.tsx
│ │ │ ├── MenuItem.md
│ │ │ └── SubMenuItem.md
│ │ ├── EmojiSelector
│ │ │ ├── EmojiSelector.md
│ │ │ ├── EmojiSelector.spec.ts
│ │ │ ├── EmojiSelector.tsx
│ │ │ └── EmojiSelectorNative.tsx
│ │ ├── ExpandableItem
│ │ │ ├── ExpandableItem.module.scss
│ │ │ ├── ExpandableItem.spec.ts
│ │ │ ├── ExpandableItem.tsx
│ │ │ └── ExpandableItemNative.tsx
│ │ ├── FileInput
│ │ │ ├── FileInput.md
│ │ │ ├── FileInput.module.scss
│ │ │ ├── FileInput.spec.ts
│ │ │ ├── FileInput.tsx
│ │ │ └── FileInputNative.tsx
│ │ ├── FileUploadDropZone
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FileUploadDropZone.module.scss
│ │ │ ├── FileUploadDropZone.spec.ts
│ │ │ ├── FileUploadDropZone.tsx
│ │ │ └── FileUploadDropZoneNative.tsx
│ │ ├── FlowLayout
│ │ │ ├── FlowLayout.md
│ │ │ ├── FlowLayout.module.scss
│ │ │ ├── FlowLayout.spec.ts
│ │ │ ├── FlowLayout.spec.ts-snapshots
│ │ │ │ └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
│ │ │ ├── FlowLayout.tsx
│ │ │ └── FlowLayoutNative.tsx
│ │ ├── Footer
│ │ │ ├── Footer.md
│ │ │ ├── Footer.module.scss
│ │ │ ├── Footer.spec.ts
│ │ │ ├── Footer.tsx
│ │ │ └── FooterNative.tsx
│ │ ├── Form
│ │ │ ├── Form.md
│ │ │ ├── Form.module.scss
│ │ │ ├── Form.spec.ts
│ │ │ ├── Form.tsx
│ │ │ ├── formActions.ts
│ │ │ ├── FormContext.ts
│ │ │ └── FormNative.tsx
│ │ ├── FormItem
│ │ │ ├── FormItem.md
│ │ │ ├── FormItem.module.scss
│ │ │ ├── FormItem.spec.ts
│ │ │ ├── FormItem.tsx
│ │ │ ├── FormItemNative.tsx
│ │ │ ├── HelperText.module.scss
│ │ │ ├── HelperText.tsx
│ │ │ ├── ItemWithLabel.tsx
│ │ │ └── Validations.ts
│ │ ├── FormSection
│ │ │ ├── FormSection.md
│ │ │ ├── FormSection.ts
│ │ │ └── FormSection.xmlui
│ │ ├── Fragment
│ │ │ ├── Fragment.spec.ts
│ │ │ └── Fragment.tsx
│ │ ├── Heading
│ │ │ ├── abstractions.ts
│ │ │ ├── H1.md
│ │ │ ├── H1.spec.ts
│ │ │ ├── H2.md
│ │ │ ├── H2.spec.ts
│ │ │ ├── H3.md
│ │ │ ├── H3.spec.ts
│ │ │ ├── H4.md
│ │ │ ├── H4.spec.ts
│ │ │ ├── H5.md
│ │ │ ├── H5.spec.ts
│ │ │ ├── H6.md
│ │ │ ├── H6.spec.ts
│ │ │ ├── Heading.md
│ │ │ ├── Heading.module.scss
│ │ │ ├── Heading.spec.ts
│ │ │ ├── Heading.tsx
│ │ │ └── HeadingNative.tsx
│ │ ├── HoverCard
│ │ │ ├── HoverCard.tsx
│ │ │ └── HovercardNative.tsx
│ │ ├── HtmlTags
│ │ │ ├── HtmlTags.module.scss
│ │ │ ├── HtmlTags.spec.ts
│ │ │ └── HtmlTags.tsx
│ │ ├── Icon
│ │ │ ├── AdmonitionDanger.tsx
│ │ │ ├── AdmonitionInfo.tsx
│ │ │ ├── AdmonitionNote.tsx
│ │ │ ├── AdmonitionTip.tsx
│ │ │ ├── AdmonitionWarning.tsx
│ │ │ ├── ApiIcon.tsx
│ │ │ ├── ArrowDropDown.module.scss
│ │ │ ├── ArrowDropDown.tsx
│ │ │ ├── ArrowDropUp.module.scss
│ │ │ ├── ArrowDropUp.tsx
│ │ │ ├── ArrowLeft.module.scss
│ │ │ ├── ArrowLeft.tsx
│ │ │ ├── ArrowRight.module.scss
│ │ │ ├── ArrowRight.tsx
│ │ │ ├── Attach.tsx
│ │ │ ├── Binding.module.scss
│ │ │ ├── Binding.tsx
│ │ │ ├── BoardIcon.tsx
│ │ │ ├── BoxIcon.tsx
│ │ │ ├── CheckIcon.tsx
│ │ │ ├── ChevronDownIcon.tsx
│ │ │ ├── ChevronLeft.tsx
│ │ │ ├── ChevronRight.tsx
│ │ │ ├── ChevronUpIcon.tsx
│ │ │ ├── CodeFileIcon.tsx
│ │ │ ├── CodeSandbox.tsx
│ │ │ ├── CompactListIcon.tsx
│ │ │ ├── ContentCopyIcon.tsx
│ │ │ ├── DarkToLightIcon.tsx
│ │ │ ├── DatabaseIcon.module.scss
│ │ │ ├── DatabaseIcon.tsx
│ │ │ ├── DocFileIcon.tsx
│ │ │ ├── DocIcon.tsx
│ │ │ ├── DotMenuHorizontalIcon.tsx
│ │ │ ├── DotMenuIcon.tsx
│ │ │ ├── EmailIcon.tsx
│ │ │ ├── EmptyFolderIcon.tsx
│ │ │ ├── ErrorIcon.tsx
│ │ │ ├── ExpressionIcon.tsx
│ │ │ ├── FillPlusCricleIcon.tsx
│ │ │ ├── FilterIcon.tsx
│ │ │ ├── FolderIcon.tsx
│ │ │ ├── GlobeIcon.tsx
│ │ │ ├── HomeIcon.tsx
│ │ │ ├── HyperLinkIcon.tsx
│ │ │ ├── Icon.md
│ │ │ ├── Icon.module.scss
│ │ │ ├── Icon.spec.ts
│ │ │ ├── Icon.tsx
│ │ │ ├── IconNative.tsx
│ │ │ ├── ImageFileIcon.tsx
│ │ │ ├── Inspect.tsx
│ │ │ ├── LightToDark.tsx
│ │ │ ├── LinkIcon.tsx
│ │ │ ├── ListIcon.tsx
│ │ │ ├── LooseListIcon.tsx
│ │ │ ├── MoonIcon.tsx
│ │ │ ├── MoreOptionsIcon.tsx
│ │ │ ├── NoSortIcon.tsx
│ │ │ ├── PDFIcon.tsx
│ │ │ ├── PenIcon.tsx
│ │ │ ├── PhoneIcon.tsx
│ │ │ ├── PhotoIcon.tsx
│ │ │ ├── PlusIcon.tsx
│ │ │ ├── SearchIcon.tsx
│ │ │ ├── ShareIcon.tsx
│ │ │ ├── SortAscendingIcon.tsx
│ │ │ ├── SortDescendingIcon.tsx
│ │ │ ├── StarsIcon.tsx
│ │ │ ├── SunIcon.tsx
│ │ │ ├── svg
│ │ │ │ ├── admonition_danger.svg
│ │ │ │ ├── admonition_info.svg
│ │ │ │ ├── admonition_note.svg
│ │ │ │ ├── admonition_tip.svg
│ │ │ │ ├── admonition_warning.svg
│ │ │ │ ├── api.svg
│ │ │ │ ├── arrow-dropdown.svg
│ │ │ │ ├── arrow-left.svg
│ │ │ │ ├── arrow-right.svg
│ │ │ │ ├── arrow-up.svg
│ │ │ │ ├── attach.svg
│ │ │ │ ├── binding.svg
│ │ │ │ ├── box.svg
│ │ │ │ ├── bulb.svg
│ │ │ │ ├── code-file.svg
│ │ │ │ ├── code-sandbox.svg
│ │ │ │ ├── dark_to_light.svg
│ │ │ │ ├── database.svg
│ │ │ │ ├── doc.svg
│ │ │ │ ├── empty-folder.svg
│ │ │ │ ├── expression.svg
│ │ │ │ ├── eye-closed.svg
│ │ │ │ ├── eye-dark.svg
│ │ │ │ ├── eye.svg
│ │ │ │ ├── file-text.svg
│ │ │ │ ├── filter.svg
│ │ │ │ ├── folder.svg
│ │ │ │ ├── img.svg
│ │ │ │ ├── inspect.svg
│ │ │ │ ├── light_to_dark.svg
│ │ │ │ ├── moon.svg
│ │ │ │ ├── pdf.svg
│ │ │ │ ├── photo.svg
│ │ │ │ ├── share.svg
│ │ │ │ ├── stars.svg
│ │ │ │ ├── sun.svg
│ │ │ │ ├── trending-down.svg
│ │ │ │ ├── trending-level.svg
│ │ │ │ ├── trending-up.svg
│ │ │ │ ├── txt.svg
│ │ │ │ ├── unknown-file.svg
│ │ │ │ ├── unlink.svg
│ │ │ │ └── xls.svg
│ │ │ ├── TableDeleteColumnIcon.tsx
│ │ │ ├── TableDeleteRowIcon.tsx
│ │ │ ├── TableInsertColumnIcon.tsx
│ │ │ ├── TableInsertRowIcon.tsx
│ │ │ ├── TrashIcon.tsx
│ │ │ ├── TrendingDownIcon.tsx
│ │ │ ├── TrendingLevelIcon.tsx
│ │ │ ├── TrendingUpIcon.tsx
│ │ │ ├── TxtIcon.tsx
│ │ │ ├── UnknownFileIcon.tsx
│ │ │ ├── UnlinkIcon.tsx
│ │ │ ├── UserIcon.tsx
│ │ │ ├── WarningIcon.tsx
│ │ │ └── XlsIcon.tsx
│ │ ├── IconProvider.tsx
│ │ ├── IconRegistryContext.tsx
│ │ ├── IFrame
│ │ │ ├── IFrame.md
│ │ │ ├── IFrame.module.scss
│ │ │ ├── IFrame.spec.ts
│ │ │ ├── IFrame.tsx
│ │ │ └── IFrameNative.tsx
│ │ ├── Image
│ │ │ ├── Image.md
│ │ │ ├── Image.module.scss
│ │ │ ├── Image.spec.ts
│ │ │ ├── Image.tsx
│ │ │ └── ImageNative.tsx
│ │ ├── Input
│ │ │ ├── index.ts
│ │ │ ├── InputAdornment.module.scss
│ │ │ ├── InputAdornment.tsx
│ │ │ ├── InputDivider.module.scss
│ │ │ ├── InputDivider.tsx
│ │ │ ├── InputLabel.module.scss
│ │ │ ├── InputLabel.tsx
│ │ │ ├── PartialInput.module.scss
│ │ │ └── PartialInput.tsx
│ │ ├── InspectButton
│ │ │ ├── InspectButton.module.scss
│ │ │ └── InspectButton.tsx
│ │ ├── Items
│ │ │ ├── Items.md
│ │ │ ├── Items.spec.ts
│ │ │ ├── Items.tsx
│ │ │ └── ItemsNative.tsx
│ │ ├── Link
│ │ │ ├── Link.md
│ │ │ ├── Link.module.scss
│ │ │ ├── Link.spec.ts
│ │ │ ├── Link.tsx
│ │ │ └── LinkNative.tsx
│ │ ├── List
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── List.md
│ │ │ ├── List.module.scss
│ │ │ ├── List.spec.ts
│ │ │ ├── List.tsx
│ │ │ └── ListNative.tsx
│ │ ├── Logo
│ │ │ ├── doc-resources
│ │ │ │ └── xmlui-logo.svg
│ │ │ ├── Logo.md
│ │ │ ├── Logo.tsx
│ │ │ └── LogoNative.tsx
│ │ ├── Markdown
│ │ │ ├── CodeText.module.scss
│ │ │ ├── CodeText.tsx
│ │ │ ├── Markdown.md
│ │ │ ├── Markdown.module.scss
│ │ │ ├── Markdown.spec.ts
│ │ │ ├── Markdown.tsx
│ │ │ ├── MarkdownNative.tsx
│ │ │ ├── parse-binding-expr.ts
│ │ │ └── utils.ts
│ │ ├── metadata-helpers.ts
│ │ ├── ModalDialog
│ │ │ ├── ConfirmationModalContextProvider.tsx
│ │ │ ├── Dialog.module.scss
│ │ │ ├── Dialog.tsx
│ │ │ ├── ModalDialog.md
│ │ │ ├── ModalDialog.module.scss
│ │ │ ├── ModalDialog.spec.ts
│ │ │ ├── ModalDialog.tsx
│ │ │ ├── ModalDialogNative.tsx
│ │ │ └── ModalVisibilityContext.tsx
│ │ ├── NavGroup
│ │ │ ├── NavGroup.md
│ │ │ ├── NavGroup.module.scss
│ │ │ ├── NavGroup.spec.ts
│ │ │ ├── NavGroup.tsx
│ │ │ ├── NavGroupContext.ts
│ │ │ └── NavGroupNative.tsx
│ │ ├── NavLink
│ │ │ ├── NavLink.md
│ │ │ ├── NavLink.module.scss
│ │ │ ├── NavLink.spec.ts
│ │ │ ├── NavLink.tsx
│ │ │ └── NavLinkNative.tsx
│ │ ├── NavPanel
│ │ │ ├── NavPanel.md
│ │ │ ├── NavPanel.module.scss
│ │ │ ├── NavPanel.spec.ts
│ │ │ ├── NavPanel.tsx
│ │ │ └── NavPanelNative.tsx
│ │ ├── NestedApp
│ │ │ ├── AppWithCodeView.module.scss
│ │ │ ├── AppWithCodeView.tsx
│ │ │ ├── AppWithCodeViewNative.tsx
│ │ │ ├── defaultProps.tsx
│ │ │ ├── logo.svg
│ │ │ ├── NestedApp.module.scss
│ │ │ ├── NestedApp.tsx
│ │ │ ├── NestedAppNative.tsx
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── NoResult
│ │ │ ├── NoResult.md
│ │ │ ├── NoResult.module.scss
│ │ │ ├── NoResult.spec.ts
│ │ │ ├── NoResult.tsx
│ │ │ └── NoResultNative.tsx
│ │ ├── NumberBox
│ │ │ ├── numberbox-abstractions.ts
│ │ │ ├── NumberBox.md
│ │ │ ├── NumberBox.module.scss
│ │ │ ├── NumberBox.spec.ts
│ │ │ ├── NumberBox.tsx
│ │ │ └── NumberBoxNative.tsx
│ │ ├── Option
│ │ │ ├── Option.md
│ │ │ ├── Option.spec.ts
│ │ │ ├── Option.tsx
│ │ │ ├── OptionNative.tsx
│ │ │ └── OptionTypeProvider.tsx
│ │ ├── PageMetaTitle
│ │ │ ├── PageMetaTilteNative.tsx
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── PageMetaTitle.spec.ts
│ │ │ └── PageMetaTitle.tsx
│ │ ├── Pages
│ │ │ ├── Page.md
│ │ │ ├── Pages.md
│ │ │ ├── Pages.module.scss
│ │ │ ├── Pages.tsx
│ │ │ └── PagesNative.tsx
│ │ ├── Pagination
│ │ │ ├── Pagination.md
│ │ │ ├── Pagination.module.scss
│ │ │ ├── Pagination.spec.ts
│ │ │ ├── Pagination.tsx
│ │ │ └── PaginationNative.tsx
│ │ ├── PositionedContainer
│ │ │ ├── PositionedContainer.module.scss
│ │ │ ├── PositionedContainer.tsx
│ │ │ └── PositionedContainerNative.tsx
│ │ ├── ProfileMenu
│ │ │ ├── ProfileMenu.module.scss
│ │ │ └── ProfileMenu.tsx
│ │ ├── ProgressBar
│ │ │ ├── ProgressBar.md
│ │ │ ├── ProgressBar.module.scss
│ │ │ ├── ProgressBar.spec.ts
│ │ │ ├── ProgressBar.tsx
│ │ │ └── ProgressBarNative.tsx
│ │ ├── Queue
│ │ │ ├── Queue.md
│ │ │ ├── Queue.spec.ts
│ │ │ ├── Queue.tsx
│ │ │ ├── queueActions.ts
│ │ │ └── QueueNative.tsx
│ │ ├── RadioGroup
│ │ │ ├── RadioGroup.md
│ │ │ ├── RadioGroup.module.scss
│ │ │ ├── RadioGroup.spec.ts
│ │ │ ├── RadioGroup.tsx
│ │ │ ├── RadioGroupNative.tsx
│ │ │ ├── RadioItem.tsx
│ │ │ └── RadioItemNative.tsx
│ │ ├── RealTimeAdapter
│ │ │ ├── RealTimeAdapter.tsx
│ │ │ └── RealTimeAdapterNative.tsx
│ │ ├── Redirect
│ │ │ ├── Redirect.md
│ │ │ ├── Redirect.spec.ts
│ │ │ └── Redirect.tsx
│ │ ├── ResponsiveBar
│ │ │ ├── README.md
│ │ │ ├── ResponsiveBar.md
│ │ │ ├── ResponsiveBar.module.scss
│ │ │ ├── ResponsiveBar.spec.ts
│ │ │ ├── ResponsiveBar.tsx
│ │ │ └── ResponsiveBarNative.tsx
│ │ ├── Select
│ │ │ ├── HiddenOption.tsx
│ │ │ ├── OptionContext.ts
│ │ │ ├── Select.md
│ │ │ ├── Select.module.scss
│ │ │ ├── Select.spec.ts
│ │ │ ├── Select.tsx
│ │ │ ├── SelectContext.tsx
│ │ │ └── SelectNative.tsx
│ │ ├── SelectionStore
│ │ │ ├── SelectionStore.md
│ │ │ ├── SelectionStore.tsx
│ │ │ └── SelectionStoreNative.tsx
│ │ ├── Slider
│ │ │ ├── Slider.md
│ │ │ ├── Slider.module.scss
│ │ │ ├── Slider.spec.ts
│ │ │ ├── Slider.tsx
│ │ │ └── SliderNative.tsx
│ │ ├── Slot
│ │ │ ├── Slot.md
│ │ │ ├── Slot.spec.ts
│ │ │ └── Slot.ts
│ │ ├── SlotItem.tsx
│ │ ├── SpaceFiller
│ │ │ ├── SpaceFiller.md
│ │ │ ├── SpaceFiller.module.scss
│ │ │ ├── SpaceFiller.spec.ts
│ │ │ ├── SpaceFiller.tsx
│ │ │ └── SpaceFillerNative.tsx
│ │ ├── Spinner
│ │ │ ├── Spinner.md
│ │ │ ├── Spinner.module.scss
│ │ │ ├── Spinner.spec.ts
│ │ │ ├── Spinner.tsx
│ │ │ └── SpinnerNative.tsx
│ │ ├── Splitter
│ │ │ ├── HSplitter.md
│ │ │ ├── HSplitter.spec.ts
│ │ │ ├── Splitter.md
│ │ │ ├── Splitter.module.scss
│ │ │ ├── Splitter.spec.ts
│ │ │ ├── Splitter.tsx
│ │ │ ├── SplitterNative.tsx
│ │ │ ├── utils.ts
│ │ │ ├── VSplitter.md
│ │ │ └── VSplitter.spec.ts
│ │ ├── Stack
│ │ │ ├── CHStack.md
│ │ │ ├── CHStack.spec.ts
│ │ │ ├── CVStack.md
│ │ │ ├── CVStack.spec.ts
│ │ │ ├── HStack.md
│ │ │ ├── HStack.spec.ts
│ │ │ ├── Stack.md
│ │ │ ├── Stack.module.scss
│ │ │ ├── Stack.spec.ts
│ │ │ ├── Stack.tsx
│ │ │ ├── StackNative.tsx
│ │ │ ├── VStack.md
│ │ │ └── VStack.spec.ts
│ │ ├── StickyBox
│ │ │ ├── StickyBox.md
│ │ │ ├── StickyBox.module.scss
│ │ │ ├── StickyBox.tsx
│ │ │ └── StickyBoxNative.tsx
│ │ ├── Switch
│ │ │ ├── Switch.md
│ │ │ ├── Switch.spec.ts
│ │ │ └── Switch.tsx
│ │ ├── Table
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── react-table-config.d.ts
│ │ │ ├── Table.md
│ │ │ ├── Table.module.scss
│ │ │ ├── Table.spec.ts
│ │ │ ├── Table.tsx
│ │ │ ├── TableNative.tsx
│ │ │ └── useRowSelection.tsx
│ │ ├── TableOfContents
│ │ │ ├── TableOfContents.module.scss
│ │ │ ├── TableOfContents.spec.ts
│ │ │ ├── TableOfContents.tsx
│ │ │ └── TableOfContentsNative.tsx
│ │ ├── Tabs
│ │ │ ├── TabContext.tsx
│ │ │ ├── TabItem.md
│ │ │ ├── TabItem.tsx
│ │ │ ├── TabItemNative.tsx
│ │ │ ├── Tabs.md
│ │ │ ├── Tabs.module.scss
│ │ │ ├── Tabs.spec.ts
│ │ │ ├── Tabs.tsx
│ │ │ └── TabsNative.tsx
│ │ ├── Text
│ │ │ ├── Text.md
│ │ │ ├── Text.module.scss
│ │ │ ├── Text.spec.ts
│ │ │ ├── Text.tsx
│ │ │ └── TextNative.tsx
│ │ ├── TextArea
│ │ │ ├── TextArea.md
│ │ │ ├── TextArea.module.scss
│ │ │ ├── TextArea.spec.ts
│ │ │ ├── TextArea.tsx
│ │ │ ├── TextAreaNative.tsx
│ │ │ ├── TextAreaResizable.tsx
│ │ │ └── useComposedRef.ts
│ │ ├── TextBox
│ │ │ ├── TextBox.md
│ │ │ ├── TextBox.module.scss
│ │ │ ├── TextBox.spec.ts
│ │ │ ├── TextBox.tsx
│ │ │ └── TextBoxNative.tsx
│ │ ├── Theme
│ │ │ ├── NotificationToast.tsx
│ │ │ ├── Theme.md
│ │ │ ├── Theme.module.scss
│ │ │ ├── Theme.spec.ts
│ │ │ ├── Theme.tsx
│ │ │ └── ThemeNative.tsx
│ │ ├── TimeInput
│ │ │ ├── TimeInput.md
│ │ │ ├── TimeInput.module.scss
│ │ │ ├── TimeInput.spec.ts
│ │ │ ├── TimeInput.tsx
│ │ │ ├── TimeInputNative.tsx
│ │ │ └── utils.ts
│ │ ├── Timer
│ │ │ ├── Timer.md
│ │ │ ├── Timer.spec.ts
│ │ │ ├── Timer.tsx
│ │ │ └── TimerNative.tsx
│ │ ├── Toggle
│ │ │ ├── Toggle.module.scss
│ │ │ └── Toggle.tsx
│ │ ├── ToneChangerButton
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneChangerButton.spec.ts
│ │ │ └── ToneChangerButton.tsx
│ │ ├── ToneSwitch
│ │ │ ├── ToneSwitch.md
│ │ │ ├── ToneSwitch.module.scss
│ │ │ ├── ToneSwitch.spec.ts
│ │ │ ├── ToneSwitch.tsx
│ │ │ └── ToneSwitchNative.tsx
│ │ ├── Tooltip
│ │ │ ├── Tooltip.md
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.spec.ts
│ │ │ ├── Tooltip.tsx
│ │ │ └── TooltipNative.tsx
│ │ ├── Tree
│ │ │ ├── testData.ts
│ │ │ ├── Tree-dynamic.spec.ts
│ │ │ ├── Tree-icons.spec.ts
│ │ │ ├── Tree.md
│ │ │ ├── Tree.spec.ts
│ │ │ ├── TreeComponent.module.scss
│ │ │ ├── TreeComponent.tsx
│ │ │ └── TreeNative.tsx
│ │ ├── TreeDisplay
│ │ │ ├── TreeDisplay.md
│ │ │ ├── TreeDisplay.module.scss
│ │ │ ├── TreeDisplay.tsx
│ │ │ └── TreeDisplayNative.tsx
│ │ ├── ValidationSummary
│ │ │ ├── ValidationSummary.module.scss
│ │ │ └── ValidationSummary.tsx
│ │ └── VisuallyHidden.tsx
│ ├── components-core
│ │ ├── abstractions
│ │ │ ├── ComponentRenderer.ts
│ │ │ ├── LoaderRenderer.ts
│ │ │ ├── standalone.ts
│ │ │ └── treeAbstractions.ts
│ │ ├── action
│ │ │ ├── actions.ts
│ │ │ ├── APICall.tsx
│ │ │ ├── FileDownloadAction.tsx
│ │ │ ├── FileUploadAction.tsx
│ │ │ ├── NavigateAction.tsx
│ │ │ └── TimedAction.tsx
│ │ ├── ApiBoundComponent.tsx
│ │ ├── appContext
│ │ │ ├── date-functions.ts
│ │ │ ├── math-function.ts
│ │ │ └── misc-utils.ts
│ │ ├── AppContext.tsx
│ │ ├── behaviors
│ │ │ ├── Behavior.tsx
│ │ │ └── CoreBehaviors.tsx
│ │ ├── component-hooks.ts
│ │ ├── ComponentDecorator.tsx
│ │ ├── ComponentViewer.tsx
│ │ ├── CompoundComponent.tsx
│ │ ├── constants.ts
│ │ ├── DebugViewProvider.tsx
│ │ ├── descriptorHelper.ts
│ │ ├── devtools
│ │ │ ├── InspectorDialog.module.scss
│ │ │ ├── InspectorDialog.tsx
│ │ │ └── InspectorDialogVisibilityContext.tsx
│ │ ├── EngineError.ts
│ │ ├── event-handlers.ts
│ │ ├── InspectorButton.module.scss
│ │ ├── InspectorContext.tsx
│ │ ├── interception
│ │ │ ├── abstractions.ts
│ │ │ ├── ApiInterceptor.ts
│ │ │ ├── ApiInterceptorProvider.tsx
│ │ │ ├── apiInterceptorWorker.ts
│ │ │ ├── Backend.ts
│ │ │ ├── Errors.ts
│ │ │ ├── IndexedDb.ts
│ │ │ ├── initMock.ts
│ │ │ ├── InMemoryDb.ts
│ │ │ ├── ReadonlyCollection.ts
│ │ │ └── useApiInterceptorContext.tsx
│ │ ├── loader
│ │ │ ├── ApiLoader.tsx
│ │ │ ├── DataLoader.tsx
│ │ │ ├── ExternalDataLoader.tsx
│ │ │ ├── Loader.tsx
│ │ │ ├── MockLoaderRenderer.tsx
│ │ │ └── PageableLoader.tsx
│ │ ├── LoaderComponent.tsx
│ │ ├── markup-check.ts
│ │ ├── parts.ts
│ │ ├── renderers.ts
│ │ ├── rendering
│ │ │ ├── AppContent.tsx
│ │ │ ├── AppRoot.tsx
│ │ │ ├── AppWrapper.tsx
│ │ │ ├── buildProxy.ts
│ │ │ ├── collectFnVarDeps.ts
│ │ │ ├── ComponentAdapter.tsx
│ │ │ ├── ComponentWrapper.tsx
│ │ │ ├── Container.tsx
│ │ │ ├── containers.ts
│ │ │ ├── ContainerWrapper.tsx
│ │ │ ├── ErrorBoundary.module.scss
│ │ │ ├── ErrorBoundary.tsx
│ │ │ ├── InvalidComponent.module.scss
│ │ │ ├── InvalidComponent.tsx
│ │ │ ├── nodeUtils.ts
│ │ │ ├── reducer.ts
│ │ │ ├── renderChild.tsx
│ │ │ ├── StandaloneComponent.tsx
│ │ │ ├── StateContainer.tsx
│ │ │ ├── UnknownComponent.module.scss
│ │ │ ├── UnknownComponent.tsx
│ │ │ └── valueExtractor.ts
│ │ ├── reportEngineError.ts
│ │ ├── RestApiProxy.ts
│ │ ├── script-runner
│ │ │ ├── asyncProxy.ts
│ │ │ ├── AttributeValueParser.ts
│ │ │ ├── bannedFunctions.ts
│ │ │ ├── BindingTreeEvaluationContext.ts
│ │ │ ├── eval-tree-async.ts
│ │ │ ├── eval-tree-common.ts
│ │ │ ├── eval-tree-sync.ts
│ │ │ ├── ParameterParser.ts
│ │ │ ├── process-statement-async.ts
│ │ │ ├── process-statement-common.ts
│ │ │ ├── process-statement-sync.ts
│ │ │ ├── ScriptingSourceTree.ts
│ │ │ ├── simplify-expression.ts
│ │ │ ├── statement-queue.ts
│ │ │ └── visitors.ts
│ │ ├── StandaloneApp.tsx
│ │ ├── StandaloneExtensionManager.ts
│ │ ├── TableOfContentsContext.tsx
│ │ ├── theming
│ │ │ ├── _themes.scss
│ │ │ ├── component-layout-resolver.ts
│ │ │ ├── extendThemeUtils.ts
│ │ │ ├── hvar.ts
│ │ │ ├── layout-resolver.ts
│ │ │ ├── parse-layout-props.ts
│ │ │ ├── StyleContext.tsx
│ │ │ ├── StyleRegistry.ts
│ │ │ ├── ThemeContext.tsx
│ │ │ ├── ThemeProvider.tsx
│ │ │ ├── themes
│ │ │ │ ├── base-utils.ts
│ │ │ │ ├── palette.ts
│ │ │ │ ├── root.ts
│ │ │ │ ├── solid.ts
│ │ │ │ ├── theme-colors.ts
│ │ │ │ └── xmlui.ts
│ │ │ ├── themeVars.module.scss
│ │ │ ├── themeVars.ts
│ │ │ ├── transformThemeVars.ts
│ │ │ └── utils.ts
│ │ ├── utils
│ │ │ ├── actionUtils.ts
│ │ │ ├── audio-utils.ts
│ │ │ ├── base64-utils.ts
│ │ │ ├── compound-utils.ts
│ │ │ ├── css-utils.ts
│ │ │ ├── DataLoaderQueryKeyGenerator.ts
│ │ │ ├── date-utils.ts
│ │ │ ├── extractParam.ts
│ │ │ ├── hooks.tsx
│ │ │ ├── LruCache.ts
│ │ │ ├── mergeProps.ts
│ │ │ ├── misc.ts
│ │ │ ├── request-params.ts
│ │ │ ├── statementUtils.ts
│ │ │ └── treeUtils.ts
│ │ └── xmlui-parser.ts
│ ├── index-standalone.ts
│ ├── index.scss
│ ├── index.ts
│ ├── language-server
│ │ ├── server-common.ts
│ │ ├── server-web-worker.ts
│ │ ├── server.ts
│ │ ├── services
│ │ │ ├── common
│ │ │ │ ├── docs-generation.ts
│ │ │ │ ├── lsp-utils.ts
│ │ │ │ ├── metadata-utils.ts
│ │ │ │ └── syntax-node-utilities.ts
│ │ │ ├── completion.ts
│ │ │ ├── diagnostic.ts
│ │ │ ├── format.ts
│ │ │ └── hover.ts
│ │ └── xmlui-metadata-generated.js
│ ├── logging
│ │ ├── LoggerContext.tsx
│ │ ├── LoggerInitializer.tsx
│ │ ├── LoggerService.ts
│ │ └── xmlui.ts
│ ├── logo.svg
│ ├── parsers
│ │ ├── common
│ │ │ ├── GenericToken.ts
│ │ │ ├── InputStream.ts
│ │ │ └── utils.ts
│ │ ├── scripting
│ │ │ ├── code-behind-collect.ts
│ │ │ ├── Lexer.ts
│ │ │ ├── modules.ts
│ │ │ ├── Parser.ts
│ │ │ ├── ParserError.ts
│ │ │ ├── ScriptingNodeTypes.ts
│ │ │ ├── TokenTrait.ts
│ │ │ ├── TokenType.ts
│ │ │ └── tree-visitor.ts
│ │ ├── style-parser
│ │ │ ├── errors.ts
│ │ │ ├── source-tree.ts
│ │ │ ├── StyleInputStream.ts
│ │ │ ├── StyleLexer.ts
│ │ │ ├── StyleParser.ts
│ │ │ └── tokens.ts
│ │ └── xmlui-parser
│ │ ├── CharacterCodes.ts
│ │ ├── diagnostics.ts
│ │ ├── fileExtensions.ts
│ │ ├── index.ts
│ │ ├── lint.ts
│ │ ├── parser.ts
│ │ ├── ParserError.ts
│ │ ├── scanner.ts
│ │ ├── syntax-kind.ts
│ │ ├── syntax-node.ts
│ │ ├── transform.ts
│ │ ├── utils.ts
│ │ ├── xmlui-serializer.ts
│ │ └── xmlui-tree.ts
│ ├── react-app-env.d.ts
│ ├── syntax
│ │ ├── monaco
│ │ │ ├── grammar.monacoLanguage.ts
│ │ │ ├── index.ts
│ │ │ ├── xmlui-dark.ts
│ │ │ ├── xmlui-light.ts
│ │ │ └── xmluiscript.monacoLanguage.ts
│ │ └── textMate
│ │ ├── index.ts
│ │ ├── xmlui-dark.json
│ │ ├── xmlui-light.json
│ │ ├── xmlui.json
│ │ └── xmlui.tmLanguage.json
│ ├── testing
│ │ ├── assertions.ts
│ │ ├── component-test-helpers.ts
│ │ ├── ComponentDrivers.ts
│ │ ├── drivers
│ │ │ ├── DateInputDriver.ts
│ │ │ ├── index.ts
│ │ │ ├── ModalDialogDriver.ts
│ │ │ ├── NumberBoxDriver.ts
│ │ │ ├── TextBoxDriver.ts
│ │ │ ├── TimeInputDriver.ts
│ │ │ ├── TimerDriver.ts
│ │ │ └── TreeDriver.ts
│ │ ├── fixtures.ts
│ │ ├── index.ts
│ │ ├── infrastructure
│ │ │ ├── index.html
│ │ │ ├── main.tsx
│ │ │ ├── public
│ │ │ │ ├── mockServiceWorker.js
│ │ │ │ ├── resources
│ │ │ │ │ ├── bell.svg
│ │ │ │ │ ├── box.svg
│ │ │ │ │ ├── doc.svg
│ │ │ │ │ ├── eye.svg
│ │ │ │ │ ├── flower-640x480.jpg
│ │ │ │ │ ├── sun.svg
│ │ │ │ │ ├── test-image-100x100.jpg
│ │ │ │ │ └── txt.svg
│ │ │ │ └── serve.json
│ │ │ └── TestBed.tsx
│ │ └── themed-app-test-helpers.ts
│ └── vite-env.d.ts
├── tests
│ ├── components
│ │ ├── CodeBlock
│ │ │ └── hightlight-code.test.ts
│ │ ├── playground-pattern.test.ts
│ │ └── Tree
│ │ └── Tree-states.test.ts
│ ├── components-core
│ │ ├── abstractions
│ │ │ └── treeAbstractions.test.ts
│ │ ├── container
│ │ │ └── buildProxy.test.ts
│ │ ├── interception
│ │ │ ├── orderBy.test.ts
│ │ │ ├── ReadOnlyCollection.test.ts
│ │ │ └── request-param-converter.test.ts
│ │ ├── scripts-runner
│ │ │ ├── AttributeValueParser.test.ts
│ │ │ ├── eval-tree-arrow-async.test.ts
│ │ │ ├── eval-tree-arrow.test.ts
│ │ │ ├── eval-tree-func-decl-async.test.ts
│ │ │ ├── eval-tree-func-decl.test.ts
│ │ │ ├── eval-tree-pre-post.test.ts
│ │ │ ├── eval-tree-regression.test.ts
│ │ │ ├── eval-tree.test.ts
│ │ │ ├── function-proxy.test.ts
│ │ │ ├── parser-regression.test.ts
│ │ │ ├── process-event.test.ts
│ │ │ ├── process-function.test.ts
│ │ │ ├── process-implicit-context.test.ts
│ │ │ ├── process-statement-asgn.test.ts
│ │ │ ├── process-statement-destruct.test.ts
│ │ │ ├── process-statement-regs.test.ts
│ │ │ ├── process-statement-sync.test.ts
│ │ │ ├── process-statement.test.ts
│ │ │ ├── process-switch-sync.test.ts
│ │ │ ├── process-switch.test.ts
│ │ │ ├── process-try-sync.test.ts
│ │ │ ├── process-try.test.ts
│ │ │ └── test-helpers.ts
│ │ ├── test-metadata-handler.ts
│ │ ├── theming
│ │ │ ├── border-segments.test.ts
│ │ │ ├── component-layout.resolver.test.ts
│ │ │ ├── layout-property-parser.test.ts
│ │ │ ├── layout-resolver.test.ts
│ │ │ ├── layout-resolver2.test.ts
│ │ │ ├── layout-vp-override.test.ts
│ │ │ └── padding-segments.test.ts
│ │ └── utils
│ │ ├── date-utils.test.ts
│ │ ├── format-human-elapsed-time.test.ts
│ │ └── LruCache.test.ts
│ ├── language-server
│ │ ├── completion.test.ts
│ │ ├── format.test.ts
│ │ ├── hover.test.ts
│ │ └── mockData.ts
│ └── parsers
│ ├── common
│ │ └── input-stream.test.ts
│ ├── markdown
│ │ └── parse-binding-expression.test.ts
│ ├── parameter-parser.test.ts
│ ├── paremeter-parser.test.ts
│ ├── scripting
│ │ ├── eval-tree-arrow.test.ts
│ │ ├── eval-tree-pre-post.test.ts
│ │ ├── eval-tree.test.ts
│ │ ├── function-proxy.test.ts
│ │ ├── lexer-literals.test.ts
│ │ ├── lexer-misc.test.ts
│ │ ├── module-parse.test.ts
│ │ ├── parser-arrow.test.ts
│ │ ├── parser-assignments.test.ts
│ │ ├── parser-binary.test.ts
│ │ ├── parser-destructuring.test.ts
│ │ ├── parser-errors.test.ts
│ │ ├── parser-expressions.test.ts
│ │ ├── parser-function.test.ts
│ │ ├── parser-literals.test.ts
│ │ ├── parser-primary.test.ts
│ │ ├── parser-regex.test.ts
│ │ ├── parser-statements.test.ts
│ │ ├── parser-unary.test.ts
│ │ ├── process-event.test.ts
│ │ ├── process-implicit-context.test.ts
│ │ ├── process-statement-asgn.test.ts
│ │ ├── process-statement-destruct.test.ts
│ │ ├── process-statement-regs.test.ts
│ │ ├── process-statement-sync.test.ts
│ │ ├── process-statement.test.ts
│ │ ├── process-switch-sync.test.ts
│ │ ├── process-switch.test.ts
│ │ ├── process-try-sync.test.ts
│ │ ├── process-try.test.ts
│ │ ├── simplify-expression.test.ts
│ │ ├── statement-hooks.test.ts
│ │ └── test-helpers.ts
│ ├── style-parser
│ │ ├── generateHvarChain.test.ts
│ │ ├── parseHVar.test.ts
│ │ ├── parser.test.ts
│ │ └── tokens.test.ts
│ └── xmlui
│ ├── lint.test.ts
│ ├── parser.test.ts
│ ├── scanner.test.ts
│ ├── transform.attr.test.ts
│ ├── transform.circular.test.ts
│ ├── transform.element.test.ts
│ ├── transform.errors.test.ts
│ ├── transform.escape.test.ts
│ ├── transform.regression.test.ts
│ ├── transform.script.test.ts
│ ├── transform.test.ts
│ └── xmlui.ts
├── tests-e2e
│ ├── api-bound-component-regression.spec.ts
│ ├── api-call-as-extracted-component.spec.ts
│ ├── assign-to-object-or-array-regression.spec.ts
│ ├── binding-regression.spec.ts
│ ├── children-as-template-context-vars.spec.ts
│ ├── compound-component.spec.ts
│ ├── context-vars-regression.spec.ts
│ ├── data-bindings.spec.ts
│ ├── datasource-and-api-usage-in-var.spec.ts
│ ├── datasource-direct-binding.spec.ts
│ ├── datasource-onLoaded-regression.spec.ts
│ ├── modify-array-item-regression.spec.ts
│ ├── namespaces.spec.ts
│ ├── push-to-array-regression.spec.ts
│ ├── screen-breakpoints.spec.ts
│ ├── scripting.spec.ts
│ ├── state-scope-in-pages.spec.ts
│ └── state-var-scopes.spec.ts
├── tsconfig.bin.json
├── tsconfig.json
├── tsconfig.node.json
├── vite.config.ts
└── vitest.config.ts
```
# Files
--------------------------------------------------------------------------------
/xmlui/src/components/FormItem/FormItem.spec.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { SKIP_REASON } from "../../testing/component-test-helpers";
2 | import { expect, test } from "../../testing/fixtures";
3 |
4 | // =============================================================================
5 | // BASIC FUNCTIONALITY TESTS
6 | // =============================================================================
7 |
8 | test.describe("Basic Functionality", () => {
9 | test("renders with default properties", async ({ initTestBed, createFormItemDriver }) => {
10 | await initTestBed(`
11 | <Form>
12 | <FormItem testId="formItem" />
13 | </Form>
14 | `);
15 | const driver = await createFormItemDriver("formItem");
16 | await expect(driver.component).toBeVisible();
17 | });
18 |
19 | test("renders with label property", async ({ initTestBed, createFormItemDriver }) => {
20 | await initTestBed(`
21 | <Form>
22 | <FormItem testId="formItem" label="Test Label" />
23 | </Form>
24 | `);
25 | const driver = await createFormItemDriver("formItem");
26 | await expect(driver.label).toHaveText("Test Label");
27 | });
28 |
29 | test("renders with enabled property set to true", async ({
30 | initTestBed,
31 | createFormItemDriver,
32 | createTextBoxDriver,
33 | }) => {
34 | await initTestBed(`
35 | <Form>
36 | <FormItem testId="formItem" type="text" enabled="true" />
37 | </Form>
38 | `);
39 | const formItemDriver = await createFormItemDriver("formItem");
40 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
41 | await expect(inputDriver.field).toBeEnabled();
42 | });
43 |
44 | test("renders with enabled property set to false", async ({
45 | initTestBed,
46 | createFormItemDriver,
47 | createTextBoxDriver,
48 | }) => {
49 | await initTestBed(`
50 | <Form>
51 | <FormItem testId="formItem" type="text" enabled="false" />
52 | </Form>
53 | `);
54 | const formItemDriver = await createFormItemDriver("formItem");
55 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
56 | await expect(inputDriver.field).toBeDisabled();
57 | });
58 |
59 | test("renders with required property", async ({ initTestBed, createFormItemDriver }) => {
60 | await initTestBed(`
61 | <Form>
62 | <FormItem testId="formItem" label="Required Field" required="true" />
63 | </Form>
64 | `);
65 | const driver = await createFormItemDriver("formItem");
66 | await expect(driver.label).toContainText("Required Field");
67 | });
68 |
69 | test("renders with autoFocus property", async ({
70 | initTestBed,
71 | createFormItemDriver,
72 | createTextBoxDriver,
73 | }) => {
74 | await initTestBed(`
75 | <Form>
76 | <FormItem testId="formItem" type="text" autoFocus="true" />
77 | </Form>
78 | `);
79 | const formItemDriver = await createFormItemDriver("formItem");
80 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
81 | await expect(inputDriver.field).toBeFocused();
82 | });
83 |
84 | test("renders with bindTo property", async ({
85 | initTestBed,
86 | createFormItemDriver,
87 | createTextBoxDriver,
88 | }) => {
89 | await initTestBed(`
90 | <Form data="{{ testField: 'initial value' }}">
91 | <FormItem testId="formItem" type="text" bindTo="testField" />
92 | </Form>
93 | `);
94 | const formItemDriver = await createFormItemDriver("formItem");
95 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
96 | await expect(inputDriver.field).toHaveValue("initial value");
97 | });
98 |
99 | test("renders with initialValue property", async ({
100 | initTestBed,
101 | createFormItemDriver,
102 | createTextBoxDriver,
103 | }) => {
104 | await initTestBed(`
105 | <Form>
106 | <FormItem testId="formItem" type="text" initialValue="default text" />
107 | </Form>
108 | `);
109 | const formItemDriver = await createFormItemDriver("formItem");
110 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
111 | await expect(inputDriver.field).toHaveValue("default text");
112 | });
113 |
114 | test("renders with labelPosition property", async ({ initTestBed, createFormItemDriver }) => {
115 | await initTestBed(`
116 | <Form>
117 | <FormItem testId="formItem" label="Positioned Label" labelPosition="top" />
118 | </Form>
119 | `);
120 | const driver = await createFormItemDriver("formItem");
121 | await expect(driver.label).toHaveText("Positioned Label");
122 | });
123 |
124 | test("renders with labelWidth property", async ({ initTestBed, createFormItemDriver }) => {
125 | await initTestBed(`
126 | <Form>
127 | <FormItem testId="formItem" label="Wide Label" labelWidth="200px" />
128 | </Form>
129 | `);
130 | const driver = await createFormItemDriver("formItem");
131 | await expect(driver.label).toHaveText("Wide Label");
132 | });
133 |
134 | test("renders with labelBreak property", async ({ initTestBed, createFormItemDriver }) => {
135 | await initTestBed(`
136 | <Form>
137 | <FormItem testId="formItem" label="Very Long Label That Should Break" labelBreak="true" />
138 | </Form>
139 | `);
140 | const driver = await createFormItemDriver("formItem");
141 | await expect(driver.label).toHaveText("Very Long Label That Should Break");
142 | });
143 |
144 | test("renders with gap property", async ({ initTestBed, createFormItemDriver }) => {
145 | await initTestBed(`
146 | <Form>
147 | <FormItem testId="formItem" label="Gapped Item" gap="20px" />
148 | </Form>
149 | `);
150 | const driver = await createFormItemDriver("formItem");
151 | await expect(driver.component).toBeVisible();
152 | });
153 | });
154 |
155 | test.describe("Type Property", () => {
156 | test("renders with type 'text'", async ({
157 | initTestBed,
158 | createFormItemDriver,
159 | createTextBoxDriver,
160 | }) => {
161 | await initTestBed(`
162 | <Form>
163 | <FormItem testId="formItem" type="text" />
164 | </Form>
165 | `);
166 | const formItemDriver = await createFormItemDriver("formItem");
167 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
168 | await expect(inputDriver.field).toBeVisible();
169 | await expect(inputDriver.field).toHaveAttribute("type", "text");
170 | });
171 |
172 | test("renders with type 'password'", async ({
173 | initTestBed,
174 | createFormItemDriver,
175 | createTextBoxDriver,
176 | }) => {
177 | await initTestBed(`
178 | <Form>
179 | <FormItem testId="formItem" type="password" />
180 | </Form>
181 | `);
182 | const formItemDriver = await createFormItemDriver("formItem");
183 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
184 | await expect(inputDriver.field).toBeVisible();
185 | await expect(inputDriver.field).toHaveAttribute("type", "password");
186 | });
187 |
188 | test("renders with type 'number'", async ({
189 | initTestBed,
190 | createFormItemDriver,
191 | createNumberBoxDriver,
192 | }) => {
193 | await initTestBed(`
194 | <Form>
195 | <FormItem testId="formItem" type="number" />
196 | </Form>
197 | `);
198 | const formItemDriver = await createFormItemDriver("formItem");
199 | const inputDriver = await createNumberBoxDriver(formItemDriver.input);
200 | await expect(inputDriver.field).toBeVisible();
201 | // XMLUI number inputs use type="text" with inputmode="numeric"
202 | await expect(inputDriver.field).toHaveAttribute("type", "text");
203 | await expect(inputDriver.field).toHaveAttribute("inputmode", "numeric");
204 | });
205 |
206 | test("renders with type 'integer'", async ({
207 | initTestBed,
208 | createFormItemDriver,
209 | createNumberBoxDriver,
210 | }) => {
211 | await initTestBed(`
212 | <Form>
213 | <FormItem testId="formItem" type="integer" />
214 | </Form>
215 | `);
216 | const formItemDriver = await createFormItemDriver("formItem");
217 | const inputDriver = await createNumberBoxDriver(formItemDriver.input);
218 | await expect(inputDriver.field).toBeVisible();
219 | });
220 |
221 | test("renders with type 'textarea'", async ({ initTestBed, createFormItemDriver }) => {
222 | await initTestBed(`
223 | <Form>
224 | <FormItem testId="formItem" type="textarea" />
225 | </Form>
226 | `);
227 | const formItemDriver = await createFormItemDriver("formItem");
228 | await expect(formItemDriver.input.getByRole("textbox")).toBeVisible();
229 | });
230 |
231 | test("renders with type 'checkbox'", async ({ initTestBed, createFormItemDriver }) => {
232 | await initTestBed(`
233 | <Form>
234 | <FormItem testId="formItem" type="checkbox" />
235 | </Form>
236 | `);
237 | const formItemDriver = await createFormItemDriver("formItem");
238 | await expect(formItemDriver.checkbox).toBeVisible();
239 | });
240 |
241 | test("renders with type 'select'", async ({ initTestBed, createFormItemDriver }) => {
242 | await initTestBed(`
243 | <Form>
244 | <FormItem testId="formItem" type="select" />
245 | </Form>
246 | `);
247 | const formItemDriver = await createFormItemDriver("formItem");
248 | await expect(formItemDriver.component).toBeVisible();
249 | });
250 |
251 | test("renders with type 'radio'", async ({ initTestBed, createFormItemDriver }) => {
252 | await initTestBed(`
253 | <Form>
254 | <FormItem testId="formItem" type="radio" />
255 | </Form>
256 | `);
257 | const formItemDriver = await createFormItemDriver("formItem");
258 | // Radio FormItems may render as hidden without radio options
259 | const isVisible = await formItemDriver.component.isVisible();
260 | if (isVisible) {
261 | await expect(formItemDriver.component).toBeVisible();
262 | } else {
263 | // It's acceptable for radio FormItem to be hidden without options
264 | expect(isVisible).toBe(false);
265 | }
266 | });
267 | });
268 |
269 | test.describe("Validation Properties", () => {
270 | test("renders with minLength property", async ({ initTestBed, createFormItemDriver }) => {
271 | await initTestBed(`
272 | <Form>
273 | <FormItem testId="formItem" type="text" minLength="5" />
274 | </Form>
275 | `);
276 | const driver = await createFormItemDriver("formItem");
277 | await expect(driver.component).toBeVisible();
278 | });
279 |
280 | test("renders with maxLength property", async ({ initTestBed, createFormItemDriver }) => {
281 | await initTestBed(`
282 | <Form>
283 | <FormItem testId="formItem" type="text" maxLength="10" />
284 | </Form>
285 | `);
286 | const driver = await createFormItemDriver("formItem");
287 | await expect(driver.component).toBeVisible();
288 | });
289 |
290 | test("renders with minValue property", async ({ initTestBed, createFormItemDriver }) => {
291 | await initTestBed(`
292 | <Form>
293 | <FormItem testId="formItem" type="number" minValue="0" />
294 | </Form>
295 | `);
296 | const driver = await createFormItemDriver("formItem");
297 | await expect(driver.component).toBeVisible();
298 | });
299 |
300 | test("renders with maxValue property", async ({ initTestBed, createFormItemDriver }) => {
301 | await initTestBed(`
302 | <Form>
303 | <FormItem testId="formItem" type="number" maxValue="100" />
304 | </Form>
305 | `);
306 | const driver = await createFormItemDriver("formItem");
307 | await expect(driver.component).toBeVisible();
308 | });
309 |
310 | test("renders with pattern property", async ({ initTestBed, createFormItemDriver }) => {
311 | await initTestBed(`
312 | <Form>
313 | <FormItem testId="formItem" type="text" pattern="email" />
314 | </Form>
315 | `);
316 | const driver = await createFormItemDriver("formItem");
317 | await expect(driver.component).toBeVisible();
318 | });
319 |
320 | test("renders with regex property", async ({ initTestBed, createFormItemDriver }) => {
321 | await initTestBed(`
322 | <Form>
323 | <FormItem testId="formItem" type="text" regex="^[a-zA-Z]+$" />
324 | </Form>
325 | `);
326 | const driver = await createFormItemDriver("formItem");
327 | await expect(driver.component).toBeVisible();
328 | });
329 |
330 | test("renders with custom validation messages", async ({ initTestBed, createFormItemDriver }) => {
331 | await initTestBed(`
332 | <Form>
333 | <FormItem
334 | testId="formItem"
335 | type="text"
336 | required="true"
337 | requiredInvalidMessage="This field is mandatory"
338 | lengthInvalidMessage="Invalid length"
339 | rangeInvalidMessage="Out of range"
340 | patternInvalidMessage="Invalid format"
341 | regexInvalidMessage="Does not match pattern"
342 | />
343 | </Form>
344 | `);
345 | const driver = await createFormItemDriver("formItem");
346 | await expect(driver.component).toBeVisible();
347 | });
348 |
349 | test("renders with validation severity settings", async ({
350 | initTestBed,
351 | createFormItemDriver,
352 | }) => {
353 | await initTestBed(`
354 | <Form>
355 | <FormItem
356 | testId="formItem"
357 | type="text"
358 | lengthInvalidSeverity="warning"
359 | rangeInvalidSeverity="error"
360 | patternInvalidSeverity="warning"
361 | regexInvalidSeverity="error"
362 | />
363 | </Form>
364 | `);
365 | const driver = await createFormItemDriver("formItem");
366 | await expect(driver.component).toBeVisible();
367 | });
368 |
369 | test("renders with validationMode property", async ({ initTestBed, createFormItemDriver }) => {
370 | await initTestBed(`
371 | <Form>
372 | <FormItem testId="formItem" type="text" validationMode="onChanged" />
373 | </Form>
374 | `);
375 | const driver = await createFormItemDriver("formItem");
376 | await expect(driver.component).toBeVisible();
377 | });
378 |
379 | test("renders with customValidationsDebounce property", async ({
380 | initTestBed,
381 | createFormItemDriver,
382 | }) => {
383 | await initTestBed(`
384 | <Form>
385 | <FormItem testId="formItem" type="text" customValidationsDebounce="500" />
386 | </Form>
387 | `);
388 | const driver = await createFormItemDriver("formItem");
389 | await expect(driver.component).toBeVisible();
390 | });
391 | });
392 |
393 | test.describe("Template Properties", () => {
394 | test("renders with custom inputTemplate", async ({ initTestBed, createFormItemDriver }) => {
395 | await initTestBed(`
396 | <Form>
397 | <FormItem testId="formItem">
398 | <property name="inputTemplate">
399 | <TextBox placeholder="Custom input" />
400 | </property>
401 | </FormItem>
402 | </Form>
403 | `);
404 | const driver = await createFormItemDriver("formItem");
405 | await expect(driver.component).toBeVisible();
406 | });
407 | });
408 |
409 | test.describe("Event Handling", () => {
410 | test("fires onValidate event", async ({
411 | initTestBed,
412 | createFormItemDriver,
413 | createTextBoxDriver,
414 | }) => {
415 | const { testStateDriver } = await initTestBed(`
416 | <Form>
417 | <FormItem
418 | testId="formItem"
419 | type="text"
420 | required="true"
421 | onValidate="result => testState = result ? 'valid' : 'invalid'"
422 | />
423 | </Form>
424 | `);
425 |
426 | const formItemDriver = await createFormItemDriver("formItem");
427 | const inputDriver = await createTextBoxDriver(formItemDriver.input);
428 |
429 | // Type some text to trigger validation
430 | await inputDriver.field.fill("test value");
431 | await inputDriver.field.blur();
432 |
433 | await expect.poll(testStateDriver.testState).toEqual("valid");
434 | });
435 | });
436 |
437 | // =============================================================================
438 | // ACCESSIBILITY TESTS
439 | // =============================================================================
440 |
441 | test.describe("Accessibility", () => {
442 | test("associates label with input using proper labeling", async ({ initTestBed, page }) => {
443 | await initTestBed(`
444 | <Form>
445 | <FormItem label="Email Address" type="text" />
446 | </Form>
447 | `);
448 |
449 | const input = page.getByRole("textbox");
450 | const label = page.getByText("Email Address");
451 | await expect(input).toBeVisible();
452 | await expect(label).toBeVisible();
453 | });
454 |
455 | test("associates label with checkbox input", async ({ initTestBed, page }) => {
456 | await initTestBed(`
457 | <Form>
458 | <FormItem label="Accept Terms" type="checkbox" />
459 | </Form>
460 | `);
461 |
462 | const checkbox = page.getByRole("checkbox");
463 | const label = page.getByText("Accept Terms");
464 | await expect(checkbox).toBeVisible();
465 | await expect(label).toBeVisible();
466 | });
467 |
468 | test("indicates required fields with aria-required", async ({ initTestBed, page }) => {
469 | await initTestBed(`
470 | <Form>
471 | <FormItem label="Required Field" type="text" required="true" />
472 | </Form>
473 | `);
474 |
475 | const input = page.getByRole("textbox");
476 | const label = page.getByText("Required Field");
477 | await expect(input).toBeVisible();
478 | await expect(label).toBeVisible();
479 | // FormItem's required functionality may be implemented differently
480 | // Just verify the component renders properly with required=true
481 | });
482 |
483 | test("associates validation messages with input using aria-describedby", async ({
484 | initTestBed,
485 | createFormDriver,
486 | createFormItemDriver,
487 | createTextBoxDriver,
488 | }) => {
489 | await initTestBed(`
490 | <Form>
491 | <FormItem
492 | testId="formItem"
493 | label="Test Field"
494 | type="text"
495 | required="true"
496 | requiredInvalidMessage="This field is required"
497 | />
498 | </Form>
499 | `);
500 |
501 | const formDriver = await createFormDriver();
502 | const formItemDriver = await createFormItemDriver("formItem");
503 |
504 | // Submit form to trigger validation
505 | await formDriver.submitForm();
506 |
507 | // Check that validation message appears in the component
508 | await expect(formItemDriver.component).toContainText("This field is required");
509 | });
510 |
511 | test("supports keyboard navigation for text input", async ({ initTestBed, page }) => {
512 | await initTestBed(`
513 | <Form>
514 | <FormItem label="Text Field" type="text" />
515 | </Form>
516 | `);
517 |
518 | const input = page.getByRole("textbox");
519 | await input.focus();
520 | await expect(input).toBeFocused();
521 |
522 | await input.press("Tab");
523 | await expect(input).not.toBeFocused();
524 | });
525 |
526 | test("supports keyboard navigation for checkbox", async ({ initTestBed, page }) => {
527 | await initTestBed(`
528 | <Form>
529 | <FormItem label="Checkbox Field" type="checkbox" />
530 | </Form>
531 | `);
532 |
533 | const checkbox = page.getByRole("checkbox");
534 | await checkbox.focus();
535 | await expect(checkbox).toBeFocused();
536 |
537 | await checkbox.press("Space");
538 | await expect(checkbox).toBeChecked();
539 |
540 | await checkbox.press("Space");
541 | await expect(checkbox).not.toBeChecked();
542 | });
543 |
544 | test("provides accessible validation state announcements", async ({
545 | initTestBed,
546 | createFormDriver,
547 | page,
548 | }) => {
549 | await initTestBed(`
550 | <Form>
551 | <FormItem
552 | label="Required Field"
553 | type="text"
554 | required="true"
555 | requiredInvalidMessage="This field is required"
556 | />
557 | </Form>
558 | `);
559 |
560 | const formDriver = await createFormDriver();
561 |
562 | // Submit form to trigger validation
563 | await formDriver.submitForm();
564 |
565 | // Check that validation message appears somewhere on the page
566 | await expect(page.getByText("This field is required")).toBeVisible();
567 | });
568 |
569 | test("maintains correct role for different input types", async ({ initTestBed, page }) => {
570 | await initTestBed(`
571 | <Form>
572 | <FormItem label="Text Field" type="text" />
573 | <FormItem label="Checkbox Field" type="checkbox" />
574 | <FormItem label="Number Field" type="number" />
575 | </Form>
576 | `);
577 |
578 | await expect(page.getByRole("textbox").first()).toBeVisible();
579 | await expect(page.getByRole("checkbox")).toBeVisible();
580 | // Number inputs in XMLUI appear as textbox with inputmode="numeric"
581 | const numberInputs = page.getByRole("textbox");
582 | await expect(numberInputs).toHaveCount(2); // text and number both use textbox role
583 | });
584 | });
585 |
586 | // =============================================================================
587 | // THEME VARIABLE TESTS
588 | // =============================================================================
589 |
590 | test.describe("Theme Variables", () => {
591 | test("applies textColor-FormItemLabel theme variable", async ({
592 | initTestBed,
593 | createFormItemDriver,
594 | }) => {
595 | await initTestBed(
596 | `
597 | <Form>
598 | <FormItem testId="formItem" label="Themed Label" />
599 | </Form>
600 | `,
601 | {
602 | testThemeVars: {
603 | "textColor-FormItemLabel": "rgb(255, 0, 0)",
604 | },
605 | },
606 | );
607 |
608 | const driver = await createFormItemDriver("formItem");
609 | await expect(driver.label).toHaveCSS("color", "rgb(255, 0, 0)");
610 | });
611 |
612 | test("applies fontSize-FormItemLabel theme variable", async ({
613 | initTestBed,
614 | createFormItemDriver,
615 | }) => {
616 | await initTestBed(
617 | `
618 | <Form>
619 | <FormItem testId="formItem" label="Sized Label" />
620 | </Form>
621 | `,
622 | {
623 | testThemeVars: {
624 | "fontSize-FormItemLabel": "18px",
625 | },
626 | },
627 | );
628 |
629 | const driver = await createFormItemDriver("formItem");
630 | await expect(driver.label).toHaveCSS("font-size", "18px");
631 | });
632 |
633 | test("applies fontWeight-FormItemLabel theme variable", async ({
634 | initTestBed,
635 | createFormItemDriver,
636 | }) => {
637 | await initTestBed(
638 | `
639 | <Form>
640 | <FormItem testId="formItem" label="Bold Label" />
641 | </Form>
642 | `,
643 | {
644 | testThemeVars: {
645 | "fontWeight-FormItemLabel": "700",
646 | },
647 | },
648 | );
649 |
650 | const driver = await createFormItemDriver("formItem");
651 | await expect(driver.label).toHaveCSS("font-weight", "700");
652 | });
653 |
654 | test("applies fontStyle-FormItemLabel theme variable", async ({
655 | initTestBed,
656 | createFormItemDriver,
657 | }) => {
658 | await initTestBed(
659 | `
660 | <Form>
661 | <FormItem testId="formItem" label="Italic Label" />
662 | </Form>
663 | `,
664 | {
665 | testThemeVars: {
666 | "fontStyle-FormItemLabel": "italic",
667 | },
668 | },
669 | );
670 |
671 | const driver = await createFormItemDriver("formItem");
672 | await expect(driver.label).toHaveCSS("font-style", "italic");
673 | });
674 |
675 | test("applies textTransform-FormItemLabel theme variable", async ({
676 | initTestBed,
677 | createFormItemDriver,
678 | }) => {
679 | await initTestBed(
680 | `
681 | <Form>
682 | <FormItem testId="formItem" label="uppercase label" />
683 | </Form>
684 | `,
685 | {
686 | testThemeVars: {
687 | "textTransform-FormItemLabel": "uppercase",
688 | },
689 | },
690 | );
691 |
692 | const driver = await createFormItemDriver("formItem");
693 | await expect(driver.label).toHaveCSS("text-transform", "uppercase");
694 | });
695 |
696 | test("applies textColor-FormItemLabel-requiredMark theme variable", async ({
697 | initTestBed,
698 | createFormItemDriver,
699 | }) => {
700 | await initTestBed(
701 | `
702 | <Form>
703 | <FormItem testId="formItem" label="Required Field" required="true" />
704 | </Form>
705 | `,
706 | {
707 | testThemeVars: {
708 | "textColor-FormItemLabel-requiredMark": "rgb(0, 255, 0)",
709 | },
710 | },
711 | );
712 |
713 | const driver = await createFormItemDriver("formItem");
714 | // The required mark styling should be applied
715 | await expect(driver.label).toBeVisible();
716 | });
717 | });
718 |
719 | // =============================================================================
720 | // OTHER EDGE CASE TESTS
721 | // =============================================================================
722 |
723 | test.describe("Other Edge Cases", () => {
724 | test("handles null and undefined properties gracefully", async ({
725 | initTestBed,
726 | createFormItemDriver,
727 | }) => {
728 | await initTestBed(`
729 | <Form>
730 | <FormItem testId="formItem" label="{null}" type="{undefined}" />
731 | </Form>
732 | `);
733 |
734 | const driver = await createFormItemDriver("formItem");
735 | await expect(driver.component).toBeVisible();
736 | });
737 |
738 | test("handles empty string properties gracefully", async ({
739 | initTestBed,
740 | createFormItemDriver,
741 | }) => {
742 | await initTestBed(`
743 | <Form>
744 | <FormItem testId="formItem" label="" bindTo="" />
745 | </Form>
746 | `);
747 |
748 | const driver = await createFormItemDriver("formItem");
749 | await expect(driver.component).toBeVisible();
750 | });
751 |
752 | test("handles special characters in label", async ({ initTestBed, createFormItemDriver }) => {
753 | await initTestBed(`
754 | <Form>
755 | <FormItem testId="formItem" label="Test with émojis 🚀 & quotes and unicode 👨👩👧👦" />
756 | </Form>
757 | `);
758 |
759 | const driver = await createFormItemDriver("formItem");
760 | await expect(driver.label).toHaveText("Test with émojis 🚀 & quotes and unicode 👨👩👧👦");
761 | });
762 |
763 | test("handles Chinese characters in label", async ({ initTestBed, createFormItemDriver }) => {
764 | await initTestBed(`
765 | <Form>
766 | <FormItem testId="formItem" label="测试中文标签" />
767 | </Form>
768 | `);
769 |
770 | const driver = await createFormItemDriver("formItem");
771 | await expect(driver.label).toHaveText("测试中文标签");
772 | });
773 |
774 | test("handles invalid type gracefully", async ({ initTestBed, createFormItemDriver }) => {
775 | await initTestBed(`
776 | <Form>
777 | <FormItem testId="formItem" type="invalidType" />
778 | </Form>
779 | `);
780 |
781 | const driver = await createFormItemDriver("formItem");
782 | // Component may be hidden with invalid type - test for graceful handling
783 | const isVisible = await driver.component.isVisible();
784 | if (isVisible) {
785 | await expect(driver.component).toBeVisible();
786 | } else {
787 | // It's acceptable for component to be hidden with invalid type
788 | expect(isVisible).toBe(false);
789 | }
790 | });
791 |
792 | test("handles negative values for numeric properties", async ({
793 | initTestBed,
794 | createFormItemDriver,
795 | }) => {
796 | await initTestBed(`
797 | <Form>
798 | <FormItem
799 | testId="formItem"
800 | type="text"
801 | minLength="-5"
802 | maxLength="-1"
803 | minValue="-100"
804 | maxValue="-10"
805 | />
806 | </Form>
807 | `);
808 |
809 | const driver = await createFormItemDriver("formItem");
810 | await expect(driver.component).toBeVisible();
811 | });
812 |
813 | test("handles very large numbers for properties", async ({
814 | initTestBed,
815 | createFormItemDriver,
816 | }) => {
817 | await initTestBed(`
818 | <Form>
819 | <FormItem
820 | testId="formItem"
821 | type="number"
822 | minValue="999999999"
823 | maxValue="9999999999"
824 | customValidationsDebounce="999999"
825 | />
826 | </Form>
827 | `);
828 |
829 | const driver = await createFormItemDriver("formItem");
830 | await expect(driver.component).toBeVisible();
831 | });
832 |
833 | test("handles object values for string properties gracefully", async ({
834 | initTestBed,
835 | createFormItemDriver,
836 | }) => {
837 | await initTestBed(`
838 | <Form>
839 | <FormItem testId="formItem" label="Object Label" />
840 | </Form>
841 | `);
842 |
843 | const driver = await createFormItemDriver("formItem");
844 | // Component should handle this gracefully
845 | await expect(driver.component).toBeVisible();
846 | });
847 |
848 | test("handles extremely long label text", async ({ initTestBed, createFormItemDriver }) => {
849 | const longLabel =
850 | "This is an extremely long label that contains a lot of text and should test how the component handles very long strings that might cause layout issues or performance problems in the user interface";
851 |
852 | await initTestBed(`
853 | <Form>
854 | <FormItem testId="formItem" label="${longLabel}" />
855 | </Form>
856 | `);
857 |
858 | const driver = await createFormItemDriver("formItem");
859 | await expect(driver.label).toHaveText(longLabel);
860 | });
861 |
862 | test("handles validation with conflicting min/max values", async ({
863 | initTestBed,
864 | createFormItemDriver,
865 | }) => {
866 | await initTestBed(`
867 | <Form>
868 | <FormItem
869 | testId="formItem"
870 | type="number"
871 | minValue="100"
872 | maxValue="50"
873 | minLength="10"
874 | maxLength="5"
875 | />
876 | </Form>
877 | `);
878 |
879 | const driver = await createFormItemDriver("formItem");
880 | await expect(driver.component).toBeVisible();
881 | });
882 |
883 | test("handles multiple FormItems without bindTo independently", async ({
884 | initTestBed,
885 | createFormItemDriver,
886 | createTextBoxDriver,
887 | }) => {
888 | await initTestBed(`
889 | <Form>
890 | <FormItem testId="formItem1" type="text" initialValue="First" />
891 | <FormItem testId="formItem2" type="text" initialValue="Second" />
892 | </Form>
893 | `);
894 |
895 | const driver1 = await createFormItemDriver("formItem1");
896 | const driver2 = await createFormItemDriver("formItem2");
897 | const input1 = await createTextBoxDriver(driver1.input);
898 | const input2 = await createTextBoxDriver(driver2.input);
899 |
900 | await expect(input1.field).toHaveValue("First");
901 | await expect(input2.field).toHaveValue("Second");
902 |
903 | // Modify one and ensure the other is unaffected
904 | await input1.field.fill("Modified First");
905 | await expect(input1.field).toHaveValue("Modified First");
906 | await expect(input2.field).toHaveValue("Second");
907 | });
908 |
909 | ["onChange", "onLostFocus", "errorLate"].forEach((mode) =>
910 | test(`validationMode=${mode}: handle empty input & focus`, async ({
911 | initTestBed,
912 | createFormItemDriver,
913 | createTextBoxDriver,
914 | }) => {
915 | await initTestBed(`
916 | <Form>
917 | <FormItem testId="formItem" label="Test Label" validationMode="${mode}" minLength="3" />
918 | </Form>
919 | `);
920 |
921 | const driver = await createFormItemDriver("formItem");
922 | const input = await createTextBoxDriver(driver.input);
923 |
924 | await input.field.focus({ timeout: 500 });
925 | await input.field.blur();
926 | await expect(driver.validationStatusIndicator).not.toBeVisible();
927 | }),
928 | );
929 |
930 | test("validationMode=onChanged: validates input on change", async ({
931 | initTestBed,
932 | createFormItemDriver,
933 | createTextBoxDriver,
934 | }) => {
935 | await initTestBed(`
936 | <Form>
937 | <FormItem testId="formItem" label="Test Label" validationMode="onChanged" minLength="3" />
938 | </Form>
939 | `);
940 |
941 | const driver = await createFormItemDriver("formItem");
942 | const input = await createTextBoxDriver(driver.input);
943 |
944 | await input.field.fill("v");
945 | await expect(driver.validationStatusIndicator).toBeVisible();
946 | await input.field.fill("va");
947 | await expect(driver.validationStatusIndicator).toBeVisible();
948 | await input.field.fill("val");
949 | await expect(driver.validationStatusIndicator).not.toBeVisible();
950 | await input.field.fill("va");
951 | await expect(driver.validationStatusIndicator).toBeVisible();
952 | });
953 |
954 | test("validationMode=onChanged: error still displayed on blur", async ({
955 | initTestBed,
956 | createFormItemDriver,
957 | createTextBoxDriver,
958 | }) => {
959 | await initTestBed(`
960 | <Form>
961 | <FormItem testId="formItem" label="Test Label" validationMode="onChanged" minLength="3" />
962 | </Form>
963 | `);
964 |
965 | const driver = await createFormItemDriver("formItem");
966 | const input = await createTextBoxDriver(driver.input);
967 |
968 | await input.field.fill("v");
969 | await expect(driver.validationStatusIndicator).toBeVisible();
970 | await input.field.blur();
971 | await expect(driver.validationStatusIndicator).toBeVisible();
972 | });
973 |
974 | test("validationMode=onLostFocus", async ({
975 | initTestBed,
976 | createFormItemDriver,
977 | createTextBoxDriver,
978 | page,
979 | }) => {
980 | await initTestBed(`
981 | <Form>
982 | <FormItem testId="formItem" label="Test Label" validationMode="onLostFocus" minLength="2" />
983 | </Form>
984 | `);
985 |
986 | const driver = await createFormItemDriver("formItem");
987 | const input = await createTextBoxDriver(driver.input);
988 |
989 | await input.field.focus({ timeout: 500 });
990 | await page.keyboard.type("v");
991 | await expect(driver.validationStatusIndicator).not.toBeVisible();
992 | await input.field.blur();
993 | await expect(driver.validationStatusIndicator).toBeVisible();
994 |
995 | await input.field.focus({ timeout: 500 });
996 | await page.keyboard.type("a");
997 | await expect(driver.validationStatusIndicator).not.toBeVisible();
998 | await input.field.blur();
999 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1000 | });
1001 |
1002 | test("validationMode=errorLate: handle multiple focus & blur", async ({
1003 | initTestBed,
1004 | createFormItemDriver,
1005 | createTextBoxDriver,
1006 | }) => {
1007 | await initTestBed(`
1008 | <Form>
1009 | <FormItem testId="formItem" label="Test Label" validationMode="errorLate" minLength="3" />
1010 | </Form>
1011 | `);
1012 |
1013 | const driver = await createFormItemDriver("formItem");
1014 | const input = await createTextBoxDriver(driver.input);
1015 |
1016 | await input.field.focus({ timeout: 500 });
1017 | await input.field.blur({ timeout: 500 });
1018 | await input.field.focus({ timeout: 500 });
1019 | await input.field.blur();
1020 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1021 | });
1022 |
1023 | test("validationMode=errorLate: does not display error for first input until blur", async ({
1024 | initTestBed,
1025 | createFormItemDriver,
1026 | createTextBoxDriver,
1027 | page,
1028 | }) => {
1029 | await initTestBed(`
1030 | <Form>
1031 | <FormItem testId="formItem" label="Test Label" validationMode="errorLate" minLength="3" />
1032 | </Form>
1033 | `);
1034 |
1035 | const driver = await createFormItemDriver("formItem");
1036 | const input = await createTextBoxDriver(driver.input);
1037 |
1038 | await input.field.focus({ timeout: 500 });
1039 | await page.keyboard.type("v");
1040 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1041 |
1042 | await input.field.blur();
1043 | await expect(driver.validationStatusIndicator).toBeVisible();
1044 | });
1045 |
1046 | test("validationMode=errorLate: no error displayed on invalid -> valid -> invalid until first blur", async ({
1047 | initTestBed,
1048 | createFormItemDriver,
1049 | createTextBoxDriver,
1050 | }) => {
1051 | await initTestBed(`
1052 | <Form>
1053 | <FormItem testId="formItem" label="Test Label" validationMode="errorLate" minLength="3" />
1054 | </Form>
1055 | `);
1056 |
1057 | const driver = await createFormItemDriver("formItem");
1058 | const input = await createTextBoxDriver(driver.input);
1059 |
1060 | await input.field.fill("value");
1061 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1062 | await input.field.fill("va");
1063 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1064 |
1065 | await input.field.blur();
1066 | await expect(driver.validationStatusIndicator).toBeVisible();
1067 | });
1068 |
1069 | test("validationMode=errorLate: still display error on refocus", async ({
1070 | initTestBed,
1071 | createFormItemDriver,
1072 | createTextBoxDriver,
1073 | }) => {
1074 | await initTestBed(`
1075 | <Form>
1076 | <FormItem testId="formItem" label="Test Label" validationMode="errorLate" minLength="3" />
1077 | </Form>
1078 | `);
1079 |
1080 | const driver = await createFormItemDriver("formItem");
1081 | const input = await createTextBoxDriver(driver.input);
1082 |
1083 | await input.field.fill("va");
1084 | await input.field.blur({ timeout: 500 });
1085 | await input.field.focus();
1086 | await expect(driver.validationStatusIndicator).toBeVisible();
1087 | });
1088 |
1089 | test("validationMode=errorLate: invalid -> valid removes error", async ({
1090 | initTestBed,
1091 | createFormItemDriver,
1092 | createTextBoxDriver,
1093 | }) => {
1094 | await initTestBed(`
1095 | <Form>
1096 | <FormItem testId="formItem" label="Test Label" validationMode="errorLate" minLength="3" />
1097 | </Form>
1098 | `);
1099 |
1100 | const driver = await createFormItemDriver("formItem");
1101 | const input = await createTextBoxDriver(driver.input);
1102 |
1103 | await input.field.fill("va");
1104 | await input.field.blur({ timeout: 500 });
1105 | await input.field.focus({ timeout: 500 });
1106 | await input.field.fill("val");
1107 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1108 | await input.field.blur();
1109 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1110 | });
1111 |
1112 | test("validationMode=errorLate: after invalid -> valid, show error on blur", async ({
1113 | initTestBed,
1114 | createFormItemDriver,
1115 | createTextBoxDriver,
1116 | }) => {
1117 | await initTestBed(`
1118 | <Form>
1119 | <FormItem testId="formItem" label="Test Label" validationMode="errorLate" minLength="3" />
1120 | </Form>
1121 | `);
1122 |
1123 | const driver = await createFormItemDriver("formItem");
1124 | const input = await createTextBoxDriver(driver.input);
1125 |
1126 | await input.field.fill("va");
1127 | await input.field.blur({ timeout: 500 });
1128 |
1129 | await input.field.focus({ timeout: 500 });
1130 | await input.field.fill("val", { timeout: 500 });
1131 | await input.field.fill("va");
1132 | await expect(driver.validationStatusIndicator).not.toBeVisible();
1133 |
1134 | await input.field.blur();
1135 | await expect(driver.validationStatusIndicator).toBeVisible();
1136 | });
1137 |
1138 | test("handles FormItem with no Form parent gracefully", async ({ initTestBed, page }) => {
1139 | await initTestBed(`<FormItem label="Standalone FormItem" type="text" />`);
1140 |
1141 | const field = page.getByRole("textbox");
1142 | await expect(field).not.toBeVisible();
1143 | await expect(page.locator("[data-error-boundary]")).toBeVisible();
1144 | });
1145 |
1146 | // =============================================================================
1147 | // NOSUBMIT PROPERTY TESTS
1148 | // =============================================================================
1149 |
1150 | test.describe("noSubmit property", () => {
1151 | test("excludes field from submission when noSubmit is true", async ({
1152 | initTestBed,
1153 | page,
1154 | createFormItemDriver,
1155 | createTextBoxDriver,
1156 | }) => {
1157 | const { testStateDriver } = await initTestBed(`
1158 | <Form onSubmit="data => testState = data">
1159 | <FormItem testId="field1" label="Included Field" bindTo="included" initialValue="visible" />
1160 | <FormItem testId="field2" label="Excluded Field" bindTo="excluded" initialValue="hidden" noSubmit="true" />
1161 | </Form>
1162 | `);
1163 |
1164 | const driver1 = await createFormItemDriver("field1");
1165 | const input1 = await createTextBoxDriver(driver1.input);
1166 | await input1.field.fill("submitted value");
1167 |
1168 | const driver2 = await createFormItemDriver("field2");
1169 | const input2 = await createTextBoxDriver(driver2.input);
1170 | await input2.field.fill("not submitted");
1171 |
1172 | await page.getByRole("button", { name: "Save" }).click();
1173 |
1174 | await expect.poll(testStateDriver.testState).toEqual({
1175 | included: "submitted value",
1176 | });
1177 | });
1178 |
1179 | test("includes field in submission when noSubmit is false", async ({
1180 | initTestBed,
1181 | page,
1182 | createFormItemDriver,
1183 | createTextBoxDriver,
1184 | }) => {
1185 | const { testStateDriver } = await initTestBed(`
1186 | <Form onSubmit="data => testState = data">
1187 | <FormItem testId="field1" label="Field 1" bindTo="field1" initialValue="value1" noSubmit="false" />
1188 | <FormItem testId="field2" label="Field 2" bindTo="field2" initialValue="value2" />
1189 | </Form>
1190 | `);
1191 |
1192 | await page.getByRole("button", { name: "Save" }).click();
1193 |
1194 | await expect.poll(testStateDriver.testState).toEqual({
1195 | field1: "value1",
1196 | field2: "value2",
1197 | });
1198 | });
1199 |
1200 | test("includes field by default when noSubmit is not specified", async ({
1201 | initTestBed,
1202 | page,
1203 | createFormItemDriver,
1204 | createTextBoxDriver,
1205 | }) => {
1206 | const { testStateDriver } = await initTestBed(`
1207 | <Form onSubmit="data => testState = data">
1208 | <FormItem testId="field1" label="Field 1" bindTo="field1" initialValue="value1" />
1209 | <FormItem testId="field2" label="Field 2" bindTo="field2" initialValue="value2" />
1210 | </Form>
1211 | `);
1212 |
1213 | await page.getByRole("button", { name: "Save" }).click();
1214 |
1215 | await expect.poll(testStateDriver.testState).toEqual({
1216 | field1: "value1",
1217 | field2: "value2",
1218 | });
1219 | });
1220 |
1221 | test("excludes field when multiple FormItems with same bindTo all have noSubmit true", async ({
1222 | initTestBed,
1223 | page,
1224 | createFormItemDriver,
1225 | createTextBoxDriver,
1226 | }) => {
1227 | const { testStateDriver } = await initTestBed(`
1228 | <Form onSubmit="data => testState = data">
1229 | <FormItem testId="field1" label="FormItem 1" bindTo="shared" initialValue="first" noSubmit="true" />
1230 | <FormItem testId="field2" label="FormItem 2" bindTo="shared" initialValue="second" noSubmit="true" />
1231 | <FormItem testId="field3" label="Other Field" bindTo="other" initialValue="included" />
1232 | </Form>
1233 | `);
1234 |
1235 | await page.getByRole("button", { name: "Save" }).click();
1236 |
1237 | await expect.poll(testStateDriver.testState).toEqual({
1238 | other: "included",
1239 | });
1240 | });
1241 |
1242 | test("excludes field when any FormItem with same bindTo has noSubmit true", async ({
1243 | initTestBed,
1244 | page,
1245 | createFormItemDriver,
1246 | createTextBoxDriver,
1247 | }) => {
1248 | const { testStateDriver } = await initTestBed(`
1249 | <Form onSubmit="data => testState = data">
1250 | <FormItem testId="field1" label="FormItem 1" bindTo="shared" initialValue="first" noSubmit="true" />
1251 | <FormItem testId="field2" label="FormItem 2" bindTo="shared" initialValue="second" noSubmit="false" />
1252 | <FormItem testId="field3" label="Other Field" bindTo="other" initialValue="included" />
1253 | </Form>
1254 | `);
1255 |
1256 | await page.getByRole("button", { name: "Save" }).click();
1257 |
1258 | await expect.poll(testStateDriver.testState).toEqual({
1259 | other: "included",
1260 | });
1261 | });
1262 |
1263 | test("excludes field when any FormItem with same bindTo has noSubmit true (mixed order)", async ({
1264 | initTestBed,
1265 | page,
1266 | createFormItemDriver,
1267 | createTextBoxDriver,
1268 | }) => {
1269 | const { testStateDriver } = await initTestBed(`
1270 | <Form onSubmit="data => testState = data">
1271 | <FormItem testId="field1" label="FormItem 1" bindTo="shared" initialValue="first" noSubmit="false" />
1272 | <FormItem testId="field2" label="FormItem 2" bindTo="shared" initialValue="second" noSubmit="true" />
1273 | <FormItem testId="field3" label="Other Field" bindTo="other" initialValue="included" />
1274 | </Form>
1275 | `);
1276 |
1277 | await page.getByRole("button", { name: "Save" }).click();
1278 |
1279 | await expect.poll(testStateDriver.testState).toEqual({
1280 | other: "included",
1281 | });
1282 | });
1283 |
1284 | test("field still participates in validation when noSubmit is true", async ({
1285 | initTestBed,
1286 | page,
1287 | createFormItemDriver,
1288 | createTextBoxDriver,
1289 | }) => {
1290 | const { testStateDriver } = await initTestBed(`
1291 | <Form onSubmit="data => testState = data">
1292 | <FormItem
1293 | testId="field1"
1294 | label="Required No Submit"
1295 | bindTo="excluded"
1296 | required="true"
1297 | noSubmit="true"
1298 | />
1299 | </Form>
1300 | `);
1301 |
1302 | // Try to submit with empty required field
1303 | await page.getByRole("button", { name: "Save" }).click();
1304 |
1305 | // Form should not submit due to validation error
1306 | await expect.poll(testStateDriver.testState).toBeNull();
1307 |
1308 | // Fill the required field
1309 | const driver = await createFormItemDriver("field1");
1310 | const input = await createTextBoxDriver(driver.input);
1311 | await input.field.fill("value");
1312 |
1313 | // Now submit should succeed but field should not be in data
1314 | await page.getByRole("button", { name: "Save" }).click();
1315 | await expect.poll(testStateDriver.testState).toEqual({});
1316 | });
1317 |
1318 | test("noSubmit works with different input types", async ({
1319 | initTestBed,
1320 | page,
1321 | createFormItemDriver,
1322 | }) => {
1323 | const { testStateDriver } = await initTestBed(`
1324 | <Form onSubmit="data => testState = data">
1325 | <FormItem testId="text" label="Text" type="text" bindTo="text" initialValue="text" noSubmit="true" />
1326 | <FormItem testId="number" label="Number" type="number" bindTo="number" initialValue="42" noSubmit="true" />
1327 | <FormItem testId="checkbox" label="Checkbox" type="checkbox" bindTo="checkbox" initialValue="true" noSubmit="true" />
1328 | <FormItem testId="included" label="Included" bindTo="included" initialValue="visible" />
1329 | </Form>
1330 | `);
1331 |
1332 | await page.getByRole("button", { name: "Save" }).click();
1333 |
1334 | await expect.poll(testStateDriver.testState).toEqual({
1335 | included: "visible",
1336 | });
1337 | });
1338 |
1339 | test("noSubmit works with select type", async ({ initTestBed, page }) => {
1340 | const { testStateDriver } = await initTestBed(`
1341 | <Form onSubmit="data => testState = data">
1342 | <FormItem testId="select" label="Select" type="select" bindTo="select" initialValue="opt1" noSubmit="true">
1343 | <Option value="opt1" label="Option 1" />
1344 | <Option value="opt2" label="Option 2" />
1345 | </FormItem>
1346 | <FormItem testId="included" label="Included" bindTo="included" initialValue="visible" />
1347 | </Form>
1348 | `);
1349 |
1350 | await page.getByRole("button", { name: "Save" }).click();
1351 |
1352 | await expect.poll(testStateDriver.testState).toEqual({
1353 | included: "visible",
1354 | });
1355 | });
1356 |
1357 | test("noSubmit field value changes do not affect submission data", async ({
1358 | initTestBed,
1359 | page,
1360 | createFormItemDriver,
1361 | createTextBoxDriver,
1362 | }) => {
1363 | const { testStateDriver } = await initTestBed(`
1364 | <Form onSubmit="data => testState = data">
1365 | <FormItem testId="excluded" label="Excluded" bindTo="excluded" initialValue="initial" noSubmit="true" />
1366 | <FormItem testId="included" label="Included" bindTo="included" initialValue="value" />
1367 | </Form>
1368 | `);
1369 |
1370 | const excludedDriver = await createFormItemDriver("excluded");
1371 | const excludedInput = await createTextBoxDriver(excludedDriver.input);
1372 | await excludedInput.field.fill("changed value");
1373 |
1374 | const includedDriver = await createFormItemDriver("included");
1375 | const includedInput = await createTextBoxDriver(includedDriver.input);
1376 | await includedInput.field.fill("modified");
1377 |
1378 | await page.getByRole("button", { name: "Save" }).click();
1379 |
1380 | await expect.poll(testStateDriver.testState).toEqual({
1381 | included: "modified",
1382 | });
1383 | });
1384 | });
1385 | });
1386 |
1387 |
```