#
tokens: 47202/50000 2/1634 files (page 111/189)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 111 of 189. Use http://codebase.md/xmlui-org/xmlui/tools/vscode/resources/%7BextractResourceUrl(node.props.src)%7D?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── config.json
│   ├── cyan-tools-design.md
│   ├── every-moments-teach.md
│   ├── fancy-laws-drop.md
│   ├── full-symbols-accept.md
│   └── tricky-zoos-crash.md
├── .eslintrc.cjs
├── .github
│   ├── build-checklist.png
│   ├── ISSUE_TEMPLATE
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── workflows
│       ├── deploy-blog-optimized.yml
│       ├── deploy-blog-swa.yml
│       ├── deploy-blog.yml
│       ├── deploy-docs-optimized.yml
│       ├── deploy-docs-swa.yml
│       ├── deploy-docs.yml
│       ├── prepare-versions.yml
│       ├── release-packages.yml
│       ├── run-all-tests.yml
│       └── run-smoke-tests.yml
├── .gitignore
├── .prettierrc.js
├── .vscode
│   ├── launch.json
│   └── settings.json
├── blog
│   ├── .gitignore
│   ├── .gitkeep
│   ├── CHANGELOG.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── blog
│   │   │   ├── images
│   │   │   │   ├── an-advanced-codefence.gif
│   │   │   │   ├── an-advanced-codefence.mp4
│   │   │   │   ├── blog-page-component.png
│   │   │   │   ├── blog-scrabble.png
│   │   │   │   ├── codefence-runner.png
│   │   │   │   ├── integrated-blog-search.png
│   │   │   │   ├── lorem-ipsum.png
│   │   │   │   ├── playground-checkbox-source.png
│   │   │   │   ├── playground.png
│   │   │   │   ├── use-xmlui-mcp-to-find-a-howto.png
│   │   │   │   └── xmlui-demo-gallery.png
│   │   │   ├── introducing-xmlui.md
│   │   │   ├── lorem-ipsum.md
│   │   │   ├── newest-post.md
│   │   │   ├── older-post.md
│   │   │   ├── xmlui-playground.md
│   │   │   └── xmlui-powered-blog.md
│   │   ├── mockServiceWorker.js
│   │   ├── resources
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   └── for-download
│   │   │   │       └── xmlui
│   │   │   │           └── xmlui-standalone.umd.js
│   │   │   ├── github.svg
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   ├── rss.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   ├── staticwebapp.config.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   └── PageNotFound.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       └── blog-theme.ts
│   └── tsconfig.json
├── CONTRIBUTING.md
├── docs
│   ├── .gitignore
│   ├── CHANGELOG.md
│   ├── ComponentRefLinks.txt
│   ├── content
│   │   ├── _meta.json
│   │   ├── components
│   │   │   ├── _meta.json
│   │   │   ├── _overview.md
│   │   │   ├── APICall.md
│   │   │   ├── App.md
│   │   │   ├── AppHeader.md
│   │   │   ├── AppState.md
│   │   │   ├── AutoComplete.md
│   │   │   ├── Avatar.md
│   │   │   ├── Backdrop.md
│   │   │   ├── Badge.md
│   │   │   ├── BarChart.md
│   │   │   ├── Bookmark.md
│   │   │   ├── Breakout.md
│   │   │   ├── Button.md
│   │   │   ├── Card.md
│   │   │   ├── Carousel.md
│   │   │   ├── ChangeListener.md
│   │   │   ├── Checkbox.md
│   │   │   ├── CHStack.md
│   │   │   ├── ColorPicker.md
│   │   │   ├── Column.md
│   │   │   ├── ContentSeparator.md
│   │   │   ├── CVStack.md
│   │   │   ├── DataSource.md
│   │   │   ├── DateInput.md
│   │   │   ├── DatePicker.md
│   │   │   ├── DonutChart.md
│   │   │   ├── DropdownMenu.md
│   │   │   ├── EmojiSelector.md
│   │   │   ├── ExpandableItem.md
│   │   │   ├── FileInput.md
│   │   │   ├── FileUploadDropZone.md
│   │   │   ├── FlowLayout.md
│   │   │   ├── Footer.md
│   │   │   ├── Form.md
│   │   │   ├── FormItem.md
│   │   │   ├── FormSection.md
│   │   │   ├── Fragment.md
│   │   │   ├── H1.md
│   │   │   ├── H2.md
│   │   │   ├── H3.md
│   │   │   ├── H4.md
│   │   │   ├── H5.md
│   │   │   ├── H6.md
│   │   │   ├── Heading.md
│   │   │   ├── HSplitter.md
│   │   │   ├── HStack.md
│   │   │   ├── Icon.md
│   │   │   ├── IFrame.md
│   │   │   ├── Image.md
│   │   │   ├── Items.md
│   │   │   ├── LabelList.md
│   │   │   ├── Legend.md
│   │   │   ├── LineChart.md
│   │   │   ├── Link.md
│   │   │   ├── List.md
│   │   │   ├── Logo.md
│   │   │   ├── Markdown.md
│   │   │   ├── MenuItem.md
│   │   │   ├── MenuSeparator.md
│   │   │   ├── ModalDialog.md
│   │   │   ├── NavGroup.md
│   │   │   ├── NavLink.md
│   │   │   ├── NavPanel.md
│   │   │   ├── NoResult.md
│   │   │   ├── NumberBox.md
│   │   │   ├── Option.md
│   │   │   ├── Page.md
│   │   │   ├── PageMetaTitle.md
│   │   │   ├── Pages.md
│   │   │   ├── Pagination.md
│   │   │   ├── PasswordInput.md
│   │   │   ├── PieChart.md
│   │   │   ├── ProgressBar.md
│   │   │   ├── Queue.md
│   │   │   ├── RadioGroup.md
│   │   │   ├── RealTimeAdapter.md
│   │   │   ├── Redirect.md
│   │   │   ├── Select.md
│   │   │   ├── Slider.md
│   │   │   ├── Slot.md
│   │   │   ├── SpaceFiller.md
│   │   │   ├── Spinner.md
│   │   │   ├── Splitter.md
│   │   │   ├── Stack.md
│   │   │   ├── StickyBox.md
│   │   │   ├── SubMenuItem.md
│   │   │   ├── Switch.md
│   │   │   ├── TabItem.md
│   │   │   ├── Table.md
│   │   │   ├── TableOfContents.md
│   │   │   ├── Tabs.md
│   │   │   ├── Text.md
│   │   │   ├── TextArea.md
│   │   │   ├── TextBox.md
│   │   │   ├── Theme.md
│   │   │   ├── TimeInput.md
│   │   │   ├── Timer.md
│   │   │   ├── ToneChangerButton.md
│   │   │   ├── ToneSwitch.md
│   │   │   ├── Tooltip.md
│   │   │   ├── Tree.md
│   │   │   ├── VSplitter.md
│   │   │   ├── VStack.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   ├── xmlui-spreadsheet
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Spreadsheet.md
│   │   │   └── xmlui-website-blocks
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       ├── Carousel.md
│   │   │       ├── HelloMd.md
│   │   │       ├── HeroSection.md
│   │   │       └── ScrollToTop.md
│   │   └── extensions
│   │       ├── _meta.json
│   │       ├── xmlui-animations
│   │       │   ├── _meta.json
│   │       │   ├── _overview.md
│   │       │   ├── Animation.md
│   │       │   ├── FadeAnimation.md
│   │       │   ├── FadeInAnimation.md
│   │       │   ├── FadeOutAnimation.md
│   │       │   ├── ScaleAnimation.md
│   │       │   └── SlideInAnimation.md
│   │       └── xmlui-website-blocks
│   │           ├── _meta.json
│   │           ├── _overview.md
│   │           ├── Carousel.md
│   │           ├── HelloMd.md
│   │           ├── HeroSection.md
│   │           └── ScrollToTop.md
│   ├── extensions.ts
│   ├── index.html
│   ├── index.ts
│   ├── package.json
│   ├── public
│   │   ├── feed.rss
│   │   ├── mockServiceWorker.js
│   │   ├── pages
│   │   │   ├── _meta.json
│   │   │   ├── app-structure.md
│   │   │   ├── build-editor-component.md
│   │   │   ├── build-hello-world-component.md
│   │   │   ├── components-intro.md
│   │   │   ├── context-variables.md
│   │   │   ├── forms.md
│   │   │   ├── globals.md
│   │   │   ├── glossary.md
│   │   │   ├── helper-tags.md
│   │   │   ├── hosted-deployment.md
│   │   │   ├── howto
│   │   │   │   ├── assign-a-complex-json-literal-to-a-component-variable.md
│   │   │   │   ├── chain-a-refetch.md
│   │   │   │   ├── control-cache-invalidation.md
│   │   │   │   ├── debounce-user-input-for-api-calls.md
│   │   │   │   ├── debounce-with-changelistener.md
│   │   │   │   ├── debug-a-component.md
│   │   │   │   ├── delay-a-datasource-until-another-datasource-is-ready.md
│   │   │   │   ├── delegate-a-method.md
│   │   │   │   ├── do-custom-form-validation.md
│   │   │   │   ├── expose-a-method-from-a-component.md
│   │   │   │   ├── filter-and-transform-data-from-an-api.md
│   │   │   │   ├── group-items-in-list-by-a-property.md
│   │   │   │   ├── handle-background-operations.md
│   │   │   │   ├── hide-an-element-until-its-datasource-is-ready.md
│   │   │   │   ├── make-a-set-of-equal-width-cards.md
│   │   │   │   ├── make-a-table-responsive.md
│   │   │   │   ├── make-navpanel-width-responsive.md
│   │   │   │   ├── modify-a-value-reported-in-a-column.md
│   │   │   │   ├── paginate-a-list.md
│   │   │   │   ├── pass-data-to-a-modal-dialog.md
│   │   │   │   ├── react-to-button-click-not-keystrokes.md
│   │   │   │   ├── set-the-initial-value-of-a-select-from-fetched-data.md
│   │   │   │   ├── share-a-modaldialog-across-components.md
│   │   │   │   ├── sync-selections-between-table-and-list-views.md
│   │   │   │   ├── update-ui-optimistically.md
│   │   │   │   ├── use-built-in-form-validation.md
│   │   │   │   └── use-the-same-modaldialog-to-add-or-edit.md
│   │   │   ├── howto.md
│   │   │   ├── intro.md
│   │   │   ├── layout.md
│   │   │   ├── markup.md
│   │   │   ├── mcp.md
│   │   │   ├── modal-dialogs.md
│   │   │   ├── news-and-reviews.md
│   │   │   ├── reactive-intro.md
│   │   │   ├── refactoring.md
│   │   │   ├── routing-and-links.md
│   │   │   ├── samples
│   │   │   │   ├── color-palette.xmlui
│   │   │   │   ├── color-values.xmlui
│   │   │   │   ├── shadow-sizes.xmlui
│   │   │   │   ├── spacing-sizes.xmlui
│   │   │   │   ├── swatch.xmlui
│   │   │   │   ├── theme-gallery-brief.xmlui
│   │   │   │   └── theme-gallery.xmlui
│   │   │   ├── scoping.md
│   │   │   ├── scripting.md
│   │   │   ├── styles-and-themes
│   │   │   │   ├── common-units.md
│   │   │   │   ├── layout-props.md
│   │   │   │   ├── theme-variable-defaults.md
│   │   │   │   ├── theme-variables.md
│   │   │   │   └── themes.md
│   │   │   ├── template-properties.md
│   │   │   ├── test.md
│   │   │   ├── tutorial-01.md
│   │   │   ├── tutorial-02.md
│   │   │   ├── tutorial-03.md
│   │   │   ├── tutorial-04.md
│   │   │   ├── tutorial-05.md
│   │   │   ├── tutorial-06.md
│   │   │   ├── tutorial-07.md
│   │   │   ├── tutorial-08.md
│   │   │   ├── tutorial-09.md
│   │   │   ├── tutorial-10.md
│   │   │   ├── tutorial-11.md
│   │   │   ├── tutorial-12.md
│   │   │   ├── universal-properties.md
│   │   │   ├── user-defined-components.md
│   │   │   ├── vscode.md
│   │   │   ├── working-with-markdown.md
│   │   │   ├── working-with-text.md
│   │   │   ├── xmlui-animations
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── Animation.md
│   │   │   │   ├── FadeAnimation.md
│   │   │   │   ├── FadeInAnimation.md
│   │   │   │   ├── FadeOutAnimation.md
│   │   │   │   ├── ScaleAnimation.md
│   │   │   │   └── SlideInAnimation.md
│   │   │   ├── xmlui-charts
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   ├── BarChart.md
│   │   │   │   ├── DonutChart.md
│   │   │   │   ├── LabelList.md
│   │   │   │   ├── Legend.md
│   │   │   │   ├── LineChart.md
│   │   │   │   └── PieChart.md
│   │   │   ├── xmlui-pdf
│   │   │   │   ├── _meta.json
│   │   │   │   ├── _overview.md
│   │   │   │   └── Pdf.md
│   │   │   └── xmlui-spreadsheet
│   │   │       ├── _meta.json
│   │   │       ├── _overview.md
│   │   │       └── Spreadsheet.md
│   │   ├── resources
│   │   │   ├── devdocs
│   │   │   │   ├── debug-proxy-object-2.png
│   │   │   │   ├── debug-proxy-object.png
│   │   │   │   ├── table_editor_01.png
│   │   │   │   ├── table_editor_02.png
│   │   │   │   ├── table_editor_03.png
│   │   │   │   ├── table_editor_04.png
│   │   │   │   ├── table_editor_05.png
│   │   │   │   ├── table_editor_06.png
│   │   │   │   ├── table_editor_07.png
│   │   │   │   ├── table_editor_08.png
│   │   │   │   ├── table_editor_09.png
│   │   │   │   ├── table_editor_10.png
│   │   │   │   ├── table_editor_11.png
│   │   │   │   ├── table-editor-01.png
│   │   │   │   ├── table-editor-02.png
│   │   │   │   ├── table-editor-03.png
│   │   │   │   ├── table-editor-04.png
│   │   │   │   ├── table-editor-06.png
│   │   │   │   ├── table-editor-07.png
│   │   │   │   ├── table-editor-08.png
│   │   │   │   ├── table-editor-09.png
│   │   │   │   └── xmlui-rendering-of-tiptap-markdown.png
│   │   │   ├── favicon.ico
│   │   │   ├── files
│   │   │   │   ├── clients.json
│   │   │   │   ├── daily-revenue.json
│   │   │   │   ├── dashboard-stats.json
│   │   │   │   ├── demo.xmlui
│   │   │   │   ├── demo.xmlui.xs
│   │   │   │   ├── downloads
│   │   │   │   │   └── downloads.json
│   │   │   │   ├── for-download
│   │   │   │   │   ├── index-with-api.html
│   │   │   │   │   ├── index.html
│   │   │   │   │   ├── mockApi.js
│   │   │   │   │   ├── start-darwin.sh
│   │   │   │   │   ├── start-linux.sh
│   │   │   │   │   ├── start.bat
│   │   │   │   │   └── xmlui
│   │   │   │   │       └── xmlui-standalone.umd.js
│   │   │   │   ├── getting-started
│   │   │   │   │   ├── cl-tutorial-final.zip
│   │   │   │   │   ├── cl-tutorial.zip
│   │   │   │   │   ├── cl-tutorial2.zip
│   │   │   │   │   ├── cl-tutorial3.zip
│   │   │   │   │   ├── cl-tutorial4.zip
│   │   │   │   │   ├── cl-tutorial5.zip
│   │   │   │   │   ├── cl-tutorial6.zip
│   │   │   │   │   ├── getting-started.zip
│   │   │   │   │   ├── hello-xmlui.zip
│   │   │   │   │   ├── xmlui-empty.zip
│   │   │   │   │   └── xmlui-starter.zip
│   │   │   │   ├── howto
│   │   │   │   │   └── component-icons
│   │   │   │   │       └── up-arrow.svg
│   │   │   │   ├── invoices.json
│   │   │   │   ├── monthly-status.json
│   │   │   │   ├── news-and-reviews.json
│   │   │   │   ├── products.json
│   │   │   │   ├── releases.json
│   │   │   │   ├── tutorials
│   │   │   │   │   ├── datasource
│   │   │   │   │   │   └── api.ts
│   │   │   │   │   └── p2do
│   │   │   │   │       ├── api.ts
│   │   │   │   │       └── todo-logo.svg
│   │   │   │   └── xmlui.json
│   │   │   ├── github.svg
│   │   │   ├── images
│   │   │   │   ├── apiaction-tutorial
│   │   │   │   │   ├── add-success.png
│   │   │   │   │   ├── apiaction-param.png
│   │   │   │   │   ├── change-completed.png
│   │   │   │   │   ├── change-in-progress.png
│   │   │   │   │   ├── confirm-delete.png
│   │   │   │   │   ├── data-error.png
│   │   │   │   │   ├── data-progress.png
│   │   │   │   │   ├── data-success.png
│   │   │   │   │   ├── display-1.png
│   │   │   │   │   ├── item-deleted.png
│   │   │   │   │   ├── item-updated.png
│   │   │   │   │   ├── missing-api-key.png
│   │   │   │   │   ├── new-item-added.png
│   │   │   │   │   └── test-message.png
│   │   │   │   ├── chat-api
│   │   │   │   │   └── domain-model.svg
│   │   │   │   ├── components
│   │   │   │   │   ├── image
│   │   │   │   │   │   └── breakfast.jpg
│   │   │   │   │   ├── markdown
│   │   │   │   │   │   └── colors.png
│   │   │   │   │   └── modal
│   │   │   │   │       ├── deep_link_dialog_1.jpg
│   │   │   │   │       └── deep_link_dialog_2.jpg
│   │   │   │   ├── create-apps
│   │   │   │   │   ├── collapsed-vertical.png
│   │   │   │   │   ├── using-forms-warning-dialog.png
│   │   │   │   │   └── using-forms.png
│   │   │   │   ├── datasource-tutorial
│   │   │   │   │   ├── data-with-header.png
│   │   │   │   │   ├── filtered-data.png
│   │   │   │   │   ├── filtered-items.png
│   │   │   │   │   ├── initial-page-items.png
│   │   │   │   │   ├── list-items.png
│   │   │   │   │   ├── next-page-items.png
│   │   │   │   │   ├── no-data.png
│   │   │   │   │   ├── pagination-1.jpg
│   │   │   │   │   ├── pagination-1.png
│   │   │   │   │   ├── polling-1.png
│   │   │   │   │   ├── refetch-data.png
│   │   │   │   │   ├── slow-loading.png
│   │   │   │   │   ├── test-message.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── unconventional-data.png
│   │   │   │   │   └── unfiltered-items.png
│   │   │   │   ├── flower.jpg
│   │   │   │   ├── get-started
│   │   │   │   │   ├── add-new-contact.png
│   │   │   │   │   ├── app-modified.png
│   │   │   │   │   ├── app-start.png
│   │   │   │   │   ├── app-with-boxes.png
│   │   │   │   │   ├── app-with-toast.png
│   │   │   │   │   ├── boilerplate-structure.png
│   │   │   │   │   ├── cl-initial.png
│   │   │   │   │   ├── cl-start.png
│   │   │   │   │   ├── contact-counts.png
│   │   │   │   │   ├── contact-dialog-title.png
│   │   │   │   │   ├── contact-dialog.png
│   │   │   │   │   ├── contact-menus.png
│   │   │   │   │   ├── contact-predicates.png
│   │   │   │   │   ├── context-menu.png
│   │   │   │   │   ├── dashboard-numbers.png
│   │   │   │   │   ├── default-contact-list.png
│   │   │   │   │   ├── delete-contact.png
│   │   │   │   │   ├── delete-task.png
│   │   │   │   │   ├── detailed-template.png
│   │   │   │   │   ├── edit-contact-details.png
│   │   │   │   │   ├── edited-contact-saved.png
│   │   │   │   │   ├── empty-sections.png
│   │   │   │   │   ├── filter-completed.png
│   │   │   │   │   ├── fullwidth-desktop.png
│   │   │   │   │   ├── fullwidth-mobile.png
│   │   │   │   │   ├── initial-table.png
│   │   │   │   │   ├── items-and-badges.png
│   │   │   │   │   ├── loading-message.png
│   │   │   │   │   ├── new-contact-button.png
│   │   │   │   │   ├── new-contact-saved.png
│   │   │   │   │   ├── no-empty-sections.png
│   │   │   │   │   ├── personal-todo-initial.png
│   │   │   │   │   ├── piechart.png
│   │   │   │   │   ├── review-today.png
│   │   │   │   │   ├── rudimentary-dashboard.png
│   │   │   │   │   ├── section-collapsed.png
│   │   │   │   │   ├── sectioned-items.png
│   │   │   │   │   ├── sections-ordered.png
│   │   │   │   │   ├── spacex-list-with-links.png
│   │   │   │   │   ├── spacex-list.png
│   │   │   │   │   ├── start-personal-todo-1.png
│   │   │   │   │   ├── submit-new-contact.png
│   │   │   │   │   ├── submit-new-task.png
│   │   │   │   │   ├── syntax-highlighting.png
│   │   │   │   │   ├── table-with-badge.png
│   │   │   │   │   ├── template-with-card.png
│   │   │   │   │   ├── test-emulated-api.png
│   │   │   │   │   ├── Thumbs.db
│   │   │   │   │   ├── todo-logo.png
│   │   │   │   │   └── xmlui-tools.png
│   │   │   │   ├── HelloApp.png
│   │   │   │   ├── HelloApp2.png
│   │   │   │   ├── logos
│   │   │   │   │   ├── xmlui1.svg
│   │   │   │   │   ├── xmlui2.svg
│   │   │   │   │   ├── xmlui3.svg
│   │   │   │   │   ├── xmlui4.svg
│   │   │   │   │   ├── xmlui5.svg
│   │   │   │   │   ├── xmlui6.svg
│   │   │   │   │   └── xmlui7.svg
│   │   │   │   ├── pdf
│   │   │   │   │   └── dummy-pdf.jpg
│   │   │   │   ├── rendering-engine
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   ├── Component.svg
│   │   │   │   │   ├── CompoundComponent.svg
│   │   │   │   │   ├── RootComponent.svg
│   │   │   │   │   └── tree-with-containers.svg
│   │   │   │   ├── reviewers-guide
│   │   │   │   │   ├── AppEngine-flow.svg
│   │   │   │   │   └── incbutton-in-action.png
│   │   │   │   ├── tools
│   │   │   │   │   └── boilerplate-structure.png
│   │   │   │   ├── try.svg
│   │   │   │   ├── tutorial
│   │   │   │   │   ├── app-chat-history.png
│   │   │   │   │   ├── app-content-placeholder.png
│   │   │   │   │   ├── app-header-and-content.png
│   │   │   │   │   ├── app-links-channel-selected.png
│   │   │   │   │   ├── app-links-click.png
│   │   │   │   │   ├── app-navigation.png
│   │   │   │   │   ├── finished-ex01.png
│   │   │   │   │   ├── finished-ex02.png
│   │   │   │   │   ├── hello.png
│   │   │   │   │   ├── splash-screen-advanced.png
│   │   │   │   │   ├── splash-screen-after-click.png
│   │   │   │   │   ├── splash-screen-centered.png
│   │   │   │   │   ├── splash-screen-events.png
│   │   │   │   │   ├── splash-screen-expression.png
│   │   │   │   │   ├── splash-screen-reuse-after.png
│   │   │   │   │   ├── splash-screen-reuse-before.png
│   │   │   │   │   └── splash-screen.png
│   │   │   │   └── tutorial-01.png
│   │   │   ├── llms.txt
│   │   │   ├── logo-dark.svg
│   │   │   ├── logo.svg
│   │   │   ├── pg-popout.svg
│   │   │   └── xmlui-logo.svg
│   │   ├── serve.json
│   │   └── web.config
│   ├── scripts
│   │   ├── download-latest-xmlui.js
│   │   ├── generate-rss.js
│   │   ├── get-releases.js
│   │   └── utils.js
│   ├── src
│   │   ├── components
│   │   │   ├── BlogOverview.xmlui
│   │   │   ├── BlogPage.xmlui
│   │   │   ├── Boxes.xmlui
│   │   │   ├── Breadcrumb.xmlui
│   │   │   ├── ChangeLog.xmlui
│   │   │   ├── ColorPalette.xmlui
│   │   │   ├── DocumentLinks.xmlui
│   │   │   ├── DocumentPage.xmlui
│   │   │   ├── DocumentPageNoTOC.xmlui
│   │   │   ├── Icons.xmlui
│   │   │   ├── IncButton.xmlui
│   │   │   ├── IncButton2.xmlui
│   │   │   ├── NameValue.xmlui
│   │   │   ├── PageNotFound.xmlui
│   │   │   ├── PaletteItem.xmlui
│   │   │   ├── Palettes.xmlui
│   │   │   ├── SectionHeader.xmlui
│   │   │   ├── TBD.xmlui
│   │   │   ├── Test.xmlui
│   │   │   ├── ThemesIntro.xmlui
│   │   │   ├── ThousandThemes.xmlui
│   │   │   ├── TubeStops.xmlui
│   │   │   ├── TubeStops.xmlui.xs
│   │   │   └── TwoColumnCode.xmlui
│   │   ├── config.ts
│   │   ├── Main.xmlui
│   │   └── themes
│   │       ├── docs-theme.ts
│   │       ├── earthtone.ts
│   │       ├── xmlui-gray-on-default.ts
│   │       ├── xmlui-green-on-default.ts
│   │       └── xmlui-orange-on-default.ts
│   └── tsconfig.json
├── LICENSE
├── package-lock.json
├── package.json
├── packages
│   ├── tsconfig.json
│   ├── xmlui-animations
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── Animation.tsx
│   │       ├── AnimationNative.tsx
│   │       ├── FadeAnimation.tsx
│   │       ├── FadeInAnimation.tsx
│   │       ├── FadeOutAnimation.tsx
│   │       ├── index.tsx
│   │       ├── ScaleAnimation.tsx
│   │       └── SlideInAnimation.tsx
│   ├── xmlui-devtools
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   ├── src
│   │   │   ├── devtools
│   │   │   │   ├── DevTools.tsx
│   │   │   │   ├── DevToolsNative.module.scss
│   │   │   │   ├── DevToolsNative.tsx
│   │   │   │   ├── ModalDialog.module.scss
│   │   │   │   ├── ModalDialog.tsx
│   │   │   │   ├── ModalVisibilityContext.tsx
│   │   │   │   ├── Tooltip.module.scss
│   │   │   │   ├── Tooltip.tsx
│   │   │   │   └── utils.ts
│   │   │   ├── editor
│   │   │   │   └── Editor.tsx
│   │   │   └── index.tsx
│   │   └── vite.config-overrides.ts
│   ├── xmlui-hello-world
│   │   ├── .gitignore
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── HelloWorld.module.scss
│   │       ├── HelloWorld.tsx
│   │       ├── HelloWorldNative.tsx
│   │       └── index.tsx
│   ├── xmlui-os-frames
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── IPhoneFrame.module.scss
│   │       ├── IPhoneFrame.tsx
│   │       ├── MacOSAppFrame.module.scss
│   │       ├── MacOSAppFrame.tsx
│   │       ├── WindowsAppFrame.module.scss
│   │       └── WindowsAppFrame.tsx
│   ├── xmlui-pdf
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   ├── components
│   │   │   │   └── Pdf.xmlui
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── LazyPdfNative.tsx
│   │       ├── Pdf.module.scss
│   │       └── Pdf.tsx
│   ├── xmlui-playground
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── hooks
│   │       │   ├── usePlayground.ts
│   │       │   └── useToast.ts
│   │       ├── index.tsx
│   │       ├── playground
│   │       │   ├── Box.module.scss
│   │       │   ├── Box.tsx
│   │       │   ├── CodeSelector.module.scss
│   │       │   ├── CodeSelector.tsx
│   │       │   ├── ConfirmationDialog.module.scss
│   │       │   ├── ConfirmationDialog.tsx
│   │       │   ├── Editor.tsx
│   │       │   ├── Header.module.scss
│   │       │   ├── Header.tsx
│   │       │   ├── Playground.tsx
│   │       │   ├── PlaygroundContent.module.scss
│   │       │   ├── PlaygroundContent.tsx
│   │       │   ├── PlaygroundNative.module.scss
│   │       │   ├── PlaygroundNative.tsx
│   │       │   ├── Preview.tsx
│   │       │   ├── StandalonePlayground.tsx
│   │       │   ├── StandalonePlaygroundNative.module.scss
│   │       │   ├── StandalonePlaygroundNative.tsx
│   │       │   ├── ThemeSwitcher.module.scss
│   │       │   ├── ThemeSwitcher.tsx
│   │       │   └── utils.ts
│   │       ├── providers
│   │       │   ├── Toast.module.scss
│   │       │   └── ToastProvider.tsx
│   │       ├── state
│   │       │   └── store.ts
│   │       ├── themes
│   │       │   └── theme.ts
│   │       └── utils
│   │           └── helpers.ts
│   ├── xmlui-search
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── Search.module.scss
│   │       └── Search.tsx
│   ├── xmlui-spreadsheet
│   │   ├── .gitignore
│   │   ├── demo
│   │   │   └── Main.xmlui
│   │   ├── index.html
│   │   ├── index.ts
│   │   ├── meta
│   │   │   └── componentsMetadata.ts
│   │   ├── package.json
│   │   └── src
│   │       ├── index.tsx
│   │       ├── Spreadsheet.tsx
│   │       └── SpreadsheetNative.tsx
│   └── xmlui-website-blocks
│       ├── .gitignore
│       ├── CHANGELOG.md
│       ├── demo
│       │   ├── components
│       │   │   ├── HeroBackgroundBreakoutPage.xmlui
│       │   │   ├── HeroBackgroundsPage.xmlui
│       │   │   ├── HeroContentsPage.xmlui
│       │   │   ├── HeroTextAlignPage.xmlui
│       │   │   ├── HeroTextPage.xmlui
│       │   │   └── HeroTonesPage.xmlui
│       │   ├── Main.xmlui
│       │   └── themes
│       │       └── default.ts
│       ├── index.html
│       ├── index.ts
│       ├── meta
│       │   └── componentsMetadata.ts
│       ├── package.json
│       ├── public
│       │   └── resources
│       │       ├── building.jpg
│       │       └── xmlui-logo.svg
│       └── src
│           ├── Carousel
│           │   ├── Carousel.module.scss
│           │   ├── Carousel.tsx
│           │   ├── CarouselContext.tsx
│           │   └── CarouselNative.tsx
│           ├── FancyButton
│           │   ├── FancyButton.module.scss
│           │   ├── FancyButton.tsx
│           │   └── FancyButton.xmlui
│           ├── Hello
│           │   ├── Hello.tsx
│           │   ├── Hello.xmlui
│           │   └── Hello.xmlui.xs
│           ├── HeroSection
│           │   ├── HeroSection.module.scss
│           │   ├── HeroSection.spec.ts
│           │   ├── HeroSection.tsx
│           │   └── HeroSectionNative.tsx
│           ├── index.tsx
│           ├── ScrollToTop
│           │   ├── ScrollToTop.module.scss
│           │   ├── ScrollToTop.tsx
│           │   └── ScrollToTopNative.tsx
│           └── vite-env.d.ts
├── playwright.config.ts
├── README.md
├── tools
│   ├── codefence
│   │   └── xmlui-code-fence-docs.md
│   ├── create-app
│   │   ├── .gitignore
│   │   ├── CHANGELOG.md
│   │   ├── create-app.ts
│   │   ├── helpers
│   │   │   ├── copy.ts
│   │   │   ├── get-pkg-manager.ts
│   │   │   ├── git.ts
│   │   │   ├── install.ts
│   │   │   ├── is-folder-empty.ts
│   │   │   ├── is-writeable.ts
│   │   │   ├── make-dir.ts
│   │   │   └── validate-pkg.ts
│   │   ├── index.ts
│   │   ├── package.json
│   │   ├── templates
│   │   │   ├── default
│   │   │   │   └── ts
│   │   │   │       ├── gitignore
│   │   │   │       ├── index.html
│   │   │   │       ├── index.ts
│   │   │   │       ├── public
│   │   │   │       │   ├── mockServiceWorker.js
│   │   │   │       │   ├── resources
│   │   │   │       │   │   ├── favicon.ico
│   │   │   │       │   │   └── xmlui-logo.svg
│   │   │   │       │   └── serve.json
│   │   │   │       └── src
│   │   │   │           ├── components
│   │   │   │           │   ├── ApiAware.xmlui
│   │   │   │           │   ├── Home.xmlui
│   │   │   │           │   ├── IncButton.xmlui
│   │   │   │           │   └── PagePanel.xmlui
│   │   │   │           ├── config.ts
│   │   │   │           └── Main.xmlui
│   │   │   ├── index.ts
│   │   │   └── types.ts
│   │   └── tsconfig.json
│   ├── create-xmlui-hello-world
│   │   ├── index.js
│   │   └── package.json
│   └── vscode
│       ├── .gitignore
│       ├── .vscode
│       │   ├── launch.json
│       │   └── tasks.json
│       ├── .vscodeignore
│       ├── build.sh
│       ├── CHANGELOG.md
│       ├── esbuild.js
│       ├── eslint.config.mjs
│       ├── formatter-docs.md
│       ├── generate-test-sample.sh
│       ├── LICENSE.md
│       ├── package-lock.json
│       ├── package.json
│       ├── README.md
│       ├── resources
│       │   ├── xmlui-logo.png
│       │   └── xmlui-markup-syntax-highlighting.png
│       ├── src
│       │   ├── extension.ts
│       │   └── server.ts
│       ├── syntaxes
│       │   └── xmlui.tmLanguage.json
│       ├── test-samples
│       │   └── sample.xmlui
│       ├── tsconfig.json
│       └── tsconfig.tsbuildinfo
├── turbo.json
└── xmlui
    ├── .gitignore
    ├── bin
    │   ├── bootstrap.cjs
    │   ├── bootstrap.js
    │   ├── build-lib.ts
    │   ├── build.ts
    │   ├── index.ts
    │   ├── preview.ts
    │   ├── start.ts
    │   ├── vite-xmlui-plugin.ts
    │   └── viteConfig.ts
    ├── CHANGELOG.md
    ├── conventions
    │   ├── component-qa-checklist.md
    │   ├── copilot-conventions.md
    │   ├── create-xmlui-components.md
    │   ├── mermaid.md
    │   ├── testing-conventions.md
    │   └── xmlui-in-a-nutshell.md
    ├── dev-docs
    │   ├── accessibility.md
    │   ├── build-system.md
    │   ├── build-xmlui.md
    │   ├── component-behaviors.md
    │   ├── component-metadata.md
    │   ├── components-with-options.md
    │   ├── containers.md
    │   ├── data-operations.md
    │   ├── glossary.md
    │   ├── index.md
    │   ├── next
    │   │   ├── component-dev-guide.md
    │   │   ├── configuration-management-enhancement-summary.md
    │   │   ├── documentation-scripts-refactoring-complete-summary.md
    │   │   ├── documentation-scripts-refactoring-plan.md
    │   │   ├── duplicate-pattern-extraction-summary.md
    │   │   ├── error-handling-standardization-summary.md
    │   │   ├── generating-component-reference.md
    │   │   ├── index.md
    │   │   ├── logging-consistency-implementation-summary.md
    │   │   ├── project-build.md
    │   │   ├── project-structure.md
    │   │   ├── theme-context.md
    │   │   ├── tiptap-design-considerations.md
    │   │   ├── working-with-code.md
    │   │   ├── xmlui-runtime-architecture
    │   │   └── xmlui-wcag-accessibility-report.md
    │   ├── react-fundamentals.md
    │   ├── release-method.md
    │   ├── standalone-app.md
    │   ├── theme-variables-refactoring.md
    │   ├── ud-components.md
    │   └── xmlui-repo.md
    ├── package.json
    ├── scripts
    │   ├── coverage-only.js
    │   ├── e2e-test-summary.js
    │   ├── extract-component-metadata.js
    │   ├── generate-docs
    │   │   ├── build-downloads-map.mjs
    │   │   ├── build-pages-map.mjs
    │   │   ├── components-config.json
    │   │   ├── configuration-management.mjs
    │   │   ├── constants.mjs
    │   │   ├── create-theme-files.mjs
    │   │   ├── DocsGenerator.mjs
    │   │   ├── error-handling.mjs
    │   │   ├── extensions-config.json
    │   │   ├── folders.mjs
    │   │   ├── generate-summary-files.mjs
    │   │   ├── get-docs.mjs
    │   │   ├── input-handler.mjs
    │   │   ├── logger.mjs
    │   │   ├── logging-standards.mjs
    │   │   ├── MetadataProcessor.mjs
    │   │   ├── pattern-utilities.mjs
    │   │   └── utils.mjs
    │   ├── generate-metadata-markdown.js
    │   ├── get-langserver-metadata.js
    │   ├── inline-links.mjs
    │   └── README-e2e-summary.md
    ├── src
    │   ├── abstractions
    │   │   ├── _conventions.md
    │   │   ├── ActionDefs.ts
    │   │   ├── AppContextDefs.ts
    │   │   ├── ComponentDefs.ts
    │   │   ├── ContainerDefs.ts
    │   │   ├── ExtensionDefs.ts
    │   │   ├── FunctionDefs.ts
    │   │   ├── RendererDefs.ts
    │   │   ├── scripting
    │   │   │   ├── BlockScope.ts
    │   │   │   ├── Compilation.ts
    │   │   │   ├── LogicalThread.ts
    │   │   │   ├── LoopScope.ts
    │   │   │   ├── modules.ts
    │   │   │   ├── ScriptParserError.ts
    │   │   │   ├── Token.ts
    │   │   │   ├── TryScope.ts
    │   │   │   └── TryScopeExp.ts
    │   │   └── ThemingDefs.ts
    │   ├── components
    │   │   ├── _conventions.md
    │   │   ├── abstractions.ts
    │   │   ├── Accordion
    │   │   │   ├── Accordion.md
    │   │   │   ├── Accordion.module.scss
    │   │   │   ├── Accordion.spec.ts
    │   │   │   ├── Accordion.tsx
    │   │   │   ├── AccordionContext.tsx
    │   │   │   ├── AccordionItem.tsx
    │   │   │   ├── AccordionItemNative.tsx
    │   │   │   └── AccordionNative.tsx
    │   │   ├── Animation
    │   │   │   └── AnimationNative.tsx
    │   │   ├── APICall
    │   │   │   ├── APICall.md
    │   │   │   ├── APICall.spec.ts
    │   │   │   ├── APICall.tsx
    │   │   │   └── APICallNative.tsx
    │   │   ├── App
    │   │   │   ├── App.md
    │   │   │   ├── App.module.scss
    │   │   │   ├── App.spec.ts
    │   │   │   ├── App.tsx
    │   │   │   ├── AppLayoutContext.ts
    │   │   │   ├── AppNative.tsx
    │   │   │   ├── AppStateContext.ts
    │   │   │   ├── doc-resources
    │   │   │   │   ├── condensed-sticky.xmlui
    │   │   │   │   ├── condensed.xmlui
    │   │   │   │   ├── horizontal-sticky.xmlui
    │   │   │   │   ├── horizontal.xmlui
    │   │   │   │   ├── vertical-full-header.xmlui
    │   │   │   │   ├── vertical-sticky.xmlui
    │   │   │   │   └── vertical.xmlui
    │   │   │   ├── IndexerContext.ts
    │   │   │   ├── LinkInfoContext.ts
    │   │   │   ├── SearchContext.tsx
    │   │   │   ├── Sheet.module.scss
    │   │   │   └── Sheet.tsx
    │   │   ├── AppHeader
    │   │   │   ├── AppHeader.md
    │   │   │   ├── AppHeader.module.scss
    │   │   │   ├── AppHeader.spec.ts
    │   │   │   ├── AppHeader.tsx
    │   │   │   └── AppHeaderNative.tsx
    │   │   ├── AppState
    │   │   │   ├── AppState.md
    │   │   │   ├── AppState.spec.ts
    │   │   │   ├── AppState.tsx
    │   │   │   └── AppStateNative.tsx
    │   │   ├── AutoComplete
    │   │   │   ├── AutoComplete.md
    │   │   │   ├── AutoComplete.module.scss
    │   │   │   ├── AutoComplete.spec.ts
    │   │   │   ├── AutoComplete.tsx
    │   │   │   ├── AutoCompleteContext.tsx
    │   │   │   └── AutoCompleteNative.tsx
    │   │   ├── Avatar
    │   │   │   ├── Avatar.md
    │   │   │   ├── Avatar.module.scss
    │   │   │   ├── Avatar.spec.ts
    │   │   │   ├── Avatar.tsx
    │   │   │   └── AvatarNative.tsx
    │   │   ├── Backdrop
    │   │   │   ├── Backdrop.md
    │   │   │   ├── Backdrop.module.scss
    │   │   │   ├── Backdrop.spec.ts
    │   │   │   ├── Backdrop.tsx
    │   │   │   └── BackdropNative.tsx
    │   │   ├── Badge
    │   │   │   ├── Badge.md
    │   │   │   ├── Badge.module.scss
    │   │   │   ├── Badge.spec.ts
    │   │   │   ├── Badge.tsx
    │   │   │   └── BadgeNative.tsx
    │   │   ├── Bookmark
    │   │   │   ├── Bookmark.md
    │   │   │   ├── Bookmark.module.scss
    │   │   │   ├── Bookmark.spec.ts
    │   │   │   ├── Bookmark.tsx
    │   │   │   └── BookmarkNative.tsx
    │   │   ├── Breakout
    │   │   │   ├── Breakout.module.scss
    │   │   │   ├── Breakout.spec.ts
    │   │   │   ├── Breakout.tsx
    │   │   │   └── BreakoutNative.tsx
    │   │   ├── Button
    │   │   │   ├── Button-style.spec.ts
    │   │   │   ├── Button.md
    │   │   │   ├── Button.module.scss
    │   │   │   ├── Button.spec.ts
    │   │   │   ├── Button.tsx
    │   │   │   └── ButtonNative.tsx
    │   │   ├── Card
    │   │   │   ├── Card.md
    │   │   │   ├── Card.module.scss
    │   │   │   ├── Card.spec.ts
    │   │   │   ├── Card.tsx
    │   │   │   └── CardNative.tsx
    │   │   ├── Carousel
    │   │   │   ├── Carousel.md
    │   │   │   ├── Carousel.module.scss
    │   │   │   ├── Carousel.spec.ts
    │   │   │   ├── Carousel.tsx
    │   │   │   ├── CarouselContext.tsx
    │   │   │   ├── CarouselItem.tsx
    │   │   │   ├── CarouselItemNative.tsx
    │   │   │   └── CarouselNative.tsx
    │   │   ├── ChangeListener
    │   │   │   ├── ChangeListener.md
    │   │   │   ├── ChangeListener.spec.ts
    │   │   │   ├── ChangeListener.tsx
    │   │   │   └── ChangeListenerNative.tsx
    │   │   ├── chart-color-schemes.ts
    │   │   ├── Charts
    │   │   │   ├── AreaChart
    │   │   │   │   ├── AreaChart.md
    │   │   │   │   ├── AreaChart.spec.ts
    │   │   │   │   ├── AreaChart.tsx
    │   │   │   │   └── AreaChartNative.tsx
    │   │   │   ├── BarChart
    │   │   │   │   ├── BarChart.md
    │   │   │   │   ├── BarChart.module.scss
    │   │   │   │   ├── BarChart.spec.ts
    │   │   │   │   ├── BarChart.tsx
    │   │   │   │   └── BarChartNative.tsx
    │   │   │   ├── DonutChart
    │   │   │   │   ├── DonutChart.spec.ts
    │   │   │   │   └── DonutChart.tsx
    │   │   │   ├── LabelList
    │   │   │   │   ├── LabelList.module.scss
    │   │   │   │   ├── LabelList.spec.ts
    │   │   │   │   ├── LabelList.tsx
    │   │   │   │   └── LabelListNative.tsx
    │   │   │   ├── Legend
    │   │   │   │   ├── Legend.spec.ts
    │   │   │   │   ├── Legend.tsx
    │   │   │   │   └── LegendNative.tsx
    │   │   │   ├── LineChart
    │   │   │   │   ├── LineChart.md
    │   │   │   │   ├── LineChart.module.scss
    │   │   │   │   ├── LineChart.spec.ts
    │   │   │   │   ├── LineChart.tsx
    │   │   │   │   └── LineChartNative.tsx
    │   │   │   ├── PieChart
    │   │   │   │   ├── PieChart.md
    │   │   │   │   ├── PieChart.spec.ts
    │   │   │   │   ├── PieChart.tsx
    │   │   │   │   ├── PieChartNative.module.scss
    │   │   │   │   └── PieChartNative.tsx
    │   │   │   ├── RadarChart
    │   │   │   │   ├── RadarChart.md
    │   │   │   │   ├── RadarChart.spec.ts
    │   │   │   │   ├── RadarChart.tsx
    │   │   │   │   └── RadarChartNative.tsx
    │   │   │   ├── Tooltip
    │   │   │   │   ├── TooltipContent.module.scss
    │   │   │   │   ├── TooltipContent.spec.ts
    │   │   │   │   └── TooltipContent.tsx
    │   │   │   └── utils
    │   │   │       ├── abstractions.ts
    │   │   │       └── ChartProvider.tsx
    │   │   ├── Checkbox
    │   │   │   ├── Checkbox.md
    │   │   │   ├── Checkbox.spec.ts
    │   │   │   └── Checkbox.tsx
    │   │   ├── CodeBlock
    │   │   │   ├── CodeBlock.module.scss
    │   │   │   ├── CodeBlock.spec.ts
    │   │   │   ├── CodeBlock.tsx
    │   │   │   ├── CodeBlockNative.tsx
    │   │   │   └── highlight-code.ts
    │   │   ├── collectedComponentMetadata.ts
    │   │   ├── ColorPicker
    │   │   │   ├── ColorPicker.md
    │   │   │   ├── ColorPicker.module.scss
    │   │   │   ├── ColorPicker.spec.ts
    │   │   │   ├── ColorPicker.tsx
    │   │   │   └── ColorPickerNative.tsx
    │   │   ├── Column
    │   │   │   ├── Column.md
    │   │   │   ├── Column.tsx
    │   │   │   ├── ColumnNative.tsx
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   └── TableContext.tsx
    │   │   ├── component-utils.ts
    │   │   ├── ComponentProvider.tsx
    │   │   ├── ComponentRegistryContext.tsx
    │   │   ├── container-helpers.tsx
    │   │   ├── ContentSeparator
    │   │   │   ├── ContentSeparator.md
    │   │   │   ├── ContentSeparator.module.scss
    │   │   │   ├── ContentSeparator.spec.ts
    │   │   │   ├── ContentSeparator.tsx
    │   │   │   ├── ContentSeparatorNative.tsx
    │   │   │   └── test-padding.xmlui
    │   │   ├── DataSource
    │   │   │   ├── DataSource.md
    │   │   │   └── DataSource.tsx
    │   │   ├── DateInput
    │   │   │   ├── DateInput.md
    │   │   │   ├── DateInput.module.scss
    │   │   │   ├── DateInput.spec.ts
    │   │   │   ├── DateInput.tsx
    │   │   │   └── DateInputNative.tsx
    │   │   ├── DatePicker
    │   │   │   ├── DatePicker.md
    │   │   │   ├── DatePicker.module.scss
    │   │   │   ├── DatePicker.spec.ts
    │   │   │   ├── DatePicker.tsx
    │   │   │   └── DatePickerNative.tsx
    │   │   ├── DropdownMenu
    │   │   │   ├── DropdownMenu.md
    │   │   │   ├── DropdownMenu.module.scss
    │   │   │   ├── DropdownMenu.spec.ts
    │   │   │   ├── DropdownMenu.tsx
    │   │   │   ├── DropdownMenuNative.tsx
    │   │   │   ├── MenuItem.md
    │   │   │   └── SubMenuItem.md
    │   │   ├── EmojiSelector
    │   │   │   ├── EmojiSelector.md
    │   │   │   ├── EmojiSelector.spec.ts
    │   │   │   ├── EmojiSelector.tsx
    │   │   │   └── EmojiSelectorNative.tsx
    │   │   ├── ExpandableItem
    │   │   │   ├── ExpandableItem.module.scss
    │   │   │   ├── ExpandableItem.spec.ts
    │   │   │   ├── ExpandableItem.tsx
    │   │   │   └── ExpandableItemNative.tsx
    │   │   ├── FileInput
    │   │   │   ├── FileInput.md
    │   │   │   ├── FileInput.module.scss
    │   │   │   ├── FileInput.spec.ts
    │   │   │   ├── FileInput.tsx
    │   │   │   └── FileInputNative.tsx
    │   │   ├── FileUploadDropZone
    │   │   │   ├── FileUploadDropZone.md
    │   │   │   ├── FileUploadDropZone.module.scss
    │   │   │   ├── FileUploadDropZone.spec.ts
    │   │   │   ├── FileUploadDropZone.tsx
    │   │   │   └── FileUploadDropZoneNative.tsx
    │   │   ├── FlowLayout
    │   │   │   ├── FlowLayout.md
    │   │   │   ├── FlowLayout.module.scss
    │   │   │   ├── FlowLayout.spec.ts
    │   │   │   ├── FlowLayout.spec.ts-snapshots
    │   │   │   │   └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png
    │   │   │   ├── FlowLayout.tsx
    │   │   │   └── FlowLayoutNative.tsx
    │   │   ├── Footer
    │   │   │   ├── Footer.md
    │   │   │   ├── Footer.module.scss
    │   │   │   ├── Footer.spec.ts
    │   │   │   ├── Footer.tsx
    │   │   │   └── FooterNative.tsx
    │   │   ├── Form
    │   │   │   ├── Form.md
    │   │   │   ├── Form.module.scss
    │   │   │   ├── Form.spec.ts
    │   │   │   ├── Form.tsx
    │   │   │   ├── formActions.ts
    │   │   │   ├── FormContext.ts
    │   │   │   └── FormNative.tsx
    │   │   ├── FormItem
    │   │   │   ├── FormItem.md
    │   │   │   ├── FormItem.module.scss
    │   │   │   ├── FormItem.spec.ts
    │   │   │   ├── FormItem.tsx
    │   │   │   ├── FormItemNative.tsx
    │   │   │   ├── HelperText.module.scss
    │   │   │   ├── HelperText.tsx
    │   │   │   ├── ItemWithLabel.tsx
    │   │   │   └── Validations.ts
    │   │   ├── FormSection
    │   │   │   ├── FormSection.md
    │   │   │   ├── FormSection.ts
    │   │   │   └── FormSection.xmlui
    │   │   ├── Fragment
    │   │   │   ├── Fragment.spec.ts
    │   │   │   └── Fragment.tsx
    │   │   ├── Heading
    │   │   │   ├── abstractions.ts
    │   │   │   ├── H1.md
    │   │   │   ├── H1.spec.ts
    │   │   │   ├── H2.md
    │   │   │   ├── H2.spec.ts
    │   │   │   ├── H3.md
    │   │   │   ├── H3.spec.ts
    │   │   │   ├── H4.md
    │   │   │   ├── H4.spec.ts
    │   │   │   ├── H5.md
    │   │   │   ├── H5.spec.ts
    │   │   │   ├── H6.md
    │   │   │   ├── H6.spec.ts
    │   │   │   ├── Heading.md
    │   │   │   ├── Heading.module.scss
    │   │   │   ├── Heading.spec.ts
    │   │   │   ├── Heading.tsx
    │   │   │   └── HeadingNative.tsx
    │   │   ├── HoverCard
    │   │   │   ├── HoverCard.tsx
    │   │   │   └── HovercardNative.tsx
    │   │   ├── HtmlTags
    │   │   │   ├── HtmlTags.module.scss
    │   │   │   ├── HtmlTags.spec.ts
    │   │   │   └── HtmlTags.tsx
    │   │   ├── Icon
    │   │   │   ├── AdmonitionDanger.tsx
    │   │   │   ├── AdmonitionInfo.tsx
    │   │   │   ├── AdmonitionNote.tsx
    │   │   │   ├── AdmonitionTip.tsx
    │   │   │   ├── AdmonitionWarning.tsx
    │   │   │   ├── ApiIcon.tsx
    │   │   │   ├── ArrowDropDown.module.scss
    │   │   │   ├── ArrowDropDown.tsx
    │   │   │   ├── ArrowDropUp.module.scss
    │   │   │   ├── ArrowDropUp.tsx
    │   │   │   ├── ArrowLeft.module.scss
    │   │   │   ├── ArrowLeft.tsx
    │   │   │   ├── ArrowRight.module.scss
    │   │   │   ├── ArrowRight.tsx
    │   │   │   ├── Attach.tsx
    │   │   │   ├── Binding.module.scss
    │   │   │   ├── Binding.tsx
    │   │   │   ├── BoardIcon.tsx
    │   │   │   ├── BoxIcon.tsx
    │   │   │   ├── CheckIcon.tsx
    │   │   │   ├── ChevronDownIcon.tsx
    │   │   │   ├── ChevronLeft.tsx
    │   │   │   ├── ChevronRight.tsx
    │   │   │   ├── ChevronUpIcon.tsx
    │   │   │   ├── CodeFileIcon.tsx
    │   │   │   ├── CodeSandbox.tsx
    │   │   │   ├── CompactListIcon.tsx
    │   │   │   ├── ContentCopyIcon.tsx
    │   │   │   ├── DarkToLightIcon.tsx
    │   │   │   ├── DatabaseIcon.module.scss
    │   │   │   ├── DatabaseIcon.tsx
    │   │   │   ├── DocFileIcon.tsx
    │   │   │   ├── DocIcon.tsx
    │   │   │   ├── DotMenuHorizontalIcon.tsx
    │   │   │   ├── DotMenuIcon.tsx
    │   │   │   ├── EmailIcon.tsx
    │   │   │   ├── EmptyFolderIcon.tsx
    │   │   │   ├── ErrorIcon.tsx
    │   │   │   ├── ExpressionIcon.tsx
    │   │   │   ├── FillPlusCricleIcon.tsx
    │   │   │   ├── FilterIcon.tsx
    │   │   │   ├── FolderIcon.tsx
    │   │   │   ├── GlobeIcon.tsx
    │   │   │   ├── HomeIcon.tsx
    │   │   │   ├── HyperLinkIcon.tsx
    │   │   │   ├── Icon.md
    │   │   │   ├── Icon.module.scss
    │   │   │   ├── Icon.spec.ts
    │   │   │   ├── Icon.tsx
    │   │   │   ├── IconNative.tsx
    │   │   │   ├── ImageFileIcon.tsx
    │   │   │   ├── Inspect.tsx
    │   │   │   ├── LightToDark.tsx
    │   │   │   ├── LinkIcon.tsx
    │   │   │   ├── ListIcon.tsx
    │   │   │   ├── LooseListIcon.tsx
    │   │   │   ├── MoonIcon.tsx
    │   │   │   ├── MoreOptionsIcon.tsx
    │   │   │   ├── NoSortIcon.tsx
    │   │   │   ├── PDFIcon.tsx
    │   │   │   ├── PenIcon.tsx
    │   │   │   ├── PhoneIcon.tsx
    │   │   │   ├── PhotoIcon.tsx
    │   │   │   ├── PlusIcon.tsx
    │   │   │   ├── SearchIcon.tsx
    │   │   │   ├── ShareIcon.tsx
    │   │   │   ├── SortAscendingIcon.tsx
    │   │   │   ├── SortDescendingIcon.tsx
    │   │   │   ├── StarsIcon.tsx
    │   │   │   ├── SunIcon.tsx
    │   │   │   ├── svg
    │   │   │   │   ├── admonition_danger.svg
    │   │   │   │   ├── admonition_info.svg
    │   │   │   │   ├── admonition_note.svg
    │   │   │   │   ├── admonition_tip.svg
    │   │   │   │   ├── admonition_warning.svg
    │   │   │   │   ├── api.svg
    │   │   │   │   ├── arrow-dropdown.svg
    │   │   │   │   ├── arrow-left.svg
    │   │   │   │   ├── arrow-right.svg
    │   │   │   │   ├── arrow-up.svg
    │   │   │   │   ├── attach.svg
    │   │   │   │   ├── binding.svg
    │   │   │   │   ├── box.svg
    │   │   │   │   ├── bulb.svg
    │   │   │   │   ├── code-file.svg
    │   │   │   │   ├── code-sandbox.svg
    │   │   │   │   ├── dark_to_light.svg
    │   │   │   │   ├── database.svg
    │   │   │   │   ├── doc.svg
    │   │   │   │   ├── empty-folder.svg
    │   │   │   │   ├── expression.svg
    │   │   │   │   ├── eye-closed.svg
    │   │   │   │   ├── eye-dark.svg
    │   │   │   │   ├── eye.svg
    │   │   │   │   ├── file-text.svg
    │   │   │   │   ├── filter.svg
    │   │   │   │   ├── folder.svg
    │   │   │   │   ├── img.svg
    │   │   │   │   ├── inspect.svg
    │   │   │   │   ├── light_to_dark.svg
    │   │   │   │   ├── moon.svg
    │   │   │   │   ├── pdf.svg
    │   │   │   │   ├── photo.svg
    │   │   │   │   ├── share.svg
    │   │   │   │   ├── stars.svg
    │   │   │   │   ├── sun.svg
    │   │   │   │   ├── trending-down.svg
    │   │   │   │   ├── trending-level.svg
    │   │   │   │   ├── trending-up.svg
    │   │   │   │   ├── txt.svg
    │   │   │   │   ├── unknown-file.svg
    │   │   │   │   ├── unlink.svg
    │   │   │   │   └── xls.svg
    │   │   │   ├── TableDeleteColumnIcon.tsx
    │   │   │   ├── TableDeleteRowIcon.tsx
    │   │   │   ├── TableInsertColumnIcon.tsx
    │   │   │   ├── TableInsertRowIcon.tsx
    │   │   │   ├── TrashIcon.tsx
    │   │   │   ├── TrendingDownIcon.tsx
    │   │   │   ├── TrendingLevelIcon.tsx
    │   │   │   ├── TrendingUpIcon.tsx
    │   │   │   ├── TxtIcon.tsx
    │   │   │   ├── UnknownFileIcon.tsx
    │   │   │   ├── UnlinkIcon.tsx
    │   │   │   ├── UserIcon.tsx
    │   │   │   ├── WarningIcon.tsx
    │   │   │   └── XlsIcon.tsx
    │   │   ├── IconProvider.tsx
    │   │   ├── IconRegistryContext.tsx
    │   │   ├── IFrame
    │   │   │   ├── IFrame.md
    │   │   │   ├── IFrame.module.scss
    │   │   │   ├── IFrame.spec.ts
    │   │   │   ├── IFrame.tsx
    │   │   │   └── IFrameNative.tsx
    │   │   ├── Image
    │   │   │   ├── Image.md
    │   │   │   ├── Image.module.scss
    │   │   │   ├── Image.spec.ts
    │   │   │   ├── Image.tsx
    │   │   │   └── ImageNative.tsx
    │   │   ├── Input
    │   │   │   ├── index.ts
    │   │   │   ├── InputAdornment.module.scss
    │   │   │   ├── InputAdornment.tsx
    │   │   │   ├── InputDivider.module.scss
    │   │   │   ├── InputDivider.tsx
    │   │   │   ├── InputLabel.module.scss
    │   │   │   ├── InputLabel.tsx
    │   │   │   ├── PartialInput.module.scss
    │   │   │   └── PartialInput.tsx
    │   │   ├── InspectButton
    │   │   │   ├── InspectButton.module.scss
    │   │   │   └── InspectButton.tsx
    │   │   ├── Items
    │   │   │   ├── Items.md
    │   │   │   ├── Items.spec.ts
    │   │   │   ├── Items.tsx
    │   │   │   └── ItemsNative.tsx
    │   │   ├── Link
    │   │   │   ├── Link.md
    │   │   │   ├── Link.module.scss
    │   │   │   ├── Link.spec.ts
    │   │   │   ├── Link.tsx
    │   │   │   └── LinkNative.tsx
    │   │   ├── List
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   ├── List.md
    │   │   │   ├── List.module.scss
    │   │   │   ├── List.spec.ts
    │   │   │   ├── List.tsx
    │   │   │   └── ListNative.tsx
    │   │   ├── Logo
    │   │   │   ├── doc-resources
    │   │   │   │   └── xmlui-logo.svg
    │   │   │   ├── Logo.md
    │   │   │   ├── Logo.tsx
    │   │   │   └── LogoNative.tsx
    │   │   ├── Markdown
    │   │   │   ├── CodeText.module.scss
    │   │   │   ├── CodeText.tsx
    │   │   │   ├── Markdown.md
    │   │   │   ├── Markdown.module.scss
    │   │   │   ├── Markdown.spec.ts
    │   │   │   ├── Markdown.tsx
    │   │   │   ├── MarkdownNative.tsx
    │   │   │   ├── parse-binding-expr.ts
    │   │   │   └── utils.ts
    │   │   ├── metadata-helpers.ts
    │   │   ├── ModalDialog
    │   │   │   ├── ConfirmationModalContextProvider.tsx
    │   │   │   ├── Dialog.module.scss
    │   │   │   ├── Dialog.tsx
    │   │   │   ├── ModalDialog.md
    │   │   │   ├── ModalDialog.module.scss
    │   │   │   ├── ModalDialog.spec.ts
    │   │   │   ├── ModalDialog.tsx
    │   │   │   ├── ModalDialogNative.tsx
    │   │   │   └── ModalVisibilityContext.tsx
    │   │   ├── NavGroup
    │   │   │   ├── NavGroup.md
    │   │   │   ├── NavGroup.module.scss
    │   │   │   ├── NavGroup.spec.ts
    │   │   │   ├── NavGroup.tsx
    │   │   │   ├── NavGroupContext.ts
    │   │   │   └── NavGroupNative.tsx
    │   │   ├── NavLink
    │   │   │   ├── NavLink.md
    │   │   │   ├── NavLink.module.scss
    │   │   │   ├── NavLink.spec.ts
    │   │   │   ├── NavLink.tsx
    │   │   │   └── NavLinkNative.tsx
    │   │   ├── NavPanel
    │   │   │   ├── NavPanel.md
    │   │   │   ├── NavPanel.module.scss
    │   │   │   ├── NavPanel.spec.ts
    │   │   │   ├── NavPanel.tsx
    │   │   │   └── NavPanelNative.tsx
    │   │   ├── NestedApp
    │   │   │   ├── AppWithCodeView.module.scss
    │   │   │   ├── AppWithCodeView.tsx
    │   │   │   ├── AppWithCodeViewNative.tsx
    │   │   │   ├── defaultProps.tsx
    │   │   │   ├── logo.svg
    │   │   │   ├── NestedApp.module.scss
    │   │   │   ├── NestedApp.tsx
    │   │   │   ├── NestedAppNative.tsx
    │   │   │   ├── Tooltip.module.scss
    │   │   │   ├── Tooltip.tsx
    │   │   │   └── utils.ts
    │   │   ├── NoResult
    │   │   │   ├── NoResult.md
    │   │   │   ├── NoResult.module.scss
    │   │   │   ├── NoResult.spec.ts
    │   │   │   ├── NoResult.tsx
    │   │   │   └── NoResultNative.tsx
    │   │   ├── NumberBox
    │   │   │   ├── numberbox-abstractions.ts
    │   │   │   ├── NumberBox.md
    │   │   │   ├── NumberBox.module.scss
    │   │   │   ├── NumberBox.spec.ts
    │   │   │   ├── NumberBox.tsx
    │   │   │   └── NumberBoxNative.tsx
    │   │   ├── Option
    │   │   │   ├── Option.md
    │   │   │   ├── Option.spec.ts
    │   │   │   ├── Option.tsx
    │   │   │   ├── OptionNative.tsx
    │   │   │   └── OptionTypeProvider.tsx
    │   │   ├── PageMetaTitle
    │   │   │   ├── PageMetaTilteNative.tsx
    │   │   │   ├── PageMetaTitle.md
    │   │   │   ├── PageMetaTitle.spec.ts
    │   │   │   └── PageMetaTitle.tsx
    │   │   ├── Pages
    │   │   │   ├── Page.md
    │   │   │   ├── Pages.md
    │   │   │   ├── Pages.module.scss
    │   │   │   ├── Pages.tsx
    │   │   │   └── PagesNative.tsx
    │   │   ├── Pagination
    │   │   │   ├── Pagination.md
    │   │   │   ├── Pagination.module.scss
    │   │   │   ├── Pagination.spec.ts
    │   │   │   ├── Pagination.tsx
    │   │   │   └── PaginationNative.tsx
    │   │   ├── PositionedContainer
    │   │   │   ├── PositionedContainer.module.scss
    │   │   │   ├── PositionedContainer.tsx
    │   │   │   └── PositionedContainerNative.tsx
    │   │   ├── ProfileMenu
    │   │   │   ├── ProfileMenu.module.scss
    │   │   │   └── ProfileMenu.tsx
    │   │   ├── ProgressBar
    │   │   │   ├── ProgressBar.md
    │   │   │   ├── ProgressBar.module.scss
    │   │   │   ├── ProgressBar.spec.ts
    │   │   │   ├── ProgressBar.tsx
    │   │   │   └── ProgressBarNative.tsx
    │   │   ├── Queue
    │   │   │   ├── Queue.md
    │   │   │   ├── Queue.spec.ts
    │   │   │   ├── Queue.tsx
    │   │   │   ├── queueActions.ts
    │   │   │   └── QueueNative.tsx
    │   │   ├── RadioGroup
    │   │   │   ├── RadioGroup.md
    │   │   │   ├── RadioGroup.module.scss
    │   │   │   ├── RadioGroup.spec.ts
    │   │   │   ├── RadioGroup.tsx
    │   │   │   ├── RadioGroupNative.tsx
    │   │   │   ├── RadioItem.tsx
    │   │   │   └── RadioItemNative.tsx
    │   │   ├── RealTimeAdapter
    │   │   │   ├── RealTimeAdapter.tsx
    │   │   │   └── RealTimeAdapterNative.tsx
    │   │   ├── Redirect
    │   │   │   ├── Redirect.md
    │   │   │   ├── Redirect.spec.ts
    │   │   │   └── Redirect.tsx
    │   │   ├── ResponsiveBar
    │   │   │   ├── README.md
    │   │   │   ├── ResponsiveBar.md
    │   │   │   ├── ResponsiveBar.module.scss
    │   │   │   ├── ResponsiveBar.spec.ts
    │   │   │   ├── ResponsiveBar.tsx
    │   │   │   └── ResponsiveBarNative.tsx
    │   │   ├── Select
    │   │   │   ├── HiddenOption.tsx
    │   │   │   ├── OptionContext.ts
    │   │   │   ├── Select.md
    │   │   │   ├── Select.module.scss
    │   │   │   ├── Select.spec.ts
    │   │   │   ├── Select.tsx
    │   │   │   ├── SelectContext.tsx
    │   │   │   └── SelectNative.tsx
    │   │   ├── SelectionStore
    │   │   │   ├── SelectionStore.md
    │   │   │   ├── SelectionStore.tsx
    │   │   │   └── SelectionStoreNative.tsx
    │   │   ├── Slider
    │   │   │   ├── Slider.md
    │   │   │   ├── Slider.module.scss
    │   │   │   ├── Slider.spec.ts
    │   │   │   ├── Slider.tsx
    │   │   │   └── SliderNative.tsx
    │   │   ├── Slot
    │   │   │   ├── Slot.md
    │   │   │   ├── Slot.spec.ts
    │   │   │   └── Slot.ts
    │   │   ├── SlotItem.tsx
    │   │   ├── SpaceFiller
    │   │   │   ├── SpaceFiller.md
    │   │   │   ├── SpaceFiller.module.scss
    │   │   │   ├── SpaceFiller.spec.ts
    │   │   │   ├── SpaceFiller.tsx
    │   │   │   └── SpaceFillerNative.tsx
    │   │   ├── Spinner
    │   │   │   ├── Spinner.md
    │   │   │   ├── Spinner.module.scss
    │   │   │   ├── Spinner.spec.ts
    │   │   │   ├── Spinner.tsx
    │   │   │   └── SpinnerNative.tsx
    │   │   ├── Splitter
    │   │   │   ├── HSplitter.md
    │   │   │   ├── HSplitter.spec.ts
    │   │   │   ├── Splitter.md
    │   │   │   ├── Splitter.module.scss
    │   │   │   ├── Splitter.spec.ts
    │   │   │   ├── Splitter.tsx
    │   │   │   ├── SplitterNative.tsx
    │   │   │   ├── utils.ts
    │   │   │   ├── VSplitter.md
    │   │   │   └── VSplitter.spec.ts
    │   │   ├── Stack
    │   │   │   ├── CHStack.md
    │   │   │   ├── CHStack.spec.ts
    │   │   │   ├── CVStack.md
    │   │   │   ├── CVStack.spec.ts
    │   │   │   ├── HStack.md
    │   │   │   ├── HStack.spec.ts
    │   │   │   ├── Stack.md
    │   │   │   ├── Stack.module.scss
    │   │   │   ├── Stack.spec.ts
    │   │   │   ├── Stack.tsx
    │   │   │   ├── StackNative.tsx
    │   │   │   ├── VStack.md
    │   │   │   └── VStack.spec.ts
    │   │   ├── StickyBox
    │   │   │   ├── StickyBox.md
    │   │   │   ├── StickyBox.module.scss
    │   │   │   ├── StickyBox.tsx
    │   │   │   └── StickyBoxNative.tsx
    │   │   ├── Switch
    │   │   │   ├── Switch.md
    │   │   │   ├── Switch.spec.ts
    │   │   │   └── Switch.tsx
    │   │   ├── Table
    │   │   │   ├── doc-resources
    │   │   │   │   └── list-component-data.js
    │   │   │   ├── react-table-config.d.ts
    │   │   │   ├── Table.md
    │   │   │   ├── Table.module.scss
    │   │   │   ├── Table.spec.ts
    │   │   │   ├── Table.tsx
    │   │   │   ├── TableNative.tsx
    │   │   │   └── useRowSelection.tsx
    │   │   ├── TableOfContents
    │   │   │   ├── TableOfContents.module.scss
    │   │   │   ├── TableOfContents.spec.ts
    │   │   │   ├── TableOfContents.tsx
    │   │   │   └── TableOfContentsNative.tsx
    │   │   ├── Tabs
    │   │   │   ├── TabContext.tsx
    │   │   │   ├── TabItem.md
    │   │   │   ├── TabItem.tsx
    │   │   │   ├── TabItemNative.tsx
    │   │   │   ├── Tabs.md
    │   │   │   ├── Tabs.module.scss
    │   │   │   ├── Tabs.spec.ts
    │   │   │   ├── Tabs.tsx
    │   │   │   └── TabsNative.tsx
    │   │   ├── Text
    │   │   │   ├── Text.md
    │   │   │   ├── Text.module.scss
    │   │   │   ├── Text.spec.ts
    │   │   │   ├── Text.tsx
    │   │   │   └── TextNative.tsx
    │   │   ├── TextArea
    │   │   │   ├── TextArea.md
    │   │   │   ├── TextArea.module.scss
    │   │   │   ├── TextArea.spec.ts
    │   │   │   ├── TextArea.tsx
    │   │   │   ├── TextAreaNative.tsx
    │   │   │   ├── TextAreaResizable.tsx
    │   │   │   └── useComposedRef.ts
    │   │   ├── TextBox
    │   │   │   ├── TextBox.md
    │   │   │   ├── TextBox.module.scss
    │   │   │   ├── TextBox.spec.ts
    │   │   │   ├── TextBox.tsx
    │   │   │   └── TextBoxNative.tsx
    │   │   ├── Theme
    │   │   │   ├── NotificationToast.tsx
    │   │   │   ├── Theme.md
    │   │   │   ├── Theme.module.scss
    │   │   │   ├── Theme.spec.ts
    │   │   │   ├── Theme.tsx
    │   │   │   └── ThemeNative.tsx
    │   │   ├── TimeInput
    │   │   │   ├── TimeInput.md
    │   │   │   ├── TimeInput.module.scss
    │   │   │   ├── TimeInput.spec.ts
    │   │   │   ├── TimeInput.tsx
    │   │   │   ├── TimeInputNative.tsx
    │   │   │   └── utils.ts
    │   │   ├── Timer
    │   │   │   ├── Timer.md
    │   │   │   ├── Timer.spec.ts
    │   │   │   ├── Timer.tsx
    │   │   │   └── TimerNative.tsx
    │   │   ├── Toggle
    │   │   │   ├── Toggle.module.scss
    │   │   │   └── Toggle.tsx
    │   │   ├── ToneChangerButton
    │   │   │   ├── ToneChangerButton.md
    │   │   │   ├── ToneChangerButton.spec.ts
    │   │   │   └── ToneChangerButton.tsx
    │   │   ├── ToneSwitch
    │   │   │   ├── ToneSwitch.md
    │   │   │   ├── ToneSwitch.module.scss
    │   │   │   ├── ToneSwitch.spec.ts
    │   │   │   ├── ToneSwitch.tsx
    │   │   │   └── ToneSwitchNative.tsx
    │   │   ├── Tooltip
    │   │   │   ├── Tooltip.md
    │   │   │   ├── Tooltip.module.scss
    │   │   │   ├── Tooltip.spec.ts
    │   │   │   ├── Tooltip.tsx
    │   │   │   └── TooltipNative.tsx
    │   │   ├── Tree
    │   │   │   ├── testData.ts
    │   │   │   ├── Tree-dynamic.spec.ts
    │   │   │   ├── Tree-icons.spec.ts
    │   │   │   ├── Tree.md
    │   │   │   ├── Tree.spec.ts
    │   │   │   ├── TreeComponent.module.scss
    │   │   │   ├── TreeComponent.tsx
    │   │   │   └── TreeNative.tsx
    │   │   ├── TreeDisplay
    │   │   │   ├── TreeDisplay.md
    │   │   │   ├── TreeDisplay.module.scss
    │   │   │   ├── TreeDisplay.tsx
    │   │   │   └── TreeDisplayNative.tsx
    │   │   ├── ValidationSummary
    │   │   │   ├── ValidationSummary.module.scss
    │   │   │   └── ValidationSummary.tsx
    │   │   └── VisuallyHidden.tsx
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   ├── ComponentRenderer.ts
    │   │   │   ├── LoaderRenderer.ts
    │   │   │   ├── standalone.ts
    │   │   │   └── treeAbstractions.ts
    │   │   ├── action
    │   │   │   ├── actions.ts
    │   │   │   ├── APICall.tsx
    │   │   │   ├── FileDownloadAction.tsx
    │   │   │   ├── FileUploadAction.tsx
    │   │   │   ├── NavigateAction.tsx
    │   │   │   └── TimedAction.tsx
    │   │   ├── ApiBoundComponent.tsx
    │   │   ├── appContext
    │   │   │   ├── date-functions.ts
    │   │   │   ├── math-function.ts
    │   │   │   └── misc-utils.ts
    │   │   ├── AppContext.tsx
    │   │   ├── behaviors
    │   │   │   ├── Behavior.tsx
    │   │   │   └── CoreBehaviors.tsx
    │   │   ├── component-hooks.ts
    │   │   ├── ComponentDecorator.tsx
    │   │   ├── ComponentViewer.tsx
    │   │   ├── CompoundComponent.tsx
    │   │   ├── constants.ts
    │   │   ├── DebugViewProvider.tsx
    │   │   ├── descriptorHelper.ts
    │   │   ├── devtools
    │   │   │   ├── InspectorDialog.module.scss
    │   │   │   ├── InspectorDialog.tsx
    │   │   │   └── InspectorDialogVisibilityContext.tsx
    │   │   ├── EngineError.ts
    │   │   ├── event-handlers.ts
    │   │   ├── InspectorButton.module.scss
    │   │   ├── InspectorContext.tsx
    │   │   ├── interception
    │   │   │   ├── abstractions.ts
    │   │   │   ├── ApiInterceptor.ts
    │   │   │   ├── ApiInterceptorProvider.tsx
    │   │   │   ├── apiInterceptorWorker.ts
    │   │   │   ├── Backend.ts
    │   │   │   ├── Errors.ts
    │   │   │   ├── IndexedDb.ts
    │   │   │   ├── initMock.ts
    │   │   │   ├── InMemoryDb.ts
    │   │   │   ├── ReadonlyCollection.ts
    │   │   │   └── useApiInterceptorContext.tsx
    │   │   ├── loader
    │   │   │   ├── ApiLoader.tsx
    │   │   │   ├── DataLoader.tsx
    │   │   │   ├── ExternalDataLoader.tsx
    │   │   │   ├── Loader.tsx
    │   │   │   ├── MockLoaderRenderer.tsx
    │   │   │   └── PageableLoader.tsx
    │   │   ├── LoaderComponent.tsx
    │   │   ├── markup-check.ts
    │   │   ├── parts.ts
    │   │   ├── renderers.ts
    │   │   ├── rendering
    │   │   │   ├── AppContent.tsx
    │   │   │   ├── AppRoot.tsx
    │   │   │   ├── AppWrapper.tsx
    │   │   │   ├── buildProxy.ts
    │   │   │   ├── collectFnVarDeps.ts
    │   │   │   ├── ComponentAdapter.tsx
    │   │   │   ├── ComponentWrapper.tsx
    │   │   │   ├── Container.tsx
    │   │   │   ├── containers.ts
    │   │   │   ├── ContainerWrapper.tsx
    │   │   │   ├── ErrorBoundary.module.scss
    │   │   │   ├── ErrorBoundary.tsx
    │   │   │   ├── InvalidComponent.module.scss
    │   │   │   ├── InvalidComponent.tsx
    │   │   │   ├── nodeUtils.ts
    │   │   │   ├── reducer.ts
    │   │   │   ├── renderChild.tsx
    │   │   │   ├── StandaloneComponent.tsx
    │   │   │   ├── StateContainer.tsx
    │   │   │   ├── UnknownComponent.module.scss
    │   │   │   ├── UnknownComponent.tsx
    │   │   │   └── valueExtractor.ts
    │   │   ├── reportEngineError.ts
    │   │   ├── RestApiProxy.ts
    │   │   ├── script-runner
    │   │   │   ├── asyncProxy.ts
    │   │   │   ├── AttributeValueParser.ts
    │   │   │   ├── bannedFunctions.ts
    │   │   │   ├── BindingTreeEvaluationContext.ts
    │   │   │   ├── eval-tree-async.ts
    │   │   │   ├── eval-tree-common.ts
    │   │   │   ├── eval-tree-sync.ts
    │   │   │   ├── ParameterParser.ts
    │   │   │   ├── process-statement-async.ts
    │   │   │   ├── process-statement-common.ts
    │   │   │   ├── process-statement-sync.ts
    │   │   │   ├── ScriptingSourceTree.ts
    │   │   │   ├── simplify-expression.ts
    │   │   │   ├── statement-queue.ts
    │   │   │   └── visitors.ts
    │   │   ├── StandaloneApp.tsx
    │   │   ├── StandaloneExtensionManager.ts
    │   │   ├── TableOfContentsContext.tsx
    │   │   ├── theming
    │   │   │   ├── _themes.scss
    │   │   │   ├── component-layout-resolver.ts
    │   │   │   ├── extendThemeUtils.ts
    │   │   │   ├── hvar.ts
    │   │   │   ├── layout-resolver.ts
    │   │   │   ├── parse-layout-props.ts
    │   │   │   ├── StyleContext.tsx
    │   │   │   ├── StyleRegistry.ts
    │   │   │   ├── ThemeContext.tsx
    │   │   │   ├── ThemeProvider.tsx
    │   │   │   ├── themes
    │   │   │   │   ├── base-utils.ts
    │   │   │   │   ├── palette.ts
    │   │   │   │   ├── root.ts
    │   │   │   │   ├── solid.ts
    │   │   │   │   ├── theme-colors.ts
    │   │   │   │   └── xmlui.ts
    │   │   │   ├── themeVars.module.scss
    │   │   │   ├── themeVars.ts
    │   │   │   ├── transformThemeVars.ts
    │   │   │   └── utils.ts
    │   │   ├── utils
    │   │   │   ├── actionUtils.ts
    │   │   │   ├── audio-utils.ts
    │   │   │   ├── base64-utils.ts
    │   │   │   ├── compound-utils.ts
    │   │   │   ├── css-utils.ts
    │   │   │   ├── DataLoaderQueryKeyGenerator.ts
    │   │   │   ├── date-utils.ts
    │   │   │   ├── extractParam.ts
    │   │   │   ├── hooks.tsx
    │   │   │   ├── LruCache.ts
    │   │   │   ├── mergeProps.ts
    │   │   │   ├── misc.ts
    │   │   │   ├── request-params.ts
    │   │   │   ├── statementUtils.ts
    │   │   │   └── treeUtils.ts
    │   │   └── xmlui-parser.ts
    │   ├── index-standalone.ts
    │   ├── index.scss
    │   ├── index.ts
    │   ├── language-server
    │   │   ├── server-common.ts
    │   │   ├── server-web-worker.ts
    │   │   ├── server.ts
    │   │   ├── services
    │   │   │   ├── common
    │   │   │   │   ├── docs-generation.ts
    │   │   │   │   ├── lsp-utils.ts
    │   │   │   │   ├── metadata-utils.ts
    │   │   │   │   └── syntax-node-utilities.ts
    │   │   │   ├── completion.ts
    │   │   │   ├── diagnostic.ts
    │   │   │   ├── format.ts
    │   │   │   └── hover.ts
    │   │   └── xmlui-metadata-generated.js
    │   ├── logging
    │   │   ├── LoggerContext.tsx
    │   │   ├── LoggerInitializer.tsx
    │   │   ├── LoggerService.ts
    │   │   └── xmlui.ts
    │   ├── logo.svg
    │   ├── parsers
    │   │   ├── common
    │   │   │   ├── GenericToken.ts
    │   │   │   ├── InputStream.ts
    │   │   │   └── utils.ts
    │   │   ├── scripting
    │   │   │   ├── code-behind-collect.ts
    │   │   │   ├── Lexer.ts
    │   │   │   ├── modules.ts
    │   │   │   ├── Parser.ts
    │   │   │   ├── ParserError.ts
    │   │   │   ├── ScriptingNodeTypes.ts
    │   │   │   ├── TokenTrait.ts
    │   │   │   ├── TokenType.ts
    │   │   │   └── tree-visitor.ts
    │   │   ├── style-parser
    │   │   │   ├── errors.ts
    │   │   │   ├── source-tree.ts
    │   │   │   ├── StyleInputStream.ts
    │   │   │   ├── StyleLexer.ts
    │   │   │   ├── StyleParser.ts
    │   │   │   └── tokens.ts
    │   │   └── xmlui-parser
    │   │       ├── CharacterCodes.ts
    │   │       ├── diagnostics.ts
    │   │       ├── fileExtensions.ts
    │   │       ├── index.ts
    │   │       ├── lint.ts
    │   │       ├── parser.ts
    │   │       ├── ParserError.ts
    │   │       ├── scanner.ts
    │   │       ├── syntax-kind.ts
    │   │       ├── syntax-node.ts
    │   │       ├── transform.ts
    │   │       ├── utils.ts
    │   │       ├── xmlui-serializer.ts
    │   │       └── xmlui-tree.ts
    │   ├── react-app-env.d.ts
    │   ├── syntax
    │   │   ├── monaco
    │   │   │   ├── grammar.monacoLanguage.ts
    │   │   │   ├── index.ts
    │   │   │   ├── xmlui-dark.ts
    │   │   │   ├── xmlui-light.ts
    │   │   │   └── xmluiscript.monacoLanguage.ts
    │   │   └── textMate
    │   │       ├── index.ts
    │   │       ├── xmlui-dark.json
    │   │       ├── xmlui-light.json
    │   │       ├── xmlui.json
    │   │       └── xmlui.tmLanguage.json
    │   ├── testing
    │   │   ├── assertions.ts
    │   │   ├── component-test-helpers.ts
    │   │   ├── ComponentDrivers.ts
    │   │   ├── drivers
    │   │   │   ├── DateInputDriver.ts
    │   │   │   ├── index.ts
    │   │   │   ├── ModalDialogDriver.ts
    │   │   │   ├── NumberBoxDriver.ts
    │   │   │   ├── TextBoxDriver.ts
    │   │   │   ├── TimeInputDriver.ts
    │   │   │   ├── TimerDriver.ts
    │   │   │   └── TreeDriver.ts
    │   │   ├── fixtures.ts
    │   │   ├── index.ts
    │   │   ├── infrastructure
    │   │   │   ├── index.html
    │   │   │   ├── main.tsx
    │   │   │   ├── public
    │   │   │   │   ├── mockServiceWorker.js
    │   │   │   │   ├── resources
    │   │   │   │   │   ├── bell.svg
    │   │   │   │   │   ├── box.svg
    │   │   │   │   │   ├── doc.svg
    │   │   │   │   │   ├── eye.svg
    │   │   │   │   │   ├── flower-640x480.jpg
    │   │   │   │   │   ├── sun.svg
    │   │   │   │   │   ├── test-image-100x100.jpg
    │   │   │   │   │   └── txt.svg
    │   │   │   │   └── serve.json
    │   │   │   └── TestBed.tsx
    │   │   └── themed-app-test-helpers.ts
    │   └── vite-env.d.ts
    ├── tests
    │   ├── components
    │   │   ├── CodeBlock
    │   │   │   └── hightlight-code.test.ts
    │   │   ├── playground-pattern.test.ts
    │   │   └── Tree
    │   │       └── Tree-states.test.ts
    │   ├── components-core
    │   │   ├── abstractions
    │   │   │   └── treeAbstractions.test.ts
    │   │   ├── container
    │   │   │   └── buildProxy.test.ts
    │   │   ├── interception
    │   │   │   ├── orderBy.test.ts
    │   │   │   ├── ReadOnlyCollection.test.ts
    │   │   │   └── request-param-converter.test.ts
    │   │   ├── scripts-runner
    │   │   │   ├── AttributeValueParser.test.ts
    │   │   │   ├── eval-tree-arrow-async.test.ts
    │   │   │   ├── eval-tree-arrow.test.ts
    │   │   │   ├── eval-tree-func-decl-async.test.ts
    │   │   │   ├── eval-tree-func-decl.test.ts
    │   │   │   ├── eval-tree-pre-post.test.ts
    │   │   │   ├── eval-tree-regression.test.ts
    │   │   │   ├── eval-tree.test.ts
    │   │   │   ├── function-proxy.test.ts
    │   │   │   ├── parser-regression.test.ts
    │   │   │   ├── process-event.test.ts
    │   │   │   ├── process-function.test.ts
    │   │   │   ├── process-implicit-context.test.ts
    │   │   │   ├── process-statement-asgn.test.ts
    │   │   │   ├── process-statement-destruct.test.ts
    │   │   │   ├── process-statement-regs.test.ts
    │   │   │   ├── process-statement-sync.test.ts
    │   │   │   ├── process-statement.test.ts
    │   │   │   ├── process-switch-sync.test.ts
    │   │   │   ├── process-switch.test.ts
    │   │   │   ├── process-try-sync.test.ts
    │   │   │   ├── process-try.test.ts
    │   │   │   └── test-helpers.ts
    │   │   ├── test-metadata-handler.ts
    │   │   ├── theming
    │   │   │   ├── border-segments.test.ts
    │   │   │   ├── component-layout.resolver.test.ts
    │   │   │   ├── layout-property-parser.test.ts
    │   │   │   ├── layout-resolver.test.ts
    │   │   │   ├── layout-resolver2.test.ts
    │   │   │   ├── layout-vp-override.test.ts
    │   │   │   └── padding-segments.test.ts
    │   │   └── utils
    │   │       ├── date-utils.test.ts
    │   │       ├── format-human-elapsed-time.test.ts
    │   │       └── LruCache.test.ts
    │   ├── language-server
    │   │   ├── completion.test.ts
    │   │   ├── format.test.ts
    │   │   ├── hover.test.ts
    │   │   └── mockData.ts
    │   └── parsers
    │       ├── common
    │       │   └── input-stream.test.ts
    │       ├── markdown
    │       │   └── parse-binding-expression.test.ts
    │       ├── parameter-parser.test.ts
    │       ├── paremeter-parser.test.ts
    │       ├── scripting
    │       │   ├── eval-tree-arrow.test.ts
    │       │   ├── eval-tree-pre-post.test.ts
    │       │   ├── eval-tree.test.ts
    │       │   ├── function-proxy.test.ts
    │       │   ├── lexer-literals.test.ts
    │       │   ├── lexer-misc.test.ts
    │       │   ├── module-parse.test.ts
    │       │   ├── parser-arrow.test.ts
    │       │   ├── parser-assignments.test.ts
    │       │   ├── parser-binary.test.ts
    │       │   ├── parser-destructuring.test.ts
    │       │   ├── parser-errors.test.ts
    │       │   ├── parser-expressions.test.ts
    │       │   ├── parser-function.test.ts
    │       │   ├── parser-literals.test.ts
    │       │   ├── parser-primary.test.ts
    │       │   ├── parser-regex.test.ts
    │       │   ├── parser-statements.test.ts
    │       │   ├── parser-unary.test.ts
    │       │   ├── process-event.test.ts
    │       │   ├── process-implicit-context.test.ts
    │       │   ├── process-statement-asgn.test.ts
    │       │   ├── process-statement-destruct.test.ts
    │       │   ├── process-statement-regs.test.ts
    │       │   ├── process-statement-sync.test.ts
    │       │   ├── process-statement.test.ts
    │       │   ├── process-switch-sync.test.ts
    │       │   ├── process-switch.test.ts
    │       │   ├── process-try-sync.test.ts
    │       │   ├── process-try.test.ts
    │       │   ├── simplify-expression.test.ts
    │       │   ├── statement-hooks.test.ts
    │       │   └── test-helpers.ts
    │       ├── style-parser
    │       │   ├── generateHvarChain.test.ts
    │       │   ├── parseHVar.test.ts
    │       │   ├── parser.test.ts
    │       │   └── tokens.test.ts
    │       └── xmlui
    │           ├── lint.test.ts
    │           ├── parser.test.ts
    │           ├── scanner.test.ts
    │           ├── transform.attr.test.ts
    │           ├── transform.circular.test.ts
    │           ├── transform.element.test.ts
    │           ├── transform.errors.test.ts
    │           ├── transform.escape.test.ts
    │           ├── transform.regression.test.ts
    │           ├── transform.script.test.ts
    │           ├── transform.test.ts
    │           └── xmlui.ts
    ├── tests-e2e
    │   ├── api-bound-component-regression.spec.ts
    │   ├── api-call-as-extracted-component.spec.ts
    │   ├── assign-to-object-or-array-regression.spec.ts
    │   ├── binding-regression.spec.ts
    │   ├── children-as-template-context-vars.spec.ts
    │   ├── compound-component.spec.ts
    │   ├── context-vars-regression.spec.ts
    │   ├── data-bindings.spec.ts
    │   ├── datasource-and-api-usage-in-var.spec.ts
    │   ├── datasource-direct-binding.spec.ts
    │   ├── datasource-onLoaded-regression.spec.ts
    │   ├── modify-array-item-regression.spec.ts
    │   ├── namespaces.spec.ts
    │   ├── push-to-array-regression.spec.ts
    │   ├── screen-breakpoints.spec.ts
    │   ├── scripting.spec.ts
    │   ├── state-scope-in-pages.spec.ts
    │   └── state-var-scopes.spec.ts
    ├── tsconfig.json
    ├── tsdown.config.ts
    ├── vite.config.ts
    └── vitest.config.ts
```

# Files

--------------------------------------------------------------------------------
/xmlui/src/components-core/theming/themes/theme-colors.ts:
--------------------------------------------------------------------------------

```typescript
  1 | export const greenThemeColors = {
  2 |   // --- Default surface color shades (form white to black)
  3 |   "const-color-surface-50": "hsl(144, 20%, 96.5%)",
  4 |   "const-color-surface-100": "hsl(144, 20%, 93%)",
  5 |   "const-color-surface-200": "hsl(144, 20%, 85%)",
  6 |   "const-color-surface-300": "hsl(144, 20%, 75%)",
  7 |   "const-color-surface-400": "hsl(144, 20%, 65%)",
  8 |   "const-color-surface-500": "hsl(144, 20%, 61%)", // #83AA90
  9 |   "const-color-surface-600": "hsl(144, 20%, 45%)",
 10 |   "const-color-surface-700": "hsl(144, 20%, 35%)",
 11 |   "const-color-surface-800": "hsl(144, 20%, 27%)",
 12 |   "const-color-surface-900": "hsl(144, 20%, 16%)",
 13 |   "const-color-surface-950": "hsl(144, 20%, 13%)",
 14 |   "const-color-surface": "$const-color-surface-500",
 15 | 
 16 |   // --- Primary color shades
 17 |   "const-color-primary-50": "hsl(158, 85%, 94.5%)",
 18 |   "const-color-primary-100": "hsl(158, 85%, 89.1%)",
 19 |   "const-color-primary-200": "hsl(158, 85%, 78.1%)",
 20 |   "const-color-primary-300": "hsl(158, 85%, 67.2%)",
 21 |   "const-color-primary-400": "hsl(158, 85%, 56.3%)",
 22 |   "const-color-primary-500": "hsl(158, 85%, 33%)", // #0D9B60
 23 |   "const-color-primary-600": "hsl(158, 85%, 29.7%)",
 24 |   "const-color-primary-700": "hsl(158, 85%, 27.2%)",
 25 |   "const-color-primary-800": "hsl(158, 85%, 18.1%)",
 26 |   "const-color-primary-900": "hsl(158, 85%, 9.1%)",
 27 |   "const-color-primary-950": "hsl(158, 85%, 4.5%)",
 28 |   "const-color-primary": "$const-color-primary-500",
 29 | 
 30 |   // --- Secondary color shades
 31 |   "const-color-secondary-50": "hsl(198, 100%, 94.5%)",
 32 |   "const-color-secondary-100": "hsl(198, 100%, 89.1%)",
 33 |   "const-color-secondary-200": "hsl(198, 100%, 78.1%)",
 34 |   "const-color-secondary-300": "hsl(198, 100%, 67.2%)",
 35 |   "const-color-secondary-400": "hsl(198, 100%, 56.3%)",
 36 |   "const-color-secondary-500": "hsl(198, 100%, 29%)", // #006792
 37 |   "const-color-secondary-600": "hsl(198, 100%, 25%)",
 38 |   "const-color-secondary-700": "hsl(198, 100%, 20%)",
 39 |   "const-color-secondary-800": "hsl(198, 100%, 15%)",
 40 |   "const-color-secondary-900": "hsl(198, 100%, 10%)",
 41 |   "const-color-secondary-950": "hsl(198, 100%, 5%)",
 42 |   "const-color-secondary": "$const-color-secondary-500",
 43 | 
 44 |   // --- Warning color shades
 45 |   "const-color-warn-50": "hsl(36, 100%, 93%)",
 46 |   "const-color-warn-100": "hsl(36, 100%, 86%)",
 47 |   "const-color-warn-200": "hsl(36, 100%, 72%)",
 48 |   "const-color-warn-300": "hsl(36, 100%, 58%)",
 49 |   "const-color-warn-400": "hsl(36, 100%, 44%)",
 50 |   "const-color-warn-500": "hsl(36, 77%, 60%)", // #eaa84d
 51 |   "const-color-warn-600": "hsl(36, 77%, 54%)",
 52 |   "const-color-warn-700": "hsl(36, 77%, 48%)",
 53 |   "const-color-warn-800": "hsl(36, 77%, 42%)",
 54 |   "const-color-warn-900": "hsl(36, 77%, 36%)",
 55 |   "const-color-warn-950": "hsl(36, 77%, 30%)",
 56 |   "const-color-warn": "$const-color-warn-500",
 57 | 
 58 |   // --- Danger color shades
 59 |   "const-color-danger-50": "hsl(355, 95%, 95%)",
 60 |   "const-color-danger-100": "hsl(355, 95%, 85%)",
 61 |   "const-color-danger-200": "hsl(355, 95%, 75%)",
 62 |   "const-color-danger-300": "hsl(355, 95%, 65%)",
 63 |   "const-color-danger-400": "hsl(355, 95%, 55%)",
 64 |   "const-color-danger-500": "hsl(355, 95%, 66%)", // #fb656f
 65 |   "const-color-danger-600": "hsl(355, 95%, 60%)",
 66 |   "const-color-danger-700": "hsl(355, 95%, 54%)",
 67 |   "const-color-danger-800": "hsl(355, 95%, 48%)",
 68 |   "const-color-danger-900": "hsl(355, 95%, 42%)",
 69 |   "const-color-danger-950": "hsl(355, 95%, 36%)",
 70 |   "const-color-danger": "$const-color-danger-500",
 71 |   "const-color-attention": "$const-color-danger-500",
 72 | 
 73 |   // --- Success color shades (greenish)
 74 |   "const-color-success-50": "hsl(158, 85%, 94.5%)",
 75 |   "const-color-success-100": "hsl(158, 85%, 89.1%)",
 76 |   "const-color-success-200": "hsl(158, 85%, 78.1%)",
 77 |   "const-color-success-300": "hsl(158, 85%, 67.2%)",
 78 |   "const-color-success-400": "hsl(158, 85%, 56.3%)",
 79 |   "const-color-success-500": "hsl(158, 85%, 33%)", // #0C8955
 80 |   "const-color-success-600": "hsl(158, 85%, 29.7%)",
 81 |   "const-color-success-700": "hsl(158, 85%, 27.2%)",
 82 |   "const-color-success-800": "hsl(158, 85%, 18.1%)",
 83 |   "const-color-success-900": "hsl(158, 85%, 9.1%)",
 84 |   "const-color-success-950": "hsl(158, 85%, 4.5%)",
 85 |   "const-color-success": "$const-color-success-500",
 86 | 
 87 |   // --- Info color shades
 88 |   "const-color-info-50": "hsl(202, 95%, 95%)",
 89 |   "const-color-info-100": "hsl(202, 95%, 90%)",
 90 |   "const-color-info-200": "hsl(202, 95%, 80%)",
 91 |   "const-color-info-300": "hsl(202, 95%, 70%)",
 92 |   "const-color-info-400": "hsl(202, 95%, 60%)",
 93 |   "const-color-info-500": "hsl(202, 95%, 50%)", // #0587CD
 94 |   "const-color-info-600": "hsl(202, 95%, 45%)",
 95 |   "const-color-info-700": "hsl(202, 95%, 35%)",
 96 |   "const-color-info-800": "hsl(202, 95%, 25%)",
 97 |   "const-color-info-900": "hsl(202, 95%, 15%)",
 98 |   "const-color-info-950": "hsl(202, 95%, 10%)",
 99 |   "const-color-info": "$const-color-info-500",
100 | };
101 | 
102 | export const grayThemeColors = {
103 |   // --- Default surface color shades (form white to black)
104 |   "const-color-surface-50": "hsl(0, 0%, 98%)",
105 |   "const-color-surface-100": "hsl(0, 0%, 95%)",
106 |   "const-color-surface-200": "hsl(0, 0%, 83%)",
107 |   "const-color-surface-300": "hsl(0, 0%, 75%)",
108 |   "const-color-surface-400": "hsl(0, 0%, 63%)",
109 |   "const-color-surface-500": "hsl(0, 0%, 70%)", // #B2B2B2
110 |   "const-color-surface-600": "hsl(0, 0%, 60%)",
111 |   "const-color-surface-700": "hsl(0, 0%, 50%)",
112 |   "const-color-surface-800": "hsl(0, 0%, 40%)",
113 |   "const-color-surface-900": "hsl(0, 0%, 30%)",
114 |   "const-color-surface-950": "hsl(0, 0%, 20%)",
115 |   "const-color-surface": "$const-color-surface-500",
116 | 
117 |   // --- Primary color shades
118 |   "const-color-primary-50": "hsl(0, 0%, 94.5%)",
119 |   "const-color-primary-100": "hsl(0, 0%, 89.1%)",
120 |   "const-color-primary-200": "hsl(0, 0%, 78.1%)",
121 |   "const-color-primary-300": "hsl(0, 0%, 67.2%)",
122 |   "const-color-primary-400": "hsl(0, 0%, 56.3%)",
123 |   "const-color-primary-500": "hsl(0, 0%, 36.9%)", // #5E5E5E
124 |   "const-color-primary-600": "hsl(0, 0%, 33%)",
125 |   "const-color-primary-700": "hsl(0, 0%, 29%)",
126 |   "const-color-primary-800": "hsl(0, 0%, 25%)",
127 |   "const-color-primary-900": "hsl(0, 0%, 21%)",
128 |   "const-color-primary-950": "hsl(0, 0%, 17%)",
129 |   "const-color-primary": "$const-color-primary-500",
130 | 
131 |   // --- Secondary color shades
132 |   "const-color-secondary-50": "hsl(0, 0%, 94.5%)",
133 |   "const-color-secondary-100": "hsl(0, 0%, 89.1%)",
134 |   "const-color-secondary-200": "hsl(0, 0%, 78.1%)",
135 |   "const-color-secondary-300": "hsl(0, 0%, 67.2%)",
136 |   "const-color-secondary-400": "hsl(0, 0%, 56.3%)",
137 |   "const-color-secondary-500": "hsl(0, 0%, 57.6%)", // #939393
138 |   "const-color-secondary-600": "hsl(0, 0%, 52%)",
139 |   "const-color-secondary-700": "hsl(0, 0%, 46%)",
140 |   "const-color-secondary-800": "hsl(0, 0%, 40%)",
141 |   "const-color-secondary-900": "hsl(0, 0%, 34%)",
142 |   "const-color-secondary-950": "hsl(0, 0%, 28%)",
143 |   "const-color-secondary": "$const-color-secondary-500",
144 | 
145 |   // --- Warning color shades
146 |   "const-color-warn-50": "hsl(36, 85%, 93%)",
147 |   "const-color-warn-100": "hsl(36, 85%, 86%)",
148 |   "const-color-warn-200": "hsl(36, 85%, 72%)",
149 |   "const-color-warn-300": "hsl(36, 85%, 58%)",
150 |   "const-color-warn-400": "hsl(36, 85%, 44%)",
151 |   "const-color-warn-500": "hsl(36, 85%, 56%)", // #EFA035
152 |   "const-color-warn-600": "hsl(36, 85%, 50%)",
153 |   "const-color-warn-700": "hsl(36, 85%, 44%)",
154 |   "const-color-warn-800": "hsl(36, 85%, 38%)",
155 |   "const-color-warn-900": "hsl(36, 85%, 32%)",
156 |   "const-color-warn-950": "hsl(36, 85%, 26%)",
157 |   "const-color-warn": "$const-color-warn-500",
158 | 
159 |   // --- Danger color shades
160 |   "const-color-danger-50": "hsl(18, 87%, 95%)",
161 |   "const-color-danger-100": "hsl(18, 87%, 85%)",
162 |   "const-color-danger-200": "hsl(18, 87%, 75%)",
163 |   "const-color-danger-300": "hsl(18, 87%, 65%)",
164 |   "const-color-danger-400": "hsl(18, 87%, 55%)",
165 |   "const-color-danger-500": "hsl(18, 87%, 68%)", // #F58167
166 |   "const-color-danger-600": "hsl(18, 87%, 60%)",
167 |   "const-color-danger-700": "hsl(18, 87%, 50%)",
168 |   "const-color-danger-800": "hsl(18, 87%, 40%)",
169 |   "const-color-danger-900": "hsl(18, 87%, 30%)",
170 |   "const-color-danger-950": "hsl(18, 87%, 20%)",
171 |   "const-color-danger": "$const-color-danger-500",
172 |   "const-color-attention": "$const-color-danger-500",
173 | 
174 |   // --- Success color shades
175 |   "const-color-success-50": "hsl(168, 100%, 95%)",
176 |   "const-color-success-100": "hsl(168, 100%, 85%)",
177 |   "const-color-success-200": "hsl(168, 100%, 75%)",
178 |   "const-color-success-300": "hsl(168, 100%, 65%)",
179 |   "const-color-success-400": "hsl(168, 100%, 55%)",
180 |   "const-color-success-500": "hsl(168, 100%, 39%)", // #00C896
181 |   "const-color-success-600": "hsl(168, 100%, 35%)",
182 |   "const-color-success-700": "hsl(168, 100%, 30%)",
183 |   "const-color-success-800": "hsl(168, 100%, 25%)",
184 |   "const-color-success-900": "hsl(168, 100%, 20%)",
185 |   "const-color-success-950": "hsl(168, 100%, 15%)",
186 |   "const-color-success": "$const-color-success-500",
187 | 
188 |   "const-color-info-50": "hsl(204, 98%, 95%)",
189 |   "const-color-info-100": "hsl(204, 98%, 90%)",
190 |   "const-color-info-200": "hsl(204, 98%, 80%)",
191 |   "const-color-info-300": "hsl(204, 98%, 70%)",
192 |   "const-color-info-400": "hsl(204, 98%, 60%)",
193 |   "const-color-info-500": "hsl(204, 98%, 50%)", // #028ED9
194 |   "const-color-info-600": "hsl(204, 98%, 45%)",
195 |   "const-color-info-700": "hsl(204, 98%, 35%)",
196 |   "const-color-info-800": "hsl(204, 98%, 25%)",
197 |   "const-color-info-900": "hsl(204, 98%, 15%)",
198 |   "const-color-info-950": "hsl(204, 98%, 10%)",
199 |   "const-color-info": "$const-color-info-500",
200 | };
201 | 
202 | export const orangeThemeColors = {
203 |   // --- Default surface color shades (form white to black)
204 |   "const-color-surface-50": "hsl(220, 3%, 98%)",
205 |   "const-color-surface-100": "hsl(220, 3%, 95%)",
206 |   "const-color-surface-200": "hsl(220, 3%, 83%)",
207 |   "const-color-surface-300": "hsl(220, 3%, 75%)",
208 |   "const-color-surface-400": "hsl(220, 3%, 63%)",
209 |   "const-color-surface-500": "hsl(220, 3%, 63%)", // #9B9DA1
210 |   "const-color-surface-600": "hsl(220, 3%, 60%)",
211 |   "const-color-surface-700": "hsl(220, 3%, 50%)",
212 |   "const-color-surface-800": "hsl(220, 3%, 40%)",
213 |   "const-color-surface-900": "hsl(220, 3%, 30%)",
214 |   "const-color-surface-950": "hsl(220, 3%, 20%)",
215 |   "const-color-surface": "$const-color-surface-500",
216 | 
217 |   // --- Primary color shades
218 |   "const-color-primary-50": "hsl(36, 100%, 95%)",
219 |   "const-color-primary-100": "hsl(36, 100%, 85%)",
220 |   "const-color-primary-200": "hsl(36, 100%, 75%)",
221 |   "const-color-primary-300": "hsl(36, 100%, 65%)",
222 |   "const-color-primary-400": "hsl(36, 100%, 55%)",
223 |   "const-color-primary-500": "hsl(36, 100%, 57%)", // #FFA328
224 |   "const-color-primary-600": "hsl(36, 100%, 50%)",
225 |   "const-color-primary-700": "hsl(36, 100%, 45%)",
226 |   "const-color-primary-800": "hsl(36, 100%, 40%)",
227 |   "const-color-primary-900": "hsl(36, 100%, 35%)",
228 |   "const-color-primary-950": "hsl(36, 100%, 30%)",
229 |   "const-color-primary": "$const-color-primary-500",
230 | 
231 |   // --- Secondary color shades
232 |   "const-color-secondary-50": "hsl(204, 33%, 94.5%)",
233 |   "const-color-secondary-100": "hsl(204, 33%, 89.1%)",
234 |   "const-color-secondary-200": "hsl(204, 33%, 78.1%)",
235 |   "const-color-secondary-300": "hsl(204, 33%, 67.2%)",
236 |   "const-color-secondary-400": "hsl(204, 33%, 56.3%)",
237 |   "const-color-secondary-500": "hsl(204, 33%, 26%)",
238 |   "const-color-secondary-600": "hsl(204, 33%, 23%)",
239 |   "const-color-secondary-700": "hsl(204, 33%, 20%)",
240 |   "const-color-secondary-800": "hsl(204, 33%, 17%)",
241 |   "const-color-secondary-900": "hsl(204, 33%, 14%)",
242 |   "const-color-secondary-950": "hsl(204, 33%, 11%)",
243 |   "const-color-secondary": "$const-color-secondary-500",
244 | 
245 |   // --- Warning color shades (orange shades)
246 |   "const-color-warn-50": "hsl(20, 100%, 95%)",
247 |   "const-color-warn-100": "hsl(20, 100%, 85%)",
248 |   "const-color-warn-200": "hsl(20, 100%, 75%)",
249 |   "const-color-warn-300": "hsl(20, 100%, 65%)",
250 |   "const-color-warn-400": "hsl(20, 100%, 55%)",
251 |   "const-color-warn-500": "hsl(20, 100%, 55%)", // #FF6A1A
252 |   "const-color-warn-600": "hsl(20, 100%, 45%)",
253 |   "const-color-warn-700": "hsl(20, 100%, 40%)",
254 |   "const-color-warn-800": "hsl(20, 100%, 35%)",
255 |   "const-color-warn-900": "hsl(20, 100%, 30%)",
256 |   "const-color-warn-950": "hsl(20, 100%, 25%)",
257 |   "const-color-warn": "$const-color-warn-500",
258 | 
259 |   // --- Danger color shades
260 |   "const-color-danger-50": "hsl(0, 60%, 95%)",
261 |   "const-color-danger-100": "hsl(0, 60%, 85%)",
262 |   "const-color-danger-200": "hsl(0, 60%, 75%)",
263 |   "const-color-danger-300": "hsl(0, 60%, 65%)",
264 |   "const-color-danger-400": "hsl(0, 60%, 55%)",
265 |   "const-color-danger-500": "hsl(0, 60%, 55%)", // #C35353
266 |   "const-color-danger-600": "hsl(0, 60%, 45%)",
267 |   "const-color-danger-700": "hsl(0, 60%, 40%)",
268 |   "const-color-danger-800": "hsl(0, 60%, 35%)",
269 |   "const-color-danger-900": "hsl(0, 60%, 30%)",
270 |   "const-color-danger-950": "hsl(0, 60%, 25%)",
271 |   "const-color-danger": "$const-color-danger-500",
272 |   "const-color-attention": "$const-color-danger-500",
273 | 
274 |   // --- Success color shades
275 |   "const-color-success-50": "hsl(134, 38%, 95%)",
276 |   "const-color-success-100": "hsl(134, 38%, 85%)",
277 |   "const-color-success-200": "hsl(134, 38%, 75%)",
278 |   "const-color-success-300": "hsl(134, 38%, 65%)",
279 |   "const-color-success-400": "hsl(134, 38%, 55%)",
280 |   "const-color-success-500": "hsl(134, 38%, 45%)", // #49984E
281 |   "const-color-success-600": "hsl(134, 38%, 40%)",
282 |   "const-color-success-700": "hsl(134, 38%, 35%)",
283 |   "const-color-success-800": "hsl(134, 38%, 30%)",
284 |   "const-color-success-900": "hsl(134, 38%, 25%)",
285 |   "const-color-success-950": "hsl(134, 38%, 20%)",
286 |   "const-color-success": "$const-color-success-500",
287 | 
288 |   "const-color-info-50": "hsl(197, 100%, 95%)",
289 |   "const-color-info-100": "hsl(197, 100%, 90%)",
290 |   "const-color-info-200": "hsl(197, 100%, 80%)",
291 |   "const-color-info-300": "hsl(197, 100%, 70%)",
292 |   "const-color-info-400": "hsl(197, 100%, 60%)",
293 |   "const-color-info-500": "hsl(197, 100%, 50%)", // #009BCF
294 |   "const-color-info-600": "hsl(197, 100%, 45%)",
295 |   "const-color-info-700": "hsl(197, 100%, 35%)",
296 |   "const-color-info-800": "hsl(197, 100%, 25%)",
297 |   "const-color-info-900": "hsl(197, 100%, 15%)",
298 |   "const-color-info-950": "hsl(197, 100%, 10%)",
299 |   "const-color-info": "$const-color-info-500",
300 | };
301 | 
302 | export const purpleThemeColors = {
303 |   // --- Default surface color shades (form white to black)
304 |   "const-color-surface-50": "hsl(0, 0%, 96%)",
305 |   "const-color-surface-100": "hsl(0, 0%, 90%)",
306 |   "const-color-surface-200": "hsl(0, 0%, 80%)",
307 |   "const-color-surface-300": "hsl(0, 0%, 70%)",
308 |   "const-color-surface-400": "hsl(0, 0%, 60%)",
309 |   "const-color-surface-500": "hsl(0, 0%, 59%)", // #969696
310 |   "const-color-surface-600": "hsl(0, 0%, 50%)",
311 |   "const-color-surface-700": "hsl(0, 0%, 40%)",
312 |   "const-color-surface-800": "hsl(0, 0%, 30%)",
313 |   "const-color-surface-900": "hsl(0, 0%, 20%)",
314 |   "const-color-surface-950": "hsl(0, 0%, 10%)",
315 |   "const-color-surface": "$const-color-surface-500",
316 | 
317 |   // --- Primary color shades (purple)
318 |   "const-color-primary-50": "hsl(300, 42%, 95%)",
319 |   "const-color-primary-100": "hsl(300, 42%, 85%)",
320 |   "const-color-primary-200": "hsl(300, 42%, 75%)",
321 |   "const-color-primary-300": "hsl(300, 42%, 65%)",
322 |   "const-color-primary-400": "hsl(300, 42%, 55%)",
323 |   "const-color-primary-500": "hsl(300, 42%, 31%)", // #702F72
324 |   "const-color-primary-600": "hsl(300, 42%, 28%)",
325 |   "const-color-primary-700": "hsl(300, 42%, 25%)",
326 |   "const-color-primary-800": "hsl(300, 42%, 22%)",
327 |   "const-color-primary-900": "hsl(300, 42%, 19%)",
328 |   "const-color-primary-950": "hsl(300, 42%, 16%)",
329 |   "const-color-primary": "$const-color-primary-500",
330 | 
331 |   "const-color-secondary-50": "hsl(204, 100%, 95%)",
332 |   "const-color-secondary-100": "hsl(204, 100%, 85%)",
333 |   "const-color-secondary-200": "hsl(204, 100%, 75%)",
334 |   "const-color-secondary-300": "hsl(204, 100%, 65%)",
335 |   "const-color-secondary-400": "hsl(204, 100%, 55%)",
336 |   "const-color-secondary-500": "hsl(204, 100%, 38%)", // #0071C6
337 |   "const-color-secondary-600": "hsl(204, 100%, 35%)",
338 |   "const-color-secondary-700": "hsl(204, 100%, 30%)",
339 |   "const-color-secondary-800": "hsl(204, 100%, 25%)",
340 |   "const-color-secondary-900": "hsl(204, 100%, 20%)",
341 |   "const-color-secondary-950": "hsl(204, 100%, 15%)",
342 |   "const-color-secondary": "$const-color-secondary-500",
343 | 
344 |   // --- Warning color shades
345 |   "const-color-warn-50": "hsl(20, 95%, 95%)",
346 |   "const-color-warn-100": "hsl(20, 95%, 85%)",
347 |   "const-color-warn-200": "hsl(20, 95%, 75%)",
348 |   "const-color-warn-300": "hsl(20, 95%, 65%)",
349 |   "const-color-warn-400": "hsl(20, 95%, 55%)",
350 |   "const-color-warn-500": "hsl(20, 95%, 66%)", // #FB8D5C
351 |   "const-color-warn-600": "hsl(20, 95%, 60%)",
352 |   "const-color-warn-700": "hsl(20, 95%, 55%)",
353 |   "const-color-warn-800": "hsl(20, 95%, 50%)",
354 |   "const-color-warn-900": "hsl(20, 95%, 45%)",
355 |   "const-color-warn-950": "hsl(20, 95%, 40%)",
356 |   "const-color-warn": "$const-color-warn-500",
357 | 
358 |   // --- Danger color shades
359 |   "const-color-danger-50": "hsl(355, 65%, 95%)",
360 |   "const-color-danger-100": "hsl(355, 65%, 85%)",
361 |   "const-color-danger-200": "hsl(355, 65%, 75%)",
362 |   "const-color-danger-300": "hsl(355, 65%, 65%)",
363 |   "const-color-danger-400": "hsl(355, 65%, 55%)",
364 |   "const-color-danger-500": "hsl(355, 65%, 60%)", // #DE5F68
365 |   "const-color-danger-600": "hsl(355, 65%, 50%)",
366 |   "const-color-danger-700": "hsl(355, 65%, 45%)",
367 |   "const-color-danger-800": "hsl(355, 65%, 40%)",
368 |   "const-color-danger-900": "hsl(355, 65%, 35%)",
369 |   "const-color-danger-950": "hsl(355, 65%, 30%)",
370 |   "const-color-danger": "$const-color-danger-500",
371 |   "const-color-attention": "$const-color-danger-500",
372 | 
373 |   // --- Success color shades (greenish)
374 |   "const-color-success-50": "hsl(178, 100%, 95%)",
375 |   "const-color-success-100": "hsl(178, 100%, 85%)",
376 |   "const-color-success-200": "hsl(178, 100%, 75%)",
377 |   "const-color-success-300": "hsl(178, 100%, 65%)",
378 |   "const-color-success-400": "hsl(178, 100%, 55%)",
379 |   "const-color-success-500": "hsl(178, 100%, 27%)", // #008B88
380 |   "const-color-success-600": "hsl(178, 100%, 36%)",
381 |   "const-color-success-700": "hsl(178, 100%, 32%)",
382 |   "const-color-success-800": "hsl(178, 100%, 28%)",
383 |   "const-color-success-900": "hsl(178, 100%, 24%)",
384 |   "const-color-success-950": "hsl(178, 100%, 20%)",
385 |   "const-color-success": "$const-color-success-500",
386 | 
387 |   "const-color-info-50": "hsl(183, 66%, 92%)",
388 |   "const-color-info-100": "hsl(183, 66%, 84%)",
389 |   "const-color-info-200": "hsl(183, 66%, 76%)",
390 |   "const-color-info-300": "hsl(183, 66%, 68%)",
391 |   "const-color-info-400": "hsl(183, 66%, 60%)",
392 |   "const-color-info-500": "hsl(183, 66%, 50%)", // #25C2C7
393 |   "const-color-info-600": "hsl(183, 66%, 45%)",
394 |   "const-color-info-700": "hsl(183, 66%, 35%)",
395 |   "const-color-info-800": "hsl(183, 66%, 25%)",
396 |   "const-color-info-900": "hsl(183, 66%, 15%)",
397 |   "const-color-info-950": "hsl(183, 66%, 10%)",
398 |   "const-color-info": "$const-color-info-500",
399 | };
400 | 
401 | export const cyanThemeColors = {
402 |   // ---
403 |   "const-color-surface-50": "hsl(180, 15%, 95%)",
404 |   "const-color-surface-100": "hsl(180, 15%, 85%)",
405 |   "const-color-surface-200": "hsl(180, 15%, 75%)",
406 |   "const-color-surface-300": "hsl(180, 15%, 65%)",
407 |   "const-color-surface-400": "hsl(180, 15%, 55%)",
408 |   "const-color-surface-500": "hsl(180, 15%, 52%)", // #709A99
409 |   "const-color-surface-600": "hsl(180, 15%, 45%)",
410 |   "const-color-surface-700": "hsl(180, 15%, 40%)",
411 |   "const-color-surface-800": "hsl(180, 15%, 35%)",
412 |   "const-color-surface-900": "hsl(180, 15%, 30%)",
413 |   "const-color-surface-950": "hsl(180, 15%, 25%)",
414 |   "const-color-surface": "$const-color-surface-500",
415 | 
416 |   // --- Primary color shades
417 |   "const-color-primary-50": "hsl(180, 100%, 95%)",
418 |   "const-color-primary-100": "hsl(180, 100%, 85%)",
419 |   "const-color-primary-200": "hsl(180, 100%, 75%)",
420 |   "const-color-primary-300": "hsl(180, 100%, 65%)",
421 |   "const-color-primary-400": "hsl(180, 100%, 55%)",
422 |   "const-color-primary-500": "hsl(180, 100%, 35%)", // #00B5B5
423 |   "const-color-primary-600": "hsl(180, 100%, 32%)",
424 |   "const-color-primary-700": "hsl(180, 100%, 28%)",
425 |   "const-color-primary-800": "hsl(180, 100%, 24%)",
426 |   "const-color-primary-900": "hsl(180, 100%, 20%)",
427 |   "const-color-primary-950": "hsl(180, 100%, 16%)",
428 |   "const-color-primary": "$const-color-primary-500",
429 | 
430 |   // --- Secondary color shades
431 |   "const-color-secondary-50": "hsl(227, 60%, 95%)",
432 |   "const-color-secondary-100": "hsl(227, 60%, 85%)",
433 |   "const-color-secondary-200": "hsl(227, 60%, 75%)",
434 |   "const-color-secondary-300": "hsl(227, 60%, 65%)",
435 |   "const-color-secondary-400": "hsl(227, 60%, 55%)",
436 |   "const-color-secondary-500": "hsl(227, 60%, 45%)", // #3450AC
437 |   "const-color-secondary-600": "hsl(227, 60%, 40%)",
438 |   "const-color-secondary-700": "hsl(227, 60%, 35%)",
439 |   "const-color-secondary-800": "hsl(227, 60%, 30%)",
440 |   "const-color-secondary-900": "hsl(227, 60%, 25%)",
441 |   "const-color-secondary-950": "hsl(227, 60%, 20%)",
442 |   "const-color-secondary": "$const-color-secondary-500",
443 | 
444 |   // --- Warning color shades (orange shades)
445 |   "const-color-warn-50": "hsl(20, 100%, 95%)",
446 |   "const-color-warn-100": "hsl(20, 100%, 85%)",
447 |   "const-color-warn-200": "hsl(20, 100%, 75%)",
448 |   "const-color-warn-300": "hsl(20, 100%, 65%)",
449 |   "const-color-warn-400": "hsl(20, 100%, 55%)",
450 |   "const-color-warn-500": "hsl(20, 98%, 56%)", // #FE631E
451 |   "const-color-warn-600": "hsl(20, 100%, 50%)",
452 |   "const-color-warn-700": "hsl(20, 100%, 45%)",
453 |   "const-color-warn-800": "hsl(20, 100%, 40%)",
454 |   "const-color-warn-900": "hsl(20, 100%, 35%)",
455 |   "const-color-warn-950": "hsl(20, 100%, 30%)",
456 |   "const-color-warn": "$const-color-warn-500",
457 | 
458 |   // --- Danger color shades (reddish)
459 |   "const-color-danger-50": "hsl(356, 100%, 95%)",
460 |   "const-color-danger-100": "hsl(356, 100%, 85%)",
461 |   "const-color-danger-200": "hsl(356, 100%, 75%)",
462 |   "const-color-danger-300": "hsl(356, 100%, 65%)",
463 |   "const-color-danger-400": "hsl(356, 100%, 55%)",
464 |   "const-color-danger-500": "hsl(356, 97%, 55%)", // #FD3D4B
465 |   "const-color-danger-600": "hsl(356, 100%, 50%)",
466 |   "const-color-danger-700": "hsl(356, 100%, 45%)",
467 |   "const-color-danger-800": "hsl(356, 100%, 40%)",
468 |   "const-color-danger-900": "hsl(356, 100%, 35%)",
469 |   "const-color-danger-950": "hsl(356, 100%, 30%)",
470 |   "const-color-danger": "$const-color-danger-600",
471 |   "const-color-attention": "$const-color-danger-500",
472 | 
473 |   // --- Success color shades (greenish)
474 |   "const-color-success-50": "hsl(168, 80%, 95%)",
475 |   "const-color-success-100": "hsl(168, 80%, 85%)",
476 |   "const-color-success-200": "hsl(168, 80%, 75%)",
477 |   "const-color-success-300": "hsl(168, 80%, 65%)",
478 |   "const-color-success-400": "hsl(168, 80%, 55%)",
479 |   "const-color-success-500": "hsl(168, 82%, 28%)", // #0C846C
480 |   "const-color-success-600": "hsl(168, 80%, 25%)",
481 |   "const-color-success-700": "hsl(168, 80%, 22%)",
482 |   "const-color-success-800": "hsl(168, 80%, 19%)",
483 |   "const-color-success-900": "hsl(168, 80%, 16%)",
484 |   "const-color-success-950": "hsl(168, 80%, 13%)",
485 |   "const-color-success": "$const-color-success-500",
486 | 
487 |   "const-color-info-50": "hsl(204, 100%, 92%)",
488 |   "const-color-info-100": "hsl(204, 100%, 84%)",
489 |   "const-color-info-200": "hsl(204, 100%, 76%)",
490 |   "const-color-info-300": "hsl(204, 100%, 68%)",
491 |   "const-color-info-400": "hsl(204, 100%, 60%)",
492 |   "const-color-info-500": "hsl(204, 100%, 50%)", // #23B2FF
493 |   "const-color-info-600": "hsl(204, 100%, 45%)",
494 |   "const-color-info-700": "hsl(204, 100%, 35%)",
495 |   "const-color-info-800": "hsl(204, 100%, 25%)",
496 |   "const-color-info-900": "hsl(204, 100%, 15%)",
497 |   "const-color-info-950": "hsl(204, 100%, 10%)",
498 |   "const-color-info": "$const-color-info-500",
499 | };
500 | 
501 | export const redThemeColors = {
502 |   // ---
503 |   "const-color-surface-50": "hsl(0, 0%, 95%)",
504 |   "const-color-surface-100": "hsl(0, 0%, 85%)",
505 |   "const-color-surface-200": "hsl(0, 0%, 75%)",
506 |   "const-color-surface-300": "hsl(0, 0%, 65%)",
507 |   "const-color-surface-400": "hsl(0, 0%, 55%)",
508 |   "const-color-surface-500": "hsl(0, 0%, 50%)", // #7F7F7F
509 |   "const-color-surface-600": "hsl(0, 0%, 45%)",
510 |   "const-color-surface-700": "hsl(0, 0%, 40%)",
511 |   "const-color-surface-800": "hsl(0, 0%, 35%)",
512 |   "const-color-surface-900": "hsl(0, 0%, 30%)",
513 |   "const-color-surface-950": "hsl(0, 0%, 25%)",
514 |   "const-color-surface": "$const-color-surface-500",
515 | 
516 |   // --- Primary color shades
517 |   "const-color-primary-50": "hsl(354, 89%, 95%)",
518 |   "const-color-primary-100": "hsl(354, 89%, 85%)",
519 |   "const-color-primary-200": "hsl(354, 89%, 75%)",
520 |   "const-color-primary-300": "hsl(354, 89%, 65%)",
521 |   "const-color-primary-400": "hsl(354, 89%, 55%)",
522 |   "const-color-primary-500": "hsl(354, 89%, 63%)", // #F85367
523 |   "const-color-primary-600": "hsl(354, 89%, 50%)",
524 |   "const-color-primary-700": "hsl(354, 89%, 45%)",
525 |   "const-color-primary-800": "hsl(354, 89%, 40%)",
526 |   "const-color-primary-900": "hsl(354, 89%, 35%)",
527 |   "const-color-primary-950": "hsl(354, 89%, 30%)",
528 |   "const-color-primary": "$const-color-primary-500",
529 | 
530 |   // --- Secondary color shades (steel-bluish)
531 |   "const-color-secondary-50": "hsl(210, 64%, 95%)",
532 |   "const-color-secondary-100": "hsl(210, 64%, 85%)",
533 |   "const-color-secondary-200": "hsl(210, 64%, 75%)",
534 |   "const-color-secondary-300": "hsl(210, 64%, 65%)",
535 |   "const-color-secondary-400": "hsl(210, 64%, 55%)",
536 |   "const-color-secondary-500": "hsl(210, 64%, 39%)", // #153F65
537 |   "const-color-secondary-600": "hsl(210, 64%, 35%)",
538 |   "const-color-secondary-700": "hsl(210, 64%, 30%)",
539 |   "const-color-secondary-800": "hsl(210, 64%, 25%)",
540 |   "const-color-secondary-900": "hsl(210, 64%, 20%)",
541 |   "const-color-secondary-950": "hsl(210, 64%, 15%)",
542 |   "const-color-secondary": "$const-color-secondary-500",
543 | 
544 |   // --- Warning color shades
545 |   "const-color-warn-50": "hsl(36, 85%, 95%)",
546 |   "const-color-warn-100": "hsl(36, 85%, 85%)",
547 |   "const-color-warn-200": "hsl(36, 85%, 75%)",
548 |   "const-color-warn-300": "hsl(36, 85%, 65%)",
549 |   "const-color-warn-400": "hsl(36, 85%, 55%)",
550 |   "const-color-warn-500": "hsl(36, 85%, 53%)", // #EE901D
551 |   "const-color-warn-600": "hsl(36, 85%, 45%)",
552 |   "const-color-warn-700": "hsl(36, 85%, 40%)",
553 |   "const-color-warn-800": "hsl(36, 85%, 35%)",
554 |   "const-color-warn-900": "hsl(36, 85%, 30%)",
555 |   "const-color-warn-950": "hsl(36, 85%, 25%)",
556 |   "const-color-warn": "$const-color-warn-500",
557 | 
558 |   // --- Danger color shades
559 |   "const-color-danger-50": "hsl(356, 100%, 95%)",
560 |   "const-color-danger-100": "hsl(356, 100%, 85%)",
561 |   "const-color-danger-200": "hsl(356, 100%, 75%)",
562 |   "const-color-danger-300": "hsl(356, 100%, 65%)",
563 |   "const-color-danger-400": "hsl(356, 100%, 55%)",
564 |   "const-color-danger-500": "hsl(356, 100%, 45%)", // #E30010
565 |   "const-color-danger-600": "hsl(356, 100%, 40%)",
566 |   "const-color-danger-700": "hsl(356, 100%, 35%)",
567 |   "const-color-danger-800": "hsl(356, 100%, 30%)",
568 |   "const-color-danger-900": "hsl(356, 100%, 25%)",
569 |   "const-color-danger-950": "hsl(356, 100%, 20%)",
570 |   "const-color-danger": "$const-color-danger-600",
571 |   "const-color-attention": "$const-color-danger-500",
572 | 
573 |   // --- Success color shades (greenish)
574 |   "const-color-success-50": "hsl(156, 80%, 95%)",
575 |   "const-color-success-100": "hsl(156, 80%, 85%)",
576 |   "const-color-success-200": "hsl(156, 80%, 75%)",
577 |   "const-color-success-300": "hsl(156, 80%, 65%)",
578 |   "const-color-success-400": "hsl(156, 80%, 55%)",
579 |   "const-color-success-500": "hsl(156, 80%, 35%)", // #0F7C54
580 |   "const-color-success-600": "hsl(156, 80%, 30%)",
581 |   "const-color-success-700": "hsl(156, 80%, 25%)",
582 |   "const-color-success-800": "hsl(156, 80%, 20%)",
583 |   "const-color-success-900": "hsl(156, 80%, 15%)",
584 |   "const-color-success-950": "hsl(156, 80%, 10%)",
585 |   "const-color-success": "$const-color-success-500",
586 | 
587 |   "const-color-info-50": "hsl(197, 98%, 92%)",
588 |   "const-color-info-100": "hsl(197, 98%, 84%)",
589 |   "const-color-info-200": "hsl(197, 98%, 76%)",
590 |   "const-color-info-300": "hsl(197, 98%, 68%)",
591 |   "const-color-info-400": "hsl(197, 98%, 60%)",
592 |   "const-color-info-500": "hsl(197, 98%, 50%)", // #02A7E9
593 |   "const-color-info-600": "hsl(197, 98%, 45%)",
594 |   "const-color-info-700": "hsl(197, 98%, 35%)",
595 |   "const-color-info-800": "hsl(197, 98%, 25%)",
596 |   "const-color-info-900": "hsl(197, 98%, 15%)",
597 |   "const-color-info-950": "hsl(197, 98%, 10%)",
598 |   "const-color-info": "$const-color-info-500",
599 | };
600 | 
```

--------------------------------------------------------------------------------
/xmlui/src/components-core/script-runner/eval-tree-async.ts:
--------------------------------------------------------------------------------

```typescript
  1 | import { isPlainObject } from "lodash-es";
  2 | 
  3 | import type { TemplateLiteralExpression } from "./ScriptingSourceTree";
  4 | import {
  5 |   T_ARRAY_LITERAL,
  6 |   T_ARROW_EXPRESSION,
  7 |   T_ASSIGNMENT_EXPRESSION,
  8 |   T_BINARY_EXPRESSION,
  9 |   T_BLOCK_STATEMENT,
 10 |   T_CALCULATED_MEMBER_ACCESS_EXPRESSION,
 11 |   T_CONDITIONAL_EXPRESSION,
 12 |   T_DESTRUCTURE,
 13 |   T_EMPTY_STATEMENT,
 14 |   T_EXPRESSION_STATEMENT,
 15 |   T_FUNCTION_INVOCATION_EXPRESSION,
 16 |   T_IDENTIFIER,
 17 |   T_LITERAL,
 18 |   T_MEMBER_ACCESS_EXPRESSION,
 19 |   T_OBJECT_LITERAL,
 20 |   T_POSTFIX_OP_EXPRESSION,
 21 |   T_PREFIX_OP_EXPRESSION,
 22 |   T_RETURN_STATEMENT,
 23 |   T_SEQUENCE_EXPRESSION,
 24 |   T_SPREAD_EXPRESSION,
 25 |   T_TEMPLATE_LITERAL_EXPRESSION,
 26 |   T_UNARY_EXPRESSION,
 27 |   T_VAR_DECLARATION,
 28 |   type ArrayLiteral,
 29 |   type ArrowExpression,
 30 |   type AssignmentExpression,
 31 |   type BinaryExpression,
 32 |   type CalculatedMemberAccessExpression,
 33 |   type ConditionalExpression,
 34 |   type Expression,
 35 |   type FunctionInvocationExpression,
 36 |   type Identifier,
 37 |   type MemberAccessExpression,
 38 |   type ObjectLiteral,
 39 |   type PostfixOpExpression,
 40 |   type PrefixOpExpression,
 41 |   type ReturnStatement,
 42 |   type SequenceExpression,
 43 |   type Statement,
 44 |   type UnaryExpression,
 45 |   type VarDeclaration,
 46 | } from "./ScriptingSourceTree";
 47 | import type { BlockScope } from "../../abstractions/scripting/BlockScope";
 48 | import type { LogicalThread } from "../../abstractions/scripting/LogicalThread";
 49 | import type { BindingTreeEvaluationContext } from "./BindingTreeEvaluationContext";
 50 | import { processDeclarationsAsync, processStatementQueueAsync } from "./process-statement-async";
 51 | import {
 52 |   evalArrow,
 53 |   evalAssignmentCore,
 54 |   evalBinaryCore,
 55 |   evalCalculatedMemberAccessCore,
 56 |   evalIdentifier,
 57 |   evalLiteral,
 58 |   evalMemberAccessCore,
 59 |   evalPreOrPostCore,
 60 |   evalTemplateLiteralCore,
 61 |   evalUnaryCore,
 62 |   getExprValue,
 63 |   getRootIdScope,
 64 |   isPromise,
 65 |   setExprValue,
 66 | } from "./eval-tree-common";
 67 | import { ensureMainThread } from "./process-statement-common";
 68 | import { getAsyncProxy } from "./asyncProxy";
 69 | import { isBannedFunction } from "./bannedFunctions";
 70 | 
 71 | type EvaluatorAsyncFunction = (
 72 |   thisStack: any[],
 73 |   expr: Expression,
 74 |   evalContext: BindingTreeEvaluationContext,
 75 |   thread: LogicalThread,
 76 | ) => Promise<any>;
 77 | 
 78 | /**
 79 |  * Evaluates a binding represented by the specified expression
 80 |  * @param expr Expression to evaluate
 81 |  * @param evalContext Evaluation context to use
 82 |  * @param thread The logical thread to use for evaluation
 83 |  * @param onStatementCompleted Execute this function when a statement is completed
 84 |  */
 85 | export async function evalBindingAsync(
 86 |   expr: Expression,
 87 |   evalContext: BindingTreeEvaluationContext,
 88 |   thread: LogicalThread | undefined,
 89 | ): Promise<any> {
 90 |   // --- Prepare the evaluation context
 91 |   const thisStack: any[] = [];
 92 |   ensureMainThread(evalContext);
 93 |   thread ??= evalContext.mainThread;
 94 | 
 95 |   // --- Evaluate the expression using the context
 96 |   return await evalBindingExpressionTreeAsync(
 97 |     thisStack,
 98 |     expr,
 99 |     evalContext,
100 |     thread ?? evalContext.mainThread!,
101 |   );
102 | }
103 | 
104 | /**
105 |  * Executes the specified arrow function
106 |  * @param expr Arrow function expression to run
107 |  * @param evalContext Evaluation context to use
108 |  * @param onStatementCompleted Execute this function when a statement is completed
109 |  * @param thread The logical thread to use for evaluation
110 |  * @param args Arguments of the arrow function to execute
111 |  */
112 | export async function executeArrowExpression(
113 |   expr: ArrowExpression,
114 |   evalContext: BindingTreeEvaluationContext,
115 |   thread?: LogicalThread,
116 |   ...args: any[]
117 | ): Promise<any> {
118 |   // --- Just an extra safety check
119 |   if (expr.type !== T_ARROW_EXPRESSION) {
120 |     throw new Error("executeArrowExpression expects an 'ArrowExpression' object.");
121 |   }
122 | 
123 |   // --- This is the evaluator that an arrow expression uses internally
124 |   const evaluator: EvaluatorAsyncFunction = evalBindingExpressionTreeAsync;
125 | 
126 |   // --- Compiles the Arrow function to a JavaScript function
127 |   const nativeFunction = await createArrowFunctionAsync(evaluator, expr);
128 | 
129 |   // --- Run the compiled arrow function. Note, we have two prefix arguments:
130 |   // --- #1: The names of arrow function arguments
131 |   // --- #2: The evaluation context the arrow function runs in
132 |   // --- #others: The real arguments of the arrow function
133 |   return await nativeFunction(expr.args, evalContext, thread ?? evalContext.mainThread, ...args);
134 | }
135 | 
136 | /**
137 |  * Evaluates the specified binding expression tree and retrieves the evaluated value
138 |  * @param expr Binding tree expression
139 |  * @param thisStack Stack of "this" object to use with function calls
140 |  * @param evalContext Evaluation context
141 |  * @param thread The logical thread to use for evaluation
142 |  * @param onStatementCompleted Execute this function when a statement is completed
143 |  * This code uses the JavaScript semantics and errors when evaluating the code.
144 |  * We use `thisStack` to keep track of the partial results of the evaluation tree so that we can set
145 |  * the real `this` context when invoking a function.
146 |  */
147 | async function evalBindingExpressionTreeAsync(
148 |   thisStack: any[],
149 |   expr: Expression,
150 |   evalContext: BindingTreeEvaluationContext,
151 |   thread: LogicalThread,
152 | ): Promise<any> {
153 |   if (!evalContext.options) {
154 |     evalContext.options = { defaultToOptionalMemberAccess: true };
155 |   }
156 | 
157 |   // --- Prepare evaluation
158 |   const evaluator: EvaluatorAsyncFunction = evalBindingExpressionTreeAsync;
159 | 
160 |   // --- Process the expression according to its type
161 | 
162 |   try {
163 |     switch (expr.type) {
164 |       case T_TEMPLATE_LITERAL_EXPRESSION:
165 |         return evalTemplateLiteralAsync(evaluator, thisStack, expr, evalContext, thread);
166 | 
167 |       case T_LITERAL:
168 |         return evalLiteral(thisStack, expr, thread);
169 | 
170 |       case T_IDENTIFIER:
171 |         return evalIdentifier(thisStack, expr, evalContext, thread);
172 | 
173 |       case T_MEMBER_ACCESS_EXPRESSION:
174 |         return await evalMemberAccessAsync(evaluator, thisStack, expr, evalContext, thread);
175 | 
176 |       case T_CALCULATED_MEMBER_ACCESS_EXPRESSION:
177 |         return await evalCalculatedMemberAccessAsync(
178 |           evaluator,
179 |           thisStack,
180 |           expr,
181 |           evalContext,
182 |           thread,
183 |         );
184 | 
185 |       case T_SEQUENCE_EXPRESSION:
186 |         return await evalSequenceAsync(evaluator, thisStack, expr, evalContext, thread);
187 | 
188 |       case T_ARRAY_LITERAL:
189 |         return await evalArrayLiteralAsync(evaluator, thisStack, expr, evalContext, thread);
190 | 
191 |       case T_OBJECT_LITERAL:
192 |         return await evalObjectLiteralAsync(evaluator, thisStack, expr, evalContext, thread);
193 | 
194 |       case T_UNARY_EXPRESSION:
195 |         return await evalUnaryAsync(evaluator, thisStack, expr, evalContext, thread);
196 | 
197 |       case T_BINARY_EXPRESSION:
198 |         return await evalBinaryAsync(evaluator, thisStack, expr, evalContext, thread);
199 | 
200 |       case T_CONDITIONAL_EXPRESSION:
201 |         return await evalConditionalAsync(evaluator, thisStack, expr, evalContext, thread);
202 | 
203 |       case T_ASSIGNMENT_EXPRESSION:
204 |         return await evalAssignmentAsync(evaluator, thisStack, expr, evalContext, thread);
205 | 
206 |       case T_PREFIX_OP_EXPRESSION:
207 |       case T_POSTFIX_OP_EXPRESSION:
208 |         return await evalPreOrPostAsync(evaluator, thisStack, expr, evalContext, thread);
209 | 
210 |       case T_FUNCTION_INVOCATION_EXPRESSION:
211 |         // --- Special async handling
212 |         return await evalFunctionInvocationAsync(evaluator, thisStack, expr, evalContext, thread);
213 | 
214 |       case T_ARROW_EXPRESSION:
215 |         return evalArrow(thisStack, expr, thread);
216 | 
217 |       case T_SPREAD_EXPRESSION:
218 |         throw new Error("Cannot use spread expression (...) with the current intermediate value.");
219 | 
220 |       default:
221 |         throw new Error(`Unknown expression tree node: ${(expr as any).type}`);
222 |     }
223 |   } catch (e) {
224 |     //TODO decorate error with expression details (startColumn, startLine, startPosition, etc.)
225 |     throw e;
226 |   }
227 | }
228 | 
229 | async function evalMemberAccessAsync(
230 |   evaluator: EvaluatorAsyncFunction,
231 |   thisStack: any[],
232 |   expr: MemberAccessExpression,
233 |   evalContext: BindingTreeEvaluationContext,
234 |   thread: LogicalThread,
235 | ): Promise<any> {
236 |   await evaluator(thisStack, expr.obj, evalContext, thread);
237 |   await completeExprValue(expr.obj, thread);
238 |   // --- At this point we definitely keep the parent object on `thisStack`, as it will be the context object
239 |   // --- of a FunctionInvocationExpression, if that follows the MemberAccess. Other operations would call
240 |   // --- `thisStack.pop()` to remove the result from the previous `evalBindingExpressionTree` call.
241 |   return evalMemberAccessCore(thisStack, expr, evalContext, thread);
242 | }
243 | 
244 | async function evalCalculatedMemberAccessAsync(
245 |   evaluator: EvaluatorAsyncFunction,
246 |   thisStack: any[],
247 |   expr: CalculatedMemberAccessExpression,
248 |   evalContext: BindingTreeEvaluationContext,
249 |   thread: LogicalThread,
250 | ): Promise<any> {
251 |   await evaluator(thisStack, expr.obj, evalContext, thread);
252 |   await completeExprValue(expr.obj, thread);
253 |   await evaluator(thisStack, expr.member, evalContext, thread);
254 |   thisStack.pop();
255 |   await completeExprValue(expr.member, thread);
256 |   return evalCalculatedMemberAccessCore(thisStack, expr, evalContext, thread);
257 | }
258 | 
259 | function evalSequenceAsync(
260 |   evaluator: EvaluatorAsyncFunction,
261 |   thisStack: any[],
262 |   expr: SequenceExpression,
263 |   evalContext: BindingTreeEvaluationContext,
264 |   thread: LogicalThread,
265 | ): Promise<any> {
266 |   if (!expr.exprs || expr.exprs.length === 0) {
267 |     throw new Error(`Missing expression sequence`);
268 |   }
269 |   const result = expr.exprs.map(async (e) => {
270 |     const value = await evaluator(thisStack, e, evalContext, thread);
271 |     setExprValue(e, { value }, thread);
272 |     thisStack.pop();
273 |     return value;
274 |   });
275 |   const lastObj = result[result.length - 1];
276 |   thisStack.push(lastObj);
277 |   return lastObj;
278 | }
279 | 
280 | async function evalArrayLiteralAsync(
281 |   evaluator: EvaluatorAsyncFunction,
282 |   thisStack: any[],
283 |   expr: ArrayLiteral,
284 |   evalContext: BindingTreeEvaluationContext,
285 |   thread: LogicalThread,
286 | ): Promise<any> {
287 |   const value: any[] = [];
288 |   for (const item of expr.items) {
289 |     if (item.type === T_SPREAD_EXPRESSION) {
290 |       const spreadArray = await evaluator(thisStack, item.expr, evalContext, thread);
291 |       thisStack.pop();
292 |       if (!Array.isArray(spreadArray)) {
293 |         throw new Error("Spread operator within an array literal expects an array operand.");
294 |       }
295 |       value.push(...spreadArray);
296 |     } else {
297 |       value.push(await evaluator(thisStack, item, evalContext, thread));
298 |       thisStack.pop();
299 |       thisStack.push(value);
300 |     }
301 |   }
302 | 
303 |   // --- Done.
304 |   setExprValue(expr, { value }, thread);
305 |   thisStack.push(value);
306 |   return value;
307 | }
308 | 
309 | async function evalObjectLiteralAsync(
310 |   evaluator: EvaluatorAsyncFunction,
311 |   thisStack: any[],
312 |   expr: ObjectLiteral,
313 |   evalContext: BindingTreeEvaluationContext,
314 |   thread: LogicalThread,
315 | ): Promise<any> {
316 |   const objectHash: any = {};
317 |   for (const prop of expr.props) {
318 |     if (!Array.isArray(prop)) {
319 |       // --- We're using a spread expression
320 |       const spreadItems = await evaluator(thisStack, prop.expr, evalContext, thread);
321 |       thisStack.pop();
322 |       if (Array.isArray(spreadItems)) {
323 |         // --- Spread of an array
324 |         for (let i = 0; i < spreadItems.length; i++) {
325 |           objectHash[i] = spreadItems[i];
326 |         }
327 |       } else if (typeof spreadItems === "object") {
328 |         // --- Spread of a hash object
329 |         for (const [key, value] of Object.entries(spreadItems)) {
330 |           objectHash[key] = value;
331 |         }
332 |       }
333 |       continue;
334 |     }
335 | 
336 |     // --- We're using key/[value] pairs
337 |     let key: any;
338 |     switch (prop[0].type) {
339 |       case T_LITERAL:
340 |         key = prop[0].value;
341 |         break;
342 |       case T_IDENTIFIER:
343 |         key = prop[0].name;
344 |         break;
345 |       default:
346 |         key = await evaluator(thisStack, prop[0], evalContext, thread);
347 |         thisStack.pop();
348 |         break;
349 |     }
350 |     objectHash[key] = await evaluator(thisStack, prop[1], evalContext, thread);
351 |     thisStack.pop();
352 |   }
353 | 
354 |   // --- Done.
355 |   setExprValue(expr, { value: objectHash }, thread);
356 |   thisStack.push(objectHash);
357 |   return objectHash;
358 | }
359 | 
360 | async function evalUnaryAsync(
361 |   evaluator: EvaluatorAsyncFunction,
362 |   thisStack: any[],
363 |   expr: UnaryExpression,
364 |   evalContext: BindingTreeEvaluationContext,
365 |   thread: LogicalThread,
366 | ): Promise<any> {
367 |   await evaluator(thisStack, expr.expr, evalContext, thread);
368 |   thisStack.pop();
369 |   await completeExprValue(expr.expr, thread);
370 |   return evalUnaryCore(expr, thisStack, evalContext, thread);
371 | }
372 | 
373 | async function evalBinaryAsync(
374 |   evaluator: EvaluatorAsyncFunction,
375 |   thisStack: any[],
376 |   expr: BinaryExpression,
377 |   evalContext: BindingTreeEvaluationContext,
378 |   thread: LogicalThread,
379 | ): Promise<any> {
380 |   await evaluator(thisStack, expr.left, evalContext, thread);
381 |   thisStack.pop();
382 |   const l = await completeExprValue(expr.left, thread);
383 |   if (expr.op === "&&" && !l) {
384 |     setExprValue(expr, { value: l }, thread);
385 |     thisStack.push(l);
386 |     return l;
387 |   }
388 |   if (expr.op === "||" && l) {
389 | 
390 |     setExprValue(expr, { value: l }, thread);
391 |     thisStack.push(l);
392 |     return l;
393 |   }
394 |   await evaluator(thisStack, expr.right, evalContext, thread);
395 |   thisStack.pop();
396 |   await completeExprValue(expr.right, thread);
397 |   return evalBinaryCore(expr, thisStack, evalContext, thread);
398 | }
399 | 
400 | async function evalConditionalAsync(
401 |   evaluator: EvaluatorAsyncFunction,
402 |   thisStack: any[],
403 |   expr: ConditionalExpression,
404 |   evalContext: BindingTreeEvaluationContext,
405 |   thread: LogicalThread,
406 | ): Promise<any> {
407 |   await evaluator(thisStack, expr.cond, evalContext, thread);
408 |   thisStack.pop();
409 |   const condition = await completeExprValue(expr.cond, thread);
410 |   const value = await evaluator(
411 |     thisStack,
412 |     condition ? expr.thenE : expr.elseE,
413 |     evalContext,
414 |     thread,
415 |   );
416 |   setExprValue(expr, { value }, thread);
417 |   return value;
418 | }
419 | 
420 | async function evalAssignmentAsync(
421 |   evaluator: EvaluatorAsyncFunction,
422 |   thisStack: any[],
423 |   expr: AssignmentExpression,
424 |   evalContext: BindingTreeEvaluationContext,
425 |   thread: LogicalThread,
426 | ): Promise<any> {
427 |   const leftValue = expr.leftValue;
428 |   const rootScope = getRootIdScope(leftValue, evalContext, thread);
429 |   const updatesState = rootScope && rootScope.type !== "block";
430 |   if (updatesState && evalContext.onWillUpdate) {
431 |     void evalContext.onWillUpdate(rootScope, rootScope.name, "assignment");
432 |   }
433 |   await evaluator(thisStack, leftValue, evalContext, thread);
434 |   thisStack.pop();
435 |   await completeExprValue(leftValue, thread);
436 |   await evaluator(thisStack, expr.expr, evalContext, thread);
437 |   thisStack.pop();
438 |   await completeExprValue(expr.expr, thread);
439 |   const value = evalAssignmentCore(thisStack, expr, evalContext, thread);
440 |   if (updatesState && evalContext.onDidUpdate) {
441 |     void evalContext.onDidUpdate(rootScope, rootScope.name, "assignment");
442 |   }
443 |   return value;
444 | }
445 | 
446 | async function evalPreOrPostAsync(
447 |   evaluator: EvaluatorAsyncFunction,
448 |   thisStack: any[],
449 |   expr: PrefixOpExpression | PostfixOpExpression,
450 |   evalContext: BindingTreeEvaluationContext,
451 |   thread: LogicalThread,
452 | ): Promise<any> {
453 |   const rootScope = getRootIdScope(expr.expr, evalContext, thread);
454 |   const updatesState = rootScope && rootScope.type !== "block";
455 |   if (updatesState && evalContext.onWillUpdate) {
456 |     void evalContext.onWillUpdate(rootScope, rootScope.name, "pre-post");
457 |   }
458 |   await evaluator(thisStack, expr.expr, evalContext, thread);
459 |   thisStack.pop();
460 |   await completeExprValue(expr.expr, thread);
461 |   const value = evalPreOrPostCore(thisStack, expr, evalContext, thread);
462 |   if (updatesState && evalContext.onDidUpdate) {
463 |     void evalContext.onDidUpdate(rootScope, rootScope.name, "pre-post");
464 |   }
465 |   return value;
466 | }
467 | 
468 | async function evalFunctionInvocationAsync(
469 |   evaluator: EvaluatorAsyncFunction,
470 |   thisStack: any[],
471 |   expr: FunctionInvocationExpression,
472 |   evalContext: BindingTreeEvaluationContext,
473 |   thread: LogicalThread,
474 | ): Promise<any> {
475 |   let functionObj: any;
476 |   let implicitContextObject: any = null;
477 | 
478 |   // --- Check for contexted object
479 |   if (expr.obj.type === T_MEMBER_ACCESS_EXPRESSION) {
480 |     const hostObject = await evaluator(thisStack, expr.obj.obj, evalContext, thread);
481 |     await completeExprValue(expr.obj.obj, thread);
482 |     functionObj = evalMemberAccessCore(thisStack, expr.obj, evalContext, thread);
483 |     if (expr.obj.obj.type === T_IDENTIFIER && hostObject?._SUPPORT_IMPLICIT_CONTEXT) {
484 |       implicitContextObject = hostObject;
485 |     }
486 |   } else {
487 |     // --- Get the object on which to invoke the function
488 |     await evaluator(thisStack, expr.obj, evalContext, thread);
489 |     functionObj = await completeExprValue(expr.obj, thread);
490 |   }
491 |   thisStack.pop();
492 | 
493 |   // --- Keep function arguments here, we pass it to the function later
494 |   const functionArgs: any[] = [];
495 | 
496 |   // --- The functionObj may be an ArrowExpression. In this care we need to create the invokable arrow function
497 |   if (functionObj?._ARROW_EXPR_) {
498 |     functionArgs.push(
499 |       functionObj.args,
500 |       evalContext,
501 |       thread,
502 |       ...expr.arguments.map((a) => ({ ...a, _EXPRESSION_: true })),
503 |     );
504 |     functionObj = await createArrowFunctionAsync(evaluator, functionObj as ArrowExpression);
505 |   } else if (expr.obj.type === T_ARROW_EXPRESSION) {
506 |     // --- We delay evaluating expression values. We pass the argument names as the first parameter, and then
507 |     // --- all parameter expressions
508 |     functionArgs.push(
509 |       expr.obj.args.map((a) => (a as Identifier).name),
510 |       evalContext,
511 |       thread,
512 |       ...expr.arguments.map((a) => ({ ...a, _EXPRESSION_: true })),
513 |     );
514 |   } else {
515 |     // --- We evaluate the argument values to pass to a JavaScript function
516 |     for (let i = 0; i < expr.arguments.length; i++) {
517 |       const arg = expr.arguments[i];
518 |       if (arg.type === T_SPREAD_EXPRESSION) {
519 |         await evaluator([], arg.expr, evalContext, thread);
520 |         const funcArg = await completeExprValue(arg.expr, thread);
521 |         if (!Array.isArray(funcArg)) {
522 |           throw new Error("Spread operator within a function invocation expects an array operand.");
523 |         }
524 |         functionArgs.push(...funcArg);
525 |       } else {
526 |         if (arg.type === T_ARROW_EXPRESSION) {
527 |           const funcArg = createArrowFunctionAsync(evaluator, arg);
528 |           const wrappedFunc = (...args: any[]) => {
529 |             return funcArg(arg.args, evalContext, thread, ...args);
530 |           };
531 |           functionArgs.push(wrappedFunc);
532 |         } else {
533 |           await evaluator([], arg, evalContext, thread);
534 |           const funcArg = await completeExprValue(arg, thread);
535 |           if (funcArg?._ARROW_EXPR_) {
536 |             const wrappedFuncArg = createArrowFunctionAsync(evaluator, funcArg);
537 |             const wrappedFunc = (...args: any[]) =>
538 |               wrappedFuncArg(funcArg.args, evalContext, thread, ...args);
539 |             functionArgs.push(wrappedFunc);
540 |           } else {
541 |             functionArgs.push(funcArg);
542 |           }
543 |         }
544 |       }
545 |     }
546 | 
547 |     // --- We can pass implicit arguments to JavaScript function
548 |     if (implicitContextObject) {
549 |       // --- Let's obtain the implicit context
550 |       if (evalContext.implicitContextGetter) {
551 |         const implicitContext = evalContext.implicitContextGetter(implicitContextObject);
552 |         functionArgs.unshift(implicitContext);
553 |       } else {
554 |         throw new Error("Cannot use implicitContextGetter, it is undefined");
555 |       }
556 |     }
557 |   }
558 | 
559 |   // --- Check if the function is banned from running
560 |   const bannedInfo = isBannedFunction(functionObj);
561 |   if (bannedInfo.banned) {
562 |     throw new Error(
563 |       `Function ${bannedInfo.func?.name ?? "unknown"} is not allowed to call. ${bannedInfo?.help ?? ""}`,
564 |     );
565 |   }
566 | 
567 |   // --- We use context for "this"
568 |   const currentContext = thisStack.length > 0 ? thisStack.pop() : evalContext.localContext;
569 | 
570 |   // --- We need to use proxies for JavaScript functions (such as Array.prototype.filter) not supporting
571 |   // --- async arguments
572 |   functionObj = getAsyncProxy(functionObj, functionArgs, currentContext);
573 | 
574 |   // --- Now, invoke the function
575 |   const rootScope = getRootIdScope(expr.obj, evalContext, thread);
576 |   const updatesState = rootScope && rootScope.type !== "block";
577 |   if (updatesState && evalContext.onWillUpdate) {
578 |     void evalContext.onWillUpdate(rootScope, rootScope.name, "function-call");
579 |   }
580 |   const value = evalContext.options?.defaultToOptionalMemberAccess
581 |     ? (functionObj as Function)?.call(currentContext, ...functionArgs)
582 |     : (functionObj as Function).call(currentContext, ...functionArgs);
583 | 
584 |   let returnValue = await completePromise(value);
585 |   if (updatesState && evalContext.onDidUpdate) {
586 |     void evalContext.onDidUpdate(rootScope, rootScope.name, "function-call");
587 |   }
588 | 
589 |   // --- Done.
590 |   setExprValue(expr, { value: returnValue }, thread);
591 |   thisStack.push(returnValue);
592 |   return returnValue;
593 | }
594 | 
595 | function createArrowFunctionAsync(
596 |   evaluator: EvaluatorAsyncFunction,
597 |   expr: ArrowExpression,
598 | ): Function {
599 |   // --- Use this function, it evaluates the arrow function
600 |   return async (...args: any[]) => {
601 |     // --- Prepare the variables to pass
602 |     const runTimeEvalContext = args[1] as BindingTreeEvaluationContext;
603 |     const runtimeThread = args[2] as LogicalThread;
604 | 
605 |     // --- Create the thread that runs the arrow function
606 |     const workingThread: LogicalThread = {
607 |       parent: runtimeThread,
608 |       childThreads: [],
609 |       blocks: [{ vars: {} }],
610 |       loops: [],
611 |       breakLabelValue: -1,
612 |       closures: (expr as any).closureContext,
613 |     };
614 |     runtimeThread.childThreads.push(workingThread);
615 | 
616 |     // --- Create a block for a named arrow function
617 |     if (expr.name) {
618 |       const functionBlock: BlockScope = { vars: {} };
619 |       workingThread.blocks ??= [];
620 |       workingThread.blocks.push(functionBlock);
621 |       functionBlock.vars[expr.name] = expr;
622 |       functionBlock.constVars = new Set([expr.name]);
623 |     }
624 | 
625 |     // --- Assign argument values to names
626 |     const arrowBlock: BlockScope = { vars: {} };
627 |     workingThread.blocks ??= [];
628 |     workingThread.blocks.push(arrowBlock);
629 |     const argSpecs = args[0] as Expression[];
630 |     let restFound = false;
631 |     for (let i = 0; i < argSpecs.length; i++) {
632 |       // --- Turn argument specification into processable variable declarations
633 |       const argSpec = argSpecs[i];
634 |       let decl: VarDeclaration | undefined;
635 |       switch (argSpec.type) {
636 |         case T_IDENTIFIER: {
637 |           decl = {
638 |             type: T_VAR_DECLARATION,
639 |             id: argSpec.name,
640 |           } as VarDeclaration;
641 |           break;
642 |         }
643 |         case T_DESTRUCTURE: {
644 |           decl = {
645 |             type: T_VAR_DECLARATION,
646 |             id: argSpec.id,
647 |             aDestr: argSpec.aDestr,
648 |             oDestr: argSpec.oDestr,
649 |           } as VarDeclaration;
650 |           break;
651 |         }
652 |         case T_SPREAD_EXPRESSION: {
653 |           restFound = true;
654 |           decl = {
655 |             type: T_VAR_DECLARATION,
656 |             id: (argSpec.expr as unknown as Identifier).name,
657 |           } as VarDeclaration;
658 |           break;
659 |         }
660 | 
661 |         default:
662 |           throw new Error("Unexpected arrow argument specification");
663 |       }
664 | 
665 |       if (decl) {
666 |         if (restFound) {
667 |           // --- Get the rest of the arguments
668 |           const restArgs = args.slice(i + 3);
669 |           let argVals: any[] = [];
670 |           for (const arg of restArgs) {
671 |             if (arg?._EXPRESSION_) {
672 |               argVals.push(await evaluator([], arg, runTimeEvalContext, runtimeThread));
673 |             } else {
674 |               argVals.push(arg);
675 |             }
676 |           }
677 |           await processDeclarationsAsync(
678 |             arrowBlock,
679 |             runTimeEvalContext,
680 |             runtimeThread,
681 |             [decl],
682 |             false,
683 |             true,
684 |             argVals,
685 |           );
686 |         } else {
687 |           // --- Get the actual value to work with
688 |           let argVal = args[i + 3];
689 |           if (argVal?._EXPRESSION_) {
690 |             argVal = await evaluator([], argVal, runTimeEvalContext, runtimeThread);
691 |           }
692 |           await processDeclarationsAsync(
693 |             arrowBlock,
694 |             runTimeEvalContext,
695 |             runtimeThread,
696 |             [decl],
697 |             false,
698 |             true,
699 |             argVal,
700 |           );
701 |         }
702 |       }
703 |     }
704 | 
705 |     // --- Evaluate the arrow expression body
706 |     let returnValue: any;
707 |     let statements: Statement[];
708 | 
709 |     switch (expr.statement.type) {
710 |       case T_EMPTY_STATEMENT:
711 |         statements = [];
712 |         break;
713 |       case T_EXPRESSION_STATEMENT:
714 |         // --- Create a new thread for the call
715 |         statements = [
716 |           {
717 |             type: T_RETURN_STATEMENT,
718 |             expr: expr.statement.expr,
719 |           } as ReturnStatement,
720 |         ];
721 |         break;
722 |       case T_BLOCK_STATEMENT:
723 |         // --- Create a new thread for the call
724 |         statements = expr.statement.stmts;
725 |         break;
726 |       default:
727 |         throw new Error(
728 |           `Arrow expression with a body of '${expr.statement.type}' is not supported yet.`,
729 |         );
730 |     }
731 | 
732 |     // --- Process the statement with a new processor
733 |     await processStatementQueueAsync(statements, runTimeEvalContext, workingThread);
734 | 
735 |     // --- Return value is in a return value slot
736 |     returnValue = workingThread.returnValue;
737 | 
738 |     // --- Remove the current working thread
739 |     const workingIndex = runtimeThread.childThreads.indexOf(workingThread);
740 |     if (workingIndex < 0) {
741 |       throw new Error("Cannot find thread to remove.");
742 |     }
743 |     runtimeThread.childThreads.splice(workingIndex, 1);
744 | 
745 |     // --- Remove the function level block
746 |     workingThread.blocks.pop();
747 | 
748 |     // --- Return the function value
749 |     return returnValue;
750 |   };
751 | }
752 | 
753 | // --- Completes all promises within the input
754 | function completePromise(input: any): Promise<any> {
755 |   const visited = new Map<any, any>();
756 | 
757 |   return completePromiseInternal(input);
758 | 
759 |   async function completePromiseInternal(input: any): Promise<any> {
760 |     // --- No need to resolve undefined or null
761 |     if (input === undefined || input === null) return input;
762 | 
763 |     // --- Already visited?
764 |     const resolved = visited.get(input);
765 |     if (resolved) return resolved;
766 | 
767 |     // --- Resolve the chain of promises
768 |     if (isPromise(input)) {
769 |       const awaited = await input;
770 |       visited.set(input, awaited);
771 |       return completePromiseInternal(awaited);
772 |     }
773 | 
774 |     // --- In any other cases, we keep the input reference
775 |     visited.set(input, input);
776 | 
777 |     // --- Resolve promises within an array
778 |     if (Array.isArray(input)) {
779 |       for (let i = 0; i < input.length; i++) {
780 |         const completedPromise = await completePromiseInternal(input[i]);
781 |         if (input[i] !== completedPromise) {
782 |           //prevent write if it's the same reference (can cause problems in frozen objects)
783 |           input.splice(i, 1, completedPromise);
784 |         }
785 |       }
786 |       return input;
787 |     }
788 | 
789 |     // --- Resolve promises in object properties
790 |     if (isPlainObject(input)) {
791 |       for (const key of Object.keys(input)) {
792 |         let completedPromise = await completePromiseInternal(input[key]);
793 |         if (input[key] !== completedPromise) {
794 |           //prevent write if it's the same reference (can cause problems in frozen objects)
795 |           input[key] = completedPromise;
796 |         }
797 |       }
798 |       return input;
799 |     }
800 | 
801 |     // --- Done.
802 |     return input;
803 |   }
804 | }
805 | 
806 | async function evalTemplateLiteralAsync(
807 |   evaluator: EvaluatorAsyncFunction,
808 |   thisStack: any[],
809 |   expr: TemplateLiteralExpression,
810 |   evalContext: BindingTreeEvaluationContext,
811 |   thread: LogicalThread,
812 | ): Promise<any> {
813 |   const segmentValues = new Array(expr.segments.length);
814 |   for (let i = 0; i < expr.segments.length; ++i) {
815 |     await evaluator(thisStack, expr.segments[i], evalContext, thread);
816 |     thisStack.pop();
817 |     const evaledValue = await completeExprValue(expr.segments[i], thread);
818 |     segmentValues[i] = evaledValue;
819 |   }
820 |   const value = evalTemplateLiteralCore(segmentValues);
821 |   setExprValue(expr, { value }, thread);
822 |   thisStack.push(value);
823 |   return value;
824 | }
825 | 
826 | export async function completeExprValue(expr: Expression, thread: LogicalThread): Promise<any> {
827 |   const exprValue = getExprValue(expr, thread);
828 |   const awaited = await completePromise(exprValue?.value);
829 |   setExprValue(expr, { ...exprValue, value: awaited }, thread);
830 |   return awaited;
831 | }
832 | 
```
Page 111/189FirstPrevNextLast