This is page 86 of 186. Use http://codebase.md/xmlui-org/xmlui/tools/vscode/resources/%7Bsrc%7D?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .changeset
│ ├── config.json
│ └── cyan-tools-design.md
├── .eslintrc.cjs
├── .github
│ ├── build-checklist.png
│ ├── ISSUE_TEMPLATE
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ └── workflows
│ ├── deploy-blog-optimized.yml
│ ├── deploy-blog-swa.yml
│ ├── deploy-blog.yml
│ ├── deploy-docs-optimized.yml
│ ├── deploy-docs-swa.yml
│ ├── deploy-docs.yml
│ ├── prepare-versions.yml
│ ├── release-packages.yml
│ ├── run-all-tests.yml
│ └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│ ├── launch.json
│ └── settings.json
├── blog
│ ├── .gitignore
│ ├── .gitkeep
│ ├── CHANGELOG.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── blog
│ │ │ ├── images
│ │ │ │ ├── an-advanced-codefence.gif
│ │ │ │ ├── an-advanced-codefence.mp4
│ │ │ │ ├── blog-page-component.png
│ │ │ │ ├── blog-scrabble.png
│ │ │ │ ├── codefence-runner.png
│ │ │ │ ├── integrated-blog-search.png
│ │ │ │ ├── lorem-ipsum.png
│ │ │ │ ├── playground-checkbox-source.png
│ │ │ │ ├── playground.png
│ │ │ │ ├── use-xmlui-mcp-to-find-a-howto.png
│ │ │ │ └── xmlui-demo-gallery.png
│ │ │ ├── introducing-xmlui.md
│ │ │ ├── lorem-ipsum.md
│ │ │ ├── newest-post.md
│ │ │ ├── older-post.md
│ │ │ ├── xmlui-playground.md
│ │ │ └── xmlui-powered-blog.md
│ │ ├── mockServiceWorker.js
│ │ ├── resources
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ └── for-download
│ │ │ │ └── xmlui
│ │ │ │ └── xmlui-standalone.umd.js
│ │ │ ├── github.svg
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ ├── rss.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ ├── staticwebapp.config.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ └── PageNotFound.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── blog-theme.ts
│ └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── ComponentRefLinks.txt
│ ├── content
│ │ ├── _meta.json
│ │ ├── components
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── APICall.md
│ │ │ ├── App.md
│ │ │ ├── AppHeader.md
│ │ │ ├── AppState.md
│ │ │ ├── AutoComplete.md
│ │ │ ├── Avatar.md
│ │ │ ├── Backdrop.md
│ │ │ ├── Badge.md
│ │ │ ├── BarChart.md
│ │ │ ├── Bookmark.md
│ │ │ ├── Breakout.md
│ │ │ ├── Button.md
│ │ │ ├── Card.md
│ │ │ ├── Carousel.md
│ │ │ ├── ChangeListener.md
│ │ │ ├── Checkbox.md
│ │ │ ├── CHStack.md
│ │ │ ├── ColorPicker.md
│ │ │ ├── Column.md
│ │ │ ├── ContentSeparator.md
│ │ │ ├── CVStack.md
│ │ │ ├── DataSource.md
│ │ │ ├── DateInput.md
│ │ │ ├── DatePicker.md
│ │ │ ├── DonutChart.md
│ │ │ ├── DropdownMenu.md
│ │ │ ├── EmojiSelector.md
│ │ │ ├── ExpandableItem.md
│ │ │ ├── FileInput.md
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FlowLayout.md
│ │ │ ├── Footer.md
│ │ │ ├── Form.md
│ │ │ ├── FormItem.md
│ │ │ ├── FormSection.md
│ │ │ ├── Fragment.md
│ │ │ ├── H1.md
│ │ │ ├── H2.md
│ │ │ ├── H3.md
│ │ │ ├── H4.md
│ │ │ ├── H5.md
│ │ │ ├── H6.md
│ │ │ ├── Heading.md
│ │ │ ├── HSplitter.md
│ │ │ ├── HStack.md
│ │ │ ├── Icon.md
│ │ │ ├── IFrame.md
│ │ │ ├── Image.md
│ │ │ ├── Items.md
│ │ │ ├── LabelList.md
│ │ │ ├── Legend.md
│ │ │ ├── LineChart.md
│ │ │ ├── Link.md
│ │ │ ├── List.md
│ │ │ ├── Logo.md
│ │ │ ├── Markdown.md
│ │ │ ├── MenuItem.md
│ │ │ ├── MenuSeparator.md
│ │ │ ├── ModalDialog.md
│ │ │ ├── NavGroup.md
│ │ │ ├── NavLink.md
│ │ │ ├── NavPanel.md
│ │ │ ├── NoResult.md
│ │ │ ├── NumberBox.md
│ │ │ ├── Option.md
│ │ │ ├── Page.md
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── Pages.md
│ │ │ ├── Pagination.md
│ │ │ ├── PasswordInput.md
│ │ │ ├── PieChart.md
│ │ │ ├── ProgressBar.md
│ │ │ ├── Queue.md
│ │ │ ├── RadioGroup.md
│ │ │ ├── RealTimeAdapter.md
│ │ │ ├── Redirect.md
│ │ │ ├── Select.md
│ │ │ ├── Slider.md
│ │ │ ├── Slot.md
│ │ │ ├── SpaceFiller.md
│ │ │ ├── Spinner.md
│ │ │ ├── Splitter.md
│ │ │ ├── Stack.md
│ │ │ ├── StickyBox.md
│ │ │ ├── SubMenuItem.md
│ │ │ ├── Switch.md
│ │ │ ├── TabItem.md
│ │ │ ├── Table.md
│ │ │ ├── TableOfContents.md
│ │ │ ├── Tabs.md
│ │ │ ├── Text.md
│ │ │ ├── TextArea.md
│ │ │ ├── TextBox.md
│ │ │ ├── Theme.md
│ │ │ ├── TimeInput.md
│ │ │ ├── Timer.md
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneSwitch.md
│ │ │ ├── Tooltip.md
│ │ │ ├── Tree.md
│ │ │ ├── VSplitter.md
│ │ │ ├── VStack.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ ├── xmlui-spreadsheet
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Spreadsheet.md
│ │ │ └── xmlui-website-blocks
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── Carousel.md
│ │ │ ├── HelloMd.md
│ │ │ ├── HeroSection.md
│ │ │ └── ScrollToTop.md
│ │ └── extensions
│ │ ├── _meta.json
│ │ ├── xmlui-animations
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ ├── Animation.md
│ │ │ ├── FadeAnimation.md
│ │ │ ├── FadeInAnimation.md
│ │ │ ├── FadeOutAnimation.md
│ │ │ ├── ScaleAnimation.md
│ │ │ └── SlideInAnimation.md
│ │ └── xmlui-website-blocks
│ │ ├── _meta.json
│ │ ├── _overview.md
│ │ ├── Carousel.md
│ │ ├── FancyButton.md
│ │ ├── HeroSection.md
│ │ └── ScrollToTop.md
│ ├── extensions.ts
│ ├── index.html
│ ├── index.ts
│ ├── package.json
│ ├── public
│ │ ├── feed.rss
│ │ ├── mockServiceWorker.js
│ │ ├── pages
│ │ │ ├── _meta.json
│ │ │ ├── app-structure.md
│ │ │ ├── build-editor-component.md
│ │ │ ├── build-hello-world-component.md
│ │ │ ├── components-intro.md
│ │ │ ├── context-variables.md
│ │ │ ├── forms.md
│ │ │ ├── globals.md
│ │ │ ├── glossary.md
│ │ │ ├── helper-tags.md
│ │ │ ├── hosted-deployment.md
│ │ │ ├── howto
│ │ │ │ ├── assign-a-complex-json-literal-to-a-component-variable.md
│ │ │ │ ├── chain-a-refetch.md
│ │ │ │ ├── control-cache-invalidation.md
│ │ │ │ ├── debounce-user-input-for-api-calls.md
│ │ │ │ ├── debounce-with-changelistener.md
│ │ │ │ ├── debug-a-component.md
│ │ │ │ ├── delay-a-datasource-until-another-datasource-is-ready.md
│ │ │ │ ├── delegate-a-method.md
│ │ │ │ ├── do-custom-form-validation.md
│ │ │ │ ├── expose-a-method-from-a-component.md
│ │ │ │ ├── filter-and-transform-data-from-an-api.md
│ │ │ │ ├── group-items-in-list-by-a-property.md
│ │ │ │ ├── handle-background-operations.md
│ │ │ │ ├── hide-an-element-until-its-datasource-is-ready.md
│ │ │ │ ├── make-a-set-of-equal-width-cards.md
│ │ │ │ ├── make-a-table-responsive.md
│ │ │ │ ├── make-navpanel-width-responsive.md
│ │ │ │ ├── modify-a-value-reported-in-a-column.md
│ │ │ │ ├── paginate-a-list.md
│ │ │ │ ├── pass-data-to-a-modal-dialog.md
│ │ │ │ ├── react-to-button-click-not-keystrokes.md
│ │ │ │ ├── set-the-initial-value-of-a-select-from-fetched-data.md
│ │ │ │ ├── share-a-modaldialog-across-components.md
│ │ │ │ ├── sync-selections-between-table-and-list-views.md
│ │ │ │ ├── update-ui-optimistically.md
│ │ │ │ ├── use-built-in-form-validation.md
│ │ │ │ └── use-the-same-modaldialog-to-add-or-edit.md
│ │ │ ├── howto.md
│ │ │ ├── intro.md
│ │ │ ├── layout.md
│ │ │ ├── markup.md
│ │ │ ├── mcp.md
│ │ │ ├── modal-dialogs.md
│ │ │ ├── news-and-reviews.md
│ │ │ ├── reactive-intro.md
│ │ │ ├── refactoring.md
│ │ │ ├── routing-and-links.md
│ │ │ ├── samples
│ │ │ │ ├── color-palette.xmlui
│ │ │ │ ├── color-values.xmlui
│ │ │ │ ├── shadow-sizes.xmlui
│ │ │ │ ├── spacing-sizes.xmlui
│ │ │ │ ├── swatch.xmlui
│ │ │ │ ├── theme-gallery-brief.xmlui
│ │ │ │ └── theme-gallery.xmlui
│ │ │ ├── scoping.md
│ │ │ ├── scripting.md
│ │ │ ├── styles-and-themes
│ │ │ │ ├── common-units.md
│ │ │ │ ├── layout-props.md
│ │ │ │ ├── theme-variable-defaults.md
│ │ │ │ ├── theme-variables.md
│ │ │ │ └── themes.md
│ │ │ ├── template-properties.md
│ │ │ ├── test.md
│ │ │ ├── tutorial-01.md
│ │ │ ├── tutorial-02.md
│ │ │ ├── tutorial-03.md
│ │ │ ├── tutorial-04.md
│ │ │ ├── tutorial-05.md
│ │ │ ├── tutorial-06.md
│ │ │ ├── tutorial-07.md
│ │ │ ├── tutorial-08.md
│ │ │ ├── tutorial-09.md
│ │ │ ├── tutorial-10.md
│ │ │ ├── tutorial-11.md
│ │ │ ├── tutorial-12.md
│ │ │ ├── universal-properties.md
│ │ │ ├── user-defined-components.md
│ │ │ ├── vscode.md
│ │ │ ├── working-with-markdown.md
│ │ │ ├── working-with-text.md
│ │ │ ├── xmlui-animations
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── Animation.md
│ │ │ │ ├── FadeAnimation.md
│ │ │ │ ├── FadeInAnimation.md
│ │ │ │ ├── FadeOutAnimation.md
│ │ │ │ ├── ScaleAnimation.md
│ │ │ │ └── SlideInAnimation.md
│ │ │ ├── xmlui-charts
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── DonutChart.md
│ │ │ │ ├── LabelList.md
│ │ │ │ ├── Legend.md
│ │ │ │ ├── LineChart.md
│ │ │ │ └── PieChart.md
│ │ │ ├── xmlui-pdf
│ │ │ │ ├── _meta.json
│ │ │ │ ├── _overview.md
│ │ │ │ └── Pdf.md
│ │ │ └── xmlui-spreadsheet
│ │ │ ├── _meta.json
│ │ │ ├── _overview.md
│ │ │ └── Spreadsheet.md
│ │ ├── resources
│ │ │ ├── devdocs
│ │ │ │ ├── debug-proxy-object-2.png
│ │ │ │ ├── debug-proxy-object.png
│ │ │ │ ├── table_editor_01.png
│ │ │ │ ├── table_editor_02.png
│ │ │ │ ├── table_editor_03.png
│ │ │ │ ├── table_editor_04.png
│ │ │ │ ├── table_editor_05.png
│ │ │ │ ├── table_editor_06.png
│ │ │ │ ├── table_editor_07.png
│ │ │ │ ├── table_editor_08.png
│ │ │ │ ├── table_editor_09.png
│ │ │ │ ├── table_editor_10.png
│ │ │ │ ├── table_editor_11.png
│ │ │ │ ├── table-editor-01.png
│ │ │ │ ├── table-editor-02.png
│ │ │ │ ├── table-editor-03.png
│ │ │ │ ├── table-editor-04.png
│ │ │ │ ├── table-editor-06.png
│ │ │ │ ├── table-editor-07.png
│ │ │ │ ├── table-editor-08.png
│ │ │ │ ├── table-editor-09.png
│ │ │ │ └── xmlui-rendering-of-tiptap-markdown.png
│ │ │ ├── favicon.ico
│ │ │ ├── files
│ │ │ │ ├── clients.json
│ │ │ │ ├── daily-revenue.json
│ │ │ │ ├── dashboard-stats.json
│ │ │ │ ├── demo.xmlui
│ │ │ │ ├── demo.xmlui.xs
│ │ │ │ ├── downloads
│ │ │ │ │ └── downloads.json
│ │ │ │ ├── for-download
│ │ │ │ │ ├── index-with-api.html
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── mockApi.js
│ │ │ │ │ ├── start-darwin.sh
│ │ │ │ │ ├── start-linux.sh
│ │ │ │ │ ├── start.bat
│ │ │ │ │ └── xmlui
│ │ │ │ │ └── xmlui-standalone.umd.js
│ │ │ │ ├── getting-started
│ │ │ │ │ ├── cl-tutorial-final.zip
│ │ │ │ │ ├── cl-tutorial.zip
│ │ │ │ │ ├── cl-tutorial2.zip
│ │ │ │ │ ├── cl-tutorial3.zip
│ │ │ │ │ ├── cl-tutorial4.zip
│ │ │ │ │ ├── cl-tutorial5.zip
│ │ │ │ │ ├── cl-tutorial6.zip
│ │ │ │ │ ├── getting-started.zip
│ │ │ │ │ ├── hello-xmlui.zip
│ │ │ │ │ ├── xmlui-empty.zip
│ │ │ │ │ └── xmlui-starter.zip
│ │ │ │ ├── howto
│ │ │ │ │ └── component-icons
│ │ │ │ │ └── up-arrow.svg
│ │ │ │ ├── invoices.json
│ │ │ │ ├── monthly-status.json
│ │ │ │ ├── news-and-reviews.json
│ │ │ │ ├── products.json
│ │ │ │ ├── releases.json
│ │ │ │ ├── tutorials
│ │ │ │ │ ├── datasource
│ │ │ │ │ │ └── api.ts
│ │ │ │ │ └── p2do
│ │ │ │ │ ├── api.ts
│ │ │ │ │ └── todo-logo.svg
│ │ │ │ └── xmlui.json
│ │ │ ├── github.svg
│ │ │ ├── images
│ │ │ │ ├── apiaction-tutorial
│ │ │ │ │ ├── add-success.png
│ │ │ │ │ ├── apiaction-param.png
│ │ │ │ │ ├── change-completed.png
│ │ │ │ │ ├── change-in-progress.png
│ │ │ │ │ ├── confirm-delete.png
│ │ │ │ │ ├── data-error.png
│ │ │ │ │ ├── data-progress.png
│ │ │ │ │ ├── data-success.png
│ │ │ │ │ ├── display-1.png
│ │ │ │ │ ├── item-deleted.png
│ │ │ │ │ ├── item-updated.png
│ │ │ │ │ ├── missing-api-key.png
│ │ │ │ │ ├── new-item-added.png
│ │ │ │ │ └── test-message.png
│ │ │ │ ├── chat-api
│ │ │ │ │ └── domain-model.svg
│ │ │ │ ├── components
│ │ │ │ │ ├── image
│ │ │ │ │ │ └── breakfast.jpg
│ │ │ │ │ ├── markdown
│ │ │ │ │ │ └── colors.png
│ │ │ │ │ └── modal
│ │ │ │ │ ├── deep_link_dialog_1.jpg
│ │ │ │ │ └── deep_link_dialog_2.jpg
│ │ │ │ ├── create-apps
│ │ │ │ │ ├── collapsed-vertical.png
│ │ │ │ │ ├── using-forms-warning-dialog.png
│ │ │ │ │ └── using-forms.png
│ │ │ │ ├── datasource-tutorial
│ │ │ │ │ ├── data-with-header.png
│ │ │ │ │ ├── filtered-data.png
│ │ │ │ │ ├── filtered-items.png
│ │ │ │ │ ├── initial-page-items.png
│ │ │ │ │ ├── list-items.png
│ │ │ │ │ ├── next-page-items.png
│ │ │ │ │ ├── no-data.png
│ │ │ │ │ ├── pagination-1.jpg
│ │ │ │ │ ├── pagination-1.png
│ │ │ │ │ ├── polling-1.png
│ │ │ │ │ ├── refetch-data.png
│ │ │ │ │ ├── slow-loading.png
│ │ │ │ │ ├── test-message.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── unconventional-data.png
│ │ │ │ │ └── unfiltered-items.png
│ │ │ │ ├── flower.jpg
│ │ │ │ ├── get-started
│ │ │ │ │ ├── add-new-contact.png
│ │ │ │ │ ├── app-modified.png
│ │ │ │ │ ├── app-start.png
│ │ │ │ │ ├── app-with-boxes.png
│ │ │ │ │ ├── app-with-toast.png
│ │ │ │ │ ├── boilerplate-structure.png
│ │ │ │ │ ├── cl-initial.png
│ │ │ │ │ ├── cl-start.png
│ │ │ │ │ ├── contact-counts.png
│ │ │ │ │ ├── contact-dialog-title.png
│ │ │ │ │ ├── contact-dialog.png
│ │ │ │ │ ├── contact-menus.png
│ │ │ │ │ ├── contact-predicates.png
│ │ │ │ │ ├── context-menu.png
│ │ │ │ │ ├── dashboard-numbers.png
│ │ │ │ │ ├── default-contact-list.png
│ │ │ │ │ ├── delete-contact.png
│ │ │ │ │ ├── delete-task.png
│ │ │ │ │ ├── detailed-template.png
│ │ │ │ │ ├── edit-contact-details.png
│ │ │ │ │ ├── edited-contact-saved.png
│ │ │ │ │ ├── empty-sections.png
│ │ │ │ │ ├── filter-completed.png
│ │ │ │ │ ├── fullwidth-desktop.png
│ │ │ │ │ ├── fullwidth-mobile.png
│ │ │ │ │ ├── initial-table.png
│ │ │ │ │ ├── items-and-badges.png
│ │ │ │ │ ├── loading-message.png
│ │ │ │ │ ├── new-contact-button.png
│ │ │ │ │ ├── new-contact-saved.png
│ │ │ │ │ ├── no-empty-sections.png
│ │ │ │ │ ├── personal-todo-initial.png
│ │ │ │ │ ├── piechart.png
│ │ │ │ │ ├── review-today.png
│ │ │ │ │ ├── rudimentary-dashboard.png
│ │ │ │ │ ├── section-collapsed.png
│ │ │ │ │ ├── sectioned-items.png
│ │ │ │ │ ├── sections-ordered.png
│ │ │ │ │ ├── spacex-list-with-links.png
│ │ │ │ │ ├── spacex-list.png
│ │ │ │ │ ├── start-personal-todo-1.png
│ │ │ │ │ ├── submit-new-contact.png
│ │ │ │ │ ├── submit-new-task.png
│ │ │ │ │ ├── syntax-highlighting.png
│ │ │ │ │ ├── table-with-badge.png
│ │ │ │ │ ├── template-with-card.png
│ │ │ │ │ ├── test-emulated-api.png
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── todo-logo.png
│ │ │ │ │ └── xmlui-tools.png
│ │ │ │ ├── HelloApp.png
│ │ │ │ ├── HelloApp2.png
│ │ │ │ ├── logos
│ │ │ │ │ ├── xmlui1.svg
│ │ │ │ │ ├── xmlui2.svg
│ │ │ │ │ ├── xmlui3.svg
│ │ │ │ │ ├── xmlui4.svg
│ │ │ │ │ ├── xmlui5.svg
│ │ │ │ │ ├── xmlui6.svg
│ │ │ │ │ └── xmlui7.svg
│ │ │ │ ├── pdf
│ │ │ │ │ └── dummy-pdf.jpg
│ │ │ │ ├── rendering-engine
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ ├── Component.svg
│ │ │ │ │ ├── CompoundComponent.svg
│ │ │ │ │ ├── RootComponent.svg
│ │ │ │ │ └── tree-with-containers.svg
│ │ │ │ ├── reviewers-guide
│ │ │ │ │ ├── AppEngine-flow.svg
│ │ │ │ │ └── incbutton-in-action.png
│ │ │ │ ├── tools
│ │ │ │ │ └── boilerplate-structure.png
│ │ │ │ ├── try.svg
│ │ │ │ ├── tutorial
│ │ │ │ │ ├── app-chat-history.png
│ │ │ │ │ ├── app-content-placeholder.png
│ │ │ │ │ ├── app-header-and-content.png
│ │ │ │ │ ├── app-links-channel-selected.png
│ │ │ │ │ ├── app-links-click.png
│ │ │ │ │ ├── app-navigation.png
│ │ │ │ │ ├── finished-ex01.png
│ │ │ │ │ ├── finished-ex02.png
│ │ │ │ │ ├── hello.png
│ │ │ │ │ ├── splash-screen-advanced.png
│ │ │ │ │ ├── splash-screen-after-click.png
│ │ │ │ │ ├── splash-screen-centered.png
│ │ │ │ │ ├── splash-screen-events.png
│ │ │ │ │ ├── splash-screen-expression.png
│ │ │ │ │ ├── splash-screen-reuse-after.png
│ │ │ │ │ ├── splash-screen-reuse-before.png
│ │ │ │ │ └── splash-screen.png
│ │ │ │ └── tutorial-01.png
│ │ │ ├── llms.txt
│ │ │ ├── logo-dark.svg
│ │ │ ├── logo.svg
│ │ │ ├── pg-popout.svg
│ │ │ └── xmlui-logo.svg
│ │ ├── serve.json
│ │ └── web.config
│ ├── scripts
│ │ ├── download-latest-xmlui.js
│ │ ├── generate-rss.js
│ │ ├── get-releases.js
│ │ └── utils.js
│ ├── src
│ │ ├── components
│ │ │ ├── BlogOverview.xmlui
│ │ │ ├── BlogPage.xmlui
│ │ │ ├── Boxes.xmlui
│ │ │ ├── Breadcrumb.xmlui
│ │ │ ├── ChangeLog.xmlui
│ │ │ ├── ColorPalette.xmlui
│ │ │ ├── DocumentLinks.xmlui
│ │ │ ├── DocumentPage.xmlui
│ │ │ ├── DocumentPageNoTOC.xmlui
│ │ │ ├── Icons.xmlui
│ │ │ ├── IncButton.xmlui
│ │ │ ├── IncButton2.xmlui
│ │ │ ├── NameValue.xmlui
│ │ │ ├── PageNotFound.xmlui
│ │ │ ├── PaletteItem.xmlui
│ │ │ ├── Palettes.xmlui
│ │ │ ├── SectionHeader.xmlui
│ │ │ ├── TBD.xmlui
│ │ │ ├── Test.xmlui
│ │ │ ├── ThemesIntro.xmlui
│ │ │ ├── ThousandThemes.xmlui
│ │ │ ├── TubeStops.xmlui
│ │ │ ├── TubeStops.xmlui.xs
│ │ │ └── TwoColumnCode.xmlui
│ │ ├── config.ts
│ │ ├── Main.xmlui
│ │ └── themes
│ │ ├── docs-theme.ts
│ │ ├── earthtone.ts
│ │ ├── xmlui-gray-on-default.ts
│ │ ├── xmlui-green-on-default.ts
│ │ └── xmlui-orange-on-default.ts
│ └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│ ├── tsconfig.json
│ ├── xmlui-animations
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── Animation.tsx
│ │ ├── AnimationNative.tsx
│ │ ├── FadeAnimation.tsx
│ │ ├── FadeInAnimation.tsx
│ │ ├── FadeOutAnimation.tsx
│ │ ├── index.tsx
│ │ ├── ScaleAnimation.tsx
│ │ └── SlideInAnimation.tsx
│ ├── xmlui-devtools
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── devtools
│ │ │ │ ├── DevTools.tsx
│ │ │ │ ├── DevToolsNative.module.scss
│ │ │ │ ├── DevToolsNative.tsx
│ │ │ │ ├── ModalDialog.module.scss
│ │ │ │ ├── ModalDialog.tsx
│ │ │ │ ├── ModalVisibilityContext.tsx
│ │ │ │ ├── Tooltip.module.scss
│ │ │ │ ├── Tooltip.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── editor
│ │ │ │ └── Editor.tsx
│ │ │ └── index.tsx
│ │ └── vite.config-overrides.ts
│ ├── xmlui-hello-world
│ │ ├── .gitignore
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── HelloWorld.module.scss
│ │ ├── HelloWorld.tsx
│ │ ├── HelloWorldNative.tsx
│ │ └── index.tsx
│ ├── xmlui-os-frames
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── IPhoneFrame.module.scss
│ │ ├── IPhoneFrame.tsx
│ │ ├── MacOSAppFrame.module.scss
│ │ ├── MacOSAppFrame.tsx
│ │ ├── WindowsAppFrame.module.scss
│ │ └── WindowsAppFrame.tsx
│ ├── xmlui-pdf
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ ├── components
│ │ │ │ └── Pdf.xmlui
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── LazyPdfNative.tsx
│ │ ├── Pdf.module.scss
│ │ └── Pdf.tsx
│ ├── xmlui-playground
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── hooks
│ │ │ ├── usePlayground.ts
│ │ │ └── useToast.ts
│ │ ├── index.tsx
│ │ ├── playground
│ │ │ ├── Box.module.scss
│ │ │ ├── Box.tsx
│ │ │ ├── CodeSelector.module.scss
│ │ │ ├── CodeSelector.tsx
│ │ │ ├── ConfirmationDialog.module.scss
│ │ │ ├── ConfirmationDialog.tsx
│ │ │ ├── Editor.tsx
│ │ │ ├── Header.module.scss
│ │ │ ├── Header.tsx
│ │ │ ├── Playground.tsx
│ │ │ ├── PlaygroundContent.module.scss
│ │ │ ├── PlaygroundContent.tsx
│ │ │ ├── PlaygroundNative.module.scss
│ │ │ ├── PlaygroundNative.tsx
│ │ │ ├── Preview.tsx
│ │ │ ├── StandalonePlayground.tsx
│ │ │ ├── StandalonePlaygroundNative.module.scss
│ │ │ ├── StandalonePlaygroundNative.tsx
│ │ │ ├── ThemeSwitcher.module.scss
│ │ │ ├── ThemeSwitcher.tsx
│ │ │ └── utils.ts
│ │ ├── providers
│ │ │ ├── Toast.module.scss
│ │ │ └── ToastProvider.tsx
│ │ ├── state
│ │ │ └── store.ts
│ │ ├── themes
│ │ │ └── theme.ts
│ │ └── utils
│ │ └── helpers.ts
│ ├── xmlui-search
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Search.module.scss
│ │ └── Search.tsx
│ ├── xmlui-spreadsheet
│ │ ├── .gitignore
│ │ ├── demo
│ │ │ └── Main.xmlui
│ │ ├── index.html
│ │ ├── index.ts
│ │ ├── meta
│ │ │ └── componentsMetadata.ts
│ │ ├── package.json
│ │ └── src
│ │ ├── index.tsx
│ │ ├── Spreadsheet.tsx
│ │ └── SpreadsheetNative.tsx
│ └── xmlui-website-blocks
│ ├── .gitignore
│ ├── CHANGELOG.md
│ ├── demo
│ │ ├── components
│ │ │ ├── HeroBackgroundBreakoutPage.xmlui
│ │ │ ├── HeroBackgroundsPage.xmlui
│ │ │ ├── HeroContentsPage.xmlui
│ │ │ ├── HeroTextAlignPage.xmlui
│ │ │ ├── HeroTextPage.xmlui
│ │ │ └── HeroTonesPage.xmlui
│ │ ├── Main.xmlui
│ │ └── themes
│ │ └── default.ts
│ ├── index.html
│ ├── index.ts
│ ├── meta
│ │ └── componentsMetadata.ts
│ ├── package.json
│ ├── public
│ │ └── resources
│ │ ├── building.jpg
│ │ └── xmlui-logo.svg
│ └── src
│ ├── Carousel
│ │ ├── Carousel.module.scss
│ │ ├── Carousel.tsx
│ │ ├── CarouselContext.tsx
│ │ └── CarouselNative.tsx
│ ├── FancyButton
│ │ ├── FancyButton.module.scss
│ │ ├── FancyButton.tsx
│ │ └── FancyButton.xmlui
│ ├── Hello
│ │ ├── Hello.tsx
│ │ ├── Hello.xmlui
│ │ └── Hello.xmlui.xs
│ ├── HeroSection
│ │ ├── HeroSection.module.scss
│ │ ├── HeroSection.spec.ts
│ │ ├── HeroSection.tsx
│ │ └── HeroSectionNative.tsx
│ ├── index.tsx
│ ├── ScrollToTop
│ │ ├── ScrollToTop.module.scss
│ │ ├── ScrollToTop.tsx
│ │ └── ScrollToTopNative.tsx
│ └── vite-env.d.ts
├── playwright.config.ts
├── README.md
├── tools
│ ├── codefence
│ │ └── xmlui-code-fence-docs.md
│ ├── create-app
│ │ ├── .gitignore
│ │ ├── CHANGELOG.md
│ │ ├── create-app.ts
│ │ ├── helpers
│ │ │ ├── copy.ts
│ │ │ ├── get-pkg-manager.ts
│ │ │ ├── git.ts
│ │ │ ├── install.ts
│ │ │ ├── is-folder-empty.ts
│ │ │ ├── is-writeable.ts
│ │ │ ├── make-dir.ts
│ │ │ └── validate-pkg.ts
│ │ ├── index.ts
│ │ ├── package.json
│ │ ├── templates
│ │ │ ├── default
│ │ │ │ └── ts
│ │ │ │ ├── gitignore
│ │ │ │ ├── index.html
│ │ │ │ ├── index.ts
│ │ │ │ ├── public
│ │ │ │ │ ├── mockServiceWorker.js
│ │ │ │ │ ├── resources
│ │ │ │ │ │ ├── favicon.ico
│ │ │ │ │ │ └── xmlui-logo.svg
│ │ │ │ │ └── serve.json
│ │ │ │ └── src
│ │ │ │ ├── components
│ │ │ │ │ ├── ApiAware.xmlui
│ │ │ │ │ ├── Home.xmlui
│ │ │ │ │ ├── IncButton.xmlui
│ │ │ │ │ └── PagePanel.xmlui
│ │ │ │ ├── config.ts
│ │ │ │ └── Main.xmlui
│ │ │ ├── index.ts
│ │ │ └── types.ts
│ │ └── tsconfig.json
│ ├── create-xmlui-hello-world
│ │ ├── index.js
│ │ └── package.json
│ └── vscode
│ ├── .gitignore
│ ├── .vscode
│ │ ├── launch.json
│ │ └── tasks.json
│ ├── .vscodeignore
│ ├── build.sh
│ ├── CHANGELOG.md
│ ├── esbuild.js
│ ├── eslint.config.mjs
│ ├── formatter-docs.md
│ ├── generate-test-sample.sh
│ ├── LICENSE.md
│ ├── package-lock.json
│ ├── package.json
│ ├── README.md
│ ├── resources
│ │ ├── xmlui-logo.png
│ │ └── xmlui-markup-syntax-highlighting.png
│ ├── src
│ │ ├── extension.ts
│ │ └── server.ts
│ ├── syntaxes
│ │ └── xmlui.tmLanguage.json
│ ├── test-samples
│ │ └── sample.xmlui
│ ├── tsconfig.json
│ └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
├── .gitignore
├── bin
│ ├── bootstrap.cjs
│ ├── bootstrap.js
│ ├── build-lib.ts
│ ├── build.ts
│ ├── index.ts
│ ├── preview.ts
│ ├── start.ts
│ ├── vite-xmlui-plugin.ts
│ └── viteConfig.ts
├── CHANGELOG.md
├── conventions
│ ├── component-qa-checklist.md
│ ├── copilot-conventions.md
│ ├── create-xmlui-components.md
│ ├── mermaid.md
│ ├── testing-conventions.md
│ └── xmlui-in-a-nutshell.md
├── dev-docs
│ ├── accessibility.md
│ ├── build-system.md
│ ├── build-xmlui.md
│ ├── component-behaviors.md
│ ├── component-metadata.md
│ ├── components-with-options.md
│ ├── containers.md
│ ├── data-operations.md
│ ├── glossary.md
│ ├── index.md
│ ├── next
│ │ ├── component-dev-guide.md
│ │ ├── configuration-management-enhancement-summary.md
│ │ ├── documentation-scripts-refactoring-complete-summary.md
│ │ ├── documentation-scripts-refactoring-plan.md
│ │ ├── duplicate-pattern-extraction-summary.md
│ │ ├── error-handling-standardization-summary.md
│ │ ├── generating-component-reference.md
│ │ ├── index.md
│ │ ├── logging-consistency-implementation-summary.md
│ │ ├── project-build.md
│ │ ├── project-structure.md
│ │ ├── theme-context.md
│ │ ├── tiptap-design-considerations.md
│ │ ├── working-with-code.md
│ │ ├── xmlui-runtime-architecture
│ │ └── xmlui-wcag-accessibility-report.md
│ ├── react-fundamentals.md
│ ├── release-method.md
│ ├── standalone-app.md
│ ├── theme-variables-refactoring.md
│ ├── ud-components.md
│ └── xmlui-repo.md
├── package.json
├── scripts
│ ├── coverage-only.js
│ ├── e2e-test-summary.js
│ ├── extract-component-metadata.js
│ ├── generate-docs
│ │ ├── build-downloads-map.mjs
│ │ ├── build-pages-map.mjs
│ │ ├── components-config.json
│ │ ├── configuration-management.mjs
│ │ ├── constants.mjs
│ │ ├── create-theme-files.mjs
│ │ ├── DocsGenerator.mjs
│ │ ├── error-handling.mjs
│ │ ├── extensions-config.json
│ │ ├── folders.mjs
│ │ ├── generate-summary-files.mjs
│ │ ├── get-docs.mjs
│ │ ├── input-handler.mjs
│ │ ├── logger.mjs
│ │ ├── logging-standards.mjs
│ │ ├── MetadataProcessor.mjs
│ │ ├── pattern-utilities.mjs
│ │ └── utils.mjs
│ ├── generate-metadata-markdown.js
│ ├── get-langserver-metadata.js
│ ├── inline-links.mjs
│ └── README-e2e-summary.md
├── src
│ ├── abstractions
│ │ ├── _conventions.md
│ │ ├── ActionDefs.ts
│ │ ├── AppContextDefs.ts
│ │ ├── ComponentDefs.ts
│ │ ├── ContainerDefs.ts
│ │ ├── ExtensionDefs.ts
│ │ ├── FunctionDefs.ts
│ │ ├── RendererDefs.ts
│ │ ├── scripting
│ │ │ ├── BlockScope.ts
│ │ │ ├── Compilation.ts
│ │ │ ├── LogicalThread.ts
│ │ │ ├── LoopScope.ts
│ │ │ ├── modules.ts
│ │ │ ├── ScriptParserError.ts
│ │ │ ├── Token.ts
│ │ │ ├── TryScope.ts
│ │ │ └── TryScopeExp.ts
│ │ └── ThemingDefs.ts
│ ├── components
│ │ ├── _conventions.md
│ │ ├── abstractions.ts
│ │ ├── Accordion
│ │ │ ├── Accordion.md
│ │ │ ├── Accordion.module.scss
│ │ │ ├── Accordion.spec.ts
│ │ │ ├── Accordion.tsx
│ │ │ ├── AccordionContext.tsx
│ │ │ ├── AccordionItem.tsx
│ │ │ ├── AccordionItemNative.tsx
│ │ │ └── AccordionNative.tsx
│ │ ├── Animation
│ │ │ └── AnimationNative.tsx
│ │ ├── APICall
│ │ │ ├── APICall.md
│ │ │ ├── APICall.spec.ts
│ │ │ ├── APICall.tsx
│ │ │ └── APICallNative.tsx
│ │ ├── App
│ │ │ ├── App.md
│ │ │ ├── App.module.scss
│ │ │ ├── App.spec.ts
│ │ │ ├── App.tsx
│ │ │ ├── AppLayoutContext.ts
│ │ │ ├── AppNative.tsx
│ │ │ ├── AppStateContext.ts
│ │ │ ├── doc-resources
│ │ │ │ ├── condensed-sticky.xmlui
│ │ │ │ ├── condensed.xmlui
│ │ │ │ ├── horizontal-sticky.xmlui
│ │ │ │ ├── horizontal.xmlui
│ │ │ │ ├── vertical-full-header.xmlui
│ │ │ │ ├── vertical-sticky.xmlui
│ │ │ │ └── vertical.xmlui
│ │ │ ├── IndexerContext.ts
│ │ │ ├── LinkInfoContext.ts
│ │ │ ├── SearchContext.tsx
│ │ │ ├── Sheet.module.scss
│ │ │ └── Sheet.tsx
│ │ ├── AppHeader
│ │ │ ├── AppHeader.md
│ │ │ ├── AppHeader.module.scss
│ │ │ ├── AppHeader.spec.ts
│ │ │ ├── AppHeader.tsx
│ │ │ └── AppHeaderNative.tsx
│ │ ├── AppState
│ │ │ ├── AppState.md
│ │ │ ├── AppState.spec.ts
│ │ │ ├── AppState.tsx
│ │ │ └── AppStateNative.tsx
│ │ ├── AutoComplete
│ │ │ ├── AutoComplete.md
│ │ │ ├── AutoComplete.module.scss
│ │ │ ├── AutoComplete.spec.ts
│ │ │ ├── AutoComplete.tsx
│ │ │ ├── AutoCompleteContext.tsx
│ │ │ └── AutoCompleteNative.tsx
│ │ ├── Avatar
│ │ │ ├── Avatar.md
│ │ │ ├── Avatar.module.scss
│ │ │ ├── Avatar.spec.ts
│ │ │ ├── Avatar.tsx
│ │ │ └── AvatarNative.tsx
│ │ ├── Backdrop
│ │ │ ├── Backdrop.md
│ │ │ ├── Backdrop.module.scss
│ │ │ ├── Backdrop.spec.ts
│ │ │ ├── Backdrop.tsx
│ │ │ └── BackdropNative.tsx
│ │ ├── Badge
│ │ │ ├── Badge.md
│ │ │ ├── Badge.module.scss
│ │ │ ├── Badge.spec.ts
│ │ │ ├── Badge.tsx
│ │ │ └── BadgeNative.tsx
│ │ ├── Bookmark
│ │ │ ├── Bookmark.md
│ │ │ ├── Bookmark.module.scss
│ │ │ ├── Bookmark.spec.ts
│ │ │ ├── Bookmark.tsx
│ │ │ └── BookmarkNative.tsx
│ │ ├── Breakout
│ │ │ ├── Breakout.module.scss
│ │ │ ├── Breakout.spec.ts
│ │ │ ├── Breakout.tsx
│ │ │ └── BreakoutNative.tsx
│ │ ├── Button
│ │ │ ├── Button-style.spec.ts
│ │ │ ├── Button.md
│ │ │ ├── Button.module.scss
│ │ │ ├── Button.spec.ts
│ │ │ ├── Button.tsx
│ │ │ └── ButtonNative.tsx
│ │ ├── Card
│ │ │ ├── Card.md
│ │ │ ├── Card.module.scss
│ │ │ ├── Card.spec.ts
│ │ │ ├── Card.tsx
│ │ │ └── CardNative.tsx
│ │ ├── Carousel
│ │ │ ├── Carousel.md
│ │ │ ├── Carousel.module.scss
│ │ │ ├── Carousel.spec.ts
│ │ │ ├── Carousel.tsx
│ │ │ ├── CarouselContext.tsx
│ │ │ ├── CarouselItem.tsx
│ │ │ ├── CarouselItemNative.tsx
│ │ │ └── CarouselNative.tsx
│ │ ├── ChangeListener
│ │ │ ├── ChangeListener.md
│ │ │ ├── ChangeListener.spec.ts
│ │ │ ├── ChangeListener.tsx
│ │ │ └── ChangeListenerNative.tsx
│ │ ├── chart-color-schemes.ts
│ │ ├── Charts
│ │ │ ├── AreaChart
│ │ │ │ ├── AreaChart.md
│ │ │ │ ├── AreaChart.spec.ts
│ │ │ │ ├── AreaChart.tsx
│ │ │ │ └── AreaChartNative.tsx
│ │ │ ├── BarChart
│ │ │ │ ├── BarChart.md
│ │ │ │ ├── BarChart.module.scss
│ │ │ │ ├── BarChart.spec.ts
│ │ │ │ ├── BarChart.tsx
│ │ │ │ └── BarChartNative.tsx
│ │ │ ├── DonutChart
│ │ │ │ ├── DonutChart.spec.ts
│ │ │ │ └── DonutChart.tsx
│ │ │ ├── LabelList
│ │ │ │ ├── LabelList.module.scss
│ │ │ │ ├── LabelList.spec.ts
│ │ │ │ ├── LabelList.tsx
│ │ │ │ └── LabelListNative.tsx
│ │ │ ├── Legend
│ │ │ │ ├── Legend.spec.ts
│ │ │ │ ├── Legend.tsx
│ │ │ │ └── LegendNative.tsx
│ │ │ ├── LineChart
│ │ │ │ ├── LineChart.md
│ │ │ │ ├── LineChart.module.scss
│ │ │ │ ├── LineChart.spec.ts
│ │ │ │ ├── LineChart.tsx
│ │ │ │ └── LineChartNative.tsx
│ │ │ ├── PieChart
│ │ │ │ ├── PieChart.md
│ │ │ │ ├── PieChart.spec.ts
│ │ │ │ ├── PieChart.tsx
│ │ │ │ ├── PieChartNative.module.scss
│ │ │ │ └── PieChartNative.tsx
│ │ │ ├── RadarChart
│ │ │ │ ├── RadarChart.md
│ │ │ │ ├── RadarChart.spec.ts
│ │ │ │ ├── RadarChart.tsx
│ │ │ │ └── RadarChartNative.tsx
│ │ │ ├── Tooltip
│ │ │ │ ├── TooltipContent.module.scss
│ │ │ │ ├── TooltipContent.spec.ts
│ │ │ │ └── TooltipContent.tsx
│ │ │ └── utils
│ │ │ ├── abstractions.ts
│ │ │ └── ChartProvider.tsx
│ │ ├── Checkbox
│ │ │ ├── Checkbox.md
│ │ │ ├── Checkbox.spec.ts
│ │ │ └── Checkbox.tsx
│ │ ├── CodeBlock
│ │ │ ├── CodeBlock.module.scss
│ │ │ ├── CodeBlock.spec.ts
│ │ │ ├── CodeBlock.tsx
│ │ │ ├── CodeBlockNative.tsx
│ │ │ └── highlight-code.ts
│ │ ├── collectedComponentMetadata.ts
│ │ ├── ColorPicker
│ │ │ ├── ColorPicker.md
│ │ │ ├── ColorPicker.module.scss
│ │ │ ├── ColorPicker.spec.ts
│ │ │ ├── ColorPicker.tsx
│ │ │ └── ColorPickerNative.tsx
│ │ ├── Column
│ │ │ ├── Column.md
│ │ │ ├── Column.tsx
│ │ │ ├── ColumnNative.tsx
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ └── TableContext.tsx
│ │ ├── component-utils.ts
│ │ ├── ComponentProvider.tsx
│ │ ├── ComponentRegistryContext.tsx
│ │ ├── container-helpers.tsx
│ │ ├── ContentSeparator
│ │ │ ├── ContentSeparator.md
│ │ │ ├── ContentSeparator.module.scss
│ │ │ ├── ContentSeparator.spec.ts
│ │ │ ├── ContentSeparator.tsx
│ │ │ └── ContentSeparatorNative.tsx
│ │ ├── DataSource
│ │ │ ├── DataSource.md
│ │ │ └── DataSource.tsx
│ │ ├── DateInput
│ │ │ ├── DateInput.md
│ │ │ ├── DateInput.module.scss
│ │ │ ├── DateInput.spec.ts
│ │ │ ├── DateInput.tsx
│ │ │ └── DateInputNative.tsx
│ │ ├── DatePicker
│ │ │ ├── DatePicker.md
│ │ │ ├── DatePicker.module.scss
│ │ │ ├── DatePicker.spec.ts
│ │ │ ├── DatePicker.tsx
│ │ │ └── DatePickerNative.tsx
│ │ ├── DropdownMenu
│ │ │ ├── DropdownMenu.md
│ │ │ ├── DropdownMenu.module.scss
│ │ │ ├── DropdownMenu.spec.ts
│ │ │ ├── DropdownMenu.tsx
│ │ │ ├── DropdownMenuNative.tsx
│ │ │ ├── MenuItem.md
│ │ │ └── SubMenuItem.md
│ │ ├── EmojiSelector
│ │ │ ├── EmojiSelector.md
│ │ │ ├── EmojiSelector.spec.ts
│ │ │ ├── EmojiSelector.tsx
│ │ │ └── EmojiSelectorNative.tsx
│ │ ├── ExpandableItem
│ │ │ ├── ExpandableItem.module.scss
│ │ │ ├── ExpandableItem.spec.ts
│ │ │ ├── ExpandableItem.tsx
│ │ │ └── ExpandableItemNative.tsx
│ │ ├── FileInput
│ │ │ ├── FileInput.md
│ │ │ ├── FileInput.module.scss
│ │ │ ├── FileInput.spec.ts
│ │ │ ├── FileInput.tsx
│ │ │ └── FileInputNative.tsx
│ │ ├── FileUploadDropZone
│ │ │ ├── FileUploadDropZone.md
│ │ │ ├── FileUploadDropZone.module.scss
│ │ │ ├── FileUploadDropZone.spec.ts
│ │ │ ├── FileUploadDropZone.tsx
│ │ │ └── FileUploadDropZoneNative.tsx
│ │ ├── FlowLayout
│ │ │ ├── FlowLayout.md
│ │ │ ├── FlowLayout.module.scss
│ │ │ ├── FlowLayout.spec.ts
│ │ │ ├── FlowLayout.spec.ts-snapshots
│ │ │ │ └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
│ │ │ ├── FlowLayout.tsx
│ │ │ └── FlowLayoutNative.tsx
│ │ ├── Footer
│ │ │ ├── Footer.md
│ │ │ ├── Footer.module.scss
│ │ │ ├── Footer.spec.ts
│ │ │ ├── Footer.tsx
│ │ │ └── FooterNative.tsx
│ │ ├── Form
│ │ │ ├── Form.md
│ │ │ ├── Form.module.scss
│ │ │ ├── Form.spec.ts
│ │ │ ├── Form.tsx
│ │ │ ├── formActions.ts
│ │ │ ├── FormContext.ts
│ │ │ └── FormNative.tsx
│ │ ├── FormItem
│ │ │ ├── FormItem.md
│ │ │ ├── FormItem.module.scss
│ │ │ ├── FormItem.spec.ts
│ │ │ ├── FormItem.tsx
│ │ │ ├── FormItemNative.tsx
│ │ │ ├── HelperText.module.scss
│ │ │ ├── HelperText.tsx
│ │ │ ├── ItemWithLabel.tsx
│ │ │ └── Validations.ts
│ │ ├── FormSection
│ │ │ ├── FormSection.md
│ │ │ ├── FormSection.ts
│ │ │ └── FormSection.xmlui
│ │ ├── Fragment
│ │ │ ├── Fragment.spec.ts
│ │ │ └── Fragment.tsx
│ │ ├── Heading
│ │ │ ├── abstractions.ts
│ │ │ ├── H1.md
│ │ │ ├── H1.spec.ts
│ │ │ ├── H2.md
│ │ │ ├── H2.spec.ts
│ │ │ ├── H3.md
│ │ │ ├── H3.spec.ts
│ │ │ ├── H4.md
│ │ │ ├── H4.spec.ts
│ │ │ ├── H5.md
│ │ │ ├── H5.spec.ts
│ │ │ ├── H6.md
│ │ │ ├── H6.spec.ts
│ │ │ ├── Heading.md
│ │ │ ├── Heading.module.scss
│ │ │ ├── Heading.spec.ts
│ │ │ ├── Heading.tsx
│ │ │ └── HeadingNative.tsx
│ │ ├── HoverCard
│ │ │ ├── HoverCard.tsx
│ │ │ └── HovercardNative.tsx
│ │ ├── HtmlTags
│ │ │ ├── HtmlTags.module.scss
│ │ │ ├── HtmlTags.spec.ts
│ │ │ └── HtmlTags.tsx
│ │ ├── Icon
│ │ │ ├── AdmonitionDanger.tsx
│ │ │ ├── AdmonitionInfo.tsx
│ │ │ ├── AdmonitionNote.tsx
│ │ │ ├── AdmonitionTip.tsx
│ │ │ ├── AdmonitionWarning.tsx
│ │ │ ├── ApiIcon.tsx
│ │ │ ├── ArrowDropDown.module.scss
│ │ │ ├── ArrowDropDown.tsx
│ │ │ ├── ArrowDropUp.module.scss
│ │ │ ├── ArrowDropUp.tsx
│ │ │ ├── ArrowLeft.module.scss
│ │ │ ├── ArrowLeft.tsx
│ │ │ ├── ArrowRight.module.scss
│ │ │ ├── ArrowRight.tsx
│ │ │ ├── Attach.tsx
│ │ │ ├── Binding.module.scss
│ │ │ ├── Binding.tsx
│ │ │ ├── BoardIcon.tsx
│ │ │ ├── BoxIcon.tsx
│ │ │ ├── CheckIcon.tsx
│ │ │ ├── ChevronDownIcon.tsx
│ │ │ ├── ChevronLeft.tsx
│ │ │ ├── ChevronRight.tsx
│ │ │ ├── ChevronUpIcon.tsx
│ │ │ ├── CodeFileIcon.tsx
│ │ │ ├── CodeSandbox.tsx
│ │ │ ├── CompactListIcon.tsx
│ │ │ ├── ContentCopyIcon.tsx
│ │ │ ├── DarkToLightIcon.tsx
│ │ │ ├── DatabaseIcon.module.scss
│ │ │ ├── DatabaseIcon.tsx
│ │ │ ├── DocFileIcon.tsx
│ │ │ ├── DocIcon.tsx
│ │ │ ├── DotMenuHorizontalIcon.tsx
│ │ │ ├── DotMenuIcon.tsx
│ │ │ ├── EmailIcon.tsx
│ │ │ ├── EmptyFolderIcon.tsx
│ │ │ ├── ErrorIcon.tsx
│ │ │ ├── ExpressionIcon.tsx
│ │ │ ├── FillPlusCricleIcon.tsx
│ │ │ ├── FilterIcon.tsx
│ │ │ ├── FolderIcon.tsx
│ │ │ ├── GlobeIcon.tsx
│ │ │ ├── HomeIcon.tsx
│ │ │ ├── HyperLinkIcon.tsx
│ │ │ ├── Icon.md
│ │ │ ├── Icon.module.scss
│ │ │ ├── Icon.spec.ts
│ │ │ ├── Icon.tsx
│ │ │ ├── IconNative.tsx
│ │ │ ├── ImageFileIcon.tsx
│ │ │ ├── Inspect.tsx
│ │ │ ├── LightToDark.tsx
│ │ │ ├── LinkIcon.tsx
│ │ │ ├── ListIcon.tsx
│ │ │ ├── LooseListIcon.tsx
│ │ │ ├── MoonIcon.tsx
│ │ │ ├── MoreOptionsIcon.tsx
│ │ │ ├── NoSortIcon.tsx
│ │ │ ├── PDFIcon.tsx
│ │ │ ├── PenIcon.tsx
│ │ │ ├── PhoneIcon.tsx
│ │ │ ├── PhotoIcon.tsx
│ │ │ ├── PlusIcon.tsx
│ │ │ ├── SearchIcon.tsx
│ │ │ ├── ShareIcon.tsx
│ │ │ ├── SortAscendingIcon.tsx
│ │ │ ├── SortDescendingIcon.tsx
│ │ │ ├── StarsIcon.tsx
│ │ │ ├── SunIcon.tsx
│ │ │ ├── svg
│ │ │ │ ├── admonition_danger.svg
│ │ │ │ ├── admonition_info.svg
│ │ │ │ ├── admonition_note.svg
│ │ │ │ ├── admonition_tip.svg
│ │ │ │ ├── admonition_warning.svg
│ │ │ │ ├── api.svg
│ │ │ │ ├── arrow-dropdown.svg
│ │ │ │ ├── arrow-left.svg
│ │ │ │ ├── arrow-right.svg
│ │ │ │ ├── arrow-up.svg
│ │ │ │ ├── attach.svg
│ │ │ │ ├── binding.svg
│ │ │ │ ├── box.svg
│ │ │ │ ├── bulb.svg
│ │ │ │ ├── code-file.svg
│ │ │ │ ├── code-sandbox.svg
│ │ │ │ ├── dark_to_light.svg
│ │ │ │ ├── database.svg
│ │ │ │ ├── doc.svg
│ │ │ │ ├── empty-folder.svg
│ │ │ │ ├── expression.svg
│ │ │ │ ├── eye-closed.svg
│ │ │ │ ├── eye-dark.svg
│ │ │ │ ├── eye.svg
│ │ │ │ ├── file-text.svg
│ │ │ │ ├── filter.svg
│ │ │ │ ├── folder.svg
│ │ │ │ ├── img.svg
│ │ │ │ ├── inspect.svg
│ │ │ │ ├── light_to_dark.svg
│ │ │ │ ├── moon.svg
│ │ │ │ ├── pdf.svg
│ │ │ │ ├── photo.svg
│ │ │ │ ├── share.svg
│ │ │ │ ├── stars.svg
│ │ │ │ ├── sun.svg
│ │ │ │ ├── trending-down.svg
│ │ │ │ ├── trending-level.svg
│ │ │ │ ├── trending-up.svg
│ │ │ │ ├── txt.svg
│ │ │ │ ├── unknown-file.svg
│ │ │ │ ├── unlink.svg
│ │ │ │ └── xls.svg
│ │ │ ├── TableDeleteColumnIcon.tsx
│ │ │ ├── TableDeleteRowIcon.tsx
│ │ │ ├── TableInsertColumnIcon.tsx
│ │ │ ├── TableInsertRowIcon.tsx
│ │ │ ├── TrashIcon.tsx
│ │ │ ├── TrendingDownIcon.tsx
│ │ │ ├── TrendingLevelIcon.tsx
│ │ │ ├── TrendingUpIcon.tsx
│ │ │ ├── TxtIcon.tsx
│ │ │ ├── UnknownFileIcon.tsx
│ │ │ ├── UnlinkIcon.tsx
│ │ │ ├── UserIcon.tsx
│ │ │ ├── WarningIcon.tsx
│ │ │ └── XlsIcon.tsx
│ │ ├── IconProvider.tsx
│ │ ├── IconRegistryContext.tsx
│ │ ├── IFrame
│ │ │ ├── IFrame.md
│ │ │ ├── IFrame.module.scss
│ │ │ ├── IFrame.spec.ts
│ │ │ ├── IFrame.tsx
│ │ │ └── IFrameNative.tsx
│ │ ├── Image
│ │ │ ├── Image.md
│ │ │ ├── Image.module.scss
│ │ │ ├── Image.spec.ts
│ │ │ ├── Image.tsx
│ │ │ └── ImageNative.tsx
│ │ ├── Input
│ │ │ ├── index.ts
│ │ │ ├── InputAdornment.module.scss
│ │ │ ├── InputAdornment.tsx
│ │ │ ├── InputDivider.module.scss
│ │ │ ├── InputDivider.tsx
│ │ │ ├── InputLabel.module.scss
│ │ │ ├── InputLabel.tsx
│ │ │ ├── PartialInput.module.scss
│ │ │ └── PartialInput.tsx
│ │ ├── InspectButton
│ │ │ ├── InspectButton.module.scss
│ │ │ └── InspectButton.tsx
│ │ ├── Items
│ │ │ ├── Items.md
│ │ │ ├── Items.spec.ts
│ │ │ ├── Items.tsx
│ │ │ └── ItemsNative.tsx
│ │ ├── Link
│ │ │ ├── Link.md
│ │ │ ├── Link.module.scss
│ │ │ ├── Link.spec.ts
│ │ │ ├── Link.tsx
│ │ │ └── LinkNative.tsx
│ │ ├── List
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── List.md
│ │ │ ├── List.module.scss
│ │ │ ├── List.spec.ts
│ │ │ ├── List.tsx
│ │ │ └── ListNative.tsx
│ │ ├── Logo
│ │ │ ├── doc-resources
│ │ │ │ └── xmlui-logo.svg
│ │ │ ├── Logo.md
│ │ │ ├── Logo.tsx
│ │ │ └── LogoNative.tsx
│ │ ├── Markdown
│ │ │ ├── CodeText.module.scss
│ │ │ ├── CodeText.tsx
│ │ │ ├── Markdown.md
│ │ │ ├── Markdown.module.scss
│ │ │ ├── Markdown.spec.ts
│ │ │ ├── Markdown.tsx
│ │ │ ├── MarkdownNative.tsx
│ │ │ ├── parse-binding-expr.ts
│ │ │ └── utils.ts
│ │ ├── metadata-helpers.ts
│ │ ├── ModalDialog
│ │ │ ├── ConfirmationModalContextProvider.tsx
│ │ │ ├── Dialog.module.scss
│ │ │ ├── Dialog.tsx
│ │ │ ├── ModalDialog.md
│ │ │ ├── ModalDialog.module.scss
│ │ │ ├── ModalDialog.spec.ts
│ │ │ ├── ModalDialog.tsx
│ │ │ ├── ModalDialogNative.tsx
│ │ │ └── ModalVisibilityContext.tsx
│ │ ├── NavGroup
│ │ │ ├── NavGroup.md
│ │ │ ├── NavGroup.module.scss
│ │ │ ├── NavGroup.spec.ts
│ │ │ ├── NavGroup.tsx
│ │ │ ├── NavGroupContext.ts
│ │ │ └── NavGroupNative.tsx
│ │ ├── NavLink
│ │ │ ├── NavLink.md
│ │ │ ├── NavLink.module.scss
│ │ │ ├── NavLink.spec.ts
│ │ │ ├── NavLink.tsx
│ │ │ └── NavLinkNative.tsx
│ │ ├── NavPanel
│ │ │ ├── NavPanel.md
│ │ │ ├── NavPanel.module.scss
│ │ │ ├── NavPanel.spec.ts
│ │ │ ├── NavPanel.tsx
│ │ │ └── NavPanelNative.tsx
│ │ ├── NestedApp
│ │ │ ├── AppWithCodeView.module.scss
│ │ │ ├── AppWithCodeView.tsx
│ │ │ ├── AppWithCodeViewNative.tsx
│ │ │ ├── defaultProps.tsx
│ │ │ ├── logo.svg
│ │ │ ├── NestedApp.module.scss
│ │ │ ├── NestedApp.tsx
│ │ │ ├── NestedAppNative.tsx
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── NoResult
│ │ │ ├── NoResult.md
│ │ │ ├── NoResult.module.scss
│ │ │ ├── NoResult.spec.ts
│ │ │ ├── NoResult.tsx
│ │ │ └── NoResultNative.tsx
│ │ ├── NumberBox
│ │ │ ├── numberbox-abstractions.ts
│ │ │ ├── NumberBox.md
│ │ │ ├── NumberBox.module.scss
│ │ │ ├── NumberBox.spec.ts
│ │ │ ├── NumberBox.tsx
│ │ │ └── NumberBoxNative.tsx
│ │ ├── Option
│ │ │ ├── Option.md
│ │ │ ├── Option.spec.ts
│ │ │ ├── Option.tsx
│ │ │ ├── OptionNative.tsx
│ │ │ └── OptionTypeProvider.tsx
│ │ ├── PageMetaTitle
│ │ │ ├── PageMetaTilteNative.tsx
│ │ │ ├── PageMetaTitle.md
│ │ │ ├── PageMetaTitle.spec.ts
│ │ │ └── PageMetaTitle.tsx
│ │ ├── Pages
│ │ │ ├── Page.md
│ │ │ ├── Pages.md
│ │ │ ├── Pages.module.scss
│ │ │ ├── Pages.tsx
│ │ │ └── PagesNative.tsx
│ │ ├── Pagination
│ │ │ ├── Pagination.md
│ │ │ ├── Pagination.module.scss
│ │ │ ├── Pagination.spec.ts
│ │ │ ├── Pagination.tsx
│ │ │ └── PaginationNative.tsx
│ │ ├── PositionedContainer
│ │ │ ├── PositionedContainer.module.scss
│ │ │ ├── PositionedContainer.tsx
│ │ │ └── PositionedContainerNative.tsx
│ │ ├── ProfileMenu
│ │ │ ├── ProfileMenu.module.scss
│ │ │ └── ProfileMenu.tsx
│ │ ├── ProgressBar
│ │ │ ├── ProgressBar.md
│ │ │ ├── ProgressBar.module.scss
│ │ │ ├── ProgressBar.spec.ts
│ │ │ ├── ProgressBar.tsx
│ │ │ └── ProgressBarNative.tsx
│ │ ├── Queue
│ │ │ ├── Queue.md
│ │ │ ├── Queue.spec.ts
│ │ │ ├── Queue.tsx
│ │ │ ├── queueActions.ts
│ │ │ └── QueueNative.tsx
│ │ ├── RadioGroup
│ │ │ ├── RadioGroup.md
│ │ │ ├── RadioGroup.module.scss
│ │ │ ├── RadioGroup.spec.ts
│ │ │ ├── RadioGroup.tsx
│ │ │ ├── RadioGroupNative.tsx
│ │ │ ├── RadioItem.tsx
│ │ │ └── RadioItemNative.tsx
│ │ ├── RealTimeAdapter
│ │ │ ├── RealTimeAdapter.tsx
│ │ │ └── RealTimeAdapterNative.tsx
│ │ ├── Redirect
│ │ │ ├── Redirect.md
│ │ │ ├── Redirect.spec.ts
│ │ │ └── Redirect.tsx
│ │ ├── ResponsiveBar
│ │ │ ├── README.md
│ │ │ ├── ResponsiveBar.md
│ │ │ ├── ResponsiveBar.module.scss
│ │ │ ├── ResponsiveBar.spec.ts
│ │ │ ├── ResponsiveBar.tsx
│ │ │ └── ResponsiveBarNative.tsx
│ │ ├── Select
│ │ │ ├── HiddenOption.tsx
│ │ │ ├── OptionContext.ts
│ │ │ ├── Select.md
│ │ │ ├── Select.module.scss
│ │ │ ├── Select.spec.ts
│ │ │ ├── Select.tsx
│ │ │ ├── SelectContext.tsx
│ │ │ └── SelectNative.tsx
│ │ ├── SelectionStore
│ │ │ ├── SelectionStore.md
│ │ │ ├── SelectionStore.tsx
│ │ │ └── SelectionStoreNative.tsx
│ │ ├── Slider
│ │ │ ├── Slider.md
│ │ │ ├── Slider.module.scss
│ │ │ ├── Slider.spec.ts
│ │ │ ├── Slider.tsx
│ │ │ └── SliderNative.tsx
│ │ ├── Slot
│ │ │ ├── Slot.md
│ │ │ ├── Slot.spec.ts
│ │ │ └── Slot.ts
│ │ ├── SlotItem.tsx
│ │ ├── SpaceFiller
│ │ │ ├── SpaceFiller.md
│ │ │ ├── SpaceFiller.module.scss
│ │ │ ├── SpaceFiller.spec.ts
│ │ │ ├── SpaceFiller.tsx
│ │ │ └── SpaceFillerNative.tsx
│ │ ├── Spinner
│ │ │ ├── Spinner.md
│ │ │ ├── Spinner.module.scss
│ │ │ ├── Spinner.spec.ts
│ │ │ ├── Spinner.tsx
│ │ │ └── SpinnerNative.tsx
│ │ ├── Splitter
│ │ │ ├── HSplitter.md
│ │ │ ├── HSplitter.spec.ts
│ │ │ ├── Splitter.md
│ │ │ ├── Splitter.module.scss
│ │ │ ├── Splitter.spec.ts
│ │ │ ├── Splitter.tsx
│ │ │ ├── SplitterNative.tsx
│ │ │ ├── utils.ts
│ │ │ ├── VSplitter.md
│ │ │ └── VSplitter.spec.ts
│ │ ├── Stack
│ │ │ ├── CHStack.md
│ │ │ ├── CHStack.spec.ts
│ │ │ ├── CVStack.md
│ │ │ ├── CVStack.spec.ts
│ │ │ ├── HStack.md
│ │ │ ├── HStack.spec.ts
│ │ │ ├── Stack.md
│ │ │ ├── Stack.module.scss
│ │ │ ├── Stack.spec.ts
│ │ │ ├── Stack.tsx
│ │ │ ├── StackNative.tsx
│ │ │ ├── VStack.md
│ │ │ └── VStack.spec.ts
│ │ ├── StickyBox
│ │ │ ├── StickyBox.md
│ │ │ ├── StickyBox.module.scss
│ │ │ ├── StickyBox.tsx
│ │ │ └── StickyBoxNative.tsx
│ │ ├── Switch
│ │ │ ├── Switch.md
│ │ │ ├── Switch.spec.ts
│ │ │ └── Switch.tsx
│ │ ├── Table
│ │ │ ├── doc-resources
│ │ │ │ └── list-component-data.js
│ │ │ ├── react-table-config.d.ts
│ │ │ ├── Table.md
│ │ │ ├── Table.module.scss
│ │ │ ├── Table.spec.ts
│ │ │ ├── Table.tsx
│ │ │ ├── TableNative.tsx
│ │ │ └── useRowSelection.tsx
│ │ ├── TableOfContents
│ │ │ ├── TableOfContents.module.scss
│ │ │ ├── TableOfContents.spec.ts
│ │ │ ├── TableOfContents.tsx
│ │ │ └── TableOfContentsNative.tsx
│ │ ├── Tabs
│ │ │ ├── TabContext.tsx
│ │ │ ├── TabItem.md
│ │ │ ├── TabItem.tsx
│ │ │ ├── TabItemNative.tsx
│ │ │ ├── Tabs.md
│ │ │ ├── Tabs.module.scss
│ │ │ ├── Tabs.spec.ts
│ │ │ ├── Tabs.tsx
│ │ │ └── TabsNative.tsx
│ │ ├── Text
│ │ │ ├── Text.md
│ │ │ ├── Text.module.scss
│ │ │ ├── Text.spec.ts
│ │ │ ├── Text.tsx
│ │ │ └── TextNative.tsx
│ │ ├── TextArea
│ │ │ ├── TextArea.md
│ │ │ ├── TextArea.module.scss
│ │ │ ├── TextArea.spec.ts
│ │ │ ├── TextArea.tsx
│ │ │ ├── TextAreaNative.tsx
│ │ │ ├── TextAreaResizable.tsx
│ │ │ └── useComposedRef.ts
│ │ ├── TextBox
│ │ │ ├── TextBox.md
│ │ │ ├── TextBox.module.scss
│ │ │ ├── TextBox.spec.ts
│ │ │ ├── TextBox.tsx
│ │ │ └── TextBoxNative.tsx
│ │ ├── Theme
│ │ │ ├── NotificationToast.tsx
│ │ │ ├── Theme.md
│ │ │ ├── Theme.module.scss
│ │ │ ├── Theme.spec.ts
│ │ │ ├── Theme.tsx
│ │ │ └── ThemeNative.tsx
│ │ ├── TimeInput
│ │ │ ├── TimeInput.md
│ │ │ ├── TimeInput.module.scss
│ │ │ ├── TimeInput.spec.ts
│ │ │ ├── TimeInput.tsx
│ │ │ ├── TimeInputNative.tsx
│ │ │ └── utils.ts
│ │ ├── Timer
│ │ │ ├── Timer.md
│ │ │ ├── Timer.spec.ts
│ │ │ ├── Timer.tsx
│ │ │ └── TimerNative.tsx
│ │ ├── Toggle
│ │ │ ├── Toggle.module.scss
│ │ │ └── Toggle.tsx
│ │ ├── ToneChangerButton
│ │ │ ├── ToneChangerButton.md
│ │ │ ├── ToneChangerButton.spec.ts
│ │ │ └── ToneChangerButton.tsx
│ │ ├── ToneSwitch
│ │ │ ├── ToneSwitch.md
│ │ │ ├── ToneSwitch.module.scss
│ │ │ ├── ToneSwitch.spec.ts
│ │ │ ├── ToneSwitch.tsx
│ │ │ └── ToneSwitchNative.tsx
│ │ ├── Tooltip
│ │ │ ├── Tooltip.md
│ │ │ ├── Tooltip.module.scss
│ │ │ ├── Tooltip.spec.ts
│ │ │ ├── Tooltip.tsx
│ │ │ └── TooltipNative.tsx
│ │ ├── Tree
│ │ │ ├── testData.ts
│ │ │ ├── Tree-dynamic.spec.ts
│ │ │ ├── Tree-icons.spec.ts
│ │ │ ├── Tree.md
│ │ │ ├── Tree.spec.ts
│ │ │ ├── TreeComponent.module.scss
│ │ │ ├── TreeComponent.tsx
│ │ │ └── TreeNative.tsx
│ │ ├── TreeDisplay
│ │ │ ├── TreeDisplay.md
│ │ │ ├── TreeDisplay.module.scss
│ │ │ ├── TreeDisplay.tsx
│ │ │ └── TreeDisplayNative.tsx
│ │ ├── ValidationSummary
│ │ │ ├── ValidationSummary.module.scss
│ │ │ └── ValidationSummary.tsx
│ │ └── VisuallyHidden.tsx
│ ├── components-core
│ │ ├── abstractions
│ │ │ ├── ComponentRenderer.ts
│ │ │ ├── LoaderRenderer.ts
│ │ │ ├── standalone.ts
│ │ │ └── treeAbstractions.ts
│ │ ├── action
│ │ │ ├── actions.ts
│ │ │ ├── APICall.tsx
│ │ │ ├── FileDownloadAction.tsx
│ │ │ ├── FileUploadAction.tsx
│ │ │ ├── NavigateAction.tsx
│ │ │ └── TimedAction.tsx
│ │ ├── ApiBoundComponent.tsx
│ │ ├── appContext
│ │ │ ├── date-functions.ts
│ │ │ ├── math-function.ts
│ │ │ └── misc-utils.ts
│ │ ├── AppContext.tsx
│ │ ├── behaviors
│ │ │ ├── Behavior.tsx
│ │ │ └── CoreBehaviors.tsx
│ │ ├── component-hooks.ts
│ │ ├── ComponentDecorator.tsx
│ │ ├── ComponentViewer.tsx
│ │ ├── CompoundComponent.tsx
│ │ ├── constants.ts
│ │ ├── DebugViewProvider.tsx
│ │ ├── descriptorHelper.ts
│ │ ├── devtools
│ │ │ ├── InspectorDialog.module.scss
│ │ │ ├── InspectorDialog.tsx
│ │ │ └── InspectorDialogVisibilityContext.tsx
│ │ ├── EngineError.ts
│ │ ├── event-handlers.ts
│ │ ├── InspectorButton.module.scss
│ │ ├── InspectorContext.tsx
│ │ ├── interception
│ │ │ ├── abstractions.ts
│ │ │ ├── ApiInterceptor.ts
│ │ │ ├── ApiInterceptorProvider.tsx
│ │ │ ├── apiInterceptorWorker.ts
│ │ │ ├── Backend.ts
│ │ │ ├── Errors.ts
│ │ │ ├── IndexedDb.ts
│ │ │ ├── initMock.ts
│ │ │ ├── InMemoryDb.ts
│ │ │ ├── ReadonlyCollection.ts
│ │ │ └── useApiInterceptorContext.tsx
│ │ ├── loader
│ │ │ ├── ApiLoader.tsx
│ │ │ ├── DataLoader.tsx
│ │ │ ├── ExternalDataLoader.tsx
│ │ │ ├── Loader.tsx
│ │ │ ├── MockLoaderRenderer.tsx
│ │ │ └── PageableLoader.tsx
│ │ ├── LoaderComponent.tsx
│ │ ├── markup-check.ts
│ │ ├── parts.ts
│ │ ├── renderers.ts
│ │ ├── rendering
│ │ │ ├── AppContent.tsx
│ │ │ ├── AppRoot.tsx
│ │ │ ├── AppWrapper.tsx
│ │ │ ├── buildProxy.ts
│ │ │ ├── collectFnVarDeps.ts
│ │ │ ├── ComponentAdapter.tsx
│ │ │ ├── ComponentWrapper.tsx
│ │ │ ├── Container.tsx
│ │ │ ├── containers.ts
│ │ │ ├── ContainerWrapper.tsx
│ │ │ ├── ErrorBoundary.module.scss
│ │ │ ├── ErrorBoundary.tsx
│ │ │ ├── InvalidComponent.module.scss
│ │ │ ├── InvalidComponent.tsx
│ │ │ ├── nodeUtils.ts
│ │ │ ├── reducer.ts
│ │ │ ├── renderChild.tsx
│ │ │ ├── StandaloneComponent.tsx
│ │ │ ├── StateContainer.tsx
│ │ │ ├── UnknownComponent.module.scss
│ │ │ ├── UnknownComponent.tsx
│ │ │ └── valueExtractor.ts
│ │ ├── reportEngineError.ts
│ │ ├── RestApiProxy.ts
│ │ ├── script-runner
│ │ │ ├── asyncProxy.ts
│ │ │ ├── AttributeValueParser.ts
│ │ │ ├── bannedFunctions.ts
│ │ │ ├── BindingTreeEvaluationContext.ts
│ │ │ ├── eval-tree-async.ts
│ │ │ ├── eval-tree-common.ts
│ │ │ ├── eval-tree-sync.ts
│ │ │ ├── ParameterParser.ts
│ │ │ ├── process-statement-async.ts
│ │ │ ├── process-statement-common.ts
│ │ │ ├── process-statement-sync.ts
│ │ │ ├── ScriptingSourceTree.ts
│ │ │ ├── simplify-expression.ts
│ │ │ ├── statement-queue.ts
│ │ │ └── visitors.ts
│ │ ├── StandaloneApp.tsx
│ │ ├── StandaloneExtensionManager.ts
│ │ ├── TableOfContentsContext.tsx
│ │ ├── theming
│ │ │ ├── _themes.scss
│ │ │ ├── component-layout-resolver.ts
│ │ │ ├── extendThemeUtils.ts
│ │ │ ├── hvar.ts
│ │ │ ├── layout-resolver.ts
│ │ │ ├── parse-layout-props.ts
│ │ │ ├── StyleContext.tsx
│ │ │ ├── StyleRegistry.ts
│ │ │ ├── ThemeContext.tsx
│ │ │ ├── ThemeProvider.tsx
│ │ │ ├── themes
│ │ │ │ ├── base-utils.ts
│ │ │ │ ├── palette.ts
│ │ │ │ ├── root.ts
│ │ │ │ ├── solid.ts
│ │ │ │ ├── theme-colors.ts
│ │ │ │ └── xmlui.ts
│ │ │ ├── themeVars.module.scss
│ │ │ ├── themeVars.ts
│ │ │ ├── transformThemeVars.ts
│ │ │ └── utils.ts
│ │ ├── utils
│ │ │ ├── actionUtils.ts
│ │ │ ├── audio-utils.ts
│ │ │ ├── base64-utils.ts
│ │ │ ├── compound-utils.ts
│ │ │ ├── css-utils.ts
│ │ │ ├── DataLoaderQueryKeyGenerator.ts
│ │ │ ├── date-utils.ts
│ │ │ ├── extractParam.ts
│ │ │ ├── hooks.tsx
│ │ │ ├── LruCache.ts
│ │ │ ├── mergeProps.ts
│ │ │ ├── misc.ts
│ │ │ ├── request-params.ts
│ │ │ ├── statementUtils.ts
│ │ │ └── treeUtils.ts
│ │ └── xmlui-parser.ts
│ ├── index-standalone.ts
│ ├── index.scss
│ ├── index.ts
│ ├── language-server
│ │ ├── server-common.ts
│ │ ├── server-web-worker.ts
│ │ ├── server.ts
│ │ ├── services
│ │ │ ├── common
│ │ │ │ ├── docs-generation.ts
│ │ │ │ ├── lsp-utils.ts
│ │ │ │ ├── metadata-utils.ts
│ │ │ │ └── syntax-node-utilities.ts
│ │ │ ├── completion.ts
│ │ │ ├── diagnostic.ts
│ │ │ ├── format.ts
│ │ │ └── hover.ts
│ │ └── xmlui-metadata-generated.js
│ ├── logging
│ │ ├── LoggerContext.tsx
│ │ ├── LoggerInitializer.tsx
│ │ ├── LoggerService.ts
│ │ └── xmlui.ts
│ ├── logo.svg
│ ├── parsers
│ │ ├── common
│ │ │ ├── GenericToken.ts
│ │ │ ├── InputStream.ts
│ │ │ └── utils.ts
│ │ ├── scripting
│ │ │ ├── code-behind-collect.ts
│ │ │ ├── Lexer.ts
│ │ │ ├── modules.ts
│ │ │ ├── Parser.ts
│ │ │ ├── ParserError.ts
│ │ │ ├── ScriptingNodeTypes.ts
│ │ │ ├── TokenTrait.ts
│ │ │ ├── TokenType.ts
│ │ │ └── tree-visitor.ts
│ │ ├── style-parser
│ │ │ ├── errors.ts
│ │ │ ├── source-tree.ts
│ │ │ ├── StyleInputStream.ts
│ │ │ ├── StyleLexer.ts
│ │ │ ├── StyleParser.ts
│ │ │ └── tokens.ts
│ │ └── xmlui-parser
│ │ ├── CharacterCodes.ts
│ │ ├── diagnostics.ts
│ │ ├── fileExtensions.ts
│ │ ├── index.ts
│ │ ├── lint.ts
│ │ ├── parser.ts
│ │ ├── ParserError.ts
│ │ ├── scanner.ts
│ │ ├── syntax-kind.ts
│ │ ├── syntax-node.ts
│ │ ├── transform.ts
│ │ ├── utils.ts
│ │ ├── xmlui-serializer.ts
│ │ └── xmlui-tree.ts
│ ├── react-app-env.d.ts
│ ├── syntax
│ │ ├── monaco
│ │ │ ├── grammar.monacoLanguage.ts
│ │ │ ├── index.ts
│ │ │ ├── xmlui-dark.ts
│ │ │ ├── xmlui-light.ts
│ │ │ └── xmluiscript.monacoLanguage.ts
│ │ └── textMate
│ │ ├── index.ts
│ │ ├── xmlui-dark.json
│ │ ├── xmlui-light.json
│ │ ├── xmlui.json
│ │ └── xmlui.tmLanguage.json
│ ├── testing
│ │ ├── assertions.ts
│ │ ├── component-test-helpers.ts
│ │ ├── ComponentDrivers.ts
│ │ ├── drivers
│ │ │ ├── DateInputDriver.ts
│ │ │ ├── index.ts
│ │ │ ├── ModalDialogDriver.ts
│ │ │ ├── NumberBoxDriver.ts
│ │ │ ├── TextBoxDriver.ts
│ │ │ ├── TimeInputDriver.ts
│ │ │ ├── TimerDriver.ts
│ │ │ └── TreeDriver.ts
│ │ ├── fixtures.ts
│ │ ├── index.ts
│ │ ├── infrastructure
│ │ │ ├── index.html
│ │ │ ├── main.tsx
│ │ │ ├── public
│ │ │ │ ├── mockServiceWorker.js
│ │ │ │ ├── resources
│ │ │ │ │ ├── bell.svg
│ │ │ │ │ ├── box.svg
│ │ │ │ │ ├── doc.svg
│ │ │ │ │ ├── eye.svg
│ │ │ │ │ ├── flower-640x480.jpg
│ │ │ │ │ ├── sun.svg
│ │ │ │ │ ├── test-image-100x100.jpg
│ │ │ │ │ └── txt.svg
│ │ │ │ └── serve.json
│ │ │ └── TestBed.tsx
│ │ └── themed-app-test-helpers.ts
│ └── vite-env.d.ts
├── tests
│ ├── components
│ │ ├── CodeBlock
│ │ │ └── hightlight-code.test.ts
│ │ ├── playground-pattern.test.ts
│ │ └── Tree
│ │ └── Tree-states.test.ts
│ ├── components-core
│ │ ├── abstractions
│ │ │ └── treeAbstractions.test.ts
│ │ ├── container
│ │ │ └── buildProxy.test.ts
│ │ ├── interception
│ │ │ ├── orderBy.test.ts
│ │ │ ├── ReadOnlyCollection.test.ts
│ │ │ └── request-param-converter.test.ts
│ │ ├── scripts-runner
│ │ │ ├── AttributeValueParser.test.ts
│ │ │ ├── eval-tree-arrow-async.test.ts
│ │ │ ├── eval-tree-arrow.test.ts
│ │ │ ├── eval-tree-func-decl-async.test.ts
│ │ │ ├── eval-tree-func-decl.test.ts
│ │ │ ├── eval-tree-pre-post.test.ts
│ │ │ ├── eval-tree-regression.test.ts
│ │ │ ├── eval-tree.test.ts
│ │ │ ├── function-proxy.test.ts
│ │ │ ├── parser-regression.test.ts
│ │ │ ├── process-event.test.ts
│ │ │ ├── process-function.test.ts
│ │ │ ├── process-implicit-context.test.ts
│ │ │ ├── process-statement-asgn.test.ts
│ │ │ ├── process-statement-destruct.test.ts
│ │ │ ├── process-statement-regs.test.ts
│ │ │ ├── process-statement-sync.test.ts
│ │ │ ├── process-statement.test.ts
│ │ │ ├── process-switch-sync.test.ts
│ │ │ ├── process-switch.test.ts
│ │ │ ├── process-try-sync.test.ts
│ │ │ ├── process-try.test.ts
│ │ │ └── test-helpers.ts
│ │ ├── test-metadata-handler.ts
│ │ ├── theming
│ │ │ ├── border-segments.test.ts
│ │ │ ├── component-layout.resolver.test.ts
│ │ │ ├── layout-property-parser.test.ts
│ │ │ ├── layout-resolver.test.ts
│ │ │ ├── layout-resolver2.test.ts
│ │ │ ├── layout-vp-override.test.ts
│ │ │ └── padding-segments.test.ts
│ │ └── utils
│ │ ├── date-utils.test.ts
│ │ ├── format-human-elapsed-time.test.ts
│ │ └── LruCache.test.ts
│ ├── language-server
│ │ ├── completion.test.ts
│ │ ├── format.test.ts
│ │ ├── hover.test.ts
│ │ └── mockData.ts
│ └── parsers
│ ├── common
│ │ └── input-stream.test.ts
│ ├── markdown
│ │ └── parse-binding-expression.test.ts
│ ├── parameter-parser.test.ts
│ ├── paremeter-parser.test.ts
│ ├── scripting
│ │ ├── eval-tree-arrow.test.ts
│ │ ├── eval-tree-pre-post.test.ts
│ │ ├── eval-tree.test.ts
│ │ ├── function-proxy.test.ts
│ │ ├── lexer-literals.test.ts
│ │ ├── lexer-misc.test.ts
│ │ ├── module-parse.test.ts
│ │ ├── parser-arrow.test.ts
│ │ ├── parser-assignments.test.ts
│ │ ├── parser-binary.test.ts
│ │ ├── parser-destructuring.test.ts
│ │ ├── parser-errors.test.ts
│ │ ├── parser-expressions.test.ts
│ │ ├── parser-function.test.ts
│ │ ├── parser-literals.test.ts
│ │ ├── parser-primary.test.ts
│ │ ├── parser-regex.test.ts
│ │ ├── parser-statements.test.ts
│ │ ├── parser-unary.test.ts
│ │ ├── process-event.test.ts
│ │ ├── process-implicit-context.test.ts
│ │ ├── process-statement-asgn.test.ts
│ │ ├── process-statement-destruct.test.ts
│ │ ├── process-statement-regs.test.ts
│ │ ├── process-statement-sync.test.ts
│ │ ├── process-statement.test.ts
│ │ ├── process-switch-sync.test.ts
│ │ ├── process-switch.test.ts
│ │ ├── process-try-sync.test.ts
│ │ ├── process-try.test.ts
│ │ ├── simplify-expression.test.ts
│ │ ├── statement-hooks.test.ts
│ │ └── test-helpers.ts
│ ├── style-parser
│ │ ├── generateHvarChain.test.ts
│ │ ├── parseHVar.test.ts
│ │ ├── parser.test.ts
│ │ └── tokens.test.ts
│ └── xmlui
│ ├── lint.test.ts
│ ├── parser.test.ts
│ ├── scanner.test.ts
│ ├── transform.attr.test.ts
│ ├── transform.circular.test.ts
│ ├── transform.element.test.ts
│ ├── transform.errors.test.ts
│ ├── transform.escape.test.ts
│ ├── transform.regression.test.ts
│ ├── transform.script.test.ts
│ ├── transform.test.ts
│ └── xmlui.ts
├── tests-e2e
│ ├── api-bound-component-regression.spec.ts
│ ├── api-call-as-extracted-component.spec.ts
│ ├── assign-to-object-or-array-regression.spec.ts
│ ├── binding-regression.spec.ts
│ ├── children-as-template-context-vars.spec.ts
│ ├── compound-component.spec.ts
│ ├── context-vars-regression.spec.ts
│ ├── data-bindings.spec.ts
│ ├── datasource-and-api-usage-in-var.spec.ts
│ ├── datasource-direct-binding.spec.ts
│ ├── datasource-onLoaded-regression.spec.ts
│ ├── modify-array-item-regression.spec.ts
│ ├── namespaces.spec.ts
│ ├── push-to-array-regression.spec.ts
│ ├── screen-breakpoints.spec.ts
│ ├── scripting.spec.ts
│ ├── state-scope-in-pages.spec.ts
│ └── state-var-scopes.spec.ts
├── tsconfig.json
├── tsdown.config.ts
├── vite.config.ts
└── vitest.config.ts
```
# Files
--------------------------------------------------------------------------------
/xmlui/tests-e2e/compound-component.spec.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { SKIP_REASON } from "../src/testing/component-test-helpers";
2 | import { expect, test } from "../src/testing/fixtures";
3 | import { initApp } from "../src/testing/themed-app-test-helpers";
4 |
5 | test("static coumpound component renders", async ({ page, initTestBed }) => {
6 | const EXPECTED_TEXT = "Test content text";
7 | await initTestBed(`<Custom />`, {
8 | components: [
9 | `
10 | <Component name="Custom">
11 | <Text>${EXPECTED_TEXT}</Text>
12 | </Component>
13 | `,
14 | ],
15 | });
16 | await expect(page.getByText(EXPECTED_TEXT)).toBeVisible();
17 | });
18 |
19 | test("props work with compound components", async ({ page, initTestBed }) => {
20 | const EXPECTED_TEXT = "Test content text";
21 | await initTestBed(`<Custom testProp="${EXPECTED_TEXT}"/>`, {
22 | components: [
23 | `
24 | <Component name="Custom">
25 | <Text>{$props.testProp}</Text>
26 | </Component>
27 | `,
28 | ],
29 | });
30 | await expect(page.getByText(EXPECTED_TEXT)).toBeVisible();
31 | });
32 |
33 | test("can't overwrite $props", async ({ page, initTestBed }) => {
34 | const EXPECTED_TEXT = "Test content text";
35 | await initTestBed(`<Custom testProp="${EXPECTED_TEXT}"/>`, {
36 | components: [
37 | `
38 | <Component name="Custom">
39 | <Text>{$props.testProp}</Text>
40 | <Button testId="buttonId" onClick="$props.testProp = 'SHOULD NOT WORK'"/>
41 | </Component>
42 | `,
43 | ],
44 | });
45 | await page.getByTestId("buttonId").click();
46 | await expect(page.getByText(EXPECTED_TEXT)).toBeVisible();
47 | });
48 |
49 | test("ChildSlot rendered in compound components", async ({ page, initTestBed }) => {
50 | const EXPECTED_TEXT_COMPONENT = "Test content defined in the component";
51 | const EXPECTED_TEXT_CHILDREN = "Test content inside children";
52 | await initTestBed(
53 | `
54 | <Custom>
55 | <Text>${EXPECTED_TEXT_CHILDREN}</Text>
56 | </Custom>
57 | `,
58 | {
59 | components: [
60 | `
61 | <Component name="Custom">
62 | <VStack>
63 | <Text>${EXPECTED_TEXT_COMPONENT}</Text>
64 | <Slot/>
65 | </VStack>
66 | </Component>
67 | `,
68 | ],
69 | },
70 | );
71 | await expect(page.getByText(EXPECTED_TEXT_COMPONENT)).toBeVisible();
72 | await expect(page.getByText(EXPECTED_TEXT_CHILDREN)).toBeVisible();
73 | });
74 |
75 | test("Default slot rendered in compound components", async ({ page, initTestBed }) => {
76 | const EXPECTED_DEFAULT_SLOT = "Default slot content";
77 | await initTestBed(`<Custom></Custom>`, {
78 | components: [
79 | `
80 | <Component name="Custom">
81 | <Slot name="myTemplate">
82 | <Text>${EXPECTED_DEFAULT_SLOT}</Text>
83 | </Slot>
84 | </Component>
85 | `,
86 | ],
87 | });
88 | await expect(page.getByText(EXPECTED_DEFAULT_SLOT)).toBeVisible();
89 | });
90 |
91 | test("Default slot not rendered in compound components with no 'Template' slot", async ({
92 | page,
93 | initTestBed,
94 | }) => {
95 | const EXPECTED_DEFAULT_SLOT = "Default slot content";
96 | await initTestBed(`<Custom />`, {
97 | components: [
98 | `
99 | <Component name="Custom">
100 | <Slot name="my">
101 | <Text>${EXPECTED_DEFAULT_SLOT}</Text>
102 | </Slot>
103 | </Component>
104 | `,
105 | ],
106 | });
107 | await expect(page.getByText("'Template'", { exact: false })).toBeVisible();
108 | });
109 |
110 | test("Default slot overwritten in compound components #1", async ({ page, initTestBed }) => {
111 | const EXPECTED_DEFAULT_SLOT = "Default slot content";
112 | const EXPECTED_OVERRIDE = "This is an override";
113 | await initTestBed(
114 | `
115 | <Custom>
116 | <property name="myTemplate">
117 | <Text>${EXPECTED_OVERRIDE}</Text>
118 | </property>
119 | </Custom>
120 | `,
121 | {
122 | components: [
123 | `
124 | <Component name="Custom">
125 | <Slot name="myTemplate">
126 | <Text>${EXPECTED_DEFAULT_SLOT}</Text>
127 | </Slot>
128 | </Component>
129 | `,
130 | ],
131 | },
132 | );
133 | await expect(page.getByText(EXPECTED_OVERRIDE)).toBeVisible();
134 | });
135 |
136 | test("Multiple default slots rendered in compound components", async ({ page, initTestBed }) => {
137 | const EXPECTED_DEFAULT_SLOT = "Default slot content";
138 | const EXPECTED_DEFAULT_OTHER_SLOT = "Default other slot content";
139 | await initTestBed(`<Custom />`, {
140 | components: [
141 | `
142 | <Component name="Custom">
143 | <Slot name="defaultTemplate">
144 | <Text>${EXPECTED_DEFAULT_SLOT}</Text>
145 | </Slot>
146 | <Slot name="otherTemplate">
147 | <Text>${EXPECTED_DEFAULT_OTHER_SLOT}</Text>
148 | </Slot>
149 | </Component>
150 | `,
151 | ],
152 | });
153 | await expect(page.getByText(EXPECTED_DEFAULT_SLOT)).toBeVisible();
154 | await expect(page.getByText(EXPECTED_DEFAULT_OTHER_SLOT)).toBeVisible();
155 | });
156 |
157 | test("Slot context value works #1", async ({ page, initTestBed }) => {
158 | const EXPECTED_CONTEXT_VALUE = "123";
159 | await initTestBed(
160 | `
161 | <Custom>
162 | <property name="myTemplate">
163 | <Text>{$myValue}</Text>
164 | </property>
165 | </Custom>
166 | `,
167 | {
168 | components: [
169 | `
170 | <Component name="Custom">
171 | <Slot name="myTemplate" myValue="{123}">
172 | <Text>Dummy default text</Text>
173 | </Slot>
174 | </Component>
175 | `,
176 | ],
177 | },
178 | );
179 | await expect(page.getByText(EXPECTED_CONTEXT_VALUE)).toBeVisible();
180 | });
181 |
182 | test("Slot context value works #2", async ({ page, initTestBed }) => {
183 | const EXPECTED_CONTEXT_VALUE = "123";
184 | await initTestBed(
185 | `
186 | <Custom>
187 | <property name="myTemplate">
188 | <Text>{$myValue}</Text>
189 | </property>
190 | </Custom>
191 | `,
192 | {
193 | components: [
194 | `
195 | <Component name="Custom">
196 | <Slot name="myTemplate" myValue="{123}" />
197 | </Component>
198 | `,
199 | ],
200 | },
201 | );
202 | await expect(page.getByText(EXPECTED_CONTEXT_VALUE)).toBeVisible();
203 | });
204 |
205 | test("Slot context value works #3", async ({ page, initTestBed }) => {
206 | const EXPECTED_VALUE = "123hello!";
207 | await initTestBed(
208 | `
209 | <Custom>
210 | <property name="myTemplate">
211 | <Text>{$myValue1}{$myValue2}</Text>
212 | </property>
213 | </Custom>
214 | `,
215 | {
216 | components: [
217 | `
218 | <Component name="Custom">
219 | <Slot name="myTemplate" myValue1="{123}" myValue2="hello!" />
220 | </Component>
221 | `,
222 | ],
223 | },
224 | );
225 | await expect(page.getByText(EXPECTED_VALUE)).toBeVisible();
226 | });
227 |
228 | test("Slot context value works #4", async ({ page, initTestBed }) => {
229 | const EXPECTED_VALUE = "123hello!";
230 | await initTestBed(
231 | `
232 | <Custom>
233 | <Text>{$myValue1}{$myValue2}</Text>
234 | </Custom>
235 | `,
236 | {
237 | components: [
238 | `
239 | <Component name="Custom">
240 | <Slot myValue1="{123}" myValue2="hello!" />
241 | </Component>
242 | `,
243 | ],
244 | },
245 | );
246 | await expect(page.getByText(EXPECTED_VALUE)).toBeVisible();
247 | });
248 |
249 | test("Default slot content rendered #1", async ({ page, initTestBed }) => {
250 | const EXPECTED_VALUE = "Hello";
251 | await initTestBed(`<Custom />`, {
252 | components: [
253 | `
254 | <Component name="Custom">
255 | <Slot>
256 | Hello
257 | </Slot>
258 | </Component>
259 | `,
260 | ],
261 | });
262 | await expect(page.getByText(EXPECTED_VALUE)).toBeVisible();
263 | });
264 |
265 | test("Default slot content rendered #2", async ({ page, initTestBed }) => {
266 | const EXPECTED_VALUE = "Hello";
267 | await initTestBed(`<Custom />`, {
268 | components: [
269 | `
270 | <Component name="Custom">
271 | <Slot>
272 | <![CDATA[
273 | Hello
274 | ]]>
275 | </Slot>
276 | </Component>
277 | `,
278 | ],
279 | });
280 | await expect(page.getByText(EXPECTED_VALUE)).toBeVisible();
281 | });
282 |
283 | test("Default slot content rendered #3", async ({ page, initTestBed }) => {
284 | const EXPECTED_VALUE1 = "Hello";
285 | const EXPECTED_VALUE2 = "Hi";
286 | await initTestBed(`<Custom>Hi</Custom>`, {
287 | components: [
288 | `
289 | <Component name="Custom">
290 | <VStack>
291 | <Slot name="otherTemplate">
292 | Hello
293 | </Slot>
294 | <Slot />
295 | </VStack>
296 | </Component>
297 | `,
298 | ],
299 | });
300 | await expect(page.getByText(`${EXPECTED_VALUE1} ${EXPECTED_VALUE2}`)).toBeVisible();
301 | });
302 |
303 | test("Markdown with a single slot", async ({ page, initTestBed }) => {
304 | const EXPECTED_VALUE1 = "Hello, world!";
305 | const EXPECTED_VALUE2 = "Here I am";
306 | await initTestBed(
307 | `
308 | <Custom>
309 | <![CDATA[
310 | ## ${EXPECTED_VALUE1}
311 |
312 | ${EXPECTED_VALUE2}
313 | ]]>
314 | </Custom>
315 | `,
316 | {
317 | components: [
318 | `
319 | <Component name="Custom">
320 | <VStack>
321 | <Markdown>
322 | <Slot />
323 | </Markdown>
324 | </VStack>
325 | </Component>
326 | `,
327 | ],
328 | },
329 | );
330 | await expect(page.getByRole("heading", { name: "Hello, world!" })).toBeVisible();
331 | await expect(page.getByText(EXPECTED_VALUE2)).toBeVisible();
332 | });
333 |
334 | test("Markdown with multiple slots", async ({ page }) => {
335 | const EXPECTED_VALUE1 = "Hello, world!";
336 | const EXPECTED_VALUE2 = "Here I am";
337 |
338 | await initApp(page, {
339 | // NOTE: This test runs, but TS is unhappy about the components property
340 | //@ts-ignore
341 | components: `
342 | <Component name="Custom">
343 | <VStack>
344 | <Markdown>
345 | <Slot />
346 | <Slot />
347 | </Markdown>
348 | </VStack>
349 | </Component>
350 | `,
351 | entryPoint: `
352 | <Custom>
353 | <![CDATA[
354 | ## ${EXPECTED_VALUE1}
355 |
356 | ${EXPECTED_VALUE2}
357 | ]]>
358 | </Custom>
359 | `,
360 | });
361 |
362 | const bodyText = await page.locator("body").innerText();
363 | expect(bodyText).toBe(
364 | `${EXPECTED_VALUE1}\n${EXPECTED_VALUE2}\n${EXPECTED_VALUE1}\n${EXPECTED_VALUE2}`,
365 | );
366 | });
367 |
368 | test("Markdown with a single+default slot", async ({ page, initTestBed }) => {
369 | const EXPECTED_VALUE1 = "Howdy!";
370 | const EXPECTED_VALUE2 = "Hello, world!";
371 | const EXPECTED_VALUE3 = "Here I am";
372 | await initTestBed(
373 | `
374 | <Custom>
375 | <![CDATA[
376 | ## ${EXPECTED_VALUE2}
377 |
378 | ${EXPECTED_VALUE3}
379 | ]]>
380 | </Custom>
381 | `,
382 | {
383 | components: [
384 | `
385 | <Component name="Custom">
386 | <VStack>
387 | <Slot name="titleTemplate">
388 | ${EXPECTED_VALUE1}
389 | </Slot>
390 | <Markdown>
391 | <Slot />
392 | </Markdown>
393 | </VStack>
394 | </Component>
395 | `,
396 | ],
397 | },
398 | );
399 | await expect(page.getByText(EXPECTED_VALUE1, { exact: false })).toBeVisible();
400 | await expect(page.getByText(EXPECTED_VALUE2)).toBeVisible();
401 | await expect(page.getByText(EXPECTED_VALUE3)).toBeVisible();
402 | });
403 |
404 | test("Markdown with a named+child #1", async ({ page, initTestBed }) => {
405 | const EXPECTED_VALUE1 = "Greetings!";
406 | const EXPECTED_VALUE2 = "Hello, world!";
407 | const EXPECTED_VALUE3 = "Here I am";
408 | await initTestBed(
409 | `
410 | <Custom>
411 | <property name="titleTemplate">
412 | ${EXPECTED_VALUE1}
413 | </property>
414 | <![CDATA[
415 | ## ${EXPECTED_VALUE2}
416 |
417 | ${EXPECTED_VALUE3}
418 | ]]>
419 | </Custom>
420 | `,
421 | {
422 | components: [
423 | `
424 | <Component name="Custom">
425 | <VStack>
426 | <Slot name="titleTemplate">
427 | Howdy!
428 | </Slot>
429 | <Markdown>
430 | <Slot />
431 | </Markdown>
432 | </VStack>
433 | </Component>
434 | `,
435 | ],
436 | },
437 | );
438 | await expect(page.getByText(EXPECTED_VALUE1, { exact: false })).toBeVisible();
439 | await expect(page.getByText(EXPECTED_VALUE2)).toBeVisible();
440 | await expect(page.getByText(EXPECTED_VALUE3)).toBeVisible();
441 | });
442 |
443 | test("Markdown with a named+child #2", async ({ page, initTestBed }) => {
444 | const EXPECTED_VALUE1 = "Greetings!";
445 | const EXPECTED_VALUE2 = "Hello, world!";
446 | const EXPECTED_VALUE3 = "Here I am";
447 | await initTestBed(
448 | `
449 | <Custom>
450 | <property name="titleTemplate">
451 | <![CDATA[
452 | ${EXPECTED_VALUE1}
453 | ]]>
454 | </property>
455 | <![CDATA[
456 | ## ${EXPECTED_VALUE2}
457 |
458 | ${EXPECTED_VALUE3}
459 | ]]>
460 | </Custom>
461 | `,
462 | {
463 | components: [
464 | `
465 | <Component name="Custom">
466 | <VStack>
467 | <Slot name="titleTemplate">
468 | Howdy!
469 | </Slot>
470 | <Markdown>
471 | <Slot />
472 | </Markdown>
473 | </VStack>
474 | </Component>
475 | `,
476 | ],
477 | },
478 | );
479 | await expect(page.getByText(EXPECTED_VALUE1, { exact: false })).toBeVisible();
480 | await expect(page.getByText(EXPECTED_VALUE2)).toBeVisible();
481 | await expect(page.getByText(EXPECTED_VALUE3)).toBeVisible();
482 | });
483 |
484 | test("Markdown with a named+child #3", async ({ page, initTestBed }) => {
485 | const EXPECTED_VALUE1 = "Greetings!";
486 | const EXPECTED_VALUE2 = "Hello, world!";
487 | const EXPECTED_VALUE3 = "Here I am";
488 | await initTestBed(
489 | `
490 | <Custom>
491 | <property name="titleTemplate">
492 | <![CDATA[
493 | ${EXPECTED_VALUE1}
494 | ]]>
495 | </property>
496 | <![CDATA[
497 | ## ${EXPECTED_VALUE2}
498 |
499 | ${EXPECTED_VALUE3}
500 | ]]>
501 | </Custom>
502 | `,
503 | {
504 | components: [
505 | `
506 | <Component name="Custom">
507 | <VStack>
508 | <Slot name="titleTemplate">
509 | Howdy!
510 | </Slot>
511 | <Markdown>
512 | <Slot />
513 | </Markdown>
514 | </VStack>
515 | </Component>
516 | `,
517 | ],
518 | },
519 | );
520 | await expect(page.getByText(EXPECTED_VALUE1, { exact: false })).toBeVisible();
521 | await expect(page.getByText(EXPECTED_VALUE2)).toBeVisible();
522 | await expect(page.getByText(EXPECTED_VALUE3)).toBeVisible();
523 | });
524 |
525 | test("Markdown with a named+child #4", async ({ page, initTestBed }) => {
526 | const EXPECTED_VALUE1 = "Greetings!";
527 | const EXPECTED_VALUE2 = "Hello, world!";
528 | const EXPECTED_VALUE3 = "Here I am";
529 | await initTestBed(
530 | `
531 | <Custom>
532 | <property name="titleTemplate">
533 | ${EXPECTED_VALUE1}
534 | </property>
535 | <![CDATA[
536 | ## ${EXPECTED_VALUE2}
537 |
538 | ${EXPECTED_VALUE3}
539 | ]]>
540 | </Custom>
541 | `,
542 | {
543 | components: [
544 | `
545 | <Component name="Custom">
546 | <Markdown>
547 | <Slot name="titleTemplate">
548 | Howdy!
549 | </Slot>
550 | <Slot />
551 | </Markdown>
552 | </Component>
553 | `,
554 | ],
555 | },
556 | );
557 | await expect(page.getByText(EXPECTED_VALUE1, { exact: false })).toBeVisible();
558 | await expect(page.getByText(EXPECTED_VALUE2)).toBeVisible();
559 | await expect(page.getByText(EXPECTED_VALUE3)).toBeVisible();
560 | });
561 |
562 | test("Slot with no 'Template' suffix", async ({ page, initTestBed }) => {
563 | const EXPECTED_VALUE = "error";
564 | await initTestBed(`<Custom />`, {
565 | components: [
566 | `
567 | <Component name="Custom">
568 | <Slot name="titleTemp">
569 | Howdy!
570 | </Slot>
571 | </Component>
572 | `,
573 | ],
574 | });
575 | await expect(page.getByText(EXPECTED_VALUE, { exact: false })).toBeVisible();
576 | });
577 |
578 | test("Markdown slot with no 'Template' suffix", async ({ page, initTestBed }) => {
579 | const EXPECTED_VALUE = "component problems";
580 | await initTestBed(`<Custom />`, {
581 | components: [
582 | `
583 | <Component name="Custom">
584 | <Markdown>
585 | <Slot name="titleTemp">
586 | Howdy!
587 | </Slot>
588 | </Markdown>
589 | </Component>
590 | `,
591 | ],
592 | });
593 | await expect(page.getByText(EXPECTED_VALUE, { exact: false })).toBeVisible();
594 | });
595 |
596 | test("$this works in compound components", async ({ page, initTestBed }) => {
597 | await initTestBed(`<TestButton testId="buttonComponent" onClick="$this.incrementInside()"/>`, {
598 | components: [
599 | `
600 | <Component name="TestButton" var.counter="{0}" method.incrementInside="()=>counter++">
601 | <Button onClick="emitEvent('click')">Increment counter: {counter}</Button>
602 | </Component>
603 | `,
604 | ],
605 | });
606 | await page.getByTestId("buttonComponent").click();
607 | await expect(page.getByTestId("buttonComponent")).toHaveText("Increment counter: 1");
608 | });
609 |
610 | test("call api with id works in compound components", async ({ page }) => {
611 | await initApp(page, {
612 | // NOTE: This test runs, but TS is unhappy about the components property
613 | //@ts-ignore
614 | components: `
615 | <Component name="TestButton" var.counter="{0}" method.incrementInside="()=>counter++">
616 | <Button onClick="emitEvent('click')">Increment counter: {counter}</Button>
617 | </Component>
618 | `,
619 | entryPoint: `
620 | <TestButton id="buttonComponent" onClick="buttonComponent.incrementInside()"/>
621 | `,
622 | });
623 |
624 | await page.getByTestId("buttonComponent").click();
625 | await expect(page.getByTestId("buttonComponent")).toHaveText("Increment counter: 1");
626 | });
627 |
628 | test("$self works in compound components", async ({ page, initTestBed }) => {
629 | await initTestBed(`<TestButton testId="buttonComponent"/>`, {
630 | components: [
631 | `
632 | <Component name="TestButton" var.counter="{0}" method.incrementInside="()=>counter++">
633 | <Button onClick="$self.incrementInside()">Increment counter: {counter}</Button>
634 | </Component>
635 | `,
636 | ],
637 | });
638 | await page.getByTestId("buttonComponent").click();
639 | await expect(page.getByTestId("buttonComponent")).toHaveText("Increment counter: 1");
640 | });
641 |
642 | test("$self works in compound components - implicit container", async ({ page, initTestBed }) => {
643 | await initTestBed(`<TestButton testId="buttonComponent"/>`, {
644 | components: [
645 | `
646 | <Component name="TestButton" method.incrementInside="()=>counter++">
647 | <Button var.counter="{0}" onClick="$self.incrementInside()">Increment counter: {counter}</Button>
648 | </Component>
649 | `,
650 | ],
651 | });
652 | await page.getByTestId("buttonComponent").click();
653 | await expect(page.getByTestId("buttonComponent")).toHaveText("Increment counter: 1");
654 | });
655 |
656 | test("$self and $this works in nested compound components", async ({ page, initTestBed }) => {
657 | await initTestBed(`<TestButton1/>`, {
658 | components: [
659 | `
660 | <Component name="TestButton1" var.counter="{0}" method.incrementInside="()=>counter++">
661 | <Button onClick="$self.incrementInside()" testId="buttonComponent1">Increment counter: {counter}</Button>
662 | <TestButton2 onClick="$this.incrementInside()" testId="buttonComponent2"/>
663 | </Component>
664 | `,
665 | `
666 | <Component name="TestButton2" var.counter="{0}" method.incrementInside="()=>counter++">
667 | <Button onClick="$self.incrementInside()">TB2:Increment counter: {counter}</Button>
668 | </Component>
669 | `,
670 | ],
671 | });
672 | await page.getByTestId("buttonComponent1").click();
673 | await expect(page.getByTestId("buttonComponent1")).toHaveText("Increment counter: 1");
674 |
675 | await page.getByTestId("buttonComponent2").click();
676 | await expect(page.getByTestId("buttonComponent2")).toHaveText("TB2:Increment counter: 1");
677 | });
678 |
679 | test("$this works in Queue event handler", async ({ page, initTestBed }) => {
680 | await initTestBed(`
681 | <Stack var.processed="{0}">
682 | <Button
683 | label="Add a new file to the queue"
684 | testId="button"
685 | onClick="{myQueue.enqueueItem({name: 'duplicate-me'})}" />
686 | <Queue
687 | id="myQueue"
688 | onProcess="processing =>
689 | {
690 | if (processing.item.name === 'duplicate-me') {
691 | $this.enqueueItem({name: 'dont-duplicate-me'});
692 | }
693 | processed++;
694 | }
695 | ">
696 | </Queue>
697 | <Text testId="queueLength">{myQueue.getQueueLength()}</Text>
698 | <Text testId="processed">{processed}</Text>
699 | </Stack>
700 | `);
701 | await page.getByTestId("button").click();
702 | await expect(page.getByTestId("processed")).toHaveText("2");
703 | await expect(page.getByTestId("queueLength")).toHaveText("0");
704 | });
705 |
706 | test("method works with script", async ({ page, initTestBed }) => {
707 | await initTestBed(
708 | `
709 | <Fragment var.msg="">
710 | <MyComp id="myComp"/>
711 | <Button testId="trigger" onClick="() => msg = myComp.greet()">Greet</Button>
712 | <H2 testId="greeting">{msg}</H2>
713 | </Fragment>
714 | `,
715 | {
716 | components: [
717 | `
718 | <Component name="MyComp">
719 | <script>
720 | var hello="Hello from MyComp!"
721 | </script>
722 | <Text>{hello}</Text>
723 | <method name="greet">() => hello</method>
724 | </Component>
725 | `,
726 | ],
727 | },
728 | );
729 |
730 | const button = page.getByTestId("trigger");
731 | await button.click();
732 | await expect(page.getByTestId("greeting")).toHaveText("Hello from MyComp!");
733 | });
734 |
```
--------------------------------------------------------------------------------
/xmlui/src/components/Charts/DonutChart/DonutChart.spec.ts:
--------------------------------------------------------------------------------
```typescript
1 | import { expect, test } from "../../../testing/fixtures";
2 |
3 | // Test data helpers - using proper XMLUI data format
4 | const sampleData = `[
5 | { name: 'Desktop', value: 400, fill: '#8884d8' },
6 | { name: 'Mobile', value: 300, fill: '#82ca9d' },
7 | { name: 'Tablet', value: 200, fill: '#ffc658' },
8 | { name: 'Other', value: 100, fill: '#ff7300' }
9 | ]`;
10 |
11 | const emptyData = `[]`;
12 |
13 | const singlePointData = `[
14 | { name: 'Desktop', value: 400 }
15 | ]`;
16 |
17 | const largeDataset = `[
18 | { name: 'Category A', value: 400 },
19 | { name: 'Category B', value: 300 },
20 | { name: 'Category C', value: 200 },
21 | { name: 'Category D', value: 100 },
22 | { name: 'Category E', value: 150 },
23 | { name: 'Category F', value: 250 },
24 | { name: 'Category G', value: 180 },
25 | { name: 'Category H', value: 120 },
26 | { name: 'Category I', value: 90 },
27 | { name: 'Category J', value: 310 }
28 | ]`;
29 |
30 | const zeroValueData = `[
31 | { name: 'Zero A', value: 0 },
32 | { name: 'Normal B', value: 300 },
33 | { name: 'Zero C', value: 0 },
34 | { name: 'Normal D', value: 200 }
35 | ]`;
36 |
37 | // Chart selectors - DonutChart specific (inherits from PieChart)
38 | const chartRoot = ".recharts-responsive-container";
39 | const chartSvg = ".recharts-surface";
40 | const pieSelector = ".recharts-pie";
41 | const pieSectorSelector = ".recharts-pie-sector";
42 | const legendSelector = ".recharts-legend-wrapper";
43 | const tooltipSelector = ".recharts-tooltip-wrapper";
44 | const labelListSelector = ".recharts-label-list";
45 |
46 | // --- Smoke Tests
47 |
48 | test.describe("smoke tests", { tag: "@smoke" }, () => {
49 | test("component renders with basic props", async ({ initTestBed, page }) => {
50 | await initTestBed(`
51 | <DonutChart
52 | nameKey="name"
53 | dataKey="value"
54 | data="{${sampleData}}"
55 | width="400px"
56 | height="400px"
57 | />
58 | `);
59 |
60 | await page.waitForSelector(chartRoot, { timeout: 10000 });
61 | await expect(page.locator(chartRoot)).toBeVisible();
62 | });
63 |
64 | test("renders donut sectors for data points", async ({ initTestBed, page }) => {
65 | await initTestBed(`
66 | <DonutChart
67 | nameKey="name"
68 | dataKey="value"
69 | data="{${sampleData}}"
70 | width="400px"
71 | height="400px"
72 | />
73 | `);
74 |
75 | await page.waitForSelector(chartRoot, { timeout: 10000 });
76 | // Should have 4 pie sectors for 4 data points
77 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
78 | });
79 |
80 | test("renders donut chart with correct structure", async ({ initTestBed, page }) => {
81 | await initTestBed(`
82 | <DonutChart
83 | nameKey="name"
84 | dataKey="value"
85 | data="{${sampleData}}"
86 | width="400px"
87 | height="400px"
88 | />
89 | `);
90 |
91 | await page.waitForSelector(chartRoot, { timeout: 10000 });
92 | await expect(page.locator(pieSelector)).toBeVisible();
93 | await expect(page.locator(chartSvg)).toBeVisible();
94 | });
95 |
96 | test("renders with default innerRadius (donut hole)", async ({ initTestBed, page }) => {
97 | await initTestBed(`
98 | <DonutChart
99 | nameKey="name"
100 | dataKey="value"
101 | data="{${sampleData}}"
102 | width="400px"
103 | height="400px"
104 | />
105 | `);
106 |
107 | await page.waitForSelector(chartRoot, { timeout: 10000 });
108 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
109 | // DonutChart should have a hollow center by default (innerRadius=60)
110 | });
111 | });
112 |
113 | // --- Data Handling Tests
114 |
115 | test.describe("data handling", () => {
116 | test("renders with empty data array", async ({ initTestBed, page }) => {
117 | await initTestBed(`
118 | <DonutChart
119 | nameKey="name"
120 | dataKey="value"
121 | data="{${emptyData}}"
122 | width="400px"
123 | height="400px"
124 | />
125 | `);
126 |
127 | await page.waitForSelector(chartRoot, { timeout: 10000 });
128 | await expect(page.locator(pieSectorSelector)).toHaveCount(0);
129 | });
130 |
131 | test("renders with single data point", async ({ initTestBed, page }) => {
132 | await initTestBed(`
133 | <DonutChart
134 | nameKey="name"
135 | dataKey="value"
136 | data="{${singlePointData}}"
137 | width="400px"
138 | height="400px"
139 | />
140 | `);
141 |
142 | await page.waitForSelector(chartRoot, { timeout: 10000 });
143 | await expect(page.locator(pieSectorSelector)).toHaveCount(1);
144 | });
145 |
146 | test("handles non-array data gracefully", async ({ initTestBed, page }) => {
147 | await initTestBed(`
148 | <DonutChart
149 | nameKey="name"
150 | dataKey="value"
151 | data="{null}"
152 | width="400px"
153 | height="400px"
154 | />
155 | `);
156 |
157 | await page.waitForSelector(chartRoot, { timeout: 10000 });
158 | await expect(page.locator(pieSectorSelector)).toHaveCount(0);
159 | });
160 |
161 | test("handles large datasets", async ({ initTestBed, page }) => {
162 | await initTestBed(`
163 | <DonutChart
164 | nameKey="name"
165 | dataKey="value"
166 | data="{${largeDataset}}"
167 | width="400px"
168 | height="400px"
169 | />
170 | `);
171 |
172 | await page.waitForSelector(chartRoot, { timeout: 10000 });
173 | await expect(page.locator(pieSectorSelector)).toHaveCount(10);
174 | });
175 |
176 | test("handles data with zero values", async ({ initTestBed, page }) => {
177 | await initTestBed(`
178 | <DonutChart
179 | nameKey="name"
180 | dataKey="value"
181 | data="{${zeroValueData}}"
182 | width="400px"
183 | height="400px"
184 | />
185 | `);
186 |
187 | await page.waitForSelector(chartRoot, { timeout: 10000 });
188 | // Chart renders 3 sectors for this data (actual behavior observed)
189 | await expect(page.locator(pieSectorSelector)).toHaveCount(3);
190 | });
191 | });
192 |
193 | // --- Inner Radius Tests (DonutChart specific)
194 |
195 | test.describe("inner radius configuration", () => {
196 | test("renders with default inner radius (60)", async ({ initTestBed, page }) => {
197 | await initTestBed(`
198 | <DonutChart
199 | nameKey="name"
200 | dataKey="value"
201 | data="{${sampleData}}"
202 | width="400px"
203 | height="400px"
204 | />
205 | `);
206 |
207 | await page.waitForSelector(chartRoot, { timeout: 10000 });
208 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
209 | // Default innerRadius should create a donut hole
210 | });
211 |
212 | test("renders with custom inner radius", async ({ initTestBed, page }) => {
213 | await initTestBed(`
214 | <DonutChart
215 | nameKey="name"
216 | dataKey="value"
217 | data="{${sampleData}}"
218 | innerRadius="{80}"
219 | width="400px"
220 | height="400px"
221 | />
222 | `);
223 |
224 | await page.waitForSelector(chartRoot, { timeout: 10000 });
225 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
226 | });
227 |
228 | test("renders with small inner radius", async ({ initTestBed, page }) => {
229 | await initTestBed(`
230 | <DonutChart
231 | nameKey="name"
232 | dataKey="value"
233 | data="{${sampleData}}"
234 | innerRadius="{20}"
235 | width="400px"
236 | height="400px"
237 | />
238 | `);
239 |
240 | await page.waitForSelector(chartRoot, { timeout: 10000 });
241 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
242 | });
243 |
244 | test("renders with large inner radius", async ({ initTestBed, page }) => {
245 | await initTestBed(`
246 | <DonutChart
247 | nameKey="name"
248 | dataKey="value"
249 | data="{${sampleData}}"
250 | innerRadius="{120}"
251 | width="400px"
252 | height="400px"
253 | />
254 | `);
255 |
256 | await page.waitForSelector(chartRoot, { timeout: 10000 });
257 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
258 | });
259 |
260 | test("renders with zero inner radius (becomes regular pie)", async ({ initTestBed, page }) => {
261 | await initTestBed(`
262 | <DonutChart
263 | nameKey="name"
264 | dataKey="value"
265 | data="{${sampleData}}"
266 | innerRadius="{0}"
267 | width="400px"
268 | height="400px"
269 | />
270 | `);
271 |
272 | await page.waitForSelector(chartRoot, { timeout: 10000 });
273 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
274 | // With innerRadius=0, it behaves like a regular pie chart
275 | });
276 | });
277 |
278 | // --- Legend Tests
279 |
280 | test.describe("legend", () => {
281 | test("legend is hidden by default", async ({ initTestBed, page }) => {
282 | await initTestBed(`
283 | <DonutChart
284 | nameKey="name"
285 | dataKey="value"
286 | data="{${sampleData}}"
287 | width="400px"
288 | height="400px"
289 | />
290 | `);
291 |
292 | await page.waitForSelector(chartRoot, { timeout: 10000 });
293 | await expect(page.locator(legendSelector)).not.toBeVisible();
294 | });
295 |
296 | test("legend is shown when showLegend is true", async ({ initTestBed, page }) => {
297 | await initTestBed(`
298 | <DonutChart
299 | nameKey="name"
300 | dataKey="value"
301 | data="{${sampleData}}"
302 | showLegend
303 | width="400px"
304 | height="400px"
305 | />
306 | `);
307 |
308 | await page.waitForSelector(chartRoot, { timeout: 10000 });
309 | await expect(page.locator(legendSelector)).toBeVisible();
310 | });
311 |
312 | test("legend shows correct data labels", async ({ initTestBed, page }) => {
313 | await initTestBed(`
314 | <DonutChart
315 | nameKey="name"
316 | dataKey="value"
317 | data="{${sampleData}}"
318 | showLegend
319 | width="400px"
320 | height="400px"
321 | />
322 | `);
323 |
324 | await page.waitForSelector(chartRoot, { timeout: 10000 });
325 | const legend = page.locator(legendSelector);
326 | await expect(legend).toBeVisible();
327 | await expect(legend).toContainText("Desktop");
328 | await expect(legend).toContainText("Mobile");
329 | await expect(legend).toContainText("Tablet");
330 | await expect(legend).toContainText("Other");
331 | });
332 | });
333 |
334 | // --- Tooltip Tests
335 |
336 | test.describe("tooltip", () => {
337 | test("tooltip appears on hover by default", async ({ initTestBed, page }) => {
338 | await initTestBed(`
339 | <DonutChart
340 | nameKey="name"
341 | dataKey="value"
342 | data="{${sampleData}}"
343 | width="400px"
344 | height="400px"
345 | />
346 | `);
347 |
348 | await page.waitForSelector(chartRoot, { timeout: 10000 });
349 | const pieSector = page.locator(pieSectorSelector).first();
350 | await pieSector.hover();
351 |
352 | // Wait for tooltip to appear
353 | await page.waitForTimeout(500);
354 | await expect(page.locator(tooltipSelector)).toBeVisible();
355 | });
356 |
357 | test("tooltip shows correct data on hover", async ({ initTestBed, page }) => {
358 | await initTestBed(`
359 | <DonutChart
360 | nameKey="name"
361 | dataKey="value"
362 | data="{${sampleData}}"
363 | width="400px"
364 | height="400px"
365 | />
366 | `);
367 |
368 | await page.waitForSelector(chartRoot, { timeout: 10000 });
369 | const pieSector = page.locator(pieSectorSelector).first();
370 | await pieSector.hover();
371 |
372 | await page.waitForTimeout(500);
373 | const tooltip = page.locator(tooltipSelector);
374 | await expect(tooltip).toBeVisible();
375 | // Tooltip should contain data from the first sector
376 | await expect(tooltip).toContainText("Desktop");
377 | await expect(tooltip).toContainText("400");
378 | });
379 |
380 | test("tooltip works with different data points", async ({ initTestBed, page }) => {
381 | await initTestBed(`
382 | <DonutChart
383 | nameKey="name"
384 | dataKey="value"
385 | data="{${sampleData}}"
386 | width="400px"
387 | height="400px"
388 | />
389 | `);
390 |
391 | await page.waitForSelector(chartRoot, { timeout: 10000 });
392 |
393 | // Test multiple sectors
394 | const sectors = page.locator(pieSectorSelector);
395 | const sectorCount = await sectors.count();
396 |
397 | for (let i = 0; i < Math.min(sectorCount, 2); i++) {
398 | await sectors.nth(i).hover();
399 | await page.waitForTimeout(300);
400 | await expect(page.locator(tooltipSelector)).toBeVisible();
401 | }
402 | });
403 | });
404 |
405 | // --- Label Tests
406 |
407 | test.describe("labels", () => {
408 | test("labels are shown by default (showLabel=true)", async ({ initTestBed, page }) => {
409 | await initTestBed(`
410 | <DonutChart
411 | nameKey="name"
412 | dataKey="value"
413 | data="{${sampleData}}"
414 | width="400px"
415 | height="400px"
416 | />
417 | `);
418 |
419 | await page.waitForSelector(chartRoot, { timeout: 10000 });
420 | // Labels should be rendered as text elements
421 | const labels = page.locator('text').filter({ hasText: /Desktop|Mobile|Tablet|Other/ });
422 | await expect(labels).toHaveCount(4);
423 | });
424 |
425 | test("labels are hidden when showLabel is false", async ({ initTestBed, page }) => {
426 | await initTestBed(`
427 | <DonutChart
428 | nameKey="name"
429 | dataKey="value"
430 | data="{${sampleData}}"
431 | showLabel="{false}"
432 | width="400px"
433 | height="400px"
434 | />
435 | `);
436 |
437 | await page.waitForSelector(chartRoot, { timeout: 10000 });
438 | // Should have pie sectors but no labels
439 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
440 | const labels = page.locator('text').filter({ hasText: /Desktop|Mobile|Tablet|Other/ });
441 | await expect(labels).toHaveCount(0);
442 | });
443 |
444 | test("label list is hidden by default", async ({ initTestBed, page }) => {
445 | await initTestBed(`
446 | <DonutChart
447 | nameKey="name"
448 | dataKey="value"
449 | data="{${sampleData}}"
450 | width="400px"
451 | height="400px"
452 | />
453 | `);
454 |
455 | await page.waitForSelector(chartRoot, { timeout: 10000 });
456 | // When showLabelList is false (default), there should be no LabelList elements
457 | await expect(page.locator(labelListSelector)).toHaveCount(0);
458 | });
459 |
460 | test("label list is shown when showLabelList is true", async ({ initTestBed, page }) => {
461 | await initTestBed(`
462 | <DonutChart
463 | nameKey="name"
464 | dataKey="value"
465 | data="{${sampleData}}"
466 | showLabel="{false}"
467 | showLabelList
468 | width="400px"
469 | height="400px"
470 | />
471 | `);
472 |
473 | await page.waitForSelector(chartRoot, { timeout: 10000 });
474 | // LabelList creates text elements with the label content
475 | const labelTexts = page.locator('text').filter({ hasText: /Desktop|Mobile|Tablet|Other/ });
476 | await expect(labelTexts).toHaveCount(4);
477 | });
478 |
479 | test("can show both external labels and label list", async ({ initTestBed, page }) => {
480 | await initTestBed(`
481 | <DonutChart
482 | nameKey="name"
483 | dataKey="value"
484 | data="{${sampleData}}"
485 | showLabel
486 | showLabelList
487 | width="400px"
488 | height="400px"
489 | />
490 | `);
491 |
492 | await page.waitForSelector(chartRoot, { timeout: 10000 });
493 | // Should have text elements for both label types
494 | const labelTexts = page.locator('text').filter({ hasText: /Desktop|Mobile|Tablet|Other/ });
495 | await expect(labelTexts.first()).toBeVisible();
496 | });
497 | });
498 |
499 | // --- Responsive Behavior Tests
500 |
501 | test.describe("responsive behavior", () => {
502 | test("renders in small containers", async ({ initTestBed, page }) => {
503 | await initTestBed(`
504 | <DonutChart
505 | nameKey="name"
506 | dataKey="value"
507 | data="{${sampleData}}"
508 | width="200px"
509 | height="200px"
510 | />
511 | `);
512 |
513 | await page.waitForSelector(chartRoot, { timeout: 10000 });
514 | await expect(page.locator(chartRoot)).toBeVisible();
515 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
516 | });
517 |
518 | test("renders in very small containers", async ({ initTestBed, page }) => {
519 | await initTestBed(`
520 | <DonutChart
521 | nameKey="name"
522 | dataKey="value"
523 | data="{${sampleData}}"
524 | width="100px"
525 | height="100px"
526 | />
527 | `);
528 |
529 | await page.waitForSelector(chartRoot, { timeout: 10000 });
530 | await expect(page.locator(chartRoot)).toBeVisible();
531 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
532 | });
533 |
534 | test("renders in large containers", async ({ initTestBed, page }) => {
535 | await initTestBed(`
536 | <DonutChart
537 | nameKey="name"
538 | dataKey="value"
539 | data="{${sampleData}}"
540 | width="800px"
541 | height="600px"
542 | />
543 | `);
544 |
545 | await page.waitForSelector(chartRoot, { timeout: 10000 });
546 | await expect(page.locator(chartRoot)).toBeVisible();
547 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
548 | });
549 |
550 | test("adapts to container aspect ratio", async ({ initTestBed, page }) => {
551 | await initTestBed(`
552 | <DonutChart
553 | nameKey="name"
554 | dataKey="value"
555 | data="{${sampleData}}"
556 | width="600px"
557 | height="300px"
558 | />
559 | `);
560 |
561 | await page.waitForSelector(chartRoot, { timeout: 10000 });
562 | await expect(page.locator(chartRoot)).toBeVisible();
563 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
564 | });
565 | });
566 |
567 | // --- Interaction Tests
568 |
569 | test.describe("interactions", () => {
570 | test("sectors respond to hover", async ({ initTestBed, page }) => {
571 | await initTestBed(`
572 | <DonutChart
573 | nameKey="name"
574 | dataKey="value"
575 | data="{${sampleData}}"
576 | width="400px"
577 | height="400px"
578 | />
579 | `);
580 |
581 | await page.waitForSelector(chartRoot, { timeout: 10000 });
582 | const pieSector = page.locator(pieSectorSelector).first();
583 |
584 | // Hover should trigger visual feedback
585 | await pieSector.hover();
586 | await page.waitForTimeout(300);
587 |
588 | // The sector should still be visible and potentially highlighted
589 | await expect(pieSector).toBeVisible();
590 | });
591 |
592 | test("multiple sectors can be hovered sequentially", async ({ initTestBed, page }) => {
593 | await initTestBed(`
594 | <DonutChart
595 | nameKey="name"
596 | dataKey="value"
597 | data="{${sampleData}}"
598 | width="400px"
599 | height="400px"
600 | />
601 | `);
602 |
603 | await page.waitForSelector(chartRoot, { timeout: 10000 });
604 | const sectors = page.locator(pieSectorSelector);
605 |
606 | // Hover over multiple sectors
607 | for (let i = 0; i < Math.min(await sectors.count(), 3); i++) {
608 | await sectors.nth(i).hover();
609 | await page.waitForTimeout(200);
610 | await expect(sectors.nth(i)).toBeVisible();
611 | }
612 | });
613 | });
614 |
615 | // --- Performance Tests
616 |
617 | test.describe("performance", () => {
618 | test("renders quickly with standard dataset", async ({ initTestBed, page }) => {
619 | const startTime = Date.now();
620 |
621 | await initTestBed(`
622 | <DonutChart
623 | nameKey="name"
624 | dataKey="value"
625 | data="{${sampleData}}"
626 | width="400px"
627 | height="400px"
628 | />
629 | `);
630 |
631 | await page.waitForSelector(chartRoot, { timeout: 10000 });
632 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
633 |
634 | const renderTime = Date.now() - startTime;
635 | // Should render within reasonable time (less than 5 seconds)
636 | expect(renderTime).toBeLessThan(5000);
637 | });
638 |
639 | test("handles rapid data updates", async ({ initTestBed, page }) => {
640 | await initTestBed(`
641 | <DonutChart
642 | nameKey="name"
643 | dataKey="value"
644 | data="{${sampleData}}"
645 | width="400px"
646 | height="400px"
647 | />
648 | `);
649 |
650 | await page.waitForSelector(chartRoot, { timeout: 10000 });
651 | await expect(page.locator(pieSectorSelector)).toHaveCount(4);
652 |
653 | // The chart should remain stable and responsive
654 | await expect(page.locator(chartRoot)).toBeVisible();
655 | });
656 | });
657 |
658 | // --- Accessibility Tests
659 |
660 | test.describe("accessibility", () => {
661 | test("chart is keyboard accessible", async ({ initTestBed, page }) => {
662 | await initTestBed(`
663 | <DonutChart
664 | nameKey="name"
665 | dataKey="value"
666 | data="{${sampleData}}"
667 | width="400px"
668 | height="400px"
669 | />
670 | `);
671 |
672 | await page.waitForSelector(chartRoot, { timeout: 10000 });
673 |
674 | // Chart should be focusable and navigable
675 | await page.keyboard.press('Tab');
676 | await expect(page.locator(chartRoot)).toBeVisible();
677 | });
678 |
679 | test("chart has proper ARIA structure", async ({ initTestBed, page }) => {
680 | await initTestBed(`
681 | <DonutChart
682 | nameKey="name"
683 | dataKey="value"
684 | data="{${sampleData}}"
685 | width="400px"
686 | height="400px"
687 | />
688 | `);
689 |
690 | await page.waitForSelector(chartRoot, { timeout: 10000 });
691 |
692 | // SVG should have proper structure for screen readers
693 | await expect(page.locator(chartSvg)).toBeVisible();
694 | });
695 | });
696 |
```
--------------------------------------------------------------------------------
/docs/content/components/Markdown.md:
--------------------------------------------------------------------------------
```markdown
1 | # Markdown [#markdown]
2 |
3 | `Markdown` renders formatted text using markdown syntax. Use [Text](/working-with-text) for simple, styled text content, and `Markdown` when you need [rich formatting](/working-with-markdown).
4 |
5 | **Key features:**
6 | - **Rich formatting**: Support for headings, bold, italic, lists, links, images, blockquotes, and code blocks
7 | - **Dynamic content**: Use @{} binding expressions to inject variables and function results
8 | - **File loading**: Load markdown content from external files using the `data` property
9 |
10 | ## Acquiring content [#acquiring-content]
11 |
12 | You can specify Markdown content in these ways.
13 |
14 | ### The content property [#the-content-property]
15 |
16 | Render Markdown content that you calculate or get from other components.
17 |
18 | ### The data property [#the-data-property]
19 |
20 | Render Markdown content from an URL.
21 |
22 | ### Nested text [#nested-text]
23 |
24 | Render Markdown content that you place directly in a Markdown component.
25 |
26 | ## Whitespace and special characters [#whitespace-and-special-characters]
27 |
28 | Whitespace is significant in Markdown, for example headers using the `#` syntax must begin in column 1.
29 |
30 | These special XML characters are significant too.
31 |
32 | ```
33 | < (less than) - Must be escaped as <
34 | > (greater than) - Must be escaped as >
35 | & (ampersand) - Must be escaped as &
36 | " (double quote) - Must be escaped as " in attributes
37 | ' (single quote/apostrophe) - Must be escaped as ' in attributes
38 | ```
39 |
40 | You can use a CDATA section to avoid having to escape these characters individually.
41 |
42 | ```
43 | <Markdown>
44 | <![CDATA[
45 | ]]>
46 | </Markdown>
47 | ```
48 |
49 | Or, as we have done in this page, you can use a code fence (a block delimited by triple backtics) to preserve them.
50 |
51 | ## Supported elements [#supported-elements]
52 |
53 | The `Markdown` component supports these basic elements.
54 |
55 | - Heading
56 | - Bold
57 | - Italic
58 | - Strikethrough
59 | - Blockquote
60 | - Ordered List
61 | - Unordered List
62 | - Code
63 | - Horizontal Rule
64 | - Link
65 | - Image
66 | - Table
67 |
68 | See [this markdown guide](https://www.markdownguide.org/cheat-sheet/).
69 |
70 | ## Binding Expressions [#binding-expressions]
71 |
72 | Our `Markdown` component is capable of evaluating binding expressions just as other XMLUI components.
73 | Use the @{} syntax to wrap expressions that need to be evaluated.
74 |
75 | Objects, functions and arrays will be stringified if you place them in `Markdown`.
76 |
77 | Function calls are executed and their return values inlined as strings into markdown.
78 |
79 | ```xmlui-pg copy {5-9} name="Example: binding expressions syntax"
80 | <App>
81 | <variable name="x" value="{() => { return 'testing' }}" />
82 | <Markdown>
83 | <![CDATA[
84 | Empty elements are removed: @{}
85 |
86 | Nested objects and functions are handled: @{ { a: 1, b: () => {} } }
87 |
88 | Function calls are executed: @{x()}
89 | ]]>
90 | </Markdown>
91 | </App>
92 | ```
93 |
94 | ## Properties [#properties]
95 |
96 | ### `content` [#content]
97 |
98 | This property sets the markdown content to display. Alternatively, you can nest the markdown content as a child in a CDATA section. In neither this property value nor any child is defined, empty content is displayed.
99 |
100 | Use this property when the text you provide is not static but a result of calculations (you assemble the text or get it from other components).
101 |
102 | ### `removeIndents` (default: true) [#removeindents-default-true]
103 |
104 | This boolean property specifies whether leading indents should be removed from the markdown content. If set to `true`, the shortest indent found at the start of the content lines is removed from the beginning of every line.
105 |
106 | ```xmlui-pg copy display name="Example: removeIndents property"
107 | <App layout="horizontal-sticky" padding="1rem">
108 | <Markdown removeIndents="true">
109 | <![CDATA[
110 | # My Adventure in Markdown Land
111 |
112 | ## The Beginning
113 |
114 | In the bustling city of Markdownville, I embarked on a journey to
115 | discover the secrets of Markdown. My adventure started in the heart
116 | of the city, where the first rule of Markdown was inscribed in stone.
117 | ]]>
118 | </Markdown>
119 | </App>
120 | ```
121 |
122 | ### `showHeadingAnchors` [#showheadinganchors]
123 |
124 | This boolean property specifies whether heading anchors should be displayed. If set to `true`, heading anchors will be displayed on hover next to headings.
125 |
126 | If this property is not set, the engine checks if `showHeadingAnchors` flag is turned on in the global configuration (in the `appGlobals` configuration object) and displays the heading anchor accordingly.
127 |
128 | ## Events [#events]
129 |
130 | This component does not have any events.
131 |
132 | ## Exposed Methods [#exposed-methods]
133 |
134 | This component does not expose any methods.
135 |
136 | ## Styling [#styling]
137 |
138 | The component itself cannot be styled, but the components that render the final text have customizable style variables.
139 |
140 | [`Text`](/components/Text#styling)
141 | [`Heading`](/components/Heading#styling)
142 | [`Link`](/components/Link#styling)
143 | [`Image`](/components/Image#styling)
144 | [`Checkbox`](/components/Checkbox#styling)
145 |
146 | ### Theme Variables [#theme-variables]
147 |
148 | | Variable | Default Value (Light) | Default Value (Dark) |
149 | | --- | --- | --- |
150 | | [backgroundColor](../styles-and-themes/common-units/#color)-Admonition | $color-primary-100 | $color-primary-200 |
151 | | [backgroundColor](../styles-and-themes/common-units/#color)-Admonition-danger | $color-danger-100 | $color-danger-100 |
152 | | [backgroundColor](../styles-and-themes/common-units/#color)-Admonition-info | *none* | *none* |
153 | | [backgroundColor](../styles-and-themes/common-units/#color)-Admonition-note | *none* | *none* |
154 | | [backgroundColor](../styles-and-themes/common-units/#color)-Admonition-tip | *none* | *none* |
155 | | [backgroundColor](../styles-and-themes/common-units/#color)-Admonition-warning | $color-warn-100 | $color-warn-100 |
156 | | [backgroundColor](../styles-and-themes/common-units/#color)-Blockquote | $color-surface-100 | $color-surface-50 |
157 | | [backgroundColor](../styles-and-themes/common-units/#color)-Markdown | *none* | *none* |
158 | | [backgroundColor](../styles-and-themes/common-units/#color)-Text | *none* | *none* |
159 | | [border](../styles-and-themes/common-units/#border)-Admonition | 1px solid $color-primary-300 | 1px solid $color-primary-300 |
160 | | [border](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
161 | | [borderBottom](../styles-and-themes/common-units/#border)-Admonition | *none* | *none* |
162 | | [borderBottom](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
163 | | [borderBottomColor](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
164 | | [borderBottomColor](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
165 | | [borderBottomStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
166 | | [borderBottomStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
167 | | [borderBottomWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
168 | | [borderBottomWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
169 | | [borderColor](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
170 | | [borderColor](../styles-and-themes/common-units/#color)-Admonition-danger | $color-danger-300 | $color-danger-300 |
171 | | [borderColor](../styles-and-themes/common-units/#color)-Admonition-info | *none* | *none* |
172 | | [borderColor](../styles-and-themes/common-units/#color)-Admonition-note | *none* | *none* |
173 | | [borderColor](../styles-and-themes/common-units/#color)-Admonition-tip | *none* | *none* |
174 | | [borderColor](../styles-and-themes/common-units/#color)-Admonition-warning | $color-warn-300 | $color-warn-300 |
175 | | [borderColor](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
176 | | [borderColor](../styles-and-themes/common-units/#color)-HorizontalRule | *none* | *none* |
177 | | [borderEndEndRadius](../styles-and-themes/common-units/#border-rounding)-Admonition | *none* | *none* |
178 | | [borderEndEndRadius](../styles-and-themes/common-units/#border-rounding)-Blockquote | *none* | *none* |
179 | | [borderEndStartRadius](../styles-and-themes/common-units/#border-rounding)-Admonition | *none* | *none* |
180 | | [borderEndStartRadius](../styles-and-themes/common-units/#border-rounding)-Blockquote | *none* | *none* |
181 | | [borderHorizontal](../styles-and-themes/common-units/#border)-Admonition | *none* | *none* |
182 | | [borderHorizontal](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
183 | | [borderHorizontalColor](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
184 | | [borderHorizontalColor](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
185 | | [borderHorizontalStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
186 | | [borderHorizontalStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
187 | | [borderHorizontalWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
188 | | [borderHorizontalWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
189 | | [borderLeft](../styles-and-themes/common-units/#border)-Admonition | *none* | *none* |
190 | | [borderLeft](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
191 | | [color](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
192 | | [color](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
193 | | [borderLeftStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
194 | | [borderLeftStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
195 | | [borderLeftWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
196 | | [borderLeftWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
197 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Admonition | $space-2 | $space-2 |
198 | | [borderRadius](../styles-and-themes/common-units/#border-rounding)-Blockquote | *none* | *none* |
199 | | [borderRight](../styles-and-themes/common-units/#border)-Admonition | *none* | *none* |
200 | | [borderRight](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
201 | | [color](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
202 | | [color](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
203 | | [borderRightStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
204 | | [borderRightStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
205 | | [borderRightWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
206 | | [borderRightWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
207 | | [borderStartEndRadius](../styles-and-themes/common-units/#border-rounding)-Admonition | *none* | *none* |
208 | | [borderStartEndRadius](../styles-and-themes/common-units/#border-rounding)-Blockquote | *none* | *none* |
209 | | [borderStartStartRadius](../styles-and-themes/common-units/#border-rounding)-Admonition | *none* | *none* |
210 | | [borderStartStartRadius](../styles-and-themes/common-units/#border-rounding)-Blockquote | *none* | *none* |
211 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
212 | | [borderStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
213 | | [borderStyle](../styles-and-themes/common-units/#border-style)-HorizontalRule | *none* | *none* |
214 | | [borderTop](../styles-and-themes/common-units/#border)-Admonition | *none* | *none* |
215 | | [borderTop](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
216 | | [borderTopColor](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
217 | | [borderTopColor](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
218 | | [borderTopStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
219 | | [borderTopStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
220 | | [borderTopWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
221 | | [borderTopWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
222 | | [borderHorizontal](../styles-and-themes/common-units/#border)-Admonition | *none* | *none* |
223 | | [borderHorizontal](../styles-and-themes/common-units/#border)-Blockquote | *none* | *none* |
224 | | [borderVerticalColor](../styles-and-themes/common-units/#color)-Admonition | *none* | *none* |
225 | | [borderVerticalColor](../styles-and-themes/common-units/#color)-Blockquote | *none* | *none* |
226 | | [borderVerticalStyle](../styles-and-themes/common-units/#border-style)-Admonition | *none* | *none* |
227 | | [borderVerticalStyle](../styles-and-themes/common-units/#border-style)-Blockquote | *none* | *none* |
228 | | [borderVerticalWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
229 | | [borderVerticalWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
230 | | [borderWidth](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
231 | | [borderWidth](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
232 | | [borderWidth](../styles-and-themes/common-units/#size)-HorizontalRule | *none* | *none* |
233 | | [color](../styles-and-themes/common-units/#color)-accent-Blockquote | $color-surface-500 | $color-surface-500 |
234 | | [direction](../styles-and-themes/layout-props#direction)-Text | *none* | *none* |
235 | | [fontFamily](../styles-and-themes/common-units/#fontFamily)-Text | *none* | *none* |
236 | | [fontSize](../styles-and-themes/common-units/#size)-H1-markdown | *none* | *none* |
237 | | [fontSize](../styles-and-themes/common-units/#size)-Text | *none* | *none* |
238 | | [fontSize](../styles-and-themes/common-units/#size)-Text-markdown | fontSize-${COMP} | fontSize-${COMP} |
239 | | [fontStretch](../styles-and-themes/common-units/#fontStretch)-Text | *none* | *none* |
240 | | [fontStyle](../styles-and-themes/common-units/#fontStyle)-Text | *none* | *none* |
241 | | [fontVariant](../styles-and-themes/common-units/#font-variant)-Text | *none* | *none* |
242 | | [fontWeight](../styles-and-themes/common-units/#fontWeight)-Text | *none* | *none* |
243 | | [fontWeight](../styles-and-themes/common-units/#fontWeight)-Text-markdown | fontWeight-Text | fontWeight-Text |
244 | | [letterSpacing](../styles-and-themes/common-units/#size)-Text | *none* | *none* |
245 | | [lineBreak](../styles-and-themes/common-units/#line-break)-Text | *none* | *none* |
246 | | [lineHeight](../styles-and-themes/common-units/#size)-Text | *none* | *none* |
247 | | [marginBottom](../styles-and-themes/common-units/#size)-Admonition | $space-7 | $space-7 |
248 | | [marginBottom](../styles-and-themes/common-units/#size)-Blockquote | $space-7 | $space-7 |
249 | | [marginBottom](../styles-and-themes/common-units/#size)-H1-markdown | *none* | *none* |
250 | | [marginBottom](../styles-and-themes/common-units/#size)-H2-markdown | *none* | *none* |
251 | | [marginBottom](../styles-and-themes/common-units/#size)-H3-markdown | *none* | *none* |
252 | | [marginBottom](../styles-and-themes/common-units/#size)-H4-markdown | *none* | *none* |
253 | | [marginBottom](../styles-and-themes/common-units/#size)-H5-markdown | *none* | *none* |
254 | | [marginBottom](../styles-and-themes/common-units/#size)-H6-markdown | *none* | *none* |
255 | | [marginBottom](../styles-and-themes/common-units/#size)-HtmlLi | $space-2_5 | $space-2_5 |
256 | | [marginBottom](../styles-and-themes/common-units/#size)-HtmlVideo | *none* | *none* |
257 | | [marginBottom](../styles-and-themes/common-units/#size)-Image-markdown | $space-4 | $space-4 |
258 | | [marginBottom](../styles-and-themes/common-units/#size)-Text-markdown | $space-6 | $space-6 |
259 | | [marginLeft](../styles-and-themes/common-units/#size)-Admonition-content | $space-1_5 | $space-1_5 |
260 | | [marginLeft](../styles-and-themes/common-units/#size)-Image-markdown | $space-0 | $space-0 |
261 | | [marginLeft](../styles-and-themes/common-units/#size)-Text-markdown | *none* | *none* |
262 | | [marginRight](../styles-and-themes/common-units/#size)-Image-markdown | $space-0 | $space-0 |
263 | | [marginRight](../styles-and-themes/common-units/#size)-Text-markdown | *none* | *none* |
264 | | [marginTop](../styles-and-themes/common-units/#size)-Admonition | $space-7 | $space-7 |
265 | | [marginTop](../styles-and-themes/common-units/#size)-Blockquote | $space-7 | $space-7 |
266 | | [marginTop](../styles-and-themes/common-units/#size)-H1-markdown | *none* | *none* |
267 | | [marginTop](../styles-and-themes/common-units/#size)-H2-markdown | *none* | *none* |
268 | | [marginTop](../styles-and-themes/common-units/#size)-H3-markdown | *none* | *none* |
269 | | [marginTop](../styles-and-themes/common-units/#size)-H4-markdown | *none* | *none* |
270 | | [marginTop](../styles-and-themes/common-units/#size)-H5-markdown | *none* | *none* |
271 | | [marginTop](../styles-and-themes/common-units/#size)-H6-markdown | *none* | *none* |
272 | | [marginTop](../styles-and-themes/common-units/#size)-HtmlLi | $space-2_5 | $space-2_5 |
273 | | [marginTop](../styles-and-themes/common-units/#size)-HtmlVideo | *none* | *none* |
274 | | [marginTop](../styles-and-themes/common-units/#size)-Image-markdown | $space-4 | $space-4 |
275 | | [marginTop](../styles-and-themes/common-units/#size)-Text-markdown | $space-3 | $space-3 |
276 | | [padding](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
277 | | [padding](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
278 | | [paddingBottom](../styles-and-themes/common-units/#size)-Admonition | $space-2 | $space-2 |
279 | | [paddingBottom](../styles-and-themes/common-units/#size)-Blockquote | $space-2_5 | $space-2_5 |
280 | | [paddingBottom](../styles-and-themes/common-units/#size)-Markdown | *none* | *none* |
281 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
282 | | [paddingHorizontal](../styles-and-themes/common-units/#size)-Blockquote | $space-6 | $space-6 |
283 | | [paddingLeft](../styles-and-themes/common-units/#size)-Admonition | $space-2 | $space-2 |
284 | | [paddingLeft](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
285 | | [paddingRight](../styles-and-themes/common-units/#size)-Admonition | $space-6 | $space-6 |
286 | | [paddingRight](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
287 | | [paddingTop](../styles-and-themes/common-units/#size)-Admonition | $space-3 | $space-3 |
288 | | [paddingTop](../styles-and-themes/common-units/#size)-Blockquote | $space-3 | $space-3 |
289 | | [paddingTop](../styles-and-themes/common-units/#size)-Markdown | *none* | *none* |
290 | | [paddingVertical](../styles-and-themes/common-units/#size)-Admonition | *none* | *none* |
291 | | [paddingVertical](../styles-and-themes/common-units/#size)-Blockquote | *none* | *none* |
292 | | [size](../styles-and-themes/common-units/#size)-icon-Admonition | $space-5 | $space-5 |
293 | | [textAlign](../styles-and-themes/common-units/#text-align)-Text | *none* | *none* |
294 | | [textAlignLast](../styles-and-themes/common-units/#text-align)-Text | *none* | *none* |
295 | | [textColor](../styles-and-themes/common-units/#color)-Text | *none* | *none* |
296 | | [textDecorationColor](../styles-and-themes/common-units/#color)-Text | *none* | *none* |
297 | | [textDecorationLine](../styles-and-themes/common-units/#textDecoration)-Text | *none* | *none* |
298 | | [textDecorationStyle](../styles-and-themes/common-units/#textDecoration)-Text | *none* | *none* |
299 | | [textDecorationThickness](../styles-and-themes/common-units/#textDecoration)-Text | *none* | *none* |
300 | | [textIndent](../styles-and-themes/common-units/#text-indent)-Text | *none* | *none* |
301 | | [textShadow](../styles-and-themes/common-units/#text-shadow)-Text | *none* | *none* |
302 | | [textTransform](../styles-and-themes/common-units/#textTransform)-Text | *none* | *none* |
303 | | [textUnderlineOffset](../styles-and-themes/common-units/#size)-Text | *none* | *none* |
304 | | [width](../styles-and-themes/common-units/#size)-accent-Blockquote | 3px | 3px |
305 | | [wordBreak](../styles-and-themes/common-units/#word-break)-Text | *none* | *none* |
306 | | [wordSpacing](../styles-and-themes/common-units/#word-spacing)-Text | *none* | *none* |
307 | | [wordWrap](../styles-and-themes/common-units/#word-wrap)-Text | *none* | *none* |
308 | | [writingMode](../styles-and-themes/common-units/#writing-mode)-Text | *none* | *none* |
309 |
```