@datatechsolutions/tympan 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -4
- package/dist/elements-DCGBSGS8.js +14699 -0
- package/dist/elements-DCGBSGS8.js.map +1 -0
- package/dist/elements-react.d.ts +1378 -0
- package/dist/elements-react.js +3639 -0
- package/dist/elements-react.js.map +1 -0
- package/dist/elements.bundle.js +5 -0
- package/dist/elements.d.ts +13520 -0
- package/dist/elements.js +3 -0
- package/dist/flow.css +174 -3
- package/dist/flow.d.ts +86 -4
- package/dist/flow.js +199 -10
- package/dist/flow.js.map +1 -1
- package/dist/{index-C3WAwKdm.d.ts → index-6wR5ThnX.d.ts} +4 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/parse-Dq4x3Wet.js +345 -0
- package/dist/parse-Dq4x3Wet.js.map +1 -0
- package/dist/{src-Ds9ArSaP.js → src-C9whlpC7.js} +3 -342
- package/dist/src-C9whlpC7.js.map +1 -0
- package/dist/styles.css +6082 -2213
- package/docs/html-contract.md +644 -0
- package/package.json +25 -14
- package/src/avatars/GeneratedAvatar.tsx +41 -0
- package/src/avatars/avatarSvg.ts +252 -0
- package/src/avatars/avatars.test.tsx +268 -0
- package/src/avatars/index.ts +30 -0
- package/src/avatars/styles.ts +80 -0
- package/src/base.css +49 -0
- package/src/components/action-menu/ActionMenu.css +152 -0
- package/src/components/action-menu/ActionMenu.test.tsx +189 -0
- package/src/components/action-menu/ActionMenu.tsx +282 -0
- package/src/components/activity-feed/ActivityFeed.css +91 -0
- package/src/components/activity-feed/ActivityFeed.test.tsx +89 -0
- package/src/components/activity-feed/ActivityFeed.tsx +86 -0
- package/src/components/actor-chip/ActorChip.css +93 -0
- package/src/components/actor-chip/ActorChip.test.tsx +89 -0
- package/src/components/actor-chip/ActorChip.tsx +98 -0
- package/src/components/agent-output-card/AgentOutputCard.css +105 -0
- package/src/components/agent-output-card/AgentOutputCard.rtl.test.tsx +12 -0
- package/src/components/agent-output-card/AgentOutputCard.test.tsx +65 -0
- package/src/components/agent-output-card/AgentOutputCard.tsx +74 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.css +45 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.rtl.test.tsx +12 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.test.tsx +60 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.tsx +11 -0
- package/src/components/app-frame/AppFrame.css +285 -0
- package/src/components/app-frame/AppFrame.test.tsx +127 -0
- package/src/components/app-frame/AppFrame.tsx +231 -0
- package/src/components/app-frame/AppFrameRail.css +321 -0
- package/src/components/app-frame/RailFrame.test.tsx +159 -0
- package/src/components/app-frame/RailFrame.tsx +140 -0
- package/src/components/app-frame/RailNav.tsx +118 -0
- package/src/components/app-frame/frameContext.ts +22 -0
- package/src/components/app-launcher-grid/AppLauncherGrid.css +140 -0
- package/src/components/app-launcher-grid/AppLauncherGrid.test.tsx +103 -0
- package/src/components/app-launcher-grid/AppLauncherGrid.tsx +201 -0
- package/src/components/app-navigation/AppNavigation.css +354 -0
- package/src/components/app-navigation/AppNavigation.test.tsx +129 -0
- package/src/components/app-navigation/AppNavigation.tsx +372 -0
- package/src/components/app-navigation/builders.ts +117 -0
- package/src/components/attention-list/AttentionList.css +90 -0
- package/src/components/attention-list/AttentionList.test.tsx +84 -0
- package/src/components/attention-list/AttentionList.tsx +82 -0
- package/src/components/auth-frame/AuthFrame.css +85 -0
- package/src/components/auth-frame/AuthFrame.rtl.test.tsx +14 -0
- package/src/components/auth-frame/AuthFrame.test.tsx +89 -0
- package/src/components/auth-frame/AuthFrame.tsx +35 -0
- package/src/components/avatar/Avatar.css +134 -0
- package/src/components/avatar/Avatar.test.tsx +98 -0
- package/src/components/avatar/Avatar.tsx +114 -0
- package/src/components/brand-loader/BrandLoader.css +78 -0
- package/src/components/brand-loader/BrandLoader.rtl.test.tsx +13 -0
- package/src/components/brand-loader/BrandLoader.test.tsx +83 -0
- package/src/components/brand-loader/BrandLoader.tsx +34 -0
- package/src/components/brand-mark/BrandMark.css +60 -0
- package/src/components/brand-mark/BrandMark.rtl.test.tsx +16 -0
- package/src/components/brand-mark/BrandMark.test.tsx +60 -0
- package/src/components/brand-mark/BrandMark.tsx +76 -0
- package/src/components/brand-panel/BrandPanel.css +100 -0
- package/src/components/brand-panel/BrandPanel.rtl.test.tsx +13 -0
- package/src/components/brand-panel/BrandPanel.test.tsx +59 -0
- package/src/components/brand-panel/BrandPanel.tsx +61 -0
- package/src/components/brand-wordmark/BrandWordmark.css +37 -0
- package/src/components/breadcrumbs/Breadcrumbs.css +158 -0
- package/src/components/breadcrumbs/Breadcrumbs.test.tsx +104 -0
- package/src/components/breadcrumbs/Breadcrumbs.tsx +130 -0
- package/src/components/button/Button.css +214 -0
- package/src/components/button/Button.test.tsx +177 -0
- package/src/components/button/Button.tsx +205 -0
- package/src/components/cascade-grid/CascadeGrid.css +31 -0
- package/src/components/cascade-grid/CascadeGrid.rtl.test.tsx +20 -0
- package/src/components/cascade-grid/CascadeGrid.test.tsx +126 -0
- package/src/components/cascade-grid/CascadeGrid.tsx +98 -0
- package/src/components/category-tabs/CategoryTabs.css +108 -0
- package/src/components/category-tabs/CategoryTabs.test.tsx +118 -0
- package/src/components/category-tabs/CategoryTabs.tsx +94 -0
- package/src/components/chart/Chart.css +215 -0
- package/src/components/chart/Chart.rtl.test.tsx +42 -0
- package/src/components/chart/Chart.test.tsx +187 -0
- package/src/components/chart/Chart.tsx +502 -0
- package/src/components/chart/chartMath.ts +73 -0
- package/src/components/chart/plot.ts +53 -0
- package/src/components/chart/types.ts +72 -0
- package/src/components/checkbox/Checkbox.css +168 -0
- package/src/components/checkbox/Checkbox.test.tsx +97 -0
- package/src/components/checkbox/Checkbox.tsx +168 -0
- package/src/components/chip-group/ChipGroup.css +182 -0
- package/src/components/chip-group/ChipGroup.test.tsx +135 -0
- package/src/components/chip-group/ChipGroup.tsx +169 -0
- package/src/components/choice-card/ChoiceCard.css +141 -0
- package/src/components/choice-card/ChoiceCard.test.tsx +111 -0
- package/src/components/choice-card/ChoiceCard.tsx +139 -0
- package/src/components/choice-grid/ChoiceGrid.css +110 -0
- package/src/components/choice-grid/ChoiceGrid.test.tsx +85 -0
- package/src/components/choice-grid/ChoiceGrid.tsx +85 -0
- package/src/components/choice-tile/ChoiceTile.css +79 -0
- package/src/components/choice-tile/ChoiceTile.test.tsx +118 -0
- package/src/components/choice-tile/ChoiceTile.tsx +57 -0
- package/src/components/command-palette/CommandPalette.css +296 -0
- package/src/components/command-palette/CommandPalette.test.tsx +190 -0
- package/src/components/command-palette/CommandPalette.tsx +340 -0
- package/src/components/command-palette/model.ts +156 -0
- package/src/components/compact-confirm/CompactConfirm.css +136 -0
- package/src/components/compact-confirm/CompactConfirm.test.tsx +119 -0
- package/src/components/compact-confirm/CompactConfirm.tsx +91 -0
- package/src/components/confirm-service/ConfirmService.test.tsx +121 -0
- package/src/components/confirm-service/ConfirmService.tsx +152 -0
- package/src/components/consent-banner/ConsentBanner.css +73 -0
- package/src/components/consent-banner/ConsentBanner.rtl.test.tsx +12 -0
- package/src/components/consent-banner/ConsentBanner.test.tsx +86 -0
- package/src/components/consent-banner/ConsentBanner.tsx +66 -0
- package/src/components/contact-card/ContactCard.css +105 -0
- package/src/components/contact-card/ContactCard.rtl.test.tsx +17 -0
- package/src/components/contact-card/ContactCard.test.tsx +58 -0
- package/src/components/contact-card/ContactCard.tsx +99 -0
- package/src/components/copy-identifier/CopyIdentifier.css +90 -0
- package/src/components/copy-identifier/CopyIdentifier.test.tsx +103 -0
- package/src/components/copy-identifier/CopyIdentifier.tsx +89 -0
- package/src/components/count-badge/CountBadge.css +54 -0
- package/src/components/count-badge/CountBadge.test.tsx +81 -0
- package/src/components/count-badge/CountBadge.tsx +68 -0
- package/src/components/currency-field/CurrencyField.css +88 -0
- package/src/components/currency-field/CurrencyField.test.tsx +147 -0
- package/src/components/currency-field/CurrencyField.tsx +219 -0
- package/src/components/data-table/DataTable.css +362 -0
- package/src/components/data-table/DataTable.test.tsx +214 -0
- package/src/components/data-table/DataTable.tsx +396 -0
- package/src/components/date-field/DateField.css +126 -0
- package/src/components/date-field/DateField.test.tsx +143 -0
- package/src/components/date-field/DateField.tsx +235 -0
- package/src/components/delta-indicator/DeltaIndicator.css +58 -0
- package/src/components/delta-indicator/DeltaIndicator.rtl.test.tsx +19 -0
- package/src/components/delta-indicator/DeltaIndicator.test.tsx +69 -0
- package/src/components/delta-indicator/DeltaIndicator.tsx +88 -0
- package/src/components/details-popover/DetailsPopover.css +166 -0
- package/src/components/details-popover/DetailsPopover.test.tsx +92 -0
- package/src/components/details-popover/DetailsPopover.tsx +141 -0
- package/src/components/drawer/Drawer.css +188 -0
- package/src/components/drawer/Drawer.test.tsx +152 -0
- package/src/components/drawer/Drawer.tsx +121 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.css +66 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.rtl.test.tsx +17 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.test.tsx +86 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.tsx +104 -0
- package/src/components/empty-state/EmptyState.css +70 -0
- package/src/components/empty-state/EmptyState.test.tsx +77 -0
- package/src/components/empty-state/EmptyState.tsx +105 -0
- package/src/components/environment-banner/EnvironmentBanner.css +46 -0
- package/src/components/environment-banner/EnvironmentBanner.rtl.test.tsx +13 -0
- package/src/components/environment-banner/EnvironmentBanner.test.tsx +51 -0
- package/src/components/environment-banner/EnvironmentBanner.tsx +75 -0
- package/src/components/error-state/ErrorState.css +113 -0
- package/src/components/error-state/ErrorState.test.tsx +98 -0
- package/src/components/error-state/ErrorState.tsx +145 -0
- package/src/components/evidence-panel/EvidencePanel.css +126 -0
- package/src/components/evidence-panel/EvidencePanel.test.tsx +130 -0
- package/src/components/evidence-panel/EvidencePanel.tsx +120 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.css +136 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.rtl.test.tsx +13 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.test.tsx +91 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.tsx +76 -0
- package/src/components/feature-tile/FeatureTile.css +111 -0
- package/src/components/feature-tile/FeatureTile.rtl.test.tsx +14 -0
- package/src/components/feature-tile/FeatureTile.test.tsx +78 -0
- package/src/components/feature-tile/FeatureTile.tsx +52 -0
- package/src/components/federated-sign-in/FederatedSignIn.css +23 -0
- package/src/components/federated-sign-in/FederatedSignIn.rtl.test.tsx +12 -0
- package/src/components/federated-sign-in/FederatedSignIn.test.tsx +74 -0
- package/src/components/federated-sign-in/FederatedSignIn.tsx +68 -0
- package/src/components/field/Field.css +99 -0
- package/src/components/field/Field.test.tsx +134 -0
- package/src/components/field/Field.tsx +228 -0
- package/src/components/filter-chips/FilterChips.css +145 -0
- package/src/components/filter-chips/FilterChips.test.tsx +121 -0
- package/src/components/filter-chips/FilterChips.tsx +134 -0
- package/src/components/filter-field/FilterField.css +11 -0
- package/src/components/filter-field/FilterField.test.tsx +92 -0
- package/src/components/filter-field/FilterField.tsx +43 -0
- package/src/components/filter-tile/FilterTile.css +145 -0
- package/src/components/filter-tile/FilterTile.test.tsx +69 -0
- package/src/components/filter-tile/FilterTile.tsx +87 -0
- package/src/components/flag-set-picker/FlagSetPicker.css +32 -0
- package/src/components/flag-set-picker/FlagSetPicker.test.tsx +75 -0
- package/src/components/flag-set-picker/FlagSetPicker.tsx +92 -0
- package/src/components/floating-action-bar/FloatingActionBar.css +375 -0
- package/src/components/floating-action-bar/FloatingActionBar.test.tsx +309 -0
- package/src/components/floating-action-bar/FloatingActionBar.tsx +655 -0
- package/src/components/floating-action-bar/barModel.ts +147 -0
- package/src/components/floating-action-button/FloatingActionButton.css +54 -0
- package/src/components/floating-action-button/FloatingActionButton.test.tsx +87 -0
- package/src/components/floating-action-button/FloatingActionButton.tsx +87 -0
- package/src/components/form-actions/FormActions.css +34 -0
- package/src/components/form-actions/FormActions.test.tsx +96 -0
- package/src/components/form-actions/FormActions.tsx +83 -0
- package/src/components/form-layout/FormLayout.css +148 -0
- package/src/components/form-layout/FormLayout.test.tsx +137 -0
- package/src/components/form-layout/FormLayout.tsx +177 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.css +92 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.rtl.test.tsx +12 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.test.tsx +70 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.tsx +75 -0
- package/src/components/gradient-mark/GradientMark.css +45 -0
- package/src/components/grouped-disclosure-list/GroupedDisclosureList.css +80 -0
- package/src/components/grouped-disclosure-list/GroupedDisclosureList.test.tsx +92 -0
- package/src/components/grouped-disclosure-list/GroupedDisclosureList.tsx +105 -0
- package/src/components/heading/Heading.css +67 -0
- package/src/components/heading/Heading.test.tsx +93 -0
- package/src/components/heading/Heading.tsx +60 -0
- package/src/components/highlight-stat/HighlightStat.css +50 -0
- package/src/components/highlight-stat/HighlightStat.rtl.test.tsx +13 -0
- package/src/components/highlight-stat/HighlightStat.test.tsx +83 -0
- package/src/components/highlight-stat/HighlightStat.tsx +66 -0
- package/src/components/history-list/HistoryList.css +116 -0
- package/src/components/history-list/HistoryList.test.tsx +88 -0
- package/src/components/history-list/HistoryList.tsx +115 -0
- package/src/components/http-error-page/HttpErrorPage.css +70 -0
- package/src/components/http-error-page/HttpErrorPage.rtl.test.tsx +12 -0
- package/src/components/http-error-page/HttpErrorPage.test.tsx +51 -0
- package/src/components/http-error-page/HttpErrorPage.tsx +70 -0
- package/src/components/image-picker/ImagePicker.css +151 -0
- package/src/components/image-picker/ImagePicker.test.tsx +133 -0
- package/src/components/image-picker/ImagePicker.tsx +167 -0
- package/src/components/inline-notice/InlineNotice.css +101 -0
- package/src/components/inline-notice/InlineNotice.test.tsx +123 -0
- package/src/components/inline-notice/InlineNotice.tsx +98 -0
- package/src/components/insight-card/InsightCard.css +109 -0
- package/src/components/insight-card/InsightCard.rtl.test.tsx +14 -0
- package/src/components/insight-card/InsightCard.test.tsx +102 -0
- package/src/components/insight-card/InsightCard.tsx +185 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.css +163 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.rtl.test.tsx +13 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.test.tsx +123 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.tsx +167 -0
- package/src/components/link/Link.css +76 -0
- package/src/components/link/Link.test.tsx +103 -0
- package/src/components/link/Link.tsx +87 -0
- package/src/components/list-panel/ListPanel.css +95 -0
- package/src/components/list-panel/ListPanel.test.tsx +128 -0
- package/src/components/list-panel/ListPanel.tsx +137 -0
- package/src/components/list-row/ListRow.css +81 -0
- package/src/components/list-row/ListRow.test.tsx +87 -0
- package/src/components/list-row/ListRow.tsx +68 -0
- package/src/components/listbox-select/ListboxSelect.css +263 -0
- package/src/components/listbox-select/ListboxSelect.test.tsx +157 -0
- package/src/components/listbox-select/ListboxSelect.tsx +178 -0
- package/src/components/live-report-view/LiveReportView.css +111 -0
- package/src/components/live-report-view/LiveReportView.rtl.test.tsx +14 -0
- package/src/components/live-report-view/LiveReportView.test.tsx +185 -0
- package/src/components/live-report-view/LiveReportView.tsx +135 -0
- package/src/components/live-report-view/runEvents.ts +103 -0
- package/src/components/live-report-view/useRunEventStream.ts +134 -0
- package/src/components/loader-presets/LoaderPresets.test.tsx +22 -0
- package/src/components/loader-presets/LoaderPresets.tsx +80 -0
- package/src/components/locale-picker/LocalePicker.css +91 -0
- package/src/components/locale-picker/LocalePicker.test.tsx +99 -0
- package/src/components/locale-picker/LocalePicker.tsx +128 -0
- package/src/components/long-press-menu/LongPressMenu.css +97 -0
- package/src/components/long-press-menu/LongPressMenu.test.tsx +106 -0
- package/src/components/long-press-menu/LongPressMenu.tsx +100 -0
- package/src/components/markdown-view/MarkdownView.css +93 -0
- package/src/components/markdown-view/MarkdownView.test.tsx +107 -0
- package/src/components/markdown-view/MarkdownView.tsx +96 -0
- package/src/components/markdown-view/parse.ts +152 -0
- package/src/components/metric-tile/MetricTile.css +104 -0
- package/src/components/metric-tile/MetricTile.rtl.test.tsx +12 -0
- package/src/components/metric-tile/MetricTile.test.tsx +70 -0
- package/src/components/metric-tile/MetricTile.tsx +59 -0
- package/src/components/modal-dialog/ModalDialog.css +165 -0
- package/src/components/modal-dialog/ModalDialog.test.tsx +158 -0
- package/src/components/modal-dialog/ModalDialog.tsx +112 -0
- package/src/components/month-field/MonthField.css +11 -0
- package/src/components/month-field/MonthField.test.tsx +101 -0
- package/src/components/month-field/MonthField.tsx +124 -0
- package/src/components/native-select/NativeSelect.css +246 -0
- package/src/components/native-select/NativeSelect.test.tsx +160 -0
- package/src/components/native-select/NativeSelect.tsx +234 -0
- package/src/components/navigation-flyout/NavigationFlyout.css +181 -0
- package/src/components/navigation-flyout/NavigationFlyout.test.tsx +111 -0
- package/src/components/navigation-flyout/NavigationFlyout.tsx +196 -0
- package/src/components/notification-center/NotificationCenter.css +187 -0
- package/src/components/notification-center/NotificationCenter.test.tsx +140 -0
- package/src/components/notification-center/NotificationCenter.tsx +229 -0
- package/src/components/one-time-code-field/OneTimeCodeField.css +62 -0
- package/src/components/one-time-code-field/OneTimeCodeField.test.tsx +150 -0
- package/src/components/one-time-code-field/OneTimeCodeField.tsx +176 -0
- package/src/components/page-dots/PageDots.css +90 -0
- package/src/components/page-dots/PageDots.test.tsx +87 -0
- package/src/components/page-dots/PageDots.tsx +95 -0
- package/src/components/page-header/PageHeader.css +271 -0
- package/src/components/page-header/PageHeader.test.tsx +185 -0
- package/src/components/page-header/PageHeader.tsx +194 -0
- package/src/components/pagination/Pagination.css +139 -0
- package/src/components/pagination/Pagination.test.tsx +104 -0
- package/src/components/pagination/Pagination.tsx +160 -0
- package/src/components/password-strength/PasswordStrength.css +85 -0
- package/src/components/password-strength/PasswordStrength.test.tsx +90 -0
- package/src/components/password-strength/PasswordStrength.tsx +109 -0
- package/src/components/phase-bar/PhaseBar.css +95 -0
- package/src/components/phase-bar/PhaseBar.test.tsx +67 -0
- package/src/components/phase-bar/PhaseBar.tsx +66 -0
- package/src/components/popover/Popover.css +130 -0
- package/src/components/popover/Popover.test.tsx +153 -0
- package/src/components/popover/Popover.tsx +110 -0
- package/src/components/product-mark/ProductMark.css +24 -0
- package/src/components/product-mark/ProductMark.test.tsx +48 -0
- package/src/components/product-mark/ProductMark.tsx +95 -0
- package/src/components/product-mark/marks.ts +115 -0
- package/src/components/product-mark/plate.ts +42 -0
- package/src/components/profile-avatar/ProfileAvatar.css +51 -0
- package/src/components/profile-avatar/ProfileAvatar.test.tsx +78 -0
- package/src/components/profile-avatar/ProfileAvatar.tsx +58 -0
- package/src/components/profile-summary/ProfileSummary.css +43 -0
- package/src/components/profile-summary/ProfileSummary.rtl.test.tsx +12 -0
- package/src/components/profile-summary/ProfileSummary.test.tsx +52 -0
- package/src/components/profile-summary/ProfileSummary.tsx +52 -0
- package/src/components/progress-bar/ProgressBar.css +100 -0
- package/src/components/progress-bar/ProgressBar.test.tsx +68 -0
- package/src/components/progress-bar/ProgressBar.tsx +76 -0
- package/src/components/proof-badge/ProofBadge.css +178 -0
- package/src/components/proof-badge/ProofBadge.test.tsx +95 -0
- package/src/components/proof-badge/ProofBadge.tsx +113 -0
- package/src/components/pull-to-refresh/PullToRefresh.css +99 -0
- package/src/components/pull-to-refresh/PullToRefresh.rtl.test.tsx +16 -0
- package/src/components/pull-to-refresh/PullToRefresh.test.tsx +117 -0
- package/src/components/pull-to-refresh/PullToRefresh.tsx +181 -0
- package/src/components/record-card/RecordCard.css +151 -0
- package/src/components/record-card/RecordCard.rtl.test.tsx +16 -0
- package/src/components/record-card/RecordCard.test.tsx +105 -0
- package/src/components/record-card/RecordCard.tsx +159 -0
- package/src/components/recovery-code-list/RecoveryCodeList.css +66 -0
- package/src/components/recovery-code-list/RecoveryCodeList.test.tsx +108 -0
- package/src/components/recovery-code-list/RecoveryCodeList.tsx +105 -0
- package/src/components/region-map/RegionMap.css +229 -0
- package/src/components/region-map/RegionMap.test.tsx +200 -0
- package/src/components/region-map/RegionMap.tsx +400 -0
- package/src/components/region-map/useRegionMapState.ts +92 -0
- package/src/components/region-theme/countryProfile.ts +110 -0
- package/src/components/region-theme/data/br-profile.ts +41 -0
- package/src/components/region-theme/data/br.ts +80 -0
- package/src/components/region-theme/format.ts +120 -0
- package/src/components/region-theme/geometry.ts +67 -0
- package/src/components/region-theme/index.ts +7 -0
- package/src/components/region-theme/regionTheme.test.tsx +200 -0
- package/src/components/region-theme/registry.ts +163 -0
- package/src/components/report-view/ReportView.css +323 -0
- package/src/components/report-view/ReportView.rtl.test.tsx +25 -0
- package/src/components/report-view/ReportView.test.tsx +141 -0
- package/src/components/report-view/ReportView.tsx +201 -0
- package/src/components/report-view/sections.tsx +281 -0
- package/src/components/report-view/types.ts +72 -0
- package/src/components/report-view/validateReport.ts +51 -0
- package/src/components/resizable-split/ResizableSplit.css +56 -0
- package/src/components/resizable-split/ResizableSplit.test.tsx +108 -0
- package/src/components/resizable-split/ResizableSplit.tsx +76 -0
- package/src/components/resizable-split/useSplitter.ts +72 -0
- package/src/components/reveal-number/RevealNumber.css +17 -0
- package/src/components/reveal-number/RevealNumber.rtl.test.tsx +13 -0
- package/src/components/reveal-number/RevealNumber.test.tsx +136 -0
- package/src/components/reveal-number/RevealNumber.tsx +115 -0
- package/src/components/route-progress/RouteProgress.css +54 -0
- package/src/components/route-progress/RouteProgress.rtl.test.tsx +16 -0
- package/src/components/route-progress/RouteProgress.test.tsx +62 -0
- package/src/components/route-progress/RouteProgress.tsx +63 -0
- package/src/components/ruled-grid/RuledGrid.css +86 -0
- package/src/components/ruled-grid/RuledGrid.rtl.test.tsx +13 -0
- package/src/components/ruled-grid/RuledGrid.test.tsx +92 -0
- package/src/components/ruled-grid/RuledGrid.tsx +73 -0
- package/src/components/safe-area-inset/SafeAreaInset.css +65 -0
- package/src/components/safe-area-inset/SafeAreaInset.rtl.test.tsx +17 -0
- package/src/components/safe-area-inset/SafeAreaInset.test.tsx +99 -0
- package/src/components/safe-area-inset/SafeAreaInset.tsx +101 -0
- package/src/components/schema-request-form/SchemaRequestForm.css +75 -0
- package/src/components/schema-request-form/SchemaRequestForm.test.tsx +138 -0
- package/src/components/schema-request-form/SchemaRequestForm.tsx +231 -0
- package/src/components/search-bar/SearchBar.css +117 -0
- package/src/components/search-bar/SearchBar.test.tsx +134 -0
- package/src/components/search-bar/SearchBar.tsx +176 -0
- package/src/components/section-heading/SectionHeading.css +68 -0
- package/src/components/section-heading/SectionHeading.test.tsx +65 -0
- package/src/components/section-heading/SectionHeading.tsx +61 -0
- package/src/components/section-panel/SectionPanel.css +207 -0
- package/src/components/section-panel/SectionPanel.test.tsx +122 -0
- package/src/components/section-panel/SectionPanel.tsx +139 -0
- package/src/components/sectioned-modal/SectionedModal.css +325 -0
- package/src/components/sectioned-modal/SectionedModal.test.tsx +138 -0
- package/src/components/sectioned-modal/SectionedModal.tsx +258 -0
- package/src/components/segmented-control/SegmentedControl.css +123 -0
- package/src/components/segmented-control/SegmentedControl.test.tsx +109 -0
- package/src/components/segmented-control/SegmentedControl.tsx +85 -0
- package/src/components/separator/Separator.css +61 -0
- package/src/components/separator/Separator.test.tsx +65 -0
- package/src/components/separator/Separator.tsx +46 -0
- package/src/components/settings-dialog/SettingsDialog.css +151 -0
- package/src/components/settings-dialog/SettingsDialog.test.tsx +155 -0
- package/src/components/settings-dialog/SettingsDialog.tsx +126 -0
- package/src/components/settings-dialog/settingsModel.ts +63 -0
- package/src/components/settings-dialog/settingsParts.tsx +149 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.css +78 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.rtl.test.tsx +12 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.test.tsx +91 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.tsx +47 -0
- package/src/components/showcase-heading/ShowcaseHeading.css +65 -0
- package/src/components/showcase-heading/ShowcaseHeading.rtl.test.tsx +13 -0
- package/src/components/showcase-heading/ShowcaseHeading.test.tsx +79 -0
- package/src/components/showcase-heading/ShowcaseHeading.tsx +67 -0
- package/src/components/skeleton/Skeleton.css +120 -0
- package/src/components/skeleton/Skeleton.test.tsx +96 -0
- package/src/components/skeleton/Skeleton.tsx +168 -0
- package/src/components/skeleton-fill/SkeletonFill.css +67 -0
- package/src/components/skeleton-fill/SkeletonFill.rtl.test.tsx +12 -0
- package/src/components/skeleton-fill/SkeletonFill.test.tsx +61 -0
- package/src/components/skeleton-fill/SkeletonFill.tsx +48 -0
- package/src/components/skip-link/SkipLink.css +52 -0
- package/src/components/skip-link/SkipLink.test.tsx +90 -0
- package/src/components/skip-link/SkipLink.tsx +42 -0
- package/src/components/spinner/Spinner.css +134 -0
- package/src/components/spinner/Spinner.test.tsx +99 -0
- package/src/components/spinner/Spinner.tsx +100 -0
- package/src/components/stage-strip/StageStrip.css +126 -0
- package/src/components/stage-strip/StageStrip.test.tsx +82 -0
- package/src/components/stage-strip/StageStrip.tsx +100 -0
- package/src/components/stat-strip/StatStrip.css +90 -0
- package/src/components/stat-strip/StatStrip.test.tsx +75 -0
- package/src/components/stat-strip/StatStrip.tsx +62 -0
- package/src/components/stat-tile/StatTile.css +171 -0
- package/src/components/stat-tile/StatTile.rtl.test.tsx +14 -0
- package/src/components/stat-tile/StatTile.test.tsx +90 -0
- package/src/components/stat-tile/StatTile.tsx +129 -0
- package/src/components/state-switch/StateSwitch.css +113 -0
- package/src/components/state-switch/StateSwitch.test.tsx +102 -0
- package/src/components/state-switch/StateSwitch.tsx +73 -0
- package/src/components/status-pill/StatusPill.css +85 -0
- package/src/components/status-pill/StatusPill.test.tsx +91 -0
- package/src/components/status-pill/StatusPill.tsx +73 -0
- package/src/components/step-list/StepList.css +181 -0
- package/src/components/step-list/StepList.test.tsx +93 -0
- package/src/components/step-list/StepList.tsx +118 -0
- package/src/components/summary-row/SummaryRow.css +85 -0
- package/src/components/summary-row/SummaryRow.test.tsx +77 -0
- package/src/components/summary-row/SummaryRow.tsx +72 -0
- package/src/components/surface/Surface.css +157 -0
- package/src/components/surface/Surface.test.tsx +97 -0
- package/src/components/surface/Surface.tsx +124 -0
- package/src/components/swipe-row/SwipeRow.css +131 -0
- package/src/components/swipe-row/SwipeRow.rtl.test.tsx +31 -0
- package/src/components/swipe-row/SwipeRow.test.tsx +124 -0
- package/src/components/swipe-row/SwipeRow.tsx +219 -0
- package/src/components/switch/Switch.css +182 -0
- package/src/components/switch/Switch.test.tsx +112 -0
- package/src/components/switch/Switch.tsx +125 -0
- package/src/components/tabs/Tabs.css +137 -0
- package/src/components/tabs/Tabs.test.tsx +127 -0
- package/src/components/tabs/Tabs.tsx +94 -0
- package/src/components/tag/Tag.css +146 -0
- package/src/components/tag/Tag.test.tsx +129 -0
- package/src/components/tag/Tag.tsx +168 -0
- package/src/components/tag-field/TagField.css +274 -0
- package/src/components/tag-field/TagField.test.tsx +156 -0
- package/src/components/tag-field/TagField.tsx +270 -0
- package/src/components/text/Text.css +84 -0
- package/src/components/text/Text.test.tsx +91 -0
- package/src/components/text/Text.tsx +84 -0
- package/src/components/text-area/TextArea.css +125 -0
- package/src/components/text-area/TextArea.test.tsx +97 -0
- package/src/components/text-area/TextArea.tsx +145 -0
- package/src/components/text-field/TextField.css +197 -0
- package/src/components/text-field/TextField.test.tsx +136 -0
- package/src/components/text-field/TextField.tsx +208 -0
- package/src/components/theme-palette/ThemePalette.css +262 -0
- package/src/components/theme-palette/ThemePalette.test.tsx +62 -0
- package/src/components/theme-palette/ThemePalette.tsx +377 -0
- package/src/components/theme-switcher/ThemeSwitcher.css +159 -0
- package/src/components/theme-switcher/ThemeSwitcher.test.tsx +71 -0
- package/src/components/theme-switcher/ThemeSwitcher.tsx +72 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.css +56 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.rtl.test.tsx +13 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.test.tsx +100 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.tsx +218 -0
- package/src/components/ticker-card/TickerCard.css +147 -0
- package/src/components/ticker-card/TickerCard.rtl.test.tsx +14 -0
- package/src/components/ticker-card/TickerCard.test.tsx +74 -0
- package/src/components/ticker-card/TickerCard.tsx +151 -0
- package/src/components/time-field/TimeField.css +69 -0
- package/src/components/time-field/TimeField.test.tsx +138 -0
- package/src/components/time-field/TimeField.tsx +205 -0
- package/src/components/toast/Toast.css +137 -0
- package/src/components/toast/Toast.test.tsx +269 -0
- package/src/components/toast/Toast.tsx +370 -0
- package/src/components/tone-tint/ToneTint.css +74 -0
- package/src/components/tone-tint/toneTint.test.tsx +74 -0
- package/src/components/tone-tint/toneTint.ts +57 -0
- package/src/components/toolbar-trigger/ToolbarTrigger.css +104 -0
- package/src/components/toolbar-trigger/ToolbarTrigger.test.tsx +75 -0
- package/src/components/toolbar-trigger/ToolbarTrigger.tsx +70 -0
- package/src/components/tweened-number/TweenedNumber.css +7 -0
- package/src/components/tweened-number/TweenedNumber.rtl.test.tsx +19 -0
- package/src/components/tweened-number/TweenedNumber.test.tsx +97 -0
- package/src/components/tweened-number/TweenedNumber.tsx +70 -0
- package/src/components/upgrade-gate/UpgradeGate.css +94 -0
- package/src/components/upgrade-gate/UpgradeGate.rtl.test.tsx +12 -0
- package/src/components/upgrade-gate/UpgradeGate.test.tsx +56 -0
- package/src/components/upgrade-gate/UpgradeGate.tsx +56 -0
- package/src/components/wheel-picker/WheelPicker.css +149 -0
- package/src/components/wheel-picker/WheelPicker.test.tsx +150 -0
- package/src/components/wheel-picker/WheelPicker.tsx +228 -0
- package/src/components/wizard-page/WizardPage.css +114 -0
- package/src/components/wizard-page/WizardPage.test.tsx +117 -0
- package/src/components/wizard-page/WizardPage.tsx +123 -0
- package/src/elements/action-menu/definition.ts +123 -0
- package/src/elements/action-menu/element.ts +604 -0
- package/src/elements/anatomy.ts +55 -0
- package/src/elements/avatar/definition.ts +161 -0
- package/src/elements/avatar/element.ts +112 -0
- package/src/elements/base.ts +244 -0
- package/src/elements/brand-wordmark/definition.ts +37 -0
- package/src/elements/brand-wordmark/element.ts +13 -0
- package/src/elements/breadcrumbs/definition.ts +85 -0
- package/src/elements/breadcrumbs/element.ts +231 -0
- package/src/elements/button/definition.ts +74 -0
- package/src/elements/button/element.ts +25 -0
- package/src/elements/checkbox/definition.ts +132 -0
- package/src/elements/checkbox/element.ts +59 -0
- package/src/elements/command-palette/definition.ts +60 -0
- package/src/elements/command-palette/element.ts +706 -0
- package/src/elements/currency-field/definition.ts +159 -0
- package/src/elements/currency-field/element.ts +265 -0
- package/src/elements/data-table/definition.ts +54 -0
- package/src/elements/data-table/element.ts +440 -0
- package/src/elements/definition.ts +196 -0
- package/src/elements/drawer/definition.ts +156 -0
- package/src/elements/drawer/element.ts +304 -0
- package/src/elements/elements.css +156 -0
- package/src/elements/gradient-mark/definition.ts +41 -0
- package/src/elements/gradient-mark/element.ts +27 -0
- package/src/elements/heading/definition.ts +64 -0
- package/src/elements/heading/element.ts +14 -0
- package/src/elements/index.ts +146 -0
- package/src/elements/inline-notice/definition.ts +167 -0
- package/src/elements/inline-notice/element.ts +36 -0
- package/src/elements/link/definition.ts +70 -0
- package/src/elements/link/element.ts +40 -0
- package/src/elements/markdown-view/definition.ts +35 -0
- package/src/elements/markdown-view/element.ts +183 -0
- package/src/elements/modal/definition.ts +175 -0
- package/src/elements/modal/element.ts +226 -0
- package/src/elements/native-select/definition.ts +143 -0
- package/src/elements/native-select/element.ts +34 -0
- package/src/elements/notification-center/definition.ts +236 -0
- package/src/elements/notification-center/element.ts +527 -0
- package/src/elements/page-header/definition.ts +151 -0
- package/src/elements/page-header/element.ts +37 -0
- package/src/elements/popover/definition.ts +137 -0
- package/src/elements/popover/element.ts +196 -0
- package/src/elements/popover/model.ts +141 -0
- package/src/elements/progress-bar/definition.ts +84 -0
- package/src/elements/progress-bar/element.ts +82 -0
- package/src/elements/react/TyActionMenu.ts +79 -0
- package/src/elements/react/TyAvatar.ts +129 -0
- package/src/elements/react/TyBrandWordmark.ts +51 -0
- package/src/elements/react/TyBreadcrumbs.ts +82 -0
- package/src/elements/react/TyButton.ts +98 -0
- package/src/elements/react/TyCheckbox.ts +92 -0
- package/src/elements/react/TyCommandPalette.ts +120 -0
- package/src/elements/react/TyCurrencyField.ts +126 -0
- package/src/elements/react/TyDataTable.ts +105 -0
- package/src/elements/react/TyDrawer.ts +99 -0
- package/src/elements/react/TyGradientMark.ts +52 -0
- package/src/elements/react/TyHeading.ts +65 -0
- package/src/elements/react/TyInlineNotice.ts +191 -0
- package/src/elements/react/TyLink.ts +65 -0
- package/src/elements/react/TyMarkdownView.ts +46 -0
- package/src/elements/react/TyModal.ts +118 -0
- package/src/elements/react/TyNativeSelect.ts +96 -0
- package/src/elements/react/TyNotificationCenter.ts +153 -0
- package/src/elements/react/TyPageHeader.ts +126 -0
- package/src/elements/react/TyPopover.ts +95 -0
- package/src/elements/react/TyProgressBar.ts +72 -0
- package/src/elements/react/TySectionHeading.ts +78 -0
- package/src/elements/react/TySegmentedControl.ts +64 -0
- package/src/elements/react/TySeparator.ts +51 -0
- package/src/elements/react/TySkeleton.ts +61 -0
- package/src/elements/react/TySkipLink.ts +39 -0
- package/src/elements/react/TySpinner.ts +55 -0
- package/src/elements/react/TyStatusPill.ts +66 -0
- package/src/elements/react/TySurface.ts +104 -0
- package/src/elements/react/TySwitch.ts +77 -0
- package/src/elements/react/TyTabs.ts +66 -0
- package/src/elements/react/TyTag.ts +71 -0
- package/src/elements/react/TyTagField.ts +90 -0
- package/src/elements/react/TyTextArea.ts +124 -0
- package/src/elements/react/TyTextField.ts +186 -0
- package/src/elements/react/TyThemePalette.ts +126 -0
- package/src/elements/react/TyToast.ts +57 -0
- package/src/elements/react/TyWheelPicker.ts +60 -0
- package/src/elements/react/index.ts +39 -0
- package/src/elements/register.ts +7 -0
- package/src/elements/section-heading/definition.ts +81 -0
- package/src/elements/section-heading/element.ts +15 -0
- package/src/elements/segmented-control/definition.ts +72 -0
- package/src/elements/segmented-control/element.ts +253 -0
- package/src/elements/separator/definition.ts +44 -0
- package/src/elements/separator/element.ts +13 -0
- package/src/elements/skeleton/definition.ts +91 -0
- package/src/elements/skeleton/element.ts +175 -0
- package/src/elements/skip-link/definition.ts +26 -0
- package/src/elements/skip-link/element.ts +75 -0
- package/src/elements/spinner/definition.ts +52 -0
- package/src/elements/spinner/element.ts +58 -0
- package/src/elements/status-pill/definition.ts +48 -0
- package/src/elements/status-pill/element.ts +50 -0
- package/src/elements/surface/definition.ts +93 -0
- package/src/elements/surface/element.ts +42 -0
- package/src/elements/switch/definition.ts +72 -0
- package/src/elements/switch/element.ts +65 -0
- package/src/elements/tabs/definition.ts +60 -0
- package/src/elements/tabs/element.ts +319 -0
- package/src/elements/tag/definition.ts +69 -0
- package/src/elements/tag/element.ts +35 -0
- package/src/elements/tag-field/definition.ts +51 -0
- package/src/elements/tag-field/element.ts +461 -0
- package/src/elements/text-area/definition.ts +137 -0
- package/src/elements/text-area/element.ts +113 -0
- package/src/elements/text-field/definition.ts +236 -0
- package/src/elements/text-field/element.ts +151 -0
- package/src/elements/theme-palette/definition.ts +52 -0
- package/src/elements/theme-palette/element.ts +372 -0
- package/src/elements/theme-palette/model.ts +140 -0
- package/src/elements/toast/definition.ts +42 -0
- package/src/elements/toast/element.ts +479 -0
- package/src/elements/wheel-picker/definition.ts +39 -0
- package/src/elements/wheel-picker/element.ts +407 -0
- package/src/flags/Flag.css +58 -0
- package/src/flags/Flag.tsx +70 -0
- package/src/flags/art/1x1/ad.ts +2 -0
- package/src/flags/art/1x1/ae.ts +2 -0
- package/src/flags/art/1x1/af.ts +2 -0
- package/src/flags/art/1x1/ag.ts +2 -0
- package/src/flags/art/1x1/ai.ts +2 -0
- package/src/flags/art/1x1/al.ts +2 -0
- package/src/flags/art/1x1/am.ts +2 -0
- package/src/flags/art/1x1/ao.ts +2 -0
- package/src/flags/art/1x1/aq.ts +2 -0
- package/src/flags/art/1x1/ar.ts +2 -0
- package/src/flags/art/1x1/arab.ts +2 -0
- package/src/flags/art/1x1/as.ts +2 -0
- package/src/flags/art/1x1/asean.ts +2 -0
- package/src/flags/art/1x1/at.ts +2 -0
- package/src/flags/art/1x1/au.ts +2 -0
- package/src/flags/art/1x1/aw.ts +2 -0
- package/src/flags/art/1x1/ax.ts +2 -0
- package/src/flags/art/1x1/az.ts +2 -0
- package/src/flags/art/1x1/ba.ts +2 -0
- package/src/flags/art/1x1/bb.ts +2 -0
- package/src/flags/art/1x1/bd.ts +2 -0
- package/src/flags/art/1x1/be.ts +2 -0
- package/src/flags/art/1x1/bf.ts +2 -0
- package/src/flags/art/1x1/bg.ts +2 -0
- package/src/flags/art/1x1/bh.ts +2 -0
- package/src/flags/art/1x1/bi.ts +2 -0
- package/src/flags/art/1x1/bj.ts +2 -0
- package/src/flags/art/1x1/bl.ts +2 -0
- package/src/flags/art/1x1/bm.ts +2 -0
- package/src/flags/art/1x1/bn.ts +2 -0
- package/src/flags/art/1x1/bo.ts +2 -0
- package/src/flags/art/1x1/bq.ts +2 -0
- package/src/flags/art/1x1/br.ts +2 -0
- package/src/flags/art/1x1/bs.ts +2 -0
- package/src/flags/art/1x1/bt.ts +2 -0
- package/src/flags/art/1x1/bv.ts +2 -0
- package/src/flags/art/1x1/bw.ts +2 -0
- package/src/flags/art/1x1/by.ts +2 -0
- package/src/flags/art/1x1/bz.ts +2 -0
- package/src/flags/art/1x1/ca.ts +2 -0
- package/src/flags/art/1x1/cc.ts +2 -0
- package/src/flags/art/1x1/cd.ts +2 -0
- package/src/flags/art/1x1/cefta.ts +2 -0
- package/src/flags/art/1x1/cf.ts +2 -0
- package/src/flags/art/1x1/cg.ts +2 -0
- package/src/flags/art/1x1/ch.ts +2 -0
- package/src/flags/art/1x1/ci.ts +2 -0
- package/src/flags/art/1x1/ck.ts +2 -0
- package/src/flags/art/1x1/cl.ts +2 -0
- package/src/flags/art/1x1/cm.ts +2 -0
- package/src/flags/art/1x1/cn.ts +2 -0
- package/src/flags/art/1x1/co.ts +2 -0
- package/src/flags/art/1x1/cp.ts +2 -0
- package/src/flags/art/1x1/cr.ts +2 -0
- package/src/flags/art/1x1/cu.ts +2 -0
- package/src/flags/art/1x1/cv.ts +2 -0
- package/src/flags/art/1x1/cw.ts +2 -0
- package/src/flags/art/1x1/cx.ts +2 -0
- package/src/flags/art/1x1/cy.ts +2 -0
- package/src/flags/art/1x1/cz.ts +2 -0
- package/src/flags/art/1x1/de.ts +2 -0
- package/src/flags/art/1x1/dg.ts +2 -0
- package/src/flags/art/1x1/dj.ts +2 -0
- package/src/flags/art/1x1/dk.ts +2 -0
- package/src/flags/art/1x1/dm.ts +2 -0
- package/src/flags/art/1x1/do.ts +2 -0
- package/src/flags/art/1x1/dz.ts +2 -0
- package/src/flags/art/1x1/eac.ts +2 -0
- package/src/flags/art/1x1/ec.ts +2 -0
- package/src/flags/art/1x1/ee.ts +2 -0
- package/src/flags/art/1x1/eg.ts +2 -0
- package/src/flags/art/1x1/eh.ts +2 -0
- package/src/flags/art/1x1/er.ts +2 -0
- package/src/flags/art/1x1/es-ct.ts +2 -0
- package/src/flags/art/1x1/es-ga.ts +2 -0
- package/src/flags/art/1x1/es-pv.ts +2 -0
- package/src/flags/art/1x1/es.ts +2 -0
- package/src/flags/art/1x1/et.ts +2 -0
- package/src/flags/art/1x1/eu.ts +2 -0
- package/src/flags/art/1x1/fi.ts +2 -0
- package/src/flags/art/1x1/fj.ts +2 -0
- package/src/flags/art/1x1/fk.ts +2 -0
- package/src/flags/art/1x1/fm.ts +2 -0
- package/src/flags/art/1x1/fo.ts +2 -0
- package/src/flags/art/1x1/fr.ts +2 -0
- package/src/flags/art/1x1/ga.ts +2 -0
- package/src/flags/art/1x1/gb-eng.ts +2 -0
- package/src/flags/art/1x1/gb-nir.ts +2 -0
- package/src/flags/art/1x1/gb-sct.ts +2 -0
- package/src/flags/art/1x1/gb-wls.ts +2 -0
- package/src/flags/art/1x1/gb.ts +2 -0
- package/src/flags/art/1x1/gd.ts +2 -0
- package/src/flags/art/1x1/ge.ts +2 -0
- package/src/flags/art/1x1/gf.ts +2 -0
- package/src/flags/art/1x1/gg.ts +2 -0
- package/src/flags/art/1x1/gh.ts +2 -0
- package/src/flags/art/1x1/gi.ts +2 -0
- package/src/flags/art/1x1/gl.ts +2 -0
- package/src/flags/art/1x1/gm.ts +2 -0
- package/src/flags/art/1x1/gn.ts +2 -0
- package/src/flags/art/1x1/gp.ts +2 -0
- package/src/flags/art/1x1/gq.ts +2 -0
- package/src/flags/art/1x1/gr.ts +2 -0
- package/src/flags/art/1x1/gs.ts +2 -0
- package/src/flags/art/1x1/gt.ts +2 -0
- package/src/flags/art/1x1/gu.ts +2 -0
- package/src/flags/art/1x1/gw.ts +2 -0
- package/src/flags/art/1x1/gy.ts +2 -0
- package/src/flags/art/1x1/hk.ts +2 -0
- package/src/flags/art/1x1/hm.ts +2 -0
- package/src/flags/art/1x1/hn.ts +2 -0
- package/src/flags/art/1x1/hr.ts +2 -0
- package/src/flags/art/1x1/ht.ts +2 -0
- package/src/flags/art/1x1/hu.ts +2 -0
- package/src/flags/art/1x1/ic.ts +2 -0
- package/src/flags/art/1x1/id.ts +2 -0
- package/src/flags/art/1x1/ie.ts +2 -0
- package/src/flags/art/1x1/il.ts +2 -0
- package/src/flags/art/1x1/im.ts +2 -0
- package/src/flags/art/1x1/in.ts +2 -0
- package/src/flags/art/1x1/io.ts +2 -0
- package/src/flags/art/1x1/iq.ts +2 -0
- package/src/flags/art/1x1/ir.ts +2 -0
- package/src/flags/art/1x1/is.ts +2 -0
- package/src/flags/art/1x1/it.ts +2 -0
- package/src/flags/art/1x1/je.ts +2 -0
- package/src/flags/art/1x1/jm.ts +2 -0
- package/src/flags/art/1x1/jo.ts +2 -0
- package/src/flags/art/1x1/jp.ts +2 -0
- package/src/flags/art/1x1/ke.ts +2 -0
- package/src/flags/art/1x1/kg.ts +2 -0
- package/src/flags/art/1x1/kh.ts +2 -0
- package/src/flags/art/1x1/ki.ts +2 -0
- package/src/flags/art/1x1/km.ts +2 -0
- package/src/flags/art/1x1/kn.ts +2 -0
- package/src/flags/art/1x1/kp.ts +2 -0
- package/src/flags/art/1x1/kr.ts +2 -0
- package/src/flags/art/1x1/kw.ts +2 -0
- package/src/flags/art/1x1/ky.ts +2 -0
- package/src/flags/art/1x1/kz.ts +2 -0
- package/src/flags/art/1x1/la.ts +2 -0
- package/src/flags/art/1x1/lb.ts +2 -0
- package/src/flags/art/1x1/lc.ts +2 -0
- package/src/flags/art/1x1/li.ts +2 -0
- package/src/flags/art/1x1/lk.ts +2 -0
- package/src/flags/art/1x1/lr.ts +2 -0
- package/src/flags/art/1x1/ls.ts +2 -0
- package/src/flags/art/1x1/lt.ts +2 -0
- package/src/flags/art/1x1/lu.ts +2 -0
- package/src/flags/art/1x1/lv.ts +2 -0
- package/src/flags/art/1x1/ly.ts +2 -0
- package/src/flags/art/1x1/ma.ts +2 -0
- package/src/flags/art/1x1/mc.ts +2 -0
- package/src/flags/art/1x1/md.ts +2 -0
- package/src/flags/art/1x1/me.ts +2 -0
- package/src/flags/art/1x1/mf.ts +2 -0
- package/src/flags/art/1x1/mg.ts +2 -0
- package/src/flags/art/1x1/mh.ts +2 -0
- package/src/flags/art/1x1/mk.ts +2 -0
- package/src/flags/art/1x1/ml.ts +2 -0
- package/src/flags/art/1x1/mm.ts +2 -0
- package/src/flags/art/1x1/mn.ts +2 -0
- package/src/flags/art/1x1/mo.ts +2 -0
- package/src/flags/art/1x1/mp.ts +2 -0
- package/src/flags/art/1x1/mq.ts +2 -0
- package/src/flags/art/1x1/mr.ts +2 -0
- package/src/flags/art/1x1/ms.ts +2 -0
- package/src/flags/art/1x1/mt.ts +2 -0
- package/src/flags/art/1x1/mu.ts +2 -0
- package/src/flags/art/1x1/mv.ts +2 -0
- package/src/flags/art/1x1/mw.ts +2 -0
- package/src/flags/art/1x1/mx.ts +2 -0
- package/src/flags/art/1x1/my.ts +2 -0
- package/src/flags/art/1x1/mz.ts +2 -0
- package/src/flags/art/1x1/na.ts +2 -0
- package/src/flags/art/1x1/nc.ts +2 -0
- package/src/flags/art/1x1/ne.ts +2 -0
- package/src/flags/art/1x1/nf.ts +2 -0
- package/src/flags/art/1x1/ng.ts +2 -0
- package/src/flags/art/1x1/ni.ts +2 -0
- package/src/flags/art/1x1/nl.ts +2 -0
- package/src/flags/art/1x1/no.ts +2 -0
- package/src/flags/art/1x1/np.ts +2 -0
- package/src/flags/art/1x1/nr.ts +2 -0
- package/src/flags/art/1x1/nu.ts +2 -0
- package/src/flags/art/1x1/nz.ts +2 -0
- package/src/flags/art/1x1/om.ts +2 -0
- package/src/flags/art/1x1/pa.ts +2 -0
- package/src/flags/art/1x1/pc.ts +2 -0
- package/src/flags/art/1x1/pe.ts +2 -0
- package/src/flags/art/1x1/pf.ts +2 -0
- package/src/flags/art/1x1/pg.ts +2 -0
- package/src/flags/art/1x1/ph.ts +2 -0
- package/src/flags/art/1x1/pk.ts +2 -0
- package/src/flags/art/1x1/pl.ts +2 -0
- package/src/flags/art/1x1/pm.ts +2 -0
- package/src/flags/art/1x1/pn.ts +2 -0
- package/src/flags/art/1x1/pr.ts +2 -0
- package/src/flags/art/1x1/ps.ts +2 -0
- package/src/flags/art/1x1/pt.ts +2 -0
- package/src/flags/art/1x1/pw.ts +2 -0
- package/src/flags/art/1x1/py.ts +2 -0
- package/src/flags/art/1x1/qa.ts +2 -0
- package/src/flags/art/1x1/re.ts +2 -0
- package/src/flags/art/1x1/ro.ts +2 -0
- package/src/flags/art/1x1/rs.ts +2 -0
- package/src/flags/art/1x1/ru.ts +2 -0
- package/src/flags/art/1x1/rw.ts +2 -0
- package/src/flags/art/1x1/sa.ts +2 -0
- package/src/flags/art/1x1/sb.ts +2 -0
- package/src/flags/art/1x1/sc.ts +2 -0
- package/src/flags/art/1x1/sd.ts +2 -0
- package/src/flags/art/1x1/se.ts +2 -0
- package/src/flags/art/1x1/sg.ts +2 -0
- package/src/flags/art/1x1/sh-ac.ts +2 -0
- package/src/flags/art/1x1/sh-hl.ts +2 -0
- package/src/flags/art/1x1/sh-ta.ts +2 -0
- package/src/flags/art/1x1/sh.ts +2 -0
- package/src/flags/art/1x1/si.ts +2 -0
- package/src/flags/art/1x1/sj.ts +2 -0
- package/src/flags/art/1x1/sk.ts +2 -0
- package/src/flags/art/1x1/sl.ts +2 -0
- package/src/flags/art/1x1/sm.ts +2 -0
- package/src/flags/art/1x1/sn.ts +2 -0
- package/src/flags/art/1x1/so.ts +2 -0
- package/src/flags/art/1x1/sr.ts +2 -0
- package/src/flags/art/1x1/ss.ts +2 -0
- package/src/flags/art/1x1/st.ts +2 -0
- package/src/flags/art/1x1/sv.ts +2 -0
- package/src/flags/art/1x1/sx.ts +2 -0
- package/src/flags/art/1x1/sy.ts +2 -0
- package/src/flags/art/1x1/sz.ts +2 -0
- package/src/flags/art/1x1/tc.ts +2 -0
- package/src/flags/art/1x1/td.ts +2 -0
- package/src/flags/art/1x1/tf.ts +2 -0
- package/src/flags/art/1x1/tg.ts +2 -0
- package/src/flags/art/1x1/th.ts +2 -0
- package/src/flags/art/1x1/tj.ts +2 -0
- package/src/flags/art/1x1/tk.ts +2 -0
- package/src/flags/art/1x1/tl.ts +2 -0
- package/src/flags/art/1x1/tm.ts +2 -0
- package/src/flags/art/1x1/tn.ts +2 -0
- package/src/flags/art/1x1/to.ts +2 -0
- package/src/flags/art/1x1/tr.ts +2 -0
- package/src/flags/art/1x1/tt.ts +2 -0
- package/src/flags/art/1x1/tv.ts +2 -0
- package/src/flags/art/1x1/tw.ts +2 -0
- package/src/flags/art/1x1/tz.ts +2 -0
- package/src/flags/art/1x1/ua.ts +2 -0
- package/src/flags/art/1x1/ug.ts +2 -0
- package/src/flags/art/1x1/um.ts +2 -0
- package/src/flags/art/1x1/un.ts +2 -0
- package/src/flags/art/1x1/us.ts +2 -0
- package/src/flags/art/1x1/uy.ts +2 -0
- package/src/flags/art/1x1/uz.ts +2 -0
- package/src/flags/art/1x1/va.ts +2 -0
- package/src/flags/art/1x1/vc.ts +2 -0
- package/src/flags/art/1x1/ve.ts +2 -0
- package/src/flags/art/1x1/vg.ts +2 -0
- package/src/flags/art/1x1/vi.ts +2 -0
- package/src/flags/art/1x1/vn.ts +2 -0
- package/src/flags/art/1x1/vu.ts +2 -0
- package/src/flags/art/1x1/wf.ts +2 -0
- package/src/flags/art/1x1/ws.ts +2 -0
- package/src/flags/art/1x1/xk.ts +2 -0
- package/src/flags/art/1x1/xx.ts +2 -0
- package/src/flags/art/1x1/ye.ts +2 -0
- package/src/flags/art/1x1/yt.ts +2 -0
- package/src/flags/art/1x1/za.ts +2 -0
- package/src/flags/art/1x1/zm.ts +2 -0
- package/src/flags/art/1x1/zw.ts +2 -0
- package/src/flags/art/4x3/ad.ts +2 -0
- package/src/flags/art/4x3/ae.ts +2 -0
- package/src/flags/art/4x3/af.ts +2 -0
- package/src/flags/art/4x3/ag.ts +2 -0
- package/src/flags/art/4x3/ai.ts +2 -0
- package/src/flags/art/4x3/al.ts +2 -0
- package/src/flags/art/4x3/am.ts +2 -0
- package/src/flags/art/4x3/ao.ts +2 -0
- package/src/flags/art/4x3/aq.ts +2 -0
- package/src/flags/art/4x3/ar.ts +2 -0
- package/src/flags/art/4x3/arab.ts +2 -0
- package/src/flags/art/4x3/as.ts +2 -0
- package/src/flags/art/4x3/asean.ts +2 -0
- package/src/flags/art/4x3/at.ts +2 -0
- package/src/flags/art/4x3/au.ts +2 -0
- package/src/flags/art/4x3/aw.ts +2 -0
- package/src/flags/art/4x3/ax.ts +2 -0
- package/src/flags/art/4x3/az.ts +2 -0
- package/src/flags/art/4x3/ba.ts +2 -0
- package/src/flags/art/4x3/bb.ts +2 -0
- package/src/flags/art/4x3/bd.ts +2 -0
- package/src/flags/art/4x3/be.ts +2 -0
- package/src/flags/art/4x3/bf.ts +2 -0
- package/src/flags/art/4x3/bg.ts +2 -0
- package/src/flags/art/4x3/bh.ts +2 -0
- package/src/flags/art/4x3/bi.ts +2 -0
- package/src/flags/art/4x3/bj.ts +2 -0
- package/src/flags/art/4x3/bl.ts +2 -0
- package/src/flags/art/4x3/bm.ts +2 -0
- package/src/flags/art/4x3/bn.ts +2 -0
- package/src/flags/art/4x3/bo.ts +2 -0
- package/src/flags/art/4x3/bq.ts +2 -0
- package/src/flags/art/4x3/br.ts +2 -0
- package/src/flags/art/4x3/bs.ts +2 -0
- package/src/flags/art/4x3/bt.ts +2 -0
- package/src/flags/art/4x3/bv.ts +2 -0
- package/src/flags/art/4x3/bw.ts +2 -0
- package/src/flags/art/4x3/by.ts +2 -0
- package/src/flags/art/4x3/bz.ts +2 -0
- package/src/flags/art/4x3/ca.ts +2 -0
- package/src/flags/art/4x3/cc.ts +2 -0
- package/src/flags/art/4x3/cd.ts +2 -0
- package/src/flags/art/4x3/cefta.ts +2 -0
- package/src/flags/art/4x3/cf.ts +2 -0
- package/src/flags/art/4x3/cg.ts +2 -0
- package/src/flags/art/4x3/ch.ts +2 -0
- package/src/flags/art/4x3/ci.ts +2 -0
- package/src/flags/art/4x3/ck.ts +2 -0
- package/src/flags/art/4x3/cl.ts +2 -0
- package/src/flags/art/4x3/cm.ts +2 -0
- package/src/flags/art/4x3/cn.ts +2 -0
- package/src/flags/art/4x3/co.ts +2 -0
- package/src/flags/art/4x3/cp.ts +2 -0
- package/src/flags/art/4x3/cr.ts +2 -0
- package/src/flags/art/4x3/cu.ts +2 -0
- package/src/flags/art/4x3/cv.ts +2 -0
- package/src/flags/art/4x3/cw.ts +2 -0
- package/src/flags/art/4x3/cx.ts +2 -0
- package/src/flags/art/4x3/cy.ts +2 -0
- package/src/flags/art/4x3/cz.ts +2 -0
- package/src/flags/art/4x3/de.ts +2 -0
- package/src/flags/art/4x3/dg.ts +2 -0
- package/src/flags/art/4x3/dj.ts +2 -0
- package/src/flags/art/4x3/dk.ts +2 -0
- package/src/flags/art/4x3/dm.ts +2 -0
- package/src/flags/art/4x3/do.ts +2 -0
- package/src/flags/art/4x3/dz.ts +2 -0
- package/src/flags/art/4x3/eac.ts +2 -0
- package/src/flags/art/4x3/ec.ts +2 -0
- package/src/flags/art/4x3/ee.ts +2 -0
- package/src/flags/art/4x3/eg.ts +2 -0
- package/src/flags/art/4x3/eh.ts +2 -0
- package/src/flags/art/4x3/er.ts +2 -0
- package/src/flags/art/4x3/es-ct.ts +2 -0
- package/src/flags/art/4x3/es-ga.ts +2 -0
- package/src/flags/art/4x3/es-pv.ts +2 -0
- package/src/flags/art/4x3/es.ts +2 -0
- package/src/flags/art/4x3/et.ts +2 -0
- package/src/flags/art/4x3/eu.ts +2 -0
- package/src/flags/art/4x3/fi.ts +2 -0
- package/src/flags/art/4x3/fj.ts +2 -0
- package/src/flags/art/4x3/fk.ts +2 -0
- package/src/flags/art/4x3/fm.ts +2 -0
- package/src/flags/art/4x3/fo.ts +2 -0
- package/src/flags/art/4x3/fr.ts +2 -0
- package/src/flags/art/4x3/ga.ts +2 -0
- package/src/flags/art/4x3/gb-eng.ts +2 -0
- package/src/flags/art/4x3/gb-nir.ts +2 -0
- package/src/flags/art/4x3/gb-sct.ts +2 -0
- package/src/flags/art/4x3/gb-wls.ts +2 -0
- package/src/flags/art/4x3/gb.ts +2 -0
- package/src/flags/art/4x3/gd.ts +2 -0
- package/src/flags/art/4x3/ge.ts +2 -0
- package/src/flags/art/4x3/gf.ts +2 -0
- package/src/flags/art/4x3/gg.ts +2 -0
- package/src/flags/art/4x3/gh.ts +2 -0
- package/src/flags/art/4x3/gi.ts +2 -0
- package/src/flags/art/4x3/gl.ts +2 -0
- package/src/flags/art/4x3/gm.ts +2 -0
- package/src/flags/art/4x3/gn.ts +2 -0
- package/src/flags/art/4x3/gp.ts +2 -0
- package/src/flags/art/4x3/gq.ts +2 -0
- package/src/flags/art/4x3/gr.ts +2 -0
- package/src/flags/art/4x3/gs.ts +2 -0
- package/src/flags/art/4x3/gt.ts +2 -0
- package/src/flags/art/4x3/gu.ts +2 -0
- package/src/flags/art/4x3/gw.ts +2 -0
- package/src/flags/art/4x3/gy.ts +2 -0
- package/src/flags/art/4x3/hk.ts +2 -0
- package/src/flags/art/4x3/hm.ts +2 -0
- package/src/flags/art/4x3/hn.ts +2 -0
- package/src/flags/art/4x3/hr.ts +2 -0
- package/src/flags/art/4x3/ht.ts +2 -0
- package/src/flags/art/4x3/hu.ts +2 -0
- package/src/flags/art/4x3/ic.ts +2 -0
- package/src/flags/art/4x3/id.ts +2 -0
- package/src/flags/art/4x3/ie.ts +2 -0
- package/src/flags/art/4x3/il.ts +2 -0
- package/src/flags/art/4x3/im.ts +2 -0
- package/src/flags/art/4x3/in.ts +2 -0
- package/src/flags/art/4x3/io.ts +2 -0
- package/src/flags/art/4x3/iq.ts +2 -0
- package/src/flags/art/4x3/ir.ts +2 -0
- package/src/flags/art/4x3/is.ts +2 -0
- package/src/flags/art/4x3/it.ts +2 -0
- package/src/flags/art/4x3/je.ts +2 -0
- package/src/flags/art/4x3/jm.ts +2 -0
- package/src/flags/art/4x3/jo.ts +2 -0
- package/src/flags/art/4x3/jp.ts +2 -0
- package/src/flags/art/4x3/ke.ts +2 -0
- package/src/flags/art/4x3/kg.ts +2 -0
- package/src/flags/art/4x3/kh.ts +2 -0
- package/src/flags/art/4x3/ki.ts +2 -0
- package/src/flags/art/4x3/km.ts +2 -0
- package/src/flags/art/4x3/kn.ts +2 -0
- package/src/flags/art/4x3/kp.ts +2 -0
- package/src/flags/art/4x3/kr.ts +2 -0
- package/src/flags/art/4x3/kw.ts +2 -0
- package/src/flags/art/4x3/ky.ts +2 -0
- package/src/flags/art/4x3/kz.ts +2 -0
- package/src/flags/art/4x3/la.ts +2 -0
- package/src/flags/art/4x3/lb.ts +2 -0
- package/src/flags/art/4x3/lc.ts +2 -0
- package/src/flags/art/4x3/li.ts +2 -0
- package/src/flags/art/4x3/lk.ts +2 -0
- package/src/flags/art/4x3/lr.ts +2 -0
- package/src/flags/art/4x3/ls.ts +2 -0
- package/src/flags/art/4x3/lt.ts +2 -0
- package/src/flags/art/4x3/lu.ts +2 -0
- package/src/flags/art/4x3/lv.ts +2 -0
- package/src/flags/art/4x3/ly.ts +2 -0
- package/src/flags/art/4x3/ma.ts +2 -0
- package/src/flags/art/4x3/mc.ts +2 -0
- package/src/flags/art/4x3/md.ts +2 -0
- package/src/flags/art/4x3/me.ts +2 -0
- package/src/flags/art/4x3/mf.ts +2 -0
- package/src/flags/art/4x3/mg.ts +2 -0
- package/src/flags/art/4x3/mh.ts +2 -0
- package/src/flags/art/4x3/mk.ts +2 -0
- package/src/flags/art/4x3/ml.ts +2 -0
- package/src/flags/art/4x3/mm.ts +2 -0
- package/src/flags/art/4x3/mn.ts +2 -0
- package/src/flags/art/4x3/mo.ts +2 -0
- package/src/flags/art/4x3/mp.ts +2 -0
- package/src/flags/art/4x3/mq.ts +2 -0
- package/src/flags/art/4x3/mr.ts +2 -0
- package/src/flags/art/4x3/ms.ts +2 -0
- package/src/flags/art/4x3/mt.ts +2 -0
- package/src/flags/art/4x3/mu.ts +2 -0
- package/src/flags/art/4x3/mv.ts +2 -0
- package/src/flags/art/4x3/mw.ts +2 -0
- package/src/flags/art/4x3/mx.ts +2 -0
- package/src/flags/art/4x3/my.ts +2 -0
- package/src/flags/art/4x3/mz.ts +2 -0
- package/src/flags/art/4x3/na.ts +2 -0
- package/src/flags/art/4x3/nc.ts +2 -0
- package/src/flags/art/4x3/ne.ts +2 -0
- package/src/flags/art/4x3/nf.ts +2 -0
- package/src/flags/art/4x3/ng.ts +2 -0
- package/src/flags/art/4x3/ni.ts +2 -0
- package/src/flags/art/4x3/nl.ts +2 -0
- package/src/flags/art/4x3/no.ts +2 -0
- package/src/flags/art/4x3/np.ts +2 -0
- package/src/flags/art/4x3/nr.ts +2 -0
- package/src/flags/art/4x3/nu.ts +2 -0
- package/src/flags/art/4x3/nz.ts +2 -0
- package/src/flags/art/4x3/om.ts +2 -0
- package/src/flags/art/4x3/pa.ts +2 -0
- package/src/flags/art/4x3/pc.ts +2 -0
- package/src/flags/art/4x3/pe.ts +2 -0
- package/src/flags/art/4x3/pf.ts +2 -0
- package/src/flags/art/4x3/pg.ts +2 -0
- package/src/flags/art/4x3/ph.ts +2 -0
- package/src/flags/art/4x3/pk.ts +2 -0
- package/src/flags/art/4x3/pl.ts +2 -0
- package/src/flags/art/4x3/pm.ts +2 -0
- package/src/flags/art/4x3/pn.ts +2 -0
- package/src/flags/art/4x3/pr.ts +2 -0
- package/src/flags/art/4x3/ps.ts +2 -0
- package/src/flags/art/4x3/pt.ts +2 -0
- package/src/flags/art/4x3/pw.ts +2 -0
- package/src/flags/art/4x3/py.ts +2 -0
- package/src/flags/art/4x3/qa.ts +2 -0
- package/src/flags/art/4x3/re.ts +2 -0
- package/src/flags/art/4x3/ro.ts +2 -0
- package/src/flags/art/4x3/rs.ts +2 -0
- package/src/flags/art/4x3/ru.ts +2 -0
- package/src/flags/art/4x3/rw.ts +2 -0
- package/src/flags/art/4x3/sa.ts +2 -0
- package/src/flags/art/4x3/sb.ts +2 -0
- package/src/flags/art/4x3/sc.ts +2 -0
- package/src/flags/art/4x3/sd.ts +2 -0
- package/src/flags/art/4x3/se.ts +2 -0
- package/src/flags/art/4x3/sg.ts +2 -0
- package/src/flags/art/4x3/sh-ac.ts +2 -0
- package/src/flags/art/4x3/sh-hl.ts +2 -0
- package/src/flags/art/4x3/sh-ta.ts +2 -0
- package/src/flags/art/4x3/sh.ts +2 -0
- package/src/flags/art/4x3/si.ts +2 -0
- package/src/flags/art/4x3/sj.ts +2 -0
- package/src/flags/art/4x3/sk.ts +2 -0
- package/src/flags/art/4x3/sl.ts +2 -0
- package/src/flags/art/4x3/sm.ts +2 -0
- package/src/flags/art/4x3/sn.ts +2 -0
- package/src/flags/art/4x3/so.ts +2 -0
- package/src/flags/art/4x3/sr.ts +2 -0
- package/src/flags/art/4x3/ss.ts +2 -0
- package/src/flags/art/4x3/st.ts +2 -0
- package/src/flags/art/4x3/sv.ts +2 -0
- package/src/flags/art/4x3/sx.ts +2 -0
- package/src/flags/art/4x3/sy.ts +2 -0
- package/src/flags/art/4x3/sz.ts +2 -0
- package/src/flags/art/4x3/tc.ts +2 -0
- package/src/flags/art/4x3/td.ts +2 -0
- package/src/flags/art/4x3/tf.ts +2 -0
- package/src/flags/art/4x3/tg.ts +2 -0
- package/src/flags/art/4x3/th.ts +2 -0
- package/src/flags/art/4x3/tj.ts +2 -0
- package/src/flags/art/4x3/tk.ts +2 -0
- package/src/flags/art/4x3/tl.ts +2 -0
- package/src/flags/art/4x3/tm.ts +2 -0
- package/src/flags/art/4x3/tn.ts +2 -0
- package/src/flags/art/4x3/to.ts +2 -0
- package/src/flags/art/4x3/tr.ts +2 -0
- package/src/flags/art/4x3/tt.ts +2 -0
- package/src/flags/art/4x3/tv.ts +2 -0
- package/src/flags/art/4x3/tw.ts +2 -0
- package/src/flags/art/4x3/tz.ts +2 -0
- package/src/flags/art/4x3/ua.ts +2 -0
- package/src/flags/art/4x3/ug.ts +2 -0
- package/src/flags/art/4x3/um.ts +2 -0
- package/src/flags/art/4x3/un.ts +2 -0
- package/src/flags/art/4x3/us.ts +2 -0
- package/src/flags/art/4x3/uy.ts +2 -0
- package/src/flags/art/4x3/uz.ts +2 -0
- package/src/flags/art/4x3/va.ts +2 -0
- package/src/flags/art/4x3/vc.ts +2 -0
- package/src/flags/art/4x3/ve.ts +2 -0
- package/src/flags/art/4x3/vg.ts +2 -0
- package/src/flags/art/4x3/vi.ts +2 -0
- package/src/flags/art/4x3/vn.ts +2 -0
- package/src/flags/art/4x3/vu.ts +2 -0
- package/src/flags/art/4x3/wf.ts +2 -0
- package/src/flags/art/4x3/ws.ts +2 -0
- package/src/flags/art/4x3/xk.ts +2 -0
- package/src/flags/art/4x3/xx.ts +2 -0
- package/src/flags/art/4x3/ye.ts +2 -0
- package/src/flags/art/4x3/yt.ts +2 -0
- package/src/flags/art/4x3/za.ts +2 -0
- package/src/flags/art/4x3/zm.ts +2 -0
- package/src/flags/art/4x3/zw.ts +2 -0
- package/src/flags/art/index.ts +552 -0
- package/src/flags/flags.test.tsx +140 -0
- package/src/flags/index.ts +7 -0
- package/src/flags/loadFlag.ts +29 -0
- package/src/flags/names.ts +65 -0
- package/src/flow/CLEAN-ROOM.md +110 -0
- package/src/flow/PROVENANCE.md +169 -0
- package/src/flow/README.md +117 -0
- package/src/flow/agents/AgentCreationWizard.tsx +633 -0
- package/src/flow/agents/AgentEditorDialog.tsx +751 -0
- package/src/flow/agents/agents.css +563 -0
- package/src/flow/agents/agents.test.tsx +207 -0
- package/src/flow/agents/index.ts +4 -0
- package/src/flow/agents/parts.tsx +171 -0
- package/src/flow/assistant/AssistantConversation.tsx +388 -0
- package/src/flow/assistant/AssistantVisualBlock.test.tsx +86 -0
- package/src/flow/assistant/AssistantVisualBlock.tsx +75 -0
- package/src/flow/assistant/ConversationShell.test.tsx +202 -0
- package/src/flow/assistant/ConversationShell.tsx +160 -0
- package/src/flow/assistant/LiveCanvasPanel.tsx +52 -0
- package/src/flow/assistant/MarkdownView.tsx +162 -0
- package/src/flow/assistant/ThreadHistory.tsx +156 -0
- package/src/flow/assistant/assistant.css +567 -0
- package/src/flow/assistant/index.ts +10 -0
- package/src/flow/assistant/threadDays.ts +44 -0
- package/src/flow/assistant/useAssistantSession.test.tsx +172 -0
- package/src/flow/assistant/useAssistantSession.ts +457 -0
- package/src/flow/assistant/visual.ts +205 -0
- package/src/flow/catalog/RenderCatalog.tsx +98 -0
- package/src/flow/catalog/catalog.test.tsx +162 -0
- package/src/flow/catalog/icons.ts +116 -0
- package/src/flow/catalog/kindCatalog.ts +175 -0
- package/src/flow/catalog/nodeState.ts +46 -0
- package/src/flow/catalog/palette.ts +116 -0
- package/src/flow/connectors/ConditionalConnector.css +274 -0
- package/src/flow/connectors/ConditionalConnector.tsx +288 -0
- package/src/flow/connectors/ConnectionPreviewLine.tsx +31 -0
- package/src/flow/connectors/ConnectorInsertMenu.tsx +103 -0
- package/src/flow/connectors/connectors.css +2 -0
- package/src/flow/connectors/connectors.test.tsx +218 -0
- package/src/flow/connectors/index.ts +4 -0
- package/src/flow/decision/DecisionNode.tsx +182 -0
- package/src/flow/decision/decision.css +1 -0
- package/src/flow/decision/index.ts +3 -0
- package/src/flow/decision/types.ts +60 -0
- package/src/flow/dialogs/DefinitionDialogs.test.tsx +177 -0
- package/src/flow/dialogs/DefinitionExportDialog.tsx +234 -0
- package/src/flow/dialogs/DefinitionImportDialog.tsx +303 -0
- package/src/flow/dialogs/FlowSettingsDialog.test.tsx +95 -0
- package/src/flow/dialogs/FlowSettingsDialog.tsx +242 -0
- package/src/flow/dialogs/NodeConfigDialog.test.tsx +151 -0
- package/src/flow/dialogs/NodeConfigDialog.tsx +208 -0
- package/src/flow/dialogs/dialogs.css +134 -0
- package/src/flow/dialogs/index.ts +5 -0
- package/src/flow/editor/AutosaveController.tsx +25 -0
- package/src/flow/editor/CanvasCommandBar.tsx +315 -0
- package/src/flow/editor/CanvasContextMenus.tsx +287 -0
- package/src/flow/editor/FlowEditor.test.tsx +282 -0
- package/src/flow/editor/FlowEditor.tsx +1214 -0
- package/src/flow/editor/FlowOutline.tsx +196 -0
- package/src/flow/editor/FlowPreview.tsx +149 -0
- package/src/flow/editor/FlowSwitcherBar.tsx +141 -0
- package/src/flow/editor/NodePalette.tsx +447 -0
- package/src/flow/editor/RunControls.tsx +85 -0
- package/src/flow/editor/SaveStatus.tsx +45 -0
- package/src/flow/editor/editor.css +573 -0
- package/src/flow/editor/editorTools.ts +135 -0
- package/src/flow/editor/focusOut.ts +23 -0
- package/src/flow/editor/index.ts +16 -0
- package/src/flow/editor/keyMap.ts +93 -0
- package/src/flow/editor/nodeBridge.tsx +66 -0
- package/src/flow/editor/parts.test.tsx +519 -0
- package/src/flow/editor/useEditorShortcuts.ts +122 -0
- package/src/flow/editor/useSelectionArrange.ts +135 -0
- package/src/flow/expressions/ComputeInsertPanel.tsx +123 -0
- package/src/flow/expressions/ComputeNodeForm.tsx +291 -0
- package/src/flow/expressions/ComputeTrial.tsx +105 -0
- package/src/flow/expressions/ExpressionBuilder.test.tsx +161 -0
- package/src/flow/expressions/ExpressionBuilder.tsx +71 -0
- package/src/flow/expressions/ExpressionField.tsx +157 -0
- package/src/flow/expressions/RuleEditor.tsx +645 -0
- package/src/flow/expressions/RuleNodeForm.tsx +165 -0
- package/src/flow/expressions/SimulationNodeForm.tsx +175 -0
- package/src/flow/expressions/TraceTree.test.tsx +120 -0
- package/src/flow/expressions/TraceTree.tsx +210 -0
- package/src/flow/expressions/builder/ItemList.tsx +72 -0
- package/src/flow/expressions/builder/leaves.tsx +94 -0
- package/src/flow/expressions/builder/shared.tsx +55 -0
- package/src/flow/expressions/builder/tree.tsx +221 -0
- package/src/flow/expressions/catalogContext.tsx +21 -0
- package/src/flow/expressions/computeDraft.ts +105 -0
- package/src/flow/expressions/exampleCatalog.ts +42 -0
- package/src/flow/expressions/expressions.css +520 -0
- package/src/flow/expressions/forms.test.tsx +325 -0
- package/src/flow/expressions/index.ts +15 -0
- package/src/flow/expressions/labels.ts +204 -0
- package/src/flow/expressions/model.ts +194 -0
- package/src/flow/expressions/ruleActions.ts +164 -0
- package/src/flow/expressions/ruleCondition.ts +98 -0
- package/src/flow/expressions/trace.ts +98 -0
- package/src/flow/forms/AgentNodeForm.css +29 -0
- package/src/flow/forms/AgentNodeForm.test.tsx +66 -0
- package/src/flow/forms/AgentNodeForm.tsx +177 -0
- package/src/flow/forms/DataSourceNodeForm.test.tsx +121 -0
- package/src/flow/forms/DataSourceNodeForm.tsx +519 -0
- package/src/flow/forms/DecisionNodeForm.test.tsx +72 -0
- package/src/flow/forms/DecisionNodeForm.tsx +302 -0
- package/src/flow/forms/GroupNodeForm.css +72 -0
- package/src/flow/forms/GroupNodeForm.test.tsx +55 -0
- package/src/flow/forms/GroupNodeForm.tsx +148 -0
- package/src/flow/forms/NewForms.css +256 -0
- package/src/flow/forms/NodeFormFooter.tsx +44 -0
- package/src/flow/forms/OutputSchemaBuilder.test.tsx +83 -0
- package/src/flow/forms/OutputSchemaBuilder.tsx +325 -0
- package/src/flow/forms/ReportOutputNodeForm.test.tsx +63 -0
- package/src/flow/forms/ReportOutputNodeForm.tsx +180 -0
- package/src/flow/forms/SchemaConfigForm.css +7 -0
- package/src/flow/forms/SchemaConfigForm.test.tsx +74 -0
- package/src/flow/forms/SchemaConfigForm.tsx +214 -0
- package/src/flow/forms/StartNodeForm.css +29 -0
- package/src/flow/forms/StartNodeForm.test.tsx +66 -0
- package/src/flow/forms/StartNodeForm.tsx +88 -0
- package/src/flow/forms/ToolServerListField.css +58 -0
- package/src/flow/forms/ToolServerListField.test.tsx +73 -0
- package/src/flow/forms/ToolServerListField.tsx +242 -0
- package/src/flow/forms/VariableListEditor.css +82 -0
- package/src/flow/forms/VariableListEditor.test.tsx +79 -0
- package/src/flow/forms/VariableListEditor.tsx +280 -0
- package/src/flow/forms/forms-shared.css +53 -0
- package/src/flow/forms/forms.css +9 -0
- package/src/flow/forms/index.ts +12 -0
- package/src/flow/forms/nameListModel.ts +61 -0
- package/src/flow/geometry/arrange.ts +74 -0
- package/src/flow/geometry/curve.ts +58 -0
- package/src/flow/geometry/geometry.test.ts +97 -0
- package/src/flow/geometry/guides.ts +49 -0
- package/src/flow/geometry/rect.ts +101 -0
- package/src/flow/geometry/viewport.ts +70 -0
- package/src/flow/index.ts +58 -0
- package/src/flow/internal/Announcer.tsx +63 -0
- package/src/flow/internal/DockedPanel.tsx +95 -0
- package/src/flow/internal/SectionedModal.tsx +117 -0
- package/src/flow/internal/builtInLabels.test.ts +16 -0
- package/src/flow/internal/confirm.tsx +73 -0
- package/src/flow/internal/format.ts +47 -0
- package/src/flow/internal/i18n.test.tsx +109 -0
- package/src/flow/internal/ids.ts +9 -0
- package/src/flow/internal/internal.css +152 -0
- package/src/flow/internal/labels.ts +101 -0
- package/src/flow/internal/messageFormat.ts +102 -0
- package/src/flow/internal/useControllable.ts +17 -0
- package/src/flow/layout/autoLayout.test.ts +56 -0
- package/src/flow/layout/autoLayout.ts +93 -0
- package/src/flow/layout/chainLayout.ts +66 -0
- package/src/flow/model/graph.ts +123 -0
- package/src/flow/model/types.ts +83 -0
- package/src/flow/nodes/AgentIdentity.tsx +145 -0
- package/src/flow/nodes/AgentNode.tsx +152 -0
- package/src/flow/nodes/AlignmentGuides.tsx +108 -0
- package/src/flow/nodes/ConnectionPorts.tsx +277 -0
- package/src/flow/nodes/DataSourceNode.tsx +179 -0
- package/src/flow/nodes/GenericNode.tsx +114 -0
- package/src/flow/nodes/GraphNodeCard.css +314 -0
- package/src/flow/nodes/GraphNodeCard.test.tsx +117 -0
- package/src/flow/nodes/GraphNodeCard.tsx +329 -0
- package/src/flow/nodes/GroupNode.tsx +231 -0
- package/src/flow/nodes/NodeRunIndicator.tsx +139 -0
- package/src/flow/nodes/NoteNode.tsx +134 -0
- package/src/flow/nodes/RuleNode.tsx +162 -0
- package/src/flow/nodes/flow-nodes.css +687 -0
- package/src/flow/nodes/groupLayout.ts +66 -0
- package/src/flow/nodes/index.ts +18 -0
- package/src/flow/nodes/nodeChrome.tsx +113 -0
- package/src/flow/nodes/nodes.css +3 -0
- package/src/flow/nodes/nodes.test.tsx +529 -0
- package/src/flow/nodes/ports.ts +127 -0
- package/src/flow/nodes/registry.tsx +262 -0
- package/src/flow/nodes/sourceMarks.tsx +52 -0
- package/src/flow/nodes/types.ts +85 -0
- package/src/flow/provenance/EditionCompare.tsx +292 -0
- package/src/flow/provenance/NumberTrace.tsx +208 -0
- package/src/flow/provenance/ProvenanceCertificate.tsx +263 -0
- package/src/flow/provenance/ProvenanceFilters.tsx +137 -0
- package/src/flow/provenance/ProvenanceGraph.css +1156 -0
- package/src/flow/provenance/ProvenanceGraph.test.tsx +361 -0
- package/src/flow/provenance/ProvenanceGraph.tsx +725 -0
- package/src/flow/provenance/ProvenanceInspector.tsx +201 -0
- package/src/flow/provenance/ProvenanceLegend.tsx +66 -0
- package/src/flow/provenance/ProvenanceNode.tsx +171 -0
- package/src/flow/provenance/ProvenanceShellParts.test.tsx +130 -0
- package/src/flow/provenance/ProvenanceTimeline.tsx +342 -0
- package/src/flow/provenance/ProvenanceTree.tsx +143 -0
- package/src/flow/provenance/ProvenanceViews.css +828 -0
- package/src/flow/provenance/ProvenanceViews.test.tsx +307 -0
- package/src/flow/provenance/index.ts +14 -0
- package/src/flow/provenance/labels.ts +418 -0
- package/src/flow/provenance/model.ts +381 -0
- package/src/flow/provenance/proofTypes.ts +93 -0
- package/src/flow/provenance/provenance.css +3 -0
- package/src/flow/report/ClaimTitle.tsx +15 -0
- package/src/flow/report/ProvenanceTag.test.tsx +37 -0
- package/src/flow/report/ProvenanceTag.tsx +58 -0
- package/src/flow/report/ReportView.test.tsx +59 -0
- package/src/flow/report/ReportView.tsx +359 -0
- package/src/flow/report/index.ts +4 -0
- package/src/flow/report/report.css +267 -0
- package/src/flow/run/ExecutionTimeline.tsx +478 -0
- package/src/flow/run/NumberInput.tsx +59 -0
- package/src/flow/run/RunDrawer.tsx +485 -0
- package/src/flow/run/RunInputDialog.tsx +149 -0
- package/src/flow/run/RunPanel.tsx +136 -0
- package/src/flow/run/RunPreviewPanel.tsx +269 -0
- package/src/flow/run/RunReplayDialog.tsx +278 -0
- package/src/flow/run/RunRewindDialog.tsx +197 -0
- package/src/flow/run/RunStatusMark.tsx +79 -0
- package/src/flow/run/RunTimePanel.test.tsx +55 -0
- package/src/flow/run/RunTimePanel.tsx +143 -0
- package/src/flow/run/RunViews.tsx +170 -0
- package/src/flow/run/ShortId.tsx +15 -0
- package/src/flow/run/VariableInspector.tsx +198 -0
- package/src/flow/run/VersionHistoryPanel.tsx +178 -0
- package/src/flow/run/execution.ts +187 -0
- package/src/flow/run/index.ts +18 -0
- package/src/flow/run/lineage.ts +123 -0
- package/src/flow/run/rewindPlan.ts +79 -0
- package/src/flow/run/run.css +749 -0
- package/src/flow/run/run.test.tsx +533 -0
- package/src/flow/run/runData.ts +124 -0
- package/src/flow/run/types.ts +53 -0
- package/src/flow/state/dialogStack.tsx +90 -0
- package/src/flow/state/editorState.test.tsx +110 -0
- package/src/flow/state/editorState.tsx +296 -0
- package/src/flow/state/graphEdits.ts +107 -0
- package/src/flow/state/store.ts +67 -0
- package/src/flow/steps/AddStepPicker.tsx +108 -0
- package/src/flow/steps/FlowSidePanel.tsx +318 -0
- package/src/flow/steps/IssueBar.tsx +58 -0
- package/src/flow/steps/ShapeChip.tsx +41 -0
- package/src/flow/steps/StepCard.tsx +139 -0
- package/src/flow/steps/StepListView.tsx +152 -0
- package/src/flow/steps/StepPalette.tsx +194 -0
- package/src/flow/steps/StepsContext.tsx +70 -0
- package/src/flow/steps/index.ts +15 -0
- package/src/flow/steps/researchSteps.ts +269 -0
- package/src/flow/steps/shapes.ts +46 -0
- package/src/flow/steps/stepLabels.ts +160 -0
- package/src/flow/steps/stepTools.ts +37 -0
- package/src/flow/steps/steps.css +962 -0
- package/src/flow/steps/steps.test.tsx +351 -0
- package/src/flow/steps/wiring.ts +123 -0
- package/src/flow/styles.css +23 -0
- package/src/flow/surface/CanvasSurface.test.tsx +148 -0
- package/src/flow/surface/CanvasSurface.tsx +674 -0
- package/src/flow/surface/OverviewMap.tsx +50 -0
- package/src/flow/surface/SurfaceContext.tsx +28 -0
- package/src/flow/surface/surface.css +200 -0
- package/src/flow/surface/types.ts +97 -0
- package/src/flow/surface/useElementSize.ts +29 -0
- package/src/flow/surface/useNodeMeasurement.ts +71 -0
- package/src/flow/toolbar/CanvasNodeSearch.tsx +110 -0
- package/src/flow/toolbar/CanvasToolbar.test.tsx +101 -0
- package/src/flow/toolbar/CanvasToolbar.tsx +114 -0
- package/src/flow/toolbar/canvasTools.ts +114 -0
- package/src/flow/toolbar/dockItems.test.tsx +47 -0
- package/src/flow/toolbar/dockItems.tsx +51 -0
- package/src/flow/toolbar/index.ts +5 -0
- package/src/flow/toolbar/toolbar.css +217 -0
- package/src/groups/auth-brand.css +18 -0
- package/src/groups/auth-brand.ts +17 -0
- package/src/groups/charts-geo.css +6 -0
- package/src/groups/charts-geo.ts +98 -0
- package/src/groups/data-a.css +13 -0
- package/src/groups/data-a.ts +14 -0
- package/src/groups/data-b.css +11 -0
- package/src/groups/data-b.ts +11 -0
- package/src/groups/forms-a.css +17 -0
- package/src/groups/forms-a.ts +15 -0
- package/src/groups/forms-b.css +14 -0
- package/src/groups/forms-b.ts +13 -0
- package/src/groups/overlays-nav.css +15 -0
- package/src/groups/overlays-nav.ts +16 -0
- package/src/groups/platform.css +7 -0
- package/src/groups/platform.ts +101 -0
- package/src/groups/shell.css +10 -0
- package/src/groups/shell.ts +10 -0
- package/src/groups/showcase.css +8 -0
- package/src/groups/showcase.ts +9 -0
- package/src/index.ts +65 -0
- package/src/internal/ThemeScope.tsx +28 -0
- package/src/internal/VisuallyHidden.tsx +10 -0
- package/src/internal/cx.ts +4 -0
- package/src/internal/data-a/announce.ts +38 -0
- package/src/internal/data-a/clipboard.ts +11 -0
- package/src/internal/data-b/signed.ts +34 -0
- package/src/internal/data-b/tween.ts +67 -0
- package/src/internal/dev.ts +12 -0
- package/src/internal/dom.ts +42 -0
- package/src/internal/forms-a/LiveNote.tsx +18 -0
- package/src/internal/forms-a/SearchInput.css +125 -0
- package/src/internal/forms-a/SearchInput.tsx +52 -0
- package/src/internal/forms-a/marks.tsx +18 -0
- package/src/internal/forms-a/shared.css +25 -0
- package/src/internal/forms-b/digits.ts +33 -0
- package/src/internal/forms-b/forms-b.css +341 -0
- package/src/internal/forms-b/parts.tsx +151 -0
- package/src/internal/haptics.ts +77 -0
- package/src/internal/icuCatalogue.ts +60 -0
- package/src/internal/inert.ts +15 -0
- package/src/internal/media.ts +35 -0
- package/src/internal/messages/auth-brand.ts +161 -0
- package/src/internal/messages/charts-geo.ts +289 -0
- package/src/internal/messages/core-es.ts +94 -0
- package/src/internal/messages/data-a.ts +199 -0
- package/src/internal/messages/data-b.ts +99 -0
- package/src/internal/messages/forms-a.ts +309 -0
- package/src/internal/messages/forms-b.ts +293 -0
- package/src/internal/messages/overlays-nav.ts +367 -0
- package/src/internal/messages/platform.ts +63 -0
- package/src/internal/messages/plural.ts +24 -0
- package/src/internal/messages/shell.ts +144 -0
- package/src/internal/messages/showcase.ts +12 -0
- package/src/internal/messages.ts +335 -0
- package/src/internal/overlays-nav/fuzzy.ts +115 -0
- package/src/internal/overlays-nav/hold.ts +53 -0
- package/src/internal/overlays-nav/recent.ts +73 -0
- package/src/internal/overlays-nav/state.ts +54 -0
- package/src/internal/platform/touchTrack.ts +49 -0
- package/src/internal/provider.tsx +64 -0
- package/src/internal/speech.ts +24 -0
- package/src/internal/theme.test.tsx +166 -0
- package/src/internal/theme.tsx +181 -0
- package/src/internal/types.ts +4 -0
- package/src/internal/variants.test.ts +14 -0
- package/src/internal/variants.ts +48 -0
- package/src/native-states.css +364 -0
- package/src/styles.css +56 -0
- package/src/utilities/api-error-model/apiErrors.test.ts +74 -0
- package/src/utilities/api-error-model/apiErrors.ts +192 -0
- package/src/utilities/entity-list-loader/useEntityListLoader.test.tsx +72 -0
- package/src/utilities/entity-list-loader/useEntityListLoader.ts +107 -0
- package/src/utilities/formatters/formatters.locales.test.ts +30 -0
- package/src/utilities/formatters/formatters.test.tsx +86 -0
- package/src/utilities/formatters/formatters.ts +190 -0
- package/src/utilities/haptics/haptics.test.tsx +96 -0
- package/src/utilities/haptics/haptics.tsx +79 -0
- package/src/utilities/i18n-adapter/I18nAdapter.test.tsx +70 -0
- package/src/utilities/i18n-adapter/I18nAdapter.tsx +136 -0
- package/src/utilities/i18n-adapter/icu.numeric.test.ts +39 -0
- package/src/utilities/i18n-adapter/icu.ts +207 -0
- package/src/utilities/legacy-alias-map/LEGACY-ALIASES.md +65 -0
- package/src/utilities/legacy-alias-map/legacy-alias-map.test.ts +57 -0
- package/src/utilities/motion-foundation/motion.test.tsx +76 -0
- package/src/utilities/motion-foundation/motion.tsx +119 -0
- package/src/utilities/router-adapter/Routing.test.tsx +68 -0
- package/src/utilities/router-adapter/Routing.tsx +149 -0
- package/src/utilities/view-transition/animatedChange.test.ts +72 -0
- package/src/utilities/view-transition/animatedChange.ts +90 -0
- package/dist/src-Ds9ArSaP.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datatechsolutions/tympan",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Tympan: accessible React components (React 18.3 or 19) on React Aria Components, styled with --ty-* CSS custom properties in @layer tympan. The flow and provenance canvas (graph viewer, DAG editor, run inspection) ships as the @datatechsolutions/tympan/flow subpath. Generated avatars (DiceBear, CC0/MIT styles only) ship as the /avatars subpath and country and region flags as the /flags subpath.",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"author": "Natalia Mesquita",
|
|
@@ -55,29 +55,42 @@
|
|
|
55
55
|
"types": "./dist/flags.d.ts",
|
|
56
56
|
"default": "./dist/flags.js"
|
|
57
57
|
},
|
|
58
|
+
"./elements": {
|
|
59
|
+
"tympan-source": "./src/elements/index.ts",
|
|
60
|
+
"types": "./dist/elements.d.ts",
|
|
61
|
+
"default": "./dist/elements.js"
|
|
62
|
+
},
|
|
63
|
+
"./elements/react": {
|
|
64
|
+
"tympan-source": "./src/elements/react/index.ts",
|
|
65
|
+
"types": "./dist/elements-react.d.ts",
|
|
66
|
+
"default": "./dist/elements-react.js"
|
|
67
|
+
},
|
|
68
|
+
"./elements.bundle.js": "./dist/elements.bundle.js",
|
|
58
69
|
"./styles.css": "./dist/styles.css",
|
|
59
70
|
"./flow.css": "./dist/flow.css",
|
|
60
71
|
"./package.json": "./package.json"
|
|
61
72
|
},
|
|
62
73
|
"files": [
|
|
63
74
|
"dist",
|
|
75
|
+
"src",
|
|
76
|
+
"docs",
|
|
64
77
|
"LICENSE",
|
|
78
|
+
"README.md",
|
|
65
79
|
"THIRD_PARTY_NOTICES.md"
|
|
66
80
|
],
|
|
67
81
|
"scripts": {
|
|
68
82
|
"prebuild": "npm run build -w @datatechsolutions/tympan-tokens && node scripts/build-flags.mjs",
|
|
69
|
-
"build": "tsdown && node scripts/build-css.mjs && node scripts/prune-flag-maps.mjs",
|
|
83
|
+
"build": "tsdown && tsdown -c tsdown.elements.config.ts && node scripts/build-css.mjs && node scripts/prune-flag-maps.mjs",
|
|
70
84
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
71
85
|
"test": "vitest run",
|
|
72
86
|
"test:watch": "vitest",
|
|
73
87
|
"gallery": "npm run build -w @datatechsolutions/tympan-tokens && node scripts/build-flags.mjs && vite --config gallery/vite.config.ts",
|
|
74
88
|
"gallery:build": "npm run build -w @datatechsolutions/tympan-tokens && node scripts/build-flags.mjs && vite build --config gallery/vite.config.ts",
|
|
75
89
|
"pretest": "npm run build -w @datatechsolutions/tympan-tokens && node scripts/build-flags.mjs",
|
|
76
|
-
"pretypecheck": "npm run build -w @datatechsolutions/tympan-tokens && node scripts/build-flags.mjs"
|
|
90
|
+
"pretypecheck": "npm run build -w @datatechsolutions/tympan-tokens && node scripts/build-flags.mjs",
|
|
91
|
+
"prepack": "npm run build"
|
|
77
92
|
},
|
|
78
93
|
"peerDependencies": {
|
|
79
|
-
"@dagrejs/dagre": "^3.1.1",
|
|
80
|
-
"@dicebear/core": "^9.4.3",
|
|
81
94
|
"@dicebear/glass": "^9.4.3",
|
|
82
95
|
"@dicebear/icons": "^9.4.3",
|
|
83
96
|
"@dicebear/identicon": "^9.4.3",
|
|
@@ -96,12 +109,6 @@
|
|
|
96
109
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
97
110
|
},
|
|
98
111
|
"peerDependenciesMeta": {
|
|
99
|
-
"@dagrejs/dagre": {
|
|
100
|
-
"optional": true
|
|
101
|
-
},
|
|
102
|
-
"@dicebear/core": {
|
|
103
|
-
"optional": true
|
|
104
|
-
},
|
|
105
112
|
"@dicebear/glass": {
|
|
106
113
|
"optional": true
|
|
107
114
|
},
|
|
@@ -146,7 +153,9 @@
|
|
|
146
153
|
}
|
|
147
154
|
},
|
|
148
155
|
"dependencies": {
|
|
149
|
-
"@
|
|
156
|
+
"@dagrejs/dagre": "^3.1.1",
|
|
157
|
+
"@datatechsolutions/tympan-tokens": "^0.3.1",
|
|
158
|
+
"@dicebear/core": "^9.4.3",
|
|
150
159
|
"@internationalized/date": "^3.12.4",
|
|
151
160
|
"@types/d3-array": "^3.2.2",
|
|
152
161
|
"@types/d3-path": "^3.1.1",
|
|
@@ -165,8 +174,6 @@
|
|
|
165
174
|
"topojson-client": "^3.1.0"
|
|
166
175
|
},
|
|
167
176
|
"devDependencies": {
|
|
168
|
-
"@dagrejs/dagre": "^3.1.1",
|
|
169
|
-
"@dicebear/core": "^9.4.3",
|
|
170
177
|
"@dicebear/glass": "^9.4.3",
|
|
171
178
|
"@dicebear/icons": "^9.4.3",
|
|
172
179
|
"@dicebear/identicon": "^9.4.3",
|
|
@@ -185,6 +192,10 @@
|
|
|
185
192
|
"axe-core": "^4.13.0",
|
|
186
193
|
"flag-icons": "7.5.0"
|
|
187
194
|
},
|
|
195
|
+
"homepage": "https://github.com/datatechsolutionsbr/tympan#readme",
|
|
196
|
+
"bugs": {
|
|
197
|
+
"url": "https://github.com/datatechsolutionsbr/tympan/issues"
|
|
198
|
+
},
|
|
188
199
|
"publishConfig": {
|
|
189
200
|
"access": "public"
|
|
190
201
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useId, useMemo } from 'react'
|
|
2
|
+
import { Avatar, type AvatarProps } from '../components/avatar/Avatar'
|
|
3
|
+
import { devWarning } from '../internal/dev'
|
|
4
|
+
import { avatarSvg, type AvatarPalette, type AvatarStyle } from './avatarSvg'
|
|
5
|
+
|
|
6
|
+
export interface GeneratedAvatarProps extends Omit<AvatarProps, 'artwork'> {
|
|
7
|
+
/** Any stable string (user id, agent key): the same seed always draws the same avatar. */
|
|
8
|
+
seed: string
|
|
9
|
+
/** An allowed DiceBear style module, e.g. `import * as shapes from '@dicebear/shapes'`. */
|
|
10
|
+
avatarStyle: AvatarStyle
|
|
11
|
+
/** Fixed colours (see `avatarPalette`); by default the avatar follows the theme in scope. */
|
|
12
|
+
palette?: AvatarPalette
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Avatar with generated artwork (DiceBear, CC0 or MIT styles only) in the
|
|
17
|
+
* active theme's colours. Everything else is Avatar: an image wins when it
|
|
18
|
+
* loads, the frame carries the accessible name (or is hidden when
|
|
19
|
+
* `decorative`), agents keep the rounded, dashed frame and take abstract
|
|
20
|
+
* styles only. If the artwork cannot be drawn (a style outside the
|
|
21
|
+
* allow-list, a face style for an agent) the Avatar fallback shows: initials
|
|
22
|
+
* for a person, the bot icon for an agent.
|
|
23
|
+
*/
|
|
24
|
+
export function GeneratedAvatar({ seed, avatarStyle, palette, actorKind = 'person', ...rest }: GeneratedAvatarProps) {
|
|
25
|
+
const uid = useId()
|
|
26
|
+
const svg = useMemo(() => {
|
|
27
|
+
try {
|
|
28
|
+
return avatarSvg({ seed, style: avatarStyle, theme: palette ?? 'css', kind: actorKind, idPrefix: `ty-av${uid}` })
|
|
29
|
+
} catch (error) {
|
|
30
|
+
devWarning(true, `GeneratedAvatar: ${(error as Error).message} Showing the fallback.`)
|
|
31
|
+
return null
|
|
32
|
+
}
|
|
33
|
+
}, [seed, avatarStyle, palette, actorKind, uid])
|
|
34
|
+
return (
|
|
35
|
+
<Avatar
|
|
36
|
+
{...rest}
|
|
37
|
+
actorKind={actorKind}
|
|
38
|
+
artwork={svg ? <span className="ty-avatar__artwork" data-generated="" aria-hidden="true" dangerouslySetInnerHTML={{ __html: svg }} /> : null}
|
|
39
|
+
/>
|
|
40
|
+
)
|
|
41
|
+
}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// Deterministic generated avatars: DiceBear draws the artwork from a seed,
|
|
2
|
+
// Tympan supplies the colours. By default the colours are CSS custom
|
|
3
|
+
// properties, so an inline avatar follows the active theme and mode with no
|
|
4
|
+
// re-render; `avatarPalette()` resolves them to hex for contexts without the
|
|
5
|
+
// Tympan stylesheet (images, e-mail, server rendering to a file).
|
|
6
|
+
import { createAvatar, type Style } from '@dicebear/core'
|
|
7
|
+
import { oklchToRgb, presets, printThemePresets, resolveTheme, rgbToOklch, toHex, type Rgba, type ThemeConfig } from '@datatechsolutions/tympan-tokens'
|
|
8
|
+
import { ALLOWED_AVATAR_LICENSES, ALLOWED_AVATAR_STYLES, type AllowedAvatarStyle } from './styles'
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A DiceBear style module (`import * as shapes from '@dicebear/shapes'`).
|
|
12
|
+
* Only the styles in `ALLOWED_AVATAR_STYLES` are accepted.
|
|
13
|
+
*/
|
|
14
|
+
export interface AvatarStyle {
|
|
15
|
+
meta?: { title?: string; creator?: string; source?: string; license?: { name?: string; url?: string } }
|
|
16
|
+
create: (...args: never[]) => unknown
|
|
17
|
+
schema?: unknown
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type AvatarKind = 'person' | 'agent'
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Colour slots the styles draw with: soft backgrounds (follow the mode), ink
|
|
24
|
+
* shapes, solid fills that carry white artwork, and light paper behind the
|
|
25
|
+
* black line art of figure styles (light in both modes, so faces stay legible).
|
|
26
|
+
*/
|
|
27
|
+
export const AVATAR_SLOTS = ['soft-1', 'soft-2', 'soft-3', 'ink-1', 'ink-2', 'ink-3', 'solid-1', 'solid-2', 'solid-3', 'paper-1', 'paper-2', 'paper-3'] as const
|
|
28
|
+
export type AvatarSlot = (typeof AVATAR_SLOTS)[number]
|
|
29
|
+
/** One CSS colour per slot. */
|
|
30
|
+
export type AvatarPalette = Record<AvatarSlot, string>
|
|
31
|
+
|
|
32
|
+
/** Thrown for a style outside the licence allow-list, or a people-only style drawn for an agent. */
|
|
33
|
+
export class AvatarStyleError extends Error {
|
|
34
|
+
override name = 'AvatarStyleError'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Sentinel colours handed to DiceBear and swapped for the palette afterwards.
|
|
38
|
+
// They are valid hex (DiceBear's option schema) and appear in no allowed style.
|
|
39
|
+
const SENTINEL: Record<AvatarSlot, string> = {
|
|
40
|
+
'soft-1': 'fe01a1',
|
|
41
|
+
'soft-2': 'fe01a2',
|
|
42
|
+
'soft-3': 'fe01a3',
|
|
43
|
+
'ink-1': 'fe01b1',
|
|
44
|
+
'ink-2': 'fe01b2',
|
|
45
|
+
'ink-3': 'fe01b3',
|
|
46
|
+
'solid-1': 'fe01c1',
|
|
47
|
+
'solid-2': 'fe01c2',
|
|
48
|
+
'solid-3': 'fe01c3',
|
|
49
|
+
'paper-1': 'fe01d1',
|
|
50
|
+
'paper-2': 'fe01d2',
|
|
51
|
+
'paper-3': 'fe01d3',
|
|
52
|
+
}
|
|
53
|
+
const s = (...slots: AvatarSlot[]) => slots.map((slot) => SENTINEL[slot])
|
|
54
|
+
const SOFT = s('soft-1', 'soft-2', 'soft-3')
|
|
55
|
+
const INK = s('ink-1', 'ink-2', 'ink-3')
|
|
56
|
+
const SOLID = s('solid-1', 'solid-2', 'solid-3')
|
|
57
|
+
const PAPER = s('paper-1', 'paper-2', 'paper-3')
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Which DiceBear colour options each style gets. Figure styles only get a
|
|
61
|
+
* background: skin, hair and eye colours stay the artist's, never the brand.
|
|
62
|
+
*/
|
|
63
|
+
const COLOR_OPTIONS: Record<string, Record<string, string[]>> = {
|
|
64
|
+
Glass: { backgroundColor: SOLID },
|
|
65
|
+
'Bootstrap Icons': { backgroundColor: SOLID },
|
|
66
|
+
Identicon: { backgroundColor: s('soft-1', 'soft-3'), rowColor: INK },
|
|
67
|
+
Initials: { backgroundColor: s('soft-1', 'soft-2'), textColor: s('ink-2') },
|
|
68
|
+
Lorelei: { backgroundColor: PAPER },
|
|
69
|
+
'Lorelei Neutral': { backgroundColor: PAPER },
|
|
70
|
+
Notionists: { backgroundColor: PAPER },
|
|
71
|
+
'Open Peeps': { backgroundColor: PAPER },
|
|
72
|
+
'Pixel Art': { backgroundColor: PAPER },
|
|
73
|
+
'Pixel Art Neutral': { backgroundColor: PAPER },
|
|
74
|
+
Rings: { backgroundColor: s('soft-1', 'soft-3'), ringColor: INK },
|
|
75
|
+
Shapes: { backgroundColor: SOFT, shape1Color: INK, shape2Color: SOLID, shape3Color: s('ink-3', 'solid-1') },
|
|
76
|
+
Thumbs: { backgroundColor: SOFT, shapeColor: INK },
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const mix = (a: string, pct: number, b: string) => `color-mix(in oklch, ${a} ${pct}%, ${b})`
|
|
80
|
+
|
|
81
|
+
/** The theme expressions behind each slot; people draw from the brand, agents from the neutral ink. */
|
|
82
|
+
const CSS_SOURCES: Record<AvatarKind, AvatarPalette> = {
|
|
83
|
+
person: {
|
|
84
|
+
'soft-1': mix('var(--ty-brand)', 14, 'var(--ty-bg)'),
|
|
85
|
+
'soft-2': mix('var(--ty-brand)', 28, 'var(--ty-bg)'),
|
|
86
|
+
'soft-3': mix('var(--ty-ink)', 10, 'var(--ty-bg)'),
|
|
87
|
+
'ink-1': 'var(--ty-brand)',
|
|
88
|
+
'ink-2': 'var(--ty-brand-strong)',
|
|
89
|
+
'ink-3': mix('var(--ty-brand)', 55, 'var(--ty-ink)'),
|
|
90
|
+
'solid-1': 'var(--ty-brand-600)',
|
|
91
|
+
'solid-2': 'var(--ty-brand-700)',
|
|
92
|
+
'solid-3': 'var(--ty-brand-800)',
|
|
93
|
+
'paper-1': 'var(--ty-brand-100)',
|
|
94
|
+
'paper-2': 'var(--ty-brand-200)',
|
|
95
|
+
'paper-3': 'var(--ty-neutral-100)',
|
|
96
|
+
},
|
|
97
|
+
agent: {
|
|
98
|
+
'soft-1': mix('var(--ty-ink)', 8, 'var(--ty-bg)'),
|
|
99
|
+
'soft-2': mix('var(--ty-ink)', 14, 'var(--ty-bg)'),
|
|
100
|
+
'soft-3': mix('var(--ty-ink)', 20, 'var(--ty-bg)'),
|
|
101
|
+
'ink-1': 'var(--ty-actor-agent)',
|
|
102
|
+
'ink-2': 'var(--ty-ink-3)',
|
|
103
|
+
'ink-3': mix('var(--ty-ink)', 70, 'var(--ty-bg)'),
|
|
104
|
+
'solid-1': 'var(--ty-neutral-600)',
|
|
105
|
+
'solid-2': 'var(--ty-neutral-700)',
|
|
106
|
+
'solid-3': 'var(--ty-neutral-800)',
|
|
107
|
+
'paper-1': 'var(--ty-neutral-50)',
|
|
108
|
+
'paper-2': 'var(--ty-neutral-100)',
|
|
109
|
+
'paper-3': 'var(--ty-neutral-200)',
|
|
110
|
+
},
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The palette as CSS: each slot is `var(--ty-avatar-<slot>, <theme expression>)`,
|
|
115
|
+
* so a host can repaint one slot with a custom property and everything else
|
|
116
|
+
* follows the Tympan theme and colour mode in scope.
|
|
117
|
+
*/
|
|
118
|
+
export function avatarCssPalette(kind: AvatarKind = 'person'): AvatarPalette {
|
|
119
|
+
const out = {} as AvatarPalette
|
|
120
|
+
for (const slot of AVATAR_SLOTS) out[slot] = `var(--ty-avatar-${slot}, ${CSS_SOURCES[kind][slot]})`
|
|
121
|
+
return out
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function mixRgb(a: Rgba, pct: number, b: Rgba): Rgba {
|
|
125
|
+
// OKLCH interpolation like CSS color-mix(in oklch): shorter hue arc, an achromatic side takes the other's hue.
|
|
126
|
+
const p = pct / 100
|
|
127
|
+
const x = rgbToOklch(a)
|
|
128
|
+
const y = rgbToOklch(b)
|
|
129
|
+
const hx = x.c < 0.02 ? y.h : x.h
|
|
130
|
+
const hy = y.c < 0.02 ? x.h : y.h
|
|
131
|
+
let dh = hy - hx
|
|
132
|
+
if (dh > 180) dh -= 360
|
|
133
|
+
if (dh < -180) dh += 360
|
|
134
|
+
return oklchToRgb({ l: x.l * p + y.l * (1 - p), c: x.c * p + y.c * (1 - p), h: (hx + dh * (1 - p) + 360) % 360 })
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** Finds a built-in or print theme preset by name. */
|
|
138
|
+
function presetByName(name: string): ThemeConfig {
|
|
139
|
+
const found = [...presets, ...printThemePresets].find((p) => p.name === name)
|
|
140
|
+
if (!found) throw new Error(`Unknown Tympan theme "${name}".`)
|
|
141
|
+
return found
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The palette resolved to hex for one theme (a preset name or a
|
|
146
|
+
* `ThemeConfig`) in one mode: the same recipe as the CSS palette.
|
|
147
|
+
*/
|
|
148
|
+
export function avatarPalette(theme: string | ThemeConfig, mode: 'light' | 'dark', kind: AvatarKind = 'person'): AvatarPalette {
|
|
149
|
+
const r = resolveTheme(typeof theme === 'string' ? presetByName(theme) : theme, mode)
|
|
150
|
+
const c = (role: string): Rgba => r.colors[role] ?? { r: 0.5, g: 0.5, b: 0.5, a: 1 }
|
|
151
|
+
const hex = (x: Rgba) => toHex(x)
|
|
152
|
+
if (kind === 'agent') {
|
|
153
|
+
return {
|
|
154
|
+
'soft-1': hex(mixRgb(c('ink'), 8, c('bg'))),
|
|
155
|
+
'soft-2': hex(mixRgb(c('ink'), 14, c('bg'))),
|
|
156
|
+
'soft-3': hex(mixRgb(c('ink'), 20, c('bg'))),
|
|
157
|
+
'ink-1': hex(c('actor-agent')),
|
|
158
|
+
'ink-2': hex(c('ink-3')),
|
|
159
|
+
'ink-3': hex(mixRgb(c('ink'), 70, c('bg'))),
|
|
160
|
+
'solid-1': hex(r.ramps.neutral[600]),
|
|
161
|
+
'solid-2': hex(r.ramps.neutral[700]),
|
|
162
|
+
'solid-3': hex(r.ramps.neutral[800]),
|
|
163
|
+
'paper-1': hex(r.ramps.neutral[50]),
|
|
164
|
+
'paper-2': hex(r.ramps.neutral[100]),
|
|
165
|
+
'paper-3': hex(r.ramps.neutral[200]),
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return {
|
|
169
|
+
'soft-1': hex(mixRgb(c('brand'), 14, c('bg'))),
|
|
170
|
+
'soft-2': hex(mixRgb(c('brand'), 28, c('bg'))),
|
|
171
|
+
'soft-3': hex(mixRgb(c('ink'), 10, c('bg'))),
|
|
172
|
+
'ink-1': hex(c('brand')),
|
|
173
|
+
'ink-2': hex(c('brand-strong')),
|
|
174
|
+
'ink-3': hex(mixRgb(c('brand'), 55, c('ink'))),
|
|
175
|
+
'solid-1': hex(r.ramps.brand[600]),
|
|
176
|
+
'solid-2': hex(r.ramps.brand[700]),
|
|
177
|
+
'solid-3': hex(r.ramps.brand[800]),
|
|
178
|
+
'paper-1': hex(r.ramps.brand[100]),
|
|
179
|
+
'paper-2': hex(r.ramps.brand[200]),
|
|
180
|
+
'paper-3': hex(r.ramps.neutral[100]),
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* The allow-list entry of a style, or an `AvatarStyleError` when the style's
|
|
186
|
+
* artwork licence is not CC0 1.0 or MIT, or the style is not on the list.
|
|
187
|
+
*/
|
|
188
|
+
export function allowedAvatarStyle(style: AvatarStyle): AllowedAvatarStyle {
|
|
189
|
+
const title = style?.meta?.title
|
|
190
|
+
const license = style?.meta?.license?.name
|
|
191
|
+
if (!license || !(ALLOWED_AVATAR_LICENSES as readonly string[]).includes(license)) {
|
|
192
|
+
throw new AvatarStyleError(`Avatar style "${title ?? 'unknown'}" has artwork licence "${license ?? 'unknown'}"; only CC0 1.0 and MIT styles are allowed.`)
|
|
193
|
+
}
|
|
194
|
+
const entry = ALLOWED_AVATAR_STYLES.find((e) => e.title === title && e.designLicense === license)
|
|
195
|
+
if (!entry) throw new AvatarStyleError(`Avatar style "${title ?? 'unknown'}" is not on the Tympan allow-list.`)
|
|
196
|
+
return entry
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/** FNV-1a, for short deterministic id prefixes. */
|
|
200
|
+
function hash(text: string): string {
|
|
201
|
+
let h = 0x811c9dc5
|
|
202
|
+
for (let i = 0; i < text.length; i++) {
|
|
203
|
+
h ^= text.charCodeAt(i)
|
|
204
|
+
h = Math.imul(h, 0x01000193)
|
|
205
|
+
}
|
|
206
|
+
return (h >>> 0).toString(36)
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
const escapeAttr = (v: string) => v.replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<')
|
|
210
|
+
|
|
211
|
+
export interface AvatarSvgOptions {
|
|
212
|
+
/** Any stable string (user id, e-mail hash, agent key): same seed, same avatar. */
|
|
213
|
+
seed: string
|
|
214
|
+
/** An allowed DiceBear style module. */
|
|
215
|
+
style: AvatarStyle
|
|
216
|
+
/** Width and height in px; omitted, the SVG fills its container. */
|
|
217
|
+
size?: number
|
|
218
|
+
/** `'css'` (default): colours follow the theme in scope. A palette (see `avatarPalette`): fixed colours. */
|
|
219
|
+
theme?: 'css' | AvatarPalette
|
|
220
|
+
/** People draw from the brand; agents from the neutral ink, and only with abstract styles. */
|
|
221
|
+
kind?: AvatarKind
|
|
222
|
+
/** Prefix for the SVG's internal ids (masks, gradients); defaults to a hash of seed, style and kind. */
|
|
223
|
+
idPrefix?: string
|
|
224
|
+
/** Accessible name: the SVG becomes role="img". Without it the SVG is aria-hidden (decorative). */
|
|
225
|
+
title?: string
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* A generated avatar as an SVG string, deterministic from the seed. Throws
|
|
230
|
+
* `AvatarStyleError` for a style outside the licence allow-list, and for a
|
|
231
|
+
* face or initials style drawn for an agent.
|
|
232
|
+
*/
|
|
233
|
+
export function avatarSvg({ seed, style, size, theme = 'css', kind = 'person', idPrefix, title }: AvatarSvgOptions): string {
|
|
234
|
+
const entry = allowedAvatarStyle(style)
|
|
235
|
+
if (kind === 'agent' && entry.subject !== 'abstract') {
|
|
236
|
+
throw new AvatarStyleError(`Avatar style "${entry.title}" draws ${entry.subject === 'text' ? 'initials' : 'a face'}; agents take an abstract style (Glass, Bootstrap Icons, Identicon, Rings, Shapes).`)
|
|
237
|
+
}
|
|
238
|
+
const colors = COLOR_OPTIONS[entry.title] ?? { backgroundColor: SOFT }
|
|
239
|
+
const extra: Record<string, unknown> =
|
|
240
|
+
entry.title === 'Initials' ? { fontFamily: [theme === 'css' ? 'var(--ty-font-sans, system-ui, sans-serif)' : 'system-ui, sans-serif'], fontWeight: 600, fontSize: 42 } : {}
|
|
241
|
+
let svg = createAvatar(style as unknown as Style<object>, { seed, ...(size ? { size } : {}), ...colors, ...extra }).toString()
|
|
242
|
+
|
|
243
|
+
const palette = theme === 'css' ? avatarCssPalette(kind) : theme
|
|
244
|
+
for (const slot of AVATAR_SLOTS) svg = svg.replace(new RegExp(`#${SENTINEL[slot]}`, 'gi'), escapeAttr(palette[slot]))
|
|
245
|
+
|
|
246
|
+
// Scope internal ids so several avatars on one page never share a mask or gradient.
|
|
247
|
+
const prefix = (idPrefix ?? `ty-av-${hash(`${entry.title}\u0000${kind}\u0000${seed}`)}`).replace(/[^\w-]/g, '')
|
|
248
|
+
svg = svg.replace(/(\bid="|url\(#|href="#)([\w-]+)([")])/g, (_m, a: string, id: string, b: string) => `${a}${prefix}-${id}${b}`)
|
|
249
|
+
|
|
250
|
+
const a11y = title ? `role="img" aria-label="${escapeAttr(title)}"` : 'aria-hidden="true" focusable="false"'
|
|
251
|
+
return svg.replace(/^<svg /, `<svg ${a11y} `)
|
|
252
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { createAvatar, type Style } from '@dicebear/core'
|
|
2
|
+
import * as glass from '@dicebear/glass'
|
|
3
|
+
import * as icons from '@dicebear/icons'
|
|
4
|
+
import * as identicon from '@dicebear/identicon'
|
|
5
|
+
import * as initials from '@dicebear/initials'
|
|
6
|
+
import * as lorelei from '@dicebear/lorelei'
|
|
7
|
+
import * as loreleiNeutral from '@dicebear/lorelei-neutral'
|
|
8
|
+
import * as notionists from '@dicebear/notionists'
|
|
9
|
+
import * as notionistsNeutral from '@dicebear/notionists-neutral'
|
|
10
|
+
import * as openPeeps from '@dicebear/open-peeps'
|
|
11
|
+
import * as pixelArt from '@dicebear/pixel-art'
|
|
12
|
+
import * as pixelArtNeutral from '@dicebear/pixel-art-neutral'
|
|
13
|
+
import * as rings from '@dicebear/rings'
|
|
14
|
+
import * as shapes from '@dicebear/shapes'
|
|
15
|
+
import * as thumbs from '@dicebear/thumbs'
|
|
16
|
+
import { render, screen } from '@testing-library/react'
|
|
17
|
+
import { describe, expect, it, vi } from 'vitest'
|
|
18
|
+
import { expectNoAxeViolations } from '../../test/axe'
|
|
19
|
+
import { renderRtl } from '../../test/rtl'
|
|
20
|
+
import {
|
|
21
|
+
ALLOWED_AVATAR_LICENSES,
|
|
22
|
+
ALLOWED_AVATAR_STYLES,
|
|
23
|
+
AVATAR_SLOTS,
|
|
24
|
+
AvatarStyleError,
|
|
25
|
+
EXCLUDED_AVATAR_STYLES,
|
|
26
|
+
GeneratedAvatar,
|
|
27
|
+
avatarPalette,
|
|
28
|
+
avatarSvg,
|
|
29
|
+
type AvatarStyle,
|
|
30
|
+
} from './index'
|
|
31
|
+
|
|
32
|
+
const MODULES: Record<string, AvatarStyle> = {
|
|
33
|
+
'@dicebear/glass': glass,
|
|
34
|
+
'@dicebear/icons': icons,
|
|
35
|
+
'@dicebear/identicon': identicon,
|
|
36
|
+
'@dicebear/initials': initials,
|
|
37
|
+
'@dicebear/lorelei': lorelei,
|
|
38
|
+
'@dicebear/lorelei-neutral': loreleiNeutral,
|
|
39
|
+
'@dicebear/notionists': notionists,
|
|
40
|
+
'@dicebear/notionists-neutral': notionistsNeutral,
|
|
41
|
+
'@dicebear/open-peeps': openPeeps,
|
|
42
|
+
'@dicebear/pixel-art': pixelArt,
|
|
43
|
+
'@dicebear/pixel-art-neutral': pixelArtNeutral,
|
|
44
|
+
'@dicebear/rings': rings,
|
|
45
|
+
'@dicebear/shapes': shapes,
|
|
46
|
+
'@dicebear/thumbs': thumbs,
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const SEEDS = Array.from({ length: 24 }, (_, i) => `sample-person-${i}`)
|
|
50
|
+
|
|
51
|
+
describe('avatarSvg', () => {
|
|
52
|
+
it('is deterministic: same seed, same SVG; another seed, another SVG', () => {
|
|
53
|
+
for (const style of Object.values(MODULES)) {
|
|
54
|
+
const a = avatarSvg({ seed: 'Iris Calder', style })
|
|
55
|
+
expect(avatarSvg({ seed: 'Iris Calder', style })).toBe(a)
|
|
56
|
+
expect(avatarSvg({ seed: 'Tomas Reyna', style })).not.toBe(a)
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
it('draws every allowed style and replaces every colour it hands to DiceBear', () => {
|
|
61
|
+
for (const [pkg, style] of Object.entries(MODULES)) {
|
|
62
|
+
for (const seed of SEEDS) {
|
|
63
|
+
// The sentinels never occur in the artwork itself...
|
|
64
|
+
expect(createAvatar(style as unknown as Style<object>, { seed }).toString(), pkg).not.toMatch(/fe01[a-d][123]/i)
|
|
65
|
+
// ...and none survives in the output.
|
|
66
|
+
const svg = avatarSvg({ seed, style })
|
|
67
|
+
expect(svg, pkg).not.toMatch(/fe01[a-d][123]/i)
|
|
68
|
+
expect(svg.startsWith('<svg '), pkg).toBe(true)
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
it('takes its colours from the theme in scope through CSS custom properties', () => {
|
|
74
|
+
const person = avatarSvg({ seed: 'Iris Calder', style: shapes })
|
|
75
|
+
expect(person).toMatch(/fill="var\(--ty-avatar-soft-[123], color-mix\(in oklch, var\(--ty-(brand|ink)\)/)
|
|
76
|
+
expect(person).toContain('var(--ty-brand')
|
|
77
|
+
const agent = avatarSvg({ seed: 'summary-agent', style: shapes, kind: 'agent' })
|
|
78
|
+
expect(agent).toMatch(/var\(--ty-(actor-agent|ink|neutral-[678]00)/)
|
|
79
|
+
expect(agent).not.toContain('--ty-brand')
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
it('resolves the palette per theme and mode for fixed-colour output', () => {
|
|
83
|
+
const tympanLight = avatarPalette('tympan', 'light')
|
|
84
|
+
const tympanDark = avatarPalette('tympan', 'dark')
|
|
85
|
+
const printLight = avatarPalette('print-cartao-postal', 'light')
|
|
86
|
+
for (const slot of AVATAR_SLOTS) expect(tympanLight[slot]).toMatch(/^#[0-9a-f]{6}$/)
|
|
87
|
+
expect(tympanLight['soft-1']).not.toBe(tympanDark['soft-1'])
|
|
88
|
+
expect(tympanLight['ink-1']).not.toBe(printLight['ink-1'])
|
|
89
|
+
expect(tympanLight['soft-1']).not.toBe(printLight['soft-1'])
|
|
90
|
+
expect(avatarPalette('tympan', 'light', 'agent')['ink-1']).not.toBe(tympanLight['ink-1'])
|
|
91
|
+
|
|
92
|
+
const svg = avatarSvg({ seed: 'Iris Calder', style: identicon, theme: tympanLight })
|
|
93
|
+
expect(svg).not.toContain('var(')
|
|
94
|
+
expect(svg.toLowerCase()).toMatch(new RegExp(`${tympanLight['ink-1']}|${tympanLight['ink-2']}|${tympanLight['ink-3']}`))
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
it('keeps figure art in the artist colours and only paints the background, on light paper', () => {
|
|
98
|
+
const svg = avatarSvg({ seed: 'Iris Calder', style: lorelei })
|
|
99
|
+
expect((svg.match(/var\(--ty-avatar-/g) ?? []).length).toBe(1)
|
|
100
|
+
expect(svg).toMatch(/var\(--ty-avatar-paper-[123], var\(--ty-(brand|neutral)-[12]00\)\)/)
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
it('scopes internal ids and sets the size and accessible name when asked', () => {
|
|
104
|
+
const svg = avatarSvg({ seed: 'Iris Calder', style: glass, size: 48, idPrefix: 'demo', title: 'Iris Calder' })
|
|
105
|
+
expect(svg).toMatch(/^<svg role="img" aria-label="Iris Calder" /)
|
|
106
|
+
expect(svg).toContain('width="48"')
|
|
107
|
+
expect(svg).toContain('id="demo-viewboxMask"')
|
|
108
|
+
expect(svg).not.toMatch(/id="viewboxMask"/)
|
|
109
|
+
expect(avatarSvg({ seed: 'x', style: glass })).toMatch(/^<svg aria-hidden="true" focusable="false" /)
|
|
110
|
+
})
|
|
111
|
+
|
|
112
|
+
it('rejects a style whose artwork licence is not CC0 or MIT', () => {
|
|
113
|
+
const ccBy: AvatarStyle = { meta: { title: 'Adventurer', license: { name: 'CC BY 4.0' } }, create: () => ({}) }
|
|
114
|
+
const custom: AvatarStyle = { meta: { title: 'Avataaars', license: { name: 'Free for personal and commercial use' } }, create: () => ({}) }
|
|
115
|
+
const unlisted: AvatarStyle = { meta: { title: 'Home Made', license: { name: 'MIT' } }, create: () => ({}) }
|
|
116
|
+
expect(() => avatarSvg({ seed: 'x', style: ccBy })).toThrow(AvatarStyleError)
|
|
117
|
+
expect(() => avatarSvg({ seed: 'x', style: custom })).toThrow(/only CC0 1.0 and MIT/)
|
|
118
|
+
expect(() => avatarSvg({ seed: 'x', style: unlisted })).toThrow(/not on the Tympan allow-list/)
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
it('never draws a face or initials for an agent', () => {
|
|
122
|
+
expect(() => avatarSvg({ seed: 'x', style: lorelei, kind: 'agent' })).toThrow(/agents take an abstract style/)
|
|
123
|
+
expect(() => avatarSvg({ seed: 'x', style: initials, kind: 'agent' })).toThrow(/initials/)
|
|
124
|
+
expect(() => avatarSvg({ seed: 'x', style: rings, kind: 'agent' })).not.toThrow()
|
|
125
|
+
})
|
|
126
|
+
})
|
|
127
|
+
|
|
128
|
+
describe('licence allow-list', () => {
|
|
129
|
+
// Vitest runs in packages/ui.
|
|
130
|
+
const root = new URL(`file://${process.cwd()}/`)
|
|
131
|
+
const fs = () => import('node:fs')
|
|
132
|
+
|
|
133
|
+
it('matches the artwork licence each installed package declares', async () => {
|
|
134
|
+
const { readFileSync } = await fs()
|
|
135
|
+
const { createRequire } = await import('node:module')
|
|
136
|
+
const require = createRequire(import.meta.url)
|
|
137
|
+
expect(Object.keys(MODULES).sort()).toEqual(ALLOWED_AVATAR_STYLES.map((s) => s.package).sort())
|
|
138
|
+
for (const entry of ALLOWED_AVATAR_STYLES) {
|
|
139
|
+
// The packages export only lib/index.js; LICENSE sits one level above it.
|
|
140
|
+
const license = readFileSync(new URL('../LICENSE', `file://${require.resolve(entry.package, { paths: [process.cwd()] })}`), 'utf8')
|
|
141
|
+
const design = /# Design[\s\S]*?License:\s*([^(\n]+?)\s*\(/.exec(license)?.[1]
|
|
142
|
+
// A package without a design section is MIT as a whole (Initials, Bootstrap Icons).
|
|
143
|
+
const declared = design ?? (/^MIT License/.test(license.trim()) ? 'MIT' : 'unknown')
|
|
144
|
+
expect((ALLOWED_AVATAR_LICENSES as readonly string[]).includes(declared), `${entry.package}: ${declared}`).toBe(true)
|
|
145
|
+
expect(MODULES[entry.package]!.meta?.license?.name, entry.package).toBe(entry.designLicense)
|
|
146
|
+
expect(MODULES[entry.package]!.meta?.title, entry.package).toBe(entry.title)
|
|
147
|
+
}
|
|
148
|
+
})
|
|
149
|
+
|
|
150
|
+
it('fails when source, gallery or package.json names a style outside the allow-list', async () => {
|
|
151
|
+
const { readdirSync, readFileSync, statSync } = await fs()
|
|
152
|
+
const allowed = new Set(['@dicebear/core', ...ALLOWED_AVATAR_STYLES.map((s) => s.package)])
|
|
153
|
+
const found: string[] = []
|
|
154
|
+
const walk = (dir: URL) => {
|
|
155
|
+
for (const name of readdirSync(dir)) {
|
|
156
|
+
if (name === 'node_modules' || name === 'dist' || name === 'art') continue
|
|
157
|
+
const file = new URL(name, dir)
|
|
158
|
+
if (statSync(file).isDirectory()) walk(new URL(`${name}/`, dir))
|
|
159
|
+
else if (/\.(tsx?|mjs|json)$/.test(name)) {
|
|
160
|
+
const text = readFileSync(file, 'utf8')
|
|
161
|
+
for (const m of text.matchAll(/(?:from\s+|import\s*\(\s*)['"](@dicebear\/[\w-]+)/g)) found.push(`${name}: ${m[1]}`)
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
walk(new URL('src/', root))
|
|
166
|
+
walk(new URL('gallery/', root))
|
|
167
|
+
const pkg = JSON.parse(readFileSync(new URL('package.json', root), 'utf8')) as Record<string, Record<string, string> | undefined>
|
|
168
|
+
for (const field of ['dependencies', 'devDependencies', 'peerDependencies']) {
|
|
169
|
+
for (const name of Object.keys(pkg[field] ?? {})) if (name.startsWith('@dicebear/')) found.push(`package.json ${field}: ${name}`)
|
|
170
|
+
}
|
|
171
|
+
const outside = found.filter((f) => !allowed.has(f.split(': ')[1]!))
|
|
172
|
+
expect(outside).toEqual([])
|
|
173
|
+
expect(found.length).toBeGreaterThan(0)
|
|
174
|
+
// Every excluded package is really outside the list.
|
|
175
|
+
for (const e of EXCLUDED_AVATAR_STYLES) expect(allowed.has(e.package)).toBe(false)
|
|
176
|
+
})
|
|
177
|
+
})
|
|
178
|
+
|
|
179
|
+
describe('GeneratedAvatar', () => {
|
|
180
|
+
it('draws the artwork inline and names the frame', () => {
|
|
181
|
+
const { container } = render(<GeneratedAvatar seed="Iris Calder" avatarStyle={notionists} name="Iris Calder" fallbackText="IC" />)
|
|
182
|
+
const frame = screen.getByRole('img', { name: 'Iris Calder' })
|
|
183
|
+
expect(frame).toHaveAttribute('data-artwork')
|
|
184
|
+
const svg = container.querySelector('.ty-avatar__artwork svg')!
|
|
185
|
+
expect(svg).toHaveAttribute('aria-hidden', 'true')
|
|
186
|
+
expect(screen.queryByText('IC')).toBeNull()
|
|
187
|
+
})
|
|
188
|
+
|
|
189
|
+
it('draws the same artwork for the same seed', () => {
|
|
190
|
+
const { container } = render(
|
|
191
|
+
<>
|
|
192
|
+
<GeneratedAvatar seed="Iris Calder" avatarStyle={rings} decorative />
|
|
193
|
+
<GeneratedAvatar seed="Iris Calder" avatarStyle={rings} decorative />
|
|
194
|
+
</>,
|
|
195
|
+
)
|
|
196
|
+
const [a, b] = [...container.querySelectorAll('.ty-avatar__artwork')].map((n) => n.innerHTML.replace(/ty-av[^"#)]*-/g, 'ID-'))
|
|
197
|
+
expect(a).toBe(b)
|
|
198
|
+
})
|
|
199
|
+
|
|
200
|
+
it('keeps people and agents apart: frame, palette and style', () => {
|
|
201
|
+
const { container } = render(
|
|
202
|
+
<>
|
|
203
|
+
<GeneratedAvatar seed="Iris Calder" avatarStyle={shapes} name="Iris Calder" />
|
|
204
|
+
<GeneratedAvatar seed="summary-agent" avatarStyle={shapes} name="Summary agent" actorKind="agent" />
|
|
205
|
+
</>,
|
|
206
|
+
)
|
|
207
|
+
const [person, agent] = [...container.querySelectorAll('.ty-avatar')]
|
|
208
|
+
expect(person).toHaveAttribute('data-kind', 'person')
|
|
209
|
+
expect(agent).toHaveAttribute('data-kind', 'agent')
|
|
210
|
+
expect(person!.innerHTML).toContain('--ty-brand')
|
|
211
|
+
expect(agent!.innerHTML).not.toContain('--ty-brand')
|
|
212
|
+
})
|
|
213
|
+
|
|
214
|
+
it('falls back to initials (person) or the bot icon (agent) when the style is refused', () => {
|
|
215
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => {})
|
|
216
|
+
const ccBy: AvatarStyle = { meta: { title: 'Adventurer', license: { name: 'CC BY 4.0' } }, create: () => ({}) }
|
|
217
|
+
const { container } = render(
|
|
218
|
+
<>
|
|
219
|
+
<GeneratedAvatar seed="Iris Calder" avatarStyle={ccBy} name="Iris Calder" fallbackText="IC" />
|
|
220
|
+
<GeneratedAvatar seed="summary-agent" avatarStyle={lorelei} name="Summary agent" actorKind="agent" />
|
|
221
|
+
</>,
|
|
222
|
+
)
|
|
223
|
+
expect(screen.getByText('IC')).toBeInTheDocument()
|
|
224
|
+
expect(container.querySelectorAll('.ty-avatar__artwork')).toHaveLength(0)
|
|
225
|
+
expect(container.querySelector('[data-kind="agent"] .ty-avatar__icon')).not.toBeNull()
|
|
226
|
+
expect(warn).toHaveBeenCalled()
|
|
227
|
+
warn.mockRestore()
|
|
228
|
+
})
|
|
229
|
+
|
|
230
|
+
it('prefers a loaded image over the artwork', () => {
|
|
231
|
+
render(<GeneratedAvatar seed="Iris Calder" avatarStyle={shapes} src="/photo.png" name="Iris Calder" />)
|
|
232
|
+
expect(screen.getByRole('img', { name: 'Iris Calder' }).tagName).toBe('IMG')
|
|
233
|
+
})
|
|
234
|
+
|
|
235
|
+
it('uses fixed colours when given a palette', () => {
|
|
236
|
+
const palette = avatarPalette('neutral', 'dark')
|
|
237
|
+
const { container } = render(<GeneratedAvatar seed="Iris Calder" avatarStyle={identicon} palette={palette} decorative />)
|
|
238
|
+
expect(container.innerHTML).not.toContain('var(--ty-avatar')
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
it('is hidden when decorative and has no axe violations', async () => {
|
|
242
|
+
const { container } = render(
|
|
243
|
+
<div>
|
|
244
|
+
<GeneratedAvatar seed="Iris Calder" avatarStyle={lorelei} decorative />
|
|
245
|
+
<GeneratedAvatar seed="Tomas Reyna" avatarStyle={glass} name="Tomas Reyna" size="large" />
|
|
246
|
+
<GeneratedAvatar seed="summary-agent" avatarStyle={identicon} name="Summary agent" actorKind="agent" onPress={() => {}} />
|
|
247
|
+
</div>,
|
|
248
|
+
)
|
|
249
|
+
expect(container.querySelector('.ty-avatar')).toHaveAttribute('aria-hidden', 'true')
|
|
250
|
+
await expectNoAxeViolations(container)
|
|
251
|
+
})
|
|
252
|
+
})
|
|
253
|
+
|
|
254
|
+
describe('GeneratedAvatar in right-to-left (ar)', () => {
|
|
255
|
+
it('renders the same artwork (avatars do not mirror) and passes axe', async () => {
|
|
256
|
+
const { container } = renderRtl(
|
|
257
|
+
<>
|
|
258
|
+
<GeneratedAvatar seed="Iris Calder" avatarStyle={pixelArt} name="نور الهدى" fallbackText="نه" />
|
|
259
|
+
<GeneratedAvatar seed="summary-agent" avatarStyle={rings} name="وكيل الملخص" actorKind="agent" />
|
|
260
|
+
</>,
|
|
261
|
+
)
|
|
262
|
+
expect(screen.getByRole('img', { name: 'نور الهدى' })).toHaveAttribute('data-artwork')
|
|
263
|
+
const ltr = render(<GeneratedAvatar seed="Iris Calder" avatarStyle={pixelArt} decorative />)
|
|
264
|
+
const strip = (html: string) => html.replace(/ty-av[^"#)]*-/g, 'ID-')
|
|
265
|
+
expect(strip(container.querySelector('.ty-avatar__artwork')!.innerHTML)).toBe(strip(ltr.container.querySelector('.ty-avatar__artwork')!.innerHTML))
|
|
266
|
+
await expectNoAxeViolations(container)
|
|
267
|
+
})
|
|
268
|
+
})
|