This is page 104 of 181. Use http://codebase.md/xmlui-org/xmlui/mockApiDef.js?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .changeset
│ └── config.json
├── .eslintrc.cjs
├── .github
│ ├── build-checklist.png
│ ├── ISSUE_TEMPLATE
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ └── workflows
│ ├── deploy-blog.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
│ ├── layout-changes.md
│ ├── package.json
│ ├── public
│ │ ├── blog
│ │ │ ├── images
│ │ │ │ ├── blog-page-component.png
│ │ │ │ ├── blog-scrabble.png
│ │ │ │ ├── integrated-blog-search.png
│ │ │ │ └── lorem-ipsum.png
│ │ │ ├── lorem-ipsum.md
│ │ │ ├── newest-post.md
│ │ │ ├── older-post.md
│ │ │ └── welcome-to-the-xmlui-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
│ │ │ │ ├── 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
│ ├── 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
│ │ └── tsconfig.json
│ ├── 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
│ │ ├── tsconfig.json
│ │ └── 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
│ │ └── tsconfig.json
│ ├── 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
│ │ └── tsconfig.json
│ ├── 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
│ │ └── tsconfig.json
│ ├── 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
│ │ └── tsconfig.json
│ ├── 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
│ │ └── tsconfig.json
│ ├── xmlui-spreadsheet
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── index.tsx
│ │ │ ├── Spreadsheet.tsx
│ │ │ └── SpreadsheetNative.tsx
│ │ └── tsconfig.json
│ └── 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.tsx
│ │ │ └── HeroSectionNative.tsx
│ │ ├── index.tsx
│ │ ├── ScrollToTop
│ │ │ ├── ScrollToTop.module.scss
│ │ │ ├── ScrollToTop.tsx
│ │ │ └── ScrollToTopNative.tsx
│ │ └── vite-env.d.ts
│ └── tsconfig.json
├── 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.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
├── playwright.config.ts
├── 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.mjs
│ ├── 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.mjs
│ ├── 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
│ │ │ ├── ModalDialogDriver.ts
│ │ │ ├── NumberBoxDriver.ts
│ │ │ ├── TextBoxDriver.ts
│ │ │ ├── TimeInputDriver.ts
│ │ │ ├── TimerDriver.ts
│ │ │ └── TreeDriver.ts
│ │ ├── fixtures.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/tests/components-core/theming/layout-vp-override.test.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { describe, expect, it } from "vitest";
2 | import { resolveLayoutProps } from "../../../src/components-core/theming/layout-resolver";
3 |
4 | type TestDescriptor = {
5 | category: string;
6 | props: string[];
7 | cssProps?: Record<string, string>;
8 | baseValue: string;
9 | overrideValue: string;
10 | override2Value: string;
11 | };
12 |
13 | const testDescriptors: TestDescriptor[] = [
14 | {
15 | category: "size",
16 | props: [
17 | "width",
18 | "minWidth",
19 | "maxWidth",
20 | "height",
21 | "minHeight",
22 | "maxHeight",
23 | "top",
24 | "right",
25 | "bottom",
26 | "left",
27 | "gap",
28 | "padding",
29 | "paddingTop",
30 | "paddingRight",
31 | "paddingBottom",
32 | "paddingLeft",
33 | "margin",
34 | "marginTop",
35 | "marginRight",
36 | "marginBottom",
37 | "marginLeft",
38 | "letterSpacing",
39 | "fontSize",
40 | "lineHeight"
41 | ],
42 | baseValue: "12px",
43 | overrideValue: "123px",
44 | override2Value: "456px",
45 | },
46 | {
47 | category: "border",
48 | props: ["border", "borderTop", "borderRight", "borderBottom", "borderLeft"],
49 | baseValue: "1px solid red",
50 | overrideValue: "2px solid blue",
51 | override2Value: "3px solid green",
52 | },
53 | {
54 | category: "borderRadius",
55 | props: ["borderRadius", "radiusTopLeft", "radiusTopRight", "radiusBottomRight", "radiusBottomLeft"],
56 | cssProps: {
57 | borderRadius: "borderRadius",
58 | radiusTopLeft: "borderTopLeftRadius",
59 | radiusTopRight: "borderTopRightRadius",
60 | radiusBottomRight: "borderBottomRightRadius",
61 | radiusBottomLeft: "borderBottomLeftRadius",
62 | },
63 | baseValue: "12px",
64 | overrideValue: "123px",
65 | override2Value: "456px",
66 | },
67 | {
68 | category: "color",
69 | props: ["backgroundColor", "background", "color"],
70 | baseValue: "red",
71 | overrideValue: "blue",
72 | override2Value: "green",
73 | },
74 | {
75 | category: "boxShadow",
76 | props: ["boxShadow"],
77 | baseValue: "1px 1px 1px 1px red",
78 | overrideValue: "2px 2px 2px 2px blue",
79 | override2Value: "3px 3px 3px 3px green",
80 | },
81 | {
82 | category: "direction",
83 | props: ["direction"],
84 | baseValue: "rtl",
85 | overrideValue: "ltr",
86 | override2Value: "rtl",
87 | },
88 | {
89 | category: "overflow",
90 | props: ["overflowX", "overflowY"],
91 | cssProps: {
92 | overflowX: "overflowX",
93 | overflowY: "overflowY",
94 | },
95 | baseValue: "hidden",
96 | overrideValue: "visible",
97 | override2Value: "scroll",
98 | },
99 | {
100 | category: "zIndex",
101 | props: ["zIndex"],
102 | baseValue: "1",
103 | overrideValue: "2",
104 | override2Value: "3",
105 | },
106 | {
107 | category: "opacity",
108 | props: ["opacity"],
109 | baseValue: "0.5",
110 | overrideValue: "0.7",
111 | override2Value: "0.9",
112 | },
113 | {
114 | category: "fontFamily",
115 | props: ["fontFamily"],
116 | baseValue: "Arial",
117 | overrideValue: "'Times New Roman'",
118 | override2Value: "'Courier New'",
119 | },
120 | {
121 | category: "fontWeight",
122 | props: ["fontWeight"],
123 | baseValue: "normal",
124 | overrideValue: "bold",
125 | override2Value: "bolder",
126 | },
127 | {
128 | category: "textDecoration",
129 | props: ["textDecoration"],
130 | baseValue: "none",
131 | overrideValue: "underline",
132 | override2Value: "line-through",
133 | },
134 | {
135 | category: "userSelect",
136 | props: ["userSelect"],
137 | baseValue: "none",
138 | overrideValue: "text",
139 | override2Value: "all",
140 | },
141 | {
142 | category: "textTransform",
143 | props: ["textTransform"],
144 | baseValue: "uppercase",
145 | overrideValue: "lowercase",
146 | override2Value: "capitalize",
147 | },
148 | {
149 | category: "textAlign",
150 | props: ["textAlign","textAlignLast"],
151 | baseValue: "center",
152 | overrideValue: "left",
153 | override2Value: "right",
154 | },
155 | {
156 | category: "cursor",
157 | props: ["cursor"],
158 | baseValue: "pointer",
159 | overrideValue: "default",
160 | override2Value: "none",
161 | }
162 | ];
163 |
164 | testDescriptors.forEach((td) => {
165 | describe(`Style compiler viewport (${td.category})`, () => {
166 | // --- width
167 | td.props.forEach((c) => {
168 | it(`${c}, ${c}-xs (xs)`, () => {
169 | const result = resolveLayoutProps(
170 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue },
171 | { mediaSize: { sizeIndex: 0 } },
172 | );
173 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
174 | expect(result.cssProps[propName]).equal(td.overrideValue);
175 | expect(result.issues.has(propName)).toBe(false);
176 | });
177 |
178 | it(`${c}, ${c}-xs (sm)`, () => {
179 | const result = resolveLayoutProps(
180 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue },
181 | { mediaSize: { sizeIndex: 1 } },
182 | );
183 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
184 | expect(result.cssProps[propName]).equal(td.baseValue);
185 | expect(result.issues.has(propName)).toBe(false);
186 | });
187 |
188 | it(`${c}, ${c}-xs (md)`, () => {
189 | const result = resolveLayoutProps(
190 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue },
191 | { mediaSize: { sizeIndex: 2 } },
192 | );
193 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
194 | expect(result.cssProps[propName]).equal(td.baseValue);
195 | expect(result.issues.has(propName)).toBe(false);
196 | });
197 |
198 | it(`${c}, ${c}-xs (lg)`, () => {
199 | const result = resolveLayoutProps(
200 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue },
201 | { mediaSize: { sizeIndex: 3 } },
202 | );
203 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
204 | expect(result.cssProps[propName]).equal(td.baseValue);
205 | expect(result.issues.has(propName)).toBe(false);
206 | });
207 |
208 | it(`${c}, ${c}-xs (xl)`, () => {
209 | const result = resolveLayoutProps(
210 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue },
211 | { mediaSize: { sizeIndex: 4 } },
212 | );
213 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
214 | expect(result.cssProps[propName]).equal(td.baseValue);
215 | expect(result.issues.has(propName)).toBe(false);
216 | });
217 |
218 | it(`${c}, ${c}-xs (xxl)`, () => {
219 | const result = resolveLayoutProps(
220 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue },
221 | { mediaSize: { sizeIndex: 5 } },
222 | );
223 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
224 | expect(result.cssProps[propName]).equal(td.baseValue);
225 | expect(result.issues.has(propName)).toBe(false);
226 | });
227 |
228 | it(`${c}, ${c}-sm (xs)`, () => {
229 | const result = resolveLayoutProps(
230 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
231 | { mediaSize: { sizeIndex: 0 } },
232 | );
233 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
234 | expect(result.cssProps[propName]).equal(td.overrideValue);
235 | expect(result.issues.has(propName)).toBe(false);
236 | });
237 |
238 | it(`${c}, ${c}-sm (sm)`, () => {
239 | const result = resolveLayoutProps(
240 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
241 | { mediaSize: { sizeIndex: 1 } },
242 | );
243 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
244 | expect(result.cssProps[propName]).equal(td.overrideValue);
245 | });
246 |
247 | it(`${c}, ${c}-sm (sm)`, () => {
248 | const result = resolveLayoutProps(
249 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
250 | { mediaSize: { sizeIndex: 1 } },
251 | );
252 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
253 | expect(result.cssProps[propName]).equal(td.overrideValue);
254 | expect(result.issues.has(propName)).toBe(false);
255 | });
256 |
257 | it(`${c}, ${c}-sm (md)`, () => {
258 | const result = resolveLayoutProps(
259 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
260 | { mediaSize: { sizeIndex: 2 } },
261 | );
262 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
263 | expect(result.cssProps[propName]).equal(td.baseValue);
264 | expect(result.issues.has(propName)).toBe(false);
265 | });
266 |
267 | it(`${c}, ${c}-sm (lg)`, () => {
268 | const result = resolveLayoutProps(
269 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
270 | { mediaSize: { sizeIndex: 3 } },
271 | );
272 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
273 | expect(result.cssProps[propName]).equal(td.baseValue);
274 | expect(result.issues.has(propName)).toBe(false);
275 | });
276 |
277 | it(`${c}, ${c}-sm (xl)`, () => {
278 | const result = resolveLayoutProps(
279 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
280 | { mediaSize: { sizeIndex: 4 } },
281 | );
282 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
283 | expect(result.cssProps[propName]).equal(td.baseValue);
284 | expect(result.issues.has(propName)).toBe(false);
285 | });
286 |
287 | it(`${c}, ${c}-sm (xxl)`, () => {
288 | const result = resolveLayoutProps(
289 | { [c]: td.baseValue, [`${c}-sm`]: td.overrideValue },
290 | { mediaSize: { sizeIndex: 5 } },
291 | );
292 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
293 | expect(result.cssProps[propName]).equal(td.baseValue);
294 | expect(result.issues.has(propName)).toBe(false);
295 | });
296 |
297 | it(`${c}, ${c}-md (xs)`, () => {
298 | const result = resolveLayoutProps(
299 | { [c]: td.baseValue, [`${c}-md`]: td.overrideValue },
300 | { mediaSize: { sizeIndex: 0 } },
301 | );
302 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
303 | expect(result.cssProps[propName]).equal(td.overrideValue);
304 | expect(result.issues.has(propName)).toBe(false);
305 | });
306 |
307 | it(`${c}, ${c}-md (sm)`, () => {
308 | const result = resolveLayoutProps(
309 | { [c]: td.baseValue, [`${c}-md`]: td.overrideValue },
310 | { mediaSize: { sizeIndex: 1 } },
311 | );
312 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
313 | expect(result.cssProps[propName]).equal(td.overrideValue);
314 | expect(result.issues.has(propName)).toBe(false);
315 | });
316 |
317 | it(`${c}, ${c}-md (md)`, () => {
318 | const result = resolveLayoutProps(
319 | { [c]: td.baseValue, [`${c}-md`]: td.overrideValue },
320 | { mediaSize: { sizeIndex: 2 } },
321 | );
322 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
323 | expect(result.cssProps[propName]).equal(td.overrideValue);
324 | expect(result.issues.has(propName)).toBe(false);
325 | });
326 |
327 | it(`${c}, ${c}-md (lg)`, () => {
328 | const result = resolveLayoutProps(
329 | { [c]: td.baseValue, [`${c}-md`]: td.overrideValue },
330 | { mediaSize: { sizeIndex: 3 } },
331 | );
332 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
333 | expect(result.cssProps[propName]).equal(td.baseValue);
334 | expect(result.issues.has(propName)).toBe(false);
335 | });
336 |
337 | it(`${c}, ${c}-md (xl)`, () => {
338 | const result = resolveLayoutProps(
339 | { [c]: td.baseValue, [`${c}-md`]: td.overrideValue },
340 | { mediaSize: { sizeIndex: 4 } },
341 | );
342 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
343 | expect(result.cssProps[propName]).equal(td.baseValue);
344 | expect(result.issues.has(propName)).toBe(false);
345 | });
346 |
347 | it(`${c}, ${c}-md (xxl)`, () => {
348 | const result = resolveLayoutProps(
349 | { [c]: td.baseValue, [`${c}-md`]: td.overrideValue },
350 | { mediaSize: { sizeIndex: 5 } },
351 | );
352 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
353 | expect(result.cssProps[propName]).equal(td.baseValue);
354 | expect(result.issues.has(propName)).toBe(false);
355 | });
356 |
357 | it(`${c}, ${c}-lg (xs)`, () => {
358 | const result = resolveLayoutProps(
359 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue },
360 | { mediaSize: { sizeIndex: 0 } },
361 | );
362 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
363 | expect(result.cssProps[propName]).equal(td.baseValue);
364 | expect(result.issues.has(propName)).toBe(false);
365 | });
366 |
367 | it(`${c}, ${c}-lg (sm)`, () => {
368 | const result = resolveLayoutProps(
369 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue },
370 | { mediaSize: { sizeIndex: 1 } },
371 | );
372 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
373 | expect(result.cssProps[propName]).equal(td.baseValue);
374 | expect(result.issues.has(propName)).toBe(false);
375 | });
376 |
377 | it(`${c}, ${c}-lg (md)`, () => {
378 | const result = resolveLayoutProps(
379 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue },
380 | { mediaSize: { sizeIndex: 2 } },
381 | );
382 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
383 | expect(result.cssProps[propName]).equal(td.baseValue);
384 | expect(result.issues.has(propName)).toBe(false);
385 | });
386 |
387 | it(`${c}, ${c}-lg (lg)`, () => {
388 | const result = resolveLayoutProps(
389 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue },
390 | { mediaSize: { sizeIndex: 3 } },
391 | );
392 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
393 | expect(result.cssProps[propName]).equal(td.overrideValue);
394 | expect(result.issues.has(propName)).toBe(false);
395 | });
396 |
397 | it(`${c}, ${c}-lg (xl)`, () => {
398 | const result = resolveLayoutProps(
399 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue },
400 | { mediaSize: { sizeIndex: 4 } },
401 | );
402 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
403 | expect(result.cssProps[propName]).equal(td.overrideValue);
404 | expect(result.issues.has(propName)).toBe(false);
405 | });
406 |
407 | it(`${c}, ${c}-lg (xxl)`, () => {
408 | const result = resolveLayoutProps(
409 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue },
410 | { mediaSize: { sizeIndex: 5 } },
411 | );
412 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
413 | expect(result.cssProps[propName]).equal(td.overrideValue);
414 | expect(result.issues.has(propName)).toBe(false);
415 | });
416 |
417 | it(`${c}, ${c}-xl (xs)`, () => {
418 | const result = resolveLayoutProps(
419 | { [c]: td.baseValue, [`${c}-xl`]: td.overrideValue },
420 | { mediaSize: { sizeIndex: 0 } },
421 | );
422 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
423 | expect(result.cssProps[propName]).equal(td.baseValue);
424 | expect(result.issues.has(propName)).toBe(false);
425 | });
426 |
427 | it(`${c}, ${c}-xl (sm)`, () => {
428 | const result = resolveLayoutProps(
429 | { [c]: td.baseValue, [`${c}-xl`]: td.overrideValue },
430 | { mediaSize: { sizeIndex: 1 } },
431 | );
432 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
433 | expect(result.cssProps[propName]).equal(td.baseValue);
434 | expect(result.issues.has(propName)).toBe(false);
435 | });
436 |
437 | it(`${c}, ${c}-xl (md)`, () => {
438 | const result = resolveLayoutProps(
439 | { [c]: td.baseValue, [`${c}-xl`]: td.overrideValue },
440 | { mediaSize: { sizeIndex: 2 } },
441 | );
442 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
443 | expect(result.cssProps[propName]).equal(td.baseValue);
444 | expect(result.issues.has(propName)).toBe(false);
445 | });
446 |
447 | it(`${c}, ${c}-xl (lg)`, () => {
448 | const result = resolveLayoutProps(
449 | { [c]: td.baseValue, [`${c}-xl`]: td.overrideValue },
450 | { mediaSize: { sizeIndex: 3 } },
451 | );
452 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
453 | expect(result.cssProps[propName]).equal(td.baseValue);
454 | expect(result.issues.has(propName)).toBe(false);
455 | });
456 |
457 | it(`${c}, ${c}-xl (xl)`, () => {
458 | const result = resolveLayoutProps(
459 | { [c]: td.baseValue, [`${c}-xl`]: td.overrideValue },
460 | { mediaSize: { sizeIndex: 4 } },
461 | );
462 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
463 | expect(result.cssProps[propName]).equal(td.overrideValue);
464 | expect(result.issues.has(propName)).toBe(false);
465 | });
466 |
467 | it(`${c}, ${c}-xl (xxl)`, () => {
468 | const result = resolveLayoutProps(
469 | { [c]: td.baseValue, [`${c}-xl`]: td.overrideValue },
470 | { mediaSize: { sizeIndex: 5 } },
471 | );
472 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
473 | expect(result.cssProps[propName]).equal(td.overrideValue);
474 | expect(result.issues.has(propName)).toBe(false);
475 | });
476 |
477 | it(`${c}, ${c}-xxl (xs)`, () => {
478 | const result = resolveLayoutProps(
479 | { [c]: td.baseValue, [`${c}-xxl`]: td.overrideValue },
480 | { mediaSize: { sizeIndex: 0 } },
481 | );
482 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
483 | expect(result.cssProps[propName]).equal(td.baseValue);
484 | expect(result.issues.has(propName)).toBe(false);
485 | });
486 |
487 | it(`${c}, ${c}-xxl (sm)`, () => {
488 | const result = resolveLayoutProps(
489 | { [c]: td.baseValue, [`${c}-xxl`]: td.overrideValue },
490 | { mediaSize: { sizeIndex: 1 } },
491 | );
492 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
493 | expect(result.cssProps[propName]).equal(td.baseValue);
494 | expect(result.issues.has(propName)).toBe(false);
495 | });
496 |
497 | it(`${c}, ${c}-xxl (md)`, () => {
498 | const result = resolveLayoutProps(
499 | { [c]: td.baseValue, [`${c}-xxl`]: td.overrideValue },
500 | { mediaSize: { sizeIndex: 2 } },
501 | );
502 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
503 | expect(result.cssProps[propName]).equal(td.baseValue);
504 | expect(result.issues.has(propName)).toBe(false);
505 | });
506 |
507 | it(`${c}, ${c}-xxl (lg)`, () => {
508 | const result = resolveLayoutProps(
509 | { [c]: td.baseValue, [`${c}-xxl`]: td.overrideValue },
510 | { mediaSize: { sizeIndex: 3 } },
511 | );
512 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
513 | expect(result.cssProps[propName]).equal(td.baseValue);
514 | expect(result.issues.has(propName)).toBe(false);
515 | });
516 |
517 | it(`${c}, ${c}-xxl (xl)`, () => {
518 | const result = resolveLayoutProps(
519 | { [c]: td.baseValue, [`${c}-xxl`]: td.overrideValue },
520 | { mediaSize: { sizeIndex: 4 } },
521 | );
522 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
523 | expect(result.cssProps[propName]).equal(td.baseValue);
524 | expect(result.issues.has(propName)).toBe(false);
525 | });
526 |
527 | it(`${c}, ${c}-xxl (xxl)`, () => {
528 | const result = resolveLayoutProps(
529 | { [c]: td.baseValue, [`${c}-xxl`]: td.overrideValue },
530 | { mediaSize: { sizeIndex: 5 } },
531 | );
532 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
533 | expect(result.cssProps[propName]).equal(td.overrideValue);
534 | expect(result.issues.has(propName)).toBe(false);
535 | });
536 |
537 | it(`${c}, ${c}-xs, ${c}-md (xs)`, () => {
538 | const result = resolveLayoutProps(
539 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-md`]: td.override2Value },
540 | { mediaSize: { sizeIndex: 0 } },
541 | );
542 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
543 | expect(result.cssProps[propName]).equal(td.overrideValue);
544 | expect(result.issues.has(propName)).toBe(false);
545 | });
546 |
547 | it(`${c}, ${c}-xs, ${c}-md (sm)`, () => {
548 | const result = resolveLayoutProps(
549 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-md`]: td.override2Value },
550 | { mediaSize: { sizeIndex: 1 } },
551 | );
552 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
553 | expect(result.cssProps[propName]).equal(td.override2Value);
554 | expect(result.issues.has(propName)).toBe(false);
555 | });
556 |
557 | it(`${c}, ${c}-xs, ${c}-md (md)`, () => {
558 | const result = resolveLayoutProps(
559 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-md`]: td.override2Value },
560 | { mediaSize: { sizeIndex: 2 } },
561 | );
562 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
563 | expect(result.cssProps[propName]).equal(td.override2Value);
564 | expect(result.issues.has(propName)).toBe(false);
565 | });
566 |
567 | it(`${c}, ${c}-xs, ${c}-md (lg)`, () => {
568 | const result = resolveLayoutProps(
569 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-md`]: td.override2Value },
570 | { mediaSize: { sizeIndex: 3 } },
571 | );
572 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
573 | expect(result.cssProps[propName]).equal(td.baseValue);
574 | expect(result.issues.has(propName)).toBe(false);
575 | });
576 |
577 | it(`${c}, ${c}-xs, ${c}-md (xl)`, () => {
578 | const result = resolveLayoutProps(
579 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-md`]: td.override2Value },
580 | { mediaSize: { sizeIndex: 4 } },
581 | );
582 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
583 | expect(result.cssProps[propName]).equal(td.baseValue);
584 | expect(result.issues.has(propName)).toBe(false);
585 | });
586 |
587 | it(`${c}, ${c}-xs, ${c}-md (xxl)`, () => {
588 | const result = resolveLayoutProps(
589 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-md`]: td.override2Value },
590 | { mediaSize: { sizeIndex: 5 } },
591 | );
592 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
593 | expect(result.cssProps[propName]).equal(td.baseValue);
594 | expect(result.issues.has(propName)).toBe(false);
595 | });
596 |
597 | it(`${c}, ${c}-xs, ${c}-xl (xs)`, () => {
598 | const result = resolveLayoutProps(
599 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-xl`]: td.override2Value },
600 | { mediaSize: { sizeIndex: 0 } },
601 | );
602 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
603 | expect(result.cssProps[propName]).equal(td.overrideValue);
604 | expect(result.issues.has(propName)).toBe(false);
605 | });
606 |
607 | it(`${c}, ${c}-xs, ${c}-xl (sm)`, () => {
608 | const result = resolveLayoutProps(
609 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-xl`]: td.override2Value },
610 | { mediaSize: { sizeIndex: 1 } },
611 | );
612 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
613 | expect(result.cssProps[propName]).equal(td.baseValue);
614 | expect(result.issues.has(propName)).toBe(false);
615 | });
616 |
617 | it(`${c}, ${c}-xs, ${c}-xl (md)`, () => {
618 | const result = resolveLayoutProps(
619 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-xl`]: td.override2Value },
620 | { mediaSize: { sizeIndex: 2 } },
621 | );
622 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
623 | expect(result.cssProps[propName]).equal(td.baseValue);
624 | expect(result.issues.has(propName)).toBe(false);
625 | });
626 |
627 | it(`${c}, ${c}-xs, ${c}-xl (lg)`, () => {
628 | const result = resolveLayoutProps(
629 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-xl`]: td.override2Value },
630 | { mediaSize: { sizeIndex: 3 } },
631 | );
632 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
633 | expect(result.cssProps[propName]).equal(td.baseValue);
634 | expect(result.issues.has(propName)).toBe(false);
635 | });
636 |
637 | it(`${c}, ${c}-xs, ${c}-xl (xl)`, () => {
638 | const result = resolveLayoutProps(
639 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-xl`]: td.override2Value },
640 | { mediaSize: { sizeIndex: 4 } },
641 | );
642 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
643 | expect(result.cssProps[propName]).equal(td.override2Value);
644 | expect(result.issues.has(propName)).toBe(false);
645 | });
646 |
647 | it(`${c}, ${c}-xs, ${c}-xl (xxl)`, () => {
648 | const result = resolveLayoutProps(
649 | { [c]: td.baseValue, [`${c}-xs`]: td.overrideValue, [`${c}-xl`]: td.override2Value },
650 | { mediaSize: { sizeIndex: 5 } },
651 | );
652 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
653 | expect(result.cssProps[propName]).equal(td.override2Value);
654 | expect(result.issues.has(propName)).toBe(false);
655 | });
656 |
657 | it(`${c}, ${c}-lg, ${c}-xxl (xs)`, () => {
658 | const result = resolveLayoutProps(
659 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue, [`${c}-xxl`]: td.override2Value },
660 | { mediaSize: { sizeIndex: 0 } },
661 | );
662 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
663 | expect(result.cssProps[propName]).equal(td.baseValue);
664 | expect(result.issues.has(propName)).toBe(false);
665 | });
666 |
667 | it(`${c}, ${c}-lg, ${c}-xxl (sm)`, () => {
668 | const result = resolveLayoutProps(
669 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue, [`${c}-xxl`]: td.override2Value },
670 | { mediaSize: { sizeIndex: 1 } },
671 | );
672 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
673 | expect(result.cssProps[propName]).equal(td.baseValue);
674 | expect(result.issues.has(propName)).toBe(false);
675 | });
676 |
677 | it(`${c}, ${c}-lg, ${c}-xxl (md)`, () => {
678 | const result = resolveLayoutProps(
679 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue, [`${c}-xxl`]: td.override2Value },
680 | { mediaSize: { sizeIndex: 2 } },
681 | );
682 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
683 | expect(result.cssProps[propName]).equal(td.baseValue);
684 | expect(result.issues.has(propName)).toBe(false);
685 | });
686 |
687 | it(`${c}, ${c}-lg, ${c}-xxl (lg)`, () => {
688 | const result = resolveLayoutProps(
689 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue, [`${c}-xxl`]: td.override2Value },
690 | { mediaSize: { sizeIndex: 3 } },
691 | );
692 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
693 | expect(result.cssProps[propName]).equal(td.overrideValue);
694 | expect(result.issues.has(propName)).toBe(false);
695 | });
696 |
697 | it(`${c}, ${c}-lg, ${c}-xxl (xl)`, () => {
698 | const result = resolveLayoutProps(
699 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue, [`${c}-xxl`]: td.override2Value },
700 | { mediaSize: { sizeIndex: 4 } },
701 | );
702 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
703 | expect(result.cssProps[propName]).equal(td.overrideValue);
704 | expect(result.issues.has(propName)).toBe(false);
705 | });
706 |
707 | it(`${c}, ${c}-lg, ${c}-xxl (xxl)`, () => {
708 | const result = resolveLayoutProps(
709 | { [c]: td.baseValue, [`${c}-lg`]: td.overrideValue, [`${c}-xxl`]: td.override2Value },
710 | { mediaSize: { sizeIndex: 5 } },
711 | );
712 | const propName = td.cssProps?.[c] ? td.cssProps[c] : c;
713 | expect(result.cssProps[propName]).equal(td.override2Value);
714 | expect(result.issues.has(propName)).toBe(false);
715 | });
716 | });
717 | });
718 | });
719 |
```
--------------------------------------------------------------------------------
/xmlui/src/components/Splitter/Splitter.spec.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { getBounds, 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 basic setup", async ({ initTestBed, page }) => {
10 | await initTestBed(`
11 | <Splitter height="200px" testId="splitter">
12 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
13 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
14 | </Splitter>
15 | `);
16 |
17 | await expect(page.getByTestId("splitter")).toBeVisible();
18 | await expect(page.getByTestId("primary")).toBeVisible();
19 | await expect(page.getByTestId("secondary")).toBeVisible();
20 | });
21 |
22 | test("renders with single child", async ({ initTestBed, page }) => {
23 | await initTestBed(`
24 | <Splitter height="200px" testId="splitter">
25 | <Stack backgroundColor="lightblue" height="100%" testId="single-child"/>
26 | </Splitter>
27 | `);
28 |
29 | await expect(page.getByTestId("splitter")).toBeVisible();
30 | await expect(page.getByTestId("single-child")).toBeVisible();
31 | });
32 |
33 | test.describe("orientation property", () => {
34 | test("orientation='horizontal' arranges sections left to right", async ({ initTestBed, page }) => {
35 | await initTestBed(`
36 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
37 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
38 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
39 | </Splitter>
40 | `);
41 |
42 | const primary = page.getByTestId("primary");
43 | const secondary = page.getByTestId("secondary");
44 |
45 | const primaryBounds = await getBounds(primary);
46 | const secondaryBounds = await getBounds(secondary);
47 |
48 | // In horizontal orientation, primary should be to the left of secondary
49 | expect(primaryBounds.right).toBeLessThanOrEqual(secondaryBounds.left + 10); // Allow for small overlap due to resizer
50 | });
51 |
52 | test("orientation='vertical' arranges sections top to bottom", async ({ initTestBed, page }) => {
53 | await initTestBed(`
54 | <Splitter height="200px" width="400px" orientation="vertical" testId="splitter">
55 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
56 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
57 | </Splitter>
58 | `);
59 |
60 | const primary = page.getByTestId("primary");
61 | const secondary = page.getByTestId("secondary");
62 |
63 | const primaryBounds = await getBounds(primary);
64 | const secondaryBounds = await getBounds(secondary);
65 |
66 | // In vertical orientation, primary should be above secondary
67 | expect(primaryBounds.bottom).toBeLessThanOrEqual(secondaryBounds.top + 10); // Allow for small overlap due to resizer
68 | });
69 |
70 | test("defaults to vertical orientation", async ({ initTestBed, page }) => {
71 | await initTestBed(`
72 | <Splitter height="200px" width="400px" testId="splitter">
73 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
74 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
75 | </Splitter>
76 | `);
77 |
78 | const primary = page.getByTestId("primary");
79 | const secondary = page.getByTestId("secondary");
80 |
81 | const primaryBounds = await getBounds(primary);
82 | const secondaryBounds = await getBounds(secondary);
83 |
84 | // Default should be vertical (primary above secondary)
85 | expect(primaryBounds.bottom).toBeLessThanOrEqual(secondaryBounds.top + 10);
86 | });
87 | });
88 |
89 | test.describe("swapped property", () => {
90 | [
91 | { swapped: false, orientation: "horizontal", description: "primary left, secondary right" },
92 | { swapped: true, orientation: "horizontal", description: "secondary left, primary right" },
93 | { swapped: false, orientation: "vertical", description: "primary top, secondary bottom" },
94 | { swapped: true, orientation: "vertical", description: "secondary top, primary bottom" },
95 | ].forEach(({ swapped, orientation, description }) => {
96 | test(`swapped=${swapped} with orientation=${orientation} renders ${description}`, async ({ initTestBed, page }) => {
97 | await initTestBed(`
98 | <Splitter height="200px" width="400px" orientation="${orientation}" swapped="${swapped}" testId="splitter">
99 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
100 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
101 | </Splitter>
102 | `);
103 |
104 | const primary = page.getByTestId("primary");
105 | const secondary = page.getByTestId("secondary");
106 |
107 | const primaryBounds = await getBounds(primary);
108 | const secondaryBounds = await getBounds(secondary);
109 |
110 | if (orientation === "horizontal") {
111 | if (swapped) {
112 | // Secondary should be to the left of primary
113 | expect(secondaryBounds.right).toBeLessThanOrEqual(primaryBounds.left + 10);
114 | } else {
115 | // Primary should be to the left of secondary
116 | expect(primaryBounds.right).toBeLessThanOrEqual(secondaryBounds.left + 10);
117 | }
118 | } else {
119 | if (swapped) {
120 | // Secondary should be above primary
121 | expect(secondaryBounds.bottom).toBeLessThanOrEqual(primaryBounds.top + 10);
122 | } else {
123 | // Primary should be above secondary
124 | expect(primaryBounds.bottom).toBeLessThanOrEqual(secondaryBounds.top + 10);
125 | }
126 | }
127 | });
128 | });
129 | });
130 |
131 | test.describe("initialPrimarySize property", () => {
132 | test("sets initial size with percentage", async ({ initTestBed, page }) => {
133 | await initTestBed(`
134 | <Splitter height="200px" width="400px" orientation="horizontal" initialPrimarySize="25%" testId="splitter">
135 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
136 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
137 | </Splitter>
138 | `);
139 |
140 | const splitter = page.getByTestId("splitter");
141 | const primary = page.getByTestId("primary");
142 |
143 | const splitterBounds = await getBounds(splitter);
144 | const primaryBounds = await getBounds(primary);
145 |
146 | const expectedWidth = splitterBounds.width * 0.25;
147 | const tolerance = 10; // Allow some tolerance for rounding/margins
148 |
149 | expect(Math.abs(primaryBounds.width - expectedWidth)).toBeLessThan(tolerance);
150 | });
151 |
152 | test("sets initial size with pixels", async ({ initTestBed, page }) => {
153 | await initTestBed(`
154 | <Splitter height="200px" width="400px" orientation="horizontal" initialPrimarySize="100px" testId="splitter">
155 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
156 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
157 | </Splitter>
158 | `);
159 |
160 | const primary = page.getByTestId("primary");
161 | const primaryBounds = await getBounds(primary);
162 |
163 | const tolerance = 10;
164 | expect(Math.abs(primaryBounds.width - 100)).toBeLessThan(tolerance);
165 | });
166 |
167 | test("defaults to 50%", async ({ initTestBed, page }) => {
168 | await initTestBed(`
169 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
170 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
171 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
172 | </Splitter>
173 | `);
174 |
175 | const splitter = page.getByTestId("splitter");
176 | const primary = page.getByTestId("primary");
177 |
178 | const splitterBounds = await getBounds(splitter);
179 | const primaryBounds = await getBounds(primary);
180 |
181 | const expectedWidth = splitterBounds.width * 0.5;
182 | const tolerance = 15; // Allow some tolerance for default behavior
183 |
184 | expect(Math.abs(primaryBounds.width - expectedWidth)).toBeLessThan(tolerance);
185 | });
186 | });
187 |
188 | test.describe("floating property", () => {
189 | test("floating=false shows resizer permanently", async ({ initTestBed, page, createSplitterDriver }) => {
190 | await initTestBed(`
191 | <Splitter height="200px" width="400px" orientation="horizontal" floating="false" testId="splitter">
192 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
193 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
194 | </Splitter>
195 | `);
196 |
197 | const splitter = page.getByTestId("splitter");
198 | const driver = await createSplitterDriver(splitter);
199 | const resizer = await driver.getResizer();
200 |
201 | await expect(resizer).toBeVisible();
202 | });
203 |
204 | test("floating=true hides resizer until hover", async ({ initTestBed, page }) => {
205 | await initTestBed(`
206 | <Splitter height="200px" width="400px" orientation="horizontal" floating="true" testId="splitter">
207 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
208 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
209 | </Splitter>
210 | `);
211 |
212 | const splitter = page.getByTestId("splitter");
213 |
214 | // When floating=true, the regular resizer should not be visible
215 | const regularResizer = splitter.locator('[class*="resizer"]:not([class*="floating"])');
216 | const isRegularResizerVisible = await regularResizer.isVisible().catch(() => false);
217 | expect(isRegularResizerVisible).toBe(false);
218 |
219 | // The floating resizer should exist but be initially hidden (opacity 0)
220 | const floatingResizer = splitter.locator('[class*="floating"]');
221 | if (await floatingResizer.count() > 0) {
222 | const initialOpacity = await floatingResizer.evaluate(el => window.getComputedStyle(el).opacity);
223 | expect(parseFloat(initialOpacity)).toBe(0);
224 | }
225 | });
226 | });
227 |
228 | test.describe("splitterTemplate property", () => {
229 | test("renders custom splitter template", async ({ initTestBed, page, createSplitterDriver }) => {
230 | await initTestBed(`
231 | <Splitter height="200px" width="400px" testId="splitter">
232 | <property name="splitterTemplate">
233 | <ContentSeparator backgroundColor="green" height="4px" testId="custom-separator"/>
234 | </property>
235 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
236 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
237 | </Splitter>
238 | `);
239 |
240 | await expect(page.getByTestId("custom-separator")).toBeVisible();
241 | });
242 | });
243 |
244 | test.describe("resize functionality", () => {
245 | test("drag resizer changes panel sizes in horizontal orientation", async ({ initTestBed, page, createSplitterDriver }) => {
246 | await initTestBed(`
247 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
248 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
249 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
250 | </Splitter>
251 | `);
252 |
253 | const splitter = page.getByTestId("splitter");
254 | const primary = page.getByTestId("primary");
255 | const driver = await createSplitterDriver(splitter);
256 |
257 | // Get initial size
258 | const initialBounds = await getBounds(primary);
259 |
260 | // Drag resizer to the right by 50 pixels
261 | await driver.dragResizer(50, 0);
262 |
263 | // Get new size and verify it changed
264 | const newBounds = await getBounds(primary);
265 | expect(newBounds.width).toBeGreaterThan(initialBounds.width + 30); // Allow some tolerance
266 | });
267 |
268 | test("drag resizer changes panel sizes in vertical orientation", async ({ initTestBed, page, createSplitterDriver }) => {
269 | await initTestBed(`
270 | <Splitter height="200px" width="400px" orientation="vertical" testId="splitter">
271 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
272 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
273 | </Splitter>
274 | `);
275 |
276 | const splitter = page.getByTestId("splitter");
277 | const primary = page.getByTestId("primary");
278 | const driver = await createSplitterDriver(splitter);
279 |
280 | // Get initial size
281 | const initialBounds = await getBounds(primary);
282 |
283 | // Drag resizer down by 30 pixels
284 | await driver.dragResizer(0, 30);
285 |
286 | // Get new size and verify it changed
287 | const newBounds = await getBounds(primary);
288 | expect(newBounds.height).toBeGreaterThan(initialBounds.height + 15); // Allow some tolerance
289 | });
290 | });
291 |
292 | test.describe("size constraint properties", () => {
293 | test("minPrimarySize constrains minimum size", async ({ initTestBed, page, createSplitterDriver }) => {
294 | await initTestBed(`
295 | <Splitter height="200px" width="400px" orientation="horizontal" minPrimarySize="100px" testId="splitter">
296 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
297 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
298 | </Splitter>
299 | `);
300 |
301 | const splitter = page.getByTestId("splitter");
302 | const primary = page.getByTestId("primary");
303 | const driver = await createSplitterDriver(splitter);
304 |
305 | // Try to drag resizer far to the left
306 | await driver.dragResizer(-300, 0);
307 |
308 | // Primary should not be smaller than minimum
309 | const bounds = await getBounds(primary);
310 | expect(bounds.width).toBeGreaterThanOrEqual(90); // Allow small tolerance
311 | });
312 |
313 | test("maxPrimarySize constrains maximum size", async ({ initTestBed, page, createSplitterDriver }) => {
314 | await initTestBed(`
315 | <Splitter height="200px" width="400px" orientation="horizontal" maxPrimarySize="300px" testId="splitter">
316 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
317 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
318 | </Splitter>
319 | `);
320 |
321 | const splitter = page.getByTestId("splitter");
322 | const primary = page.getByTestId("primary");
323 | const driver = await createSplitterDriver(splitter);
324 |
325 | // Try to drag resizer far to the right
326 | await driver.dragResizer(300, 0);
327 |
328 | // Primary should not be larger than maximum
329 | const bounds = await getBounds(primary);
330 | expect(bounds.width).toBeLessThanOrEqual(310); // Allow small tolerance
331 | });
332 | });
333 |
334 | test.describe("resize event", () => {
335 | test("fires resize event when dragging", async ({ initTestBed, page, createSplitterDriver }) => {
336 | const { testStateDriver } = await initTestBed(`
337 | <Splitter height="200px" width="400px" orientation="horizontal" onResize="arg => testState = arg" testId="splitter">
338 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
339 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
340 | </Splitter>
341 | `);
342 |
343 | const splitter = page.getByTestId("splitter");
344 | const driver = await createSplitterDriver(splitter);
345 |
346 | // Drag resizer
347 | await driver.dragResizer(50, 0);
348 |
349 | // Verify resize event was called with array of percentages
350 | await expect.poll(testStateDriver.testState).toBeDefined();
351 | const resizeData = await testStateDriver.testState();
352 | expect(Array.isArray(resizeData)).toBe(true);
353 | expect(resizeData).toHaveLength(2);
354 | expect(typeof resizeData[0]).toBe("number");
355 | expect(typeof resizeData[1]).toBe("number");
356 | });
357 | });
358 |
359 | test.describe("edge cases", () => {
360 | test("handles null properties gracefully", async ({ initTestBed, page }) => {
361 | await initTestBed(`
362 | <Splitter
363 | height="200px"
364 | initialPrimarySize="50px"
365 | minPrimarySize="10px"
366 | maxPrimarySize="180px"
367 | testId="splitter"
368 | >
369 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
370 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
371 | </Splitter>
372 | `);
373 |
374 | await expect(page.getByTestId("splitter")).toBeVisible();
375 | await expect(page.getByTestId("primary")).toBeVisible();
376 | await expect(page.getByTestId("secondary")).toBeVisible();
377 | });
378 |
379 | test("handles undefined properties gracefully", async ({ initTestBed, page }) => {
380 | await initTestBed(`
381 | <Splitter
382 | height="200px"
383 | width="400px"
384 | testId="splitter"
385 | >
386 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
387 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
388 | </Splitter>
389 | `);
390 |
391 | await expect(page.getByTestId("splitter")).toBeVisible();
392 | await expect(page.getByTestId("primary")).toBeVisible();
393 | await expect(page.getByTestId("secondary")).toBeVisible();
394 | });
395 |
396 | test("handles invalid size values", async ({ initTestBed, page }) => {
397 | await initTestBed(`
398 | <Splitter
399 | height="200px"
400 | width="400px"
401 | initialPrimarySize="50%"
402 | testId="splitter"
403 | >
404 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
405 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
406 | </Splitter>
407 | `);
408 |
409 | await expect(page.getByTestId("splitter")).toBeVisible();
410 | await expect(page.getByTestId("primary")).toBeVisible();
411 | await expect(page.getByTestId("secondary")).toBeVisible();
412 | });
413 |
414 | test("handles object values for string properties", async ({ initTestBed, page }) => {
415 | await initTestBed(`
416 | <Splitter
417 | height="200px"
418 | width="400px"
419 | orientation="horizontal"
420 | initialPrimarySize="50%"
421 | testId="splitter"
422 | >
423 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
424 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
425 | </Splitter>
426 | `);
427 |
428 | await expect(page.getByTestId("splitter")).toBeVisible();
429 | await expect(page.getByTestId("primary")).toBeVisible();
430 | await expect(page.getByTestId("secondary")).toBeVisible();
431 | });
432 | });
433 | });
434 |
435 | // =============================================================================
436 | // ACCESSIBILITY TESTS
437 | // =============================================================================
438 |
439 | test.describe("Accessibility", () => {
440 | test("resizer has appropriate cursor styles", async ({ initTestBed, page, createSplitterDriver }) => {
441 | await initTestBed(`
442 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
443 | <Stack backgroundColor="lightblue" height="100%"/>
444 | <Stack backgroundColor="darksalmon" height="100%"/>
445 | </Splitter>
446 | `);
447 |
448 | const splitter = page.getByTestId("splitter");
449 | const driver = await createSplitterDriver(splitter);
450 | const resizer = await driver.getResizer();
451 |
452 | await expect(resizer).toHaveCSS("cursor", "ew-resize");
453 | });
454 |
455 | test("vertical resizer has appropriate cursor style", async ({ initTestBed, page, createSplitterDriver }) => {
456 | await initTestBed(`
457 | <Splitter height="200px" width="400px" orientation="vertical" testId="splitter">
458 | <Stack backgroundColor="lightblue" height="100%"/>
459 | <Stack backgroundColor="darksalmon" height="100%"/>
460 | </Splitter>
461 | `);
462 |
463 | const splitter = page.getByTestId("splitter");
464 | const driver = await createSplitterDriver(splitter);
465 | const resizer = await driver.getResizer();
466 |
467 | await expect(resizer).toHaveCSS("cursor", "ns-resize");
468 | });
469 |
470 | test("splitter prevents text selection during drag", async ({ initTestBed, page }) => {
471 | await initTestBed(`
472 | <Splitter height="200px" width="400px" testId="splitter">
473 | <Stack backgroundColor="lightblue" height="100%"/>
474 | <Stack backgroundColor="darksalmon" height="100%"/>
475 | </Splitter>
476 | `);
477 |
478 | const splitter = page.getByTestId("splitter");
479 | await expect(splitter).toHaveCSS("user-select", "none");
480 | });
481 | });
482 |
483 | // =============================================================================
484 | // THEME VARIABLE TESTS
485 | // =============================================================================
486 |
487 | test.describe("Theme Variables", () => {
488 | test("applies backgroundColor-resizer-Splitter theme variable", async ({ initTestBed, page, createSplitterDriver }) => {
489 | await initTestBed(`
490 | <Splitter height="200px" width="400px" testId="splitter">
491 | <Stack backgroundColor="lightblue" height="100%"/>
492 | <Stack backgroundColor="darksalmon" height="100%"/>
493 | </Splitter>
494 | `, {
495 | testThemeVars: { "backgroundColor-resizer-Splitter": "rgb(255, 0, 0)" },
496 | });
497 |
498 | const splitter = page.getByTestId("splitter");
499 | const driver = await createSplitterDriver(splitter);
500 | const resizer = await driver.getResizer();
501 |
502 | await expect(resizer).toHaveCSS("background-color", "rgb(255, 0, 0)");
503 | });
504 |
505 | test("applies thickness-resizer-Splitter theme variable for horizontal", async ({ initTestBed, page, createSplitterDriver }) => {
506 | await initTestBed(`
507 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
508 | <Stack backgroundColor="lightblue" height="100%"/>
509 | <Stack backgroundColor="darksalmon" height="100%"/>
510 | </Splitter>
511 | `, {
512 | testThemeVars: { "thickness-resizer-Splitter": "10px" },
513 | });
514 |
515 | const splitter = page.getByTestId("splitter");
516 | const driver = await createSplitterDriver(splitter);
517 | const resizer = await driver.getResizer();
518 |
519 | await expect(resizer).toHaveCSS("width", "10px");
520 | });
521 |
522 | test("applies thickness-resizer-Splitter theme variable for vertical", async ({ initTestBed, page, createSplitterDriver }) => {
523 | await initTestBed(`
524 | <Splitter height="200px" width="400px" orientation="vertical" testId="splitter">
525 | <Stack backgroundColor="lightblue" height="100%"/>
526 | <Stack backgroundColor="darksalmon" height="100%"/>
527 | </Splitter>
528 | `, {
529 | testThemeVars: { "thickness-resizer-Splitter": "10px" },
530 | });
531 |
532 | const splitter = page.getByTestId("splitter");
533 | const driver = await createSplitterDriver(splitter);
534 | const resizer = await driver.getResizer();
535 |
536 | await expect(resizer).toHaveCSS("height", "10px");
537 | });
538 |
539 | test("applies cursor-resizer-horizontal-Splitter theme variable", async ({ initTestBed, page, createSplitterDriver }) => {
540 | await initTestBed(`
541 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
542 | <Stack backgroundColor="lightblue" height="100%"/>
543 | <Stack backgroundColor="darksalmon" height="100%"/>
544 | </Splitter>
545 | `, {
546 | testThemeVars: { "cursor-resizer-horizontal-Splitter": "col-resize" },
547 | });
548 |
549 | const splitter = page.getByTestId("splitter");
550 | const driver = await createSplitterDriver(splitter);
551 | const resizer = await driver.getResizer();
552 |
553 | await expect(resizer).toHaveCSS("cursor", "col-resize");
554 | });
555 |
556 | test("applies cursor-resizer-vertical-Splitter theme variable", async ({ initTestBed, page, createSplitterDriver }) => {
557 | await initTestBed(`
558 | <Splitter height="200px" width="400px" orientation="vertical" testId="splitter">
559 | <Stack backgroundColor="lightblue" height="100%"/>
560 | <Stack backgroundColor="darksalmon" height="100%"/>
561 | </Splitter>
562 | `, {
563 | testThemeVars: { "cursor-resizer-vertical-Splitter": "row-resize" },
564 | });
565 |
566 | const splitter = page.getByTestId("splitter");
567 | const driver = await createSplitterDriver(splitter);
568 | const resizer = await driver.getResizer();
569 |
570 | await expect(resizer).toHaveCSS("cursor", "row-resize");
571 | });
572 | });
573 |
574 | // =============================================================================
575 | // OTHER EDGE CASE TESTS
576 | // =============================================================================
577 |
578 | test.describe("Other Edge Cases", () => {
579 | test("handles very small container dimensions", async ({ initTestBed, page }) => {
580 | await initTestBed(`
581 | <Splitter height="20px" width="20px" testId="splitter">
582 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
583 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
584 | </Splitter>
585 | `);
586 |
587 | await expect(page.getByTestId("splitter")).toBeVisible();
588 | await expect(page.getByTestId("primary")).toBeVisible();
589 | // Secondary might be hidden in very small containers due to space constraints
590 | const secondary = page.getByTestId("secondary");
591 | const isSecondaryVisible = await secondary.isVisible();
592 | if (isSecondaryVisible) {
593 | await expect(secondary).toBeVisible();
594 | }
595 | });
596 |
597 | test("handles very large initial size values", async ({ initTestBed, page }) => {
598 | await initTestBed(`
599 | <Splitter height="200px" width="400px" initialPrimarySize="90%" testId="splitter">
600 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
601 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
602 | </Splitter>
603 | `);
604 |
605 | await expect(page.getByTestId("splitter")).toBeVisible();
606 | await expect(page.getByTestId("primary")).toBeVisible();
607 | // Secondary might be very small but should still be visible
608 | const secondary = page.getByTestId("secondary");
609 | const isSecondaryVisible = await secondary.isVisible();
610 | if (isSecondaryVisible) {
611 | await expect(secondary).toBeVisible();
612 | }
613 | });
614 |
615 | test("handles rapid resize operations", async ({ initTestBed, page, createSplitterDriver }) => {
616 | await initTestBed(`
617 | <Splitter height="200px" width="400px" orientation="horizontal" testId="splitter">
618 | <Stack backgroundColor="lightblue" height="100%" testId="primary"/>
619 | <Stack backgroundColor="darksalmon" height="100%" testId="secondary"/>
620 | </Splitter>
621 | `);
622 |
623 | const splitter = page.getByTestId("splitter");
624 | const driver = await createSplitterDriver(splitter);
625 |
626 | // Perform multiple rapid drag operations
627 | await driver.dragResizer(20, 0);
628 | await driver.dragResizer(-30, 0);
629 | await driver.dragResizer(40, 0);
630 | await driver.dragResizer(-10, 0);
631 |
632 | // Should still be functional
633 | await expect(page.getByTestId("primary")).toBeVisible();
634 | await expect(page.getByTestId("secondary")).toBeVisible();
635 | });
636 | });
637 |
```