This is page 124 of 181. Use http://codebase.md/xmlui-org/xmlui/%7BimageSrc%7D?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/border-segments.test.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { describe, expect, it } from "vitest";
2 | import { generateBorderSegments } from "../../../src/components-core/theming/transformThemeVars";
3 |
4 | describe("generateBorderSegments", () => {
5 | it("No border", () => {
6 | const newTheme: Record<string, string> = {
7 | "backgroundColor-Card": "xxx",
8 | };
9 |
10 | const result = generateBorderSegments(newTheme);
11 |
12 | expect(result).deep.equal({
13 | "backgroundColor-Card": "xxx",
14 | });
15 | });
16 |
17 | it("borderHorizontal only", () => {
18 | const newTheme: Record<string, string> = {
19 | "borderHorizontal-Card": "xxx",
20 | };
21 |
22 | const result = generateBorderSegments(newTheme);
23 |
24 | expect(result).deep.equal({
25 | "borderHorizontal-Card": "xxx",
26 | "borderLeft-Card": "xxx",
27 | "borderRight-Card": "xxx",
28 | });
29 | });
30 |
31 | it("borderVertical only", () => {
32 | const newTheme: Record<string, string> = {
33 | "borderVertical-Card": "xxx",
34 | };
35 |
36 | const result = generateBorderSegments(newTheme);
37 |
38 | expect(result).deep.equal({
39 | "borderBottom-Card": "xxx",
40 | "borderTop-Card": "xxx",
41 | "borderVertical-Card": "xxx",
42 | });
43 | });
44 |
45 | it("borderTop only", () => {
46 | const newTheme: Record<string, string> = {
47 | "borderTop-Card": "xxx",
48 | };
49 |
50 | const result = generateBorderSegments(newTheme);
51 |
52 | expect(result).deep.equal({
53 | "borderTop-Card": "xxx",
54 | });
55 | });
56 |
57 | it("borderRight only", () => {
58 | const newTheme: Record<string, string> = {
59 | "borderRight-Card": "xxx",
60 | };
61 |
62 | const result = generateBorderSegments(newTheme);
63 |
64 | expect(result).deep.equal({
65 | "borderRight-Card": "xxx",
66 | });
67 | });
68 |
69 | it("borderBottom only", () => {
70 | const newTheme: Record<string, string> = {
71 | "borderBottom-Card": "xxx",
72 | };
73 |
74 | const result = generateBorderSegments(newTheme);
75 |
76 | expect(result).deep.equal({
77 | "borderBottom-Card": "xxx",
78 | });
79 | });
80 |
81 | it("borderLeft only", () => {
82 | const newTheme: Record<string, string> = {
83 | "borderLeft-Card": "xxx",
84 | };
85 |
86 | const result = generateBorderSegments(newTheme);
87 |
88 | expect(result).deep.equal({
89 | "borderLeft-Card": "xxx",
90 | });
91 | });
92 |
93 | it("borderWidth only", () => {
94 | const newTheme: Record<string, string> = {
95 | "borderWidth-Card": "xxx",
96 | };
97 |
98 | const result = generateBorderSegments(newTheme);
99 |
100 | expect(result).deep.equal({
101 | "borderWidth-Card": "xxx",
102 | "borderBottomWidth-Card": "xxx",
103 | "borderLeftWidth-Card": "xxx",
104 | "borderRightWidth-Card": "xxx",
105 | "borderTopWidth-Card": "xxx",
106 | });
107 | });
108 |
109 | it("borderHorizontalWidth only", () => {
110 | const newTheme: Record<string, string> = {
111 | "borderHorizontalWidth-Card": "xxx",
112 | };
113 |
114 | const result = generateBorderSegments(newTheme);
115 |
116 | expect(result).deep.equal({
117 | "borderHorizontalWidth-Card": "xxx",
118 | "borderLeftWidth-Card": "xxx",
119 | "borderRightWidth-Card": "xxx",
120 | });
121 | });
122 |
123 | it("borderVerticalWidth only", () => {
124 | const newTheme: Record<string, string> = {
125 | "borderVerticalWidth-Card": "xxx",
126 | };
127 |
128 | const result = generateBorderSegments(newTheme);
129 |
130 | expect(result).deep.equal({
131 | "borderBottomWidth-Card": "xxx",
132 | "borderTopWidth-Card": "xxx",
133 | "borderVerticalWidth-Card": "xxx",
134 | });
135 | });
136 |
137 | it("borderStyle only", () => {
138 | const newTheme: Record<string, string> = {
139 | "borderStyle-Card": "xxx",
140 | };
141 |
142 | const result = generateBorderSegments(newTheme);
143 |
144 | expect(result).deep.equal({
145 | "borderStyle-Card": "xxx",
146 | "borderBottomStyle-Card": "xxx",
147 | "borderLeftStyle-Card": "xxx",
148 | "borderRightStyle-Card": "xxx",
149 | "borderTopStyle-Card": "xxx",
150 | });
151 | });
152 |
153 | it("borderHorizontalStyle only", () => {
154 | const newTheme: Record<string, string> = {
155 | "borderHorizontalStyle-Card": "xxx",
156 | };
157 |
158 | const result = generateBorderSegments(newTheme);
159 |
160 | expect(result).deep.equal({
161 | "borderHorizontalStyle-Card": "xxx",
162 | "borderLeftStyle-Card": "xxx",
163 | "borderRightStyle-Card": "xxx",
164 | });
165 | });
166 |
167 | it("borderVerticalStyle only", () => {
168 | const newTheme: Record<string, string> = {
169 | "borderVerticalStyle-Card": "xxx",
170 | };
171 |
172 | const result = generateBorderSegments(newTheme);
173 |
174 | expect(result).deep.equal({
175 | "borderBottomStyle-Card": "xxx",
176 | "borderTopStyle-Card": "xxx",
177 | "borderVerticalStyle-Card": "xxx",
178 | });
179 | });
180 |
181 | it("borderColor only", () => {
182 | const newTheme: Record<string, string> = {
183 | "borderColor-Card": "xxx",
184 | };
185 |
186 | const result = generateBorderSegments(newTheme);
187 |
188 | expect(result).deep.equal({
189 | "borderColor-Card": "xxx",
190 | "borderBottomColor-Card": "xxx",
191 | "borderLeftColor-Card": "xxx",
192 | "borderRightColor-Card": "xxx",
193 | "borderTopColor-Card": "xxx",
194 | });
195 | });
196 |
197 | it("borderHorizontalColor only", () => {
198 | const newTheme: Record<string, string> = {
199 | "borderHorizontalColor-Card": "xxx",
200 | };
201 |
202 | const result = generateBorderSegments(newTheme);
203 |
204 | expect(result).deep.equal({
205 | "borderHorizontalColor-Card": "xxx",
206 | "borderLeftColor-Card": "xxx",
207 | "borderRightColor-Card": "xxx",
208 | });
209 | });
210 |
211 | it("borderVerticalColor only", () => {
212 | const newTheme: Record<string, string> = {
213 | "borderVerticalColor-Card": "xxx",
214 | };
215 |
216 | const result = generateBorderSegments(newTheme);
217 |
218 | expect(result).deep.equal({
219 | "borderBottomColor-Card": "xxx",
220 | "borderTopColor-Card": "xxx",
221 | "borderVerticalColor-Card": "xxx",
222 | });
223 | });
224 |
225 | it("border: thickness, style, color #1", () => {
226 | const newTheme: Record<string, string> = {
227 | "border-Card": "1px solid $borderColor",
228 | };
229 |
230 | const result = generateBorderSegments(newTheme);
231 |
232 | expect(result).deep.equal({
233 | "border-Card": "1px solid $borderColor",
234 | "borderBottom-Card": "1px solid $borderColor",
235 | "borderLeft-Card": "1px solid $borderColor",
236 | "borderRight-Card": "1px solid $borderColor",
237 | "borderTop-Card": "1px solid $borderColor",
238 | "borderColor-Card": "$borderColor",
239 | "borderStyle-Card": "solid",
240 | "borderWidth-Card": "1px",
241 | });
242 | });
243 |
244 | it("border: thickness, style, color #2", () => {
245 | const newTheme: Record<string, string> = {
246 | "border-Card": "1px solid rgb(0,0,0)",
247 | };
248 |
249 | const result = generateBorderSegments(newTheme);
250 |
251 | expect(result).deep.equal({
252 | "border-Card": "1px solid rgb(0,0,0)",
253 | "borderBottom-Card": "1px solid rgb(0,0,0)",
254 | "borderLeft-Card": "1px solid rgb(0,0,0)",
255 | "borderRight-Card": "1px solid rgb(0,0,0)",
256 | "borderTop-Card": "1px solid rgb(0,0,0)",
257 | "borderColor-Card": "rgb(0,0,0)",
258 | "borderStyle-Card": "solid",
259 | "borderWidth-Card": "1px",
260 | });
261 | });
262 |
263 | it("border: thickness, style, color #3", () => {
264 | const newTheme: Record<string, string> = {
265 | "border-Card": "1px solid #000",
266 | };
267 |
268 | const result = generateBorderSegments(newTheme);
269 |
270 | expect(result).deep.equal({
271 | "border-Card": "1px solid #000",
272 | "borderBottom-Card": "1px solid #000",
273 | "borderLeft-Card": "1px solid #000",
274 | "borderRight-Card": "1px solid #000",
275 | "borderTop-Card": "1px solid #000",
276 | "borderColor-Card": "#000",
277 | "borderStyle-Card": "solid",
278 | "borderWidth-Card": "1px",
279 | });
280 | });
281 |
282 | it("border: thickness, style, color #4", () => {
283 | const newTheme: Record<string, string> = {
284 | "border-Card": "1px solid #000000",
285 | };
286 |
287 | const result = generateBorderSegments(newTheme);
288 |
289 | expect(result).deep.equal({
290 | "border-Card": "1px solid #000000",
291 | "borderBottom-Card": "1px solid #000000",
292 | "borderLeft-Card": "1px solid #000000",
293 | "borderRight-Card": "1px solid #000000",
294 | "borderTop-Card": "1px solid #000000",
295 | "borderColor-Card": "#000000",
296 | "borderStyle-Card": "solid",
297 | "borderWidth-Card": "1px",
298 | });
299 | });
300 |
301 | it("border: thickness, style, color #5", () => {
302 | const newTheme: Record<string, string> = {
303 | "border-Card": "1px solid hsl(0,0%,0%)",
304 | };
305 |
306 | const result = generateBorderSegments(newTheme);
307 |
308 | expect(result).deep.equal({
309 | "border-Card": "1px solid hsl(0,0%,0%)",
310 | "borderBottom-Card": "1px solid hsl(0,0%,0%)",
311 | "borderLeft-Card": "1px solid hsl(0,0%,0%)",
312 | "borderRight-Card": "1px solid hsl(0,0%,0%)",
313 | "borderTop-Card": "1px solid hsl(0,0%,0%)",
314 | "borderColor-Card": "hsl(0,0%,0%)",
315 | "borderStyle-Card": "solid",
316 | "borderWidth-Card": "1px",
317 | });
318 | });
319 |
320 | it("border: thickness, style, color #6", () => {
321 | const newTheme: Record<string, string> = {
322 | "border-Card": "1px solid hsl(0,0%,0%)",
323 | };
324 |
325 | const result = generateBorderSegments(newTheme);
326 |
327 | expect(result).deep.equal({
328 | "border-Card": "1px solid hsl(0,0%,0%)",
329 | "borderBottom-Card": "1px solid hsl(0,0%,0%)",
330 | "borderLeft-Card": "1px solid hsl(0,0%,0%)",
331 | "borderRight-Card": "1px solid hsl(0,0%,0%)",
332 | "borderTop-Card": "1px solid hsl(0,0%,0%)",
333 | "borderColor-Card": "hsl(0,0%,0%)",
334 | "borderStyle-Card": "solid",
335 | "borderWidth-Card": "1px",
336 | });
337 | });
338 |
339 | it("border: thickness, style, color #7", () => {
340 | const newTheme: Record<string, string> = {
341 | "border-Card": "1px solid hsl(0,0%,0%)",
342 | };
343 |
344 | const result = generateBorderSegments(newTheme);
345 |
346 | expect(result).deep.equal({
347 | "border-Card": "1px solid hsl(0,0%,0%)",
348 | "borderBottom-Card": "1px solid hsl(0,0%,0%)",
349 | "borderLeft-Card": "1px solid hsl(0,0%,0%)",
350 | "borderRight-Card": "1px solid hsl(0,0%,0%)",
351 | "borderTop-Card": "1px solid hsl(0,0%,0%)",
352 | "borderColor-Card": "hsl(0,0%,0%)",
353 | "borderStyle-Card": "solid",
354 | "borderWidth-Card": "1px",
355 | });
356 | });
357 |
358 | it("border: thickness, style, color #8", () => {
359 | const newTheme: Record<string, string> = {
360 | "border-Card": "1px solid hsla(0,0%,0%,0.5)",
361 | };
362 |
363 | const result = generateBorderSegments(newTheme);
364 |
365 | expect(result).deep.equal({
366 | "border-Card": "1px solid hsla(0,0%,0%,0.5)",
367 | "borderBottom-Card": "1px solid hsla(0,0%,0%,0.5)",
368 | "borderLeft-Card": "1px solid hsla(0,0%,0%,0.5)",
369 | "borderRight-Card": "1px solid hsla(0,0%,0%,0.5)",
370 | "borderTop-Card": "1px solid hsla(0,0%,0%,0.5)",
371 | "borderColor-Card": "hsla(0,0%,0%,0.5)",
372 | "borderStyle-Card": "solid",
373 | "borderWidth-Card": "1px",
374 | });
375 | });
376 |
377 | it("border: thickness, style, color #9", () => {
378 | const newTheme: Record<string, string> = {
379 | "border-Card": "1px solid rgba(0,0,0,0.5)",
380 | };
381 |
382 | const result = generateBorderSegments(newTheme);
383 |
384 | expect(result).deep.equal({
385 | "border-Card": "1px solid rgba(0,0,0,0.5)",
386 | "borderBottom-Card": "1px solid rgba(0,0,0,0.5)",
387 | "borderLeft-Card": "1px solid rgba(0,0,0,0.5)",
388 | "borderRight-Card": "1px solid rgba(0,0,0,0.5)",
389 | "borderTop-Card": "1px solid rgba(0,0,0,0.5)",
390 | "borderColor-Card": "rgba(0,0,0,0.5)",
391 | "borderStyle-Card": "solid",
392 | "borderWidth-Card": "1px",
393 | });
394 | });
395 |
396 | it("border: thickness, color, style", () => {
397 | const newTheme: Record<string, string> = {
398 | "border-Card": "1px red solid",
399 | };
400 |
401 | const result = generateBorderSegments(newTheme);
402 |
403 | expect(result).deep.equal({
404 | "border-Card": "1px red solid",
405 | "borderBottom-Card": "1px red solid",
406 | "borderLeft-Card": "1px red solid",
407 | "borderRight-Card": "1px red solid",
408 | "borderTop-Card": "1px red solid",
409 | "borderColor-Card": "red",
410 | "borderStyle-Card": "solid",
411 | "borderWidth-Card": "1px",
412 | });
413 | });
414 |
415 | it("border: style, thickness, color", () => {
416 | const newTheme: Record<string, string> = {
417 | "border-Card": "solid 1px red",
418 | };
419 |
420 | const result = generateBorderSegments(newTheme);
421 |
422 | expect(result).deep.equal({
423 | "border-Card": "solid 1px red",
424 | "borderBottom-Card": "solid 1px red",
425 | "borderLeft-Card": "solid 1px red",
426 | "borderRight-Card": "solid 1px red",
427 | "borderTop-Card": "solid 1px red",
428 | "borderColor-Card": "red",
429 | "borderStyle-Card": "solid",
430 | "borderWidth-Card": "1px",
431 | });
432 | });
433 |
434 | it("border: style, color, thickness", () => {
435 | const newTheme: Record<string, string> = {
436 | "border-Card": "solid red 1px",
437 | };
438 |
439 | const result = generateBorderSegments(newTheme);
440 |
441 | expect(result).deep.equal({
442 | "border-Card": "solid red 1px",
443 | "borderBottom-Card": "solid red 1px",
444 | "borderLeft-Card": "solid red 1px",
445 | "borderRight-Card": "solid red 1px",
446 | "borderTop-Card": "solid red 1px",
447 | "borderColor-Card": "red",
448 | "borderStyle-Card": "solid",
449 | "borderWidth-Card": "1px",
450 | });
451 | });
452 |
453 | it("border: color, thickness, style", () => {
454 | const newTheme: Record<string, string> = {
455 | "border-Card": "red 1px solid",
456 | };
457 |
458 | const result = generateBorderSegments(newTheme);
459 |
460 | expect(result).deep.equal({
461 | "border-Card": "red 1px solid",
462 | "borderBottom-Card": "red 1px solid",
463 | "borderLeft-Card": "red 1px solid",
464 | "borderRight-Card": "red 1px solid",
465 | "borderTop-Card": "red 1px solid",
466 | "borderColor-Card": "red",
467 | "borderStyle-Card": "solid",
468 | "borderWidth-Card": "1px",
469 | });
470 | });
471 |
472 | it("border: color, style, thickness", () => {
473 | const newTheme: Record<string, string> = {
474 | "border-Card": "red solid 1px",
475 | };
476 |
477 | const result = generateBorderSegments(newTheme);
478 |
479 | expect(result).deep.equal({
480 | "border-Card": "red solid 1px",
481 | "borderBottom-Card": "red solid 1px",
482 | "borderLeft-Card": "red solid 1px",
483 | "borderRight-Card": "red solid 1px",
484 | "borderTop-Card": "red solid 1px",
485 | "borderColor-Card": "red",
486 | "borderStyle-Card": "solid",
487 | "borderWidth-Card": "1px",
488 | });
489 | });
490 |
491 | it("border: thickness, color", () => {
492 | const newTheme: Record<string, string> = {
493 | "border-Card": "1px red",
494 | };
495 |
496 | const result = generateBorderSegments(newTheme);
497 |
498 | expect(result).deep.equal({
499 | "border-Card": "1px red",
500 | "borderBottom-Card": "1px red",
501 | "borderLeft-Card": "1px red",
502 | "borderRight-Card": "1px red",
503 | "borderTop-Card": "1px red",
504 | "borderColor-Card": "red",
505 | "borderStyle-Card": undefined,
506 | "borderWidth-Card": "1px",
507 | });
508 | });
509 |
510 | it("border: thickness, style", () => {
511 | const newTheme: Record<string, string> = {
512 | "border-Card": "1px solid",
513 | };
514 |
515 | const result = generateBorderSegments(newTheme);
516 |
517 | expect(result).deep.equal({
518 | "border-Card": "1px solid",
519 | "borderBottom-Card": "1px solid",
520 | "borderLeft-Card": "1px solid",
521 | "borderRight-Card": "1px solid",
522 | "borderTop-Card": "1px solid",
523 | "borderColor-Card": undefined,
524 | "borderStyle-Card": "solid",
525 | "borderWidth-Card": "1px",
526 | });
527 | });
528 |
529 | it("border: thickness, color", () => {
530 | const newTheme: Record<string, string> = {
531 | "border-Card": "1px red",
532 | };
533 |
534 | const result = generateBorderSegments(newTheme);
535 |
536 | expect(result).deep.equal({
537 | "border-Card": "1px red",
538 | "borderBottom-Card": "1px red",
539 | "borderLeft-Card": "1px red",
540 | "borderRight-Card": "1px red",
541 | "borderTop-Card": "1px red",
542 | "borderColor-Card": "red",
543 | "borderStyle-Card": undefined,
544 | "borderWidth-Card": "1px",
545 | });
546 | });
547 |
548 | it("border: thickness, style, VAR", () => {
549 | const newTheme: Record<string, string> = {
550 | "border-Card": "1px solid $some-color",
551 | };
552 |
553 | const result = generateBorderSegments(newTheme);
554 |
555 | expect(result).deep.equal({
556 | "border-Card": "1px solid $some-color",
557 | "borderBottom-Card": "1px solid $some-color",
558 | "borderLeft-Card": "1px solid $some-color",
559 | "borderRight-Card": "1px solid $some-color",
560 | "borderTop-Card": "1px solid $some-color",
561 | "borderColor-Card": "$some-color",
562 | "borderStyle-Card": "solid",
563 | "borderWidth-Card": "1px",
564 | });
565 | });
566 |
567 | it("border: style, thickness, VAR", () => {
568 | const newTheme: Record<string, string> = {
569 | "border-Card": "solid 1px $some-color",
570 | };
571 |
572 | const result = generateBorderSegments(newTheme);
573 |
574 | expect(result).deep.equal({
575 | "border-Card": "solid 1px $some-color",
576 | "borderBottom-Card": "solid 1px $some-color",
577 | "borderLeft-Card": "solid 1px $some-color",
578 | "borderRight-Card": "solid 1px $some-color",
579 | "borderTop-Card": "solid 1px $some-color",
580 | "borderColor-Card": "$some-color",
581 | "borderStyle-Card": "solid",
582 | "borderWidth-Card": "1px",
583 | });
584 | });
585 |
586 | it("border: thickness, VAR, color", () => {
587 | const newTheme: Record<string, string> = {
588 | "border-Card": "1px $some-style red",
589 | };
590 |
591 | const result = generateBorderSegments(newTheme);
592 |
593 | expect(result).deep.equal({
594 | "border-Card": "1px $some-style red",
595 | "borderBottom-Card": "1px $some-style red",
596 | "borderLeft-Card": "1px $some-style red",
597 | "borderRight-Card": "1px $some-style red",
598 | "borderTop-Card": "1px $some-style red",
599 | "borderColor-Card": "red",
600 | "borderStyle-Card": "$some-style",
601 | "borderWidth-Card": "1px",
602 | });
603 | });
604 |
605 | it("border: color, VAR, thickness", () => {
606 | const newTheme: Record<string, string> = {
607 | "border-Card": "red $some-style 1px",
608 | };
609 |
610 | const result = generateBorderSegments(newTheme);
611 |
612 | expect(result).deep.equal({
613 | "border-Card": "red $some-style 1px",
614 | "borderBottom-Card": "red $some-style 1px",
615 | "borderLeft-Card": "red $some-style 1px",
616 | "borderRight-Card": "red $some-style 1px",
617 | "borderTop-Card": "red $some-style 1px",
618 | "borderColor-Card": "red",
619 | "borderStyle-Card": "$some-style",
620 | "borderWidth-Card": "1px",
621 | });
622 | });
623 |
624 | it("border: VAR, style, color", () => {
625 | const newTheme: Record<string, string> = {
626 | "border-Card": "$some-thickness solid red",
627 | };
628 |
629 | const result = generateBorderSegments(newTheme);
630 |
631 | expect(result).deep.equal({
632 | "border-Card": "$some-thickness solid red",
633 | "borderBottom-Card": "$some-thickness solid red",
634 | "borderLeft-Card": "$some-thickness solid red",
635 | "borderRight-Card": "$some-thickness solid red",
636 | "borderTop-Card": "$some-thickness solid red",
637 | "borderColor-Card": "red",
638 | "borderStyle-Card": "solid",
639 | "borderWidth-Card": "$some-thickness",
640 | });
641 | });
642 |
643 | it("border: VAR, color, style", () => {
644 | const newTheme: Record<string, string> = {
645 | "border-Card": "$some-thickness red solid",
646 | };
647 |
648 | const result = generateBorderSegments(newTheme);
649 |
650 | expect(result).deep.equal({
651 | "border-Card": "$some-thickness red solid",
652 | "borderBottom-Card": "$some-thickness red solid",
653 | "borderLeft-Card": "$some-thickness red solid",
654 | "borderRight-Card": "$some-thickness red solid",
655 | "borderTop-Card": "$some-thickness red solid",
656 | "borderColor-Card": "red",
657 | "borderStyle-Card": "solid",
658 | "borderWidth-Card": "$some-thickness",
659 | });
660 | });
661 |
662 | it("border: thickness, VAR1, VAR2", () => {
663 | const newTheme: Record<string, string> = {
664 | "border-Card": "1px $some-style $some-color",
665 | };
666 |
667 | const result = generateBorderSegments(newTheme);
668 |
669 | expect(result).deep.equal({
670 | "border-Card": "1px $some-style $some-color",
671 | "borderBottom-Card": "1px $some-style $some-color",
672 | "borderLeft-Card": "1px $some-style $some-color",
673 | "borderRight-Card": "1px $some-style $some-color",
674 | "borderTop-Card": "1px $some-style $some-color",
675 | "borderColor-Card": "$some-color",
676 | "borderStyle-Card": "$some-style",
677 | "borderWidth-Card": "1px",
678 | });
679 | });
680 |
681 | it("border: VAR1, style, VAR2", () => {
682 | const newTheme: Record<string, string> = {
683 | "border-Card": "$some-thickness solid $some-color",
684 | };
685 |
686 | const result = generateBorderSegments(newTheme);
687 |
688 | expect(result).deep.equal({
689 | "border-Card": "$some-thickness solid $some-color",
690 | "borderBottom-Card": "$some-thickness solid $some-color",
691 | "borderLeft-Card": "$some-thickness solid $some-color",
692 | "borderRight-Card": "$some-thickness solid $some-color",
693 | "borderTop-Card": "$some-thickness solid $some-color",
694 | "borderColor-Card": "$some-color",
695 | "borderStyle-Card": "solid",
696 | "borderWidth-Card": "$some-thickness",
697 | });
698 | });
699 |
700 | it("border: VAR1, VAR2, color", () => {
701 | const newTheme: Record<string, string> = {
702 | "border-Card": "$some-thickness $some-style red",
703 | };
704 |
705 | const result = generateBorderSegments(newTheme);
706 |
707 | expect(result).deep.equal({
708 | "border-Card": "$some-thickness $some-style red",
709 | "borderBottom-Card": "$some-thickness $some-style red",
710 | "borderLeft-Card": "$some-thickness $some-style red",
711 | "borderRight-Card": "$some-thickness $some-style red",
712 | "borderTop-Card": "$some-thickness $some-style red",
713 | "borderColor-Card": "red",
714 | "borderStyle-Card": "$some-style",
715 | "borderWidth-Card": "$some-thickness",
716 | });
717 | });
718 |
719 | it("border: VAR1, VAR2, VAR3", () => {
720 | const newTheme: Record<string, string> = {
721 | "border-Card": "$some-thickness $some-style $some-color",
722 | };
723 |
724 | const result = generateBorderSegments(newTheme);
725 |
726 | expect(result).deep.equal({
727 | "border-Card": "$some-thickness $some-style $some-color",
728 | "borderBottom-Card": "$some-thickness $some-style $some-color",
729 | "borderLeft-Card": "$some-thickness $some-style $some-color",
730 | "borderRight-Card": "$some-thickness $some-style $some-color",
731 | "borderTop-Card": "$some-thickness $some-style $some-color",
732 | "borderColor-Card": "$some-color",
733 | "borderStyle-Card": "$some-style",
734 | "borderWidth-Card": "$some-thickness",
735 | });
736 | });
737 |
738 | it("border-Card", () => {
739 | const newTheme: Record<string, string> = {
740 | "border-Card": "dotted rgb(255, 0, 0) 5px",
741 | };
742 |
743 | const result = generateBorderSegments(newTheme);
744 |
745 | expect(result).deep.equal({
746 | "border-Card": "dotted rgb(255, 0, 0) 5px",
747 | "borderBottom-Card": "dotted rgb(255, 0, 0) 5px",
748 | "borderLeft-Card": "dotted rgb(255, 0, 0) 5px",
749 | "borderRight-Card": "dotted rgb(255, 0, 0) 5px",
750 | "borderTop-Card": "dotted rgb(255, 0, 0) 5px",
751 | "borderColor-Card": "rgb(255, 0, 0)",
752 | "borderStyle-Card": "dotted",
753 | "borderWidth-Card": "5px",
754 | });
755 | });
756 |
757 | it("borderLeft: thickness, style, color", () => {
758 | const newTheme: Record<string, string> = {
759 | "borderLeft-Card": "1px solid red",
760 | };
761 |
762 | const result = generateBorderSegments(newTheme);
763 |
764 | expect(result).deep.equal({
765 | "borderLeft-Card": "1px solid red",
766 | "borderLeftColor-Card": "red",
767 | "borderLeftStyle-Card": "solid",
768 | "borderLeftWidth-Card": "1px",
769 | });
770 | });
771 |
772 | it("borderRight: thickness, style, color", () => {
773 | const newTheme: Record<string, string> = {
774 | "borderRight-Card": "1px solid red",
775 | };
776 |
777 | const result = generateBorderSegments(newTheme);
778 |
779 | expect(result).deep.equal({
780 | "borderRight-Card": "1px solid red",
781 | "borderRightColor-Card": "red",
782 | "borderRightStyle-Card": "solid",
783 | "borderRightWidth-Card": "1px",
784 | });
785 | });
786 |
787 | it("borderHorizontal: thickness, style, color", () => {
788 | const newTheme: Record<string, string> = {
789 | "borderHorizontal-Card": "1px solid red",
790 | };
791 |
792 | const result = generateBorderSegments(newTheme);
793 |
794 | expect(result).deep.equal({
795 | "borderHorizontal-Card": "1px solid red",
796 | "borderLeft-Card": "1px solid red",
797 | "borderRight-Card": "1px solid red",
798 | "borderLeftColor-Card": "red",
799 | "borderRightColor-Card": "red",
800 | "borderLeftStyle-Card": "solid",
801 | "borderRightStyle-Card": "solid",
802 | "borderLeftWidth-Card": "1px",
803 | "borderRightWidth-Card": "1px",
804 | });
805 | });
806 |
807 | it("borderTop: thickness, style, color", () => {
808 | const newTheme: Record<string, string> = {
809 | "borderTop-Card": "1px solid red",
810 | };
811 |
812 | const result = generateBorderSegments(newTheme);
813 |
814 | expect(result).deep.equal({
815 | "borderTop-Card": "1px solid red",
816 | "borderTopColor-Card": "red",
817 | "borderTopStyle-Card": "solid",
818 | "borderTopWidth-Card": "1px",
819 | });
820 | });
821 |
822 | it("borderBottom: thickness, style, color", () => {
823 | const newTheme: Record<string, string> = {
824 | "borderBottom-Card": "1px solid red",
825 | };
826 |
827 | const result = generateBorderSegments(newTheme);
828 |
829 | expect(result).deep.equal({
830 | "borderBottom-Card": "1px solid red",
831 | "borderBottomColor-Card": "red",
832 | "borderBottomStyle-Card": "solid",
833 | "borderBottomWidth-Card": "1px",
834 | });
835 | });
836 |
837 | it("borderVertical: thickness, style, color", () => {
838 | const newTheme: Record<string, string> = {
839 | "borderVertical-Card": "1px solid red",
840 | };
841 |
842 | const result = generateBorderSegments(newTheme);
843 |
844 | expect(result).deep.equal({
845 | "borderBottom-Card": "1px solid red",
846 | "borderTop-Card": "1px solid red",
847 | "borderVertical-Card": "1px solid red",
848 | "borderBottomColor-Card": "red",
849 | "borderTopColor-Card": "red",
850 | "borderBottomStyle-Card": "solid",
851 | "borderTopStyle-Card": "solid",
852 | "borderBottomWidth-Card": "1px",
853 | "borderTopWidth-Card": "1px",
854 | });
855 | });
856 |
857 | it("borderLeft: style override", () => {
858 | const newTheme: Record<string, string> = {
859 | "borderStyle-Card": "dotted",
860 | "borderLeft-Card": "1px solid red",
861 | };
862 |
863 | const result = generateBorderSegments(newTheme);
864 |
865 | expect(result).deep.equal({
866 | "borderLeft-Card": "1px solid red",
867 | "borderLeftColor-Card": "red",
868 | "borderStyle-Card": "dotted",
869 | "borderBottomStyle-Card": "dotted",
870 | "borderLeftStyle-Card": "solid",
871 | "borderRightStyle-Card": "dotted",
872 | "borderTopStyle-Card": "dotted",
873 | "borderLeftWidth-Card": "1px",
874 | });
875 | });
876 |
877 | it("borderLeft: thickness override", () => {
878 | const newTheme: Record<string, string> = {
879 | "borderWidth-Card": "2px",
880 | "borderLeft-Card": "1px solid red",
881 | };
882 |
883 | const result = generateBorderSegments(newTheme);
884 |
885 | expect(result).deep.equal({
886 | "borderLeft-Card": "1px solid red",
887 | "borderLeftColor-Card": "red",
888 | "borderLeftStyle-Card": "solid",
889 | "borderWidth-Card": "2px",
890 | "borderBottomWidth-Card": "2px",
891 | "borderLeftWidth-Card": "1px",
892 | "borderRightWidth-Card": "2px",
893 | "borderTopWidth-Card": "2px",
894 | });
895 | });
896 |
897 | it("borderLeft: color override", () => {
898 | const newTheme: Record<string, string> = {
899 | "borderColor-Card": "blue",
900 | "borderLeft-Card": "1px solid red",
901 | };
902 |
903 | const result = generateBorderSegments(newTheme);
904 |
905 | expect(result).deep.equal({
906 | "borderLeft-Card": "1px solid red",
907 | "borderColor-Card": "blue",
908 | "borderBottomColor-Card": "blue",
909 | "borderLeftColor-Card": "red",
910 | "borderRightColor-Card": "blue",
911 | "borderTopColor-Card": "blue",
912 | "borderLeftStyle-Card": "solid",
913 | "borderLeftWidth-Card": "1px",
914 | });
915 | });
916 |
917 | it("borderRight: style override", () => {
918 | const newTheme: Record<string, string> = {
919 | "borderStyle-Card": "dotted",
920 | "borderRight-Card": "1px solid red",
921 | };
922 |
923 | const result = generateBorderSegments(newTheme);
924 |
925 | expect(result).deep.equal({
926 | "borderRight-Card": "1px solid red",
927 | "borderRightColor-Card": "red",
928 | "borderStyle-Card": "dotted",
929 | "borderBottomStyle-Card": "dotted",
930 | "borderLeftStyle-Card": "dotted",
931 | "borderRightStyle-Card": "solid",
932 | "borderTopStyle-Card": "dotted",
933 | "borderRightWidth-Card": "1px",
934 | });
935 | });
936 |
937 | it("borderRight: thickness override", () => {
938 | const newTheme: Record<string, string> = {
939 | "borderWidth-Card": "2px",
940 | "borderRight-Card": "1px solid red",
941 | };
942 |
943 | const result = generateBorderSegments(newTheme);
944 |
945 | expect(result).deep.equal({
946 | "borderRight-Card": "1px solid red",
947 | "borderRightColor-Card": "red",
948 | "borderRightStyle-Card": "solid",
949 | "borderWidth-Card": "2px",
950 | "borderBottomWidth-Card": "2px",
951 | "borderLeftWidth-Card": "2px",
952 | "borderRightWidth-Card": "1px",
953 | "borderTopWidth-Card": "2px",
954 | });
955 | });
956 |
957 | it("borderRight: color override", () => {
958 | const newTheme: Record<string, string> = {
959 | "borderColor-Card": "blue",
960 | "borderRight-Card": "1px solid red",
961 | };
962 |
963 | const result = generateBorderSegments(newTheme);
964 |
965 | expect(result).deep.equal({
966 | "borderRight-Card": "1px solid red",
967 | "borderColor-Card": "blue",
968 | "borderBottomColor-Card": "blue",
969 | "borderLeftColor-Card": "blue",
970 | "borderRightColor-Card": "red",
971 | "borderTopColor-Card": "blue",
972 | "borderRightStyle-Card": "solid",
973 | "borderRightWidth-Card": "1px",
974 | });
975 | });
976 |
977 | it("borderHorizontal: style override", () => {
978 | const newTheme: Record<string, string> = {
979 | "borderStyle-Card": "dotted",
980 | "borderHorizontal-Card": "1px solid red",
981 | };
982 |
983 | const result = generateBorderSegments(newTheme);
984 |
985 | expect(result).deep.equal({
986 | "borderHorizontal-Card": "1px solid red",
987 | "borderLeft-Card": "1px solid red",
988 | "borderRight-Card": "1px solid red",
989 | "borderLeftColor-Card": "red",
990 | "borderRightColor-Card": "red",
991 | "borderStyle-Card": "dotted",
992 | "borderBottomStyle-Card": "dotted",
993 | "borderLeftStyle-Card": "solid",
994 | "borderRightStyle-Card": "solid",
995 | "borderTopStyle-Card": "dotted",
996 | "borderLeftWidth-Card": "1px",
997 | "borderRightWidth-Card": "1px",
998 | });
999 | });
1000 |
1001 | it("borderHorizontal: thickness override", () => {
1002 | const newTheme: Record<string, string> = {
1003 | "borderWidth-Card": "2px",
1004 | "borderHorizontal-Card": "1px solid red",
1005 | };
1006 |
1007 | const result = generateBorderSegments(newTheme);
1008 |
1009 | expect(result).deep.equal({
1010 | "borderHorizontal-Card": "1px solid red",
1011 | "borderLeft-Card": "1px solid red",
1012 | "borderRight-Card": "1px solid red",
1013 | "borderLeftColor-Card": "red",
1014 | "borderRightColor-Card": "red",
1015 | "borderLeftStyle-Card": "solid",
1016 | "borderRightStyle-Card": "solid",
1017 | "borderWidth-Card": "2px",
1018 | "borderBottomWidth-Card": "2px",
1019 | "borderLeftWidth-Card": "1px",
1020 | "borderRightWidth-Card": "1px",
1021 | "borderTopWidth-Card": "2px",
1022 | });
1023 | });
1024 |
1025 | it("borderHorizontal: color override", () => {
1026 | const newTheme: Record<string, string> = {
1027 | "borderColor-Card": "blue",
1028 | "borderHorizontal-Card": "1px solid red",
1029 | };
1030 |
1031 | const result = generateBorderSegments(newTheme);
1032 |
1033 | expect(result).deep.equal({
1034 | "borderHorizontal-Card": "1px solid red",
1035 | "borderLeft-Card": "1px solid red",
1036 | "borderRight-Card": "1px solid red",
1037 | "borderColor-Card": "blue",
1038 | "borderBottomColor-Card": "blue",
1039 | "borderLeftColor-Card": "red",
1040 | "borderRightColor-Card": "red",
1041 | "borderTopColor-Card": "blue",
1042 | "borderLeftStyle-Card": "solid",
1043 | "borderRightStyle-Card": "solid",
1044 | "borderLeftWidth-Card": "1px",
1045 | "borderRightWidth-Card": "1px",
1046 | });
1047 | });
1048 |
1049 | it("borderTop: style override", () => {
1050 | const newTheme: Record<string, string> = {
1051 | "borderStyle-Card": "dotted",
1052 | "borderTop-Card": "1px solid red",
1053 | };
1054 |
1055 | const result = generateBorderSegments(newTheme);
1056 |
1057 | expect(result).deep.equal({
1058 | "borderTop-Card": "1px solid red",
1059 | "borderTopColor-Card": "red",
1060 | "borderStyle-Card": "dotted",
1061 | "borderBottomStyle-Card": "dotted",
1062 | "borderLeftStyle-Card": "dotted",
1063 | "borderRightStyle-Card": "dotted",
1064 | "borderTopStyle-Card": "solid",
1065 | "borderTopWidth-Card": "1px",
1066 | });
1067 | });
1068 |
1069 | it("borderTop: thickness override", () => {
1070 | const newTheme: Record<string, string> = {
1071 | "borderWidth-Card": "2px",
1072 | "borderTop-Card": "1px solid red",
1073 | };
1074 |
1075 | const result = generateBorderSegments(newTheme);
1076 |
1077 | expect(result).deep.equal({
1078 | "borderTop-Card": "1px solid red",
1079 | "borderTopColor-Card": "red",
1080 | "borderTopStyle-Card": "solid",
1081 | "borderWidth-Card": "2px",
1082 | "borderBottomWidth-Card": "2px",
1083 | "borderLeftWidth-Card": "2px",
1084 | "borderRightWidth-Card": "2px",
1085 | "borderTopWidth-Card": "1px",
1086 | });
1087 | });
1088 |
1089 | it("borderTop: color override", () => {
1090 | const newTheme: Record<string, string> = {
1091 | "borderColor-Card": "blue",
1092 | "borderTop-Card": "1px solid red",
1093 | };
1094 |
1095 | const result = generateBorderSegments(newTheme);
1096 |
1097 | expect(result).deep.equal({
1098 | "borderTop-Card": "1px solid red",
1099 | "borderColor-Card": "blue",
1100 | "borderBottomColor-Card": "blue",
1101 | "borderLeftColor-Card": "blue",
1102 | "borderRightColor-Card": "blue",
1103 | "borderTopColor-Card": "red",
1104 | "borderTopStyle-Card": "solid",
1105 | "borderTopWidth-Card": "1px",
1106 | });
1107 | });
1108 |
1109 | it("borderBottom: style override", () => {
1110 | const newTheme: Record<string, string> = {
1111 | "borderStyle-Card": "dotted",
1112 | "borderBottom-Card": "1px solid red",
1113 | };
1114 |
1115 | const result = generateBorderSegments(newTheme);
1116 |
1117 | expect(result).deep.equal({
1118 | "borderBottom-Card": "1px solid red",
1119 | "borderBottomColor-Card": "red",
1120 | "borderStyle-Card": "dotted",
1121 | "borderBottomStyle-Card": "solid",
1122 | "borderLeftStyle-Card": "dotted",
1123 | "borderRightStyle-Card": "dotted",
1124 | "borderTopStyle-Card": "dotted",
1125 | "borderBottomWidth-Card": "1px",
1126 | });
1127 | });
1128 |
1129 | it("borderBottom: thickness override", () => {
1130 | const newTheme: Record<string, string> = {
1131 | "borderWidth-Card": "2px",
1132 | "borderBottom-Card": "1px solid red",
1133 | };
1134 |
1135 | const result = generateBorderSegments(newTheme);
1136 |
1137 | expect(result).deep.equal({
1138 | "borderBottom-Card": "1px solid red",
1139 | "borderBottomColor-Card": "red",
1140 | "borderBottomStyle-Card": "solid",
1141 | "borderWidth-Card": "2px",
1142 | "borderBottomWidth-Card": "1px",
1143 | "borderLeftWidth-Card": "2px",
1144 | "borderRightWidth-Card": "2px",
1145 | "borderTopWidth-Card": "2px",
1146 | });
1147 | });
1148 |
1149 | it("borderBottom: color override", () => {
1150 | const newTheme: Record<string, string> = {
1151 | "borderColor-Card": "blue",
1152 | "borderBottom-Card": "1px solid red",
1153 | };
1154 |
1155 | const result = generateBorderSegments(newTheme);
1156 |
1157 | expect(result).deep.equal({
1158 | "borderBottom-Card": "1px solid red",
1159 | "borderColor-Card": "blue",
1160 | "borderBottomColor-Card": "red",
1161 | "borderLeftColor-Card": "blue",
1162 | "borderRightColor-Card": "blue",
1163 | "borderTopColor-Card": "blue",
1164 | "borderBottomStyle-Card": "solid",
1165 | "borderBottomWidth-Card": "1px",
1166 | });
1167 | });
1168 |
1169 | it("borderVertical: style override", () => {
1170 | const newTheme: Record<string, string> = {
1171 | "borderStyle-Card": "dotted",
1172 | "borderVertical-Card": "1px solid red",
1173 | };
1174 |
1175 | const result = generateBorderSegments(newTheme);
1176 |
1177 | expect(result).deep.equal({
1178 | "borderBottom-Card": "1px solid red",
1179 | "borderTop-Card": "1px solid red",
1180 | "borderVertical-Card": "1px solid red",
1181 | "borderBottomColor-Card": "red",
1182 | "borderTopColor-Card": "red",
1183 | "borderStyle-Card": "dotted",
1184 | "borderBottomStyle-Card": "solid",
1185 | "borderLeftStyle-Card": "dotted",
1186 | "borderRightStyle-Card": "dotted",
1187 | "borderTopStyle-Card": "solid",
1188 | "borderBottomWidth-Card": "1px",
1189 | "borderTopWidth-Card": "1px",
1190 | });
1191 | });
1192 |
1193 | it("borderVertical: thickness override", () => {
1194 | const newTheme: Record<string, string> = {
1195 | "borderWidth-Card": "2px",
1196 | "borderVertical-Card": "1px solid red",
1197 | };
1198 |
1199 | const result = generateBorderSegments(newTheme);
1200 |
1201 | expect(result).deep.equal({
1202 | "borderBottom-Card": "1px solid red",
1203 | "borderTop-Card": "1px solid red",
1204 | "borderVertical-Card": "1px solid red",
1205 | "borderBottomColor-Card": "red",
1206 | "borderTopColor-Card": "red",
1207 | "borderBottomStyle-Card": "solid",
1208 | "borderTopStyle-Card": "solid",
1209 | "borderWidth-Card": "2px",
1210 | "borderBottomWidth-Card": "1px",
1211 | "borderLeftWidth-Card": "2px",
1212 | "borderRightWidth-Card": "2px",
1213 | "borderTopWidth-Card": "1px",
1214 | });
1215 | });
1216 |
1217 | it("borderVertical: color override", () => {
1218 | const newTheme: Record<string, string> = {
1219 | "borderColor-Card": "blue",
1220 | "borderVertical-Card": "1px solid red",
1221 | };
1222 |
1223 | const result = generateBorderSegments(newTheme);
1224 |
1225 | expect(result).deep.equal({
1226 | "borderBottom-Card": "1px solid red",
1227 | "borderTop-Card": "1px solid red",
1228 | "borderVertical-Card": "1px solid red",
1229 | "borderColor-Card": "blue",
1230 | "borderBottomColor-Card": "red",
1231 | "borderLeftColor-Card": "blue",
1232 | "borderRightColor-Card": "blue",
1233 | "borderTopColor-Card": "red",
1234 | "borderBottomStyle-Card": "solid",
1235 | "borderTopStyle-Card": "solid",
1236 | "borderBottomWidth-Card": "1px",
1237 | "borderTopWidth-Card": "1px",
1238 | });
1239 | });
1240 | });
1241 |
```