This is page 127 of 139. Use http://codebase.md/xmlui-org/xmlui/tools/vscode/resources/xmlui-markup-syntax-highlighting.png?lines=false&page={x} to view the full context. # Directory Structure ``` ├── .changeset │ ├── config.json │ └── stale-days-care.md ├── .eslintrc.cjs ├── .github │ ├── build-checklist.png │ ├── ISSUE_TEMPLATE │ │ ├── bug_report.md │ │ └── feature_request.md │ └── workflows │ ├── deploy-blog-optimized.yml │ ├── deploy-docs-optimized.yml │ ├── deploy-docs.yml │ ├── prepare-versions.yml │ ├── release-packages.yml │ ├── run-all-tests.yml │ └── run-smoke-tests.yml ├── .gitignore ├── .prettierrc.js ├── .vscode │ ├── launch.json │ └── settings.json ├── blog │ ├── .gitignore │ ├── .gitkeep │ ├── CHANGELOG.md │ ├── extensions.ts │ ├── index.html │ ├── index.ts │ ├── package.json │ ├── public │ │ ├── blog │ │ │ ├── images │ │ │ │ ├── blog-page-component.png │ │ │ │ ├── blog-scrabble.png │ │ │ │ ├── integrated-blog-search.png │ │ │ │ └── lorem-ipsum.png │ │ │ ├── lorem-ipsum.md │ │ │ ├── newest-post.md │ │ │ ├── older-post.md │ │ │ └── welcome-to-the-xmlui-blog.md │ │ ├── mockServiceWorker.js │ │ ├── resources │ │ │ ├── favicon.ico │ │ │ ├── files │ │ │ │ └── for-download │ │ │ │ └── xmlui │ │ │ │ └── xmlui-standalone.umd.js │ │ │ ├── github.svg │ │ │ ├── llms.txt │ │ │ ├── logo-dark.svg │ │ │ ├── logo.svg │ │ │ ├── pg-popout.svg │ │ │ └── xmlui-logo.svg │ │ ├── serve.json │ │ └── web.config │ ├── scripts │ │ ├── download-latest-xmlui.js │ │ ├── generate-rss.js │ │ ├── get-releases.js │ │ └── utils.js │ ├── src │ │ ├── components │ │ │ ├── BlogOverview.xmlui │ │ │ ├── BlogPage.xmlui │ │ │ └── PageNotFound.xmlui │ │ ├── config.ts │ │ ├── Main.xmlui │ │ └── themes │ │ ├── docs-theme.ts │ │ ├── earthtone.ts │ │ ├── xmlui-gray-on-default.ts │ │ ├── xmlui-green-on-default.ts │ │ └── xmlui-orange-on-default.ts │ └── tsconfig.json ├── CONTRIBUTING.md ├── docs │ ├── .gitignore │ ├── CHANGELOG.md │ ├── ComponentRefLinks.txt │ ├── content │ │ ├── _meta.json │ │ ├── components │ │ │ ├── _meta.json │ │ │ ├── _overview.md │ │ │ ├── APICall.md │ │ │ ├── App.md │ │ │ ├── AppHeader.md │ │ │ ├── AppState.md │ │ │ ├── AutoComplete.md │ │ │ ├── Avatar.md │ │ │ ├── Backdrop.md │ │ │ ├── Badge.md │ │ │ ├── BarChart.md │ │ │ ├── Bookmark.md │ │ │ ├── Breakout.md │ │ │ ├── Button.md │ │ │ ├── Card.md │ │ │ ├── Carousel.md │ │ │ ├── ChangeListener.md │ │ │ ├── Checkbox.md │ │ │ ├── CHStack.md │ │ │ ├── ColorPicker.md │ │ │ ├── Column.md │ │ │ ├── ContentSeparator.md │ │ │ ├── CVStack.md │ │ │ ├── DataSource.md │ │ │ ├── DateInput.md │ │ │ ├── DatePicker.md │ │ │ ├── DonutChart.md │ │ │ ├── DropdownMenu.md │ │ │ ├── EmojiSelector.md │ │ │ ├── ExpandableItem.md │ │ │ ├── FileInput.md │ │ │ ├── FileUploadDropZone.md │ │ │ ├── FlowLayout.md │ │ │ ├── Footer.md │ │ │ ├── Form.md │ │ │ ├── FormItem.md │ │ │ ├── FormSection.md │ │ │ ├── Fragment.md │ │ │ ├── H1.md │ │ │ ├── H2.md │ │ │ ├── H3.md │ │ │ ├── H4.md │ │ │ ├── H5.md │ │ │ ├── H6.md │ │ │ ├── Heading.md │ │ │ ├── HSplitter.md │ │ │ ├── HStack.md │ │ │ ├── Icon.md │ │ │ ├── IFrame.md │ │ │ ├── Image.md │ │ │ ├── Items.md │ │ │ ├── LabelList.md │ │ │ ├── Legend.md │ │ │ ├── LineChart.md │ │ │ ├── Link.md │ │ │ ├── List.md │ │ │ ├── Logo.md │ │ │ ├── Markdown.md │ │ │ ├── MenuItem.md │ │ │ ├── MenuSeparator.md │ │ │ ├── ModalDialog.md │ │ │ ├── NavGroup.md │ │ │ ├── NavLink.md │ │ │ ├── NavPanel.md │ │ │ ├── NoResult.md │ │ │ ├── NumberBox.md │ │ │ ├── Option.md │ │ │ ├── Page.md │ │ │ ├── PageMetaTitle.md │ │ │ ├── Pages.md │ │ │ ├── Pagination.md │ │ │ ├── PasswordInput.md │ │ │ ├── PieChart.md │ │ │ ├── ProgressBar.md │ │ │ ├── Queue.md │ │ │ ├── RadioGroup.md │ │ │ ├── RealTimeAdapter.md │ │ │ ├── Redirect.md │ │ │ ├── Select.md │ │ │ ├── Slider.md │ │ │ ├── Slot.md │ │ │ ├── SpaceFiller.md │ │ │ ├── Spinner.md │ │ │ ├── Splitter.md │ │ │ ├── Stack.md │ │ │ ├── StickyBox.md │ │ │ ├── SubMenuItem.md │ │ │ ├── Switch.md │ │ │ ├── TabItem.md │ │ │ ├── Table.md │ │ │ ├── TableOfContents.md │ │ │ ├── Tabs.md │ │ │ ├── Text.md │ │ │ ├── TextArea.md │ │ │ ├── TextBox.md │ │ │ ├── Theme.md │ │ │ ├── TimeInput.md │ │ │ ├── Timer.md │ │ │ ├── ToneChangerButton.md │ │ │ ├── ToneSwitch.md │ │ │ ├── Tooltip.md │ │ │ ├── Tree.md │ │ │ ├── VSplitter.md │ │ │ ├── VStack.md │ │ │ ├── xmlui-animations │ │ │ │ ├── _meta.json │ │ │ │ ├── _overview.md │ │ │ │ ├── Animation.md │ │ │ │ ├── FadeAnimation.md │ │ │ │ ├── FadeInAnimation.md │ │ │ │ ├── FadeOutAnimation.md │ │ │ │ ├── ScaleAnimation.md │ │ │ │ └── SlideInAnimation.md │ │ │ ├── xmlui-pdf │ │ │ │ ├── _meta.json │ │ │ │ ├── _overview.md │ │ │ │ └── Pdf.md │ │ │ ├── xmlui-spreadsheet │ │ │ │ ├── _meta.json │ │ │ │ ├── _overview.md │ │ │ │ └── Spreadsheet.md │ │ │ └── xmlui-website-blocks │ │ │ ├── _meta.json │ │ │ ├── _overview.md │ │ │ ├── Carousel.md │ │ │ ├── HelloMd.md │ │ │ ├── HeroSection.md │ │ │ └── ScrollToTop.md │ │ └── extensions │ │ ├── _meta.json │ │ ├── xmlui-animations │ │ │ ├── _meta.json │ │ │ ├── _overview.md │ │ │ ├── Animation.md │ │ │ ├── FadeAnimation.md │ │ │ ├── FadeInAnimation.md │ │ │ ├── FadeOutAnimation.md │ │ │ ├── ScaleAnimation.md │ │ │ └── SlideInAnimation.md │ │ └── xmlui-website-blocks │ │ ├── _meta.json │ │ ├── _overview.md │ │ ├── Carousel.md │ │ ├── HelloMd.md │ │ ├── HeroSection.md │ │ └── ScrollToTop.md │ ├── extensions.ts │ ├── index.html │ ├── index.ts │ ├── package.json │ ├── public │ │ ├── feed.rss │ │ ├── mockServiceWorker.js │ │ ├── pages │ │ │ ├── _meta.json │ │ │ ├── app-structure.md │ │ │ ├── build-editor-component.md │ │ │ ├── build-hello-world-component.md │ │ │ ├── components-intro.md │ │ │ ├── context-variables.md │ │ │ ├── forms.md │ │ │ ├── globals.md │ │ │ ├── glossary.md │ │ │ ├── helper-tags.md │ │ │ ├── hosted-deployment.md │ │ │ ├── howto │ │ │ │ ├── assign-a-complex-json-literal-to-a-component-variable.md │ │ │ │ ├── chain-a-refetch.md │ │ │ │ ├── debug-a-component.md │ │ │ │ ├── delay-a-datasource-until-another-datasource-is-ready.md │ │ │ │ ├── delegate-a-method.md │ │ │ │ ├── do-custom-form-validation.md │ │ │ │ ├── expose-a-method-from-a-component.md │ │ │ │ ├── filter-and-transform-data-from-an-api.md │ │ │ │ ├── group-items-in-list-by-a-property.md │ │ │ │ ├── handle-background-operations.md │ │ │ │ ├── hide-an-element-until-its-datasource-is-ready.md │ │ │ │ ├── make-a-set-of-equal-width-cards.md │ │ │ │ ├── make-a-table-responsive.md │ │ │ │ ├── modify-a-value-reported-in-a-column.md │ │ │ │ ├── paginate-a-list.md │ │ │ │ ├── pass-data-to-a-modal-dialog.md │ │ │ │ ├── react-to-button-click-not-keystrokes.md │ │ │ │ ├── set-the-initial-value-of-a-select-from-fetched-data.md │ │ │ │ ├── share-a-modaldialog-across-components.md │ │ │ │ ├── sync-selections-between-table-and-list-views.md │ │ │ │ ├── update-ui-optimistically.md │ │ │ │ ├── use-built-in-form-validation.md │ │ │ │ └── use-the-same-modaldialog-to-add-or-edit.md │ │ │ ├── howto.md │ │ │ ├── intro.md │ │ │ ├── layout.md │ │ │ ├── markup.md │ │ │ ├── mcp.md │ │ │ ├── modal-dialogs.md │ │ │ ├── news-and-reviews.md │ │ │ ├── reactive-intro.md │ │ │ ├── refactoring.md │ │ │ ├── routing-and-links.md │ │ │ ├── samples │ │ │ │ ├── color-palette.xmlui │ │ │ │ ├── color-values.xmlui │ │ │ │ ├── shadow-sizes.xmlui │ │ │ │ ├── spacing-sizes.xmlui │ │ │ │ ├── swatch.xmlui │ │ │ │ ├── theme-gallery-brief.xmlui │ │ │ │ └── theme-gallery.xmlui │ │ │ ├── scoping.md │ │ │ ├── scripting.md │ │ │ ├── styles-and-themes │ │ │ │ ├── common-units.md │ │ │ │ ├── layout-props.md │ │ │ │ ├── theme-variable-defaults.md │ │ │ │ ├── theme-variables.md │ │ │ │ └── themes.md │ │ │ ├── template-properties.md │ │ │ ├── test.md │ │ │ ├── tutorial-01.md │ │ │ ├── tutorial-02.md │ │ │ ├── tutorial-03.md │ │ │ ├── tutorial-04.md │ │ │ ├── tutorial-05.md │ │ │ ├── tutorial-06.md │ │ │ ├── tutorial-07.md │ │ │ ├── tutorial-08.md │ │ │ ├── tutorial-09.md │ │ │ ├── tutorial-10.md │ │ │ ├── tutorial-11.md │ │ │ ├── tutorial-12.md │ │ │ ├── universal-properties.md │ │ │ ├── user-defined-components.md │ │ │ ├── vscode.md │ │ │ ├── working-with-markdown.md │ │ │ ├── working-with-text.md │ │ │ ├── xmlui-animations │ │ │ │ ├── _meta.json │ │ │ │ ├── _overview.md │ │ │ │ ├── Animation.md │ │ │ │ ├── FadeAnimation.md │ │ │ │ ├── FadeInAnimation.md │ │ │ │ ├── FadeOutAnimation.md │ │ │ │ ├── ScaleAnimation.md │ │ │ │ └── SlideInAnimation.md │ │ │ ├── xmlui-charts │ │ │ │ ├── _meta.json │ │ │ │ ├── _overview.md │ │ │ │ ├── BarChart.md │ │ │ │ ├── DonutChart.md │ │ │ │ ├── LabelList.md │ │ │ │ ├── Legend.md │ │ │ │ ├── LineChart.md │ │ │ │ └── PieChart.md │ │ │ ├── xmlui-pdf │ │ │ │ ├── _meta.json │ │ │ │ ├── _overview.md │ │ │ │ └── Pdf.md │ │ │ └── xmlui-spreadsheet │ │ │ ├── _meta.json │ │ │ ├── _overview.md │ │ │ └── Spreadsheet.md │ │ ├── resources │ │ │ ├── devdocs │ │ │ │ ├── debug-proxy-object-2.png │ │ │ │ ├── debug-proxy-object.png │ │ │ │ ├── table_editor_01.png │ │ │ │ ├── table_editor_02.png │ │ │ │ ├── table_editor_03.png │ │ │ │ ├── table_editor_04.png │ │ │ │ ├── table_editor_05.png │ │ │ │ ├── table_editor_06.png │ │ │ │ ├── table_editor_07.png │ │ │ │ ├── table_editor_08.png │ │ │ │ ├── table_editor_09.png │ │ │ │ ├── table_editor_10.png │ │ │ │ ├── table_editor_11.png │ │ │ │ ├── table-editor-01.png │ │ │ │ ├── table-editor-02.png │ │ │ │ ├── table-editor-03.png │ │ │ │ ├── table-editor-04.png │ │ │ │ ├── table-editor-06.png │ │ │ │ ├── table-editor-07.png │ │ │ │ ├── table-editor-08.png │ │ │ │ ├── table-editor-09.png │ │ │ │ └── xmlui-rendering-of-tiptap-markdown.png │ │ │ ├── favicon.ico │ │ │ ├── files │ │ │ │ ├── clients.json │ │ │ │ ├── daily-revenue.json │ │ │ │ ├── dashboard-stats.json │ │ │ │ ├── demo.xmlui │ │ │ │ ├── demo.xmlui.xs │ │ │ │ ├── downloads │ │ │ │ │ └── downloads.json │ │ │ │ ├── for-download │ │ │ │ │ ├── index-with-api.html │ │ │ │ │ ├── index.html │ │ │ │ │ ├── mockApi.js │ │ │ │ │ ├── start-darwin.sh │ │ │ │ │ ├── start-linux.sh │ │ │ │ │ ├── start.bat │ │ │ │ │ └── xmlui │ │ │ │ │ └── xmlui-standalone.umd.js │ │ │ │ ├── getting-started │ │ │ │ │ ├── cl-tutorial-final.zip │ │ │ │ │ ├── cl-tutorial.zip │ │ │ │ │ ├── cl-tutorial2.zip │ │ │ │ │ ├── cl-tutorial3.zip │ │ │ │ │ ├── cl-tutorial4.zip │ │ │ │ │ ├── cl-tutorial5.zip │ │ │ │ │ ├── cl-tutorial6.zip │ │ │ │ │ ├── getting-started.zip │ │ │ │ │ ├── hello-xmlui.zip │ │ │ │ │ ├── xmlui-empty.zip │ │ │ │ │ └── xmlui-starter.zip │ │ │ │ ├── howto │ │ │ │ │ └── component-icons │ │ │ │ │ └── up-arrow.svg │ │ │ │ ├── invoices.json │ │ │ │ ├── monthly-status.json │ │ │ │ ├── news-and-reviews.json │ │ │ │ ├── products.json │ │ │ │ ├── releases.json │ │ │ │ ├── tutorials │ │ │ │ │ ├── datasource │ │ │ │ │ │ └── api.ts │ │ │ │ │ └── p2do │ │ │ │ │ ├── api.ts │ │ │ │ │ └── todo-logo.svg │ │ │ │ └── xmlui.json │ │ │ ├── github.svg │ │ │ ├── images │ │ │ │ ├── apiaction-tutorial │ │ │ │ │ ├── add-success.png │ │ │ │ │ ├── apiaction-param.png │ │ │ │ │ ├── change-completed.png │ │ │ │ │ ├── change-in-progress.png │ │ │ │ │ ├── confirm-delete.png │ │ │ │ │ ├── data-error.png │ │ │ │ │ ├── data-progress.png │ │ │ │ │ ├── data-success.png │ │ │ │ │ ├── display-1.png │ │ │ │ │ ├── item-deleted.png │ │ │ │ │ ├── item-updated.png │ │ │ │ │ ├── missing-api-key.png │ │ │ │ │ ├── new-item-added.png │ │ │ │ │ └── test-message.png │ │ │ │ ├── chat-api │ │ │ │ │ └── domain-model.svg │ │ │ │ ├── components │ │ │ │ │ ├── image │ │ │ │ │ │ └── breakfast.jpg │ │ │ │ │ ├── markdown │ │ │ │ │ │ └── colors.png │ │ │ │ │ └── modal │ │ │ │ │ ├── deep_link_dialog_1.jpg │ │ │ │ │ └── deep_link_dialog_2.jpg │ │ │ │ ├── create-apps │ │ │ │ │ ├── collapsed-vertical.png │ │ │ │ │ ├── using-forms-warning-dialog.png │ │ │ │ │ └── using-forms.png │ │ │ │ ├── datasource-tutorial │ │ │ │ │ ├── data-with-header.png │ │ │ │ │ ├── filtered-data.png │ │ │ │ │ ├── filtered-items.png │ │ │ │ │ ├── initial-page-items.png │ │ │ │ │ ├── list-items.png │ │ │ │ │ ├── next-page-items.png │ │ │ │ │ ├── no-data.png │ │ │ │ │ ├── pagination-1.jpg │ │ │ │ │ ├── pagination-1.png │ │ │ │ │ ├── polling-1.png │ │ │ │ │ ├── refetch-data.png │ │ │ │ │ ├── slow-loading.png │ │ │ │ │ ├── test-message.png │ │ │ │ │ ├── Thumbs.db │ │ │ │ │ ├── unconventional-data.png │ │ │ │ │ └── unfiltered-items.png │ │ │ │ ├── flower.jpg │ │ │ │ ├── get-started │ │ │ │ │ ├── add-new-contact.png │ │ │ │ │ ├── app-modified.png │ │ │ │ │ ├── app-start.png │ │ │ │ │ ├── app-with-boxes.png │ │ │ │ │ ├── app-with-toast.png │ │ │ │ │ ├── boilerplate-structure.png │ │ │ │ │ ├── cl-initial.png │ │ │ │ │ ├── cl-start.png │ │ │ │ │ ├── contact-counts.png │ │ │ │ │ ├── contact-dialog-title.png │ │ │ │ │ ├── contact-dialog.png │ │ │ │ │ ├── contact-menus.png │ │ │ │ │ ├── contact-predicates.png │ │ │ │ │ ├── context-menu.png │ │ │ │ │ ├── dashboard-numbers.png │ │ │ │ │ ├── default-contact-list.png │ │ │ │ │ ├── delete-contact.png │ │ │ │ │ ├── delete-task.png │ │ │ │ │ ├── detailed-template.png │ │ │ │ │ ├── edit-contact-details.png │ │ │ │ │ ├── edited-contact-saved.png │ │ │ │ │ ├── empty-sections.png │ │ │ │ │ ├── filter-completed.png │ │ │ │ │ ├── fullwidth-desktop.png │ │ │ │ │ ├── fullwidth-mobile.png │ │ │ │ │ ├── initial-table.png │ │ │ │ │ ├── items-and-badges.png │ │ │ │ │ ├── loading-message.png │ │ │ │ │ ├── new-contact-button.png │ │ │ │ │ ├── new-contact-saved.png │ │ │ │ │ ├── no-empty-sections.png │ │ │ │ │ ├── personal-todo-initial.png │ │ │ │ │ ├── piechart.png │ │ │ │ │ ├── review-today.png │ │ │ │ │ ├── rudimentary-dashboard.png │ │ │ │ │ ├── section-collapsed.png │ │ │ │ │ ├── sectioned-items.png │ │ │ │ │ ├── sections-ordered.png │ │ │ │ │ ├── spacex-list-with-links.png │ │ │ │ │ ├── spacex-list.png │ │ │ │ │ ├── start-personal-todo-1.png │ │ │ │ │ ├── submit-new-contact.png │ │ │ │ │ ├── submit-new-task.png │ │ │ │ │ ├── syntax-highlighting.png │ │ │ │ │ ├── table-with-badge.png │ │ │ │ │ ├── template-with-card.png │ │ │ │ │ ├── test-emulated-api.png │ │ │ │ │ ├── Thumbs.db │ │ │ │ │ ├── todo-logo.png │ │ │ │ │ └── xmlui-tools.png │ │ │ │ ├── HelloApp.png │ │ │ │ ├── HelloApp2.png │ │ │ │ ├── logos │ │ │ │ │ ├── xmlui1.svg │ │ │ │ │ ├── xmlui2.svg │ │ │ │ │ ├── xmlui3.svg │ │ │ │ │ ├── xmlui4.svg │ │ │ │ │ ├── xmlui5.svg │ │ │ │ │ ├── xmlui6.svg │ │ │ │ │ └── xmlui7.svg │ │ │ │ ├── pdf │ │ │ │ │ └── dummy-pdf.jpg │ │ │ │ ├── rendering-engine │ │ │ │ │ ├── AppEngine-flow.svg │ │ │ │ │ ├── Component.svg │ │ │ │ │ ├── CompoundComponent.svg │ │ │ │ │ ├── RootComponent.svg │ │ │ │ │ └── tree-with-containers.svg │ │ │ │ ├── reviewers-guide │ │ │ │ │ ├── AppEngine-flow.svg │ │ │ │ │ └── incbutton-in-action.png │ │ │ │ ├── tools │ │ │ │ │ └── boilerplate-structure.png │ │ │ │ ├── try.svg │ │ │ │ ├── tutorial │ │ │ │ │ ├── app-chat-history.png │ │ │ │ │ ├── app-content-placeholder.png │ │ │ │ │ ├── app-header-and-content.png │ │ │ │ │ ├── app-links-channel-selected.png │ │ │ │ │ ├── app-links-click.png │ │ │ │ │ ├── app-navigation.png │ │ │ │ │ ├── finished-ex01.png │ │ │ │ │ ├── finished-ex02.png │ │ │ │ │ ├── hello.png │ │ │ │ │ ├── splash-screen-advanced.png │ │ │ │ │ ├── splash-screen-after-click.png │ │ │ │ │ ├── splash-screen-centered.png │ │ │ │ │ ├── splash-screen-events.png │ │ │ │ │ ├── splash-screen-expression.png │ │ │ │ │ ├── splash-screen-reuse-after.png │ │ │ │ │ ├── splash-screen-reuse-before.png │ │ │ │ │ └── splash-screen.png │ │ │ │ └── tutorial-01.png │ │ │ ├── llms.txt │ │ │ ├── logo-dark.svg │ │ │ ├── logo.svg │ │ │ ├── pg-popout.svg │ │ │ └── xmlui-logo.svg │ │ ├── serve.json │ │ └── web.config │ ├── scripts │ │ ├── download-latest-xmlui.js │ │ ├── generate-rss.js │ │ ├── get-releases.js │ │ └── utils.js │ ├── src │ │ ├── components │ │ │ ├── BlogOverview.xmlui │ │ │ ├── BlogPage.xmlui │ │ │ ├── Boxes.xmlui │ │ │ ├── Breadcrumb.xmlui │ │ │ ├── ChangeLog.xmlui │ │ │ ├── ColorPalette.xmlui │ │ │ ├── DocumentLinks.xmlui │ │ │ ├── DocumentPage.xmlui │ │ │ ├── DocumentPageNoTOC.xmlui │ │ │ ├── Icons.xmlui │ │ │ ├── IncButton.xmlui │ │ │ ├── IncButton2.xmlui │ │ │ ├── NameValue.xmlui │ │ │ ├── PageNotFound.xmlui │ │ │ ├── PaletteItem.xmlui │ │ │ ├── Palettes.xmlui │ │ │ ├── SectionHeader.xmlui │ │ │ ├── TBD.xmlui │ │ │ ├── Test.xmlui │ │ │ ├── ThemesIntro.xmlui │ │ │ ├── ThousandThemes.xmlui │ │ │ ├── TubeStops.xmlui │ │ │ ├── TubeStops.xmlui.xs │ │ │ └── TwoColumnCode.xmlui │ │ ├── config.ts │ │ ├── Main.xmlui │ │ └── themes │ │ ├── docs-theme.ts │ │ ├── earthtone.ts │ │ ├── xmlui-gray-on-default.ts │ │ ├── xmlui-green-on-default.ts │ │ └── xmlui-orange-on-default.ts │ └── tsconfig.json ├── LICENSE ├── package-lock.json ├── package.json ├── packages │ ├── xmlui-animations │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── demo │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── Animation.tsx │ │ │ ├── AnimationNative.tsx │ │ │ ├── FadeAnimation.tsx │ │ │ ├── FadeInAnimation.tsx │ │ │ ├── FadeOutAnimation.tsx │ │ │ ├── index.tsx │ │ │ ├── ScaleAnimation.tsx │ │ │ └── SlideInAnimation.tsx │ │ └── tsconfig.json │ ├── xmlui-devtools │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── demo │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── devtools │ │ │ │ ├── DevTools.tsx │ │ │ │ ├── DevToolsNative.module.scss │ │ │ │ ├── DevToolsNative.tsx │ │ │ │ ├── ModalDialog.module.scss │ │ │ │ ├── ModalDialog.tsx │ │ │ │ ├── ModalVisibilityContext.tsx │ │ │ │ ├── Tooltip.module.scss │ │ │ │ ├── Tooltip.tsx │ │ │ │ └── utils.ts │ │ │ ├── editor │ │ │ │ └── Editor.tsx │ │ │ └── index.tsx │ │ ├── tsconfig.json │ │ └── vite.config-overrides.ts │ ├── xmlui-hello-world │ │ ├── .gitignore │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── HelloWorld.module.scss │ │ │ ├── HelloWorld.tsx │ │ │ ├── HelloWorldNative.tsx │ │ │ └── index.tsx │ │ └── tsconfig.json │ ├── xmlui-os-frames │ │ ├── .gitignore │ │ ├── demo │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── index.tsx │ │ │ ├── IPhoneFrame.module.scss │ │ │ ├── IPhoneFrame.tsx │ │ │ ├── MacOSAppFrame.module.scss │ │ │ ├── MacOSAppFrame.tsx │ │ │ ├── WindowsAppFrame.module.scss │ │ │ └── WindowsAppFrame.tsx │ │ └── tsconfig.json │ ├── xmlui-pdf │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── demo │ │ │ ├── components │ │ │ │ └── Pdf.xmlui │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── index.tsx │ │ │ ├── LazyPdfNative.tsx │ │ │ ├── Pdf.module.scss │ │ │ └── Pdf.tsx │ │ └── tsconfig.json │ ├── xmlui-playground │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── demo │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── hooks │ │ │ │ ├── usePlayground.ts │ │ │ │ └── useToast.ts │ │ │ ├── index.tsx │ │ │ ├── playground │ │ │ │ ├── Box.module.scss │ │ │ │ ├── Box.tsx │ │ │ │ ├── CodeSelector.tsx │ │ │ │ ├── ConfirmationDialog.module.scss │ │ │ │ ├── ConfirmationDialog.tsx │ │ │ │ ├── Editor.tsx │ │ │ │ ├── Header.module.scss │ │ │ │ ├── Header.tsx │ │ │ │ ├── Playground.tsx │ │ │ │ ├── PlaygroundContent.module.scss │ │ │ │ ├── PlaygroundContent.tsx │ │ │ │ ├── PlaygroundNative.module.scss │ │ │ │ ├── PlaygroundNative.tsx │ │ │ │ ├── Preview.module.scss │ │ │ │ ├── Preview.tsx │ │ │ │ ├── Select.module.scss │ │ │ │ ├── StandalonePlayground.tsx │ │ │ │ ├── StandalonePlaygroundNative.module.scss │ │ │ │ ├── StandalonePlaygroundNative.tsx │ │ │ │ ├── ThemeSwitcher.module.scss │ │ │ │ ├── ThemeSwitcher.tsx │ │ │ │ ├── ToneSwitcher.tsx │ │ │ │ ├── Tooltip.module.scss │ │ │ │ ├── Tooltip.tsx │ │ │ │ └── utils.ts │ │ │ ├── providers │ │ │ │ ├── Toast.module.scss │ │ │ │ └── ToastProvider.tsx │ │ │ ├── state │ │ │ │ └── store.ts │ │ │ ├── themes │ │ │ │ └── theme.ts │ │ │ └── utils │ │ │ └── helpers.ts │ │ └── tsconfig.json │ ├── xmlui-search │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── demo │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── index.tsx │ │ │ ├── Search.module.scss │ │ │ └── Search.tsx │ │ └── tsconfig.json │ ├── xmlui-spreadsheet │ │ ├── .gitignore │ │ ├── demo │ │ │ └── Main.xmlui │ │ ├── index.html │ │ ├── index.ts │ │ ├── meta │ │ │ └── componentsMetadata.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── index.tsx │ │ │ ├── Spreadsheet.tsx │ │ │ └── SpreadsheetNative.tsx │ │ └── tsconfig.json │ └── xmlui-website-blocks │ ├── .gitignore │ ├── CHANGELOG.md │ ├── demo │ │ ├── components │ │ │ ├── HeroBackgroundBreakoutPage.xmlui │ │ │ ├── HeroBackgroundsPage.xmlui │ │ │ ├── HeroContentsPage.xmlui │ │ │ ├── HeroTextAlignPage.xmlui │ │ │ ├── HeroTextPage.xmlui │ │ │ └── HeroTonesPage.xmlui │ │ ├── Main.xmlui │ │ └── themes │ │ └── default.ts │ ├── index.html │ ├── index.ts │ ├── meta │ │ └── componentsMetadata.ts │ ├── package.json │ ├── public │ │ └── resources │ │ ├── building.jpg │ │ └── xmlui-logo.svg │ ├── src │ │ ├── Carousel │ │ │ ├── Carousel.module.scss │ │ │ ├── Carousel.tsx │ │ │ ├── CarouselContext.tsx │ │ │ └── CarouselNative.tsx │ │ ├── FancyButton │ │ │ ├── FancyButton.module.scss │ │ │ ├── FancyButton.tsx │ │ │ └── FancyButton.xmlui │ │ ├── Hello │ │ │ ├── Hello.tsx │ │ │ ├── Hello.xmlui │ │ │ └── Hello.xmlui.xs │ │ ├── HeroSection │ │ │ ├── HeroSection.module.scss │ │ │ ├── HeroSection.tsx │ │ │ └── HeroSectionNative.tsx │ │ ├── index.tsx │ │ ├── ScrollToTop │ │ │ ├── ScrollToTop.module.scss │ │ │ ├── ScrollToTop.tsx │ │ │ └── ScrollToTopNative.tsx │ │ └── vite-env.d.ts │ └── tsconfig.json ├── README.md ├── tools │ ├── codefence │ │ └── xmlui-code-fence-docs.md │ ├── create-app │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── create-app.ts │ │ ├── helpers │ │ │ ├── copy.ts │ │ │ ├── get-pkg-manager.ts │ │ │ ├── git.ts │ │ │ ├── install.ts │ │ │ ├── is-folder-empty.ts │ │ │ ├── is-writeable.ts │ │ │ ├── make-dir.ts │ │ │ └── validate-pkg.ts │ │ ├── index.ts │ │ ├── package.json │ │ ├── templates │ │ │ ├── default │ │ │ │ └── ts │ │ │ │ ├── gitignore │ │ │ │ ├── index.html │ │ │ │ ├── index.ts │ │ │ │ ├── public │ │ │ │ │ ├── mockServiceWorker.js │ │ │ │ │ ├── resources │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ └── xmlui-logo.svg │ │ │ │ │ └── serve.json │ │ │ │ └── src │ │ │ │ ├── components │ │ │ │ │ ├── ApiAware.xmlui │ │ │ │ │ ├── Home.xmlui │ │ │ │ │ ├── IncButton.xmlui │ │ │ │ │ └── PagePanel.xmlui │ │ │ │ ├── config.ts │ │ │ │ └── Main.xmlui │ │ │ ├── index.ts │ │ │ └── types.ts │ │ └── tsconfig.json │ ├── create-xmlui-hello-world │ │ ├── index.js │ │ └── package.json │ └── vscode │ ├── .gitignore │ ├── .vscode │ │ ├── launch.json │ │ └── tasks.json │ ├── .vscodeignore │ ├── build.sh │ ├── CHANGELOG.md │ ├── esbuild.js │ ├── eslint.config.mjs │ ├── formatter-docs.md │ ├── generate-test-sample.sh │ ├── LICENSE.md │ ├── package-lock.json │ ├── package.json │ ├── README.md │ ├── resources │ │ ├── xmlui-logo.png │ │ └── xmlui-markup-syntax-highlighting.png │ ├── src │ │ ├── extension.ts │ │ └── server.ts │ ├── syntaxes │ │ └── xmlui.tmLanguage.json │ ├── test-samples │ │ └── sample.xmlui │ ├── tsconfig.json │ └── tsconfig.tsbuildinfo ├── turbo.json └── xmlui ├── .gitignore ├── bin │ ├── bootstrap.js │ ├── build-lib.ts │ ├── build.ts │ ├── index.ts │ ├── preview.ts │ ├── start.ts │ ├── vite-xmlui-plugin.ts │ └── viteConfig.ts ├── CHANGELOG.md ├── conventions │ ├── component-qa-checklist.md │ ├── copilot-conventions.md │ ├── create-xmlui-components.md │ ├── mermaid.md │ ├── testing-conventions.md │ └── xmlui-in-a-nutshell.md ├── dev-docs │ ├── accessibility.md │ ├── build-system.md │ ├── build-xmlui.md │ ├── containers.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 │ ├── state-management.md │ └── xmlui-repo.md ├── package.json ├── playwright.config.ts ├── scripts │ ├── coverage-only.js │ ├── e2e-test-summary.js │ ├── generate-docs │ │ ├── build-downloads-map.mjs │ │ ├── build-pages-map.mjs │ │ ├── components-config.json │ │ ├── configuration-management.mjs │ │ ├── constants.mjs │ │ ├── create-theme-files.mjs │ │ ├── DocsGenerator.mjs │ │ ├── error-handling.mjs │ │ ├── extensions-config.json │ │ ├── folders.mjs │ │ ├── generate-summary-files.mjs │ │ ├── get-docs.mjs │ │ ├── input-handler.mjs │ │ ├── logger.mjs │ │ ├── logging-standards.mjs │ │ ├── MetadataProcessor.mjs │ │ ├── pattern-utilities.mjs │ │ └── utils.mjs │ ├── get-langserver-metadata.mjs │ ├── inline-links.mjs │ └── README-e2e-summary.md ├── src │ ├── abstractions │ │ ├── _conventions.md │ │ ├── ActionDefs.ts │ │ ├── AppContextDefs.ts │ │ ├── ComponentDefs.ts │ │ ├── ContainerDefs.ts │ │ ├── ExtensionDefs.ts │ │ ├── FunctionDefs.ts │ │ ├── RendererDefs.ts │ │ ├── scripting │ │ │ ├── BlockScope.ts │ │ │ ├── Compilation.ts │ │ │ ├── LogicalThread.ts │ │ │ ├── LoopScope.ts │ │ │ ├── modules.ts │ │ │ ├── ScriptParserError.ts │ │ │ ├── Token.ts │ │ │ ├── TryScope.ts │ │ │ └── TryScopeExp.ts │ │ └── ThemingDefs.ts │ ├── components │ │ ├── _conventions.md │ │ ├── abstractions.ts │ │ ├── Accordion │ │ │ ├── Accordion.md │ │ │ ├── Accordion.module.scss │ │ │ ├── Accordion.spec.ts │ │ │ ├── Accordion.tsx │ │ │ ├── AccordionContext.tsx │ │ │ ├── AccordionItem.tsx │ │ │ ├── AccordionItemNative.tsx │ │ │ └── AccordionNative.tsx │ │ ├── Animation │ │ │ └── AnimationNative.tsx │ │ ├── APICall │ │ │ ├── APICall.md │ │ │ ├── APICall.spec.ts │ │ │ ├── APICall.tsx │ │ │ └── APICallNative.tsx │ │ ├── App │ │ │ ├── App.md │ │ │ ├── App.module.scss │ │ │ ├── App.spec.ts │ │ │ ├── App.tsx │ │ │ ├── AppLayoutContext.ts │ │ │ ├── AppNative.tsx │ │ │ ├── AppStateContext.ts │ │ │ ├── doc-resources │ │ │ │ ├── condensed-sticky.xmlui │ │ │ │ ├── condensed.xmlui │ │ │ │ ├── horizontal-sticky.xmlui │ │ │ │ ├── horizontal.xmlui │ │ │ │ ├── vertical-full-header.xmlui │ │ │ │ ├── vertical-sticky.xmlui │ │ │ │ └── vertical.xmlui │ │ │ ├── IndexerContext.ts │ │ │ ├── LinkInfoContext.ts │ │ │ ├── SearchContext.tsx │ │ │ ├── Sheet.module.scss │ │ │ └── Sheet.tsx │ │ ├── AppHeader │ │ │ ├── AppHeader.md │ │ │ ├── AppHeader.module.scss │ │ │ ├── AppHeader.spec.ts │ │ │ ├── AppHeader.tsx │ │ │ └── AppHeaderNative.tsx │ │ ├── AppState │ │ │ ├── AppState.md │ │ │ ├── AppState.spec.ts │ │ │ ├── AppState.tsx │ │ │ └── AppStateNative.tsx │ │ ├── AutoComplete │ │ │ ├── AutoComplete.md │ │ │ ├── AutoComplete.module.scss │ │ │ ├── AutoComplete.spec.ts │ │ │ ├── AutoComplete.tsx │ │ │ ├── AutoCompleteContext.tsx │ │ │ └── AutoCompleteNative.tsx │ │ ├── Avatar │ │ │ ├── Avatar.md │ │ │ ├── Avatar.module.scss │ │ │ ├── Avatar.spec.ts │ │ │ ├── Avatar.tsx │ │ │ └── AvatarNative.tsx │ │ ├── Backdrop │ │ │ ├── Backdrop.md │ │ │ ├── Backdrop.module.scss │ │ │ ├── Backdrop.spec.ts │ │ │ ├── Backdrop.tsx │ │ │ └── BackdropNative.tsx │ │ ├── Badge │ │ │ ├── Badge.md │ │ │ ├── Badge.module.scss │ │ │ ├── Badge.spec.ts │ │ │ ├── Badge.tsx │ │ │ └── BadgeNative.tsx │ │ ├── Bookmark │ │ │ ├── Bookmark.md │ │ │ ├── Bookmark.module.scss │ │ │ ├── Bookmark.spec.ts │ │ │ ├── Bookmark.tsx │ │ │ └── BookmarkNative.tsx │ │ ├── Breakout │ │ │ ├── Breakout.module.scss │ │ │ ├── Breakout.spec.ts │ │ │ ├── Breakout.tsx │ │ │ └── BreakoutNative.tsx │ │ ├── Button │ │ │ ├── Button-style.spec.ts │ │ │ ├── Button.md │ │ │ ├── Button.module.scss │ │ │ ├── Button.spec.ts │ │ │ ├── Button.tsx │ │ │ └── ButtonNative.tsx │ │ ├── Card │ │ │ ├── Card.md │ │ │ ├── Card.module.scss │ │ │ ├── Card.spec.ts │ │ │ ├── Card.tsx │ │ │ └── CardNative.tsx │ │ ├── Carousel │ │ │ ├── Carousel.md │ │ │ ├── Carousel.module.scss │ │ │ ├── Carousel.spec.ts │ │ │ ├── Carousel.tsx │ │ │ ├── CarouselContext.tsx │ │ │ ├── CarouselItem.tsx │ │ │ ├── CarouselItemNative.tsx │ │ │ └── CarouselNative.tsx │ │ ├── ChangeListener │ │ │ ├── ChangeListener.md │ │ │ ├── ChangeListener.spec.ts │ │ │ ├── ChangeListener.tsx │ │ │ └── ChangeListenerNative.tsx │ │ ├── chart-color-schemes.ts │ │ ├── Charts │ │ │ ├── AreaChart │ │ │ │ ├── AreaChart.md │ │ │ │ ├── AreaChart.spec.ts │ │ │ │ ├── AreaChart.tsx │ │ │ │ └── AreaChartNative.tsx │ │ │ ├── BarChart │ │ │ │ ├── BarChart.md │ │ │ │ ├── BarChart.module.scss │ │ │ │ ├── BarChart.spec.ts │ │ │ │ ├── BarChart.tsx │ │ │ │ └── BarChartNative.tsx │ │ │ ├── DonutChart │ │ │ │ ├── DonutChart.spec.ts │ │ │ │ └── DonutChart.tsx │ │ │ ├── LabelList │ │ │ │ ├── LabelList.spec.ts │ │ │ │ ├── LabelList.tsx │ │ │ │ ├── LabelListNative.module.scss │ │ │ │ └── LabelListNative.tsx │ │ │ ├── Legend │ │ │ │ ├── Legend.spec.ts │ │ │ │ ├── Legend.tsx │ │ │ │ └── LegendNative.tsx │ │ │ ├── LineChart │ │ │ │ ├── LineChart.md │ │ │ │ ├── LineChart.module.scss │ │ │ │ ├── LineChart.spec.ts │ │ │ │ ├── LineChart.tsx │ │ │ │ └── LineChartNative.tsx │ │ │ ├── PieChart │ │ │ │ ├── PieChart.md │ │ │ │ ├── PieChart.spec.ts │ │ │ │ ├── PieChart.tsx │ │ │ │ ├── PieChartNative.module.scss │ │ │ │ └── PieChartNative.tsx │ │ │ ├── RadarChart │ │ │ │ ├── RadarChart.md │ │ │ │ ├── RadarChart.spec.ts │ │ │ │ ├── RadarChart.tsx │ │ │ │ └── RadarChartNative.tsx │ │ │ ├── Tooltip │ │ │ │ ├── TooltipContent.module.scss │ │ │ │ ├── TooltipContent.spec.ts │ │ │ │ └── TooltipContent.tsx │ │ │ └── utils │ │ │ ├── abstractions.ts │ │ │ └── ChartProvider.tsx │ │ ├── Checkbox │ │ │ ├── Checkbox.md │ │ │ ├── Checkbox.spec.ts │ │ │ └── Checkbox.tsx │ │ ├── CodeBlock │ │ │ ├── CodeBlock.module.scss │ │ │ ├── CodeBlock.spec.ts │ │ │ ├── CodeBlock.tsx │ │ │ ├── CodeBlockNative.tsx │ │ │ └── highlight-code.ts │ │ ├── collectedComponentMetadata.ts │ │ ├── ColorPicker │ │ │ ├── ColorPicker.md │ │ │ ├── ColorPicker.module.scss │ │ │ ├── ColorPicker.spec.ts │ │ │ ├── ColorPicker.tsx │ │ │ └── ColorPickerNative.tsx │ │ ├── Column │ │ │ ├── Column.md │ │ │ ├── Column.tsx │ │ │ ├── ColumnNative.tsx │ │ │ ├── doc-resources │ │ │ │ └── list-component-data.js │ │ │ └── TableContext.tsx │ │ ├── component-utils.ts │ │ ├── ComponentProvider.tsx │ │ ├── ComponentRegistryContext.tsx │ │ ├── container-helpers.tsx │ │ ├── ContentSeparator │ │ │ ├── ContentSeparator.md │ │ │ ├── ContentSeparator.module.scss │ │ │ ├── ContentSeparator.spec.ts │ │ │ ├── ContentSeparator.tsx │ │ │ └── ContentSeparatorNative.tsx │ │ ├── DataSource │ │ │ ├── DataSource.md │ │ │ └── DataSource.tsx │ │ ├── DateInput │ │ │ ├── DateInput.md │ │ │ ├── DateInput.module.scss │ │ │ ├── DateInput.spec.ts │ │ │ ├── DateInput.tsx │ │ │ └── DateInputNative.tsx │ │ ├── DatePicker │ │ │ ├── DatePicker.md │ │ │ ├── DatePicker.module.scss │ │ │ ├── DatePicker.spec.ts │ │ │ ├── DatePicker.tsx │ │ │ └── DatePickerNative.tsx │ │ ├── DropdownMenu │ │ │ ├── DropdownMenu.md │ │ │ ├── DropdownMenu.module.scss │ │ │ ├── DropdownMenu.spec.ts │ │ │ ├── DropdownMenu.tsx │ │ │ ├── DropdownMenuNative.tsx │ │ │ ├── MenuItem.md │ │ │ └── SubMenuItem.md │ │ ├── EmojiSelector │ │ │ ├── EmojiSelector.md │ │ │ ├── EmojiSelector.spec.ts │ │ │ ├── EmojiSelector.tsx │ │ │ └── EmojiSelectorNative.tsx │ │ ├── ExpandableItem │ │ │ ├── ExpandableItem.module.scss │ │ │ ├── ExpandableItem.spec.ts │ │ │ ├── ExpandableItem.tsx │ │ │ └── ExpandableItemNative.tsx │ │ ├── FileInput │ │ │ ├── FileInput.md │ │ │ ├── FileInput.module.scss │ │ │ ├── FileInput.spec.ts │ │ │ ├── FileInput.tsx │ │ │ └── FileInputNative.tsx │ │ ├── FileUploadDropZone │ │ │ ├── FileUploadDropZone.md │ │ │ ├── FileUploadDropZone.module.scss │ │ │ ├── FileUploadDropZone.spec.ts │ │ │ ├── FileUploadDropZone.tsx │ │ │ └── FileUploadDropZoneNative.tsx │ │ ├── FlowLayout │ │ │ ├── FlowLayout.md │ │ │ ├── FlowLayout.module.scss │ │ │ ├── FlowLayout.spec.ts │ │ │ ├── FlowLayout.spec.ts-snapshots │ │ │ │ └── Edge-cases-boxShadow-is-not-clipped-1-non-smoke-darwin.png │ │ │ ├── FlowLayout.tsx │ │ │ └── FlowLayoutNative.tsx │ │ ├── Footer │ │ │ ├── Footer.md │ │ │ ├── Footer.module.scss │ │ │ ├── Footer.spec.ts │ │ │ ├── Footer.tsx │ │ │ └── FooterNative.tsx │ │ ├── Form │ │ │ ├── Form.md │ │ │ ├── Form.module.scss │ │ │ ├── Form.spec.ts │ │ │ ├── Form.tsx │ │ │ ├── formActions.ts │ │ │ ├── FormContext.ts │ │ │ └── FormNative.tsx │ │ ├── FormItem │ │ │ ├── FormItem.md │ │ │ ├── FormItem.module.scss │ │ │ ├── FormItem.spec.ts │ │ │ ├── FormItem.tsx │ │ │ ├── FormItemNative.tsx │ │ │ ├── HelperText.module.scss │ │ │ ├── HelperText.tsx │ │ │ ├── ItemWithLabel.tsx │ │ │ └── Validations.ts │ │ ├── FormSection │ │ │ ├── FormSection.md │ │ │ ├── FormSection.ts │ │ │ └── FormSection.xmlui │ │ ├── Fragment │ │ │ ├── Fragment.spec.ts │ │ │ └── Fragment.tsx │ │ ├── Heading │ │ │ ├── abstractions.ts │ │ │ ├── H1.md │ │ │ ├── H1.spec.ts │ │ │ ├── H2.md │ │ │ ├── H2.spec.ts │ │ │ ├── H3.md │ │ │ ├── H3.spec.ts │ │ │ ├── H4.md │ │ │ ├── H4.spec.ts │ │ │ ├── H5.md │ │ │ ├── H5.spec.ts │ │ │ ├── H6.md │ │ │ ├── H6.spec.ts │ │ │ ├── Heading.md │ │ │ ├── Heading.module.scss │ │ │ ├── Heading.spec.ts │ │ │ ├── Heading.tsx │ │ │ └── HeadingNative.tsx │ │ ├── HoverCard │ │ │ ├── HoverCard.tsx │ │ │ └── HovercardNative.tsx │ │ ├── HtmlTags │ │ │ ├── HtmlTags.module.scss │ │ │ ├── HtmlTags.spec.ts │ │ │ └── HtmlTags.tsx │ │ ├── Icon │ │ │ ├── AdmonitionDanger.tsx │ │ │ ├── AdmonitionInfo.tsx │ │ │ ├── AdmonitionNote.tsx │ │ │ ├── AdmonitionTip.tsx │ │ │ ├── AdmonitionWarning.tsx │ │ │ ├── ApiIcon.tsx │ │ │ ├── ArrowDropDown.module.scss │ │ │ ├── ArrowDropDown.tsx │ │ │ ├── ArrowDropUp.module.scss │ │ │ ├── ArrowDropUp.tsx │ │ │ ├── ArrowLeft.module.scss │ │ │ ├── ArrowLeft.tsx │ │ │ ├── ArrowRight.module.scss │ │ │ ├── ArrowRight.tsx │ │ │ ├── Attach.tsx │ │ │ ├── Binding.module.scss │ │ │ ├── Binding.tsx │ │ │ ├── BoardIcon.tsx │ │ │ ├── BoxIcon.tsx │ │ │ ├── CheckIcon.tsx │ │ │ ├── ChevronDownIcon.tsx │ │ │ ├── ChevronLeft.tsx │ │ │ ├── ChevronRight.tsx │ │ │ ├── ChevronUpIcon.tsx │ │ │ ├── CodeFileIcon.tsx │ │ │ ├── CodeSandbox.tsx │ │ │ ├── CompactListIcon.tsx │ │ │ ├── ContentCopyIcon.tsx │ │ │ ├── DarkToLightIcon.tsx │ │ │ ├── DatabaseIcon.module.scss │ │ │ ├── DatabaseIcon.tsx │ │ │ ├── DocFileIcon.tsx │ │ │ ├── DocIcon.tsx │ │ │ ├── DotMenuHorizontalIcon.tsx │ │ │ ├── DotMenuIcon.tsx │ │ │ ├── EmailIcon.tsx │ │ │ ├── EmptyFolderIcon.tsx │ │ │ ├── ErrorIcon.tsx │ │ │ ├── ExpressionIcon.tsx │ │ │ ├── FillPlusCricleIcon.tsx │ │ │ ├── FilterIcon.tsx │ │ │ ├── FolderIcon.tsx │ │ │ ├── GlobeIcon.tsx │ │ │ ├── HomeIcon.tsx │ │ │ ├── HyperLinkIcon.tsx │ │ │ ├── Icon.md │ │ │ ├── Icon.module.scss │ │ │ ├── Icon.spec.ts │ │ │ ├── Icon.tsx │ │ │ ├── IconNative.tsx │ │ │ ├── ImageFileIcon.tsx │ │ │ ├── Inspect.tsx │ │ │ ├── LightToDark.tsx │ │ │ ├── LinkIcon.tsx │ │ │ ├── ListIcon.tsx │ │ │ ├── LooseListIcon.tsx │ │ │ ├── MoonIcon.tsx │ │ │ ├── MoreOptionsIcon.tsx │ │ │ ├── NoSortIcon.tsx │ │ │ ├── PDFIcon.tsx │ │ │ ├── PenIcon.tsx │ │ │ ├── PhoneIcon.tsx │ │ │ ├── PhotoIcon.tsx │ │ │ ├── PlusIcon.tsx │ │ │ ├── SearchIcon.tsx │ │ │ ├── ShareIcon.tsx │ │ │ ├── SortAscendingIcon.tsx │ │ │ ├── SortDescendingIcon.tsx │ │ │ ├── StarsIcon.tsx │ │ │ ├── SunIcon.tsx │ │ │ ├── svg │ │ │ │ ├── admonition_danger.svg │ │ │ │ ├── admonition_info.svg │ │ │ │ ├── admonition_note.svg │ │ │ │ ├── admonition_tip.svg │ │ │ │ ├── admonition_warning.svg │ │ │ │ ├── api.svg │ │ │ │ ├── arrow-dropdown.svg │ │ │ │ ├── arrow-left.svg │ │ │ │ ├── arrow-right.svg │ │ │ │ ├── arrow-up.svg │ │ │ │ ├── attach.svg │ │ │ │ ├── binding.svg │ │ │ │ ├── box.svg │ │ │ │ ├── bulb.svg │ │ │ │ ├── code-file.svg │ │ │ │ ├── code-sandbox.svg │ │ │ │ ├── dark_to_light.svg │ │ │ │ ├── database.svg │ │ │ │ ├── doc.svg │ │ │ │ ├── empty-folder.svg │ │ │ │ ├── expression.svg │ │ │ │ ├── eye-closed.svg │ │ │ │ ├── eye-dark.svg │ │ │ │ ├── eye.svg │ │ │ │ ├── file-text.svg │ │ │ │ ├── filter.svg │ │ │ │ ├── folder.svg │ │ │ │ ├── img.svg │ │ │ │ ├── inspect.svg │ │ │ │ ├── light_to_dark.svg │ │ │ │ ├── moon.svg │ │ │ │ ├── pdf.svg │ │ │ │ ├── photo.svg │ │ │ │ ├── share.svg │ │ │ │ ├── stars.svg │ │ │ │ ├── sun.svg │ │ │ │ ├── trending-down.svg │ │ │ │ ├── trending-level.svg │ │ │ │ ├── trending-up.svg │ │ │ │ ├── txt.svg │ │ │ │ ├── unknown-file.svg │ │ │ │ ├── unlink.svg │ │ │ │ └── xls.svg │ │ │ ├── TableDeleteColumnIcon.tsx │ │ │ ├── TableDeleteRowIcon.tsx │ │ │ ├── TableInsertColumnIcon.tsx │ │ │ ├── TableInsertRowIcon.tsx │ │ │ ├── TrashIcon.tsx │ │ │ ├── TrendingDownIcon.tsx │ │ │ ├── TrendingLevelIcon.tsx │ │ │ ├── TrendingUpIcon.tsx │ │ │ ├── TxtIcon.tsx │ │ │ ├── UnknownFileIcon.tsx │ │ │ ├── UnlinkIcon.tsx │ │ │ ├── UserIcon.tsx │ │ │ ├── WarningIcon.tsx │ │ │ └── XlsIcon.tsx │ │ ├── IconProvider.tsx │ │ ├── IconRegistryContext.tsx │ │ ├── IFrame │ │ │ ├── IFrame.md │ │ │ ├── IFrame.module.scss │ │ │ ├── IFrame.spec.ts │ │ │ ├── IFrame.tsx │ │ │ └── IFrameNative.tsx │ │ ├── Image │ │ │ ├── Image.md │ │ │ ├── Image.module.scss │ │ │ ├── Image.spec.ts │ │ │ ├── Image.tsx │ │ │ └── ImageNative.tsx │ │ ├── Input │ │ │ ├── index.ts │ │ │ ├── InputAdornment.module.scss │ │ │ ├── InputAdornment.tsx │ │ │ ├── InputDivider.module.scss │ │ │ ├── InputDivider.tsx │ │ │ ├── InputLabel.module.scss │ │ │ ├── InputLabel.tsx │ │ │ ├── PartialInput.module.scss │ │ │ └── PartialInput.tsx │ │ ├── InspectButton │ │ │ ├── InspectButton.module.scss │ │ │ └── InspectButton.tsx │ │ ├── Items │ │ │ ├── Items.md │ │ │ ├── Items.spec.ts │ │ │ ├── Items.tsx │ │ │ └── ItemsNative.tsx │ │ ├── Link │ │ │ ├── Link.md │ │ │ ├── Link.module.scss │ │ │ ├── Link.spec.ts │ │ │ ├── Link.tsx │ │ │ └── LinkNative.tsx │ │ ├── List │ │ │ ├── doc-resources │ │ │ │ └── list-component-data.js │ │ │ ├── List.md │ │ │ ├── List.module.scss │ │ │ ├── List.spec.ts │ │ │ ├── List.tsx │ │ │ └── ListNative.tsx │ │ ├── Logo │ │ │ ├── doc-resources │ │ │ │ └── xmlui-logo.svg │ │ │ ├── Logo.md │ │ │ ├── Logo.tsx │ │ │ └── LogoNative.tsx │ │ ├── Markdown │ │ │ ├── CodeText.module.scss │ │ │ ├── CodeText.tsx │ │ │ ├── Markdown.md │ │ │ ├── Markdown.module.scss │ │ │ ├── Markdown.spec.ts │ │ │ ├── Markdown.tsx │ │ │ ├── MarkdownNative.tsx │ │ │ ├── parse-binding-expr.ts │ │ │ └── utils.ts │ │ ├── metadata-helpers.ts │ │ ├── ModalDialog │ │ │ ├── ConfirmationModalContextProvider.tsx │ │ │ ├── Dialog.module.scss │ │ │ ├── Dialog.tsx │ │ │ ├── ModalDialog.md │ │ │ ├── ModalDialog.module.scss │ │ │ ├── ModalDialog.spec.ts │ │ │ ├── ModalDialog.tsx │ │ │ ├── ModalDialogNative.tsx │ │ │ └── ModalVisibilityContext.tsx │ │ ├── NavGroup │ │ │ ├── NavGroup.md │ │ │ ├── NavGroup.module.scss │ │ │ ├── NavGroup.spec.ts │ │ │ ├── NavGroup.tsx │ │ │ ├── NavGroupContext.ts │ │ │ └── NavGroupNative.tsx │ │ ├── NavLink │ │ │ ├── NavLink.md │ │ │ ├── NavLink.module.scss │ │ │ ├── NavLink.spec.ts │ │ │ ├── NavLink.tsx │ │ │ └── NavLinkNative.tsx │ │ ├── NavPanel │ │ │ ├── NavPanel.md │ │ │ ├── NavPanel.module.scss │ │ │ ├── NavPanel.spec.ts │ │ │ ├── NavPanel.tsx │ │ │ └── NavPanelNative.tsx │ │ ├── NestedApp │ │ │ ├── AppWithCodeView.module.scss │ │ │ ├── AppWithCodeView.tsx │ │ │ ├── AppWithCodeViewNative.tsx │ │ │ ├── defaultProps.tsx │ │ │ ├── logo.svg │ │ │ ├── NestedApp.module.scss │ │ │ ├── NestedApp.tsx │ │ │ ├── NestedAppNative.tsx │ │ │ ├── Tooltip.module.scss │ │ │ ├── Tooltip.tsx │ │ │ └── utils.ts │ │ ├── NoResult │ │ │ ├── NoResult.md │ │ │ ├── NoResult.module.scss │ │ │ ├── NoResult.spec.ts │ │ │ ├── NoResult.tsx │ │ │ └── NoResultNative.tsx │ │ ├── NumberBox │ │ │ ├── numberbox-abstractions.ts │ │ │ ├── NumberBox.md │ │ │ ├── NumberBox.module.scss │ │ │ ├── NumberBox.spec.ts │ │ │ ├── NumberBox.tsx │ │ │ └── NumberBoxNative.tsx │ │ ├── Option │ │ │ ├── Option.md │ │ │ ├── Option.spec.ts │ │ │ ├── Option.tsx │ │ │ ├── OptionNative.tsx │ │ │ └── OptionTypeProvider.tsx │ │ ├── PageMetaTitle │ │ │ ├── PageMetaTilteNative.tsx │ │ │ ├── PageMetaTitle.md │ │ │ ├── PageMetaTitle.spec.ts │ │ │ └── PageMetaTitle.tsx │ │ ├── Pages │ │ │ ├── Page.md │ │ │ ├── Pages.md │ │ │ ├── Pages.module.scss │ │ │ ├── Pages.tsx │ │ │ └── PagesNative.tsx │ │ ├── Pagination │ │ │ ├── Pagination.md │ │ │ ├── Pagination.module.scss │ │ │ ├── Pagination.spec.ts │ │ │ ├── Pagination.tsx │ │ │ └── PaginationNative.tsx │ │ ├── PositionedContainer │ │ │ ├── PositionedContainer.module.scss │ │ │ ├── PositionedContainer.tsx │ │ │ └── PositionedContainerNative.tsx │ │ ├── ProfileMenu │ │ │ ├── ProfileMenu.module.scss │ │ │ └── ProfileMenu.tsx │ │ ├── ProgressBar │ │ │ ├── ProgressBar.md │ │ │ ├── ProgressBar.module.scss │ │ │ ├── ProgressBar.spec.ts │ │ │ ├── ProgressBar.tsx │ │ │ └── ProgressBarNative.tsx │ │ ├── Queue │ │ │ ├── Queue.md │ │ │ ├── Queue.spec.ts │ │ │ ├── Queue.tsx │ │ │ ├── queueActions.ts │ │ │ └── QueueNative.tsx │ │ ├── RadioGroup │ │ │ ├── RadioGroup.md │ │ │ ├── RadioGroup.module.scss │ │ │ ├── RadioGroup.spec.ts │ │ │ ├── RadioGroup.tsx │ │ │ ├── RadioGroupNative.tsx │ │ │ ├── RadioItem.tsx │ │ │ └── RadioItemNative.tsx │ │ ├── RealTimeAdapter │ │ │ ├── RealTimeAdapter.tsx │ │ │ └── RealTimeAdapterNative.tsx │ │ ├── Redirect │ │ │ ├── Redirect.md │ │ │ ├── Redirect.spec.ts │ │ │ └── Redirect.tsx │ │ ├── ResponsiveBar │ │ │ ├── README.md │ │ │ ├── ResponsiveBar.md │ │ │ ├── ResponsiveBar.module.scss │ │ │ ├── ResponsiveBar.spec.ts │ │ │ ├── ResponsiveBar.tsx │ │ │ └── ResponsiveBarNative.tsx │ │ ├── Select │ │ │ ├── HiddenOption.tsx │ │ │ ├── MultiSelectOption.tsx │ │ │ ├── OptionContext.ts │ │ │ ├── Select.md │ │ │ ├── Select.module.scss │ │ │ ├── Select.spec.ts │ │ │ ├── Select.tsx │ │ │ ├── SelectContext.tsx │ │ │ ├── SelectNative.tsx │ │ │ ├── SelectOption.tsx │ │ │ └── SimpleSelect.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 │ │ │ ├── BehaviorContext.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 │ │ │ ├── compound-utils.ts │ │ │ ├── css-utils.ts │ │ │ ├── DataLoaderQueryKeyGenerator.ts │ │ │ ├── date-utils.ts │ │ │ ├── extractParam.ts │ │ │ ├── hooks.tsx │ │ │ ├── LruCache.ts │ │ │ ├── mergeProps.ts │ │ │ ├── misc.ts │ │ │ ├── request-params.ts │ │ │ ├── statementUtils.ts │ │ │ └── treeUtils.ts │ │ └── xmlui-parser.ts │ ├── index-standalone.ts │ ├── index.scss │ ├── index.ts │ ├── language-server │ │ ├── server-common.ts │ │ ├── server-web-worker.ts │ │ ├── server.ts │ │ ├── services │ │ │ ├── common │ │ │ │ ├── docs-generation.ts │ │ │ │ ├── lsp-utils.ts │ │ │ │ ├── metadata-utils.ts │ │ │ │ └── syntax-node-utilities.ts │ │ │ ├── completion.ts │ │ │ ├── diagnostic.ts │ │ │ ├── format.ts │ │ │ └── hover.ts │ │ └── xmlui-metadata-generated.mjs │ ├── logging │ │ ├── LoggerContext.tsx │ │ ├── LoggerInitializer.tsx │ │ ├── LoggerService.ts │ │ └── xmlui.ts │ ├── logo.svg │ ├── parsers │ │ ├── common │ │ │ ├── GenericToken.ts │ │ │ ├── InputStream.ts │ │ │ └── utils.ts │ │ ├── scripting │ │ │ ├── code-behind-collect.ts │ │ │ ├── Lexer.ts │ │ │ ├── modules.ts │ │ │ ├── Parser.ts │ │ │ ├── ParserError.ts │ │ │ ├── ScriptingNodeTypes.ts │ │ │ ├── TokenTrait.ts │ │ │ ├── TokenType.ts │ │ │ └── tree-visitor.ts │ │ ├── style-parser │ │ │ ├── errors.ts │ │ │ ├── source-tree.ts │ │ │ ├── StyleInputStream.ts │ │ │ ├── StyleLexer.ts │ │ │ ├── StyleParser.ts │ │ │ └── tokens.ts │ │ └── xmlui-parser │ │ ├── CharacterCodes.ts │ │ ├── diagnostics.ts │ │ ├── fileExtensions.ts │ │ ├── index.ts │ │ ├── lint.ts │ │ ├── parser.ts │ │ ├── ParserError.ts │ │ ├── scanner.ts │ │ ├── syntax-kind.ts │ │ ├── syntax-node.ts │ │ ├── transform.ts │ │ ├── utils.ts │ │ ├── xmlui-serializer.ts │ │ └── xmlui-tree.ts │ ├── react-app-env.d.ts │ ├── syntax │ │ ├── monaco │ │ │ ├── grammar.monacoLanguage.ts │ │ │ ├── index.ts │ │ │ ├── xmlui-dark.ts │ │ │ ├── xmlui-light.ts │ │ │ └── xmluiscript.monacoLanguage.ts │ │ └── textMate │ │ ├── index.ts │ │ ├── xmlui-dark.json │ │ ├── xmlui-light.json │ │ ├── xmlui.json │ │ └── xmlui.tmLanguage.json │ ├── testing │ │ ├── assertions.ts │ │ ├── component-test-helpers.ts │ │ ├── ComponentDrivers.ts │ │ ├── drivers │ │ │ ├── DateInputDriver.ts │ │ │ ├── ModalDialogDriver.ts │ │ │ ├── NumberBoxDriver.ts │ │ │ ├── TextBoxDriver.ts │ │ │ ├── TimeInputDriver.ts │ │ │ ├── TimerDriver.ts │ │ │ └── TreeDriver.ts │ │ ├── fixtures.ts │ │ ├── infrastructure │ │ │ ├── index.html │ │ │ ├── main.tsx │ │ │ ├── public │ │ │ │ ├── mockServiceWorker.js │ │ │ │ ├── resources │ │ │ │ │ ├── bell.svg │ │ │ │ │ ├── box.svg │ │ │ │ │ ├── doc.svg │ │ │ │ │ ├── eye.svg │ │ │ │ │ ├── flower-640x480.jpg │ │ │ │ │ ├── sun.svg │ │ │ │ │ ├── test-image-100x100.jpg │ │ │ │ │ └── txt.svg │ │ │ │ └── serve.json │ │ │ └── TestBed.tsx │ │ └── themed-app-test-helpers.ts │ └── vite-env.d.ts ├── tests │ ├── components │ │ ├── CodeBlock │ │ │ └── hightlight-code.test.ts │ │ ├── playground-pattern.test.ts │ │ └── Tree │ │ └── Tree-states.test.ts │ ├── components-core │ │ ├── abstractions │ │ │ └── treeAbstractions.test.ts │ │ ├── container │ │ │ └── buildProxy.test.ts │ │ ├── interception │ │ │ ├── orderBy.test.ts │ │ │ ├── ReadOnlyCollection.test.ts │ │ │ └── request-param-converter.test.ts │ │ ├── scripts-runner │ │ │ ├── AttributeValueParser.test.ts │ │ │ ├── eval-tree-arrow-async.test.ts │ │ │ ├── eval-tree-arrow.test.ts │ │ │ ├── eval-tree-func-decl-async.test.ts │ │ │ ├── eval-tree-func-decl.test.ts │ │ │ ├── eval-tree-pre-post.test.ts │ │ │ ├── eval-tree-regression.test.ts │ │ │ ├── eval-tree.test.ts │ │ │ ├── function-proxy.test.ts │ │ │ ├── parser-regression.test.ts │ │ │ ├── process-event.test.ts │ │ │ ├── process-function.test.ts │ │ │ ├── process-implicit-context.test.ts │ │ │ ├── process-statement-asgn.test.ts │ │ │ ├── process-statement-destruct.test.ts │ │ │ ├── process-statement-regs.test.ts │ │ │ ├── process-statement-sync.test.ts │ │ │ ├── process-statement.test.ts │ │ │ ├── process-switch-sync.test.ts │ │ │ ├── process-switch.test.ts │ │ │ ├── process-try-sync.test.ts │ │ │ ├── process-try.test.ts │ │ │ └── test-helpers.ts │ │ ├── test-metadata-handler.ts │ │ ├── theming │ │ │ ├── border-segments.test.ts │ │ │ ├── component-layout.resolver.test.ts │ │ │ ├── layout-property-parser.test.ts │ │ │ ├── layout-resolver.test.ts │ │ │ ├── layout-resolver2.test.ts │ │ │ ├── layout-vp-override.test.ts │ │ │ └── padding-segments.test.ts │ │ └── utils │ │ ├── date-utils.test.ts │ │ ├── format-human-elapsed-time.test.ts │ │ └── LruCache.test.ts │ ├── language-server │ │ ├── completion.test.ts │ │ ├── format.test.ts │ │ ├── hover.test.ts │ │ └── mockData.ts │ └── parsers │ ├── common │ │ └── input-stream.test.ts │ ├── markdown │ │ └── parse-binding-expression.test.ts │ ├── parameter-parser.test.ts │ ├── paremeter-parser.test.ts │ ├── scripting │ │ ├── eval-tree-arrow.test.ts │ │ ├── eval-tree-pre-post.test.ts │ │ ├── eval-tree.test.ts │ │ ├── function-proxy.test.ts │ │ ├── lexer-literals.test.ts │ │ ├── lexer-misc.test.ts │ │ ├── module-parse.test.ts │ │ ├── parser-arrow.test.ts │ │ ├── parser-assignments.test.ts │ │ ├── parser-binary.test.ts │ │ ├── parser-destructuring.test.ts │ │ ├── parser-errors.test.ts │ │ ├── parser-expressions.test.ts │ │ ├── parser-function.test.ts │ │ ├── parser-literals.test.ts │ │ ├── parser-primary.test.ts │ │ ├── parser-regex.test.ts │ │ ├── parser-statements.test.ts │ │ ├── parser-unary.test.ts │ │ ├── process-event.test.ts │ │ ├── process-implicit-context.test.ts │ │ ├── process-statement-asgn.test.ts │ │ ├── process-statement-destruct.test.ts │ │ ├── process-statement-regs.test.ts │ │ ├── process-statement-sync.test.ts │ │ ├── process-statement.test.ts │ │ ├── process-switch-sync.test.ts │ │ ├── process-switch.test.ts │ │ ├── process-try-sync.test.ts │ │ ├── process-try.test.ts │ │ ├── simplify-expression.test.ts │ │ ├── statement-hooks.test.ts │ │ └── test-helpers.ts │ ├── style-parser │ │ ├── generateHvarChain.test.ts │ │ ├── parseHVar.test.ts │ │ ├── parser.test.ts │ │ └── tokens.test.ts │ └── xmlui │ ├── lint.test.ts │ ├── parser.test.ts │ ├── scanner.test.ts │ ├── transform.attr.test.ts │ ├── transform.circular.test.ts │ ├── transform.element.test.ts │ ├── transform.errors.test.ts │ ├── transform.escape.test.ts │ ├── transform.regression.test.ts │ ├── transform.script.test.ts │ ├── transform.test.ts │ └── xmlui.ts ├── tests-e2e │ ├── api-bound-component-regression.spec.ts │ ├── api-call-as-extracted-component.spec.ts │ ├── assign-to-object-or-array-regression.spec.ts │ ├── binding-regression.spec.ts │ ├── children-as-template-context-vars.spec.ts │ ├── compound-component.spec.ts │ ├── context-vars-regression.spec.ts │ ├── data-bindings.spec.ts │ ├── datasource-and-api-usage-in-var.spec.ts │ ├── datasource-direct-binding.spec.ts │ ├── datasource-onLoaded-regression.spec.ts │ ├── modify-array-item-regression.spec.ts │ ├── namespaces.spec.ts │ ├── push-to-array-regression.spec.ts │ ├── screen-breakpoints.spec.ts │ ├── scripting.spec.ts │ ├── state-scope-in-pages.spec.ts │ └── state-var-scopes.spec.ts ├── tsconfig.bin.json ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── vitest.config.ts ``` # Files -------------------------------------------------------------------------------- /xmlui/src/components/HtmlTags/HtmlTags.tsx: -------------------------------------------------------------------------------- ```typescript /** * @deprecated HTML Tag Components are temporary and will be removed from the framework. * * DEPRECATION NOTICE: * All HTML tag wrapper components in this file are scheduled for removal in a future version. * These components were created as temporary solutions and should not be used in new development. * * Migration Path: * - Replace with native HTML elements or dedicated XMLUI components * - Use semantic HTML directly for better performance and maintainability * - Consider existing XMLUI components (Button, Link, Text, Heading, etc.) for common use cases * * Timeline: These components will be removed in the next major version release. */ import { createComponentRenderer } from "../../components-core/renderers"; import styles from "./HtmlTags.module.scss"; import { parseScssVar } from "../../components-core/theming/themeVars"; import { LinkNative } from "../Link/LinkNative"; import { Heading } from "../Heading/HeadingNative"; import { Text } from "../Text/TextNative"; import { PropsTrasform } from "../../components-core/utils/extractParam"; import { createMetadata, d } from "../metadata-helpers"; import classnames from 'classnames'; export const HtmlAMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `a` tag.", isHtmlTag: true, props: { href: d("Specifies the URL of the page the link goes to"), target: d("Specifies where to open the linked document"), rel: d("Specifies the relationship between the current document and the linked document"), download: d("Indicates that the target will be downloaded when a user clicks on the hyperlink"), hreflang: d("Specifies the language of the linked document"), type: d("Specifies the MIME type of the linked document"), ping: d( "Specifies a space-separated list of URLs to be notified if the user follows the hyperlink", ), referrerPolicy: d("Specifies the referrer policy for the element"), disabled: d("Specifies that the link should be disabled"), }, }); export const htmlATagRenderer = createComponentRenderer( "a", HtmlAMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { disabled } = p.asOptionalBoolean("disabled"); const { href, ...rest } = p.asRest(); return ( <LinkNative to={href} disabled={disabled ?? false} className={className} {...rest}> {renderChild(node.children)} </LinkNative> ); }, ); export const HtmlAbbrMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `abbr` tag.", isHtmlTag: true, }); export const htmlAbbrTagRenderer = createComponentRenderer( "abbr", HtmlAbbrMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="abbr"> {renderChild(node.children)} </Text> ); }, ); export const HtmlAddressMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `address` tag.", isHtmlTag: true, }); export const htmlAddressTagRenderer = createComponentRenderer( "address", HtmlAddressMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <address className={className} {...props}> {renderChild(node.children)} </address> ); }, ); export const HtmlAreaMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `area` tag.", isHtmlTag: true, props: { alt: d("Specifies an alternate text for the area"), coords: d("Specifies the coordinates of the area"), download: d("Indicates that the target will be downloaded when a user clicks on the area"), href: d("Specifies the URL of the linked document"), hrefLang: d("Specifies the language of the linked document"), referrerPolicy: d("Specifies the referrer policy for the area"), rel: d("Specifies the relationship between the current document and the linked document"), shape: d("Specifies the shape of the area"), target: d("Specifies where to open the linked document"), media: d("Specifies a media query for the linked resource"), }, }); export const htmlAreaTagRenderer = createComponentRenderer( "area", HtmlAreaMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <area className={className} {...props}> {renderChild(node.children)} </area> ); }, ); export const HtmlArticleMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `article` tag.", isHtmlTag: true, }); export const htmlArticleTagRenderer = createComponentRenderer( "article", HtmlArticleMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <article className={className} {...props}> {renderChild(node.children)} </article> ); }, ); export const HtmlAsideMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `aside` tag.", isHtmlTag: true, }); export const htmlAsideTagRenderer = createComponentRenderer( "aside", HtmlAsideMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <aside className={className} {...props}> {renderChild(node.children)} </aside> ); }, ); export const HtmlAudioMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `audio` tag.", isHtmlTag: true, props: { autoPlay: d("Specifies that the audio will start playing as soon as it is ready"), controls: d("Specifies that audio controls should be displayed"), crossOrigin: d("Specifies how the element handles cross-origin requests"), loop: d("Specifies that the audio will start over again every time it is finished"), muted: d("Specifies that the audio output should be muted"), preload: d( "Specifies if and how the author thinks the audio should be loaded when the page loads", ), src: d("Specifies the URL of the audio file"), }, }); export const htmlAudioTagRenderer = createComponentRenderer( "audio", HtmlAudioMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { autoPlay, controls, loop, muted } = p.asOptionalBoolean( "autoPlay", "controls", "loop", "muted", ); const props = p.asRest(); return ( <audio className={className} autoPlay={autoPlay ?? false} controls={controls ?? false} loop={loop ?? false} muted={muted ?? false} {...props} > {renderChild(node.children)} </audio> ); }, ); export const HtmlBMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `b` tag.", isHtmlTag: true, }); export const htmlBTagRenderer = createComponentRenderer( "b", HtmlBMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <b className={className} {...props}> {renderChild(node.children)} </b> ); }, ); export const HtmlBdiMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `bdi` tag.", isHtmlTag: true, }); export const htmlBdiTagRenderer = createComponentRenderer( "bdi", HtmlBdiMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <bdi className={className} {...props}> {renderChild(node.children)} </bdi> ); }, ); export const HtmlBdoMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `bdo` tag.", isHtmlTag: true, props: { dir: d("Specifies the text direction override"), }, }); export const htmlBdoTagRenderer = createComponentRenderer( "bdo", HtmlBdoMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <bdo className={className} {...props}> {renderChild(node.children)} </bdo> ); }, ); export const HtmlBlockquoteMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `blockquote` tag.", isHtmlTag: true, props: { cite: d("Specifies the source of the quotation"), }, }); export const htmlBlockquoteTagRenderer = createComponentRenderer( "blockquote", HtmlBlockquoteMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <blockquote className={className} {...props}> {renderChild(node.children)} </blockquote> ); }, ); export const HtmlBrMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `br` tag.", isHtmlTag: true, }); export const htmlBrTagRenderer = createComponentRenderer( "br", HtmlBrMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <br className={className} {...props}> {renderChild(node.children)} </br> ); }, ); export const HtmlButtonMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `button` tag.", isHtmlTag: true, props: { autoFocus: d("Specifies that the button should automatically get focus when the page loads"), disabled: d("Specifies that the button should be disabled"), form: d("Specifies the form the button belongs to"), formAction: d( "Specifies the URL of a file that processes the information submitted by the button", ), formEncType: d( "Specifies how the form-data should be encoded when submitting it to the server", ), formMethod: d("Specifies the HTTP method to use when sending form-data"), formNoValidate: d("Specifies that the form should not be validated when submitted"), formTarget: d("Specifies where to display the response after submitting the form"), name: d("Specifies a name for the button"), type: d("Specifies the type of the button"), value: d("Specifies the value associated with the button"), }, }); export const htmlButtonTagRenderer = createComponentRenderer( "button", HtmlButtonMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { autoFocus, disabled, formNoValidate } = p.asOptionalBoolean( "autoFocus", "disabled", "formNoValidate", ); const props = p.asRest(); return ( <button className={className} autoFocus={autoFocus ?? false} disabled={disabled ?? false} formNoValidate={formNoValidate ?? false} {...props} > {renderChild(node.children)} </button> ); }, ); export const HtmlCanvasMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `canvas` tag.", isHtmlTag: true, props: { width: d("Specifies the width of the canvas"), height: d("Specifies the height of the canvas"), }, }); export const htmlCanvasTagRenderer = createComponentRenderer( "canvas", HtmlCanvasMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const sizeProps = p.asOptionalNumber("width", "height"); const props = p.asRest(); return ( <canvas className={className} {...sizeProps} {...props}> {renderChild(node.children)} </canvas> ); }, ); export const HtmlCaptionMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `caption` tag.", isHtmlTag: true, }); export const htmlCaptionTagRenderer = createComponentRenderer( "caption", HtmlCaptionMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <caption className={className} {...props}> {renderChild(node.children)} </caption> ); }, ); export const HtmlCiteMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `cite` tag.", isHtmlTag: true, }); export const htmlCiteTagRenderer = createComponentRenderer( "cite", HtmlCiteMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="cite"> {renderChild(node.children)} </Text> ); }, ); export const HtmlCodeMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `code` tag.", isHtmlTag: true, }); export const htmlCodeTagRenderer = createComponentRenderer( "code", HtmlCodeMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="code"> {renderChild(node.children)} </Text> ); }, ); export const HtmlColMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `col` tag.", isHtmlTag: true, props: { span: d("Specifies the number of columns a `col` element should span"), }, }); export const htmlColTagRenderer = createComponentRenderer( "col", HtmlColMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { span } = p.asOptionalNumber("span"); const props = p.asRest(); return ( <col className={className} span={span} {...props}> {renderChild(node.children)} </col> ); }, ); export const HtmlColgroupMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `colgroup` tag.", isHtmlTag: true, props: { span: d("Specifies the number of columns in a `colgroup`"), }, }); export const htmlColgroupTagRenderer = createComponentRenderer( "colgroup", HtmlColgroupMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { span } = p.asOptionalNumber("span"); const props = p.asRest(); return ( <colgroup className={className} span={span} {...props}> {renderChild(node.children)} </colgroup> ); }, ); export const HtmlDataMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `data` tag.", isHtmlTag: true, props: { value: d("Specifies the machine-readable value of the element"), }, }); export const htmlDataTagRenderer = createComponentRenderer( "data", HtmlDataMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <data className={className} {...props}> {renderChild(node.children)} </data> ); }, ); export const HtmlDatalistMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `datalist` tag.", isHtmlTag: true, }); export const htmlDatalistTagRenderer = createComponentRenderer( "datalist", HtmlDatalistMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <datalist className={className} {...props}> {renderChild(node.children)} </datalist> ); }, ); export const HtmlDdMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `dd` tag.", isHtmlTag: true, }); export const htmlDdTagRenderer = createComponentRenderer( "dd", HtmlDdMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <dd className={className} {...props}> {renderChild(node.children)} </dd> ); }, ); export const HtmlDelMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `del` tag.", isHtmlTag: true, props: { cite: d("Specifies the source of the quotation"), dateTime: d("Specifies the date and time of the edit"), }, }); export const htmlDelTagRenderer = createComponentRenderer( "del", HtmlDelMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="deleted"> {renderChild(node.children)} </Text> ); }, ); export const HtmlDetailsMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `details` tag.", isHtmlTag: true, props: { open: d("Specifies that the details are visible (open)"), }, themeVars: parseScssVar(styles.themeVarsDetails), defaultThemeVars: { "marginTop-HtmlDetails": "1rem", "marginBottom-HtmlDetails": "1rem", }, }); export const htmlDetailsTagRenderer = createComponentRenderer( "details", HtmlDetailsMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { open } = p.asOptionalBoolean("open"); const props = p.asRest(); return ( <details className={classnames(styles.htmlDetails, className)} open={open ?? false} {...props}> {renderChild(node.children)} </details> ); }, ); export const HtmlDfnMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `dfn` tag.", isHtmlTag: true, }); export const htmlDfnTagRenderer = createComponentRenderer( "dfn", HtmlDfnMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <dfn className={className} {...props}> {renderChild(node.children)} </dfn> ); }, ); export const HtmlDialogMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `dialog` tag.", isHtmlTag: true, props: { open: d("Specifies that the dialog is open"), }, }); export const htmlDialogTagRenderer = createComponentRenderer( "dialog", HtmlDialogMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { open } = p.asOptionalBoolean("open"); const props = p.asRest(); return ( <dialog className={className} open={open ?? false} {...props}> {renderChild(node.children)} </dialog> ); }, ); export const HtmlDivMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `div` tag.", isHtmlTag: true, }); export const htmlDivTagRenderer = createComponentRenderer( "div", HtmlDivMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <div className={className} {...props}> {renderChild(node.children)} </div> ); }, ); export const HtmlDlMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `dl` tag.", isHtmlTag: true, }); export const htmlDlTagRenderer = createComponentRenderer( "dl", HtmlDlMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <dl className={className} {...props}> {renderChild(node.children)} </dl> ); }, ); export const HtmlDtMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `dt` tag.", isHtmlTag: true, }); export const htmlDtTagRenderer = createComponentRenderer( "dt", HtmlDtMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <dt className={className} {...props}> {renderChild(node.children)} </dt> ); }, ); export const HtmlEMMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `em` tag.", isHtmlTag: true, }); export const htmlEMTagRenderer = createComponentRenderer( "em", HtmlEMMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="em"> {renderChild(node.children)} </Text> ); }, ); export const HtmlEmbedMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `embed` tag.", isHtmlTag: true, props: { src: d("Specifies the URL of the resource"), type: d("Specifies the type of the resource"), width: d("Specifies the width of the embed"), height: d("Specifies the height of the embed"), }, }); export const htmlEmbedTagRenderer = createComponentRenderer( "embed", HtmlEmbedMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { src } = p.asUrlResource("src"); const props = p.asRest(); return ( <embed className={className} src={src} {...props}> {renderChild(node.children)} </embed> ); }, ); export const HtmlFieldsetMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `fieldset` tag.", isHtmlTag: true, props: { disabled: d("Specifies that the fieldset should be disabled"), form: d("Specifies the form the fieldset belongs to"), name: d("Specifies a name for the fieldset"), }, }); export const htmlFieldsetTagRenderer = createComponentRenderer( "fieldset", HtmlFieldsetMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { disabled } = p.asOptionalBoolean("disabled"); const props = p.asRest(); return ( <fieldset className={className} disabled={disabled ?? false} {...props}> {renderChild(node.children)} </fieldset> ); }, ); export const HtmlFigcaptionMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `figcaption` tag.", isHtmlTag: true, }); export const htmlFigcaptionTagRenderer = createComponentRenderer( "figcaption", HtmlFigcaptionMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <figcaption className={className} {...props}> {renderChild(node.children)} </figcaption> ); }, ); export const HtmlFigureMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `figure` tag.", isHtmlTag: true, }); export const htmlFigureTagRenderer = createComponentRenderer( "figure", HtmlFigureMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <figure className={className} {...props}> {renderChild(node.children)} </figure> ); }, ); export const HtmlFooterMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `footer` tag.", isHtmlTag: true, }); export const htmlFooterTagRenderer = createComponentRenderer( "footer", HtmlFooterMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <footer className={className} {...props}> {renderChild(node.children)} </footer> ); }, ); export const HtmlFormMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `form` tag.", isHtmlTag: true, props: { acceptCharset: d( "Specifies the character encodings that are to be used for the form submission", ), action: d("Specifies where to send the form-data when a form is submitted"), autoComplete: d("Specifies whether a form should have auto-completion"), encType: d("Specifies how the form-data should be encoded when submitting it to the server"), method: d("Specifies the HTTP method to use when sending form-data"), name: d("Specifies the name of the form"), noValidate: d("Specifies that the form should not be validated when submitted"), target: d("Specifies where to display the response after submitting the form"), }, }); export const htmlFormTagRenderer = createComponentRenderer( "form", HtmlFormMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { noValidate } = p.asOptionalBoolean("noValidate"); const props = p.asRest(); return ( <form className={className} noValidate={noValidate ?? false} {...props}> {renderChild(node.children)} </form> ); }, ); export const HtmlH1Md = createMetadata({ status: "deprecated", description: "This component renders an HTML `h1` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsHeading), defaultThemeVars: { "marginTop-HtmlHeading": "1rem", "marginBottom-HtmlHeading": ".5rem", }, }); export const htmlH1TagRenderer = createComponentRenderer( "h1", HtmlH1Md, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Heading className={classnames(className, styles.htmlHeading)} {...props} level="h1"> {renderChild(node.children)} </Heading> ); }, ); export const HtmlH2Md = createMetadata({ status: "deprecated", description: "This component renders an HTML `h2` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsHeading), defaultThemeVars: { "marginTop-HtmlHeading": "1rem", "marginBottom-HtmlHeading": ".5rem", }, }); export const htmlH2TagRenderer = createComponentRenderer( "h2", HtmlH2Md, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Heading className={classnames(className, styles.htmlHeading)} {...props} level="h2"> {renderChild(node.children)} </Heading> ); }, ); export const HtmlH3Md = createMetadata({ status: "deprecated", description: "This component renders an HTML `h3` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsHeading), defaultThemeVars: { "marginTop-HtmlHeading": "1rem", "marginBottom-HtmlHeading": ".5rem", }, }); export const htmlH3TagRenderer = createComponentRenderer( "h3", HtmlH3Md, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Heading className={classnames(className, styles.htmlHeading)} {...props} level="h3"> {renderChild(node.children)} </Heading> ); }, ); export const HtmlH4Md = createMetadata({ status: "deprecated", description: "This component renders an HTML `h4` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsHeading), defaultThemeVars: { "marginTop-HtmlHeading": "1rem", "marginBottom-HtmlHeading": ".5rem", }, }); export const htmlH4TagRenderer = createComponentRenderer( "h4", HtmlH4Md, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Heading className={classnames(className, styles.htmlHeading)} {...props} level="h4"> {renderChild(node.children)} </Heading> ); }, ); export const HtmlH5Md = createMetadata({ status: "deprecated", description: "This component renders an HTML `h5` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsHeading), defaultThemeVars: { "marginTop-HtmlHeading": "1rem", "marginBottom-HtmlHeading": ".5rem", }, }); export const htmlH5TagRenderer = createComponentRenderer( "h5", HtmlH5Md, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Heading className={classnames(className, styles.htmlHeading)} {...props} level="h5"> {renderChild(node.children)} </Heading> ); }, ); export const HtmlH6Md = createMetadata({ status: "deprecated", description: "This component renders an HTML `h6` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsHeading), defaultThemeVars: { "marginTop-HtmlHeading": "1rem", "marginBottom-HtmlHeading": ".5rem", }, }); export const htmlH6TagRenderer = createComponentRenderer( "h6", HtmlH6Md, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Heading className={classnames(className, styles.htmlHeading)} {...props} level="h6"> {renderChild(node.children)} </Heading> ); }, ); export const HtmlHeaderMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `header` tag.", isHtmlTag: true, }); export const htmlHeaderTagRenderer = createComponentRenderer( "header", HtmlHeaderMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <header className={className} {...props}> {renderChild(node.children)} </header> ); }, ); export const HtmlHrMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `hr` tag.", isHtmlTag: true, }); export const htmlHrTagRenderer = createComponentRenderer( "hr", HtmlHrMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <hr className={className} {...props}> {renderChild(node.children)} </hr> ); }, ); export const HtmlIMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `i` tag.", isHtmlTag: true, }); export const htmlITagRenderer = createComponentRenderer( "i", HtmlIMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <i className={className} {...props}> {renderChild(node.children)} </i> ); }, ); export const HtmlIframeMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `iframe` tag.", isHtmlTag: true, props: { src: d("Specifies the URL of the page to embed"), srcDoc: d("Specifies the HTML content of the page to embed"), name: d("Specifies the name of the iframe"), sandbox: d("Specifies a set of extra restrictions for the content in the iframe"), allow: d("Specifies a feature policy for the iframe"), allowFullScreen: d("Specifies that the iframe can be displayed in full-screen mode"), width: d("Specifies the width of the iframe"), height: d("Specifies the height of the iframe"), loading: d("Specifies the loading behavior of the iframe"), referrerPolicy: d("Specifies the referrer policy for the iframe"), }, }); export const htmlIframeTagRenderer = createComponentRenderer( "iframe", HtmlIframeMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { src } = p.asUrlResource("src"); const { allowFullScreen } = p.asOptionalBoolean("allowFullScreen"); const props = p.asRest(); return ( <iframe className={className} src={src} allowFullScreen={allowFullScreen ?? false} {...props}> {renderChild(node.children)} </iframe> ); }, ); export const HtmlImgMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `img` tag.", isHtmlTag: true, props: { alt: d("Specifies an alternate text for an image"), height: d("Specifies the height of an image"), src: d("Specifies the path to the image"), width: d("Specifies the width of an image"), useMap: d("Specifies an image as a client-side image map"), loading: d("Specifies the loading behavior of the image"), referrerPolicy: d("Specifies the referrer policy for the image"), sizes: d("Specifies image sizes for different page layouts"), } }); export const htmlImgTagRenderer = createComponentRenderer( "img", HtmlImgMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { src } = p.asUrlResource("src"); const props = p.asRest() as Record<string, any>; return ( <img className={className} src={src} {...props}> {renderChild(node.children)} </img> ); }, ); export const HtmlInputMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `input` tag.", isHtmlTag: true, props: { type: d("Specifies the type of input"), value: d("Specifies the value of the input"), placeholder: d("Specifies a short hint that describes the expected value of the input"), autoFocus: d("Specifies that the input should automatically get focus when the page loads"), checked: d("Specifies that the input should be pre-selected"), disabled: d("Specifies that the input should be disabled"), form: d("Specifies the form the input belongs to"), name: d("Specifies the name of the input"), list: d( "Specifies the id of a datalist element that contains pre-defined options for the input", ), max: d("Specifies the maximum value for an input"), maxLength: d("Specifies the maximum number of characters allowed in an input"), min: d("Specifies the minimum value for an input"), minLength: d("Specifies the minimum number of characters allowed in an input"), multiple: d("Specifies that a user can enter more than one value"), pattern: d("Specifies a regular expression that an input's value is checked against"), readOnly: d("Specifies that the input is read-only"), required: d("Specifies that the input is required"), size: d("Specifies the width, in characters, of an input"), step: d("Specifies the legal number intervals for an input"), }, }); export const htmlInputTagRenderer = createComponentRenderer( "input", HtmlInputMd, ({ node, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { autoFocus, checked, disabled, readOnly, required, multiple } = p.asOptionalBoolean( "autoFocus", "checked", "disabled", "readOnly", "required", "multiple", ); const numberProps = p.asOptionalNumber("maxLength", "minLength", "size"); const props = p.asRest(); return ( <input className={className} autoFocus={autoFocus ?? false} checked={checked ?? false} disabled={disabled ?? false} multiple={multiple ?? false} readOnly={readOnly ?? false} required={required ?? false} {...numberProps} {...props} /> ); }, ); export const HtmlInsMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `ins` tag.", isHtmlTag: true, props: { cite: d("Specifies the source URL for the inserted text"), dateTime: d("Specifies the date and time when the text was inserted"), }, }); export const htmlInsTagRenderer = createComponentRenderer( "ins", HtmlInsMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="inserted"> {renderChild(node.children)} </Text> ); }, ); export const HtmlKbdMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `kbd` tag.", isHtmlTag: true, }); export const htmlKbdTagRenderer = createComponentRenderer( "kbd", HtmlKbdMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="keyboard"> {renderChild(node.children)} </Text> ); }, ); export const HtmlLabelMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `label` tag.", isHtmlTag: true, props: { htmlFor: d("Specifies which form element a label is bound to"), }, }); export const htmlLabelTagRenderer = createComponentRenderer( "label", HtmlLabelMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <label className={className} {...props}> {renderChild(node.children)} </label> ); }, ); export const HtmlLegendMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `legend` tag.", isHtmlTag: true, }); export const htmlLegendTagRenderer = createComponentRenderer( "legend", HtmlLegendMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <legend className={className} {...props}> {renderChild(node.children)} </legend> ); }, ); export const HtmlLiMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `li` tag.", isHtmlTag: true, props: { value: d("Specifies the value of the list item (if the parent is an ordered list)"), }, defaultThemeVars: { "marginLeft-HtmlLi": "$space-6", "paddingLeft-HtmlLi": "$space-1", } }); export const htmlLiTagRenderer = createComponentRenderer( "li", HtmlLiMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { value } = p.asOptionalNumber("value"); const props = p.asRest(); return ( <li className={className} value={value} {...props}> {renderChild(node.children)} </li> ); }, ); export const HtmlMainMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `main` tag.", isHtmlTag: true, }); export const htmlMainTagRenderer = createComponentRenderer( "main", HtmlMainMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <main className={className} {...props}> {renderChild(node.children)} </main> ); }, ); export const HtmlMapMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `map` tag.", isHtmlTag: true, props: { name: d("Specifies the name of the map"), }, }); export const htmlMapTagRenderer = createComponentRenderer( "map", HtmlMapMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <map className={className} {...props}> {renderChild(node.children)} </map> ); }, ); export const HtmlMarkMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `mark` tag.", isHtmlTag: true, }); export const htmlMarkTagRenderer = createComponentRenderer( "mark", HtmlMarkMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="marked"> {renderChild(node.children)} </Text> ); }, ); export const HtmlMenuMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `menu` tag.", isHtmlTag: true, props: { type: d("Specifies the type of the menu"), }, }); export const htmlMenuTagRenderer = createComponentRenderer( "menu", HtmlMenuMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <menu className={className} {...props}> {renderChild(node.children)} </menu> ); }, ); export const HtmlMeterMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `meter` tag.", isHtmlTag: true, props: { min: d("Specifies the minimum value"), max: d("Specifies the maximum value"), low: d("Specifies the lower bound of the high value"), high: d("Specifies the upper bound of the low value"), optimum: d("Specifies the optimal value"), value: d("Specifies the current value"), }, }); export const htmlMeterTagRenderer = createComponentRenderer( "meter", HtmlMeterMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const numberProps = p.asOptionalNumber("value", "min", "max", "low", "high", "optimum"); const props = p.asRest(); return ( <meter className={className} {...numberProps} {...props}> {renderChild(node.children)} </meter> ); }, ); export const HtmlNavMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `nav` tag.", isHtmlTag: true, }); export const htmlNavTagRenderer = createComponentRenderer( "nav", HtmlNavMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <nav className={className} {...props}> {renderChild(node.children)} </nav> ); }, ); export const HtmlObjectMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `object` tag.", isHtmlTag: true, props: { data: d("Specifies the URL of the resource"), type: d("Specifies the MIME type of the resource"), name: d("Specifies the name of the object"), form: d("Specifies the form the object belongs to"), width: d("Specifies the width of the object"), height: d("Specifies the height of the object"), }, }); export const htmlObjectTagRenderer = createComponentRenderer( "object", HtmlObjectMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <object className={className} {...props}> {renderChild(node.children)} </object> ); }, ); export const HtmlOlMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `ol` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsList), // Use only themeVarsList defaultThemeVars: { "marginTop-HtmlOl": "$space-5", "marginBottom-HtmlOl": "$space-5", }, }); export const htmlOlTagRenderer = createComponentRenderer( "ol", HtmlOlMd, // Use HtmlOlMd instead of HtmlListMd ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <ol className={classnames(styles.htmlOl, className)} {...props}> {renderChild(node.children)} </ol> ); }, ); export const HtmlOptgroupMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `optgroup` tag.", isHtmlTag: true, props: { label: d("Specifies the label for the option group"), disabled: d("Specifies that the option group is disabled"), }, }); export const htmlOptgroupTagRenderer = createComponentRenderer( "optgroup", HtmlOptgroupMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { disabled } = p.asOptionalBoolean("disabled"); const props = p.asRest(); return ( <optgroup className={className} disabled={disabled ?? false} {...props}> {renderChild(node.children)} </optgroup> ); }, ); export const HtmlOptionMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `option` tag.", isHtmlTag: true, props: { disabled: d("Specifies that the option should be disabled"), label: d("Specifies the label of the option"), selected: d("Specifies that the option should be pre-selected"), value: d("Specifies the value of the option"), }, }); export const htmlOptionTagRenderer = createComponentRenderer( "option", HtmlOptionMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { disabled, selected } = p.asOptionalBoolean("disabled", "selected"); const props = p.asRest(); return ( <option className={className} disabled={disabled ?? false} selected={selected ?? false} {...props} > {renderChild(node.children)} </option> ); }, ); export const HtmlOutputMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `output` tag.", isHtmlTag: true, props: { form: d("Specifies the form element that the output is associated with"), htmlFor: d("Specifies the IDs of the elements that this output is related to"), name: d("Specifies the name of the output"), }, }); export const htmlOutputTagRenderer = createComponentRenderer( "output", HtmlOutputMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <output className={className} {...props}> {renderChild(node.children)} </output> ); }, ); export const HtmlPMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `p` tag.", isHtmlTag: true, }); export const htmlPTagRenderer = createComponentRenderer( "p", HtmlPMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="paragraph"> {renderChild(node.children)} </Text> ); }, ); export const HtmlParamMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `param` tag.", isHtmlTag: true, props: { name: d("Specifies the name of the parameter"), value: d("Specifies the value of the parameter"), }, }); export const htmlParamTagRenderer = createComponentRenderer( "param", HtmlParamMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <param className={className} {...props}> {renderChild(node.children)} </param> ); }, ); export const HtmlPictureMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `picture` tag.", isHtmlTag: true, }); export const htmlPictureTagRenderer = createComponentRenderer( "picture", HtmlPictureMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <picture className={className} {...props}> {renderChild(node.children)} </picture> ); }, ); export const HtmlPreMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `pre` tag.", isHtmlTag: true, }); export const htmlPreTagRenderer = createComponentRenderer( "pre", HtmlPreMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="codefence"> {renderChild(node.children)} </Text> ); }, ); export const HtmlProgressMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `progress` tag.", isHtmlTag: true, props: { max: d("Specifies the maximum value of the progress element"), value: d("Specifies the current value of the progress element"), }, }); export const htmlProgressTagRenderer = createComponentRenderer( "progress", HtmlProgressMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const numberProps = p.asOptionalNumber("max", "value"); const props = p.asRest(); return ( <progress className={className} {...numberProps} {...props}> {renderChild(node.children)} </progress> ); }, ); export const HtmlQMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `q` tag.", isHtmlTag: true, props: { cite: d("Specifies the source URL of the quotation"), }, }); export const htmlQTagRenderer = createComponentRenderer( "q", HtmlQMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <q className={className} {...props}> {renderChild(node.children)} </q> ); }, ); export const HtmlRpMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `rp` tag.", isHtmlTag: true, }); export const htmlRpTagRenderer = createComponentRenderer( "rp", HtmlRpMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <rp className={className} {...props}> {renderChild(node.children)} </rp> ); }, ); export const HtmlRtMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `rt` tag.", isHtmlTag: true, }); export const htmlRtTagRenderer = createComponentRenderer( "rt", HtmlRtMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <rt className={className} {...props}> {renderChild(node.children)} </rt> ); }, ); export const HtmlRubyMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `ruby` tag.", isHtmlTag: true, }); export const htmlRubyTagRenderer = createComponentRenderer( "ruby", HtmlRubyMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <ruby className={className} {...props}> {renderChild(node.children)} </ruby> ); }, ); export const HtmlSMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `s` tag.", isHtmlTag: true, }); export const htmlSTagRenderer = createComponentRenderer( "s", HtmlSMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <s className={className} {...props}> {renderChild(node.children)} </s> ); }, ); export const HtmlSampMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `samp` tag.", isHtmlTag: true, }); export const htmlSampTagRenderer = createComponentRenderer( "samp", HtmlSampMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="sample"> {renderChild(node.children)} </Text> ); }, ); export const HtmlSectionMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `section` tag.", isHtmlTag: true, }); export const htmlSectionTagRenderer = createComponentRenderer( "section", HtmlSectionMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <section className={className} {...props}> {renderChild(node.children)} </section> ); }, ); export const HtmlSelectMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `select` tag.", isHtmlTag: true, props: { autoFocus: d("Specifies that the select should automatically get focus when the page loads"), disabled: d("Specifies that the select should be disabled"), form: d("Specifies the form the select belongs to"), multiple: d("Specifies that multiple options can be selected at once"), name: d("Specifies the name of the select"), required: d("Specifies that the select is required"), size: d("Specifies the number of visible options in the select"), }, }); export const htmlSelectTagRenderer = createComponentRenderer( "select", HtmlSelectMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { autoFocus, disabled, multiple, required } = p.asOptionalBoolean( "autoFocus", "disabled", "multiple", "required", ); const { size } = p.asOptionalNumber("size"); const props = p.asRest(); return ( <select className={className} autoFocus={autoFocus ?? false} disabled={disabled ?? false} multiple={multiple ?? false} required={required ?? false} size={size} {...props} > {renderChild(node.children)} </select> ); }, ); export const HtmlSmallMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `small` tag.", isHtmlTag: true, }); export const htmlSmallTagRenderer = createComponentRenderer( "small", HtmlSmallMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="small"> {renderChild(node.children)} </Text> ); }, ); export const HtmlSourceMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `source` tag.", isHtmlTag: true, props: { src: d("Specifies the URL of the media file"), type: d("Specifies the type of the media file"), media: d("Specifies a media query for the media file"), srcSet: d("Specifies the source set for responsive images"), sizes: d("Specifies the sizes attribute for responsive images"), }, }); export const htmlSourceTagRenderer = createComponentRenderer( "source", HtmlSourceMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { src } = p.asUrlResource("src"); const props = p.asRest(); return ( <source className={className} src={src} {...props}> {renderChild(node.children)} </source> ); }, ); export const HtmlSpanMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `span` tag.", isHtmlTag: true, }); export const htmlSpanTagRenderer = createComponentRenderer( "span", HtmlSpanMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <span className={className} {...props}> {renderChild(node.children)} </span> ); }, ); export const HtmlStrongMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `strong` tag.", isHtmlTag: true, }); export const htmlStrongTagRenderer = createComponentRenderer( "strong", HtmlStrongMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="strong"> {renderChild(node.children)} </Text> ); }, ); export const HtmlSubMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `sub` tag.", isHtmlTag: true, }); export const htmlSubTagRenderer = createComponentRenderer( "sub", HtmlSubMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="sub"> {renderChild(node.children)} </Text> ); }, ); export const HtmlSummaryMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `summary` tag.", isHtmlTag: true, }); export const htmlSummaryTagRenderer = createComponentRenderer( "summary", HtmlSummaryMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <summary className={className} {...props}> {renderChild(node.children)} </summary> ); }, ); export const HtmlSupMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `sup` tag.", isHtmlTag: true, }); export const htmlSupTagRenderer = createComponentRenderer( "sup", HtmlSupMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="sup"> {renderChild(node.children)} </Text> ); }, ); export const HtmlTableMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `table` tag.", isHtmlTag: true, props: { border: d("Specifies the width of the border around the table"), cellPadding: d("Specifies the space between the cell content and its borders"), cellSpacing: d("Specifies the space between cells"), summary: d("Provides a summary of the table's purpose and structure"), width: d("Specifies the width of the table"), align: d("Specifies the alignment of the table"), frame: d("Specifies which parts of the table frame to render"), rules: d("Specifies which rules to draw between cells"), }, themeVars: parseScssVar(styles.themeVarsTable), defaultThemeVars: { "backgroundColor-HtmlTable": "$backgroundColor", "border-HtmlTable": "1px solid $borderColor", "marginBottom-HtmlTable": "$space-4", "marginTop-HtmlTable": "$space-4", }, }); export const htmlTableTagRenderer = createComponentRenderer( "table", HtmlTableMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <table className={classnames(styles.htmlTable, className)} {...props}> {renderChild(node.children)} </table> ); }, ); export const HtmlTbodyMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `tbody` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsTbody), }); export const htmlTbodyTagRenderer = createComponentRenderer( "tbody", HtmlTbodyMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <tbody className={classnames(styles.htmlTbody, className)} {...props}> {renderChild(node.children)} </tbody> ); }, ); export const HtmlTdMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `td` tag.", isHtmlTag: true, props: { align: d("Specifies the horizontal alignment of the content in the cell"), colSpan: d("Specifies the number of columns a cell should span"), headers: d("Specifies a list of header cells the current cell is related to"), rowSpan: d("Specifies the number of rows a cell should span"), valign: d("Specifies the vertical alignment of the content in the cell"), scope: d("Specifies whether a cell is a header for a column, row, or group of columns or rows"), abbr: d("Specifies an abbreviated version of the content in the cell"), height: d("Specifies the height of the cell"), width: d("Specifies the width of the cell"), }, themeVars: parseScssVar(styles.themeVarsTd), defaultThemeVars: { "padding-HtmlTd": "$space-2", "borderBottom-HtmlTd": "1px solid $borderColor", }, }); export const htmlTdTagRenderer = createComponentRenderer( "td", HtmlTdMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <td className={classnames(styles.htmlTd, className)} {...props}> {renderChild(node.children)} </td> ); }, ); export const HtmlTemplateMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `template` tag.", isHtmlTag: true, }); export const htmlTemplateTagRenderer = createComponentRenderer( "template", HtmlTemplateMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <template className={className} {...props}> {renderChild(node.children)} </template> ); }, ); export const HtmlTextareaMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `textarea` tag.", isHtmlTag: true, props: { autoFocus: d("Specifies that the textarea should automatically get focus when the page loads"), cols: d("Specifies the visible width of the text area in average character widths"), dirName: d("Specifies the text directionality"), disabled: d("Specifies that the textarea should be disabled"), form: d("Specifies the form the textarea belongs to"), maxLength: d("Specifies the maximum number of characters allowed in the textarea"), minLength: d("Specifies the minimum number of characters allowed in the textarea"), name: d("Specifies the name of the textarea"), placeholder: d("Specifies a short hint that describes the expected value"), readOnly: d("Specifies that the textarea is read-only"), required: d("Specifies that the textarea is required"), rows: d("Specifies the visible number of lines in the textarea"), value: d("Specifies the current value of the textarea"), wrap: d("Specifies how the text in a textarea is to be wrapped when submitted"), }, }); export const htmlTextareaTagRenderer = createComponentRenderer( "textarea", HtmlTextareaMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { autoFocus, disabled, readOnly, required } = p.asOptionalBoolean( "autoFocus", "disabled", "readOnly", "required", ); const numberProps = p.asOptionalNumber("cols", "rows", "maxLength", "minLength"); const props = p.asRest(); return ( <textarea className={className} autoFocus={autoFocus ?? false} disabled={disabled ?? false} readOnly={readOnly ?? false} required={required ?? false} {...numberProps} {...props} > {renderChild(node.children)} </textarea> ); }, ); export const HtmlTfootMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `tfoot` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsTfoot), }); export const htmlTfootTagRenderer = createComponentRenderer( "tfoot", HtmlTfootMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <tfoot className={classnames(styles.htmlTfoot, className)} {...props}> {renderChild(node.children)} </tfoot> ); }, ); export const HtmlThMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `th` tag.", isHtmlTag: true, props: { abbr: d("Specifies an abbreviated version of the content in the header cell"), align: d("Specifies the horizontal alignment of the content in the header cell"), colSpan: d("Specifies the number of columns a header cell should span"), headers: d("Specifies a list of header cells the current header cell is related to"), rowSpan: d("Specifies the number of rows a header cell should span"), scope: d( "Specifies whether a header cell is a header for a column, row, or group of columns or rows", ), }, themeVars: parseScssVar(styles.themeVarsTh), defaultThemeVars: { "padding-HtmlTh": "$space-2", "fontSize-HtmlTh": "$fontSize-tiny", "fontWeight-HtmlTh": "$fontWeight-bold", //"backgroundColor-HtmlTh--hover": "$color-surface-200", }, }); export const htmlThTagRenderer = createComponentRenderer( "th", HtmlThMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <th className={classnames(styles.htmlTh, className)} {...props}> {renderChild(node.children)} </th> ); }, ); export const HtmlTheadMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `thead` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsThead), defaultThemeVars: { "textTransform-HtmlThead": "uppercase", "backgroundColor-HtmlThead": "$color-surface-100", "textColor-HtmlThead": "$color-surface-500", }, }); export const htmlTheadTagRenderer = createComponentRenderer( "thead", HtmlTheadMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <thead className={classnames(styles.htmlThead, className)} {...props}> {renderChild(node.children)} </thead> ); }, ); export const HtmlTimeMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `time` tag.", isHtmlTag: true, props: { dateTime: d("Specifies the date and time in a machine-readable format"), }, }); export const htmlTimeTagRenderer = createComponentRenderer( "time", HtmlTimeMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <time className={className} {...props}> {renderChild(node.children)} </time> ); }, ); export const HtmlTrMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `tr` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsTr), defaultThemeVars: { "fontSize-HtmlTr": "$fontSize-sm", "backgroundColor-row-HtmlTr": "inherit", //"backgroundColor-HtmlTr--hover": "$color-primary-50", }, }); export const htmlTrTagRenderer = createComponentRenderer( "tr", HtmlTrMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <tr className={classnames(styles.htmlTr, className)} {...props}> {renderChild(node.children)} </tr> ); }, ); export const HtmlTrackMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `track` tag.", isHtmlTag: true, props: { default: d("Specifies that the track is to be enabled if no other track is more suitable"), kind: d("Specifies the kind of text track"), label: d("Specifies the title of the text track"), src: d("Specifies the URL of the track file"), srcLang: d("Specifies the language of the track text data"), }, }); export const htmlTrackTagRenderer = createComponentRenderer( "track", HtmlTrackMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { src } = p.asUrlResource("src"); const { default: defaultProp } = p.asOptionalBoolean("default"); const props = p.asRest(); return ( <track className={className} default={defaultProp ?? false} src={src} {...props}> {renderChild(node.children)} </track> ); }, ); export const HtmlUMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `u` tag.", isHtmlTag: true, }); export const htmlUTagRenderer = createComponentRenderer( "u", HtmlUMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <u className={className} {...props}> {renderChild(node.children)} </u> ); }, ); export const HtmlUlMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `ul` tag.", isHtmlTag: true, themeVars: parseScssVar(styles.themeVarsList), // Use only themeVarsList defaultThemeVars: { "marginTop-HtmlUl": "$space-5", "marginBottom-HtmlUl": "$space-5", }, }); export const htmlUlTagRenderer = createComponentRenderer( "ul", HtmlUlMd, // Use HtmlOlMd instead of HtmlListMd ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <ul className={classnames(styles.htmlUl, className)} {...props}> {renderChild(node.children)} </ul> ); }, ); export const HtmlVarMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `var` tag.", isHtmlTag: true, }); export const htmlVarTagRenderer = createComponentRenderer( "var", HtmlCodeMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <Text className={className} {...props} variant="var"> {renderChild(node.children)} </Text> ); }, ); export const HtmlVideoMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `video` tag.", isHtmlTag: true, props: { autoPlay: d("Specifies that the video will start playing as soon as it is ready"), controls: d("Specifies that video controls should be displayed"), height: d("Specifies the height of the video player"), loop: d("Specifies that the video will start over again when finished"), muted: d("Specifies that the video output should be muted"), poster: d("Specifies an image to be shown while the video is downloading"), preload: d( "Specifies if and how the author thinks the video should be loaded when the page loads", ), src: d("Specifies the URL of the video file"), width: d("Specifies the width of the video player"), }, themeVars: parseScssVar(styles.themeVarsVideo), defaultThemeVars: { "marginTop-HtmlVideo": "1rem", "marginBottom-HtmlVideo": "1rem", }, }); export const htmlVideoTagRenderer = createComponentRenderer( "video", HtmlVideoMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const { src } = p.asUrlResource("src"); const { autoPlay, controls, loop, muted } = p.asOptionalBoolean( "autoPlay", "controls", "loop", "muted", ); const props = p.asRest(); return ( <video className={className} src={src} autoPlay={autoPlay ?? false} controls={controls ?? false} loop={loop ?? false} muted={muted ?? false} {...props} > {renderChild(node.children)} </video> ); }, ); export const HtmlWbrMd = createMetadata({ status: "deprecated", description: "This component renders an HTML `wbr` tag.", isHtmlTag: true, }); export const htmlWbrTagRenderer = createComponentRenderer( "wbr", HtmlWbrMd, ({ node, renderChild, extractValue, extractResourceUrl, className }) => { const p = new PropsTrasform(extractValue, extractResourceUrl, node.props); const props = p.asRest(); return ( <wbr className={className} {...props}> {renderChild(node.children)} </wbr> ); }, ); ```