#
tokens: 46250/50000 3/1630 files (page 83/186)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 83 of 186. Use http://codebase.md/xmlui-org/xmlui/xmlui/tools/vscode/resources/xmlui-markup-syntax-highlighting.png?lines=true&page={x} to view the full context.

# Directory Structure

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

# Files

--------------------------------------------------------------------------------
/xmlui/dev-docs/xmlui-repo.md:
--------------------------------------------------------------------------------

```markdown
  1 | # XMLUI Repository Structure
  2 | 
  3 | This document explains the XMLUI monorepo architecture, workspace organization, and Turborepo build orchestration. This is relevant for framework contributors who need to understand the repository structure and cross-package build coordination.
  4 | 
  5 | > **Note:** For building the XMLUI core package, see [Building the XMLUI Core Package](./build-xmlui.md). For building applications or extensions, see [XMLUI Build System](./build-system.md).
  6 | 
  7 | ## Table of Contents
  8 | 
  9 | 1. [Overview](#overview)
 10 | 2. [Monorepo Architecture](#monorepo-architecture)
 11 | 3. [Workspace Configuration](#workspace-configuration)
 12 | 4. [Turborepo Build Orchestration](#turborepo-build-orchestration)
 13 | 5. [Build Commands Reference](#build-commands-reference)
 14 | 6. [Task Dependency Graphs](#task-dependency-graphs)
 15 | 7. [CI/CD Integration](#cicd-integration)
 16 | 8. [Development Workflow](#development-workflow)
 17 | 9. [Package Management](#package-management)
 18 | 10. [Troubleshooting](#troubleshooting)
 19 | 
 20 | ## Overview
 21 | 
 22 | XMLUI uses a **monorepo architecture** managed by **npm workspaces** with **Turborepo** for efficient task orchestration. This structure allows:
 23 | 
 24 | - **Shared dependencies** across packages
 25 | - **Cross-package dependency management**
 26 | - **Unified build pipeline** with caching
 27 | - **Parallel task execution**
 28 | - **Incremental builds** with intelligent caching
 29 | 
 30 | **Key Technologies:**
 31 | 
 32 | - **Monorepo Manager:** npm workspaces
 33 | - **Task Orchestration:** Turborepo 2.x
 34 | - **Package Manager:** [email protected]
 35 | - **Version Management:** @changesets/cli
 36 | - **Build Tool:** Vite 5.x (within packages)
 37 | 
 38 | ## Monorepo Architecture
 39 | 
 40 | ### Repository Structure
 41 | 
 42 | ```
 43 | xmlui-repo-root/
 44 |   ├── package.json              # Root workspace configuration
 45 |   ├── turbo.json                # Turborepo task definitions
 46 |   ├── .changeset/               # Changesets for version management
 47 |   │
 48 |   ├── xmlui/                    # Core framework package
 49 |   │   ├── package.json
 50 |   │   ├── vite.config.ts
 51 |   │   ├── src/
 52 |   │   ├── bin/                  # CLI tools
 53 |   │   └── dist/                 # Build output
 54 |   │
 55 |   ├── docs/                     # Documentation site
 56 |   │   ├── package.json
 57 |   │   ├── src/
 58 |   │   └── public/
 59 |   │
 60 |   ├── blog/                     # Blog site
 61 |   │   ├── package.json
 62 |   │   └── src/
 63 |   │
 64 |   ├── tools/
 65 |   │   ├── create-app/           # App scaffolding tool
 66 |   │   │   ├── package.json
 67 |   │   │   └── templates/
 68 |   │   └── vscode/               # VS Code extension
 69 |   │       ├── package.json
 70 |   │       └── src/
 71 |   │
 72 |   └── packages/
 73 |       ├── xmlui-animations/     # Animation components
 74 |       ├── xmlui-devtools/       # Development tools
 75 |       ├── xmlui-website-blocks/ # Website component library
 76 |       ├── xmlui-spreadsheet/    # Spreadsheet components
 77 |       ├── xmlui-pdf/            # PDF components
 78 |       ├── xmlui-search/         # Search components
 79 |       ├── xmlui-playground/     # Interactive playground
 80 |       ├── xmlui-os-frames/      # OS-style frames
 81 |       └── xmlui-hello-world/    # Starter template
 82 | ```
 83 | 
 84 | ### Package Categories
 85 | 
 86 | **Core Framework:**
 87 | 
 88 | - `xmlui/` - Main XMLUI framework package
 89 | 
 90 | **Documentation:**
 91 | 
 92 | - `docs/` - Documentation website
 93 | - `blog/` - Blog and changelog
 94 | 
 95 | **Tools:**
 96 | 
 97 | - `tools/create-app/` - CLI tool for scaffolding new apps
 98 | - `tools/vscode/` - VS Code extension for XMLUI development
 99 | 
100 | **Extension Packages:**
101 | 
102 | - `packages/xmlui-*` - Component libraries and extensions
103 | 
104 | ## Workspace Configuration
105 | 
106 | ### Root package.json
107 | 
108 | ```json
109 | {
110 |   "name": "xmlui-monorepo",
111 |   "private": true,
112 |   "workspaces": [
113 |     "./xmlui",
114 |     "./docs",
115 |     "./blog",
116 |     "./tools/create-app",
117 |     "./tools/vscode",
118 |     "./packages/*"
119 |   ],
120 |   "engines": {
121 |     "node": ">=18.0.0",
122 |     "npm": ">=10.0.0"
123 |   },
124 |   "packageManager": "[email protected]"
125 | }
126 | ```
127 | 
128 | ### Workspace Benefits
129 | 
130 | **Dependency Hoisting:**
131 | 
132 | ```bash
133 | # Shared dependencies installed once at root
134 | node_modules/
135 |   ├── react/
136 |   ├── typescript/
137 |   └── vite/
138 | ```
139 | 
140 | **Cross-Package Dependencies:**
141 | 
142 | ```json
143 | {
144 |   "dependencies": {
145 |     "xmlui": "workspace:*",
146 |     "@xmlui/animations": "workspace:*"
147 |   }
148 | }
149 | ```
150 | 
151 | **Unified Scripts:**
152 | 
153 | ```bash
154 | # Run command in all workspaces
155 | npm run build --workspaces
156 | 
157 | # Run command in specific workspace
158 | npm run build --workspace=xmlui
159 | ```
160 | 
161 | ## Turborepo Build Orchestration
162 | 
163 | Turborepo manages the build pipeline with task dependencies, caching, and parallel execution.
164 | 
165 | ### turbo.json Configuration
166 | 
167 | The `turbo.json` file at the repository root defines all tasks and their orchestration:
168 | 
169 | ```json
170 | {
171 |   "$schema": "https://turbo.build/schema.json",
172 |   "globalEnv": ["CI"],
173 |   "tasks": {
174 |     "build:xmlui-all": { ... },
175 |     "test:xmlui-all": { ... },
176 |     "build:extension": { ... },
177 |     "generate-docs": { ... }
178 |   }
179 | }
180 | ```
181 | 
182 | ### Core Task Definitions
183 | 
184 | #### XMLUI Core Package Tasks
185 | 
186 | **build:bin**
187 | 
188 | ```json
189 | {
190 |   "outputs": ["dist/bin/**"]
191 | }
192 | ```
193 | 
194 | Compiles CLI tools in `xmlui/bin/` folder.
195 | 
196 | **build:xmlui**
197 | 
198 | ```json
199 | {
200 |   "outputs": ["dist/lib/**"]
201 | }
202 | ```
203 | 
204 | Builds library mode (ES modules for npm distribution).
205 | 
206 | **build:xmlui-standalone**
207 | 
208 | ```json
209 | {
210 |   "outputs": ["dist/standalone/**"]
211 | }
212 | ```
213 | 
214 | Builds standalone UMD bundle for CDN deployment.
215 | 
216 | **build:xmlui-metadata**
217 | 
218 | ```json
219 | {
220 |   "inputs": ["$TURBO_DEFAULT$", "!src/language-server/xmlui-metadata-generated.js"],
221 |   "outputs": ["dist/metadata/**"]
222 | }
223 | ```
224 | 
225 | Extracts component metadata for documentation and LSP.
226 | 
227 | **build:xmlui-all**
228 | 
229 | ```json
230 | {
231 |   "dependsOn": [
232 |     "build:bin",
233 |     "build:xmlui-metadata",
234 |     "build:xmlui",
235 |     "build:xmlui-standalone",
236 |     "build:extension"
237 |   ],
238 |   "outputs": ["dist/**"]
239 | }
240 | ```
241 | 
242 | Master task that builds entire XMLUI core package.
243 | 
244 | #### Extension Package Tasks
245 | 
246 | **build:extension**
247 | 
248 | ```json
249 | {
250 |   "dependsOn": ["^build:extension"],
251 |   "outputs": ["dist/**"]
252 | }
253 | ```
254 | 
255 | Builds extension packages. The `^` prefix means "wait for dependencies' build:extension".
256 | 
257 | #### Documentation Tasks
258 | 
259 | **generate-docs**
260 | 
261 | ```json
262 | {
263 |   "dependsOn": ["build:xmlui-metadata", "build:meta"],
264 |   "outputs": ["public/pages/**", "content/**/*.md", "content/**/*.mdx"],
265 |   "cache": false
266 | }
267 | ```
268 | 
269 | Generates documentation from component metadata.
270 | 
271 | **build:docs**
272 | 
273 | ```json
274 | {
275 |   "dependsOn": [
276 |     "^build:extension",
277 |     "^build:xmlui",
278 |     "gen:releases",
279 |     "gen:download-latest-xmlui-release",
280 |     "generate-docs-summaries"
281 |   ],
282 |   "outputs": ["dist/**", "xmlui-optimized-output/**"]
283 | }
284 | ```
285 | 
286 | Builds complete documentation site.
287 | 
288 | #### Testing Tasks
289 | 
290 | **test:unit**
291 | 
292 | ```json
293 | {
294 |   "outputs": ["coverage/**"],
295 |   "cache": false
296 | }
297 | ```
298 | 
299 | Runs unit tests with Vitest.
300 | 
301 | **test:e2e-smoke**
302 | 
303 | ```json
304 | {
305 |   "dependsOn": ["build:test-bed", "build:xmlui-test-bed"],
306 |   "outputs": ["playwright-report/**", "test-results/**", "tests-e2e/screenshots/**"],
307 |   "cache": false
308 | }
309 | ```
310 | 
311 | Runs smoke E2E tests with Playwright.
312 | 
313 | **test:xmlui-all**
314 | 
315 | ```json
316 | {
317 |   "dependsOn": ["test:unit", "test:e2e-non-smoke"],
318 |   "cache": false
319 | }
320 | ```
321 | 
322 | Runs complete test suite.
323 | 
324 | ### Turborepo Features
325 | 
326 | #### Caching
327 | 
328 | **How it works:**
329 | 
330 | - Turborepo hashes task inputs (source files, dependencies, env vars)
331 | - If hash matches previous run, replays cached outputs
332 | - Dramatically speeds up incremental builds
333 | 
334 | **Cache locations:**
335 | 
336 | ```bash
337 | # Local cache
338 | node_modules/.cache/turbo/
339 | 
340 | # Remote cache (optional)
341 | # Configure with turbo login
342 | ```
343 | 
344 | **Cache configuration:**
345 | 
346 | ```json
347 | {
348 |   "inputs": ["$TURBO_DEFAULT$", "!**/*.test.ts"],
349 |   "outputs": ["dist/**"]
350 | }
351 | ```
352 | 
353 | **Cache control:**
354 | 
355 | ```bash
356 | # Use cache (default)
357 | turbo run build:xmlui-all
358 | 
359 | # Ignore cache, force rebuild
360 | turbo run build:xmlui-all --force
361 | 
362 | # Show cache hits/misses
363 | turbo run build:xmlui-all --verbosity=3
364 | ```
365 | 
366 | #### Parallel Execution
367 | 
368 | **Dependency-based parallelization:**
369 | 
370 | ```
371 | build:xmlui-all
372 |   ├── build:bin                    ⎤
373 |   ├── build:xmlui-metadata         ⎥ Run in parallel
374 |   └── build:xmlui                  ⎦
375 |       └── build:xmlui-standalone   → Runs after build:xmlui
376 | ```
377 | 
378 | **Concurrency control:**
379 | 
380 | ```bash
381 | # Limit parallel tasks
382 | turbo run build:xmlui-all --concurrency=4
383 | 
384 | # No limit (use all CPU cores)
385 | turbo run build:xmlui-all --concurrency=100
386 | ```
387 | 
388 | #### Output Management
389 | 
390 | **Inputs:**
391 | 
392 | - `$TURBO_DEFAULT$` - All files except ignored ones
393 | - Specific patterns: `src/**/*.ts`, `package.json`
394 | - Negations: `!**/*.test.ts`
395 | 
396 | **Outputs:**
397 | 
398 | - Define what gets cached: `["dist/**"]`
399 | - Must be deterministic
400 | - Should not include timestamps or random content
401 | 
402 | **Global environment variables:**
403 | 
404 | ```json
405 | {
406 |   "globalEnv": ["CI", "NODE_ENV"]
407 | }
408 | ```
409 | 
410 | These affect cache keys.
411 | 
412 | #### Cross-Package Dependencies
413 | 
414 | **Prefix operators:**
415 | 
416 | ```json
417 | {
418 |   "dependsOn": [
419 |     "^build:extension" // Dependencies must complete first
420 |   ]
421 | }
422 | ```
423 | 
424 | The `^` means: "Before running this task, run the same task in all dependencies."
425 | 
426 | **Example:**
427 | 
428 | ```
429 | packages/xmlui-website-blocks/
430 |   dependencies:
431 |     - xmlui
432 |     - @xmlui/animations
433 | 
434 | turbo run build:extension
435 |   → First builds xmlui
436 |   → Then builds @xmlui/animations
437 |   → Finally builds xmlui-website-blocks
438 | ```
439 | 
440 | ## Build Commands Reference
441 | 
442 | ### Root-Level Commands
443 | 
444 | All commands run from workspace root:
445 | 
446 | ```bash
447 | # Core XMLUI builds
448 | npm run build-xmlui              # Build XMLUI core (turbo run build:xmlui-all)
449 | npm run build-xmlui:watch        # Watch mode for lib build
450 | 
451 | # Testing
452 | npm run test-xmlui               # Full test suite
453 | npm run test-xmlui:ci            # CI mode (Unix/Linux/macOS)
454 | npm run test-xmlui:ci-win        # CI mode (Windows)
455 | npm run test-xmlui-smoke         # Smoke tests only
456 | 
457 | # Extensions
458 | npm run build-extensions         # Build all extension packages
459 | 
460 | # Documentation
461 | npm run build-docs               # Build docs site
462 | npm run generate-docs            # Generate from metadata
463 | npm run generate-docs-summaries  # Create summary files
464 | 
465 | # Publishing
466 | npm run publish-packages         # Build + test + publish
467 | npm run changeset:add            # Add changeset
468 | npm run changeset:version        # Bump versions
469 | npm run changeset:publish        # Publish to npm
470 | ```
471 | 
472 | ### Turbo Commands
473 | 
474 | ```bash
475 | # Run specific task
476 | turbo run build:xmlui
477 | 
478 | # Run task in specific package
479 | turbo run xmlui#build:xmlui
480 | 
481 | # Show dependency graph
482 | turbo run build:xmlui-all --graph
483 | 
484 | # Dry run (show execution plan)
485 | turbo run build:xmlui-all --dry-run
486 | 
487 | # Force rebuild (ignore cache)
488 | turbo run build:xmlui-all --force
489 | 
490 | # Verbose output
491 | turbo run build:xmlui-all --verbosity=3
492 | 
493 | # Filter by package
494 | turbo run build --filter=xmlui
495 | turbo run build --filter=@xmlui/*
496 | 
497 | # Watch mode
498 | turbo watch generate-docs-summaries
499 | ```
500 | 
501 | ### Package-Level Commands
502 | 
503 | From `xmlui/` directory:
504 | 
505 | ```bash
506 | # Individual build steps
507 | npm run build:bin                # Build CLI tools
508 | npm run build:xmlui              # Build library
509 | npm run build:xmlui-standalone   # Build UMD bundle
510 | npm run build:xmlui-metadata     # Extract metadata
511 | 
512 | # Testing
513 | npm run test:unit                # Unit tests
514 | npm run test:e2e-smoke           # E2E smoke tests
515 | npm run test:e2e-non-smoke       # Full E2E suite
516 | 
517 | # Development
518 | npm run start-test-bed           # Start test application
519 | ```
520 | 
521 | ## Task Dependency Graphs
522 | 
523 | ### XMLUI Core Build
524 | 
525 | ```
526 | build:xmlui-all
527 |   ├── build:bin
528 |   ├── build:xmlui-metadata
529 |   ├── build:xmlui
530 |   ├── build:xmlui-standalone
531 |   └── build:extension (from workspace packages)
532 |       └── ^build:extension (dependencies from other packages)
533 | ```
534 | 
535 | **Execution order:**
536 | 
537 | 1. `build:bin`, `build:xmlui-metadata`, `build:xmlui` run in parallel
538 | 2. `build:xmlui-standalone` runs after `build:xmlui`
539 | 3. `build:extension` runs after all above complete
540 | 
541 | ### Documentation Build
542 | 
543 | ```
544 | build:docs
545 |   ├── ^build:extension          (all extension packages)
546 |   ├── ^build:xmlui              (core framework)
547 |   ├── gen:releases              (fetch GitHub releases)
548 |   ├── gen:download-latest-xmlui-release
549 |   └── generate-docs-summaries
550 |       └── generate-docs
551 |           ├── build:xmlui-metadata
552 |           └── build:meta
553 | ```
554 | 
555 | ### Testing Pipeline
556 | 
557 | ```
558 | test:xmlui-all
559 |   ├── test:unit
560 |   └── test:e2e-non-smoke
561 |       ├── build:test-bed
562 |       ├── build:xmlui-test-bed
563 |       └── test:e2e-smoke
564 | ```
565 | 
566 | ### Extension Build
567 | 
568 | ```
569 | packages/xmlui-website-blocks#build:extension
570 |   └── ^build:extension (dependencies)
571 |       ├── xmlui#build:xmlui
572 |       └── @xmlui/animations#build:extension
573 | ```
574 | 
575 | ### VS Code Extension
576 | 
577 | ```
578 | tools/vscode#build:vsix
579 |   └── tools/vscode#build
580 |       └── ^gen:langserver-metadata
581 |           └── build:xmlui-metadata
582 | ```
583 | 
584 | ## CI/CD Integration
585 | 
586 | ### Environment Variables
587 | 
588 | **Global variables (affect cache):**
589 | 
590 | ```json
591 | {
592 |   "globalEnv": ["CI"]
593 | }
594 | ```
595 | 
596 | **CI detection:**
597 | 
598 | ```bash
599 | # Unix/Linux/macOS
600 | npm run test-xmlui:ci
601 | # Sets: CI=true turbo run test:xmlui-all
602 | 
603 | # Windows
604 | npm run test-xmlui:ci-win
605 | # Sets: set CI=true && turbo run test:xmlui-all
606 | ```
607 | 
608 | ### CI Pipeline Example
609 | 
610 | ```yaml
611 | name: CI
612 | 
613 | on: [push, pull_request]
614 | 
615 | jobs:
616 |   build:
617 |     runs-on: ubuntu-latest
618 |     steps:
619 |       - uses: actions/checkout@v3
620 | 
621 |       - uses: actions/setup-node@v3
622 |         with:
623 |           node-version: 18
624 |           cache: "npm"
625 | 
626 |       - run: npm ci
627 | 
628 |       - name: Build
629 |         run: npm run build-xmlui
630 | 
631 |       - name: Test
632 |         run: npm run test-xmlui:ci
633 | 
634 |       - name: Build Extensions
635 |         run: npm run build-extensions
636 | ```
637 | 
638 | ### Remote Caching (Optional)
639 | 
640 | **Setup:**
641 | 
642 | ```bash
643 | # Login to Vercel/Turbo
644 | turbo login
645 | 
646 | # Link repository
647 | turbo link
648 | ```
649 | 
650 | **Benefits:**
651 | 
652 | - Share cache across CI runs
653 | - Share cache across team members
654 | - Faster CI builds
655 | 
656 | ## Development Workflow
657 | 
658 | ### Initial Setup
659 | 
660 | ```bash
661 | # Clone repository
662 | git clone https://github.com/xmlui-org/xmlui.git
663 | cd xmlui
664 | 
665 | # Install all dependencies
666 | npm install
667 | 
668 | # Build everything
669 | npm run build-xmlui
670 | npm run build-extensions
671 | ```
672 | 
673 | ### Daily Development
674 | 
675 | **Working on XMLUI core:**
676 | 
677 | ```bash
678 | cd xmlui
679 | 
680 | # Terminal 1: Watch mode for lib build
681 | npm run build:bin
682 | xmlui build-lib --watch
683 | 
684 | # Terminal 2: Dev server for test app
685 | cd src/testing/infrastructure
686 | xmlui start
687 | 
688 | # Or use test bed
689 | npm run start-test-bed
690 | ```
691 | 
692 | **Working on extension:**
693 | 
694 | ```bash
695 | cd packages/xmlui-website-blocks
696 | 
697 | # Build in watch mode
698 | npm run build -- --watch
699 | 
700 | # Test in example app
701 | cd examples/my-app
702 | xmlui start
703 | ```
704 | 
705 | **Working on documentation:**
706 | 
707 | ```bash
708 | cd docs
709 | 
710 | # Watch mode for docs generation
711 | turbo watch generate-docs-summaries
712 | 
713 | # Dev server
714 | xmlui start
715 | ```
716 | 
717 | ### Making Changes
718 | 
719 | ```bash
720 | # 1. Make code changes
721 | vim xmlui/src/components/Button.tsx
722 | 
723 | # 2. Build (or use watch mode)
724 | npm run build-xmlui
725 | 
726 | # 3. Test
727 | npm run test-xmlui-smoke
728 | 
729 | # 4. Add changeset
730 | npm run changeset:add
731 | ```
732 | 
733 | ### Publishing Workflow
734 | 
735 | ```bash
736 | # 1. Ensure clean state
737 | git status
738 | 
739 | # 2. Build everything
740 | npm run build-xmlui
741 | npm run build-extensions
742 | 
743 | # 3. Test everything
744 | npm run test-xmlui
745 | 
746 | # 4. Add changeset (if not already added)
747 | npm run changeset:add
748 | 
749 | # 5. Version packages
750 | npm run changeset:version
751 | 
752 | # 6. Commit version changes
753 | git add .
754 | git commit -m "chore: version packages"
755 | 
756 | # 7. Publish
757 | npm run changeset:publish
758 | 
759 | # 8. Push tags
760 | git push --follow-tags
761 | ```
762 | 
763 | ## Package Management
764 | 
765 | ### Changesets
766 | 
767 | XMLUI uses `@changesets/cli` for coordinated version management across packages.
768 | 
769 | **Add changeset:**
770 | 
771 | ```bash
772 | npm run changeset:add
773 | 
774 | # Interactive prompts:
775 | # 1. Select packages to version
776 | # 2. Choose version bump (major/minor/patch)
777 | # 3. Write summary of changes
778 | ```
779 | 
780 | **Version packages:**
781 | 
782 | ```bash
783 | npm run changeset:version
784 | 
785 | # This:
786 | # 1. Reads all changesets
787 | # 2. Updates package.json versions
788 | # 3. Updates CHANGELOG.md files
789 | # 4. Deletes consumed changesets
790 | ```
791 | 
792 | **Publish packages:**
793 | 
794 | ```bash
795 | npm run changeset:publish
796 | 
797 | # This:
798 | # 1. Builds packages (via prepublishOnly)
799 | # 2. Publishes to npm
800 | # 3. Creates git tags
801 | ```
802 | 
803 | ### Workspace Protocol
804 | 
805 | Dependencies between workspace packages use `workspace:*`:
806 | 
807 | ```json
808 | {
809 |   "dependencies": {
810 |     "xmlui": "workspace:*"
811 |   }
812 | }
813 | ```
814 | 
815 | **During publish:**
816 | 
817 | ```json
818 | {
819 |   "dependencies": {
820 |     "xmlui": "^0.10.19" // Replaced with actual version
821 |   }
822 | }
823 | ```
824 | 
825 | ### Package Scripts
826 | 
827 | **Common scripts in workspace packages:**
828 | 
829 | ```json
830 | {
831 |   "scripts": {
832 |     "build": "vite build",
833 |     "build:extension": "vite build",
834 |     "test": "vitest",
835 |     "prepublishOnly": "npm run build"
836 |   }
837 | }
838 | ```
839 | 
840 | ## Troubleshooting
841 | 
842 | ### Clear All Caches
843 | 
844 | ```bash
845 | # From workspace root
846 | 
847 | # Clear build artifacts
848 | rm -rf xmlui/dist/
849 | rm -rf packages/*/dist/
850 | rm -rf docs/dist/
851 | rm -rf blog/dist/
852 | 
853 | # Clear Vite cache
854 | rm -rf xmlui/node_modules/.vite/
855 | rm -rf packages/*/node_modules/.vite/
856 | rm -rf docs/node_modules/.vite/
857 | rm -rf blog/node_modules/.vite/
858 | 
859 | # Clear Turbo cache
860 | rm -rf node_modules/.cache/turbo/
861 | 
862 | # Rebuild
863 | npm run build-xmlui
864 | ```
865 | 
866 | ### Dependency Issues
867 | 
868 | ```bash
869 | # Clean install
870 | rm -rf node_modules package-lock.json
871 | rm -rf xmlui/node_modules
872 | rm -rf packages/*/node_modules
873 | npm install
874 | 
875 | # Check for dependency conflicts
876 | npm ls
877 | 
878 | # Update all dependencies
879 | npx npm-check-updates -u
880 | npm install
881 | ```
882 | 
883 | ### Turbo Issues
884 | 
885 | **Cache problems:**
886 | 
887 | ```bash
888 | # Clear cache
889 | rm -rf node_modules/.cache/turbo/
890 | 
891 | # Force rebuild
892 | turbo run build:xmlui-all --force
893 | 
894 | # Check cache behavior
895 | turbo run build:xmlui-all --verbosity=3
896 | ```
897 | 
898 | **Task not found:**
899 | 
900 | ```bash
901 | # Check turbo.json syntax
902 | cat turbo.json | jq .
903 | 
904 | # Verify task definition
905 | turbo run build:xmlui-all --dry-run
906 | 
907 | # List all tasks
908 | cat turbo.json | jq '.tasks | keys'
909 | ```
910 | 
911 | **Dependency issues:**
912 | 
913 | ```bash
914 | # Show task graph
915 | turbo run build:xmlui-all --graph
916 | 
917 | # Check workspace configuration
918 | npm run build-xmlui -- --verbosity=3
919 | ```
920 | 
921 | ### Workspace Issues
922 | 
923 | **Package not found:**
924 | 
925 | ```bash
926 | # Verify workspaces configuration
927 | cat package.json | jq '.workspaces'
928 | 
929 | # List all workspaces
930 | npm ls --workspaces --depth=0
931 | 
932 | # Check package location
933 | npm ls --workspace=xmlui
934 | ```
935 | 
936 | **Cross-package imports failing:**
937 | 
938 | ```bash
939 | # Ensure packages are built
940 | npm run build-xmlui
941 | npm run build-extensions
942 | 
943 | # Check package.json exports
944 | cat xmlui/package.json | jq '.exports'
945 | 
946 | # Verify workspace protocol
947 | cat packages/xmlui-website-blocks/package.json | jq '.dependencies'
948 | ```
949 | 
950 | ### Performance Issues
951 | 
952 | **Slow builds:**
953 | 
954 | ```bash
955 | # Use cache
956 | turbo run build:xmlui-all
957 | 
958 | # Limit concurrency if memory constrained
959 | turbo run build:xmlui-all --concurrency=2
960 | 
961 | # Increase Node.js memory
962 | NODE_OPTIONS=--max-old-space-size=4096 npm run build-xmlui
963 | 
964 | # Check disk I/O (use SSD if possible)
965 | ```
966 | 
967 | **Cache misses:**
968 | 
969 | ```bash
970 | # Check what's changing
971 | turbo run build:xmlui-all --verbosity=3
972 | 
973 | # Verify inputs configuration
974 | cat turbo.json | jq '.tasks["build:xmlui-all"]'
975 | 
976 | # Ensure outputs are deterministic
977 | # (no timestamps, no random content)
978 | ```
979 | 
980 | **npm install slow:**
981 | 
982 | ```bash
983 | # Use local registry cache
984 | npm config set registry https://registry.npmjs.org/
985 | 
986 | # Clean cache if corrupted
987 | npm cache clean --force
988 | 
989 | # Use faster DNS
990 | # (Google DNS: 8.8.8.8, Cloudflare: 1.1.1.1)
991 | ```
992 | 
993 | ## See Also
994 | 
995 | - [Building the XMLUI Core Package](./build-xmlui.md) - XMLUI framework build details
996 | - [XMLUI Build System](./build-system.md) - Application and extension builds
997 | - [Standalone Rendering Architecture](./standalone-app.md) - Runtime architecture
998 | - [Container-Based State Management](./containers.md) - State system
999 | 
```

--------------------------------------------------------------------------------
/xmlui/src/components-core/rendering/ComponentAdapter.tsx:
--------------------------------------------------------------------------------

```typescript
  1 | import type { MutableRefObject, ReactElement, ReactNode } from "react";
  2 | import React, { cloneElement, forwardRef, useCallback, useEffect, useMemo, useRef } from "react";
  3 | import { isEmpty, isPlainObject } from "lodash-es";
  4 | import { composeRefs } from "@radix-ui/react-compose-refs";
  5 | 
  6 | import type { ParentRenderContext } from "../../abstractions/ComponentDefs";
  7 | import type {
  8 |   LayoutContext,
  9 |   LookupEventHandlerFn,
 10 |   RegisterComponentApiFn,
 11 |   RenderChildFn,
 12 |   RendererContext,
 13 | } from "../../abstractions/RendererDefs";
 14 | import type { LookupAsyncFn, LookupSyncFn } from "../../abstractions/ActionDefs";
 15 | 
 16 | import { extractParam } from "../utils/extractParam";
 17 | import { useTheme } from "../theming/ThemeContext";
 18 | import { useComponentStyle } from "../theming/StyleContext";
 19 | import { mergeProps } from "../utils/mergeProps";
 20 | import ComponentDecorator from "../ComponentDecorator";
 21 | import { createValueExtractor } from "../rendering/valueExtractor";
 22 | import { EMPTY_OBJECT } from "../constants";
 23 | import { useComponentRegistry } from "../../components/ComponentRegistryContext";
 24 | import { ApiBoundComponent } from "../ApiBoundComponent";
 25 | import { useReferenceTrackedApi, useShallowCompareMemoize } from "../utils/hooks";
 26 | import type { InnerRendererContext } from "../abstractions/ComponentRenderer";
 27 | import { ContainerActionKind } from "./containers";
 28 | import { useInspector } from "../InspectorContext";
 29 | import { SlotItem } from "../../components/SlotItem";
 30 | import { layoutOptionKeys } from "../descriptorHelper";
 31 | import { useMouseEventHandlers } from "../event-handlers";
 32 | import UnknownComponent from "./UnknownComponent";
 33 | import InvalidComponent from "./InvalidComponent";
 34 | import { resolveLayoutProps } from "../theming/layout-resolver";
 35 | 
 36 | // --- The available properties of Component
 37 | type Props = Omit<InnerRendererContext, "layoutContext"> & {
 38 |   layoutContextRef: MutableRefObject<LayoutContext | undefined>;
 39 |   onUnmount: (uid: symbol) => void;
 40 |   children?: ReactNode;
 41 | };
 42 | 
 43 | /**
 44 |  * This component's primary responsibility is to transform a particular component definition
 45 |  * into its React representation using the current rendering context.
 46 |  *
 47 |  * Its properties hold a transformed version of an `InnerRendererContext` (which describes the
 48 |  * current rendering context). The modified version uses a stable reference to the layout context
 49 |  * and provides a cleanup function (`onUnmount`) to call when the component is about to be disposed.
 50 |  */
 51 | const ComponentAdapter = forwardRef(function ComponentAdapter(
 52 |   {
 53 |     node,
 54 |     state,
 55 |     appContext,
 56 |     dispatch,
 57 |     lookupAction,
 58 |     lookupSyncCallback,
 59 |     renderChild,
 60 |     registerComponentApi,
 61 |     layoutContextRef,
 62 |     parentRenderContext,
 63 |     memoedVarsRef,
 64 |     onUnmount,
 65 |     uidInfoRef,
 66 |     children,
 67 |     ...rest
 68 |   }: Props,
 69 |   ref: React.ForwardedRef<any>,
 70 | ) {
 71 |   // --- Make sure the component definition has `props` and `events` properties
 72 |   // --- (even if they are empty)
 73 |   const safeNode = useMemo(() => {
 74 |     return {
 75 |       ...node,
 76 |       props: node.props || (EMPTY_OBJECT as Record<string, any>),
 77 |       events: node.events || (EMPTY_OBJECT as Record<string, any>),
 78 |     };
 79 |   }, [node]);
 80 | 
 81 |   // --- Each component receives a unique identifier
 82 |   const uid = useMemo(() => Symbol(safeNode.uid), [safeNode.uid]);
 83 | 
 84 |   // --- Takes care the component cleanup function is called when the component
 85 |   // --- is about to be disposed
 86 |   useEffect(() => {
 87 |     return () => {
 88 |       onUnmount(uid);
 89 |     };
 90 |   }, [onUnmount, uid]);
 91 | 
 92 |   // --- Obtain a function to register the component API
 93 |   const memoedRegisterComponentApi: RegisterComponentApiFn = useCallback(
 94 |     (api) => {
 95 |       registerComponentApi(uid, api);
 96 |     },
 97 |     [registerComponentApi, uid],
 98 |   );
 99 | 
100 |   // --- Obtain a function to update the component state
101 |   const memoedUpdateState = useCallback(
102 |     (componentState: any) => {
103 |       dispatch({
104 |         type: ContainerActionKind.COMPONENT_STATE_CHANGED,
105 |         payload: {
106 |           uid,
107 |           state: componentState,
108 |         },
109 |       });
110 |     },
111 |     [dispatch, uid],
112 |   );
113 | 
114 |   // --- Get the tracked APIs of the compomnent
115 |   const referenceTrackedApi = useReferenceTrackedApi(state);
116 | 
117 |   // --- Obtain a function to extract the value of a property (from an expression)
118 |   const valueExtractor = useMemo(() => {
119 |     return createValueExtractor(state, appContext, referenceTrackedApi, memoedVarsRef);
120 |   }, [appContext, memoedVarsRef, referenceTrackedApi, state]);
121 | 
122 |   // --- Obtain a function that can execute a script synchronously
123 |   const memoedLookupSyncCallback: LookupSyncFn = useCallback(
124 |     (action) => {
125 |       return lookupSyncCallback(valueExtractor(action), uid);
126 |     },
127 |     [lookupSyncCallback, uid, valueExtractor],
128 |   );
129 | 
130 |   // --- Obtain a function to lookup an action by its name, which is bound
131 |   // --- to this component instance
132 |   const memoedLookupAction: LookupAsyncFn = useCallback(
133 |     (action, actionOptions) => {
134 |       return lookupAction(action, uid, actionOptions);
135 |     },
136 |     [lookupAction, uid],
137 |   );
138 | 
139 |   // --- Obtain the component renderer and descriptor from the component registry
140 |   // --- Memoizes the renderChild function
141 |   const memoedRenderChild: RenderChildFn = useCallback(
142 |     (children, layoutContext, pRenderContext) => {
143 |       return renderChild(
144 |         children,
145 |         layoutContext,
146 |         pRenderContext || parentRenderContext,
147 |         uidInfoRef,
148 |       );
149 |     },
150 |     [renderChild, parentRenderContext, uidInfoRef],
151 |   );
152 | 
153 |   // --- Collect the API-bound properties and events of the component to determine
154 |   // --- if the component should be wrapped in an `ApiBoundComponent`
155 |   const apiBoundProps = useMemo(
156 |     () => getApiBoundItems(safeNode.props, "DataSource", "DataSourceRef"),
157 |     [safeNode.props],
158 |   );
159 |   const apiBoundEvents = useMemo(
160 |     () => getApiBoundItems(safeNode.events, "APICall", "FileDownload", "FileUpload"),
161 |     [safeNode.events],
162 |   );
163 |   const isApiBound = apiBoundProps.length > 0 || apiBoundEvents.length > 0;
164 | 
165 |   // --- Obtain the component renderer and descriptor from the component registry
166 |   const componentRegistry = useComponentRegistry();
167 |   const { renderer, descriptor, isCompoundComponent } =
168 |     componentRegistry.lookupComponentRenderer(safeNode.type) || {};
169 | 
170 |   // --- Obtain a function that can lookup an event handler, which is bound to a
171 |   // --- particular event of this component instance
172 |   const memoedLookupEventHandler: LookupEventHandlerFn = useCallback(
173 |     (eventName, actionOptions) => {
174 |       const action = safeNode.events?.[eventName] || actionOptions?.defaultHandler;
175 |       return lookupAction(action, uid, { eventName, ...actionOptions });
176 |     },
177 |     [lookupAction, safeNode.events, uid],
178 |   );
179 | 
180 |   // --- Set up the mouse event handlers for the component
181 |   const mouseEventHandlers = useMouseEventHandlers(
182 |     memoedLookupEventHandler,
183 |     descriptor?.nonVisual || isApiBound || isCompoundComponent,
184 |   );
185 | 
186 |   // --- Use the current theme to obtain resources and collect theme variables
187 |   const { getResourceUrl } = useTheme();
188 | 
189 |   // --- Obtain a function that can extract a resource URL from a logical URL
190 |   const extractResourceUrl = useCallback(
191 |     (url?: unknown) => {
192 |       const extractedUrl = valueExtractor(url);
193 |       if (typeof extractedUrl !== "string" || extractedUrl.trim() === "") {
194 |         console.warn(
195 |           `Component '${safeNode.type}': ` +
196 |             `the extracted resource URL is not a valid string: value ${extractedUrl}, type ${typeof extractedUrl}`,
197 |         );
198 |         return undefined;
199 |       }
200 |       return getResourceUrl(extractedUrl);
201 |     },
202 |     [getResourceUrl, valueExtractor, safeNode.type],
203 |   );
204 | 
205 |   // --- Collect and compile the layout property values
206 |   const { cssProps } = useMemo(() => {
207 |     const resolvedLayoutProps: Record<string, any> = {};
208 |     layoutOptionKeys.forEach((key) => {
209 |       if (safeNode.props && key in safeNode.props) {
210 |         resolvedLayoutProps[key] = valueExtractor(safeNode.props[key], true);
211 |       }
212 |     });
213 | 
214 |     // --- New layout property resolution
215 |     return resolveLayoutProps(resolvedLayoutProps, {
216 |       ...layoutContextRef?.current,
217 |       mediaSize: appContext.mediaSize,
218 |     });
219 | 
220 |     // --- Old layout property resolution
221 |     // return compileLayout(resolvedLayoutProps, themeVars, {
222 |     //   ...layoutContextRef?.current,
223 |     //   mediaSize: appContext.mediaSize,
224 |     // });
225 |   }, [appContext.mediaSize, layoutContextRef, safeNode.props, valueExtractor]);
226 | 
227 |   // const className = useComponentStyle(cssProps);
228 | 
229 |   // --- As compileLayout generates new cssProps and nonCssProps objects every time, we need to
230 |   // --- memoize them using shallow comparison to avoid unnecessary re-renders.
231 |   const stableLayoutCss = useShallowCompareMemoize(cssProps);
232 | 
233 |   const className = useComponentStyle(stableLayoutCss);
234 | 
235 |   const { inspectId, refreshInspection } = useInspector(safeNode, uid);
236 | 
237 |   // --- Extract context variables (keys starting with "$") from state
238 |   const contextVars = useMemo(() => {
239 |     const vars: Record<string, any> = {};
240 |     for (const key of Object.keys(state)) {
241 |       if (key.startsWith("$")) {
242 |         vars[key] = state[key];
243 |       }
244 |     }
245 |     return vars;
246 |   }, [state]);
247 | 
248 |   // --- Assemble the renderer context we pass down the rendering chain
249 |   const rendererContext: RendererContext<any> = {
250 |     node: safeNode,
251 |     state: state[uid] || EMPTY_OBJECT,
252 |     contextVars,
253 |     updateState: memoedUpdateState,
254 |     appContext,
255 |     extractValue: valueExtractor,
256 |     lookupEventHandler: memoedLookupEventHandler,
257 |     lookupAction: memoedLookupAction,
258 |     lookupSyncCallback: memoedLookupSyncCallback,
259 |     extractResourceUrl,
260 |     renderChild: memoedRenderChild,
261 |     registerComponentApi: memoedRegisterComponentApi,
262 |     className,
263 |     layoutContext: layoutContextRef?.current,
264 |     uid,
265 |   };
266 | 
267 |   // --- No special behavior, let's render the component according to its definition.
268 |   let renderedNode: ReactNode = null;
269 |   let renderingError = null;
270 | 
271 |   try {
272 |     if (safeNode.type === "Slot") {
273 |       // --- Transpose the children from the parent component to the slot in
274 |       // --- the compound component
275 |       renderedNode = slotRenderer(rendererContext, parentRenderContext);
276 |     } else {
277 |       if (!renderer) {
278 |         console.error(
279 |           `Component '${safeNode.type}' is not available. Did you forget to register it?`,
280 |         );
281 |         return <UnknownComponent message={`${safeNode.type}`} />;
282 |       }
283 | 
284 |       // --- Render the component using the renderer function obtained from the component registry
285 |       renderedNode = renderer(rendererContext);
286 |     }
287 | 
288 |     /**
289 |      * Apply any behaviors to the component.
290 |      */
291 |     const behaviors = componentRegistry.getBehaviors();
292 |     if (!isCompoundComponent) {
293 |       for (const behavior of behaviors) {
294 |         if (behavior.canAttach(rendererContext.node, descriptor)) {
295 |           renderedNode = behavior.attach(rendererContext, renderedNode, descriptor);
296 |         }
297 |       }
298 |     }
299 | 
300 |     // --- Components may have a `testId` property for E2E testing purposes. Inject the value of `testId`
301 |     // --- into the DOM object of the rendered React component.
302 |     if (
303 |       // --- The component has its "id" (internally, "uid") or "testId" property defined
304 |       ((appContext?.decorateComponentsWithTestId &&
305 |         (safeNode.uid !== undefined || safeNode.testId !== undefined)) ||
306 |         // --- The component has its "inspectId" property defined
307 |         inspectId !== undefined) &&
308 |       // // --- The app context indicates test mode
309 |       // --- The component is visual
310 |       descriptor?.nonVisual !== true &&
311 |       // --- The component is not opaque
312 |       descriptor?.opaque !== true
313 |     ) {
314 |       // --- Use `ComponentDecorator` to inject the `data-testid` attribute into the component.
315 |       const testId = safeNode.testId || safeNode.uid;
316 |       const resolvedUid = extractParam(state, testId, appContext, true);
317 |       renderedNode = (
318 |         <ComponentDecorator
319 |           attr={{ "data-testid": resolvedUid, "data-inspectId": inspectId }}
320 |           allowOnlyRefdChild={isCompoundComponent || safeNode.type === "ModalDialog"}
321 |           onTargetMounted={safeNode.type === "ModalDialog" ? refreshInspection : undefined}
322 |           ref={ref}
323 |         >
324 |           {cloneElement(
325 |             renderedNode as ReactElement,
326 |             {
327 |               ...mergeProps(
328 |                 { ...(renderedNode as ReactElement).props, ...mouseEventHandlers },
329 |                 rest,
330 |               ),
331 |             } as any,
332 |           )}
333 |         </ComponentDecorator>
334 |       );
335 |     }
336 | 
337 |     // --- API-bound components provide helpful behavior out of the box, such as transforming API-bound
338 |     // --- events and properties. This extra functionality is implemented in `ApiBoundComponent`.
339 |     if (isApiBound) {
340 |       return (
341 |         <ApiBoundComponent
342 |           uid={uid}
343 |           renderChild={memoedRenderChild}
344 |           node={safeNode}
345 |           key={safeNode.uid}
346 |           apiBoundEvents={apiBoundEvents}
347 |           apiBoundProps={apiBoundProps}
348 |           layoutContextRef={layoutContextRef}
349 |           parentRendererContext={parentRenderContext}
350 |         />
351 |       );
352 |     }
353 | 
354 |     // --- The current layout context may suggest to wrap the rendered node.
355 |     if (layoutContextRef.current?.wrapChild) {
356 |       renderedNode = layoutContextRef.current.wrapChild(rendererContext, renderedNode, descriptor);
357 |     }
358 |   } catch (e) {
359 |     // --- Mark the potential rendering error and display it
360 |     renderingError = (e as Error)?.message || "Internal error";
361 |     console.error(e);
362 |   }
363 | 
364 |   // --- The rendering process may result in errors. If so, we render an error message.
365 |   if (renderingError) {
366 |     return (
367 |       <InvalidComponent errors={[renderingError]} node={safeNode}>
368 |         {renderedNode}
369 |       </InvalidComponent>
370 |     );
371 |   }
372 | 
373 |   let nodeToRender: ReactNode = renderedNode;
374 |   // --- If we have a single React node with forwarded reference, or mouse events
375 |   // --- let's merge the "rest" properties with it.
376 |   if ((ref || !isEmpty(mouseEventHandlers)) && renderedNode && React.isValidElement(renderedNode)) {
377 |     // --- For radix UI/accessibility, read more here:
378 |     // --- https://www.radix-ui.com/primitives/docs/guides/composition
379 | 
380 |     const childrenArray = !children ? [] : Array.isArray(children) ? children : [children];
381 | 
382 |     const clonedRef =
383 |       renderedNode.type === React.Fragment
384 |         ? undefined
385 |         : ref
386 |           ? composeRefs(ref, (renderedNode as any).ref)
387 |           : (renderedNode as any).ref;
388 | 
389 |     nodeToRender = cloneElement(
390 |       renderedNode,
391 |       {
392 |         ref: clonedRef,
393 |         ...mergeProps(
394 |           {
395 |             ...renderedNode.props,
396 |             ...(renderedNode.type !== React.Fragment ? mouseEventHandlers : {}),
397 |           },
398 |           rest,
399 |         ),
400 |       } as any,
401 |       ...childrenArray,
402 |     );
403 |   } else {
404 |     // --- If the rendering resulted in multiple React nodes, wrap them in a fragment.
405 |     nodeToRender =
406 |       React.isValidElement(renderedNode) && !!children
407 |         ? cloneElement(renderedNode, null, children)
408 |         : renderedNode;
409 |   }
410 | 
411 |   return nodeToRender;
412 | });
413 | 
414 | /**
415 |  * This function renders the content of a slot. If the slot is named, it looks for a template
416 |  * in the parent component to render. If the template is not found, it renders the default content
417 |  * of the slot.
418 |  */
419 | function slotRenderer(
420 |   { node, extractValue, renderChild, lookupAction, layoutContext }: RendererContext<any>,
421 |   parentRenderContext?: ParentRenderContext,
422 | ) {
423 |   // --- Get the template name from the slot
424 |   const templateName = extractValue.asOptionalString(node.props.name);
425 |   if (templateName && !templateName.endsWith("Template")) {
426 |     return (
427 |       <InvalidComponent
428 |         node={node}
429 |         errors={[
430 |           `Slot name '${templateName}' is not valid. ` +
431 |             "A named slot should use a name ending with 'Template'.",
432 |         ]}
433 |       />
434 |     );
435 |   }
436 | 
437 |   let slotProps: any = null;
438 |   if (!isEmpty(node.props)) {
439 |     slotProps = {};
440 |     Object.keys(node.props).forEach((key) => {
441 |       if (key !== "name") {
442 |         let extractedValue = extractValue(node.props[key], true);
443 |         if (extractedValue?._ARROW_EXPR_) {
444 |           extractedValue = lookupAction(extractedValue);
445 |         }
446 |         slotProps[key] = extractedValue;
447 |       }
448 |     });
449 |   }
450 | 
451 |   if (parentRenderContext) {
452 |     // --- We may use a named slot to get the content from the parent
453 |     if (templateName === undefined) {
454 |       // --- The slot is not named
455 |       if (!slotProps) {
456 |         // --- simply render the children from the parent
457 |         // --- The parent does not provide a template for the slot.
458 |         if (parentRenderContext.children) {
459 |           return parentRenderContext.renderChild(parentRenderContext.children, layoutContext);
460 |         }
461 |       } else {
462 |         // --- The slot has properties; let's render the children with the slot properties
463 |         return (
464 |           <SlotItem
465 |             node={parentRenderContext.children}
466 |             renderChild={parentRenderContext.renderChild}
467 |             slotProps={slotProps}
468 |             layoutContext={layoutContext}
469 |           />
470 |         );
471 |       }
472 |     } else {
473 |       // --- We have a named slot with optional other properties; let's collect them
474 |       if (parentRenderContext.props[templateName]) {
475 |         // --- The parent provides a template to put into the slot. Let's use
476 |         // --- the parent's context to render the slot content.
477 |         return (
478 |           <SlotItem
479 |             node={parentRenderContext.props[templateName]}
480 |             renderChild={parentRenderContext.renderChild}
481 |             slotProps={slotProps}
482 |             layoutContext={layoutContext}
483 |           />
484 |         );
485 |       }
486 |     }
487 |   }
488 | 
489 |   // --- No parent context, render the default slot content
490 |   if (node.children && node.children.length > 0) {
491 |     // --- The parent does not provide a template for the slot. Let's render
492 |     // --- the slot's default children.
493 |     return (
494 |       <SlotItem
495 |         node={node.children}
496 |         renderChild={renderChild}
497 |         slotProps={slotProps ?? EMPTY_OBJECT}
498 |         layoutContext={layoutContext}
499 |       />
500 |     );
501 |   }
502 | 
503 |   // --- We do not render the named slots with names not ending with "Template"
504 |   return undefined;
505 | }
506 | 
507 | /**
508 |  * This function gets the API-bound component properties. A property is API-bound if its value is a
509 |  * component definition with one of the `type` values passed to this function.
510 |  * @param items Hash object of component properties
511 |  * @param type Types to consider as API-bound properties
512 |  * @returns List of API-bound property names
513 |  */
514 | function getApiBoundItems(items: Record<string, any> | undefined, ...type: string[]): string[] {
515 |   const ret: string[] = [];
516 |   if (!items) {
517 |     return ret;
518 |   }
519 |   const entries = Object.entries(items);
520 |   for (let i = 0; i < entries.length; i++) {
521 |     const [key, value] = entries[i];
522 |     if (isPlainObject(value) && type.includes(value.type)) {
523 |       ret.push(key);
524 |     }
525 |   }
526 |   return ret;
527 | }
528 | 
529 | export default ComponentAdapter;
530 | 
```

--------------------------------------------------------------------------------
/xmlui/tests/parsers/scripting/process-statement-destruct.test.ts:
--------------------------------------------------------------------------------

```typescript
  1 | import { describe, expect, it } from "vitest";
  2 | 
  3 | import { processStatementQueueAsync } from "../../../src/components-core/script-runner/process-statement-async";
  4 | import { createEvalContext, parseStatements } from "./test-helpers";
  5 | 
  6 | describe("Process statements - destructure", () => {
  7 |   it("let array destructure #1", async () => {
  8 |     // --- Arrange
  9 |     const source = "let [a, b] = [3, 6]; x = a; y = b;";
 10 |     const evalContext = createEvalContext({
 11 |       localContext: {
 12 |         x: 0,
 13 |         y: 0,
 14 |       },
 15 |     });
 16 |     const statements = parseStatements(source);
 17 | 
 18 |     // --- Act
 19 |     await processStatementQueueAsync(statements, evalContext);
 20 | 
 21 |     // --- Assert
 22 |     expect(evalContext.localContext.x).equal(3);
 23 |     expect(evalContext.localContext.y).equal(6);
 24 |   });
 25 | 
 26 |   it("let array destructure #2", async () => {
 27 |     // --- Arrange
 28 |     const source = "let [,a, b] = [3, 6, 8]; x = a; y = b;";
 29 |     const evalContext = createEvalContext({
 30 |       localContext: {
 31 |         x: 0,
 32 |         y: 0,
 33 |       },
 34 |     });
 35 |     const statements = parseStatements(source);
 36 | 
 37 |     // --- Act
 38 |     await processStatementQueueAsync(statements, evalContext);
 39 | 
 40 |     // --- Assert
 41 |     expect(evalContext.localContext.x).equal(6);
 42 |     expect(evalContext.localContext.y).equal(8);
 43 |   });
 44 | 
 45 |   it("let array destructure #3", async () => {
 46 |     // --- Arrange
 47 |     const source = "let [a, [b, c]] = [3, [6, 8]]; x = a; y = b; z = c;";
 48 |     const evalContext = createEvalContext({
 49 |       localContext: {
 50 |         x: 0,
 51 |         y: 0,
 52 |         z: 0,
 53 |       },
 54 |     });
 55 |     const statements = parseStatements(source);
 56 | 
 57 |     // --- Act
 58 |     await processStatementQueueAsync(statements, evalContext);
 59 | 
 60 |     // --- Assert
 61 |     expect(evalContext.localContext.x).equal(3);
 62 |     expect(evalContext.localContext.y).equal(6);
 63 |     expect(evalContext.localContext.z).equal(8);
 64 |   });
 65 | 
 66 |   it("let array destructure #4", async () => {
 67 |     // --- Arrange
 68 |     const source = "let [a, , [, b, c]] = [3, -11, [-1, 6, 8]]; x = a; y = b; z = c;";
 69 |     const evalContext = createEvalContext({
 70 |       localContext: {
 71 |         x: 0,
 72 |         y: 0,
 73 |         z: 0,
 74 |       },
 75 |     });
 76 |     const statements = parseStatements(source);
 77 | 
 78 |     // --- Act
 79 |     await processStatementQueueAsync(statements, evalContext);
 80 | 
 81 |     // --- Assert
 82 |     expect(evalContext.localContext.x).equal(3);
 83 |     expect(evalContext.localContext.y).equal(6);
 84 |     expect(evalContext.localContext.z).equal(8);
 85 |   });
 86 | 
 87 |   it("let object destructure #1", async () => {
 88 |     // --- Arrange
 89 |     const source = "let {a, b} = {a: 3, b: 6}; x = a; y = b;";
 90 |     const evalContext = createEvalContext({
 91 |       localContext: {
 92 |         x: 0,
 93 |         y: 0,
 94 |       },
 95 |     });
 96 |     const statements = parseStatements(source);
 97 | 
 98 |     // --- Act
 99 |     await processStatementQueueAsync(statements, evalContext);
100 | 
101 |     // --- Assert
102 |     expect(evalContext.localContext.x).equal(3);
103 |     expect(evalContext.localContext.y).equal(6);
104 |   });
105 | 
106 |   it("let object destructure #2", async () => {
107 |     // --- Arrange
108 |     const source = "let {a, qqq:b } = {a: 3, qqq: 6}; x = a; y = b;";
109 |     const evalContext = createEvalContext({
110 |       localContext: {
111 |         x: 0,
112 |         y: 0,
113 |       },
114 |     });
115 |     const statements = parseStatements(source);
116 | 
117 |     // --- Act
118 |     await processStatementQueueAsync(statements, evalContext);
119 | 
120 |     // --- Assert
121 |     expect(evalContext.localContext.x).equal(3);
122 |     expect(evalContext.localContext.y).equal(6);
123 |   });
124 | 
125 |   it("let object destructure #3", async () => {
126 |     // --- Arrange
127 |     const source = "let {a, qqq: {b, c}} = {a: 3, qqq: {b: 6, c: 8}}; x = a; y = b; z = c";
128 |     const evalContext = createEvalContext({
129 |       localContext: {
130 |         x: 0,
131 |         y: 0,
132 |         z: 0,
133 |       },
134 |     });
135 |     const statements = parseStatements(source);
136 | 
137 |     // --- Act
138 |     await processStatementQueueAsync(statements, evalContext);
139 | 
140 |     // --- Assert
141 |     expect(evalContext.localContext.x).equal(3);
142 |     expect(evalContext.localContext.y).equal(6);
143 |     expect(evalContext.localContext.z).equal(8);
144 |   });
145 | 
146 |   it("let object and array destructure #1", async () => {
147 |     // --- Arrange
148 |     const source = "let {a, qqq: [b, c]} = {a: 3, qqq: [6, 8] }; x = a; y = b; z = c";
149 |     const evalContext = createEvalContext({
150 |       localContext: {
151 |         x: 0,
152 |         y: 0,
153 |         z: 0,
154 |       },
155 |     });
156 |     const statements = parseStatements(source);
157 | 
158 |     // --- Act
159 |     await processStatementQueueAsync(statements, evalContext);
160 | 
161 |     // --- Assert
162 |     expect(evalContext.localContext.x).equal(3);
163 |     expect(evalContext.localContext.y).equal(6);
164 |     expect(evalContext.localContext.z).equal(8);
165 |   });
166 | 
167 |   it("let object and array destructure #2", async () => {
168 |     // --- Arrange
169 |     const source = "let {a, qqq: [b,,c]} = {a: 3, qqq: [6, -1, 8] }; x = a; y = b; z = c";
170 |     const evalContext = createEvalContext({
171 |       localContext: {
172 |         x: 0,
173 |         y: 0,
174 |         z: 0,
175 |       },
176 |     });
177 |     const statements = parseStatements(source);
178 | 
179 |     // --- Act
180 |     await processStatementQueueAsync(statements, evalContext);
181 | 
182 |     // --- Assert
183 |     expect(evalContext.localContext.x).equal(3);
184 |     expect(evalContext.localContext.y).equal(6);
185 |     expect(evalContext.localContext.z).equal(8);
186 |   });
187 | 
188 |   it("let object and array destructure #3", async () => {
189 |     // --- Arrange
190 |     const source = "let [a, {b, c}] = [3, {b: 6, c: 8}]; x = a; y = b; z = c";
191 |     const evalContext = createEvalContext({
192 |       localContext: {
193 |         x: 0,
194 |         y: 0,
195 |         z: 0,
196 |       },
197 |     });
198 |     const statements = parseStatements(source);
199 | 
200 |     // --- Act
201 |     await processStatementQueueAsync(statements, evalContext);
202 | 
203 |     // --- Assert
204 |     expect(evalContext.localContext.x).equal(3);
205 |     expect(evalContext.localContext.y).equal(6);
206 |     expect(evalContext.localContext.z).equal(8);
207 |   });
208 | 
209 |   it("let object and array destructure #3", async () => {
210 |     // --- Arrange
211 |     const source = "let [a, , {b, c}] = [3, -1, {b: 6, c: 8}]; x = a; y = b; z = c";
212 |     const evalContext = createEvalContext({
213 |       localContext: {
214 |         x: 0,
215 |         y: 0,
216 |         z: 0,
217 |       },
218 |     });
219 |     const statements = parseStatements(source);
220 | 
221 |     // --- Act
222 |     await processStatementQueueAsync(statements, evalContext);
223 | 
224 |     // --- Assert
225 |     expect(evalContext.localContext.x).equal(3);
226 |     expect(evalContext.localContext.y).equal(6);
227 |     expect(evalContext.localContext.z).equal(8);
228 |   });
229 | 
230 |   it("const array destructure #1", async () => {
231 |     // --- Arrange
232 |     const source = "const [a, b] = [3, 6]; x = a; y = b;";
233 |     const evalContext = createEvalContext({
234 |       localContext: {
235 |         x: 0,
236 |         y: 0,
237 |       },
238 |     });
239 |     const statements = parseStatements(source);
240 | 
241 |     // --- Act
242 |     await processStatementQueueAsync(statements, evalContext);
243 | 
244 |     // --- Assert
245 |     expect(evalContext.localContext.x).equal(3);
246 |     expect(evalContext.localContext.y).equal(6);
247 |   });
248 | 
249 |   it("const array destructure #2", async () => {
250 |     // --- Arrange
251 |     const source = "const [,a, b] = [3, 6, 8]; x = a; y = b;";
252 |     const evalContext = createEvalContext({
253 |       localContext: {
254 |         x: 0,
255 |         y: 0,
256 |       },
257 |     });
258 |     const statements = parseStatements(source);
259 | 
260 |     // --- Act
261 |     await processStatementQueueAsync(statements, evalContext);
262 | 
263 |     // --- Assert
264 |     expect(evalContext.localContext.x).equal(6);
265 |     expect(evalContext.localContext.y).equal(8);
266 |   });
267 | 
268 |   it("const array destructure #3", async () => {
269 |     // --- Arrange
270 |     const source = "const [a, [b, c]] = [3, [6, 8]]; x = a; y = b; z = c;";
271 |     const evalContext = createEvalContext({
272 |       localContext: {
273 |         x: 0,
274 |         y: 0,
275 |         z: 0,
276 |       },
277 |     });
278 |     const statements = parseStatements(source);
279 | 
280 |     // --- Act
281 |     await processStatementQueueAsync(statements, evalContext);
282 | 
283 |     // --- Assert
284 |     expect(evalContext.localContext.x).equal(3);
285 |     expect(evalContext.localContext.y).equal(6);
286 |     expect(evalContext.localContext.z).equal(8);
287 |   });
288 | 
289 |   it("const array destructure #4", async () => {
290 |     // --- Arrange
291 |     const source = "const [a, , [, b, c]] = [3, -11, [-1, 6, 8]]; x = a; y = b; z = c;";
292 |     const evalContext = createEvalContext({
293 |       localContext: {
294 |         x: 0,
295 |         y: 0,
296 |         z: 0,
297 |       },
298 |     });
299 |     const statements = parseStatements(source);
300 | 
301 |     // --- Act
302 |     await processStatementQueueAsync(statements, evalContext);
303 | 
304 |     // --- Assert
305 |     expect(evalContext.localContext.x).equal(3);
306 |     expect(evalContext.localContext.y).equal(6);
307 |     expect(evalContext.localContext.z).equal(8);
308 |   });
309 | 
310 |   it("const object destructure #1", async () => {
311 |     // --- Arrange
312 |     const source = "const {a, b} = {a: 3, b: 6}; x = a; y = b;";
313 |     const evalContext = createEvalContext({
314 |       localContext: {
315 |         x: 0,
316 |         y: 0,
317 |       },
318 |     });
319 |     const statements = parseStatements(source);
320 | 
321 |     // --- Act
322 |     await processStatementQueueAsync(statements, evalContext);
323 | 
324 |     // --- Assert
325 |     expect(evalContext.localContext.x).equal(3);
326 |     expect(evalContext.localContext.y).equal(6);
327 |   });
328 | 
329 |   it("const object destructure #2", async () => {
330 |     // --- Arrange
331 |     const source = "const {a, qqq:b } = {a: 3, qqq: 6}; x = a; y = b;";
332 |     const evalContext = createEvalContext({
333 |       localContext: {
334 |         x: 0,
335 |         y: 0,
336 |       },
337 |     });
338 |     const statements = parseStatements(source);
339 | 
340 |     // --- Act
341 |     await processStatementQueueAsync(statements, evalContext);
342 | 
343 |     // --- Assert
344 |     expect(evalContext.localContext.x).equal(3);
345 |     expect(evalContext.localContext.y).equal(6);
346 |   });
347 | 
348 |   it("const object destructure #3", async () => {
349 |     // --- Arrange
350 |     const source = "const {a, qqq: {b, c}} = {a: 3, qqq: {b: 6, c: 8}}; x = a; y = b; z = c";
351 |     const evalContext = createEvalContext({
352 |       localContext: {
353 |         x: 0,
354 |         y: 0,
355 |         z: 0,
356 |       },
357 |     });
358 |     const statements = parseStatements(source);
359 | 
360 |     // --- Act
361 |     await processStatementQueueAsync(statements, evalContext);
362 | 
363 |     // --- Assert
364 |     expect(evalContext.localContext.x).equal(3);
365 |     expect(evalContext.localContext.y).equal(6);
366 |     expect(evalContext.localContext.z).equal(8);
367 |   });
368 | 
369 |   it("const object and array destructure #1", async () => {
370 |     // --- Arrange
371 |     const source = "const {a, qqq: [b, c]} = {a: 3, qqq: [6, 8] }; x = a; y = b; z = c";
372 |     const evalContext = createEvalContext({
373 |       localContext: {
374 |         x: 0,
375 |         y: 0,
376 |         z: 0,
377 |       },
378 |     });
379 |     const statements = parseStatements(source);
380 | 
381 |     // --- Act
382 |     await processStatementQueueAsync(statements, evalContext);
383 | 
384 |     // --- Assert
385 |     expect(evalContext.localContext.x).equal(3);
386 |     expect(evalContext.localContext.y).equal(6);
387 |     expect(evalContext.localContext.z).equal(8);
388 |   });
389 | 
390 |   it("const object and array destructure #2", async () => {
391 |     // --- Arrange
392 |     const source = "const {a, qqq: [b,,c]} = {a: 3, qqq: [6, -1, 8] }; x = a; y = b; z = c";
393 |     const evalContext = createEvalContext({
394 |       localContext: {
395 |         x: 0,
396 |         y: 0,
397 |         z: 0,
398 |       },
399 |     });
400 |     const statements = parseStatements(source);
401 | 
402 |     // --- Act
403 |     await processStatementQueueAsync(statements, evalContext);
404 | 
405 |     // --- Assert
406 |     expect(evalContext.localContext.x).equal(3);
407 |     expect(evalContext.localContext.y).equal(6);
408 |     expect(evalContext.localContext.z).equal(8);
409 |   });
410 | 
411 |   it("const object and array destructure #3", async () => {
412 |     // --- Arrange
413 |     const source = "const [a, {b, c}] = [3, {b: 6, c: 8}]; x = a; y = b; z = c";
414 |     const evalContext = createEvalContext({
415 |       localContext: {
416 |         x: 0,
417 |         y: 0,
418 |         z: 0,
419 |       },
420 |     });
421 |     const statements = parseStatements(source);
422 | 
423 |     // --- Act
424 |     await processStatementQueueAsync(statements, evalContext);
425 | 
426 |     // --- Assert
427 |     expect(evalContext.localContext.x).equal(3);
428 |     expect(evalContext.localContext.y).equal(6);
429 |     expect(evalContext.localContext.z).equal(8);
430 |   });
431 | 
432 |   it("const object and array destructure #3", async () => {
433 |     // --- Arrange
434 |     const source = "const [a, , {b, c}] = [3, -1, {b: 6, c: 8}]; x = a; y = b; z = c";
435 |     const evalContext = createEvalContext({
436 |       localContext: {
437 |         x: 0,
438 |         y: 0,
439 |         z: 0,
440 |       },
441 |     });
442 |     const statements = parseStatements(source);
443 | 
444 |     // --- Act
445 |     await processStatementQueueAsync(statements, evalContext);
446 | 
447 |     // --- Assert
448 |     expect(evalContext.localContext.x).equal(3);
449 |     expect(evalContext.localContext.y).equal(6);
450 |     expect(evalContext.localContext.z).equal(8);
451 |   });
452 | 
453 |   it("arrow destructure #1", async () => {
454 |     // --- Arrange
455 |     const source = "const fn = ([a, b]) => { x = a; y = b}; fn([3, 6, 8])";
456 |     const evalContext = createEvalContext({
457 |       localContext: {
458 |         x: 0,
459 |         y: 0,
460 |       },
461 |     });
462 |     const statements = parseStatements(source);
463 | 
464 |     // --- Act
465 |     await processStatementQueueAsync(statements, evalContext);
466 | 
467 |     // --- Assert
468 |     expect(evalContext.localContext.x).equal(3);
469 |     expect(evalContext.localContext.y).equal(6);
470 |   });
471 | 
472 |   it("arrow destructure #2", async () => {
473 |     // --- Arrange
474 |     const source = "const fn = ([a, , b]) => { x = a; y = b}; fn([3, 6, 8])";
475 |     const evalContext = createEvalContext({
476 |       localContext: {
477 |         x: 0,
478 |         y: 0,
479 |       },
480 |     });
481 |     const statements = parseStatements(source);
482 | 
483 |     // --- Act
484 |     await processStatementQueueAsync(statements, evalContext);
485 | 
486 |     // --- Assert
487 |     expect(evalContext.localContext.x).equal(3);
488 |     expect(evalContext.localContext.y).equal(8);
489 |   });
490 | 
491 |   it("arrow destructure #3", async () => {
492 |     // --- Arrange
493 |     const source = "const fn = ([a, b]) => { x = a; y = b}; fn([3])";
494 |     const evalContext = createEvalContext({
495 |       localContext: {
496 |         x: 0,
497 |         y: 0,
498 |       },
499 |     });
500 |     const statements = parseStatements(source);
501 | 
502 |     // --- Act
503 |     await processStatementQueueAsync(statements, evalContext);
504 | 
505 |     // --- Assert
506 |     expect(evalContext.localContext.x).equal(3);
507 |     expect(evalContext.localContext.y).equal(undefined);
508 |   });
509 | 
510 |   it("arrow destructure #4", async () => {
511 |     // --- Arrange
512 |     const source = "const fn = ([a, , b]) => { x = a; y = b}; fn([3, 6])";
513 |     const evalContext = createEvalContext({
514 |       localContext: {
515 |         x: 0,
516 |         y: 0,
517 |       },
518 |     });
519 |     const statements = parseStatements(source);
520 | 
521 |     // --- Act
522 |     await processStatementQueueAsync(statements, evalContext);
523 | 
524 |     // --- Assert
525 |     expect(evalContext.localContext.x).equal(3);
526 |     expect(evalContext.localContext.y).equal(undefined);
527 |   });
528 | 
529 |   it("arrow destructure #5", async () => {
530 |     // --- Arrange
531 |     const source = "const fn = ([a, [b, c]]) => { x = a; y = b; z = c }; fn([3, [6, 8]])";
532 |     const evalContext = createEvalContext({
533 |       localContext: {
534 |         x: 0,
535 |         y: 0,
536 |         z: 0,
537 |       },
538 |     });
539 |     const statements = parseStatements(source);
540 | 
541 |     // --- Act
542 |     await processStatementQueueAsync(statements, evalContext);
543 | 
544 |     // --- Assert
545 |     expect(evalContext.localContext.x).equal(3);
546 |     expect(evalContext.localContext.y).equal(6);
547 |     expect(evalContext.localContext.z).equal(8);
548 |   });
549 | 
550 |   it("arrow destructure #6", async () => {
551 |     // --- Arrange
552 |     const source = "const fn = ({a, b}) => { x = a; y = b}; fn({a: 3, b: 6, v: 8})";
553 |     const evalContext = createEvalContext({
554 |       localContext: {
555 |         x: 0,
556 |         y: 0,
557 |       },
558 |     });
559 |     const statements = parseStatements(source);
560 | 
561 |     // --- Act
562 |     await processStatementQueueAsync(statements, evalContext);
563 | 
564 |     // --- Assert
565 |     expect(evalContext.localContext.x).equal(3);
566 |     expect(evalContext.localContext.y).equal(6);
567 |   });
568 | 
569 |   it("arrow destructure #7", async () => {
570 |     // --- Arrange
571 |     const source = "const fn = ({a, b}) => { x = a; y = b}; fn({a: 3, v: 8})";
572 |     const evalContext = createEvalContext({
573 |       localContext: {
574 |         x: 0,
575 |         y: 0,
576 |       },
577 |     });
578 |     const statements = parseStatements(source);
579 | 
580 |     // --- Act
581 |     await processStatementQueueAsync(statements, evalContext);
582 | 
583 |     // --- Assert
584 |     expect(evalContext.localContext.x).equal(3);
585 |     expect(evalContext.localContext.y).equal(undefined);
586 |   });
587 | 
588 |   it("arrow destructure #8", async () => {
589 |     // --- Arrange
590 |     const source = "const fn = ({a, q:b}) => { x = a; y = b}; fn({a: 3, q: 6, v: 8})";
591 |     const evalContext = createEvalContext({
592 |       localContext: {
593 |         x: 0,
594 |         y: 0,
595 |       },
596 |     });
597 |     const statements = parseStatements(source);
598 | 
599 |     // --- Act
600 |     await processStatementQueueAsync(statements, evalContext);
601 | 
602 |     // --- Assert
603 |     expect(evalContext.localContext.x).equal(3);
604 |     expect(evalContext.localContext.y).equal(6);
605 |   });
606 | 
607 |   it("arrow destructure #9", async () => {
608 |     // --- Arrange
609 |     const source =
610 |       "const fn = ({a, q: {b, c}}) => { x = a; y = b; z = c}; fn({a: 3, q: {b: 6, c: 8}})";
611 |     const evalContext = createEvalContext({
612 |       localContext: {
613 |         x: 0,
614 |         y: 0,
615 |         z: 0,
616 |       },
617 |     });
618 |     const statements = parseStatements(source);
619 | 
620 |     // --- Act
621 |     await processStatementQueueAsync(statements, evalContext);
622 | 
623 |     // --- Assert
624 |     expect(evalContext.localContext.x).equal(3);
625 |     expect(evalContext.localContext.y).equal(6);
626 |     expect(evalContext.localContext.z).equal(8);
627 |   });
628 | 
629 |   it("arrow destructure #10", async () => {
630 |     // --- Arrange
631 |     const source = "const fn = ({a, q:[b, c]}) => { x = a; y = b; z = c}; fn({a: 3, q: [6, 8]})";
632 |     const evalContext = createEvalContext({
633 |       localContext: {
634 |         x: 0,
635 |         y: 0,
636 |         z: 0,
637 |       },
638 |     });
639 |     const statements = parseStatements(source);
640 | 
641 |     // --- Act
642 |     await processStatementQueueAsync(statements, evalContext);
643 | 
644 |     // --- Assert
645 |     expect(evalContext.localContext.x).equal(3);
646 |     expect(evalContext.localContext.y).equal(6);
647 |     expect(evalContext.localContext.z).equal(8);
648 |   });
649 | 
650 |   it("arrow destructure #11", async () => {
651 |     // --- Arrange
652 |     const source =
653 |       "const fn = ({a, q:[b, , c]}) => { x = a; y = b; z = c}; fn({a: 3, q: [6, -1, 8]})";
654 |     const evalContext = createEvalContext({
655 |       localContext: {
656 |         x: 0,
657 |         y: 0,
658 |         z: 0,
659 |       },
660 |     });
661 |     const statements = parseStatements(source);
662 | 
663 |     // --- Act
664 |     await processStatementQueueAsync(statements, evalContext);
665 | 
666 |     // --- Assert
667 |     expect(evalContext.localContext.x).equal(3);
668 |     expect(evalContext.localContext.y).equal(6);
669 |     expect(evalContext.localContext.z).equal(8);
670 |   });
671 | 
672 |   it("arrow destructure #12", async () => {
673 |     // --- Arrange
674 |     const source = "const fn = ([a, {b, c}]) => { x = a; y = b; z = c}; fn([3, {b: 6, c: 8}])";
675 |     const evalContext = createEvalContext({
676 |       localContext: {
677 |         x: 0,
678 |         y: 0,
679 |         z: 0,
680 |       },
681 |     });
682 |     const statements = parseStatements(source);
683 | 
684 |     // --- Act
685 |     await processStatementQueueAsync(statements, evalContext);
686 | 
687 |     // --- Assert
688 |     expect(evalContext.localContext.x).equal(3);
689 |     expect(evalContext.localContext.y).equal(6);
690 |     expect(evalContext.localContext.z).equal(8);
691 |   });
692 | });
693 | 
```
Page 83/186FirstPrevNextLast