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