@thewhatmatters/wmds 0.4.27 → 0.4.29
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/CHANGELOG.md +60 -0
- package/CONSUMING.md +62 -1
- package/bin/wmds-check.mjs +47 -0
- package/dist/colors.css +92 -0
- package/dist/components/atoms/Badge/badgeStyles.js +6 -6
- package/dist/components/atoms/Band/Band.d.ts +27 -0
- package/dist/components/atoms/Band/Band.d.ts.map +1 -0
- package/dist/components/atoms/Band/Band.js +22 -0
- package/dist/components/atoms/Band/bandStyles.d.ts +20 -0
- package/dist/components/atoms/Band/bandStyles.d.ts.map +1 -0
- package/dist/components/atoms/Band/bandStyles.js +23 -0
- package/dist/components/atoms/Button/ButtonStatusButton.d.ts.map +1 -1
- package/dist/components/atoms/Button/ButtonStatusButton.js +12 -5
- package/dist/components/atoms/Button/buttonStyles.d.ts +1 -1
- package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -1
- package/dist/components/atoms/Button/buttonStyles.js +2 -2
- package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.js +69 -68
- package/dist/components/atoms/Checkbox/checkboxStyles.d.ts +1 -1
- package/dist/components/atoms/Checkbox/checkboxStyles.d.ts.map +1 -1
- package/dist/components/atoms/Checkbox/checkboxStyles.js +1 -1
- package/dist/components/atoms/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/atoms/IconButton/IconButton.js +13 -12
- package/dist/components/atoms/IconButton/iconButtonStyles.d.ts +2 -2
- package/dist/components/atoms/IconButton/iconButtonStyles.d.ts.map +1 -1
- package/dist/components/atoms/IconButton/iconButtonStyles.js +1 -1
- package/dist/components/atoms/InlinePill/InlinePill.d.ts +42 -0
- package/dist/components/atoms/InlinePill/InlinePill.d.ts.map +1 -0
- package/dist/components/atoms/InlinePill/InlinePill.js +48 -0
- package/dist/components/atoms/InlinePill/inlinePillStyles.d.ts +27 -0
- package/dist/components/atoms/InlinePill/inlinePillStyles.d.ts.map +1 -0
- package/dist/components/atoms/InlinePill/inlinePillStyles.js +19 -0
- package/dist/components/atoms/Input/Input.d.ts +6 -3
- package/dist/components/atoms/Input/Input.d.ts.map +1 -1
- package/dist/components/atoms/Input/inputShellStyles.d.ts +1 -1
- package/dist/components/atoms/Input/inputShellStyles.d.ts.map +1 -1
- package/dist/components/atoms/Input/inputShellStyles.js +3 -3
- package/dist/components/atoms/Skeleton/skeletonStyles.js +1 -1
- package/dist/components/atoms/Switch/Switch.d.ts.map +1 -1
- package/dist/components/atoms/Switch/Switch.js +45 -44
- package/dist/components/atoms/Switch/switchStyles.d.ts +1 -1
- package/dist/components/atoms/Switch/switchStyles.d.ts.map +1 -1
- package/dist/components/atoms/Switch/switchStyles.js +1 -1
- package/dist/components/atoms/TextArea/textareaShellStyles.js +3 -3
- package/dist/components/molecules/Accordion/accordionStyles.d.ts +1 -1
- package/dist/components/molecules/Accordion/accordionStyles.d.ts.map +1 -1
- package/dist/components/molecules/Accordion/accordionStyles.js +1 -1
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/molecules/Breadcrumb/Breadcrumb.js +80 -122
- package/dist/components/molecules/Card/cardStyles.js +1 -1
- package/dist/components/molecules/ChatQa/chatQaStyles.d.ts +1 -1
- package/dist/components/molecules/ChatQa/chatQaStyles.d.ts.map +1 -1
- package/dist/components/molecules/ChatQa/chatQaStyles.js +1 -1
- package/dist/components/molecules/Chip/chipStyles.js +1 -1
- package/dist/components/molecules/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/molecules/Dropdown/DropdownItem.d.ts +2 -2
- package/dist/components/molecules/Dropdown/DropdownItem.d.ts.map +1 -1
- package/dist/components/molecules/Dropdown/DropdownItem.js +30 -27
- package/dist/components/molecules/Dropdown/dropdownStyles.js +1 -1
- package/dist/components/molecules/Dropdown/resolveOverflow.d.ts +14 -0
- package/dist/components/molecules/Dropdown/resolveOverflow.d.ts.map +1 -0
- package/dist/components/{organisms/Tab/tabOverflow.js → molecules/Dropdown/resolveOverflow.js} +2 -2
- package/dist/components/molecules/Dropdown/useDropdownMenu.d.ts +70 -0
- package/dist/components/molecules/Dropdown/useDropdownMenu.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/useDropdownMenu.js +155 -0
- package/dist/components/molecules/Dropdown/useOverflowMenu.d.ts +71 -0
- package/dist/components/molecules/Dropdown/useOverflowMenu.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/useOverflowMenu.js +61 -0
- package/dist/components/molecules/Field/Field.d.ts.map +1 -1
- package/dist/components/molecules/Field/Field.js +11 -10
- package/dist/components/molecules/LogView/logViewStyles.d.ts +1 -1
- package/dist/components/molecules/LogView/logViewStyles.d.ts.map +1 -1
- package/dist/components/molecules/LogView/logViewStyles.js +1 -1
- package/dist/components/molecules/PillGroup/pillGroupStyles.js +1 -1
- package/dist/components/molecules/Search/searchStyles.js +1 -1
- package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts +1 -1
- package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts.map +1 -1
- package/dist/components/molecules/SegmentedControl/segmentedControlStyles.js +3 -3
- package/dist/components/molecules/Select/Select.d.ts +3 -1
- package/dist/components/molecules/Select/Select.d.ts.map +1 -1
- package/dist/components/molecules/Select/Select.js +75 -119
- package/dist/components/molecules/Select/selectStyles.js +3 -3
- package/dist/components/molecules/Stat/statStyles.d.ts +1 -1
- package/dist/components/molecules/Stat/statStyles.d.ts.map +1 -1
- package/dist/components/molecules/Stat/statStyles.js +1 -1
- package/dist/components/molecules/TextSequence/TextSequence.d.ts.map +1 -1
- package/dist/components/molecules/TextSequence/TextSequence.js +35 -35
- package/dist/components/organisms/AppShell/AppShell.d.ts +2 -0
- package/dist/components/organisms/AppShell/AppShell.d.ts.map +1 -1
- package/dist/components/organisms/AppShell/AppShell.js +138 -129
- package/dist/components/organisms/AppShell/appShellStyles.d.ts +2 -0
- package/dist/components/organisms/AppShell/appShellStyles.d.ts.map +1 -1
- package/dist/components/organisms/AppShell/appShellStyles.js +2 -2
- package/dist/components/organisms/Dialog/AlertDialog.d.ts +7 -1
- package/dist/components/organisms/Dialog/AlertDialog.d.ts.map +1 -1
- package/dist/components/organisms/Dialog/AlertDialog.js +54 -50
- package/dist/components/organisms/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/organisms/Dialog/Dialog.js +52 -71
- package/dist/components/organisms/Dialog/dialogStyles.d.ts +14 -1
- package/dist/components/organisms/Dialog/dialogStyles.d.ts.map +1 -1
- package/dist/components/organisms/Dialog/dialogStyles.js +3 -3
- package/dist/components/organisms/FilterPanel/FilterPanel.d.ts.map +1 -1
- package/dist/components/organisms/FilterPanel/FilterPanel.js +52 -42
- package/dist/components/organisms/IntakeModal/IntakeModal.d.ts +6 -1
- package/dist/components/organisms/IntakeModal/IntakeModal.d.ts.map +1 -1
- package/dist/components/organisms/IntakeModal/IntakeModal.js +54 -66
- package/dist/components/organisms/MoreMenu/MoreMenu.d.ts.map +1 -1
- package/dist/components/organisms/MoreMenu/MoreMenu.js +45 -101
- package/dist/components/organisms/Panel/Panel.d.ts.map +1 -1
- package/dist/components/organisms/Panel/Panel.js +44 -53
- package/dist/components/organisms/Sheet/Sheet.d.ts +3 -1
- package/dist/components/organisms/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/organisms/Sheet/Sheet.js +82 -101
- package/dist/components/organisms/SiteNav/SiteNav.d.ts +0 -9
- package/dist/components/organisms/SiteNav/SiteNav.d.ts.map +1 -1
- package/dist/components/organisms/SiteNav/SiteNav.js +180 -227
- package/dist/components/organisms/SiteNav/siteNavStyles.js +1 -1
- package/dist/components/organisms/Tab/Tab.d.ts.map +1 -1
- package/dist/components/organisms/Tab/Tab.js +77 -127
- package/dist/components/organisms/Tab/tabStyles.d.ts +2 -1
- package/dist/components/organisms/Tab/tabStyles.d.ts.map +1 -1
- package/dist/components/organisms/Tab/tabStyles.js +2 -2
- package/dist/fonts.css +10 -0
- package/dist/grid.css +38 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +135 -131
- package/dist/lib/contrast.d.ts +11 -0
- package/dist/lib/contrast.d.ts.map +1 -0
- package/dist/lib/dialogOverlay.d.ts +27 -1
- package/dist/lib/dialogOverlay.d.ts.map +1 -1
- package/dist/lib/dialogOverlay.js +87 -25
- package/dist/lib/typography.d.ts +1 -1
- package/dist/lib/typography.d.ts.map +1 -1
- package/dist/shape.css +24 -3
- package/dist/styles.css +1 -1
- package/dist/typography.css +55 -8
- package/docs/components.md +4 -2
- package/docs/exports.json +55 -1
- package/docs/patterns/components-accordion--flush.tsx +1 -1
- package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +1 -1
- package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
- package/docs/patterns/components-badge--outline-tags.tsx +1 -1
- package/docs/patterns/components-badge--status-pill.tsx +1 -1
- package/docs/patterns/components-badge--with-avatar.tsx +1 -1
- package/docs/patterns/components-band--page-in-bands.tsx +39 -0
- package/docs/patterns/components-breadcrumb--editorial.tsx +1 -1
- package/docs/patterns/components-breadcrumb--long-path.tsx +1 -1
- package/docs/patterns/components-breadcrumb--path.tsx +1 -1
- package/docs/patterns/components-breadcrumb--router-links.tsx +1 -1
- package/docs/patterns/components-button-button--copy-button.tsx +1 -1
- package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
- package/docs/patterns/components-button-button--external-link.tsx +1 -1
- package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
- package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
- package/docs/patterns/components-button-button--link-render.tsx +1 -1
- package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
- package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
- package/docs/patterns/components-button-button--primary-action.tsx +1 -1
- package/docs/patterns/components-button-button--row-hug.tsx +1 -1
- package/docs/patterns/components-button-button--row-layout.tsx +1 -1
- package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
- package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
- package/docs/patterns/components-button-button--with-count.tsx +1 -1
- package/docs/patterns/components-button-button--with-icon.tsx +1 -1
- package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
- package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +1 -1
- package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
- package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
- package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
- package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
- package/docs/patterns/components-card-card--terminal-frame.tsx +1 -1
- package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
- package/docs/patterns/components-carousel--image-carousel.tsx +1 -1
- package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
- package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
- package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
- package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
- package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
- package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
- package/docs/patterns/components-chart--revenue-by-line.tsx +1 -1
- package/docs/patterns/components-chart--segmented-ring-pattern.tsx +1 -1
- package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
- package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +1 -1
- package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +1 -1
- package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
- package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
- package/docs/patterns/components-checkbox-checkbox--with-count.tsx +1 -1
- package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
- package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
- package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +1 -1
- package/docs/patterns/components-copyfield--clipboard-blocked.tsx +1 -1
- package/docs/patterns/components-copyfield--copied.tsx +1 -1
- package/docs/patterns/components-copyfield--copy-key.tsx +1 -1
- package/docs/patterns/components-copyfield--on-navy.tsx +1 -1
- package/docs/patterns/components-descriptionlist--details.tsx +1 -1
- package/docs/patterns/components-descriptionlist--post-metadata.tsx +1 -1
- package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
- package/docs/patterns/components-dialog--alert-dialog-typed-confirmation.tsx +54 -0
- package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
- package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
- package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
- package/docs/patterns/components-displaycontrols--theme-switch.tsx +1 -1
- package/docs/patterns/components-field--horizontal-input.tsx +1 -1
- package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
- package/docs/patterns/components-field--multi-control.tsx +1 -1
- package/docs/patterns/components-filterpanel--panel.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
- package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
- package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
- package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
- package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
- package/docs/patterns/components-indexlist--post-index.tsx +1 -1
- package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
- package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
- package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
- package/docs/patterns/components-intakeform--short-form-pattern.tsx +1 -1
- package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
- package/docs/patterns/components-kbd--command-row.tsx +1 -1
- package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
- package/docs/patterns/components-kbd--shortcut.tsx +1 -1
- package/docs/patterns/components-linktile--resource-tile.tsx +1 -1
- package/docs/patterns/components-linktile--router-link.tsx +1 -1
- package/docs/patterns/components-logview--detail-pane.tsx +1 -1
- package/docs/patterns/components-logview--log-viewer.tsx +1 -1
- package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
- package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
- package/docs/patterns/components-navlist--app-sidebar.tsx +1 -1
- package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
- package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
- package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
- package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
- package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
- package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
- package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
- package/docs/patterns/components-prose--article-body.tsx +1 -1
- package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
- package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
- package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
- package/docs/patterns/components-sectioncaption--column-caption.tsx +1 -1
- package/docs/patterns/components-sectioncaption--with-action.tsx +1 -1
- package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
- package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
- package/docs/patterns/components-sheet--side-sheet-header-actions.tsx +1 -1
- package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +1 -1
- package/docs/patterns/components-sheet--side-sheet.tsx +1 -1
- package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
- package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
- package/docs/patterns/components-sitenav--compact.tsx +1 -1
- package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
- package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
- package/docs/patterns/components-stat--hero-stat.tsx +1 -1
- package/docs/patterns/components-stat--insights-row.tsx +1 -1
- package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
- package/docs/patterns/components-switch--default.tsx +1 -1
- package/docs/patterns/components-switch--settings-row.tsx +1 -1
- package/docs/patterns/components-tab--settings-pages.tsx +1 -1
- package/docs/patterns/components-table--approvals-with-sheet.tsx +1 -1
- package/docs/patterns/components-table--approvals.tsx +1 -1
- package/docs/patterns/components-table--basic.tsx +1 -1
- package/docs/patterns/components-taskrows--action-details.tsx +1 -1
- package/docs/patterns/components-taskrows--capsules.tsx +1 -1
- package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
- package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
- package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
- package/docs/patterns/components-taskrows--needs-you-table.tsx +1 -1
- package/docs/patterns/components-taskrows--status-list.tsx +1 -1
- package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
- package/docs/patterns/components-textarea--save-status.tsx +1 -1
- package/docs/patterns/components-textlink--external-destination.tsx +1 -1
- package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
- package/docs/patterns/components-textlink--quiet-title.tsx +1 -1
- package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
- package/docs/patterns/components-textsequence--default.tsx +1 -1
- package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
- package/docs/patterns/components-textsequence--shapes.tsx +1 -1
- package/docs/patterns/components-tilegrid--masonry.tsx +1 -1
- package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
- package/docs/patterns/components-tooltip--controlled.tsx +1 -1
- package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
- package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
- package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
- package/docs/patterns/components-tooltip--placement.tsx +1 -1
- package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
- package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
- package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
- package/docs/patterns/guides-filter-panel--filtered-grid.tsx +1 -1
- package/docs/patterns/guides-filter-panel--filtered-index.tsx +1 -1
- package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
- package/docs/patterns/guides-post-page--post-page.tsx +1 -1
- package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
- package/docs/patterns/guides-resource-detail--detail.tsx +1 -1
- package/docs/patterns/index.json +17 -1
- package/package.json +1 -1
- package/dist/components/organisms/Tab/tabOverflow.d.ts +0 -14
- package/dist/components/organisms/Tab/tabOverflow.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -20,134 +20,138 @@ import { Input as B } from "./components/atoms/Input/Input.js";
|
|
|
20
20
|
import { kbdSizes as V } from "./components/atoms/Kbd/kbdStyles.js";
|
|
21
21
|
import { Kbd as H } from "./components/atoms/Kbd/Kbd.js";
|
|
22
22
|
import { useKbdChoiceKeys as U } from "./components/atoms/Kbd/useKbdChoiceKeys.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
|
|
23
|
+
import { bandElements as W, bandSpacings as G, bandTones as K } from "./components/atoms/Band/bandStyles.js";
|
|
24
|
+
import { Band as q } from "./components/atoms/Band/Band.js";
|
|
25
|
+
import { inlinePillPopInKeyframes as J } from "./components/atoms/InlinePill/inlinePillStyles.js";
|
|
26
|
+
import { InlinePill as Y, useInlinePillsPopIn as X } from "./components/atoms/InlinePill/InlinePill.js";
|
|
27
|
+
import { proseElements as Z, proseMeasures as Q, proseSizes as $ } from "./components/atoms/Prose/proseStyles.js";
|
|
28
|
+
import { Prose as ee } from "./components/atoms/Prose/Prose.js";
|
|
29
|
+
import { radioSizes as te } from "./components/atoms/Radio/radioStyles.js";
|
|
30
|
+
import { Radio as ne } from "./components/atoms/Radio/Radio.js";
|
|
31
|
+
import { riveHandArtboards as re, riveHandSrc as ie, riveHandWasmSrc as ae, riveHands as oe } from "./components/atoms/RiveHand/riveHandUtils.js";
|
|
32
|
+
import { RiveHand as se } from "./components/atoms/RiveHand/RiveHand.js";
|
|
33
|
+
import { sectionCaptionElements as ce } from "./components/atoms/SectionCaption/sectionCaptionStyles.js";
|
|
34
|
+
import { SectionCaption as le } from "./components/atoms/SectionCaption/SectionCaption.js";
|
|
35
|
+
import { switchLayouts as ue, switchSizes as de } from "./components/atoms/Switch/switchStyles.js";
|
|
36
|
+
import { Switch as fe } from "./components/atoms/Switch/Switch.js";
|
|
37
|
+
import { tableAligns as pe } from "./components/atoms/Table/tableStyles.js";
|
|
38
|
+
import { Table as me, TableBody as he, TableCaption as ge, TableCell as _e, TableFooter as ve, TableHead as ye, TableHeader as be, TableRow as xe } from "./components/atoms/Table/Table.js";
|
|
39
|
+
import { textareaResizes as Se } from "./components/atoms/TextArea/textareaShellStyles.js";
|
|
40
|
+
import { TextArea as Ce } from "./components/atoms/TextArea/TextArea.js";
|
|
41
|
+
import { textLinkVariants as we } from "./components/atoms/TextLink/textLinkStyles.js";
|
|
42
|
+
import { TextLink as Te } from "./components/atoms/TextLink/TextLink.js";
|
|
43
|
+
import { Tooltip as Ee, TooltipContent as De, TooltipProvider as Oe, TooltipRoot as ke, TooltipTrigger as Ae, tooltipAlignments as je, tooltipSides as Me } from "./components/atoms/Tooltip/Tooltip.js";
|
|
44
|
+
import { skeletonRadii as Ne } from "./components/atoms/Skeleton/skeletonStyles.js";
|
|
45
|
+
import { Skeleton as Pe } from "./components/atoms/Skeleton/Skeleton.js";
|
|
46
|
+
import { statusRingSizePx as Fe } from "./components/atoms/Status/statusRingStyles.js";
|
|
47
|
+
import { Status as Ie, statusVariants as Le } from "./components/atoms/Status/Status.js";
|
|
48
|
+
import { ChipFilterGroup as Re } from "./components/molecules/Chip/ChipFilterGroup.js";
|
|
49
|
+
import { chipSizes as ze } from "./components/molecules/Chip/chipStyles.js";
|
|
50
|
+
import { Chip as Be } from "./components/molecules/Chip/Chip.js";
|
|
51
|
+
import { accordionVariants as Ve } from "./components/molecules/Accordion/accordionStyles.js";
|
|
52
|
+
import { Accordion as He } from "./components/molecules/Accordion/Accordion.js";
|
|
53
|
+
import { DropdownItem as Ue } from "./components/molecules/Dropdown/DropdownItem.js";
|
|
54
|
+
import { DropdownMenu as We } from "./components/molecules/Dropdown/DropdownMenu.js";
|
|
55
|
+
import { Dropdown as Ge } from "./components/molecules/Dropdown/Dropdown.js";
|
|
56
|
+
import { breadcrumbSeparators as Ke, breadcrumbVariants as qe } from "./components/molecules/Breadcrumb/breadcrumbStyles.js";
|
|
57
|
+
import { Breadcrumb as Je, breadcrumbDefaultLabels as Ye, breadcrumbSlots as Xe } from "./components/molecules/Breadcrumb/Breadcrumb.js";
|
|
58
|
+
import { CalEmbed as Ze, calEmbedEmptyDescription as Qe, calEmbedEmptyTitle as $e, calEmbedSkipHref as et, calEmbedSkipLabel as tt } from "./components/molecules/CalEmbed/CalEmbed.js";
|
|
59
|
+
import { backgroundPatternDiagonalLinesClasses as nt, backgroundPatternDotGridClasses as rt, backgroundPatterns as it } from "./lib/backgroundPatterns.js";
|
|
60
|
+
import { cardAddressClasses as at, cardBodyTextClasses as ot, cardBodyVariants as st, cardBodyWellClasses as ct, cardLayoutBodyOccupantDotGridWellClasses as lt, cardLayoutBodyOccupantInsetXClasses as ut, cardLayoutBodyOccupantPadYClasses as dt, cardLayoutBodyOccupantRadiusClasses as ft, cardLayoutBodyOccupantWellClasses as pt, cardPaddings as mt, cardShapes as ht, cardSubtitleClasses as gt, cardTerminalHeights as _t, cardTerminalStates as vt, cardTitleClasses as yt, cardVariants as bt } from "./components/molecules/Card/cardStyles.js";
|
|
61
|
+
import { Card as xt } from "./components/molecules/Card/Card.js";
|
|
62
|
+
import { ChatQa as St } from "./components/molecules/ChatQa/ChatQa.js";
|
|
63
|
+
import { checkboxGroupOrientations as Ct } from "./components/molecules/CheckboxGroup/checkboxGroupStyles.js";
|
|
64
|
+
import { CheckboxGroup as wt } from "./components/molecules/CheckboxGroup/CheckboxGroup.js";
|
|
65
|
+
import { CopyField as Tt, copyFieldCopiedLabel as Et, copyFieldCopyLabel as Dt, copyFieldFallbackHint as Ot, copyFieldStates as kt } from "./components/molecules/CopyField/CopyField.js";
|
|
66
|
+
import { descriptionListLayouts as At, descriptionListRules as jt, descriptionListVariants as Mt } from "./components/molecules/DescriptionList/descriptionListStyles.js";
|
|
67
|
+
import { DescriptionList as Nt } from "./components/molecules/DescriptionList/DescriptionList.js";
|
|
68
|
+
import { GRID_ON_CLASS as Pt, gridOverlayKeyShouldToggle as Ft, isEditableGridOverlayTarget as It, readGridColumnCount as Lt, setDocumentGridOn as Rt } from "./lib/gridOverlayUtils.js";
|
|
69
|
+
import { applyDisplayTheme as zt, commitDisplayTheme as Bt, displayControlThemeModes as Vt, displayThemeNoFlashScript as Ht, displayThemeStorageKey as Ut, nextDisplayControlThemeMode as Wt, persistDisplayTheme as Gt, readDisplayTheme as Kt, subscribeDisplayTheme as qt } from "./components/molecules/DisplayControls/displayControlsState.js";
|
|
70
|
+
import { DisplayControls as Jt } from "./components/molecules/DisplayControls/DisplayControls.js";
|
|
71
|
+
import { fieldOrientations as Yt } from "./components/molecules/Field/fieldStyles.js";
|
|
72
|
+
import { Field as Xt } from "./components/molecules/Field/Field.js";
|
|
73
|
+
import { FloatingActionButton as Zt } from "./components/molecules/FloatingActionButton/FloatingActionButton.js";
|
|
74
|
+
import { HeroIntro as Qt, heroIntroSteps as $t } from "./components/molecules/HeroIntro/HeroIntro.js";
|
|
75
|
+
import { indexListSizes as en, indexListTitleElements as tn } from "./components/molecules/IndexList/indexListStyles.js";
|
|
76
|
+
import { IndexList as nn } from "./components/molecules/IndexList/IndexList.js";
|
|
77
|
+
import { intakeDetailsMax as rn } from "./components/molecules/IntakeForm/intakeFormStyles.js";
|
|
78
|
+
import { IntakeForm as an, intakeAboutEmpty as on, isIntakeAboutValid as sn, isIntakeUrlValid as cn } from "./components/molecules/IntakeForm/IntakeForm.js";
|
|
79
|
+
import { linkTileLoadingRatio as ln } from "./components/molecules/LinkTile/linkTileStyles.js";
|
|
80
|
+
import { LinkTile as un } from "./components/molecules/LinkTile/LinkTile.js";
|
|
81
|
+
import { LogView as dn } from "./components/molecules/LogView/LogView.js";
|
|
82
|
+
import { pageHeaderAppBandHeightClasses as fn, pageHeaderVariants as pn } from "./components/molecules/PageHeader/pageHeaderStyles.js";
|
|
83
|
+
import { navListLabelAlignments as mn } from "./components/molecules/NavList/navListStyles.js";
|
|
84
|
+
import { NavList as hn } from "./components/molecules/NavList/NavList.js";
|
|
85
|
+
import { PageHeader as gn } from "./components/molecules/PageHeader/PageHeader.js";
|
|
86
|
+
import { PillGroup as _n, pillGroupEmphases as vn } from "./components/molecules/PillGroup/PillGroup.js";
|
|
87
|
+
import { PromptBar as yn, promptBarPlaceholder as bn } from "./components/molecules/PromptBar/PromptBar.js";
|
|
88
|
+
import { radioGroupOrientations as xn } from "./components/molecules/RadioGroup/radioGroupStyles.js";
|
|
89
|
+
import { RadioGroup as Sn } from "./components/molecules/RadioGroup/RadioGroup.js";
|
|
90
|
+
import { searchSizes as Cn } from "./components/molecules/Search/searchStyles.js";
|
|
91
|
+
import { Search as wn } from "./components/molecules/Search/Search.js";
|
|
92
|
+
import { selectSizes as Tn } from "./components/molecules/Select/selectStyles.js";
|
|
93
|
+
import { Select as En } from "./components/molecules/Select/Select.js";
|
|
94
|
+
import { SelectableCard as Dn } from "./components/molecules/SelectableCard/SelectableCard.js";
|
|
95
|
+
import { segmentedControlLayouts as On, segmentedControlSizes as kn } from "./components/molecules/SegmentedControl/segmentedControlStyles.js";
|
|
96
|
+
import { SegmentedControl as An } from "./components/molecules/SegmentedControl/SegmentedControl.js";
|
|
97
|
+
import { statGroupColumns as jn, statGroupGridClasses as Mn, statSizes as Nn, statTrendDirections as Pn } from "./components/molecules/Stat/statStyles.js";
|
|
98
|
+
import { Stat as Fn } from "./components/molecules/Stat/Stat.js";
|
|
99
|
+
import { StepProgress as In, isStepProgressSegmentFilled as Ln, stepProgressLabel as Rn } from "./components/molecules/StepProgress/StepProgress.js";
|
|
100
|
+
import { taskRowStatuses as zn, taskRowsDetailLayouts as Bn, taskRowsDetailVariants as Vn, taskRowsVariants as Hn } from "./components/molecules/TaskRows/taskRowsStyles.js";
|
|
101
|
+
import { taskRowsTableColumnIds as Un, taskRowsTableColumnsDefault as Wn, taskRowsTableSources as Gn } from "./components/molecules/TaskRows/TaskRowsTable.js";
|
|
102
|
+
import { TaskRows as Kn } from "./components/molecules/TaskRows/TaskRows.js";
|
|
103
|
+
import { textSequenceShapeTones as qn, textSequenceShapeVariants as Jn } from "./components/atoms/TextSequenceShape/textSequenceShapeStyles.js";
|
|
104
|
+
import { TextSequence as Yn, sequencePlainText as Xn, textSequenceDefaultDelay as Zn, textSequenceDefaultStagger as Qn, textSequenceEmphases as $n, textSequenceTriggers as er } from "./components/molecules/TextSequence/TextSequence.js";
|
|
105
|
+
import { tileGridBreakpoints as tr, tileGridDefaultColumns as nr, tileGridLayouts as rr } from "./components/molecules/TileGrid/tileGridStyles.js";
|
|
106
|
+
import { TileGrid as ir } from "./components/molecules/TileGrid/TileGrid.js";
|
|
107
|
+
import { dialogFooterActionsClasses as ar, dialogFooterClasses as or, dialogSizes as sr } from "./components/organisms/Dialog/dialogStyles.js";
|
|
108
|
+
import { sheetSides as cr, sheetSizes as lr } from "./components/organisms/Sheet/sheetStyles.js";
|
|
109
|
+
import { panelSides as ur, panelSizes as dr } from "./components/organisms/Panel/panelStyles.js";
|
|
110
|
+
import { Panel as fr } from "./components/organisms/Panel/Panel.js";
|
|
111
|
+
import { Sheet as pr } from "./components/organisms/Sheet/Sheet.js";
|
|
112
|
+
import { AppShell as mr, useAppShell as hr } from "./components/organisms/AppShell/AppShell.js";
|
|
113
|
+
import { carouselBreakpoints as gr, carouselDefaultItemWidth as _r, carouselProgressPlacements as vr } from "./components/organisms/Carousel/carouselStyles.js";
|
|
114
|
+
import { Carousel as yr } from "./components/organisms/Carousel/Carousel.js";
|
|
115
|
+
import { chartBucketPeriodData as br, chartCategoricalCount as xr, chartCategoricalPalette as Sr, chartFormatAxisValue as Cr, chartFormatPercent as wr, chartFormatTooltipLabel as Tr, chartFormatTooltipValue as Er, chartMaxTicksForWidth as Dr, chartNormalizePeriodData as Or, chartPeriodKindFromValue as kr, chartSegmentBarWidth as Ar, chartSegmentFillVariants as jr, chartSegmentPresets as Mr, chartSegmentTickSpec as Nr, chartSeriesColor as Pr, chartSeriesConfigFromKeys as Fr, chartSeriesConfigFromTone as Ir, chartTooltipIndicators as Lr, chartTooltipItemsFromConfig as Rr, resolveCapacityBarLayout as zr, resolveChartPeriodDayCount as Br, resolvePeriodSegmentPreset as Vr, resolvePeriodSegments as Hr, resolveSegmentBarConfig as Ur } from "./lib/chartTheme.js";
|
|
116
|
+
import { chartKpiHeroRowClasses as Wr, chartKpiHeroValueClasses as Gr, chartKpiTrendLabelClasses as Kr, chartKpiTrendRowClasses as qr, chartKpiTrendValueClasses as Jr } from "./components/organisms/Chart/chartStyles.js";
|
|
117
|
+
import { chartSegmentedRingSegmentDefault as Yr, chartSegmentedRingSizes as Xr } from "./components/organisms/Chart/ChartSegmentedRing.js";
|
|
118
|
+
import { ChartLegend as Zr, chartLegendVariants as Qr } from "./components/organisms/Chart/ChartLegend.js";
|
|
119
|
+
import { ChartTooltipContent as $r } from "./components/organisms/Chart/ChartTooltipContent.js";
|
|
120
|
+
import { ChartLoading as ei } from "./components/organisms/Chart/ChartLoading.js";
|
|
121
|
+
import { ChartRankedBars as ti } from "./components/organisms/Chart/ChartRankedBars.js";
|
|
122
|
+
import { ChartUnitGrid as ni } from "./components/organisms/Chart/ChartUnitGrid.js";
|
|
123
|
+
import { ChartDistributionStrip as ri } from "./components/organisms/Chart/ChartDistributionStrip.js";
|
|
124
|
+
import { ChartHeatmap as ii } from "./components/organisms/Chart/ChartHeatmap.js";
|
|
125
|
+
import { chartCartesianDefinedSegments as ai, chartCartesianGapBands as oi, chartCartesianGapRuns as si, chartCartesianHasPlottableValues as ci, chartCartesianNoDataLabelDefault as li, isChartCartesianNumber as ui, isChartCartesianSeriesDefined as di, resolveChartCartesianGapKeys as fi, resolveChartCartesianNoData as pi } from "./components/organisms/Chart/chartCartesianGaps.js";
|
|
126
|
+
import { ChartCartesian as mi, ChartCartesianNoData as hi } from "./components/organisms/Chart/ChartCartesian.js";
|
|
127
|
+
import { Chart as gi } from "./components/organisms/Chart/Chart.js";
|
|
128
|
+
import { ChatDockGate as _i, chatDockGateDefaultLabels as vi } from "./components/organisms/ChatDock/ChatDockGate.js";
|
|
129
|
+
import { chatDockPlacements as yi } from "./components/organisms/ChatDock/chatDockStyles.js";
|
|
130
|
+
import { ChatDock as bi, chatDockDefaultLabels as xi, chatDockFollowUpsPlacements as Si } from "./components/organisms/ChatDock/ChatDock.js";
|
|
131
|
+
import { confettiDefaultColors as Ci, confettiDefaults as wi } from "./components/organisms/Confetti/confettiPhysics.js";
|
|
132
|
+
import { ConfettiProvider as Ti, useConfetti as Ei, useConfettiOnMount as Di } from "./components/organisms/Confetti/Confetti.js";
|
|
133
|
+
import { MoreMenu as Oi } from "./components/organisms/MoreMenu/MoreMenu.js";
|
|
134
|
+
import { Dialog as ki } from "./components/organisms/Dialog/Dialog.js";
|
|
135
|
+
import { AlertDialog as Ai, alertDialogConfirmRoles as ji } from "./components/organisms/Dialog/AlertDialog.js";
|
|
136
|
+
import { siteNavCompactLayouts as Mi, siteNavDefaultCollapseAt as Ni, siteNavDefaultCollapseRatio as Pi, siteNavExpandedHeightClasses as Fi, siteNavMenuReadRowClasses as Ii, siteNavMenuReadThumbClasses as Li, siteNavPlacements as Ri, siteNavStates as zi } from "./components/organisms/SiteNav/siteNavStyles.js";
|
|
137
|
+
import { SiteNav as Bi } from "./components/organisms/SiteNav/SiteNav.js";
|
|
138
|
+
import { countFilterOptions as Vi, filterFacetValues as Hi, filterSelectionCount as Ui, matchesFilterSelection as Wi, useFilterSelection as Gi } from "./components/organisms/FilterPanel/filterSelection.js";
|
|
139
|
+
import { FilterPanel as Ki } from "./components/organisms/FilterPanel/FilterPanel.js";
|
|
140
|
+
import { footerRevealFieldClasses as qi, footerRevealFieldLinkClasses as Ji, footerRevealRuledFieldClasses as Yi } from "./components/organisms/FooterReveal/footerRevealStyles.js";
|
|
141
|
+
import { footerRevealRuledEmailHref as Xi } from "./components/organisms/FooterReveal/FooterRevealRuled.js";
|
|
142
|
+
import { FooterReveal as Zi, useFooterRevealProgress as Qi } from "./components/organisms/FooterReveal/FooterReveal.js";
|
|
143
|
+
import { heroTileRepel as $i, heroTileRestingLayout as ea, heroTileStackDefaultFalloff as ta, heroTileStackDefaultMaxVertical as na, heroTileStackDefaultSpring as ra, heroTileStackDefaultStrength as ia, heroTileStackDefaultTileSize as aa, heroTileStackDefaultVelocityFactor as oa, heroTileStackReferenceSize as sa, heroTileStackSizeScale as ca, heroTileStackTapHoldMs as la, heroTileStackVelocityXShare as ua, heroTileVelocityY as da } from "./components/organisms/HeroTileStack/heroTileScatter.js";
|
|
144
|
+
import { HeroTileStack as fa } from "./components/organisms/HeroTileStack/HeroTileStack.js";
|
|
145
|
+
import { intakeConfettiColors as pa, intakeConfirmationCopy as ma, intakeConfirmationVariants as ha } from "./components/organisms/IntakeConfirmation/intakeConfirmationStyles.js";
|
|
146
|
+
import { IntakeConfirmation as ga } from "./components/organisms/IntakeConfirmation/IntakeConfirmation.js";
|
|
147
|
+
import { IntakeModal as _a } from "./components/organisms/IntakeModal/IntakeModal.js";
|
|
148
|
+
import { ScrollHorizontal as va } from "./components/organisms/ScrollHorizontal/ScrollHorizontal.js";
|
|
149
|
+
import { tabSizes as ya } from "./components/organisms/Tab/tabStyles.js";
|
|
150
|
+
import { Tab as ba } from "./components/organisms/Tab/Tab.js";
|
|
151
|
+
import { toast as xa } from "./components/organisms/Toast/toastStore.js";
|
|
152
|
+
import { toastPositions as Sa } from "./components/organisms/Toast/toastStyles.js";
|
|
153
|
+
import { Toast as Ca, Toaster as wa } from "./components/organisms/Toast/Toast.js";
|
|
154
|
+
import { GridOverlay as Ta } from "./lib/GridOverlay.js";
|
|
155
|
+
import { readSheetParam as Ea, withSheetParam as Da } from "./lib/sheetParam/sheetParam.js";
|
|
156
|
+
import { useSheetParam as Oa } from "./lib/sheetParam/useSheetParam.js";
|
|
157
|
+
export { He as Accordion, Ai as AlertDialog, mr as AppShell, a as Avatar, S as Badge, x as BadgeIcon, q as Band, Je as Breadcrumb, N as Button, k as ButtonIcon, Ze as CalEmbed, xt as Card, yr as Carousel, gi as Chart, mi as ChartCartesian, hi as ChartCartesianNoData, ri as ChartDistributionStrip, ii as ChartHeatmap, Zr as ChartLegend, ei as ChartLoading, ti as ChartRankedBars, $r as ChartTooltipContent, ni as ChartUnitGrid, bi as ChatDock, _i as ChatDockGate, St as ChatQa, R as Checkbox, wt as CheckboxGroup, Be as Chip, Re as ChipFilterGroup, Ti as ConfettiProvider, Tt as CopyField, Nt as DescriptionList, ki as Dialog, Jt as DisplayControls, Ge as Dropdown, Ue as DropdownItem, We as DropdownMenu, Xt as Field, Ki as FilterPanel, Zt as FloatingActionButton, Zi as FooterReveal, Pt as GRID_ON_CLASS, Ta as GridOverlay, Qt as HeroIntro, fa as HeroTileStack, z as IconButton, nn as IndexList, Y as InlinePill, B as Input, ga as IntakeConfirmation, an as IntakeForm, _a as IntakeModal, H as Kbd, un as LinkTile, dn as LogView, Oi as MoreMenu, hn as NavList, gn as PageHeader, fr as Panel, _n as PillGroup, yn as PromptBar, ee as Prose, ne as Radio, Sn as RadioGroup, se as RiveHand, va as ScrollHorizontal, wn as Search, le as SectionCaption, An as SegmentedControl, En as Select, Dn as SelectableCard, pr as Sheet, Bi as SiteNav, Pe as Skeleton, Fn as Stat, Ie as Status, In as StepProgress, fe as Switch, ba as Tab, me as Table, he as TableBody, ge as TableCaption, _e as TableCell, ve as TableFooter, ye as TableHead, be as TableHeader, xe as TableRow, Kn as TaskRows, Ce as TextArea, Te as TextLink, Yn as TextSequence, ir as TileGrid, Ca as Toast, wa as Toaster, Ee as Tooltip, De as TooltipContent, Oe as TooltipProvider, ke as TooltipRoot, Ae as TooltipTrigger, Ve as accordionVariants, ji as alertDialogConfirmRoles, zt as applyDisplayTheme, n as avatarSizeForCluster, r as avatarSizePx, i as avatarSizes, nt as backgroundPatternDiagonalLinesClasses, rt as backgroundPatternDotGridClasses, it as backgroundPatterns, C as badgeAvatarSize, v as badgeEmphases, y as badgeStatuses, b as badgeVariants, W as bandElements, G as bandSpacings, K as bandTones, Ye as breadcrumbDefaultLabels, Ke as breadcrumbSeparators, Xe as breadcrumbSlots, qe as breadcrumbVariants, w as buttonAligns, T as buttonEmphases, E as buttonLayouts, D as buttonRoles, o as buttonSizeForCluster, A as buttonStatusHoldMs, O as buttonWidths, Qe as calEmbedEmptyDescription, $e as calEmbedEmptyTitle, et as calEmbedSkipHref, tt as calEmbedSkipLabel, at as cardAddressClasses, ot as cardBodyTextClasses, st as cardBodyVariants, ct as cardBodyWellClasses, lt as cardLayoutBodyOccupantDotGridWellClasses, ut as cardLayoutBodyOccupantInsetXClasses, dt as cardLayoutBodyOccupantPadYClasses, ft as cardLayoutBodyOccupantRadiusClasses, pt as cardLayoutBodyOccupantWellClasses, mt as cardPaddings, ht as cardShapes, gt as cardSubtitleClasses, _t as cardTerminalHeights, vt as cardTerminalStates, yt as cardTitleClasses, bt as cardVariants, gr as carouselBreakpoints, _r as carouselDefaultItemWidth, vr as carouselProgressPlacements, br as chartBucketPeriodData, ai as chartCartesianDefinedSegments, oi as chartCartesianGapBands, si as chartCartesianGapRuns, ci as chartCartesianHasPlottableValues, li as chartCartesianNoDataLabelDefault, xr as chartCategoricalCount, Sr as chartCategoricalPalette, Cr as chartFormatAxisValue, wr as chartFormatPercent, Tr as chartFormatTooltipLabel, Er as chartFormatTooltipValue, Wr as chartKpiHeroRowClasses, Gr as chartKpiHeroValueClasses, Kr as chartKpiTrendLabelClasses, qr as chartKpiTrendRowClasses, Jr as chartKpiTrendValueClasses, Qr as chartLegendVariants, Dr as chartMaxTicksForWidth, Or as chartNormalizePeriodData, kr as chartPeriodKindFromValue, Ar as chartSegmentBarWidth, jr as chartSegmentFillVariants, Mr as chartSegmentPresets, Nr as chartSegmentTickSpec, Yr as chartSegmentedRingSegmentDefault, Xr as chartSegmentedRingSizes, Pr as chartSeriesColor, Fr as chartSeriesConfigFromKeys, Ir as chartSeriesConfigFromTone, Lr as chartTooltipIndicators, Rr as chartTooltipItemsFromConfig, xi as chatDockDefaultLabels, Si as chatDockFollowUpsPlacements, vi as chatDockGateDefaultLabels, yi as chatDockPlacements, Ct as checkboxGroupOrientations, L as checkboxSizes, ze as chipSizes, s as clusterComponentSizeMap, c as clusterTiers, e as cn, Bt as commitDisplayTheme, Ci as confettiDefaultColors, wi as confettiDefaults, Et as copyFieldCopiedLabel, Dt as copyFieldCopyLabel, Ot as copyFieldFallbackHint, kt as copyFieldStates, Vi as countFilterOptions, j as defaultStatusLabels, At as descriptionListLayouts, jt as descriptionListRules, Mt as descriptionListVariants, ar as dialogFooterActionsClasses, or as dialogFooterClasses, sr as dialogSizes, Vt as displayControlThemeModes, Ht as displayThemeNoFlashScript, Ut as displayThemeStorageKey, Yt as fieldOrientations, Hi as filterFacetValues, Ui as filterSelectionCount, u as focusRingTransitionClasses, qi as footerRevealFieldClasses, Ji as footerRevealFieldLinkClasses, Xi as footerRevealRuledEmailHref, Yi as footerRevealRuledFieldClasses, M as getNextButtonStatus, Ft as gridOverlayKeyShouldToggle, $t as heroIntroSteps, $i as heroTileRepel, ea as heroTileRestingLayout, ta as heroTileStackDefaultFalloff, na as heroTileStackDefaultMaxVertical, ra as heroTileStackDefaultSpring, ia as heroTileStackDefaultStrength, aa as heroTileStackDefaultTileSize, oa as heroTileStackDefaultVelocityFactor, sa as heroTileStackReferenceSize, ca as heroTileStackSizeScale, la as heroTileStackTapHoldMs, ua as heroTileStackVelocityXShare, da as heroTileVelocityY, l as iconButtonSizeForCluster, en as indexListSizes, tn as indexListTitleElements, J as inlinePillPopInKeyframes, P as inputMessagePositions, F as inputSizes, I as inputStatuses, on as intakeAboutEmpty, pa as intakeConfettiColors, ma as intakeConfirmationCopy, ha as intakeConfirmationVariants, rn as intakeDetailsMax, ui as isChartCartesianNumber, di as isChartCartesianSeriesDefined, It as isEditableGridOverlayTarget, sn as isIntakeAboutValid, cn as isIntakeUrlValid, Ln as isStepProgressSegmentFilled, V as kbdSizes, ln as linkTileLoadingRatio, Wi as matchesFilterSelection, d as motionBeatSeconds, f as motionBlurReveal, p as motionStaggerSeconds, m as motionTransition, h as motionTransitionProp, mn as navListLabelAlignments, Wt as nextDisplayControlThemeMode, fn as pageHeaderAppBandHeightClasses, pn as pageHeaderVariants, ur as panelSides, dr as panelSizes, Gt as persistDisplayTheme, vn as pillGroupEmphases, g as pressScaleClass, bn as promptBarPlaceholder, Z as proseElements, Q as proseMeasures, $ as proseSizes, xn as radioGroupOrientations, te as radioSizes, Kt as readDisplayTheme, Lt as readGridColumnCount, _ as readMotionDurationSeconds, Ea as readSheetParam, zr as resolveCapacityBarLayout, fi as resolveChartCartesianGapKeys, pi as resolveChartCartesianNoData, Br as resolveChartPeriodDayCount, Vr as resolvePeriodSegmentPreset, Hr as resolvePeriodSegments, Ur as resolveSegmentBarConfig, re as riveHandArtboards, ie as riveHandSrc, ae as riveHandWasmSrc, oe as riveHands, Cn as searchSizes, ce as sectionCaptionElements, On as segmentedControlLayouts, kn as segmentedControlSizes, Tn as selectSizes, Xn as sequencePlainText, Rt as setDocumentGridOn, cr as sheetSides, lr as sheetSizes, Mi as siteNavCompactLayouts, Ni as siteNavDefaultCollapseAt, Pi as siteNavDefaultCollapseRatio, Fi as siteNavExpandedHeightClasses, Ii as siteNavMenuReadRowClasses, Li as siteNavMenuReadThumbClasses, Ri as siteNavPlacements, zi as siteNavStates, Ne as skeletonRadii, jn as statGroupColumns, Mn as statGroupGridClasses, Nn as statSizes, Pn as statTrendDirections, Fe as statusRingSizePx, t as statusTones, Le as statusVariants, Rn as stepProgressLabel, qt as subscribeDisplayTheme, ue as switchLayouts, de as switchSizes, ya as tabSizes, pe as tableAligns, zn as taskRowStatuses, Bn as taskRowsDetailLayouts, Vn as taskRowsDetailVariants, Un as taskRowsTableColumnIds, Wn as taskRowsTableColumnsDefault, Gn as taskRowsTableSources, Hn as taskRowsVariants, we as textLinkVariants, Zn as textSequenceDefaultDelay, Qn as textSequenceDefaultStagger, $n as textSequenceEmphases, qn as textSequenceShapeTones, Jn as textSequenceShapeVariants, er as textSequenceTriggers, Se as textareaResizes, tr as tileGridBreakpoints, nr as tileGridDefaultColumns, rr as tileGridLayouts, xa as toast, Sa as toastPositions, je as tooltipAlignments, Me as tooltipSides, hr as useAppShell, Ei as useConfetti, Di as useConfettiOnMount, Gi as useFilterSelection, Qi as useFooterRevealProgress, X as useInlinePillsPopIn, U as useKbdChoiceKeys, Oa as useSheetParam, Da as withSheetParam };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WCAG 2 contrast for opaque hex colours — the brand-kit check (Foundations/Brand kit, unit tests).
|
|
3
|
+
* `bin/wmds-check.mjs` carries the same formula for apps' CSS (`brand-contrast`).
|
|
4
|
+
*/
|
|
5
|
+
export declare function relativeLuminance(hex: string): number;
|
|
6
|
+
export declare function contrastRatio(a: string, b: string): number;
|
|
7
|
+
/** `color-mix(in srgb, a weight%, b)` for opaque hex colours. */
|
|
8
|
+
export declare function mixSrgb(a: string, weight: number, b: string): string;
|
|
9
|
+
/** Text on a colour needs 4.5:1 (WCAG AA, normal size). */
|
|
10
|
+
export declare const textContrastMinimum = 4.5;
|
|
11
|
+
//# sourceMappingURL=contrast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contrast.d.ts","sourceRoot":"","sources":["../../src/lib/contrast.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,UAG5C;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAGjD;AAED,iEAAiE;AACjE,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAK3D;AAED,2DAA2D;AAC3D,eAAO,MAAM,mBAAmB,MAAM,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
1
2
|
/** Tab cycle within a modal surface — returns cleanup. */
|
|
2
3
|
export declare function trapFocus(container: HTMLElement): () => void;
|
|
3
|
-
/** Prevent background scroll while a modal is open — returns cleanup. */
|
|
4
4
|
export declare function lockBodyScroll(): () => void;
|
|
5
5
|
/** Focus the first tabbable control inside the panel — usually the primary action or close. */
|
|
6
6
|
export declare function focusInitialElement(container: HTMLElement, preferSelector?: string): void;
|
|
@@ -11,4 +11,30 @@ export declare function focusInitialElement(container: HTMLElement, preferSelect
|
|
|
11
11
|
export declare function inertPageBehind(surface: HTMLElement): () => void;
|
|
12
12
|
/** Where focus goes when the opener is gone — the page's main landmark (a deep link has no trigger). */
|
|
13
13
|
export declare function focusMainContent(): void;
|
|
14
|
+
export interface OverlayLifecycleOptions {
|
|
15
|
+
/** The overlay is showing. The lifecycle runs while this is true and the panel is mounted. */
|
|
16
|
+
open: boolean;
|
|
17
|
+
/** Called when the overlay asks to close (Escape). */
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* A modal overlay locks page scroll, makes the page behind inert, and traps Tab inside the panel.
|
|
21
|
+
* A non-modal overlay (Panel) does none of these. Default `true`.
|
|
22
|
+
*/
|
|
23
|
+
modal?: boolean;
|
|
24
|
+
/** Escape closes the overlay. It still blocks overlays beneath it when `false`. Default `true`. */
|
|
25
|
+
closeOnEscape?: boolean;
|
|
26
|
+
/** CSS selector for the control that takes focus on open; else the first tabbable control. */
|
|
27
|
+
initialFocus?: string;
|
|
28
|
+
/** Where focus returns on close; else whatever had focus when the overlay opened. */
|
|
29
|
+
returnFocusRef?: RefObject<HTMLElement | null>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The whole open → close lifecycle of an overlay panel, shared by Dialog, Sheet, IntakeModal and Panel.
|
|
33
|
+
*
|
|
34
|
+
* While open: scroll lock, inert page and focus trap (modal only); focus moves into the panel; Escape
|
|
35
|
+
* closes the topmost overlay only, and is left alone when something inside already handled it
|
|
36
|
+
* (`defaultPrevented`). On close: focus returns to the opener when it is still in the page and focus
|
|
37
|
+
* has not moved on elsewhere, else to `<main>` (a deep link has no opener).
|
|
38
|
+
*/
|
|
39
|
+
export declare function useOverlayLifecycle(panelRef: RefObject<HTMLElement | null>, { open, onClose, modal, closeOnEscape, initialFocus, returnFocusRef }: OverlayLifecycleOptions): void;
|
|
14
40
|
//# sourceMappingURL=dialogOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogOverlay.d.ts","sourceRoot":"","sources":["../../src/lib/dialogOverlay.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialogOverlay.d.ts","sourceRoot":"","sources":["../../src/lib/dialogOverlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAc1D,0DAA0D;AAC1D,wBAAgB,SAAS,CAAC,SAAS,EAAE,WAAW,GAAG,MAAM,IAAI,CAqC5D;AAaD,wBAAgB,cAAc,IAAI,MAAM,IAAI,CAgB3C;AAwBD,+FAA+F;AAC/F,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,WAAW,EACtB,cAAc,CAAC,EAAE,MAAM,GACtB,IAAI,CAWN;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,IAAI,CAwBhE;AAED,wGAAwG;AACxG,wBAAgB,gBAAgB,IAAI,IAAI,CAYvC;AAED,MAAM,WAAW,uBAAuB;IACtC,8FAA8F;IAC9F,IAAI,EAAE,OAAO,CAAC;IACd,sDAAsD;IACtD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mGAAmG;IACnG,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qFAAqF;IACrF,cAAc,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAChD;AAKD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACvC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAY,EAAE,aAAoB,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,uBAAuB,GAC3G,IAAI,CA+CN"}
|
|
@@ -1,46 +1,61 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { useEffect as e, useRef as t } from "react";
|
|
2
3
|
//#region src/lib/dialogOverlay.ts
|
|
3
|
-
var
|
|
4
|
-
function
|
|
4
|
+
var n = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
|
|
5
|
+
function r(e) {
|
|
5
6
|
return e.closest("[inert]") == null ? typeof e.checkVisibility == "function" ? e.checkVisibility({ visibilityProperty: !0 }) : e.offsetParent !== null && getComputedStyle(e).visibility !== "hidden" : !1;
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
-
function
|
|
9
|
-
if (
|
|
10
|
-
let i = Array.from(
|
|
8
|
+
function i(e) {
|
|
9
|
+
function t(t) {
|
|
10
|
+
if (t.key !== "Tab") return;
|
|
11
|
+
let i = Array.from(e.querySelectorAll(n)).filter((e) => r(e) || e === document.activeElement);
|
|
11
12
|
if (i.length === 0) {
|
|
12
|
-
|
|
13
|
+
t.preventDefault();
|
|
13
14
|
return;
|
|
14
15
|
}
|
|
15
16
|
let a = i[0], o = i[i.length - 1], s = document.activeElement;
|
|
16
|
-
if (
|
|
17
|
-
(s === a || !
|
|
17
|
+
if (t.shiftKey) {
|
|
18
|
+
(s === a || !e.contains(s)) && (t.preventDefault(), o.focus());
|
|
18
19
|
return;
|
|
19
20
|
}
|
|
20
|
-
s === o && (
|
|
21
|
+
s === o && (t.preventDefault(), a.focus());
|
|
21
22
|
}
|
|
22
|
-
return
|
|
23
|
-
|
|
23
|
+
return e.addEventListener("keydown", t), () => {
|
|
24
|
+
e.removeEventListener("keydown", t);
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
+
var a = 0, o = () => void 0;
|
|
28
|
+
function s() {
|
|
27
29
|
if (typeof document > "u") return () => void 0;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
a += 1, a === 1 && (o = c(document));
|
|
31
|
+
let e = !1;
|
|
32
|
+
return () => {
|
|
33
|
+
e || (e = !0, --a, a === 0 && o());
|
|
31
34
|
};
|
|
32
35
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
function c({ body: e, documentElement: t }) {
|
|
37
|
+
let n = e.style.overflow, r = e.style.paddingRight, i = t.style.scrollbarGutter;
|
|
38
|
+
e.style.overflow = "hidden";
|
|
39
|
+
let a = getComputedStyle(t).scrollbarGutter.includes("stable") ? Math.max(0, window.innerWidth - t.scrollWidth) : 0;
|
|
40
|
+
if (a > 0) {
|
|
41
|
+
let n = parseFloat(getComputedStyle(e).paddingRight) || 0;
|
|
42
|
+
t.style.scrollbarGutter = "auto", e.style.paddingRight = `${n + a}px`;
|
|
43
|
+
}
|
|
44
|
+
return () => {
|
|
45
|
+
e.style.overflow = n, e.style.paddingRight = r, t.style.scrollbarGutter = i;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function l(e, t) {
|
|
49
|
+
if (t) {
|
|
50
|
+
let n = e.querySelector(t);
|
|
51
|
+
if (n != null) {
|
|
52
|
+
n.focus();
|
|
38
53
|
return;
|
|
39
54
|
}
|
|
40
55
|
}
|
|
41
|
-
|
|
56
|
+
e.querySelector(n)?.focus();
|
|
42
57
|
}
|
|
43
|
-
function
|
|
58
|
+
function u(e) {
|
|
44
59
|
if (typeof document > "u") return () => void 0;
|
|
45
60
|
let t = e;
|
|
46
61
|
for (; t.parentElement != null && t.parentElement !== document.body;) t = t.parentElement;
|
|
@@ -50,10 +65,57 @@ function a(e) {
|
|
|
50
65
|
for (let e of n) e.removeAttribute("inert");
|
|
51
66
|
};
|
|
52
67
|
}
|
|
53
|
-
function
|
|
68
|
+
function d() {
|
|
54
69
|
if (typeof document > "u") return;
|
|
55
70
|
let e = document.querySelector("main, [role='main']");
|
|
56
71
|
e != null && (e.hasAttribute("tabindex") || e.setAttribute("tabindex", "-1"), e.focus({ preventScroll: !0 }));
|
|
57
72
|
}
|
|
73
|
+
var f = [];
|
|
74
|
+
function p(n, { open: r, onClose: a, modal: o = !0, closeOnEscape: c = !0, initialFocus: d, returnFocusRef: p }) {
|
|
75
|
+
let _ = t(a), v = t(c);
|
|
76
|
+
e(() => {
|
|
77
|
+
_.current = a, v.current = c;
|
|
78
|
+
}), e(() => {
|
|
79
|
+
let e = n.current;
|
|
80
|
+
if (!r || e == null) return;
|
|
81
|
+
let t = {};
|
|
82
|
+
f.push(t);
|
|
83
|
+
let a = p?.current ?? document.activeElement, c = o ? h(s(), u(e), i(e)) : m, y = window.requestAnimationFrame(() => {
|
|
84
|
+
let t = document.activeElement;
|
|
85
|
+
(t == null || t === document.body || t === a) && l(e, d);
|
|
86
|
+
});
|
|
87
|
+
function b(e) {
|
|
88
|
+
e.key !== "Escape" || e.isComposing || e.defaultPrevented || f.at(-1) !== t || v.current && (e.preventDefault(), _.current());
|
|
89
|
+
}
|
|
90
|
+
return document.addEventListener("keydown", b), () => {
|
|
91
|
+
document.removeEventListener("keydown", b), window.cancelAnimationFrame(y), f.splice(f.indexOf(t), 1), c(), g(e, a);
|
|
92
|
+
};
|
|
93
|
+
}, [
|
|
94
|
+
d,
|
|
95
|
+
o,
|
|
96
|
+
r,
|
|
97
|
+
n,
|
|
98
|
+
p
|
|
99
|
+
]);
|
|
100
|
+
}
|
|
101
|
+
function m() {}
|
|
102
|
+
function h(...e) {
|
|
103
|
+
return () => {
|
|
104
|
+
for (let t of e.reverse()) t();
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function g(e, t) {
|
|
108
|
+
let n = document.activeElement;
|
|
109
|
+
if (!(n != null && n !== document.body && !e.contains(n))) {
|
|
110
|
+
if (t != null && t.isConnected && t !== document.body) {
|
|
111
|
+
t.focus();
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
d(), window.requestAnimationFrame(() => {
|
|
115
|
+
let t = document.activeElement;
|
|
116
|
+
(t == null || t === document.body || e.contains(t)) && d();
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
}
|
|
58
120
|
//#endregion
|
|
59
|
-
export {
|
|
121
|
+
export { l as focusInitialElement, d as focusMainContent, u as inertPageBehind, s as lockBodyScroll, i as trapFocus, p as useOverlayLifecycle };
|
package/dist/lib/typography.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/** WMDS document roles — map to Astryx semantic type scale. */
|
|
9
9
|
export type TypographyRole = "display" | "page-heading" | "section-heading" | "subheading" | "body" | "ui-label" | "caption" | "caption-tight" | "overline" | "eyebrow" | "reading";
|
|
10
10
|
/** Astryx semantic type names (Foundation reference). */
|
|
11
|
-
export type AstryxTypeScale = "display-1" | "display-2" | "display-3" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "large" | "body" | "label" | "supporting" | "caption" | "code" | "control" | "eyebrow" | "reading";
|
|
11
|
+
export type AstryxTypeScale = "display-hero" | "display-xl" | "display-1" | "display-2" | "display-3" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "large" | "body" | "label" | "supporting" | "caption" | "code" | "control" | "eyebrow" | "reading";
|
|
12
12
|
export type TypographyTracking = "tight" | "normal" | "wider";
|
|
13
13
|
export interface GeometricScaleStep {
|
|
14
14
|
token: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/lib/typography.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,+DAA+D;AAC/D,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,cAAc,GACd,iBAAiB,GACjB,YAAY,GACZ,MAAM,GACN,UAAU,GACV,SAAS,GACT,eAAe,GACf,UAAU,GACV,SAAS,GACT,SAAS,CAAC;AAEd,yDAAyD;AACzD,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,OAAO,GACP,MAAM,GACN,OAAO,GACP,YAAY,GACZ,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,UAAU,EAAE,eAAe,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC;IAChC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAgBA,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAc9C,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;EAKd,CAAC;AAEX,mFAAmF;AACnF,eAAO,MAAM,SAAS;;;;;GAKnB,CAAC;AAEJ,eAAO,MAAM,gBAAgB,EAAE,eAAe,EA6H7C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC;IAClC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/lib/typography.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,+DAA+D;AAC/D,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,cAAc,GACd,iBAAiB,GACjB,YAAY,GACZ,MAAM,GACN,UAAU,GACV,SAAS,GACT,eAAe,GACf,UAAU,GACV,SAAS,GACT,SAAS,CAAC;AAEd,yDAAyD;AACzD,MAAM,MAAM,eAAe,GACvB,cAAc,GACd,YAAY,GACZ,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,OAAO,GACP,MAAM,GACN,OAAO,GACP,YAAY,GACZ,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,UAAU,EAAE,eAAe,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC;IAChC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAgBA,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAc9C,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;EAKd,CAAC;AAEX,mFAAmF;AACnF,eAAO,MAAM,SAAS;;;;;GAKnB,CAAC;AAEJ,eAAO,MAAM,gBAAgB,EAAE,eAAe,EA6H7C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC;IAClC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAqBA,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAsBf,CAAC;AAEX,kGAAkG;AAClG,eAAO,MAAM,qBAAqB,EAE7B,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;AAEpC,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAE5D;AAED,8EAA8E;AAC9E,wBAAgB,4BAA4B,CAAC,IAAI,GAAE,OAAO,GAAG,IAErD,GAAG,kBAAkB,EAAE,CAS9B"}
|