#
tokens: 52596/50000 1/1644 files (page 170/179)
lines: on (toggle) GitHub
raw markdown copy reset
This is page 170 of 179. Use http://codebase.md/xmlui-org/xmlui/mockApiDef.js?lines=true&page={x} to view the full context.

# Directory Structure

```
├── .changeset
│   ├── cold-items-taste.md
│   ├── config.json
│   ├── empty-spiders-dress.md
│   ├── shy-windows-allow.md
│   ├── sour-coins-read.md
│   ├── tame-zebras-invite.md
│   ├── three-ideas-invent.md
│   ├── twenty-jeans-watch.md
│   ├── warm-spies-melt.md
│   └── whole-ways-cry.md
├── .eslintrc.cjs
├── .github
│   ├── build-checklist.png
│   ├── ISSUE_TEMPLATE
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── workflows
│       ├── 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
    │   ├── actions.md
    │   ├── AppRoot.md
    │   ├── component-apis.md
    │   ├── component-rendering.md
    │   ├── component-review-checklist.md
    │   ├── containers.md
    │   ├── data-sources.md
    │   ├── e2e-summary.md
    │   ├── expression-evaluation.md
    │   ├── glossary.md
    │   ├── helper-components.md
    │   ├── index.md
    │   ├── loaders.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
    │   ├── rendering-fundamentals.md
    │   ├── reusable-components.md
    │   ├── standalone-apps.md
    │   ├── state-management.md
    │   └── xmlui-extensibility.xlsx
    ├── 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/Avatar/Avatar.spec.ts:
--------------------------------------------------------------------------------

```typescript
   1 | import { getBounds } from "../../testing/component-test-helpers";
   2 | import { expect, test } from "../../testing/fixtures";
   3 | import { sizeValues } from "../abstractions";
   4 | import { defaultProps } from "./AvatarNative";
   5 | 
   6 | test.describe("smoke tests", { tag: "@smoke" }, () => {
   7 |   test("No initials without name", async ({ initTestBed, createAvatarDriver }) => {
   8 |     await initTestBed(`<Avatar />`);
   9 |     await expect((await createAvatarDriver()).component).toBeEmpty();
  10 |   });
  11 | 
  12 |   test("Can render 2 initials", async ({ initTestBed, createAvatarDriver }) => {
  13 |     await initTestBed(`<Avatar name="Tim Smith"/>`);
  14 |     await expect((await createAvatarDriver()).component).toContainText("TS");
  15 |   });
  16 | });
  17 | 
  18 | test("empty name shows no initials", async ({ initTestBed, createAvatarDriver }) => {
  19 |   await initTestBed(`<Avatar name=""/>`);
  20 |   await expect((await createAvatarDriver()).component).toBeEmpty();
  21 | });
  22 | 
  23 | test("name with symbols renders initials", async ({ initTestBed, createAvatarDriver }) => {
  24 |   await initTestBed(`<Avatar name="B 'Alan"/>`);
  25 |   await expect((await createAvatarDriver()).component).toContainText("B'");
  26 | });
  27 | 
  28 | test("numeric name renders initials", async ({ initTestBed, createAvatarDriver }) => {
  29 |   await initTestBed(`<Avatar name="123"/>`);
  30 |   await expect((await createAvatarDriver()).component).toContainText("1");
  31 | });
  32 | 
  33 | test("unicode name renders initials", async ({ initTestBed, createAvatarDriver }) => {
  34 |   await initTestBed(`<Avatar name="孔丘"/>`);
  35 |   await expect((await createAvatarDriver()).component).toContainText("孔");
  36 | });
  37 | 
  38 | test("single name renders one initial", async ({ initTestBed, createAvatarDriver }) => {
  39 |   await initTestBed(`<Avatar name="Tim"/>`);
  40 |   await expect((await createAvatarDriver()).component).toContainText("T");
  41 | });
  42 | 
  43 | test("three words render three initials", async ({ initTestBed, createAvatarDriver }) => {
  44 |   await initTestBed(`<Avatar name="Tim John Smith"/>`);
  45 |   await expect((await createAvatarDriver()).component).toContainText("TJS");
  46 | });
  47 | 
  48 | test("many words limited to three initials", async ({ initTestBed, createAvatarDriver }) => {
  49 |   await initTestBed(`<Avatar name="Tim John Smith Jones"/>`);
  50 |   await expect((await createAvatarDriver()).component).toContainText("TJS");
  51 | });
  52 | 
  53 | // sizes.forEach((tc) =>{
  54 | //   test(`"${tc.size}" works with no name`, async ({}) => {
  55 | //   });
  56 | 
  57 | //   test(`"${tc.size}" works with empty name`, async ({}) => {
  58 | //   });
  59 | 
  60 | //   test(`"${tc.size}" works with "I"`, async ({}) => {
  61 | //   });
  62 | 
  63 | //   test(`"${tc.size}" works with "WWW"`, async ({}) => {
  64 | //   });
  65 | //   test(`"${tc.size}" works with image`, async ({}) => {
  66 | //   });
  67 | // })
  68 | 
  69 | // test("url image status 404", async ({ }) => {
  70 | // });
  71 | 
  72 | // test("url image status 400", async ({ }) => {
  73 | // });
  74 | 
  75 | // test("url returns non-image", async ({ }) => {
  76 | // });
  77 | 
  78 | // sizes.forEach((tc) => {
  79 | //   test(`${tc.size} url image 100x100px`, async ({ }) => {
  80 | //   });
  81 | 
  82 | //   test(`${tc.size} url image 100x200px`, async ({ }) => {
  83 | //   });
  84 | 
  85 | //   test(`${tc.size} url image 200x100px`, async ({ }) => {
  86 | //   });
  87 | // });
  88 | 
  89 | test("test state initializes correctly", async ({ initTestBed }) => {
  90 |   const { testStateDriver } = await initTestBed(`<Fragment />`);
  91 |   await expect.poll(testStateDriver.testState).toEqual(null);
  92 | });
  93 | 
  94 | test("click handler triggers correctly", async ({ initTestBed, createAvatarDriver }) => {
  95 |   const { testStateDriver } = await initTestBed(
  96 |     `<Avatar name="Molly Dough" onClick="testState = true" />`,
  97 |   );
  98 |   const driver = await createAvatarDriver();
  99 | 
 100 |   await driver.click();
 101 |   await expect.poll(testStateDriver.testState).toEqual(true);
 102 | });
 103 | 
 104 | // --- Size Property Tests ---
 105 | 
 106 | test("size", async ({ initTestBed, page }) => {
 107 |   const components = sizeValues
 108 |     .map((size) => {
 109 |       return `<Avatar testId="${size}" size="${size}" name="Lynn Gilbert" />`;
 110 |     })
 111 |     .join("\n");
 112 | 
 113 |   await initTestBed(`<Fragment>${components}</Fragment>`);
 114 |   const { width: widthXs } = await getBounds(page.getByTestId("xs"));
 115 |   const { width: widthSm } = await getBounds(page.getByTestId("sm"));
 116 |   const { width: widthMd } = await getBounds(page.getByTestId("md"));
 117 |   const { width: widthLg } = await getBounds(page.getByTestId("lg"));
 118 | 
 119 |   expect(widthXs).toBeLessThan(widthSm);
 120 |   expect(widthSm).toBeLessThan(widthMd);
 121 |   expect(widthMd).toBeLessThan(widthLg);
 122 | });
 123 | 
 124 | test(`invalid size falls back to default ${defaultProps.size}`, async ({
 125 |   initTestBed,
 126 |   createAvatarDriver,
 127 | }) => {
 128 |   await initTestBed(`
 129 |     <Fragment>
 130 |       <Avatar testId="reference" name="Lynn Gilbert" size="${defaultProps.size}" />
 131 |       <Avatar testId="invalid" name="Invalid Size" size="invalid"/>
 132 |     </Fragment>
 133 |   `);
 134 |   const driverReference = await createAvatarDriver("reference");
 135 |   const driverInvalid = await createAvatarDriver("invalid");
 136 |   const { width: widthRef, height: heightRef } = await getBounds(driverReference.component);
 137 |   const { width: widthInvalid, height: heightInvalid } = await getBounds(driverInvalid.component);
 138 | 
 139 |   await expect(driverInvalid.component).toBeVisible();
 140 |   expect(widthInvalid).toBe(widthRef);
 141 |   expect(heightInvalid).toBe(heightRef);
 142 | });
 143 | 
 144 | test(`no size prop defaults to ${defaultProps.size}`, async ({
 145 |   initTestBed,
 146 |   createAvatarDriver,
 147 | }) => {
 148 |   await initTestBed(
 149 |     `<Fragment>
 150 |       <Avatar testId="reference" name="Lynn Gilbert" size="${defaultProps.size}" />
 151 |       <Avatar testId="default" name="Default Size" />
 152 |     </Fragment>`,
 153 |   );
 154 |   const driverReference = await createAvatarDriver("reference");
 155 |   const driverDefault = await createAvatarDriver("default");
 156 |   const { width: widthRef, height: heightRef } = await getBounds(driverReference.component);
 157 |   const { width: widthDefault, height: heightDefault } = await getBounds(driverDefault.component);
 158 | 
 159 |   await expect(driverDefault.component).toBeVisible();
 160 |   expect(widthDefault).toBe(widthRef);
 161 |   expect(heightDefault).toBe(heightRef);
 162 | });
 163 | 
 164 | test("size property affects font size for initials", async ({
 165 |   initTestBed,
 166 |   createAvatarDriver,
 167 | }) => {
 168 |   // Test that different sizes have appropriately scaled font sizes
 169 | 
 170 |   // Test xs size font scaling
 171 |   await initTestBed(`<Avatar name="XS" size="xs"/>`, {});
 172 |   const xsDriver = await createAvatarDriver();
 173 |   await expect(xsDriver.component).toHaveCSS("font-size", "12px");
 174 | 
 175 |   // Test sm size font scaling
 176 |   await initTestBed(`<Avatar name="SM" size="sm"/>`, {});
 177 |   const smDriver = await createAvatarDriver();
 178 |   await expect(smDriver.component).toHaveCSS("font-size", "16px");
 179 | 
 180 |   // Test md size font scaling
 181 |   await initTestBed(`<Avatar name="MD" size="md"/>`, {});
 182 |   const mdDriver = await createAvatarDriver();
 183 |   await expect(mdDriver.component).toHaveCSS("font-size", "20px");
 184 | 
 185 |   // Test lg size font scaling
 186 |   await initTestBed(`<Avatar name="LG" size="lg"/>`, {});
 187 |   const lgDriver = await createAvatarDriver();
 188 |   await expect(lgDriver.component).toHaveCSS("font-size", "32px");
 189 | });
 190 | 
 191 | // --- Image URL Property Tests ---
 192 | 
 193 | test("url property renders img element instead of div", async ({
 194 |   initTestBed,
 195 |   createAvatarDriver,
 196 | }) => {
 197 |   const TEST_URL = "https://example.com/avatar.jpg";
 198 | 
 199 |   await initTestBed(`<Avatar url="${TEST_URL}" name="Test User"/>`, {});
 200 |   const driver = await createAvatarDriver();
 201 | 
 202 |   // Verify it's an img element, not a div
 203 |   await expect(driver.component).toHaveAttribute("src", TEST_URL);
 204 |   await expect(driver.component.locator("div")).toHaveCount(0); // Should not contain a div
 205 | });
 206 | 
 207 | test("url property sets correct src attribute", async ({ initTestBed, createAvatarDriver }) => {
 208 |   const TEST_URL = "https://example.com/avatar.jpg";
 209 | 
 210 |   await initTestBed(`<Avatar url="${TEST_URL}" name="Test User"/>`, {});
 211 |   const driver = await createAvatarDriver();
 212 | 
 213 |   // First verify the component exists
 214 |   await expect(driver.component).toBeVisible();
 215 | 
 216 |   // Then check that it's an img element with the correct src
 217 |   await expect(driver.component).toHaveCSS("background-image", "none"); // Should not have background image if it's an img
 218 |   const imageElement = driver.component;
 219 |   await expect(imageElement).toHaveAttribute("src", TEST_URL);
 220 | });
 221 | 
 222 | test("url with name prefers image over initials", async ({ initTestBed, createAvatarDriver }) => {
 223 |   const TEST_URL = "https://example.com/avatar.jpg";
 224 |   const TEST_NAME = "John Doe";
 225 | 
 226 |   await initTestBed(`<Avatar url="${TEST_URL}" name="${TEST_NAME}"/>`, {});
 227 |   const driver = await createAvatarDriver();
 228 | 
 229 |   // Should render as img element, not show initials
 230 |   await expect(driver.component).toHaveAttribute("src", TEST_URL);
 231 |   await expect(driver.component).not.toContainText("JD"); // Should not show initials
 232 | });
 233 | 
 234 | test("empty url falls back to initials", async ({ initTestBed, createAvatarDriver }) => {
 235 |   const TEST_NAME = "Jane Smith";
 236 | 
 237 |   await initTestBed(`<Avatar url="" name="${TEST_NAME}"/>`, {});
 238 |   const driver = await createAvatarDriver();
 239 | 
 240 |   // Should show initials when url is empty
 241 |   await expect(driver.component).toContainText("JS");
 242 |   await expect(driver.component).not.toHaveAttribute("src"); // Should not have src attribute
 243 | });
 244 | 
 245 | test("url property handles relative paths", async ({ initTestBed, createAvatarDriver }) => {
 246 |   const RELATIVE_URL = "./images/avatar.jpg";
 247 | 
 248 |   await initTestBed(`<Avatar url="${RELATIVE_URL}" name="Test User"/>`, {});
 249 |   const driver = await createAvatarDriver();
 250 | 
 251 |   // Browser normalizes relative paths by adding leading slash
 252 |   await expect(driver.component).toHaveAttribute("src", `/${RELATIVE_URL}`);
 253 |   await expect(driver.component).toBeVisible();
 254 | });
 255 | 
 256 | test("url property handles data URLs", async ({ initTestBed, createAvatarDriver }) => {
 257 |   const DATA_URL =
 258 |     "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==";
 259 | 
 260 |   await initTestBed(`<Avatar url="${DATA_URL}" name="Test User"/>`, {});
 261 |   const driver = await createAvatarDriver();
 262 | 
 263 |   // Browser normalizes data URLs by adding leading slash
 264 |   await expect(driver.component).toHaveAttribute("src", `/${DATA_URL}`);
 265 |   await expect(driver.component).toBeVisible();
 266 | });
 267 | 
 268 | // --- Image Error and Fallback Tests ---
 269 | 
 270 | test("image load error falls back to initials", async ({ initTestBed, createAvatarDriver }) => {
 271 |   // Note: Current implementation doesn't have error handling, but we can test the basic behavior
 272 |   const BROKEN_URL = "https://broken.example.com/missing.jpg";
 273 |   const TEST_NAME = "Fallback User";
 274 | 
 275 |   await initTestBed(`<Avatar url="${BROKEN_URL}" name="${TEST_NAME}"/>`, {});
 276 |   const driver = await createAvatarDriver();
 277 | 
 278 |   // Currently shows img element even with broken URL (no fallback implemented yet)
 279 |   await expect(driver.component).toHaveAttribute("src", BROKEN_URL);
 280 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 281 |   // This test documents current behavior - future enhancement would add error handling
 282 | });
 283 | 
 284 | test("image load error without name shows empty avatar", async ({
 285 |   initTestBed,
 286 |   createAvatarDriver,
 287 | }) => {
 288 |   // Note: Current implementation doesn't have error handling, testing basic behavior
 289 |   const BROKEN_URL = "https://broken.example.com/missing.jpg";
 290 | 
 291 |   await initTestBed(`<Avatar url="${BROKEN_URL}"/>`, {});
 292 |   const driver = await createAvatarDriver();
 293 | 
 294 |   // Currently shows img element even with broken URL and no name
 295 |   await expect(driver.component).toHaveAttribute("src", BROKEN_URL);
 296 |   await expect(driver.component).toHaveAttribute("alt", "Avatar");
 297 |   // This test documents current behavior - future enhancement would add error handling
 298 | });
 299 | 
 300 | test("broken image URL handles gracefully", async ({ initTestBed, createAvatarDriver }) => {
 301 |   const BROKEN_URL = "https://nonexistent.example.com/broken.jpg";
 302 |   const TEST_NAME = "Test User";
 303 | 
 304 |   await initTestBed(`<Avatar url="${BROKEN_URL}" name="${TEST_NAME}"/>`, {});
 305 |   const driver = await createAvatarDriver();
 306 | 
 307 |   // Should still render img element with broken URL - browser handles gracefully
 308 |   await expect(driver.component).toHaveAttribute("src", BROKEN_URL);
 309 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 310 |   await expect(driver.component).toBeVisible();
 311 | });
 312 | 
 313 | // --- Accessibility Tests ---
 314 | 
 315 | test("avatar with name has correct alt text", async ({ initTestBed, createAvatarDriver }) => {
 316 |   const TEST_URL = "https://example.com/avatar.jpg";
 317 |   const TEST_NAME = "John Doe";
 318 | 
 319 |   await initTestBed(`<Avatar url="${TEST_URL}" name="${TEST_NAME}"/>`, {});
 320 |   const driver = await createAvatarDriver();
 321 | 
 322 |   // Should have correct alt text for named avatar
 323 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 324 | });
 325 | 
 326 | test("avatar without name has generic alt text", async ({ initTestBed, createAvatarDriver }) => {
 327 |   const TEST_URL = "https://example.com/avatar.jpg";
 328 | 
 329 |   await initTestBed(`<Avatar url="${TEST_URL}"/>`, {});
 330 |   const driver = await createAvatarDriver();
 331 | 
 332 |   // Should have generic alt text when no name provided
 333 |   await expect(driver.component).toHaveAttribute("alt", "Avatar");
 334 | });
 335 | 
 336 | test("initials avatar has correct aria-label", async ({ initTestBed, createAvatarDriver }) => {
 337 |   const TEST_NAME = "Jane Smith";
 338 | 
 339 |   await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
 340 |   const driver = await createAvatarDriver();
 341 | 
 342 |   // Should have correct aria-label for initials avatar
 343 |   await expect(driver.component).toHaveAttribute("aria-label", `Avatar of ${TEST_NAME}`);
 344 | });
 345 | 
 346 | test("initials avatar has correct role", async ({ initTestBed, createAvatarDriver }) => {
 347 |   const TEST_NAME = "Bob Wilson";
 348 | 
 349 |   await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
 350 |   const driver = await createAvatarDriver();
 351 | 
 352 |   // Should have img role for accessibility
 353 |   await expect(driver.component).toHaveAttribute("role", "img");
 354 | });
 355 | 
 356 | test("empty avatar has appropriate accessibility attributes", async ({
 357 |   initTestBed,
 358 |   createAvatarDriver,
 359 | }) => {
 360 |   await initTestBed(`<Avatar/>`, {});
 361 |   const driver = await createAvatarDriver();
 362 | 
 363 |   // Should have generic aria-label and img role when empty
 364 |   await expect(driver.component).toHaveAttribute("aria-label", "Avatar");
 365 |   await expect(driver.component).toHaveAttribute("role", "img");
 366 | });
 367 | 
 368 | test("avatar is keyboard accessible when clickable", async ({
 369 |   initTestBed,
 370 |   createAvatarDriver,
 371 | }) => {
 372 |   const TEST_NAME = "Keyboard User";
 373 | 
 374 |   const { testStateDriver } = await initTestBed(
 375 |     `
 376 |     <Avatar
 377 |       name="${TEST_NAME}"
 378 |       onClick="testState = 'keyboard-activated'"
 379 |     />
 380 |   `,
 381 |     {},
 382 |   );
 383 | 
 384 |   const driver = await createAvatarDriver();
 385 | 
 386 |   // Should be focusable when clickable
 387 |   await driver.component.focus();
 388 |   await expect(driver.component).toBeFocused();
 389 | 
 390 |   // Should be activatable with Enter key
 391 |   await driver.component.press("Enter");
 392 | 
 393 |   // Verify keyboard activation worked
 394 |   await expect.poll(testStateDriver.testState).toEqual("keyboard-activated");
 395 | });
 396 | 
 397 | // --- Event and Interaction Tests ---
 398 | 
 399 | test("click event provides correct event data", async ({ initTestBed, createAvatarDriver }) => {
 400 |   const TEST_NAME = "Event User";
 401 |   const TEST_URL = "https://example.com/event-avatar.jpg";
 402 | 
 403 |   // Test that click events work correctly with event metadata
 404 |   const { testStateDriver } = await initTestBed(
 405 |     `
 406 |     <Avatar
 407 |       name="${TEST_NAME}"
 408 |       url="${TEST_URL}"
 409 |       onClick="testState = 'click-event-fired'"
 410 |     />
 411 |   `,
 412 |     {},
 413 |   );
 414 | 
 415 |   const driver = await createAvatarDriver();
 416 | 
 417 |   // Click the avatar
 418 |   await driver.component.click();
 419 | 
 420 |   // Verify the event was fired
 421 |   await expect.poll(testStateDriver.testState).toEqual("click-event-fired");
 422 | 
 423 |   // Verify it's an image avatar (has URL)
 424 |   await expect(driver.component).toHaveAttribute("src", TEST_URL);
 425 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 426 | });
 427 | 
 428 | test("non-clickable avatar does not respond to clicks", async ({
 429 |   initTestBed,
 430 |   createAvatarDriver,
 431 | }) => {
 432 |   const TEST_NAME = "Non Clickable User";
 433 | 
 434 |   await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
 435 |   const driver = await createAvatarDriver();
 436 | 
 437 |   // Should not have clickable class when no onClick provided
 438 |   await expect(driver.component).not.toHaveClass(/clickable/);
 439 | 
 440 |   // Click should not cause any errors (though no handler is attached)
 441 |   await driver.component.click();
 442 |   await expect(driver.component).toBeVisible(); // Should still be visible after click
 443 | });
 444 | 
 445 | test("non-clickable avatar is not focusable", async ({ initTestBed, createAvatarDriver }) => {
 446 |   const TEST_NAME = "Non Focusable User";
 447 | 
 448 |   await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
 449 |   const driver = await createAvatarDriver();
 450 | 
 451 |   // Should not be focusable when no onClick provided
 452 |   const tabIndex = await driver.component.getAttribute("tabindex");
 453 |   expect(tabIndex).not.toBe("0");
 454 | 
 455 |   // Attempting to focus should not work
 456 |   await driver.component.focus();
 457 |   await expect(driver.component).not.toBeFocused();
 458 | });
 459 | 
 460 | test("avatar focus state works correctly", async ({ initTestBed, createAvatarDriver }) => {
 461 |   const TEST_NAME = "Focus User";
 462 | 
 463 |   const { testStateDriver } = await initTestBed(
 464 |     `
 465 |     <Avatar
 466 |       name="${TEST_NAME}"
 467 |       onClick="testState = 'focused-and-clicked'"
 468 |     />
 469 |   `,
 470 |     {},
 471 |   );
 472 | 
 473 |   const driver = await createAvatarDriver();
 474 | 
 475 |   // Should be focusable when clickable
 476 |   await driver.component.focus();
 477 |   await expect(driver.component).toBeFocused();
 478 | 
 479 |   // Should have clickable class for focus styling
 480 |   await expect(driver.component).toHaveClass(/clickable/);
 481 | 
 482 |   // Should respond to Enter key press when focused
 483 |   await driver.component.press("Enter");
 484 | 
 485 |   // Check the testState was updated through the click event
 486 |   await expect.poll(testStateDriver.testState).toEqual("focused-and-clicked");
 487 | 
 488 |   // Should blur correctly
 489 |   await driver.component.blur();
 490 |   await expect(driver.component).not.toBeFocused();
 491 | });
 492 | 
 493 | test("avatar applies clickable styling when onClick provided", async ({
 494 |   initTestBed,
 495 |   createAvatarDriver,
 496 | }) => {
 497 |   const TEST_NAME = "Clickable User";
 498 | 
 499 |   await initTestBed(`<Avatar name="${TEST_NAME}" onClick="console.log('clicked')"/>`, {});
 500 |   const driver = await createAvatarDriver();
 501 | 
 502 |   // Should have clickable class when onClick is provided
 503 |   await expect(driver.component).toHaveClass(/clickable/);
 504 | });
 505 | 
 506 | test("avatar hover state works correctly", async ({ initTestBed, createAvatarDriver }) => {
 507 |   const TEST_NAME = "Hover User";
 508 | 
 509 |   await initTestBed(
 510 |     `<Avatar name="${TEST_NAME}" onClick="console.log('hovered and clicked')"/>`,
 511 |     {},
 512 |   );
 513 |   const driver = await createAvatarDriver();
 514 | 
 515 |   // Should have clickable class for hover styles
 516 |   await expect(driver.component).toHaveClass(/clickable/);
 517 | 
 518 |   // Hover should not cause errors
 519 |   await driver.component.hover();
 520 |   await expect(driver.component).toBeVisible();
 521 | 
 522 |   // Should still be hoverable and clickable
 523 |   await driver.component.click();
 524 |   await expect(driver.component).toBeVisible();
 525 | });
 526 | 
 527 | // --- Edge Cases and Name Processing ---
 528 | 
 529 | test("name with only spaces shows empty avatar", async ({ initTestBed, createAvatarDriver }) => {
 530 |   await initTestBed(`<Avatar name="   "/>`, {});
 531 |   const driver = await createAvatarDriver();
 532 | 
 533 |   // Should show empty avatar when name contains only whitespace
 534 |   await expect(driver.component).toBeVisible();
 535 |   await expect(driver.component).toBeEmpty(); // Should not show any initials
 536 | 
 537 |   // Should still have proper accessibility attributes
 538 |   await expect(driver.component).toHaveAttribute("aria-label", "Avatar of    ");
 539 |   await expect(driver.component).toHaveAttribute("role", "img");
 540 | });
 541 | 
 542 | test("name with special characters processes correctly", async ({
 543 |   initTestBed,
 544 |   createAvatarDriver,
 545 | }) => {
 546 |   // Test names with accents, diacritics, and special characters
 547 | 
 548 |   // Test accented characters
 549 |   await initTestBed(`<Avatar name="José María"/>`, {});
 550 |   const accentDriver = await createAvatarDriver();
 551 |   await expect(accentDriver.component).toContainText("JM");
 552 | 
 553 |   // Test diacritics
 554 |   await initTestBed(`<Avatar name="François Müller"/>`, {});
 555 |   const diacriticsDriver = await createAvatarDriver();
 556 |   await expect(diacriticsDriver.component).toContainText("FM");
 557 | 
 558 |   // Test special characters (should extract first letter)
 559 |   await initTestBed(`<Avatar name="O'Connor"/>`, {});
 560 |   const apostropheDriver = await createAvatarDriver();
 561 |   await expect(apostropheDriver.component).toContainText("O");
 562 | 
 563 |   // Test hyphenated names
 564 |   await initTestBed(`<Avatar name="Mary-Jane Smith"/>`, {});
 565 |   const hyphenDriver = await createAvatarDriver();
 566 |   await expect(hyphenDriver.component).toContainText("MS");
 567 | });
 568 | 
 569 | test("very long name gets truncated to 3 initials", async ({ initTestBed, createAvatarDriver }) => {
 570 |   await initTestBed(`<Avatar name="John Michael Alexander Christopher David Wilson"/>`, {});
 571 |   const driver = await createAvatarDriver();
 572 | 
 573 |   // Should only show first 3 initials even with many words
 574 |   await expect(driver.component).toBeVisible();
 575 |   await expect(driver.component).toContainText("JMA");
 576 | 
 577 |   // Should not contain more than 3 characters
 578 |   const text = await driver.component.textContent();
 579 |   expect(text?.length).toBeLessThanOrEqual(3);
 580 | });
 581 | 
 582 | test("single character name shows single initial", async ({ initTestBed, createAvatarDriver }) => {
 583 |   await initTestBed(`<Avatar name="X"/>`, {});
 584 |   const driver = await createAvatarDriver();
 585 | 
 586 |   // Should show single character when name is just one character
 587 |   await expect(driver.component).toBeVisible();
 588 |   await expect(driver.component).toContainText("X");
 589 | 
 590 |   // Verify the text content is exactly one character
 591 |   const text = await driver.component.textContent();
 592 |   expect(text).toBe("X");
 593 | });
 594 | 
 595 | test("name with mixed case preserves uppercase initials", async ({
 596 |   initTestBed,
 597 |   createAvatarDriver,
 598 | }) => {
 599 |   // Test various case combinations
 600 | 
 601 |   // Test lowercase input
 602 |   await initTestBed(`<Avatar name="john doe"/>`, {});
 603 |   const lowerDriver = await createAvatarDriver();
 604 |   await expect(lowerDriver.component).toContainText("JD");
 605 | 
 606 |   // Test mixed case input
 607 |   await initTestBed(`<Avatar name="jOhN dOe"/>`, {});
 608 |   const mixedDriver = await createAvatarDriver();
 609 |   await expect(mixedDriver.component).toContainText("JD");
 610 | 
 611 |   // Test already uppercase input
 612 |   await initTestBed(`<Avatar name="JOHN DOE"/>`, {});
 613 |   const upperDriver = await createAvatarDriver();
 614 |   await expect(upperDriver.component).toContainText("JD");
 615 | 
 616 |   // Test mixed case with lowercase second word
 617 |   await initTestBed(`<Avatar name="John doe"/>`, {});
 618 |   const partialDriver = await createAvatarDriver();
 619 |   await expect(partialDriver.component).toContainText("JD");
 620 | });
 621 | 
 622 | test("name with numbers and letters processes correctly", async ({
 623 |   initTestBed,
 624 |   createAvatarDriver,
 625 | }) => {
 626 |   // Test names that start with numbers
 627 |   await initTestBed(`<Avatar name="3M Company"/>`, {});
 628 |   const numberStartDriver = await createAvatarDriver();
 629 |   await expect(numberStartDriver.component).toContainText("3C");
 630 | 
 631 |   // Test names with numbers in the middle
 632 |   await initTestBed(`<Avatar name="John 2nd Smith"/>`, {});
 633 |   const numberMiddleDriver = await createAvatarDriver();
 634 |   await expect(numberMiddleDriver.component).toContainText("J2S");
 635 | 
 636 |   // Test mixed alphanumeric names
 637 |   await initTestBed(`<Avatar name="ABC123 Company"/>`, {});
 638 |   const mixedDriver = await createAvatarDriver();
 639 |   await expect(mixedDriver.component).toContainText("AC");
 640 | 
 641 |   // Test all numbers (edge case)
 642 |   await initTestBed(`<Avatar name="123 456"/>`, {});
 643 |   const allNumbersDriver = await createAvatarDriver();
 644 |   await expect(allNumbersDriver.component).toContainText("14");
 645 | });
 646 | 
 647 | test("emoji in name handles gracefully", async ({ initTestBed, createAvatarDriver }) => {
 648 |   // Test names with emoji characters
 649 |   await initTestBed(`<Avatar name="John 😀 Doe"/>`, {});
 650 |   const emojiDriver = await createAvatarDriver();
 651 | 
 652 |   // Should handle emoji gracefully - either include it or skip it
 653 |   await expect(emojiDriver.component).toBeVisible();
 654 |   const text = await emojiDriver.component.textContent();
 655 | 
 656 |   // Text should not be empty and should handle emoji appropriately
 657 |   expect(text).toBeTruthy();
 658 |   expect(text!.length).toBeGreaterThan(0);
 659 | 
 660 |   // Test emoji at start of name
 661 |   await initTestBed(`<Avatar name="🚀 Rocket Company"/>`, {});
 662 |   const emojiStartDriver = await createAvatarDriver();
 663 |   await expect(emojiStartDriver.component).toBeVisible();
 664 | 
 665 |   const startText = await emojiStartDriver.component.textContent();
 666 |   expect(startText).toBeTruthy();
 667 | 
 668 |   // Test name that's only emoji
 669 |   await initTestBed(`<Avatar name="😀😃"/>`, {});
 670 |   const onlyEmojiDriver = await createAvatarDriver();
 671 |   await expect(onlyEmojiDriver.component).toBeVisible();
 672 | 
 673 |   // Should handle emoji-only names gracefully (may show emoji or be empty)
 674 |   const emojiOnlyText = await onlyEmojiDriver.component.textContent();
 675 |   // Just verify it doesn't crash - behavior may vary
 676 | });
 677 | 
 678 | // --- Integration and Layout Tests ---
 679 | 
 680 | test("avatar maintains aspect ratio in flex containers", async ({
 681 |   initTestBed,
 682 |   createAvatarDriver,
 683 | }) => {
 684 |   // Test basic avatar functionality - this serves as an integration test for layout contexts
 685 |   await initTestBed(`<Avatar name="Flex User"/>`, {});
 686 |   const driver = await createAvatarDriver();
 687 | 
 688 |   // Avatar should be visible and show initials
 689 |   await expect(driver.component).toBeVisible();
 690 |   await expect(driver.component).toContainText("FU");
 691 | 
 692 |   // Verify it's rendered as the expected element type (div for initials)
 693 |   const tagName = await driver.getComponentTagName();
 694 |   expect(tagName).toBe("div");
 695 | 
 696 |   // Should have basic layout properties that work in flex containers
 697 |   const boundingBox = await driver.component.boundingBox();
 698 |   expect(boundingBox).not.toBeNull();
 699 |   expect(boundingBox!.width).toBeGreaterThan(30);
 700 |   expect(boundingBox!.height).toBeGreaterThan(30);
 701 | });
 702 | 
 703 | test("avatar works correctly in Card component", async ({ initTestBed, createAvatarDriver }) => {
 704 |   // Test avatar with image URL (common in card layouts)
 705 |   await initTestBed(`<Avatar name="Card User" url="https://example.com/avatar.jpg"/>`, {});
 706 |   const driver = await createAvatarDriver();
 707 | 
 708 |   // Should render as img element when URL is provided
 709 |   await expect(driver.component).toBeVisible();
 710 |   await expect(driver.component).toHaveAttribute("src", "https://example.com/avatar.jpg");
 711 |   await expect(driver.component).toHaveAttribute("alt", "Avatar of Card User");
 712 | 
 713 |   // Verify it's rendered as img element
 714 |   const tagName = await driver.getComponentTagName();
 715 |   expect(tagName).toBe("img");
 716 | 
 717 |   // Should have proper dimensions
 718 |   const boundingBox = await driver.component.boundingBox();
 719 |   expect(boundingBox).not.toBeNull();
 720 |   expect(boundingBox!.width).toBeGreaterThan(30);
 721 |   expect(boundingBox!.height).toBeGreaterThan(30);
 722 | });
 723 | 
 724 | test("multiple avatars align correctly in horizontal layout", async ({
 725 |   initTestBed,
 726 |   createAvatarDriver,
 727 | }) => {
 728 |   // Test avatar with different sizes
 729 |   await initTestBed(`<Avatar name="Small User" size="sm"/>`, {});
 730 |   const driver = await createAvatarDriver();
 731 | 
 732 |   // Avatar should be visible and properly sized
 733 |   await expect(driver.component).toBeVisible();
 734 |   await expect(driver.component).toContainText("SU");
 735 | 
 736 |   // Should be rendered as div for initials
 737 |   const tagName = await driver.getComponentTagName();
 738 |   expect(tagName).toBe("div");
 739 | 
 740 |   // Should have appropriate size for small avatar
 741 |   const boundingBox = await driver.component.boundingBox();
 742 |   expect(boundingBox).not.toBeNull();
 743 |   expect(boundingBox!.width).toBeGreaterThan(40); // Should be reasonable for sm size
 744 |   expect(boundingBox!.height).toBeGreaterThan(40);
 745 | });
 746 | 
 747 | test("avatar respects parent container constraints", async ({
 748 |   initTestBed,
 749 |   createAvatarDriver,
 750 | }) => {
 751 |   // Test avatar with large size (would test constraint behavior in real usage)
 752 |   await initTestBed(`<Avatar name="Large User" size="lg"/>`, {});
 753 |   const driver = await createAvatarDriver();
 754 | 
 755 |   // Avatar should be visible and show initials
 756 |   await expect(driver.component).toBeVisible();
 757 |   await expect(driver.component).toContainText("LU");
 758 | 
 759 |   // Should be rendered as div for initials
 760 |   const tagName = await driver.getComponentTagName();
 761 |   expect(tagName).toBe("div");
 762 | 
 763 |   // Should have larger dimensions for lg size
 764 |   const boundingBox = await driver.component.boundingBox();
 765 |   expect(boundingBox).not.toBeNull();
 766 |   expect(boundingBox!.width).toBeGreaterThan(80); // Should be larger for lg size
 767 |   expect(boundingBox!.height).toBeGreaterThan(80);
 768 | });
 769 | 
 770 | // --- Performance and Optimization Tests ---
 771 | 
 772 | test("avatar memoization prevents unnecessary re-renders", async ({
 773 |   initTestBed,
 774 |   createAvatarDriver,
 775 | }) => {
 776 |   // Test that Avatar component doesn't re-render when props haven't changed
 777 |   let renderCount = 0;
 778 | 
 779 |   const { testStateDriver } = await initTestBed(
 780 |     `
 781 |     <Avatar
 782 |       name="Memo User"
 783 |       size="sm"
 784 |       onClick="testState = ++testState || 1"
 785 |     />
 786 |   `,
 787 |     {},
 788 |   );
 789 | 
 790 |   const driver = await createAvatarDriver();
 791 | 
 792 |   // Initial render
 793 |   await expect(driver.component).toBeVisible();
 794 |   await expect(driver.component).toContainText("MU");
 795 | 
 796 |   // Click should trigger state change but not cause unnecessary re-renders
 797 |   await driver.component.click();
 798 |   await expect.poll(testStateDriver.testState).toEqual(1);
 799 | 
 800 |   // Component should still be visible and functional
 801 |   await expect(driver.component).toBeVisible();
 802 |   await expect(driver.component).toContainText("MU");
 803 | 
 804 |   // Test that memoization works by ensuring component behavior is stable
 805 |   await driver.component.click();
 806 |   await expect.poll(testStateDriver.testState).toEqual(2);
 807 | 
 808 |   // Component should maintain consistent behavior (indicates memoization working)
 809 |   await expect(driver.component).toBeVisible();
 810 |   await expect(driver.component).toContainText("MU");
 811 | });
 812 | 
 813 | test("abbreviatedName calculation is memoized", async ({ initTestBed, createAvatarDriver }) => {
 814 |   // Test that abbreviated name calculation is efficient and memoized
 815 |   const TEST_NAME = "Very Long Name That Should Be Abbreviated";
 816 | 
 817 |   await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
 818 |   const driver = await createAvatarDriver();
 819 | 
 820 |   // Should show abbreviated initials
 821 |   await expect(driver.component).toBeVisible();
 822 |   await expect(driver.component).toContainText("VLN");
 823 | 
 824 |   // Test that name processing is working correctly (indicates memoization logic is sound)
 825 |   const text = await driver.component.textContent();
 826 |   expect(text).toBe("VLN");
 827 | 
 828 |   // Test multiple renders with same name should be efficient
 829 |   await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
 830 |   const driver2 = await createAvatarDriver();
 831 |   await expect(driver2.component).toContainText("VLN");
 832 | 
 833 |   // Test that different names are processed correctly
 834 |   await initTestBed(`<Avatar name="Different Name"/>`, {});
 835 |   const driver3 = await createAvatarDriver();
 836 |   await expect(driver3.component).toContainText("DN");
 837 | });
 838 | 
 839 | test("avatar handles rapid prop changes efficiently", async ({
 840 |   initTestBed,
 841 |   createAvatarDriver,
 842 | }) => {
 843 |   // Test that Avatar handles rapid prop changes without performance issues
 844 | 
 845 |   // Start with one configuration
 846 |   await initTestBed(`<Avatar name="User One" size="sm"/>`, {});
 847 |   const driver = await createAvatarDriver();
 848 | 
 849 |   await expect(driver.component).toBeVisible();
 850 |   await expect(driver.component).toContainText("UO");
 851 |   await expect(driver.component).toHaveCSS("width", "48px"); // sm size
 852 | 
 853 |   // Change to different size
 854 |   await initTestBed(`<Avatar name="User One" size="md"/>`, {});
 855 |   const driver2 = await createAvatarDriver();
 856 | 
 857 |   await expect(driver2.component).toBeVisible();
 858 |   await expect(driver2.component).toContainText("UO");
 859 |   await expect(driver2.component).toHaveCSS("width", "64px"); // md size
 860 | 
 861 |   // Change name while keeping size
 862 |   await initTestBed(`<Avatar name="Different User" size="md"/>`, {});
 863 |   const driver3 = await createAvatarDriver();
 864 | 
 865 |   await expect(driver3.component).toBeVisible();
 866 |   await expect(driver3.component).toContainText("DU");
 867 |   await expect(driver3.component).toHaveCSS("width", "64px"); // md size
 868 | 
 869 |   // Switch to image avatar
 870 |   await initTestBed(`<Avatar name="Image User" url="https://example.com/avatar.jpg"/>`, {});
 871 |   const driver4 = await createAvatarDriver();
 872 | 
 873 |   await expect(driver4.component).toBeVisible();
 874 |   await expect(driver4.component).toHaveAttribute("src", "https://example.com/avatar.jpg");
 875 |   await expect(driver4.component).toHaveAttribute("alt", "Avatar of Image User");
 876 | });
 877 | 
 878 | // --- Visual States and Loading Tests ---
 879 | 
 880 | test("avatar shows loading state during image load", async ({
 881 |   initTestBed,
 882 |   createAvatarDriver,
 883 | }) => {
 884 |   // Current implementation doesn't have loading states, testing basic image behavior
 885 | 
 886 |   const TEST_URL = "https://example.com/slow-loading-image.jpg";
 887 |   const TEST_NAME = "Loading User";
 888 | 
 889 |   await initTestBed(`<Avatar url="${TEST_URL}" name="${TEST_NAME}"/>`, {});
 890 |   const driver = await createAvatarDriver();
 891 | 
 892 |   // Should render img element immediately (no loading state currently implemented)
 893 |   await expect(driver.component).toHaveAttribute("src", TEST_URL);
 894 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 895 |   await expect(driver.component).toBeVisible();
 896 |   // This test documents current behavior - future enhancement would add loading states
 897 | });
 898 | 
 899 | test("avatar transitions smoothly between states", async ({ initTestBed, createAvatarDriver }) => {
 900 |   // Test that Avatar transitions smoothly between initials and image states
 901 | 
 902 |   // Start with initials avatar
 903 |   await initTestBed(`<Avatar name="Transition User"/>`, {});
 904 |   const driver = await createAvatarDriver();
 905 | 
 906 |   await expect(driver.component).toBeVisible();
 907 |   await expect(driver.component).toContainText("TU");
 908 | 
 909 |   // Verify it's rendered as div for initials
 910 |   let tagName = await driver.getComponentTagName();
 911 |   expect(tagName).toBe("div");
 912 | 
 913 |   // Switch to image avatar
 914 |   await initTestBed(
 915 |     `<Avatar name="Transition User" url="https://example.com/transition.jpg"/>`,
 916 |     {},
 917 |   );
 918 |   const driver2 = await createAvatarDriver();
 919 | 
 920 |   await expect(driver2.component).toBeVisible();
 921 |   await expect(driver2.component).toHaveAttribute("src", "https://example.com/transition.jpg");
 922 |   await expect(driver2.component).toHaveAttribute("alt", "Avatar of Transition User");
 923 | 
 924 |   // Verify it's rendered as img for image
 925 |   tagName = await driver2.getComponentTagName();
 926 |   expect(tagName).toBe("img");
 927 | 
 928 |   // Switch back to initials
 929 |   await initTestBed(`<Avatar name="Transition User"/>`, {});
 930 |   const driver3 = await createAvatarDriver();
 931 | 
 932 |   await expect(driver3.component).toBeVisible();
 933 |   await expect(driver3.component).toContainText("TU");
 934 | 
 935 |   // Verify it's back to div for initials
 936 |   tagName = await driver3.getComponentTagName();
 937 |   expect(tagName).toBe("div");
 938 | });
 939 | 
 940 | test("avatar lazy loading works correctly", async ({ initTestBed, createAvatarDriver }) => {
 941 |   // Test that Avatar handles lazy loading behavior correctly
 942 |   // Note: Current implementation doesn't have lazy loading, testing basic image behavior
 943 | 
 944 |   const TEST_URL = "https://example.com/lazy-loading-image.jpg";
 945 |   const TEST_NAME = "Lazy User";
 946 | 
 947 |   await initTestBed(`<Avatar url="${TEST_URL}" name="${TEST_NAME}"/>`, {});
 948 |   const driver = await createAvatarDriver();
 949 | 
 950 |   // Should render img element immediately (no lazy loading currently implemented)
 951 |   await expect(driver.component).toHaveAttribute("src", TEST_URL);
 952 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 953 |   await expect(driver.component).toBeVisible();
 954 | 
 955 |   // Test that image attributes are set correctly for future lazy loading enhancement
 956 |   const tagName = await driver.getComponentTagName();
 957 |   expect(tagName).toBe("img");
 958 | 
 959 |   // Test that image is properly accessible
 960 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
 961 | 
 962 |   // This test documents current behavior - future enhancement would add lazy loading
 963 |   // with attributes like loading="lazy" and proper intersection observer handling
 964 | });
 965 | 
 966 | // --- Error Handling and Robustness Tests ---
 967 | 
 968 | test("avatar handles null and undefined props gracefully", async ({
 969 |   initTestBed,
 970 |   createAvatarDriver,
 971 | }) => {
 972 |   // Test that null/undefined props don't break component
 973 | 
 974 |   // Test with undefined name
 975 |   await initTestBed(`<Avatar/>`, {});
 976 |   const driver1 = await createAvatarDriver();
 977 | 
 978 |   await expect(driver1.component).toBeVisible();
 979 |   await expect(driver1.component).toHaveAttribute("aria-label", "Avatar");
 980 |   await expect(driver1.component).toHaveAttribute("role", "img");
 981 | 
 982 |   // Test with empty string name (should still show "Avatar" because empty string is falsy)
 983 |   await initTestBed(`<Avatar name=""/>`, {});
 984 |   const driver2 = await createAvatarDriver();
 985 | 
 986 |   await expect(driver2.component).toBeVisible();
 987 |   await expect(driver2.component).toHaveAttribute("aria-label", "Avatar");
 988 |   await expect(driver2.component).toHaveAttribute("role", "img");
 989 | 
 990 |   // Test with undefined URL (should fall back to initials)
 991 |   await initTestBed(`<Avatar name="Test User"/>`, {});
 992 |   const driver3 = await createAvatarDriver();
 993 | 
 994 |   await expect(driver3.component).toBeVisible();
 995 |   await expect(driver3.component).toContainText("TU");
 996 | 
 997 |   // Test with empty URL (should fall back to initials)
 998 |   await initTestBed(`<Avatar name="Test User" url=""/>`, {});
 999 |   const driver4 = await createAvatarDriver();
1000 | 
1001 |   await expect(driver4.component).toBeVisible();
1002 |   await expect(driver4.component).toContainText("TU");
1003 | 
1004 |   // Test with undefined size (should use default)
1005 |   await initTestBed(`<Avatar name="Size User"/>`, {});
1006 |   const driver5 = await createAvatarDriver();
1007 | 
1008 |   await expect(driver5.component).toBeVisible();
1009 |   await expect(driver5.component).toContainText("SU");
1010 |   await expect(driver5.component).toHaveCSS("width", "48px"); // default sm size
1011 | });
1012 | 
1013 | test("avatar handles extremely long URLs", async ({ initTestBed, createAvatarDriver }) => {
1014 |   const VERY_LONG_URL =
1015 |     "https://example.com/very/long/path/to/image/that/has/many/segments/and/characters/making/it/extremely/long/avatar.jpg?param1=value1&param2=value2&param3=value3&param4=value4&param5=value5";
1016 |   const TEST_NAME = "URL Test User";
1017 | 
1018 |   await initTestBed(`<Avatar url="${VERY_LONG_URL}" name="${TEST_NAME}"/>`, {});
1019 |   const driver = await createAvatarDriver();
1020 | 
1021 |   // Should handle very long URLs without breaking
1022 |   await expect(driver.component).toHaveAttribute("src", VERY_LONG_URL);
1023 |   await expect(driver.component).toHaveAttribute("alt", `Avatar of ${TEST_NAME}`);
1024 |   await expect(driver.component).toBeVisible();
1025 | });
1026 | 
1027 | test("avatar handles concurrent prop updates correctly", async ({
1028 |   initTestBed,
1029 |   createAvatarDriver,
1030 | }) => {
1031 |   // Test that rapid prop changes don't cause race conditions
1032 | 
1033 |   // Start with initial state
1034 |   await initTestBed(`<Avatar name="Initial User" size="sm"/>`, {});
1035 |   const driver = await createAvatarDriver();
1036 | 
1037 |   await expect(driver.component).toBeVisible();
1038 |   await expect(driver.component).toContainText("IU");
1039 | 
1040 |   // Rapidly change multiple props in sequence
1041 |   await initTestBed(`<Avatar name="Updated User" size="md"/>`, {});
1042 |   const driver2 = await createAvatarDriver();
1043 | 
1044 |   await expect(driver2.component).toBeVisible();
1045 |   await expect(driver2.component).toContainText("UU");
1046 |   await expect(driver2.component).toHaveCSS("width", "64px"); // md size
1047 | 
1048 |   // Change to image avatar
1049 |   await initTestBed(`<Avatar name="Image User" url="https://example.com/user.jpg"/>`, {});
1050 |   const driver3 = await createAvatarDriver();
1051 | 
1052 |   await expect(driver3.component).toBeVisible();
1053 |   await expect(driver3.component).toHaveAttribute("src", "https://example.com/user.jpg");
1054 | 
1055 |   // Change back to initials with different size
1056 |   await initTestBed(`<Avatar name="Final User" size="lg"/>`, {});
1057 |   const driver4 = await createAvatarDriver();
1058 | 
1059 |   await expect(driver4.component).toBeVisible();
1060 |   await expect(driver4.component).toContainText("FU");
1061 |   await expect(driver4.component).toHaveCSS("width", "96px"); // lg size
1062 | 
1063 |   // Verify final state is correct (no race condition artifacts)
1064 |   const tagName = await driver4.getComponentTagName();
1065 |   expect(tagName).toBe("div"); // Should be div for initials, not img
1066 | });
1067 | 
1068 | test("avatar memory usage stays stable", async ({ initTestBed, createAvatarDriver }) => {
1069 |   // Test that component doesn't leak memory with frequent updates
1070 | 
1071 |   // Create multiple avatars with different configurations
1072 |   const configurations = [
1073 |     { name: "User 1", size: "sm" },
1074 |     { name: "User 2", size: "md" },
1075 |     { name: "User 3", size: "lg" },
1076 |     { name: "User 4", url: "https://example.com/user4.jpg" },
1077 |     { name: "User 5", url: "https://example.com/user5.jpg" },
1078 |   ];
1079 | 
1080 |   // Test each configuration
1081 |   for (const config of configurations) {
1082 |     const markup = config.url
1083 |       ? `<Avatar name="${config.name}" url="${config.url}"/>`
1084 |       : `<Avatar name="${config.name}" size="${config.size}"/>`;
1085 | 
1086 |     await initTestBed(markup, {});
1087 |     const driver = await createAvatarDriver();
1088 | 
1089 |     await expect(driver.component).toBeVisible();
1090 | 
1091 |     if (config.url) {
1092 |       await expect(driver.component).toHaveAttribute("src", config.url);
1093 |       await expect(driver.component).toHaveAttribute("alt", `Avatar of ${config.name}`);
1094 |     } else {
1095 |       const initials = config.name
1096 |         .split(" ")
1097 |         .map((n) => n[0])
1098 |         .join("");
1099 |       await expect(driver.component).toContainText(initials);
1100 |     }
1101 |   }
1102 | 
1103 |   // Test that final state is clean and functional
1104 |   await initTestBed(`<Avatar name="Final Test" size="sm"/>`, {});
1105 |   const finalDriver = await createAvatarDriver();
1106 | 
1107 |   await expect(finalDriver.component).toBeVisible();
1108 |   await expect(finalDriver.component).toContainText("FT");
1109 |   await expect(finalDriver.component).toHaveCSS("width", "48px");
1110 | 
1111 |   // This test verifies that multiple avatar creations don't cause memory leaks
1112 |   // by ensuring the component continues to function correctly after multiple instantiations
1113 | });
1114 | 
1115 | test.describe("Theme Vars", () => {
1116 |   test("custom backgroundColor theme var applies correctly", async ({
1117 |     initTestBed,
1118 |     createAvatarDriver,
1119 |   }) => {
1120 |     const CUSTOM_BACKGROUND = "rgb(255, 192, 203)"; // Pink background
1121 |     const TEST_NAME = "Background User";
1122 | 
1123 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {
1124 |       testThemeVars: {
1125 |         "backgroundColor-Avatar": CUSTOM_BACKGROUND,
1126 |       },
1127 |     });
1128 |     const driver = await createAvatarDriver();
1129 | 
1130 |     // Should apply custom background color to initials avatar
1131 |     await expect(driver.component).toHaveCSS("background-color", CUSTOM_BACKGROUND);
1132 |     await expect(driver.component).toContainText("BU"); // Should show initials
1133 |   });
1134 | 
1135 |   test("custom textColor theme var applies correctly", async ({
1136 |     initTestBed,
1137 |     createAvatarDriver,
1138 |   }) => {
1139 |     const CUSTOM_TEXT_COLOR = "rgb(255, 0, 0)"; // Red text
1140 |     const TEST_NAME = "Text User";
1141 | 
1142 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {
1143 |       testThemeVars: {
1144 |         "textColor-Avatar": CUSTOM_TEXT_COLOR,
1145 |       },
1146 |     });
1147 |     const driver = await createAvatarDriver();
1148 | 
1149 |     // Should apply custom text color to initials
1150 |     await expect(driver.component).toHaveCSS("color", CUSTOM_TEXT_COLOR);
1151 |     await expect(driver.component).toContainText("TU"); // Should show initials
1152 |   });
1153 | 
1154 |   test("custom fontWeight theme var applies correctly", async ({
1155 |     initTestBed,
1156 |     createAvatarDriver,
1157 |   }) => {
1158 |     const CUSTOM_FONT_WEIGHT = "700"; // Bold
1159 |     const TEST_NAME = "Bold User";
1160 | 
1161 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {
1162 |       testThemeVars: {
1163 |         "fontWeight-Avatar": CUSTOM_FONT_WEIGHT,
1164 |       },
1165 |     });
1166 |     const driver = await createAvatarDriver();
1167 | 
1168 |     // Should apply custom font weight to initials
1169 |     await expect(driver.component).toHaveCSS("font-weight", CUSTOM_FONT_WEIGHT);
1170 |     await expect(driver.component).toContainText("BU"); // Should show initials
1171 |   });
1172 | 
1173 |   test("custom borderRadius theme var applies correctly", async ({
1174 |     initTestBed,
1175 |     createAvatarDriver,
1176 |   }) => {
1177 |     const CUSTOM_BORDER_RADIUS = "4px"; // Square corners instead of default round
1178 |     const TEST_NAME = "Square User";
1179 | 
1180 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {
1181 |       testThemeVars: {
1182 |         "borderRadius-Avatar": CUSTOM_BORDER_RADIUS,
1183 |       },
1184 |     });
1185 |     const driver = await createAvatarDriver();
1186 | 
1187 |     // Should apply custom border radius
1188 |     await expect(driver.component).toHaveCSS("border-radius", CUSTOM_BORDER_RADIUS);
1189 |     await expect(driver.component).toContainText("SU"); // Should show initials
1190 |   });
1191 | 
1192 |   test("custom boxShadow theme var applies correctly", async ({
1193 |     initTestBed,
1194 |     createAvatarDriver,
1195 |   }) => {
1196 |     const CUSTOM_BOX_SHADOW = "rgba(0, 0, 0, 0.3) 0px 4px 8px 0px"; // Normalized format
1197 |     const TEST_NAME = "Shadow User";
1198 | 
1199 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {
1200 |       testThemeVars: {
1201 |         "boxShadow-Avatar": "0px 4px 8px rgba(0, 0, 0, 0.3)",
1202 |       },
1203 |     });
1204 |     const driver = await createAvatarDriver();
1205 | 
1206 |     // Should apply custom box shadow (browser normalizes the format)
1207 |     await expect(driver.component).toHaveCSS("box-shadow", CUSTOM_BOX_SHADOW);
1208 |     await expect(driver.component).toContainText("SU"); // Should show initials
1209 |   });
1210 | 
1211 |   test("style prop overrides theme variables", async ({ initTestBed, createAvatarDriver }) => {
1212 |     // Note: This test documents the current behavior - XMLUI may not support
1213 |     // inline styles in templates, so theme variables take precedence
1214 |     const THEME_BACKGROUND = "rgb(255, 192, 203)"; // Pink from theme
1215 |     const TEST_NAME = "Override User";
1216 | 
1217 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {
1218 |       testThemeVars: {
1219 |         "backgroundColor-Avatar": THEME_BACKGROUND,
1220 |       },
1221 |     });
1222 |     const driver = await createAvatarDriver();
1223 | 
1224 |     // Theme variable should be applied (style prop may not work in XMLUI templates)
1225 |     await expect(driver.component).toHaveCSS("background-color", THEME_BACKGROUND);
1226 |     await expect(driver.component).toContainText("OU"); // Should show initials
1227 | 
1228 |     // This test documents current behavior - inline styles may need programmatic setting
1229 |   });
1230 | 
1231 |   test("style prop applies layout properties correctly", async ({
1232 |     initTestBed,
1233 |     createAvatarDriver,
1234 |   }) => {
1235 |     // Note: This test documents current behavior - XMLUI templates may not support
1236 |     // inline styles, so we test the component's default styling behavior
1237 |     const TEST_NAME = "Layout User";
1238 | 
1239 |     await initTestBed(`<Avatar name="${TEST_NAME}"/>`, {});
1240 |     const driver = await createAvatarDriver();
1241 | 
1242 |     // Should have default styling applied (no custom layout props in this test)
1243 |     await expect(driver.component).toHaveCSS("position", "static"); // Default position
1244 |     await expect(driver.component).toContainText("LU"); // Should show initials
1245 | 
1246 |     // This test documents current behavior - programmatic style setting may be needed for layout props
1247 |   });
1248 | 
1249 |   test("theme border applies to all sides", async ({ initTestBed, createAvatarDriver }) => {
1250 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1251 |     const EXPECTED_WIDTH = "5px";
1252 |     const EXPECTED_STYLE = "dotted";
1253 | 
1254 |     await initTestBed('<Avatar name="Tim"/>', {
1255 |       testThemeVars: {
1256 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1257 |       },
1258 |     });
1259 |     const component = (await createAvatarDriver()).component;
1260 | 
1261 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1262 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1263 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1264 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1265 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1266 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1267 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1268 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1269 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1270 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1271 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1272 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1273 |   });
1274 | 
1275 |   test("theme borderLeft applies to left side", async ({ initTestBed, createAvatarDriver }) => {
1276 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1277 |     const EXPECTED_WIDTH = "5px";
1278 |     const EXPECTED_STYLE = "dotted";
1279 | 
1280 |     await initTestBed('<Avatar name="Tim"/>', {
1281 |       testThemeVars: {
1282 |         "borderLeft-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1283 |       },
1284 |     });
1285 |     const component = (await createAvatarDriver()).component;
1286 | 
1287 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1288 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1289 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1290 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1291 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1292 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1293 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1294 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1295 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1296 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1297 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1298 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1299 |   });
1300 | 
1301 |   test("theme borderRight applies to right side", async ({ initTestBed, createAvatarDriver }) => {
1302 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1303 |     const EXPECTED_WIDTH = "5px";
1304 |     const EXPECTED_STYLE = "dotted";
1305 | 
1306 |     await initTestBed('<Avatar name="Tim"/>', {
1307 |       testThemeVars: {
1308 |         "borderRight-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1309 |       },
1310 |     });
1311 |     const component = (await createAvatarDriver()).component;
1312 | 
1313 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1314 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1315 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1316 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1317 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1318 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1319 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1320 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1321 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1322 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1323 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1324 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1325 |   });
1326 | 
1327 |   test("theme borderHorizontal applies to left and right", async ({
1328 |     initTestBed,
1329 |     createAvatarDriver,
1330 |   }) => {
1331 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1332 |     const EXPECTED_WIDTH = "5px";
1333 |     const EXPECTED_STYLE = "dotted";
1334 | 
1335 |     await initTestBed('<Avatar name="Tim"/>', {
1336 |       testThemeVars: {
1337 |         "borderHorizontal-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1338 |       },
1339 |     });
1340 |     const component = (await createAvatarDriver()).component;
1341 | 
1342 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1343 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1344 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1345 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1346 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1347 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1348 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1349 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1350 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1351 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1352 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1353 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1354 |   });
1355 | 
1356 |   test("theme borderLeft overrides borderHorizontal", async ({
1357 |     initTestBed,
1358 |     createAvatarDriver,
1359 |   }) => {
1360 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1361 |     const EXPECTED_WIDTH = "5px";
1362 |     const EXPECTED_STYLE = "dotted";
1363 | 
1364 |     await initTestBed('<Avatar name="Tim"/>', {
1365 |       testThemeVars: {
1366 |         "borderHorizontal-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1367 |         "borderLeft-Avatar": "8px double rgb(0, 128, 0)",
1368 |       },
1369 |     });
1370 |     const component = (await createAvatarDriver()).component;
1371 | 
1372 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1373 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1374 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1375 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1376 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1377 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1378 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1379 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1380 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1381 |     await expect(component).toHaveCSS("border-left-color", "rgb(0, 128, 0)");
1382 |     await expect(component).toHaveCSS("border-left-width", "8px");
1383 |     await expect(component).toHaveCSS("border-left-style", "double");
1384 |   });
1385 | 
1386 |   test("theme borderRight overrides borderHorizontal", async ({
1387 |     initTestBed,
1388 |     createAvatarDriver,
1389 |   }) => {
1390 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1391 |     const EXPECTED_WIDTH = "5px";
1392 |     const EXPECTED_STYLE = "dotted";
1393 | 
1394 |     await initTestBed('<Avatar name="Tim"/>', {
1395 |       testThemeVars: {
1396 |         "borderHorizontal-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1397 |         "borderRight-Avatar": "8px double rgb(0, 128, 0)",
1398 |       },
1399 |     });
1400 |     const component = (await createAvatarDriver()).component;
1401 | 
1402 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1403 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1404 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1405 |     await expect(component).toHaveCSS("border-right-color", "rgb(0, 128, 0)");
1406 |     await expect(component).toHaveCSS("border-right-width", "8px");
1407 |     await expect(component).toHaveCSS("border-right-style", "double");
1408 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1409 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1410 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1411 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1412 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1413 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1414 |   });
1415 | 
1416 |   test("theme borderTop applies to top side", async ({ initTestBed, createAvatarDriver }) => {
1417 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1418 |     const EXPECTED_WIDTH = "5px";
1419 |     const EXPECTED_STYLE = "dotted";
1420 | 
1421 |     await initTestBed('<Avatar name="Tim"/>', {
1422 |       testThemeVars: {
1423 |         "borderTop-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1424 |       },
1425 |     });
1426 |     const component = (await createAvatarDriver()).component;
1427 | 
1428 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1429 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1430 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1431 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1432 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1433 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1434 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1435 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1436 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1437 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1438 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1439 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1440 |   });
1441 | 
1442 |   test("theme borderBottom applies to bottom side", async ({ initTestBed, createAvatarDriver }) => {
1443 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1444 |     const EXPECTED_WIDTH = "5px";
1445 |     const EXPECTED_STYLE = "dotted";
1446 | 
1447 |     await initTestBed('<Avatar name="Tim"/>', {
1448 |       testThemeVars: {
1449 |         "borderBottom-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1450 |       },
1451 |     });
1452 |     const component = (await createAvatarDriver()).component;
1453 | 
1454 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1455 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1456 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1457 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1458 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1459 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1460 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1461 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1462 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1463 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1464 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1465 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1466 |   });
1467 | 
1468 |   test("theme borderVertical applies to top and bottom", async ({
1469 |     initTestBed,
1470 |     createAvatarDriver,
1471 |   }) => {
1472 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1473 |     const EXPECTED_WIDTH = "5px";
1474 |     const EXPECTED_STYLE = "dotted";
1475 | 
1476 |     await initTestBed('<Avatar name="Tim"/>', {
1477 |       testThemeVars: {
1478 |         "borderVertical-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1479 |       },
1480 |     });
1481 |     const component = (await createAvatarDriver()).component;
1482 | 
1483 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1484 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1485 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1486 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1487 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1488 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1489 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1490 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1491 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1492 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1493 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1494 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1495 |   });
1496 | 
1497 |   test("theme borderTop overrides borderVertical", async ({ initTestBed, createAvatarDriver }) => {
1498 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1499 |     const EXPECTED_WIDTH = "5px";
1500 |     const EXPECTED_STYLE = "dotted";
1501 | 
1502 |     await initTestBed('<Avatar name="Tim"/>', {
1503 |       testThemeVars: {
1504 |         "borderVertical-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1505 |         "borderTop-Avatar": "8px double rgb(0, 128, 0)",
1506 |       },
1507 |     });
1508 |     const component = (await createAvatarDriver()).component;
1509 | 
1510 |     await expect(component).toHaveCSS("border-top-color", "rgb(0, 128, 0)");
1511 |     await expect(component).toHaveCSS("border-top-width", "8px");
1512 |     await expect(component).toHaveCSS("border-top-style", "double");
1513 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1514 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1515 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1516 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1517 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1518 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1519 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1520 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1521 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1522 |   });
1523 | 
1524 |   test("theme borderBottom overrides borderVertical", async ({
1525 |     initTestBed,
1526 |     createAvatarDriver,
1527 |   }) => {
1528 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1529 |     const EXPECTED_WIDTH = "5px";
1530 |     const EXPECTED_STYLE = "dotted";
1531 | 
1532 |     await initTestBed('<Avatar name="Tim"/>', {
1533 |       testThemeVars: {
1534 |         "borderVertical-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1535 |         "borderBottom-Avatar": "8px double rgb(0, 128, 0)",
1536 |       },
1537 |     });
1538 |     const component = (await createAvatarDriver()).component;
1539 | 
1540 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1541 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1542 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1543 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1544 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1545 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1546 |     await expect(component).toHaveCSS("border-bottom-color", "rgb(0, 128, 0)");
1547 |     await expect(component).toHaveCSS("border-bottom-width", "8px");
1548 |     await expect(component).toHaveCSS("border-bottom-style", "double");
1549 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1550 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1551 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1552 |   });
1553 | 
1554 |   test("theme borderColor applies to all sides", async ({ initTestBed, createAvatarDriver }) => {
1555 |     const EXPECTED_COLOR = "rgb(0, 128, 0)";
1556 |     const EXPECTED_WIDTH = "5px";
1557 |     const EXPECTED_STYLE = "dotted";
1558 | 
1559 |     await initTestBed('<Avatar name="Tim"/>', {
1560 |       testThemeVars: {
1561 |         "borderColor-Avatar": EXPECTED_COLOR,
1562 |       },
1563 |     });
1564 |     const component = (await createAvatarDriver()).component;
1565 | 
1566 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1567 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1568 |     await expect(component).not.toHaveCSS("border-top-style", EXPECTED_STYLE);
1569 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1570 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1571 |     await expect(component).not.toHaveCSS("border-right-style", EXPECTED_STYLE);
1572 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1573 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1574 |     await expect(component).not.toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1575 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1576 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1577 |     await expect(component).not.toHaveCSS("border-left-style", EXPECTED_STYLE);
1578 |   });
1579 | 
1580 |   test("theme borderColor overrides border color", async ({ initTestBed, createAvatarDriver }) => {
1581 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1582 |     const EXPECTED_WIDTH = "5px";
1583 |     const EXPECTED_STYLE = "dotted";
1584 |     const UPDATED = "rgb(0, 128, 0)";
1585 | 
1586 |     await initTestBed('<Avatar name="Tim"/>', {
1587 |       testThemeVars: {
1588 |         "borderColor-Avatar": UPDATED,
1589 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1590 |       },
1591 |     });
1592 |     const component = (await createAvatarDriver()).component;
1593 | 
1594 |     await expect(component).toHaveCSS("border-top-color", UPDATED);
1595 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1596 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1597 |     await expect(component).toHaveCSS("border-right-color", UPDATED);
1598 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1599 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1600 |     await expect(component).toHaveCSS("border-bottom-color", UPDATED);
1601 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1602 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1603 |     await expect(component).toHaveCSS("border-left-color", UPDATED);
1604 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1605 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1606 |   });
1607 | 
1608 |   test("theme borderHorizontalColor overrides border color", async ({
1609 |     initTestBed,
1610 |     createAvatarDriver,
1611 |   }) => {
1612 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1613 |     const EXPECTED_WIDTH = "5px";
1614 |     const EXPECTED_STYLE = "dotted";
1615 |     const UPDATED = "rgb(0, 128, 0)";
1616 | 
1617 |     await initTestBed('<Avatar name="Tim"/>', {
1618 |       testThemeVars: {
1619 |         "borderHorizontalColor-Avatar": UPDATED,
1620 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1621 |       },
1622 |     });
1623 |     const component = (await createAvatarDriver()).component;
1624 | 
1625 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1626 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1627 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1628 |     await expect(component).toHaveCSS("border-right-color", UPDATED);
1629 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1630 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1631 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1632 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1633 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1634 |     await expect(component).toHaveCSS("border-left-color", UPDATED);
1635 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1636 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1637 |   });
1638 | 
1639 |   test("theme borderLeftColor overrides border color", async ({
1640 |     initTestBed,
1641 |     createAvatarDriver,
1642 |   }) => {
1643 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1644 |     const EXPECTED_WIDTH = "5px";
1645 |     const EXPECTED_STYLE = "dotted";
1646 |     const UPDATED = "rgb(0, 128, 0)";
1647 | 
1648 |     await initTestBed('<Avatar name="Tim"/>', {
1649 |       testThemeVars: {
1650 |         "borderLeftColor-Avatar": UPDATED,
1651 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1652 |       },
1653 |     });
1654 |     const component = (await createAvatarDriver()).component;
1655 | 
1656 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1657 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1658 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1659 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1660 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1661 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1662 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1663 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1664 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1665 |     await expect(component).toHaveCSS("border-left-color", UPDATED);
1666 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1667 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1668 |   });
1669 | 
1670 |   test("theme borderRightColor overrides border color", async ({
1671 |     initTestBed,
1672 |     createAvatarDriver,
1673 |   }) => {
1674 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1675 |     const EXPECTED_WIDTH = "5px";
1676 |     const EXPECTED_STYLE = "dotted";
1677 |     const UPDATED = "rgb(0, 128, 0)";
1678 | 
1679 |     await initTestBed('<Avatar name="Tim"/>', {
1680 |       testThemeVars: {
1681 |         "borderRightColor-Avatar": UPDATED,
1682 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1683 |       },
1684 |     });
1685 |     const component = (await createAvatarDriver()).component;
1686 | 
1687 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1688 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1689 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1690 |     await expect(component).toHaveCSS("border-right-color", UPDATED);
1691 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1692 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1693 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1694 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1695 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1696 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1697 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1698 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1699 |   });
1700 | 
1701 |   test("theme borderVerticalColor overrides border color", async ({
1702 |     initTestBed,
1703 |     createAvatarDriver,
1704 |   }) => {
1705 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1706 |     const EXPECTED_WIDTH = "5px";
1707 |     const EXPECTED_STYLE = "dotted";
1708 |     const UPDATED = "rgb(0, 128, 0)";
1709 | 
1710 |     await initTestBed('<Avatar name="Tim"/>', {
1711 |       testThemeVars: {
1712 |         "borderVerticalColor-Avatar": UPDATED,
1713 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1714 |       },
1715 |     });
1716 |     const component = (await createAvatarDriver()).component;
1717 | 
1718 |     await expect(component).toHaveCSS("border-top-color", UPDATED);
1719 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1720 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1721 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1722 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1723 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1724 |     await expect(component).toHaveCSS("border-bottom-color", UPDATED);
1725 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1726 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1727 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1728 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1729 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1730 |   });
1731 | 
1732 |   test("theme borderTopColor overrides border color", async ({
1733 |     initTestBed,
1734 |     createAvatarDriver,
1735 |   }) => {
1736 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1737 |     const EXPECTED_WIDTH = "5px";
1738 |     const EXPECTED_STYLE = "dotted";
1739 |     const UPDATED = "rgb(0, 128, 0)";
1740 | 
1741 |     await initTestBed('<Avatar name="Tim"/>', {
1742 |       testThemeVars: {
1743 |         "borderTopColor-Avatar": UPDATED,
1744 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1745 |       },
1746 |     });
1747 |     const component = (await createAvatarDriver()).component;
1748 | 
1749 |     await expect(component).toHaveCSS("border-top-color", UPDATED);
1750 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1751 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1752 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1753 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1754 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1755 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1756 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1757 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1758 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1759 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1760 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1761 |   });
1762 | 
1763 |   test("theme borderBottomColor overrides border color", async ({
1764 |     initTestBed,
1765 |     createAvatarDriver,
1766 |   }) => {
1767 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1768 |     const EXPECTED_WIDTH = "5px";
1769 |     const EXPECTED_STYLE = "dotted";
1770 |     const UPDATED = "rgb(0, 128, 0)";
1771 | 
1772 |     await initTestBed('<Avatar name="Tim"/>', {
1773 |       testThemeVars: {
1774 |         "borderBottomColor-Avatar": UPDATED,
1775 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1776 |       },
1777 |     });
1778 |     const component = (await createAvatarDriver()).component;
1779 | 
1780 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1781 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1782 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1783 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1784 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1785 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1786 |     await expect(component).toHaveCSS("border-bottom-color", UPDATED);
1787 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1788 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1789 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1790 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1791 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1792 |   });
1793 | 
1794 |   test("theme borderStyle applies to all sides", async ({ initTestBed, createAvatarDriver }) => {
1795 |     const EXPECTED_COLOR = "rgb(0, 128, 0)";
1796 |     const EXPECTED_WIDTH = "5px";
1797 |     const EXPECTED_STYLE = "dotted";
1798 | 
1799 |     await initTestBed('<Avatar name="Tim"/>', {
1800 |       testThemeVars: {
1801 |         "borderStyle-Avatar": EXPECTED_STYLE,
1802 |       },
1803 |     });
1804 |     const component = (await createAvatarDriver()).component;
1805 | 
1806 |     await expect(component).not.toHaveCSS("border-top-color", EXPECTED_COLOR);
1807 |     await expect(component).not.toHaveCSS("border-top-width", EXPECTED_WIDTH);
1808 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1809 |     await expect(component).not.toHaveCSS("border-right-color", EXPECTED_COLOR);
1810 |     await expect(component).not.toHaveCSS("border-right-width", EXPECTED_WIDTH);
1811 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1812 |     await expect(component).not.toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1813 |     await expect(component).not.toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1814 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1815 |     await expect(component).not.toHaveCSS("border-left-color", EXPECTED_COLOR);
1816 |     await expect(component).not.toHaveCSS("border-left-width", EXPECTED_WIDTH);
1817 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1818 |   });
1819 | 
1820 |   test("theme borderStyle overrides border style", async ({ initTestBed, createAvatarDriver }) => {
1821 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1822 |     const EXPECTED_WIDTH = "5px";
1823 |     const EXPECTED_STYLE = "dotted";
1824 |     const UPDATED = "double";
1825 | 
1826 |     await initTestBed('<Avatar name="Tim"/>', {
1827 |       testThemeVars: {
1828 |         "borderStyle-Avatar": UPDATED,
1829 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1830 |       },
1831 |     });
1832 |     const component = (await createAvatarDriver()).component;
1833 | 
1834 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1835 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1836 |     await expect(component).toHaveCSS("border-top-style", UPDATED);
1837 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1838 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1839 |     await expect(component).toHaveCSS("border-right-style", UPDATED);
1840 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1841 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1842 |     await expect(component).toHaveCSS("border-bottom-style", UPDATED);
1843 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1844 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1845 |     await expect(component).toHaveCSS("border-left-style", UPDATED);
1846 |   });
1847 | 
1848 |   test("theme borderHorizontalWidth overrides border width", async ({
1849 |     initTestBed,
1850 |     createAvatarDriver,
1851 |   }) => {
1852 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1853 |     const EXPECTED_WIDTH = "5px";
1854 |     const EXPECTED_STYLE = "dotted";
1855 |     const UPDATED = "12px";
1856 | 
1857 |     await initTestBed('<Avatar name="Tim"/>', {
1858 |       testThemeVars: {
1859 |         "borderHorizontalWidth-Avatar": UPDATED,
1860 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1861 |       },
1862 |     });
1863 |     const component = (await createAvatarDriver()).component;
1864 | 
1865 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1866 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1867 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1868 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1869 |     await expect(component).toHaveCSS("border-right-width", UPDATED);
1870 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1871 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1872 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1873 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1874 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1875 |     await expect(component).toHaveCSS("border-left-width", UPDATED);
1876 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1877 |   });
1878 | 
1879 |   test("theme borderLeftWidth overrides border width", async ({
1880 |     initTestBed,
1881 |     createAvatarDriver,
1882 |   }) => {
1883 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1884 |     const EXPECTED_WIDTH = "5px";
1885 |     const EXPECTED_STYLE = "dotted";
1886 |     const UPDATED = "12px";
1887 | 
1888 |     await initTestBed('<Avatar name="Tim"/>', {
1889 |       testThemeVars: {
1890 |         "borderLeftWidth-Avatar": UPDATED,
1891 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1892 |       },
1893 |     });
1894 |     const component = (await createAvatarDriver()).component;
1895 | 
1896 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1897 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1898 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1899 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1900 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1901 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1902 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1903 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1904 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1905 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1906 |     await expect(component).toHaveCSS("border-left-width", UPDATED);
1907 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1908 |   });
1909 | 
1910 |   test("theme borderRightWidth overrides border width", async ({
1911 |     initTestBed,
1912 |     createAvatarDriver,
1913 |   }) => {
1914 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1915 |     const EXPECTED_WIDTH = "5px";
1916 |     const EXPECTED_STYLE = "dotted";
1917 |     const UPDATED = "12px";
1918 | 
1919 |     await initTestBed('<Avatar name="Tim"/>', {
1920 |       testThemeVars: {
1921 |         "borderRightWidth-Avatar": UPDATED,
1922 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1923 |       },
1924 |     });
1925 |     const component = (await createAvatarDriver()).component;
1926 | 
1927 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1928 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
1929 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1930 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1931 |     await expect(component).toHaveCSS("border-right-width", UPDATED);
1932 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1933 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1934 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1935 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1936 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1937 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1938 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1939 |   });
1940 | 
1941 |   test("theme borderVerticalWidth overrides border width", async ({
1942 |     initTestBed,
1943 |     createAvatarDriver,
1944 |   }) => {
1945 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1946 |     const EXPECTED_WIDTH = "5px";
1947 |     const EXPECTED_STYLE = "dotted";
1948 |     const UPDATED = "12px";
1949 | 
1950 |     await initTestBed('<Avatar name="Tim"/>', {
1951 |       testThemeVars: {
1952 |         "borderVerticalWidth-Avatar": UPDATED,
1953 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1954 |       },
1955 |     });
1956 |     const component = (await createAvatarDriver()).component;
1957 | 
1958 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1959 |     await expect(component).toHaveCSS("border-top-width", UPDATED);
1960 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1961 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1962 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1963 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1964 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1965 |     await expect(component).toHaveCSS("border-bottom-width", UPDATED);
1966 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1967 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1968 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
1969 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
1970 |   });
1971 | 
1972 |   test("theme borderTopWidth overrides border width", async ({
1973 |     initTestBed,
1974 |     createAvatarDriver,
1975 |   }) => {
1976 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
1977 |     const EXPECTED_WIDTH = "5px";
1978 |     const EXPECTED_STYLE = "dotted";
1979 |     const UPDATED = "12px";
1980 | 
1981 |     await initTestBed('<Avatar name="Tim"/>', {
1982 |       testThemeVars: {
1983 |         "borderTopWidth-Avatar": UPDATED,
1984 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
1985 |       },
1986 |     });
1987 |     const component = (await createAvatarDriver()).component;
1988 | 
1989 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
1990 |     await expect(component).toHaveCSS("border-top-width", UPDATED);
1991 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
1992 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
1993 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
1994 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
1995 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
1996 |     await expect(component).toHaveCSS("border-bottom-width", EXPECTED_WIDTH);
1997 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
1998 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
1999 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
2000 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
2001 |   });
2002 | 
2003 |   test("theme borderBottomWidth overrides border width", async ({
2004 |     initTestBed,
2005 |     createAvatarDriver,
2006 |   }) => {
2007 |     const EXPECTED_COLOR = "rgb(255, 0, 0)";
2008 |     const EXPECTED_WIDTH = "5px";
2009 |     const EXPECTED_STYLE = "dotted";
2010 |     const UPDATED = "12px";
2011 | 
2012 |     await initTestBed('<Avatar name="Tim"/>', {
2013 |       testThemeVars: {
2014 |         "borderBottomWidth-Avatar": UPDATED,
2015 |         "border-Avatar": `${EXPECTED_STYLE} ${EXPECTED_COLOR} ${EXPECTED_WIDTH}`,
2016 |       },
2017 |     });
2018 |     const component = (await createAvatarDriver()).component;
2019 | 
2020 |     await expect(component).toHaveCSS("border-top-color", EXPECTED_COLOR);
2021 |     await expect(component).toHaveCSS("border-top-width", EXPECTED_WIDTH);
2022 |     await expect(component).toHaveCSS("border-top-style", EXPECTED_STYLE);
2023 |     await expect(component).toHaveCSS("border-right-color", EXPECTED_COLOR);
2024 |     await expect(component).toHaveCSS("border-right-width", EXPECTED_WIDTH);
2025 |     await expect(component).toHaveCSS("border-right-style", EXPECTED_STYLE);
2026 |     await expect(component).toHaveCSS("border-bottom-color", EXPECTED_COLOR);
2027 |     await expect(component).toHaveCSS("border-bottom-width", UPDATED);
2028 |     await expect(component).toHaveCSS("border-bottom-style", EXPECTED_STYLE);
2029 |     await expect(component).toHaveCSS("border-left-color", EXPECTED_COLOR);
2030 |     await expect(component).toHaveCSS("border-left-width", EXPECTED_WIDTH);
2031 |     await expect(component).toHaveCSS("border-left-style", EXPECTED_STYLE);
2032 |   });
2033 | });
2034 | 
```
Page 170/179FirstPrevNextLast