@thewhatmatters/wmds 0.4.9 → 0.4.28
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 +303 -0
- package/CONSUMING.md +62 -1
- package/README.md +1 -1
- package/bin/wmds-check.mjs +47 -0
- package/dist/colors.css +92 -0
- package/dist/components/atoms/Badge/Badge.d.ts +13 -5
- package/dist/components/atoms/Badge/Badge.d.ts.map +1 -1
- package/dist/components/atoms/Badge/Badge.js +56 -48
- package/dist/components/atoms/Badge/badgeStyles.d.ts +15 -0
- package/dist/components/atoms/Badge/badgeStyles.d.ts.map +1 -1
- package/dist/components/atoms/Badge/badgeStyles.js +42 -20
- 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/Button.d.ts +1 -1
- package/dist/components/atoms/Button/Button.d.ts.map +1 -1
- package/dist/components/atoms/Button/Button.js +67 -48
- 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/buttonStatusMotion.d.ts.map +1 -1
- package/dist/components/atoms/Button/buttonStatusMotion.js +6 -1
- package/dist/components/atoms/Button/buttonStyles.d.ts +2 -2
- package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -1
- package/dist/components/atoms/Button/buttonStyles.js +16 -14
- 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 +9 -4
- package/dist/components/atoms/Input/Input.d.ts.map +1 -1
- package/dist/components/atoms/Input/Input.js +59 -59
- package/dist/components/atoms/Input/inputShellStyles.d.ts +10 -4
- package/dist/components/atoms/Input/inputShellStyles.d.ts.map +1 -1
- package/dist/components/atoms/Input/inputShellStyles.js +40 -40
- package/dist/components/atoms/RiveHand/RiveHand.d.ts.map +1 -1
- package/dist/components/atoms/RiveHand/RiveHand.js +83 -81
- 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/Table/Table.d.ts +54 -0
- package/dist/components/atoms/Table/Table.d.ts.map +1 -0
- package/dist/components/atoms/Table/Table.js +66 -0
- package/dist/components/atoms/Table/tableStyles.d.ts +18 -0
- package/dist/components/atoms/Table/tableStyles.d.ts.map +1 -0
- package/dist/components/atoms/Table/tableStyles.js +14 -0
- package/dist/components/atoms/TextArea/TextArea.d.ts +6 -0
- package/dist/components/atoms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/atoms/TextArea/TextArea.js +86 -78
- package/dist/components/atoms/TextArea/textareaShellStyles.d.ts +2 -2
- package/dist/components/atoms/TextArea/textareaShellStyles.d.ts.map +1 -1
- package/dist/components/atoms/TextArea/textareaShellStyles.js +5 -5
- 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/Card.d.ts +28 -6
- package/dist/components/molecules/Card/Card.d.ts.map +1 -1
- package/dist/components/molecules/Card/Card.js +83 -42
- package/dist/components/molecules/Card/cardStyles.d.ts +16 -1
- package/dist/components/molecules/Card/cardStyles.d.ts.map +1 -1
- package/dist/components/molecules/Card/cardStyles.js +19 -5
- 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 +9 -9
- package/dist/components/molecules/CopyField/CopyField.d.ts +41 -0
- package/dist/components/molecules/CopyField/CopyField.d.ts.map +1 -0
- package/dist/components/molecules/CopyField/CopyField.js +120 -0
- package/dist/components/molecules/CopyField/copyFieldStyles.d.ts +28 -0
- package/dist/components/molecules/CopyField/copyFieldStyles.d.ts.map +1 -0
- package/dist/components/molecules/CopyField/copyFieldStyles.js +7 -0
- package/dist/components/molecules/DisplayControls/DisplayControls.d.ts +16 -7
- package/dist/components/molecules/DisplayControls/DisplayControls.d.ts.map +1 -1
- package/dist/components/molecules/DisplayControls/DisplayControls.js +41 -39
- package/dist/components/molecules/DisplayControls/displayControlsState.d.ts +21 -0
- package/dist/components/molecules/DisplayControls/displayControlsState.d.ts.map +1 -1
- package/dist/components/molecules/DisplayControls/displayControlsState.js +46 -4
- 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/LogView.d.ts +31 -0
- package/dist/components/molecules/LogView/LogView.d.ts.map +1 -0
- package/dist/components/molecules/LogView/LogView.js +109 -0
- package/dist/components/molecules/LogView/logViewStyles.d.ts +11 -0
- package/dist/components/molecules/LogView/logViewStyles.d.ts.map +1 -0
- package/dist/components/molecules/LogView/logViewStyles.js +6 -0
- package/dist/components/molecules/NavList/NavList.d.ts +23 -4
- package/dist/components/molecules/NavList/NavList.d.ts.map +1 -1
- package/dist/components/molecules/NavList/NavList.js +65 -52
- package/dist/components/molecules/NavList/navListStyles.d.ts +2 -0
- package/dist/components/molecules/NavList/navListStyles.d.ts.map +1 -1
- package/dist/components/molecules/NavList/navListStyles.js +3 -3
- package/dist/components/molecules/PageHeader/PageHeader.js +3 -3
- 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 +8 -8
- 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/Stat.d.ts +31 -5
- package/dist/components/molecules/Stat/Stat.d.ts.map +1 -1
- package/dist/components/molecules/Stat/Stat.js +83 -49
- package/dist/components/molecules/Stat/statStyles.d.ts +24 -4
- package/dist/components/molecules/Stat/statStyles.d.ts.map +1 -1
- package/dist/components/molecules/Stat/statStyles.js +30 -13
- package/dist/components/molecules/TaskRows/TaskRows.d.ts +13 -3
- package/dist/components/molecules/TaskRows/TaskRows.d.ts.map +1 -1
- package/dist/components/molecules/TaskRows/TaskRows.js +81 -57
- package/dist/components/molecules/TaskRows/TaskRowsTable.d.ts +54 -0
- package/dist/components/molecules/TaskRows/TaskRowsTable.d.ts.map +1 -0
- package/dist/components/molecules/TaskRows/TaskRowsTable.js +200 -0
- package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts +19 -1
- package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts.map +1 -1
- package/dist/components/molecules/TaskRows/taskRowsStyles.js +7 -3
- 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 +84 -0
- package/dist/components/organisms/AppShell/AppShell.d.ts.map +1 -0
- package/dist/components/organisms/AppShell/AppShell.js +231 -0
- package/dist/components/organisms/AppShell/appShellStyles.d.ts +20 -0
- package/dist/components/organisms/AppShell/appShellStyles.d.ts.map +1 -0
- package/dist/components/organisms/AppShell/appShellStyles.js +8 -0
- package/dist/components/organisms/Carousel/Carousel.d.ts +9 -1
- package/dist/components/organisms/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/organisms/Carousel/Carousel.js +220 -182
- package/dist/components/organisms/Carousel/carouselMath.d.ts +5 -0
- package/dist/components/organisms/Carousel/carouselMath.d.ts.map +1 -1
- package/dist/components/organisms/Carousel/carouselMath.js +9 -1
- package/dist/components/organisms/Carousel/carouselStyles.d.ts +2 -0
- package/dist/components/organisms/Carousel/carouselStyles.d.ts.map +1 -1
- package/dist/components/organisms/Carousel/carouselStyles.js +8 -7
- package/dist/components/organisms/Chart/Chart.d.ts +5 -1
- package/dist/components/organisms/Chart/Chart.d.ts.map +1 -1
- package/dist/components/organisms/Chart/Chart.js +126 -62
- package/dist/components/organisms/Chart/ChartLegend.d.ts +8 -1
- package/dist/components/organisms/Chart/ChartLegend.d.ts.map +1 -1
- package/dist/components/organisms/Chart/ChartLegend.js +43 -13
- package/dist/components/organisms/Chart/ChartSegmentedRing.d.ts +52 -0
- package/dist/components/organisms/Chart/ChartSegmentedRing.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartSegmentedRing.js +95 -0
- package/dist/components/organisms/Chart/chartStyles.d.ts +32 -0
- package/dist/components/organisms/Chart/chartStyles.d.ts.map +1 -1
- package/dist/components/organisms/Chart/chartStyles.js +15 -3
- package/dist/components/organisms/ChatDock/ChatDock.d.ts.map +1 -1
- package/dist/components/organisms/ChatDock/ChatDock.js +29 -25
- 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/OverlayPanelHeader.d.ts.map +1 -1
- package/dist/components/organisms/Dialog/OverlayPanelHeader.js +1 -0
- 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 +66 -81
- package/dist/components/organisms/Sheet/sheetStyles.d.ts +8 -2
- package/dist/components/organisms/Sheet/sheetStyles.d.ts.map +1 -1
- package/dist/components/organisms/Sheet/sheetStyles.js +16 -11
- 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 +236 -286
- 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 +7 -7
- package/dist/fonts.css +10 -0
- package/dist/grid.css +38 -0
- package/dist/index.d.ts +16 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +152 -139
- package/dist/lib/chartTheme.d.ts +11 -0
- package/dist/lib/chartTheme.d.ts.map +1 -1
- package/dist/lib/compositionAudit.d.ts.map +1 -1
- package/dist/lib/contrast.d.ts +11 -0
- package/dist/lib/contrast.d.ts.map +1 -0
- package/dist/lib/dialogOverlay.d.ts +34 -1
- package/dist/lib/dialogOverlay.d.ts.map +1 -1
- package/dist/lib/dialogOverlay.js +100 -23
- package/dist/lib/sheetParam/index.d.ts +3 -0
- package/dist/lib/sheetParam/index.d.ts.map +1 -0
- package/dist/lib/sheetParam/sheetParam.d.ts +15 -0
- package/dist/lib/sheetParam/sheetParam.d.ts.map +1 -0
- package/dist/lib/sheetParam/sheetParam.js +26 -0
- package/dist/lib/sheetParam/useSheetParam.d.ts +25 -0
- package/dist/lib/sheetParam/useSheetParam.d.ts.map +1 -0
- package/dist/lib/sheetParam/useSheetParam.js +29 -0
- 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/README.md +1 -1
- package/docs/component-contracts.md +101 -0
- package/docs/components.md +19 -12
- package/docs/exports.json +142 -15
- package/docs/patterns/components-accordion--flush.tsx +1 -1
- package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +176 -0
- 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 +31 -0
- 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 +48 -0
- 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 +68 -0
- package/docs/patterns/components-chart--segmented-ring-pattern.tsx +144 -0
- 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 +9 -0
- package/docs/patterns/components-copyfield--copied.tsx +9 -0
- package/docs/patterns/components-copyfield--copy-key.tsx +9 -0
- package/docs/patterns/components-copyfield--on-navy.tsx +29 -0
- 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 +35 -0
- 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 +80 -0
- package/docs/patterns/components-logview--log-viewer.tsx +20 -0
- 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 +118 -0
- 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 +50 -0
- package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +51 -0
- package/docs/patterns/components-sheet--side-sheet.tsx +38 -0
- 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 +54 -0
- 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 +81 -0
- package/docs/patterns/components-table--approvals.tsx +223 -0
- package/docs/patterns/components-table--basic.tsx +60 -0
- 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 +62 -0
- 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 +32 -0
- 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 +193 -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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from "react";
|
|
2
2
|
import { type AvatarSize } from "../Avatar/Avatar";
|
|
3
|
-
import { type BadgeEmphasis, type BadgeSize, type BadgeVariant } from "./badgeStyles";
|
|
4
|
-
export type { BadgeEmphasis, BadgeSize, BadgeVariant } from "./badgeStyles";
|
|
5
|
-
export { badgeEmphases, badgeVariants } from "./badgeStyles";
|
|
3
|
+
import { type BadgeEmphasis, type BadgeSize, type BadgeStatus, type BadgeVariant } from "./badgeStyles";
|
|
4
|
+
export type { BadgeEmphasis, BadgeSize, BadgeStatus, BadgeVariant } from "./badgeStyles";
|
|
5
|
+
export { badgeEmphases, badgeStatuses, badgeVariants } from "./badgeStyles";
|
|
6
6
|
/** Layout-only — not for colors, borders, or typography overrides. */
|
|
7
7
|
export type BadgeLayoutClassName = string;
|
|
8
8
|
/** Leading round image. `alt` is the Avatar name; pass `""` when the badge label already speaks the word. */
|
|
@@ -38,6 +38,13 @@ export interface BadgeProps {
|
|
|
38
38
|
count?: number;
|
|
39
39
|
/** Leading Lucide icon — label pattern, or required for `iconOnly`. Not with `avatar`. */
|
|
40
40
|
icon?: ReactElement;
|
|
41
|
+
/**
|
|
42
|
+
* Status pill — run state (`active`), cadence, or freshness. Owns the fill:
|
|
43
|
+
* `active` is the brand-tint pill; the others are muted. Not with `count`, `iconOnly`, or `avatar`.
|
|
44
|
+
*/
|
|
45
|
+
status?: BadgeStatus;
|
|
46
|
+
/** Leading 8px dot on a status pill. Pulses when `status` is `active`. */
|
|
47
|
+
dot?: boolean;
|
|
41
48
|
/**
|
|
42
49
|
* Leading round image — renders **Avatar** at `badgeAvatarSize` for this badge's `size`.
|
|
43
50
|
* Mutually exclusive with `icon`, `iconOnly`, and `count`.
|
|
@@ -52,8 +59,9 @@ export interface BadgeProps {
|
|
|
52
59
|
}
|
|
53
60
|
/**
|
|
54
61
|
* Short status, count, or category label — solid, muted, or outline semantic fills.
|
|
62
|
+
* `status` is the pill for run state, cadence, and freshness (a dot and an optional icon).
|
|
55
63
|
* Pattern-first: label, count, icon + label, avatar + label, icon-only, muted and outline emphasis,
|
|
56
|
-
* mono caps,
|
|
64
|
+
* mono caps, links (`render`), and the status pill.
|
|
57
65
|
*/
|
|
58
|
-
export declare function Badge({ children, variant, size, emphasis, mono, render, count, icon, avatar, iconOnly, id, className, }: BadgeProps): import("react").JSX.Element;
|
|
66
|
+
export declare function Badge({ children, variant, size, emphasis, mono, render, count, icon, avatar, iconOnly, status, dot, id, className, }: BadgeProps): import("react").JSX.Element;
|
|
59
67
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,EAiBL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,EAClB,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE5E,sEAAsE;AACtE,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,6GAA6G;AAC7G,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE,UAAU,CAGzD,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iEAAiE;IACjE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,mGAAmG;IACnG,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0FAA0F;IAC1F,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,0EAA0E;IAC1E,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,mGAAmG;IACnG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6DAA6D;IAC7D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC;AA0DD;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,OAAmB,EACnB,IAAW,EACX,QAAkB,EAClB,IAAY,EACZ,MAAM,EACN,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAgB,EAChB,MAAM,EACN,GAAW,EACX,EAAE,EACF,SAAS,GACV,EAAE,UAAU,+BAmFZ"}
|
|
@@ -1,80 +1,88 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn as e } from "../../../lib/cn.js";
|
|
3
3
|
import { Avatar as t } from "../Avatar/Avatar.js";
|
|
4
|
-
import { badgeAvatarLabelSizeClasses as n, badgeBaseClasses as r, badgeCountSizeClasses as i, badgeEmphases as a, badgeIconGapClasses as o, badgeIconOnlySizeClasses as s, badgeInteractiveClasses as c, badgeLabelSizeClasses as l, badgeSolidClasses as u,
|
|
5
|
-
import { BadgeIcon as
|
|
6
|
-
import { jsx as
|
|
7
|
-
import { useRender as
|
|
4
|
+
import { badgeAvatarLabelSizeClasses as n, badgeBaseClasses as r, badgeCountSizeClasses as i, badgeEmphases as a, badgeIconGapClasses as o, badgeIconOnlySizeClasses as s, badgeInteractiveClasses as c, badgeLabelSizeClasses as l, badgeSolidClasses as u, badgeStatusDotClasses as d, badgeStatusDotToneClasses as f, badgeStatusSizeClasses as p, badgeStatusSurfaceClasses as m, badgeStatuses as h, badgeSurfaceClasses as g, badgeVariants as _ } from "./badgeStyles.js";
|
|
5
|
+
import { BadgeIcon as v } from "./BadgeIcon.js";
|
|
6
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
7
|
+
import { useRender as x } from "@base-ui/react/use-render";
|
|
8
8
|
//#region src/components/atoms/Badge/Badge.tsx
|
|
9
|
-
var
|
|
9
|
+
var S = {
|
|
10
10
|
sm: "xsm",
|
|
11
11
|
md: "sm"
|
|
12
12
|
};
|
|
13
|
-
function
|
|
14
|
-
if ((e.render != null || e.mono) && (e.count != null || e.iconOnly) && console.warn("[WMDS Badge] `render` and `mono` apply to label, icon, and avatar badges — not `count` or `iconOnly`."), e.avatar && (e.icon || e.iconOnly || e.count != null) && console.warn("[WMDS Badge] `avatar` is mutually exclusive with `icon`, `iconOnly`, and `count`."), e.count != null && e.icon && console.warn("[WMDS Badge] `count` is mutually exclusive with `icon`."), e.iconOnly) {
|
|
13
|
+
function C(e) {
|
|
14
|
+
if ((e.render != null || e.mono) && (e.count != null || e.iconOnly) && console.warn("[WMDS Badge] `render` and `mono` apply to label, icon, and avatar badges — not `count` or `iconOnly`."), e.avatar && (e.icon || e.iconOnly || e.count != null) && console.warn("[WMDS Badge] `avatar` is mutually exclusive with `icon`, `iconOnly`, and `count`."), e.count != null && e.icon && console.warn("[WMDS Badge] `count` is mutually exclusive with `icon`."), e.status && (e.count != null || e.iconOnly || e.avatar) && console.warn("[WMDS Badge] `status` is a label pill — not with `count`, `iconOnly`, or `avatar`."), e.dot && !e.status && console.warn("[WMDS Badge] `dot` applies to a `status` pill."), e.iconOnly) {
|
|
15
15
|
e.icon || console.warn("[WMDS Badge] `iconOnly` requires `icon`."), (e.count != null || e.children != null) && console.warn("[WMDS Badge] `iconOnly` is mutually exclusive with `children` and `count`.");
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
18
|
e.children == null && e.count == null && console.warn("[WMDS Badge] Provide `children`, `count`, or `iconOnly` + `icon`.");
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return
|
|
20
|
+
function w({ render: e, ...t }) {
|
|
21
|
+
return x({
|
|
22
22
|
render: e,
|
|
23
23
|
defaultTagName: "span",
|
|
24
24
|
props: t
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
29
|
-
count:
|
|
30
|
-
icon:
|
|
31
|
-
avatar:
|
|
32
|
-
iconOnly:
|
|
27
|
+
function T({ children: a, variant: h = "neutral", size: _ = "sm", emphasis: x = "solid", mono: T = !1, render: E, count: D, icon: O, avatar: k, iconOnly: A = !1, status: j, dot: M = !1, id: N, className: P }) {
|
|
28
|
+
C({
|
|
29
|
+
count: D,
|
|
30
|
+
icon: O,
|
|
31
|
+
avatar: k,
|
|
32
|
+
iconOnly: A,
|
|
33
33
|
children: a,
|
|
34
|
-
render:
|
|
35
|
-
mono:
|
|
34
|
+
render: E,
|
|
35
|
+
mono: T,
|
|
36
|
+
status: j,
|
|
37
|
+
dot: M
|
|
36
38
|
});
|
|
37
|
-
let
|
|
38
|
-
return
|
|
39
|
-
id:
|
|
40
|
-
className: e(r,
|
|
41
|
-
"data-variant":
|
|
42
|
-
"data-size":
|
|
43
|
-
"data-emphasis":
|
|
39
|
+
let F = D != null && k == null && j == null, I = A && O != null && !F && k == null && j == null, L = k != null && !F && !I && j == null, R = j != null && !F && !I && !L, z = O != null && !F && !I && !L, B = R && M, V = R ? m[j] : g(h, x);
|
|
40
|
+
return F ? /* @__PURE__ */ y("span", {
|
|
41
|
+
id: N,
|
|
42
|
+
className: e(r, V, i[_], P),
|
|
43
|
+
"data-variant": h,
|
|
44
|
+
"data-size": _,
|
|
45
|
+
"data-emphasis": x,
|
|
44
46
|
"data-pattern": "count",
|
|
45
|
-
children:
|
|
46
|
-
}) :
|
|
47
|
-
id:
|
|
48
|
-
className: e(r, u[
|
|
49
|
-
"data-variant":
|
|
47
|
+
children: D
|
|
48
|
+
}) : I ? /* @__PURE__ */ y("span", {
|
|
49
|
+
id: N,
|
|
50
|
+
className: e(r, u[h], s, P),
|
|
51
|
+
"data-variant": h,
|
|
50
52
|
"data-pattern": "icon-only",
|
|
51
53
|
"aria-hidden": !0,
|
|
52
|
-
children: /* @__PURE__ */
|
|
54
|
+
children: /* @__PURE__ */ y(v, {
|
|
53
55
|
size: "sm",
|
|
54
|
-
children:
|
|
56
|
+
children: O
|
|
55
57
|
})
|
|
56
|
-
}) : /* @__PURE__ */
|
|
57
|
-
render:
|
|
58
|
-
id:
|
|
59
|
-
className: e(r,
|
|
60
|
-
"data-variant":
|
|
61
|
-
"data-size":
|
|
62
|
-
"data-emphasis":
|
|
63
|
-
"data-pattern":
|
|
64
|
-
"data-mono":
|
|
58
|
+
}) : /* @__PURE__ */ b(w, {
|
|
59
|
+
render: E,
|
|
60
|
+
id: N,
|
|
61
|
+
className: e(r, V, R ? p[_] : L ? n[_] : l[_], !R && z && o[_], T && "!font-mono !text-[length:var(--font-size-sm)] !font-normal !uppercase !tracking-[0.14em]", E != null && c, E != null && x === "outline" && "hover:border-fg", P),
|
|
62
|
+
"data-variant": h,
|
|
63
|
+
"data-size": _,
|
|
64
|
+
"data-emphasis": R ? "muted" : x,
|
|
65
|
+
"data-pattern": R ? "status" : L ? "avatar" : z ? "icon" : "label",
|
|
66
|
+
"data-mono": T ? "" : void 0,
|
|
67
|
+
"data-status": R ? j : void 0,
|
|
65
68
|
children: [
|
|
66
|
-
|
|
67
|
-
name:
|
|
68
|
-
src:
|
|
69
|
-
size: _
|
|
69
|
+
L && k != null ? /* @__PURE__ */ y(t, {
|
|
70
|
+
name: k.alt,
|
|
71
|
+
src: k.src,
|
|
72
|
+
size: S[_]
|
|
70
73
|
}) : null,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
B ? /* @__PURE__ */ y("span", {
|
|
75
|
+
className: e(d, f[j], j === "active" && "animate-status-dot-pulse"),
|
|
76
|
+
"data-pulsing": j === "active" ? "" : void 0,
|
|
77
|
+
"aria-hidden": !0
|
|
78
|
+
}) : null,
|
|
79
|
+
z ? /* @__PURE__ */ y(v, {
|
|
80
|
+
size: _,
|
|
81
|
+
children: O
|
|
74
82
|
}) : null,
|
|
75
83
|
a
|
|
76
84
|
]
|
|
77
85
|
});
|
|
78
86
|
}
|
|
79
87
|
//#endregion
|
|
80
|
-
export {
|
|
88
|
+
export { T as Badge, S as badgeAvatarSize, a as badgeEmphases, h as badgeStatuses, _ as badgeVariants };
|
|
@@ -4,6 +4,21 @@ export type BadgeVariant = (typeof badgeVariants)[number];
|
|
|
4
4
|
export type BadgeSize = "sm" | "md";
|
|
5
5
|
export declare const badgeEmphases: readonly ["solid", "muted", "outline"];
|
|
6
6
|
export type BadgeEmphasis = (typeof badgeEmphases)[number];
|
|
7
|
+
/** Run state, cadence, and freshness — a pill, not a new component. */
|
|
8
|
+
export declare const badgeStatuses: readonly ["active", "idle", "success", "failed", "warning"];
|
|
9
|
+
export type BadgeStatus = (typeof badgeStatuses)[number];
|
|
10
|
+
/**
|
|
11
|
+
* Status-pill fills. `active` is brand navy through `bg-brand-tint` / `text-brand-outline`
|
|
12
|
+
* (navy in light, the lifted navy in dark). The others reuse muted badge fills.
|
|
13
|
+
*/
|
|
14
|
+
export declare const badgeStatusSurfaceClasses: Record<BadgeStatus, string>;
|
|
15
|
+
/** 8px mark — same scale as Status `variant="dot"`, painted here so Badge stays an atom. */
|
|
16
|
+
export declare const badgeStatusDotClasses = "inline-block size-2 shrink-0 rounded-full";
|
|
17
|
+
export declare const badgeStatusDotToneClasses: Record<BadgeStatus, string>;
|
|
18
|
+
/** Pulses on `active` only. Reduced motion clears it in global.css. */
|
|
19
|
+
export declare const badgeStatusDotPulseClass = "animate-status-dot-pulse";
|
|
20
|
+
/** Cluster heights so a status pill sits with Chip, not the 20px label badge. */
|
|
21
|
+
export declare const badgeStatusSizeClasses: Record<BadgeSize, string>;
|
|
7
22
|
/** Shared shell — Astryx-style compact pill labels. */
|
|
8
23
|
export declare const badgeBaseClasses = "inline-flex shrink-0 items-center justify-center font-sans font-medium normal-case tracking-normal";
|
|
9
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badgeStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Badge/badgeStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"badgeStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Badge/badgeStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAKrE,eAAO,MAAM,aAAa,mEAAoE,CAAC;AAE/F,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpC,eAAO,MAAM,aAAa,wCAAyC,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3D,uEAAuE;AACvE,eAAO,MAAM,aAAa,6DAA8D,CAAC;AAEzF,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAMjE,CAAC;AAEF,4FAA4F;AAC5F,eAAO,MAAM,qBAAqB,8CAA8C,CAAC;AAEjF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAMjE,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,wBA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,kFAAkF;AAClF,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAKhE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAEnE;AAED,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,57 +1,79 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn as e } from "../../../lib/cn.js";
|
|
3
|
-
import {
|
|
3
|
+
import { clusterHeightClasses as t } from "../../../lib/clusterScale.js";
|
|
4
|
+
import { motionTransition as n } from "../../../lib/motion.js";
|
|
4
5
|
//#region src/components/atoms/Badge/badgeStyles.ts
|
|
5
|
-
var
|
|
6
|
+
var r = [
|
|
6
7
|
"neutral",
|
|
7
8
|
"info",
|
|
8
9
|
"success",
|
|
9
10
|
"warning",
|
|
10
11
|
"destructive"
|
|
11
|
-
],
|
|
12
|
+
], i = [
|
|
12
13
|
"solid",
|
|
13
14
|
"muted",
|
|
14
15
|
"outline"
|
|
15
|
-
],
|
|
16
|
+
], a = [
|
|
17
|
+
"active",
|
|
18
|
+
"idle",
|
|
19
|
+
"success",
|
|
20
|
+
"failed",
|
|
21
|
+
"warning"
|
|
22
|
+
], o = {
|
|
23
|
+
active: "border border-transparent bg-brand-tint text-brand-outline",
|
|
24
|
+
idle: "border border-border bg-secondary text-secondary-foreground",
|
|
25
|
+
success: "bg-success-muted text-success",
|
|
26
|
+
failed: "bg-error-muted text-error",
|
|
27
|
+
warning: "bg-warning-muted text-warning"
|
|
28
|
+
}, s = "inline-block size-2 shrink-0 rounded-full", c = {
|
|
29
|
+
active: "bg-brand-outline",
|
|
30
|
+
idle: "bg-muted",
|
|
31
|
+
success: "bg-success",
|
|
32
|
+
failed: "bg-error",
|
|
33
|
+
warning: "bg-warning"
|
|
34
|
+
}, l = "animate-status-dot-pulse", u = {
|
|
35
|
+
sm: `${t.sm} gap-1.5 rounded-[var(--radius-control)] px-2.5 text-xs leading-none tabular-nums`,
|
|
36
|
+
md: `${t.md} gap-2 rounded-[var(--radius-control)] px-3 text-sm leading-none tabular-nums`
|
|
37
|
+
}, d = "inline-flex shrink-0 items-center justify-center font-sans font-medium normal-case tracking-normal", f = {
|
|
16
38
|
neutral: "border border-border bg-secondary text-secondary-foreground shadow-raised",
|
|
17
39
|
info: "bg-info text-on-info",
|
|
18
40
|
success: "bg-success text-on-success",
|
|
19
41
|
warning: "bg-warning text-on-warning",
|
|
20
42
|
destructive: "bg-error text-on-error"
|
|
21
|
-
},
|
|
43
|
+
}, p = {
|
|
22
44
|
neutral: "border border-border bg-secondary text-secondary-foreground",
|
|
23
45
|
info: "bg-info-muted text-info",
|
|
24
46
|
success: "bg-success-muted text-success",
|
|
25
47
|
warning: "bg-warning-muted text-warning",
|
|
26
48
|
destructive: "bg-error-muted text-error"
|
|
27
|
-
},
|
|
49
|
+
}, m = {
|
|
28
50
|
neutral: "border border-border-emphasized bg-transparent text-fg",
|
|
29
51
|
info: "border border-info bg-transparent text-info",
|
|
30
52
|
success: "border border-success bg-transparent text-success",
|
|
31
53
|
warning: "border border-warning bg-transparent text-warning",
|
|
32
54
|
destructive: "border border-error bg-transparent text-error"
|
|
33
55
|
};
|
|
34
|
-
function
|
|
35
|
-
return t === "outline" ?
|
|
56
|
+
function h(e, t) {
|
|
57
|
+
return t === "outline" ? m[e] : t === "muted" ? p[e] : f[e];
|
|
36
58
|
}
|
|
37
|
-
var
|
|
38
|
-
sm: "h-5 rounded-
|
|
39
|
-
md: "h-6 rounded-
|
|
40
|
-
},
|
|
59
|
+
var g = "!font-mono !text-[length:var(--font-size-sm)] !font-normal !uppercase !tracking-[0.14em]", _ = e("relative cursor-pointer decoration-1 underline-offset-2 hover:underline", "after:absolute after:inset-x-0 after:top-1/2 after:h-11 after:-translate-y-1/2 after:content-['']", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:ring-offset-body", "transition-[border-color,text-decoration-color]", n("fast")), v = "hover:border-fg", y = {
|
|
60
|
+
sm: "h-5 rounded-[var(--radius-control)] px-2 text-xs leading-none",
|
|
61
|
+
md: "h-6 rounded-[var(--radius-control)] px-2.5 text-sm leading-none"
|
|
62
|
+
}, b = {
|
|
41
63
|
sm: "gap-1",
|
|
42
64
|
md: "gap-1.5"
|
|
43
|
-
},
|
|
44
|
-
sm: "h-5 gap-1 rounded-
|
|
45
|
-
md: "h-6 gap-1.5 rounded-
|
|
46
|
-
},
|
|
65
|
+
}, x = {
|
|
66
|
+
sm: "h-5 gap-1 rounded-[var(--radius-control)] py-0 pl-0 pr-2 text-xs leading-none",
|
|
67
|
+
md: "h-6 gap-1.5 rounded-[var(--radius-control)] py-0 pl-0 pr-2.5 text-sm leading-none"
|
|
68
|
+
}, S = {
|
|
47
69
|
sm: "size-3 shrink-0 stroke-current",
|
|
48
70
|
md: "size-3.5 shrink-0 stroke-current"
|
|
49
|
-
},
|
|
71
|
+
}, C = {
|
|
50
72
|
sm: "min-h-[1.125rem] min-w-[1.125rem] rounded-full px-1 text-xs leading-none tabular-nums",
|
|
51
73
|
md: "min-h-[1.25rem] min-w-[1.25rem] rounded-full px-1 text-sm leading-none tabular-nums"
|
|
52
|
-
},
|
|
53
|
-
function
|
|
74
|
+
}, w = "size-[1.375rem] rounded-full p-0", T = "border border-transparent bg-surface text-fg shadow-raised";
|
|
75
|
+
function E(t) {
|
|
54
76
|
return e("rounded px-[length:var(--spacing-1)] text-[10.5px] leading-none tabular-nums text-muted", t && "bg-secondary");
|
|
55
77
|
}
|
|
56
78
|
//#endregion
|
|
57
|
-
export {
|
|
79
|
+
export { x as badgeAvatarLabelSizeClasses, d as badgeBaseClasses, C as badgeCountSizeClasses, i as badgeEmphases, b as badgeIconGapClasses, w as badgeIconOnlySizeClasses, S as badgeIconSizeClasses, _ as badgeInteractiveClasses, v as badgeInteractiveOutlineClasses, y as badgeLabelSizeClasses, g as badgeMonoClasses, p as badgeMutedClasses, T as badgeOnButtonCountClasses, m as badgeOutlineClasses, E as badgeSegmentCountClasses, f as badgeSolidClasses, s as badgeStatusDotClasses, l as badgeStatusDotPulseClass, c as badgeStatusDotToneClasses, u as badgeStatusSizeClasses, o as badgeStatusSurfaceClasses, a as badgeStatuses, h as badgeSurfaceClasses, r as badgeVariants };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AriaAttributes, ReactNode } from "react";
|
|
2
|
+
import { type BandElement, type BandSpacing, type BandTone } from "./bandStyles";
|
|
3
|
+
export { bandElements, bandSpacings, bandTones, type BandElement, type BandSpacing, type BandTone, } from "./bandStyles";
|
|
4
|
+
/** Layout-only — margin or grid placement of the band itself. */
|
|
5
|
+
export type BandLayoutClassName = string;
|
|
6
|
+
export interface BandProps {
|
|
7
|
+
/** Section content, placed on the band's own `grid-page` columns with `col-span-*` / `col-start-*`. */
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
/** `default` keeps the page's colours; `inverse` (brand surface) and `field` re-skin everything inside. */
|
|
10
|
+
tone?: BandTone;
|
|
11
|
+
/** Space above and below the content: `md` (default) 48px, `lg` 96px, `none`. */
|
|
12
|
+
spacing?: BandSpacing;
|
|
13
|
+
/** The band element. Default: `section`. */
|
|
14
|
+
as?: BandElement;
|
|
15
|
+
id?: string;
|
|
16
|
+
"aria-label"?: AriaAttributes["aria-label"];
|
|
17
|
+
"aria-labelledby"?: AriaAttributes["aria-labelledby"];
|
|
18
|
+
className?: BandLayoutClassName;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A full-bleed page section in one of the brand kit's tones. Its tone remaps the surface, text,
|
|
22
|
+
* border and fill roles (`data-tone`), so every WMDS component inside re-skins with no `className`.
|
|
23
|
+
* It holds its own `grid-page` on the shared `--grid-*` tokens, so its columns line up with the
|
|
24
|
+
* page's; placed inside a `grid-page` it bleeds to the viewport edges and keeps the page's columns.
|
|
25
|
+
*/
|
|
26
|
+
export declare function Band({ children, tone, spacing, as: Element, id, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className, }: BandProps): import("react").JSX.Element;
|
|
27
|
+
//# sourceMappingURL=Band.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Band.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Band/Band.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACd,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,QAAQ,GACd,MAAM,cAAc,CAAC;AAEtB,iEAAiE;AACjE,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,SAAS;IACxB,uGAAuG;IACvG,QAAQ,EAAE,SAAS,CAAC;IACpB,2GAA2G;IAC3G,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,iFAAiF;IACjF,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,4CAA4C;IAC5C,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC5C,iBAAiB,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC,CAAC;IACtD,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,IAAgB,EAChB,OAAc,EACd,EAAE,EAAE,OAAmB,EACvB,EAAE,EACF,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,SAAS,GACV,EAAE,SAAS,+BAeX"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../../lib/cn.js";
|
|
3
|
+
import { bandClasses as t, bandElements as n, bandPageClasses as r, bandSpacingClasses as i, bandSpacings as a, bandTones as o } from "./bandStyles.js";
|
|
4
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/atoms/Band/Band.tsx
|
|
6
|
+
function c({ children: n, tone: a = "default", spacing: o = "md", as: c = "section", id: l, "aria-label": u, "aria-labelledby": d, className: f }) {
|
|
7
|
+
return /* @__PURE__ */ s(c, {
|
|
8
|
+
id: l,
|
|
9
|
+
"aria-label": u,
|
|
10
|
+
"aria-labelledby": d,
|
|
11
|
+
className: e(t, i[o], f),
|
|
12
|
+
"data-band": "",
|
|
13
|
+
"data-tone": a,
|
|
14
|
+
"data-theme": a === "inverse" ? "dark" : void 0,
|
|
15
|
+
children: /* @__PURE__ */ s("div", {
|
|
16
|
+
className: r,
|
|
17
|
+
children: n
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { c as Band, n as bandElements, a as bandSpacings, o as bandTones };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const bandTones: readonly ["default", "inverse", "field"];
|
|
2
|
+
/**
|
|
3
|
+
* `default` — the page's own colours. `inverse` — the brand surface (`--color-brand-surface`, a dark
|
|
4
|
+
* section; dark status, chart and focus roles). `field` — the saturated section colour (`--color-field`).
|
|
5
|
+
*/
|
|
6
|
+
export type BandTone = (typeof bandTones)[number];
|
|
7
|
+
export declare const bandSpacings: readonly ["md", "lg", "none"];
|
|
8
|
+
/** Space above and below the content: `md` (default) 48px, `lg` 96px, `none` 0. */
|
|
9
|
+
export type BandSpacing = (typeof bandSpacings)[number];
|
|
10
|
+
export declare const bandElements: readonly ["section", "div", "header", "footer", "aside"];
|
|
11
|
+
export type BandElement = (typeof bandElements)[number];
|
|
12
|
+
/**
|
|
13
|
+
* Full-width block; the inner `grid-page` keeps its columns and margins (grid.css → Band). Inside a
|
|
14
|
+
* parent `grid-page` it spans every column: a band is full width by definition.
|
|
15
|
+
*/
|
|
16
|
+
export declare const bandClasses = "relative col-[1/-1] block w-full min-w-0";
|
|
17
|
+
/** The inner page drops its own block padding; Band's spacing is the section's. */
|
|
18
|
+
export declare const bandPageClasses = "grid-page !py-0";
|
|
19
|
+
export declare const bandSpacingClasses: Record<BandSpacing, string>;
|
|
20
|
+
//# sourceMappingURL=bandStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bandStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Band/bandStyles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,0CAA2C,CAAC;AAElE;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,+BAAgC,CAAC;AAE1D,mFAAmF;AACnF,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAExD,eAAO,MAAM,YAAY,0DAA2D,CAAC;AAErF,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,WAAW,6CAA6C,CAAC;AAEtE,mFAAmF;AACnF,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI1D,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/components/atoms/Band/bandStyles.ts
|
|
3
|
+
var e = [
|
|
4
|
+
"default",
|
|
5
|
+
"inverse",
|
|
6
|
+
"field"
|
|
7
|
+
], t = [
|
|
8
|
+
"md",
|
|
9
|
+
"lg",
|
|
10
|
+
"none"
|
|
11
|
+
], n = [
|
|
12
|
+
"section",
|
|
13
|
+
"div",
|
|
14
|
+
"header",
|
|
15
|
+
"footer",
|
|
16
|
+
"aside"
|
|
17
|
+
], r = "relative col-[1/-1] block w-full min-w-0", i = "grid-page !py-0", a = {
|
|
18
|
+
md: "py-[calc(var(--leading-base)*2)]",
|
|
19
|
+
lg: "py-[calc(var(--leading-base)*4)]",
|
|
20
|
+
none: ""
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as bandClasses, n as bandElements, i as bandPageClasses, a as bandSpacingClasses, t as bandSpacings, e as bandTones };
|
|
@@ -10,7 +10,7 @@ export type ButtonLayoutClassName = string;
|
|
|
10
10
|
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className" | "role" | "size"> {
|
|
11
11
|
/** Button label. */
|
|
12
12
|
children: ReactNode;
|
|
13
|
-
/** Action role — primary, secondary, ghost, destructive, inverse, or outline (hairline
|
|
13
|
+
/** Action role — primary, secondary, ghost, destructive, inverse, outline, or inverse-outline (on-brand hairline). Default: `primary`. */
|
|
14
14
|
role?: ButtonRole;
|
|
15
15
|
/** `pill` (default) or `row` — flat full-width lines for detail / settings rows. */
|
|
16
16
|
layout?: ButtonLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAeL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACrH,OAAO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