@thewhatmatters/wmds 0.2.0
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 +53 -0
- package/CONSUMING.md +352 -0
- package/LICENSE +21 -0
- package/README.md +65 -0
- package/bin/wmds-check.mjs +173 -0
- package/dist/cluster.css +14 -0
- package/dist/collapse.css +24 -0
- package/dist/colors.css +282 -0
- package/dist/components/atoms/Avatar/Avatar.d.ts +22 -0
- package/dist/components/atoms/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/Avatar.js +52 -0
- package/dist/components/atoms/Avatar/avatarStyles.d.ts +23 -0
- package/dist/components/atoms/Avatar/avatarStyles.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/avatarStyles.js +48 -0
- package/dist/components/atoms/Badge/Badge.d.ts +47 -0
- package/dist/components/atoms/Badge/Badge.d.ts.map +1 -0
- package/dist/components/atoms/Badge/Badge.js +68 -0
- package/dist/components/atoms/Badge/BadgeIcon.d.ts +7 -0
- package/dist/components/atoms/Badge/BadgeIcon.d.ts.map +1 -0
- package/dist/components/atoms/Badge/BadgeIcon.js +14 -0
- package/dist/components/atoms/Badge/BadgeSegmentCount.d.ts +6 -0
- package/dist/components/atoms/Badge/BadgeSegmentCount.d.ts.map +1 -0
- package/dist/components/atoms/Badge/BadgeSegmentCount.js +13 -0
- package/dist/components/atoms/Badge/badgeStyles.d.ts +37 -0
- package/dist/components/atoms/Badge/badgeStyles.d.ts.map +1 -0
- package/dist/components/atoms/Badge/badgeStyles.js +46 -0
- package/dist/components/atoms/Button/Button.d.ts +77 -0
- package/dist/components/atoms/Button/Button.d.ts.map +1 -0
- package/dist/components/atoms/Button/Button.js +138 -0
- package/dist/components/atoms/Button/ButtonBadge.d.ts +5 -0
- package/dist/components/atoms/Button/ButtonBadge.d.ts.map +1 -0
- package/dist/components/atoms/Button/ButtonBadge.js +14 -0
- package/dist/components/atoms/Button/ButtonIcon.d.ts +8 -0
- package/dist/components/atoms/Button/ButtonIcon.d.ts.map +1 -0
- package/dist/components/atoms/Button/ButtonIcon.js +14 -0
- package/dist/components/atoms/Button/ButtonSpinner.d.ts +6 -0
- package/dist/components/atoms/Button/ButtonSpinner.d.ts.map +1 -0
- package/dist/components/atoms/Button/ButtonSpinner.js +13 -0
- package/dist/components/atoms/Button/ButtonStatusButton.d.ts +23 -0
- package/dist/components/atoms/Button/ButtonStatusButton.d.ts.map +1 -0
- package/dist/components/atoms/Button/ButtonStatusButton.js +43 -0
- package/dist/components/atoms/Button/ButtonStatusContent.d.ts +10 -0
- package/dist/components/atoms/Button/ButtonStatusContent.d.ts.map +1 -0
- package/dist/components/atoms/Button/ButtonStatusContent.js +92 -0
- package/dist/components/atoms/Button/buttonStatusMotion.d.ts +40 -0
- package/dist/components/atoms/Button/buttonStatusMotion.d.ts.map +1 -0
- package/dist/components/atoms/Button/buttonStatusMotion.js +100 -0
- package/dist/components/atoms/Button/buttonStatusStyles.d.ts +21 -0
- package/dist/components/atoms/Button/buttonStatusStyles.d.ts.map +1 -0
- package/dist/components/atoms/Button/buttonStatusStyles.js +39 -0
- package/dist/components/atoms/Button/buttonStyles.d.ts +47 -0
- package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -0
- package/dist/components/atoms/Button/buttonStyles.js +54 -0
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +31 -0
- package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/atoms/Checkbox/Checkbox.js +101 -0
- package/dist/components/atoms/Checkbox/checkboxStyles.d.ts +37 -0
- package/dist/components/atoms/Checkbox/checkboxStyles.d.ts.map +1 -0
- package/dist/components/atoms/Checkbox/checkboxStyles.js +42 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts +49 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/atoms/IconButton/IconButton.js +84 -0
- package/dist/components/atoms/IconButton/iconButtonStyles.d.ts +17 -0
- package/dist/components/atoms/IconButton/iconButtonStyles.d.ts.map +1 -0
- package/dist/components/atoms/IconButton/iconButtonStyles.js +13 -0
- package/dist/components/atoms/Input/Input.d.ts +37 -0
- package/dist/components/atoms/Input/Input.d.ts.map +1 -0
- package/dist/components/atoms/Input/Input.js +105 -0
- package/dist/components/atoms/Input/inputShellStyles.d.ts +99 -0
- package/dist/components/atoms/Input/inputShellStyles.d.ts.map +1 -0
- package/dist/components/atoms/Input/inputShellStyles.js +119 -0
- package/dist/components/atoms/Kbd/Kbd.d.ts +18 -0
- package/dist/components/atoms/Kbd/Kbd.d.ts.map +1 -0
- package/dist/components/atoms/Kbd/Kbd.js +15 -0
- package/dist/components/atoms/Kbd/kbdStyles.d.ts +5 -0
- package/dist/components/atoms/Kbd/kbdStyles.d.ts.map +1 -0
- package/dist/components/atoms/Kbd/kbdStyles.js +8 -0
- package/dist/components/atoms/Kbd/useKbdChoiceKeys.d.ts +21 -0
- package/dist/components/atoms/Kbd/useKbdChoiceKeys.d.ts.map +1 -0
- package/dist/components/atoms/Kbd/useKbdChoiceKeys.js +18 -0
- package/dist/components/atoms/Radio/Radio.d.ts +26 -0
- package/dist/components/atoms/Radio/Radio.d.ts.map +1 -0
- package/dist/components/atoms/Radio/Radio.js +84 -0
- package/dist/components/atoms/Radio/radioStyles.d.ts +28 -0
- package/dist/components/atoms/Radio/radioStyles.d.ts.map +1 -0
- package/dist/components/atoms/Radio/radioStyles.js +36 -0
- package/dist/components/atoms/RiveHand/RiveHand.d.ts +44 -0
- package/dist/components/atoms/RiveHand/RiveHand.d.ts.map +1 -0
- package/dist/components/atoms/RiveHand/RiveHand.js +254 -0
- package/dist/components/atoms/RiveHand/riveHandUtils.d.ts +168 -0
- package/dist/components/atoms/RiveHand/riveHandUtils.d.ts.map +1 -0
- package/dist/components/atoms/RiveHand/riveHandUtils.js +123 -0
- package/dist/components/atoms/Skeleton/Skeleton.d.ts +28 -0
- package/dist/components/atoms/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/atoms/Skeleton/Skeleton.js +32 -0
- package/dist/components/atoms/Skeleton/skeletonStyles.d.ts +23 -0
- package/dist/components/atoms/Skeleton/skeletonStyles.d.ts.map +1 -0
- package/dist/components/atoms/Skeleton/skeletonStyles.js +30 -0
- package/dist/components/atoms/Status/Status.d.ts +40 -0
- package/dist/components/atoms/Status/Status.d.ts.map +1 -0
- package/dist/components/atoms/Status/Status.js +84 -0
- package/dist/components/atoms/Status/statusDotStyles.d.ts +10 -0
- package/dist/components/atoms/Status/statusDotStyles.d.ts.map +1 -0
- package/dist/components/atoms/Status/statusDotStyles.js +17 -0
- package/dist/components/atoms/Status/statusRingStyles.d.ts +12 -0
- package/dist/components/atoms/Status/statusRingStyles.d.ts.map +1 -0
- package/dist/components/atoms/Status/statusRingStyles.js +6 -0
- package/dist/components/atoms/Switch/Switch.d.ts +27 -0
- package/dist/components/atoms/Switch/Switch.d.ts.map +1 -0
- package/dist/components/atoms/Switch/Switch.js +109 -0
- package/dist/components/atoms/Switch/switchStyles.d.ts +36 -0
- package/dist/components/atoms/Switch/switchStyles.d.ts.map +1 -0
- package/dist/components/atoms/Switch/switchStyles.js +39 -0
- package/dist/components/atoms/TextArea/TextArea.d.ts +37 -0
- package/dist/components/atoms/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/atoms/TextArea/TextArea.js +115 -0
- package/dist/components/atoms/TextArea/textareaShellStyles.d.ts +41 -0
- package/dist/components/atoms/TextArea/textareaShellStyles.d.ts.map +1 -0
- package/dist/components/atoms/TextArea/textareaShellStyles.js +71 -0
- package/dist/components/atoms/TextLink/TextLink.d.ts +14 -0
- package/dist/components/atoms/TextLink/TextLink.d.ts.map +1 -0
- package/dist/components/atoms/TextLink/TextLink.js +26 -0
- package/dist/components/atoms/TextLink/textLinkStyles.d.ts +3 -0
- package/dist/components/atoms/TextLink/textLinkStyles.d.ts.map +1 -0
- package/dist/components/atoms/TextLink/textLinkStyles.js +6 -0
- package/dist/components/atoms/TextSequenceShape/TextSequenceShape.d.ts +21 -0
- package/dist/components/atoms/TextSequenceShape/TextSequenceShape.d.ts.map +1 -0
- package/dist/components/atoms/TextSequenceShape/TextSequenceShape.js +175 -0
- package/dist/components/atoms/TextSequenceShape/textSequenceShapeStyles.d.ts +28 -0
- package/dist/components/atoms/TextSequenceShape/textSequenceShapeStyles.d.ts.map +1 -0
- package/dist/components/atoms/TextSequenceShape/textSequenceShapeStyles.js +39 -0
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +63 -0
- package/dist/components/atoms/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/atoms/Tooltip/Tooltip.js +82 -0
- package/dist/components/atoms/Tooltip/tooltipStyles.d.ts +4 -0
- package/dist/components/atoms/Tooltip/tooltipStyles.d.ts.map +1 -0
- package/dist/components/atoms/Tooltip/tooltipStyles.js +15 -0
- package/dist/components/atoms/inputShared/InputStatusBanner.d.ts +13 -0
- package/dist/components/atoms/inputShared/InputStatusBanner.d.ts.map +1 -0
- package/dist/components/atoms/inputShared/InputStatusBanner.js +24 -0
- package/dist/components/atoms/inputShared/InputTrailingAffordance.d.ts +8 -0
- package/dist/components/atoms/inputShared/InputTrailingAffordance.d.ts.map +1 -0
- package/dist/components/atoms/inputShared/InputTrailingAffordance.js +26 -0
- package/dist/components/molecules/Accordion/Accordion.d.ts +36 -0
- package/dist/components/molecules/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/molecules/Accordion/Accordion.js +82 -0
- package/dist/components/molecules/Accordion/accordionStyles.d.ts +45 -0
- package/dist/components/molecules/Accordion/accordionStyles.d.ts.map +1 -0
- package/dist/components/molecules/Accordion/accordionStyles.js +12 -0
- package/dist/components/molecules/CalEmbed/CalEmbed.d.ts +58 -0
- package/dist/components/molecules/CalEmbed/CalEmbed.d.ts.map +1 -0
- package/dist/components/molecules/CalEmbed/CalEmbed.js +50 -0
- package/dist/components/molecules/CalEmbed/calEmbedStyles.d.ts +5 -0
- package/dist/components/molecules/CalEmbed/calEmbedStyles.d.ts.map +1 -0
- package/dist/components/molecules/CalEmbed/calEmbedStyles.js +5 -0
- package/dist/components/molecules/Card/Card.d.ts +53 -0
- package/dist/components/molecules/Card/Card.d.ts.map +1 -0
- package/dist/components/molecules/Card/Card.js +72 -0
- package/dist/components/molecules/Card/cardStyles.d.ts +82 -0
- package/dist/components/molecules/Card/cardStyles.d.ts.map +1 -0
- package/dist/components/molecules/Card/cardStyles.js +60 -0
- package/dist/components/molecules/ChatQa/ChatQa.d.ts +25 -0
- package/dist/components/molecules/ChatQa/ChatQa.d.ts.map +1 -0
- package/dist/components/molecules/ChatQa/ChatQa.js +23 -0
- package/dist/components/molecules/ChatQa/chatQaStyles.d.ts +9 -0
- package/dist/components/molecules/ChatQa/chatQaStyles.d.ts.map +1 -0
- package/dist/components/molecules/ChatQa/chatQaStyles.js +5 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +29 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.js +76 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroupContext.d.ts +14 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroupContext.d.ts.map +1 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroupContext.js +17 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.d.ts +12 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.d.ts.map +1 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.js +23 -0
- package/dist/components/molecules/CheckboxGroup/checkboxGroupStyles.d.ts +16 -0
- package/dist/components/molecules/CheckboxGroup/checkboxGroupStyles.d.ts.map +1 -0
- package/dist/components/molecules/CheckboxGroup/checkboxGroupStyles.js +15 -0
- package/dist/components/molecules/Chip/Chip.d.ts +32 -0
- package/dist/components/molecules/Chip/Chip.d.ts.map +1 -0
- package/dist/components/molecules/Chip/Chip.js +116 -0
- package/dist/components/molecules/Chip/ChipFilterGroup.d.ts +30 -0
- package/dist/components/molecules/Chip/ChipFilterGroup.d.ts.map +1 -0
- package/dist/components/molecules/Chip/ChipFilterGroup.js +45 -0
- package/dist/components/molecules/Chip/chipStyles.d.ts +12 -0
- package/dist/components/molecules/Chip/chipStyles.d.ts.map +1 -0
- package/dist/components/molecules/Chip/chipStyles.js +23 -0
- package/dist/components/molecules/DisplayControls/DisplayControls.d.ts +27 -0
- package/dist/components/molecules/DisplayControls/DisplayControls.d.ts.map +1 -0
- package/dist/components/molecules/DisplayControls/DisplayControls.js +76 -0
- package/dist/components/molecules/DisplayControls/displayControlsState.d.ts +6 -0
- package/dist/components/molecules/DisplayControls/displayControlsState.d.ts.map +1 -0
- package/dist/components/molecules/DisplayControls/displayControlsState.js +18 -0
- package/dist/components/molecules/DisplayControls/displayControlsStyles.d.ts +4 -0
- package/dist/components/molecules/DisplayControls/displayControlsStyles.d.ts.map +1 -0
- package/dist/components/molecules/DisplayControls/displayControlsStyles.js +5 -0
- package/dist/components/molecules/Dropdown/Dropdown.d.ts +9 -0
- package/dist/components/molecules/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/Dropdown.js +10 -0
- package/dist/components/molecules/Dropdown/DropdownItem.d.ts +23 -0
- package/dist/components/molecules/Dropdown/DropdownItem.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/DropdownItem.js +36 -0
- package/dist/components/molecules/Dropdown/DropdownMenu.d.ts +10 -0
- package/dist/components/molecules/Dropdown/DropdownMenu.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/DropdownMenu.js +14 -0
- package/dist/components/molecules/Dropdown/dropdownMenuPosition.d.ts +25 -0
- package/dist/components/molecules/Dropdown/dropdownMenuPosition.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/dropdownMenuPosition.js +56 -0
- package/dist/components/molecules/Dropdown/dropdownStyles.d.ts +31 -0
- package/dist/components/molecules/Dropdown/dropdownStyles.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/dropdownStyles.js +8 -0
- package/dist/components/molecules/Field/Field.d.ts +25 -0
- package/dist/components/molecules/Field/Field.d.ts.map +1 -0
- package/dist/components/molecules/Field/Field.js +80 -0
- package/dist/components/molecules/Field/fieldStyles.d.ts +16 -0
- package/dist/components/molecules/Field/fieldStyles.d.ts.map +1 -0
- package/dist/components/molecules/Field/fieldStyles.js +11 -0
- package/dist/components/molecules/FloatingActionButton/FloatingActionButton.d.ts +22 -0
- package/dist/components/molecules/FloatingActionButton/FloatingActionButton.d.ts.map +1 -0
- package/dist/components/molecules/FloatingActionButton/FloatingActionButton.js +135 -0
- package/dist/components/molecules/FloatingActionButton/floatingActionButtonStyles.d.ts +9 -0
- package/dist/components/molecules/FloatingActionButton/floatingActionButtonStyles.d.ts.map +1 -0
- package/dist/components/molecules/FloatingActionButton/floatingActionButtonStyles.js +7 -0
- package/dist/components/molecules/HeroIntro/HeroIntro.d.ts +32 -0
- package/dist/components/molecules/HeroIntro/HeroIntro.d.ts.map +1 -0
- package/dist/components/molecules/HeroIntro/HeroIntro.js +24 -0
- package/dist/components/molecules/HeroIntro/heroIntroStyles.d.ts +30 -0
- package/dist/components/molecules/HeroIntro/heroIntroStyles.d.ts.map +1 -0
- package/dist/components/molecules/HeroIntro/heroIntroStyles.js +5 -0
- package/dist/components/molecules/IntakeForm/IntakeForm.d.ts +30 -0
- package/dist/components/molecules/IntakeForm/IntakeForm.d.ts.map +1 -0
- package/dist/components/molecules/IntakeForm/IntakeForm.js +137 -0
- package/dist/components/molecules/IntakeForm/intakeFormStyles.d.ts +3 -0
- package/dist/components/molecules/IntakeForm/intakeFormStyles.d.ts.map +1 -0
- package/dist/components/molecules/IntakeForm/intakeFormStyles.js +5 -0
- package/dist/components/molecules/NavList/NavList.d.ts +55 -0
- package/dist/components/molecules/NavList/NavList.d.ts.map +1 -0
- package/dist/components/molecules/NavList/NavList.js +103 -0
- package/dist/components/molecules/NavList/navListStyles.d.ts +15 -0
- package/dist/components/molecules/NavList/navListStyles.d.ts.map +1 -0
- package/dist/components/molecules/NavList/navListStyles.js +11 -0
- package/dist/components/molecules/PageHeader/PageHeader.d.ts +24 -0
- package/dist/components/molecules/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/components/molecules/PageHeader/PageHeader.js +43 -0
- package/dist/components/molecules/PageHeader/pageHeaderStyles.d.ts +9 -0
- package/dist/components/molecules/PageHeader/pageHeaderStyles.d.ts.map +1 -0
- package/dist/components/molecules/PageHeader/pageHeaderStyles.js +20 -0
- package/dist/components/molecules/PillGroup/PillGroup.d.ts +31 -0
- package/dist/components/molecules/PillGroup/PillGroup.d.ts.map +1 -0
- package/dist/components/molecules/PillGroup/PillGroup.js +53 -0
- package/dist/components/molecules/PillGroup/pillGroupStyles.d.ts +13 -0
- package/dist/components/molecules/PillGroup/pillGroupStyles.d.ts.map +1 -0
- package/dist/components/molecules/PillGroup/pillGroupStyles.js +7 -0
- package/dist/components/molecules/PromptBar/PromptBar.d.ts +33 -0
- package/dist/components/molecules/PromptBar/PromptBar.d.ts.map +1 -0
- package/dist/components/molecules/PromptBar/PromptBar.js +56 -0
- package/dist/components/molecules/PromptBar/promptBarStyles.d.ts +24 -0
- package/dist/components/molecules/PromptBar/promptBarStyles.d.ts.map +1 -0
- package/dist/components/molecules/PromptBar/promptBarStyles.js +6 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +34 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.js +76 -0
- package/dist/components/molecules/RadioGroup/RadioGroupContext.d.ts +16 -0
- package/dist/components/molecules/RadioGroup/RadioGroupContext.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/RadioGroupContext.js +23 -0
- package/dist/components/molecules/RadioGroup/RadioGroupItem.d.ts +12 -0
- package/dist/components/molecules/RadioGroup/RadioGroupItem.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/RadioGroupItem.js +21 -0
- package/dist/components/molecules/RadioGroup/radioGroupStyles.d.ts +16 -0
- package/dist/components/molecules/RadioGroup/radioGroupStyles.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/radioGroupStyles.js +15 -0
- package/dist/components/molecules/Search/Search.d.ts +24 -0
- package/dist/components/molecules/Search/Search.d.ts.map +1 -0
- package/dist/components/molecules/Search/Search.js +33 -0
- package/dist/components/molecules/Search/searchStyles.d.ts +10 -0
- package/dist/components/molecules/Search/searchStyles.d.ts.map +1 -0
- package/dist/components/molecules/Search/searchStyles.js +15 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControl.d.ts +25 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControl.js +36 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControlContext.d.ts +16 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControlContext.d.ts.map +1 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControlContext.js +18 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControlItem.d.ts +25 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControlItem.d.ts.map +1 -0
- package/dist/components/molecules/SegmentedControl/SegmentedControlItem.js +55 -0
- package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts +31 -0
- package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts.map +1 -0
- package/dist/components/molecules/SegmentedControl/segmentedControlStyles.js +28 -0
- package/dist/components/molecules/Select/Select.d.ts +34 -0
- package/dist/components/molecules/Select/Select.d.ts.map +1 -0
- package/dist/components/molecules/Select/Select.js +161 -0
- package/dist/components/molecules/Select/selectMenuPosition.d.ts +11 -0
- package/dist/components/molecules/Select/selectMenuPosition.d.ts.map +1 -0
- package/dist/components/molecules/Select/selectMenuPosition.js +14 -0
- package/dist/components/molecules/Select/selectStyles.d.ts +21 -0
- package/dist/components/molecules/Select/selectStyles.d.ts.map +1 -0
- package/dist/components/molecules/Select/selectStyles.js +21 -0
- package/dist/components/molecules/SelectableCard/SelectableCard.d.ts +33 -0
- package/dist/components/molecules/SelectableCard/SelectableCard.d.ts.map +1 -0
- package/dist/components/molecules/SelectableCard/SelectableCard.js +84 -0
- package/dist/components/molecules/SelectableCard/selectableCardStyles.d.ts +14 -0
- package/dist/components/molecules/SelectableCard/selectableCardStyles.d.ts.map +1 -0
- package/dist/components/molecules/SelectableCard/selectableCardStyles.js +7 -0
- package/dist/components/molecules/Stat/Stat.d.ts +47 -0
- package/dist/components/molecules/Stat/Stat.d.ts.map +1 -0
- package/dist/components/molecules/Stat/Stat.js +76 -0
- package/dist/components/molecules/Stat/statStyles.d.ts +23 -0
- package/dist/components/molecules/Stat/statStyles.d.ts.map +1 -0
- package/dist/components/molecules/Stat/statStyles.js +37 -0
- package/dist/components/molecules/StepProgress/StepProgress.d.ts +21 -0
- package/dist/components/molecules/StepProgress/StepProgress.d.ts.map +1 -0
- package/dist/components/molecules/StepProgress/StepProgress.js +44 -0
- package/dist/components/molecules/StepProgress/stepProgressStyles.d.ts +7 -0
- package/dist/components/molecules/StepProgress/stepProgressStyles.d.ts.map +1 -0
- package/dist/components/molecules/StepProgress/stepProgressStyles.js +7 -0
- package/dist/components/molecules/TaskRows/TaskRows.d.ts +67 -0
- package/dist/components/molecules/TaskRows/TaskRows.d.ts.map +1 -0
- package/dist/components/molecules/TaskRows/TaskRows.js +164 -0
- package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts +32 -0
- package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts.map +1 -0
- package/dist/components/molecules/TaskRows/taskRowsStyles.js +16 -0
- package/dist/components/molecules/TextSequence/TextSequence.d.ts +47 -0
- package/dist/components/molecules/TextSequence/TextSequence.d.ts.map +1 -0
- package/dist/components/molecules/TextSequence/TextSequence.js +242 -0
- package/dist/components/molecules/TextSequence/textSequenceStyles.d.ts +10 -0
- package/dist/components/molecules/TextSequence/textSequenceStyles.d.ts.map +1 -0
- package/dist/components/molecules/TextSequence/textSequenceStyles.js +5 -0
- package/dist/components/organisms/Chart/Chart.d.ts +76 -0
- package/dist/components/organisms/Chart/Chart.d.ts.map +1 -0
- package/dist/components/organisms/Chart/Chart.js +152 -0
- package/dist/components/organisms/Chart/ChartCartesian.d.ts +54 -0
- package/dist/components/organisms/Chart/ChartCartesian.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartCartesian.js +479 -0
- package/dist/components/organisms/Chart/ChartDistributionStrip.d.ts +24 -0
- package/dist/components/organisms/Chart/ChartDistributionStrip.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartDistributionStrip.js +156 -0
- package/dist/components/organisms/Chart/ChartHeatmap.d.ts +24 -0
- package/dist/components/organisms/Chart/ChartHeatmap.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartHeatmap.js +163 -0
- package/dist/components/organisms/Chart/ChartHoverTooltip.d.ts +13 -0
- package/dist/components/organisms/Chart/ChartHoverTooltip.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartHoverTooltip.js +29 -0
- package/dist/components/organisms/Chart/ChartLegend.d.ts +13 -0
- package/dist/components/organisms/Chart/ChartLegend.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartLegend.js +30 -0
- package/dist/components/organisms/Chart/ChartLoading.d.ts +12 -0
- package/dist/components/organisms/Chart/ChartLoading.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartLoading.js +24 -0
- package/dist/components/organisms/Chart/ChartRankedBars.d.ts +18 -0
- package/dist/components/organisms/Chart/ChartRankedBars.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartRankedBars.js +52 -0
- package/dist/components/organisms/Chart/ChartTooltipContent.d.ts +19 -0
- package/dist/components/organisms/Chart/ChartTooltipContent.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartTooltipContent.js +36 -0
- package/dist/components/organisms/Chart/ChartUnitGrid.d.ts +17 -0
- package/dist/components/organisms/Chart/ChartUnitGrid.d.ts.map +1 -0
- package/dist/components/organisms/Chart/ChartUnitGrid.js +95 -0
- package/dist/components/organisms/Chart/chartCartesianContext.d.ts +50 -0
- package/dist/components/organisms/Chart/chartCartesianContext.d.ts.map +1 -0
- package/dist/components/organisms/Chart/chartCartesianContext.js +18 -0
- package/dist/components/organisms/Chart/chartCartesianGaps.d.ts +74 -0
- package/dist/components/organisms/Chart/chartCartesianGaps.d.ts.map +1 -0
- package/dist/components/organisms/Chart/chartCartesianGaps.js +92 -0
- package/dist/components/organisms/Chart/chartCartesianMotion.d.ts +11 -0
- package/dist/components/organisms/Chart/chartCartesianMotion.d.ts.map +1 -0
- package/dist/components/organisms/Chart/chartCartesianMotion.js +15 -0
- package/dist/components/organisms/Chart/chartExploration.d.ts +8 -0
- package/dist/components/organisms/Chart/chartExploration.d.ts.map +1 -0
- package/dist/components/organisms/Chart/chartExploration.js +31 -0
- package/dist/components/organisms/Chart/chartSegmentedBarMotion.d.ts +12 -0
- package/dist/components/organisms/Chart/chartSegmentedBarMotion.d.ts.map +1 -0
- package/dist/components/organisms/Chart/chartSegmentedBarMotion.js +9 -0
- package/dist/components/organisms/Chart/chartStyles.d.ts +93 -0
- package/dist/components/organisms/Chart/chartStyles.d.ts.map +1 -0
- package/dist/components/organisms/Chart/chartStyles.js +11 -0
- package/dist/components/organisms/Confetti/Confetti.d.ts +35 -0
- package/dist/components/organisms/Confetti/Confetti.d.ts.map +1 -0
- package/dist/components/organisms/Confetti/Confetti.js +96 -0
- package/dist/components/organisms/Confetti/confettiPhysics.d.ts +116 -0
- package/dist/components/organisms/Confetti/confettiPhysics.d.ts.map +1 -0
- package/dist/components/organisms/Confetti/confettiPhysics.js +121 -0
- package/dist/components/organisms/Confetti/confettiStyles.d.ts +3 -0
- package/dist/components/organisms/Confetti/confettiStyles.d.ts.map +1 -0
- package/dist/components/organisms/Confetti/confettiStyles.js +5 -0
- package/dist/components/organisms/Dialog/AlertDialog.d.ts +31 -0
- package/dist/components/organisms/Dialog/AlertDialog.d.ts.map +1 -0
- package/dist/components/organisms/Dialog/AlertDialog.js +80 -0
- package/dist/components/organisms/Dialog/Dialog.d.ts +54 -0
- package/dist/components/organisms/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/organisms/Dialog/Dialog.js +158 -0
- package/dist/components/organisms/Dialog/DialogContext.d.ts +22 -0
- package/dist/components/organisms/Dialog/DialogContext.d.ts.map +1 -0
- package/dist/components/organisms/Dialog/DialogContext.js +25 -0
- package/dist/components/organisms/Dialog/OverlayPanelHeader.d.ts +21 -0
- package/dist/components/organisms/Dialog/OverlayPanelHeader.d.ts.map +1 -0
- package/dist/components/organisms/Dialog/OverlayPanelHeader.js +50 -0
- package/dist/components/organisms/Dialog/dialogStyles.d.ts +66 -0
- package/dist/components/organisms/Dialog/dialogStyles.d.ts.map +1 -0
- package/dist/components/organisms/Dialog/dialogStyles.js +24 -0
- package/dist/components/organisms/FooterReveal/FooterReveal.d.ts +78 -0
- package/dist/components/organisms/FooterReveal/FooterReveal.d.ts.map +1 -0
- package/dist/components/organisms/FooterReveal/FooterReveal.js +208 -0
- package/dist/components/organisms/FooterReveal/FooterRevealRuled.d.ts +40 -0
- package/dist/components/organisms/FooterReveal/FooterRevealRuled.d.ts.map +1 -0
- package/dist/components/organisms/FooterReveal/FooterRevealRuled.js +120 -0
- package/dist/components/organisms/FooterReveal/footerRevealAt.d.ts +8 -0
- package/dist/components/organisms/FooterReveal/footerRevealAt.d.ts.map +1 -0
- package/dist/components/organisms/FooterReveal/footerRevealAt.js +7 -0
- package/dist/components/organisms/FooterReveal/footerRevealStyles.d.ts +142 -0
- package/dist/components/organisms/FooterReveal/footerRevealStyles.d.ts.map +1 -0
- package/dist/components/organisms/FooterReveal/footerRevealStyles.js +12 -0
- package/dist/components/organisms/FooterReveal/footerRevealWordmark.d.ts +37 -0
- package/dist/components/organisms/FooterReveal/footerRevealWordmark.d.ts.map +1 -0
- package/dist/components/organisms/FooterReveal/footerRevealWordmark.js +51 -0
- package/dist/components/organisms/HeroTileStack/HeroTileStack.d.ts +62 -0
- package/dist/components/organisms/HeroTileStack/HeroTileStack.d.ts.map +1 -0
- package/dist/components/organisms/HeroTileStack/HeroTileStack.js +257 -0
- package/dist/components/organisms/HeroTileStack/heroTileScatter.d.ts +120 -0
- package/dist/components/organisms/HeroTileStack/heroTileScatter.d.ts.map +1 -0
- package/dist/components/organisms/HeroTileStack/heroTileScatter.js +83 -0
- package/dist/components/organisms/HeroTileStack/heroTileStackStyles.d.ts +33 -0
- package/dist/components/organisms/HeroTileStack/heroTileStackStyles.d.ts.map +1 -0
- package/dist/components/organisms/HeroTileStack/heroTileStackStyles.js +11 -0
- package/dist/components/organisms/IntakeConfirmation/IntakeConfirmation.d.ts +33 -0
- package/dist/components/organisms/IntakeConfirmation/IntakeConfirmation.d.ts.map +1 -0
- package/dist/components/organisms/IntakeConfirmation/IntakeConfirmation.js +77 -0
- package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.d.ts +22 -0
- package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.d.ts.map +1 -0
- package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.js +25 -0
- package/dist/components/organisms/IntakeModal/IntakeModal.d.ts +33 -0
- package/dist/components/organisms/IntakeModal/IntakeModal.d.ts.map +1 -0
- package/dist/components/organisms/IntakeModal/IntakeModal.js +108 -0
- package/dist/components/organisms/IntakeModal/intakeModalStyles.d.ts +14 -0
- package/dist/components/organisms/IntakeModal/intakeModalStyles.d.ts.map +1 -0
- package/dist/components/organisms/IntakeModal/intakeModalStyles.js +7 -0
- package/dist/components/organisms/MoreMenu/MoreMenu.d.ts +28 -0
- package/dist/components/organisms/MoreMenu/MoreMenu.d.ts.map +1 -0
- package/dist/components/organisms/MoreMenu/MoreMenu.js +133 -0
- package/dist/components/organisms/MoreMenu/moreMenuStyles.d.ts +3 -0
- package/dist/components/organisms/MoreMenu/moreMenuStyles.d.ts.map +1 -0
- package/dist/components/organisms/MoreMenu/moreMenuStyles.js +5 -0
- package/dist/components/organisms/Panel/Panel.d.ts +40 -0
- package/dist/components/organisms/Panel/Panel.d.ts.map +1 -0
- package/dist/components/organisms/Panel/Panel.js +135 -0
- package/dist/components/organisms/Panel/PanelContext.d.ts +19 -0
- package/dist/components/organisms/Panel/PanelContext.d.ts.map +1 -0
- package/dist/components/organisms/Panel/PanelContext.js +25 -0
- package/dist/components/organisms/Panel/panelStyles.d.ts +17 -0
- package/dist/components/organisms/Panel/panelStyles.d.ts.map +1 -0
- package/dist/components/organisms/Panel/panelStyles.js +25 -0
- package/dist/components/organisms/ScrollHorizontal/ScrollHorizontal.d.ts +74 -0
- package/dist/components/organisms/ScrollHorizontal/ScrollHorizontal.d.ts.map +1 -0
- package/dist/components/organisms/ScrollHorizontal/ScrollHorizontal.js +163 -0
- package/dist/components/organisms/ScrollHorizontal/ScrollHorizontalIntro.d.ts +41 -0
- package/dist/components/organisms/ScrollHorizontal/ScrollHorizontalIntro.d.ts.map +1 -0
- package/dist/components/organisms/ScrollHorizontal/ScrollHorizontalIntro.js +40 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalIntroContext.d.ts +3 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalIntroContext.d.ts.map +1 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalIntroContext.js +6 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalMath.d.ts +167 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalMath.d.ts.map +1 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalMath.js +136 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalStyles.d.ts +84 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalStyles.d.ts.map +1 -0
- package/dist/components/organisms/ScrollHorizontal/scrollHorizontalStyles.js +79 -0
- package/dist/components/organisms/Sheet/Sheet.d.ts +44 -0
- package/dist/components/organisms/Sheet/Sheet.d.ts.map +1 -0
- package/dist/components/organisms/Sheet/Sheet.js +152 -0
- package/dist/components/organisms/Sheet/SheetContext.d.ts +20 -0
- package/dist/components/organisms/Sheet/SheetContext.d.ts.map +1 -0
- package/dist/components/organisms/Sheet/SheetContext.js +25 -0
- package/dist/components/organisms/Sheet/sheetStyles.d.ts +30 -0
- package/dist/components/organisms/Sheet/sheetStyles.d.ts.map +1 -0
- package/dist/components/organisms/Sheet/sheetStyles.js +72 -0
- package/dist/components/organisms/SiteNav/SiteNav.d.ts +170 -0
- package/dist/components/organisms/SiteNav/SiteNav.d.ts.map +1 -0
- package/dist/components/organisms/SiteNav/SiteNav.js +536 -0
- package/dist/components/organisms/SiteNav/siteNavStyles.d.ts +128 -0
- package/dist/components/organisms/SiteNav/siteNavStyles.d.ts.map +1 -0
- package/dist/components/organisms/SiteNav/siteNavStyles.js +25 -0
- package/dist/components/organisms/SiteNav/useSiteNavCollapse.d.ts +18 -0
- package/dist/components/organisms/SiteNav/useSiteNavCollapse.d.ts.map +1 -0
- package/dist/components/organisms/SiteNav/useSiteNavCollapse.js +34 -0
- package/dist/components/organisms/Tab/Tab.d.ts +27 -0
- package/dist/components/organisms/Tab/Tab.d.ts.map +1 -0
- package/dist/components/organisms/Tab/Tab.js +223 -0
- package/dist/components/organisms/Tab/tabOverflow.d.ts +14 -0
- package/dist/components/organisms/Tab/tabOverflow.d.ts.map +1 -0
- package/dist/components/organisms/Tab/tabOverflow.js +26 -0
- package/dist/components/organisms/Tab/tabStyles.d.ts +16 -0
- package/dist/components/organisms/Tab/tabStyles.d.ts.map +1 -0
- package/dist/components/organisms/Tab/tabStyles.js +17 -0
- package/dist/components/organisms/Toast/Toast.d.ts +17 -0
- package/dist/components/organisms/Toast/Toast.d.ts.map +1 -0
- package/dist/components/organisms/Toast/Toast.js +150 -0
- package/dist/components/organisms/Toast/toastStore.d.ts +41 -0
- package/dist/components/organisms/Toast/toastStore.d.ts.map +1 -0
- package/dist/components/organisms/Toast/toastStore.js +60 -0
- package/dist/components/organisms/Toast/toastStyles.d.ts +11 -0
- package/dist/components/organisms/Toast/toastStyles.d.ts.map +1 -0
- package/dist/components/organisms/Toast/toastStyles.js +21 -0
- package/dist/files/geist-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/files/geist-cyrillic-wght-normal.woff2 +0 -0
- package/dist/files/geist-latin-ext-wght-normal.woff2 +0 -0
- package/dist/files/geist-latin-wght-normal.woff2 +0 -0
- package/dist/files/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/files/geist-mono-cyrillic-wght-normal.woff2 +0 -0
- package/dist/files/geist-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/files/geist-mono-latin-wght-normal.woff2 +0 -0
- package/dist/files/geist-mono-symbols2-wght-normal.woff2 +0 -0
- package/dist/files/geist-mono-vietnamese-wght-normal.woff2 +0 -0
- package/dist/files/geist-vietnamese-wght-normal.woff2 +0 -0
- package/dist/fonts.css +124 -0
- package/dist/grid.css +214 -0
- package/dist/index.d.ts +73 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +122 -0
- package/dist/lib/GridOverlay.d.ts +23 -0
- package/dist/lib/GridOverlay.d.ts.map +1 -0
- package/dist/lib/GridOverlay.js +78 -0
- package/dist/lib/backgroundPatterns.d.ts +27 -0
- package/dist/lib/backgroundPatterns.d.ts.map +1 -0
- package/dist/lib/backgroundPatterns.js +21 -0
- package/dist/lib/chartSampleData.d.ts +20 -0
- package/dist/lib/chartSampleData.d.ts.map +1 -0
- package/dist/lib/chartTheme.d.ts +367 -0
- package/dist/lib/chartTheme.d.ts.map +1 -0
- package/dist/lib/chartTheme.js +329 -0
- package/dist/lib/clusterScale.d.ts +48 -0
- package/dist/lib/clusterScale.d.ts.map +1 -0
- package/dist/lib/clusterScale.js +48 -0
- package/dist/lib/cn.d.ts +3 -0
- package/dist/lib/cn.d.ts.map +1 -0
- package/dist/lib/cn.js +7 -0
- package/dist/lib/compositionAudit.d.ts +59 -0
- package/dist/lib/compositionAudit.d.ts.map +1 -0
- package/dist/lib/dialogOverlay.d.ts +7 -0
- package/dist/lib/dialogOverlay.d.ts.map +1 -0
- package/dist/lib/dialogOverlay.js +41 -0
- package/dist/lib/displayCascade.d.ts +27 -0
- package/dist/lib/displayCascade.d.ts.map +1 -0
- package/dist/lib/gridOverlayUtils.d.ts +34 -0
- package/dist/lib/gridOverlayUtils.d.ts.map +1 -0
- package/dist/lib/gridOverlayUtils.js +43 -0
- package/dist/lib/insetWell.d.ts +19 -0
- package/dist/lib/insetWell.d.ts.map +1 -0
- package/dist/lib/insetWell.js +5 -0
- package/dist/lib/motion.d.ts +81 -0
- package/dist/lib/motion.d.ts.map +1 -0
- package/dist/lib/motion.js +119 -0
- package/dist/lib/segmentedControl.d.ts +9 -0
- package/dist/lib/segmentedControl.d.ts.map +1 -0
- package/dist/lib/segmentedControl.js +6 -0
- package/dist/lib/semanticVariants.d.ts +5 -0
- package/dist/lib/semanticVariants.d.ts.map +1 -0
- package/dist/lib/shadows.d.ts +17 -0
- package/dist/lib/shadows.d.ts.map +1 -0
- package/dist/lib/storyCopySource.d.ts +16 -0
- package/dist/lib/storyCopySource.d.ts.map +1 -0
- package/dist/lib/tableLayout/index.d.ts +4 -0
- package/dist/lib/tableLayout/index.d.ts.map +1 -0
- package/dist/lib/tableLayout/tableLayout.d.ts +24 -0
- package/dist/lib/tableLayout/tableLayout.d.ts.map +1 -0
- package/dist/lib/tableLayout/tableMeasurer.d.ts +21 -0
- package/dist/lib/tableLayout/tableMeasurer.d.ts.map +1 -0
- package/dist/lib/tableLayout/useTableLayout.d.ts +6 -0
- package/dist/lib/tableLayout/useTableLayout.d.ts.map +1 -0
- package/dist/lib/typography.d.ts +93 -0
- package/dist/lib/typography.d.ts.map +1 -0
- package/dist/lib/typography.js +170 -0
- package/dist/lib/useScrollThreshold.d.ts +22 -0
- package/dist/lib/useScrollThreshold.d.ts.map +1 -0
- package/dist/lib/useScrollThreshold.js +29 -0
- package/dist/lib/viewports.d.ts +120 -0
- package/dist/lib/viewports.d.ts.map +1 -0
- package/dist/motion.css +73 -0
- package/dist/patterns.css +37 -0
- package/dist/scrollFade.css +380 -0
- package/dist/shape.css +8 -0
- package/dist/sources.css +70 -0
- package/dist/stateColors.css +73 -0
- package/dist/styles.css +2 -0
- package/dist/theme.css +200 -0
- package/dist/typography.css +224 -0
- package/docs/README.md +27 -0
- package/docs/component-contracts.md +27 -0
- package/docs/components.md +61 -0
- package/docs/consumer-agents.md +34 -0
- package/docs/exports.json +803 -0
- package/docs/patterns/components-avatar--dropdown-row.tsx +20 -0
- package/docs/patterns/components-badge--with-avatar.tsx +28 -0
- package/docs/patterns/components-button-button--destructive-action.tsx +7 -0
- package/docs/patterns/components-button-button--ghost-action.tsx +7 -0
- package/docs/patterns/components-button-button--inverse-action.tsx +7 -0
- package/docs/patterns/components-button-button--link-render.tsx +14 -0
- package/docs/patterns/components-button-button--multi-state-badge.tsx +16 -0
- package/docs/patterns/components-button-button--outline-mono.tsx +10 -0
- package/docs/patterns/components-button-button--primary-action.tsx +7 -0
- package/docs/patterns/components-button-button--row-hug.tsx +15 -0
- package/docs/patterns/components-button-button--row-layout.tsx +14 -0
- package/docs/patterns/components-button-button--secondary-action.tsx +7 -0
- package/docs/patterns/components-button-button--suggestion-pills.tsx +17 -0
- package/docs/patterns/components-button-button--with-count.tsx +9 -0
- package/docs/patterns/components-button-button--with-icon.tsx +22 -0
- package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +22 -0
- package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +25 -0
- package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +44 -0
- package/docs/patterns/components-card-card--headerless-media.tsx +23 -0
- package/docs/patterns/components-card-card--outlined-layout.tsx +16 -0
- package/docs/patterns/components-card-card--pinned-height.tsx +39 -0
- package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +48 -0
- package/docs/patterns/components-chart--audience-activity-heatmap.tsx +26 -0
- package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +25 -0
- package/docs/patterns/components-chart--occupancy-history-in-card.tsx +44 -0
- package/docs/patterns/components-chart--occupancy-in-card.tsx +49 -0
- package/docs/patterns/components-chart--post-reach-distribution.tsx +21 -0
- package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +16 -0
- package/docs/patterns/components-chart--unit-grid-composition.tsx +22 -0
- package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +25 -0
- package/docs/patterns/components-checkbox-checkbox--default.tsx +17 -0
- package/docs/patterns/components-checkbox-checkbox--with-description.tsx +18 -0
- package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +21 -0
- package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +28 -0
- package/docs/patterns/components-dialog--default-dialog.tsx +39 -0
- package/docs/patterns/components-dialog--form-dialog.tsx +41 -0
- package/docs/patterns/components-displaycontrols--page-utilities.tsx +36 -0
- package/docs/patterns/components-field--horizontal-input.tsx +9 -0
- package/docs/patterns/components-field--horizontal-text-area.tsx +9 -0
- package/docs/patterns/components-field--multi-control.tsx +10 -0
- package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +94 -0
- package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +121 -0
- package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +114 -0
- package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +76 -0
- package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +42 -0
- package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +123 -0
- package/docs/patterns/components-herointro--two-line-intro.tsx +15 -0
- package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +72 -0
- package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +84 -0
- package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +92 -0
- package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +20 -0
- package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +13 -0
- package/docs/patterns/components-intakeform--about-you-pattern.tsx +12 -0
- package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +32 -0
- package/docs/patterns/components-kbd--command-row.tsx +13 -0
- package/docs/patterns/components-kbd--numbered-choices.tsx +53 -0
- package/docs/patterns/components-kbd--shortcut.tsx +11 -0
- package/docs/patterns/components-moremenu--action-menu.tsx +36 -0
- package/docs/patterns/components-moremenu--in-card-header.tsx +72 -0
- package/docs/patterns/components-navlist--side-nav-settings.tsx +58 -0
- package/docs/patterns/components-pageheader--app-header-pattern.tsx +40 -0
- package/docs/patterns/components-pageheader--page-section-header.tsx +20 -0
- package/docs/patterns/components-pageheader--toolbar-header.tsx +37 -0
- package/docs/patterns/components-panel--end-detail-rail.tsx +65 -0
- package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +22 -0
- package/docs/patterns/components-promptbar--pattern-marketing-composer.tsx +37 -0
- package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +20 -0
- package/docs/patterns/components-radio-radiogroup--default.tsx +21 -0
- package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +22 -0
- package/docs/patterns/components-scrollhorizontal--with-intro.tsx +42 -0
- package/docs/patterns/components-sheet--bottom-sheet.tsx +40 -0
- package/docs/patterns/components-sheet--end-sheet.tsx +33 -0
- package/docs/patterns/components-sitenav--brand-and-cta.tsx +17 -0
- package/docs/patterns/components-sitenav--centered-links.tsx +20 -0
- package/docs/patterns/components-sitenav--compact.tsx +24 -0
- package/docs/patterns/components-sitenav--marketing-header.tsx +80 -0
- package/docs/patterns/components-sitenav--mega-menu.tsx +51 -0
- package/docs/patterns/components-stat--insights-row.tsx +28 -0
- package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +9 -0
- package/docs/patterns/components-switch--default.tsx +17 -0
- package/docs/patterns/components-switch--settings-row.tsx +19 -0
- package/docs/patterns/components-tab--settings-pages.tsx +21 -0
- package/docs/patterns/components-taskrows--action-details.tsx +40 -0
- package/docs/patterns/components-taskrows--capsules.tsx +14 -0
- package/docs/patterns/components-taskrows--card-with-status-rows.tsx +30 -0
- package/docs/patterns/components-taskrows--controlled-expand.tsx +31 -0
- package/docs/patterns/components-taskrows--custom-slots.tsx +21 -0
- package/docs/patterns/components-taskrows--status-list.tsx +23 -0
- package/docs/patterns/components-taskrows--tag-chips.tsx +19 -0
- package/docs/patterns/components-textlink--external-destination.tsx +9 -0
- package/docs/patterns/components-textlink--inline-prose.tsx +9 -0
- package/docs/patterns/components-textlink--supporting-copy.tsx +9 -0
- package/docs/patterns/components-textsequence--default.tsx +16 -0
- package/docs/patterns/components-textsequence--reduced-motion.tsx +16 -0
- package/docs/patterns/components-textsequence--shapes.tsx +40 -0
- package/docs/patterns/components-toast--stacked-notifications.tsx +31 -0
- package/docs/patterns/components-tooltip--controlled.tsx +20 -0
- package/docs/patterns/components-tooltip--disabled-control.tsx +20 -0
- package/docs/patterns/components-tooltip--icon-action.tsx +21 -0
- package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +17 -0
- package/docs/patterns/components-tooltip--placement.tsx +12 -0
- package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +24 -0
- package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +25 -0
- package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +78 -0
- package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +140 -0
- package/docs/patterns/guides-profile-typography--editorial-profile.tsx +81 -0
- package/docs/patterns/index.json +1006 -0
- package/docs/patterns/sites-pitchkit-account-settings--account-settings-owner.tsx +265 -0
- package/docs/patterns/sites-pitchkit-creator-identity--creator-identity-owner-settings.tsx +154 -0
- package/docs/patterns/sites-pitchkit-creator-identity--creator-identity-public.tsx +96 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--creator-insights-loading.tsx +1006 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--creator-insights.tsx +1031 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--insufficient-audience-data.tsx +1015 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--insufficient-reach-and-audience-data.tsx +1017 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--insufficient-reach-data.tsx +1033 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--owner-pitch-kit.tsx +838 -0
- package/docs/patterns/sites-pitchkit-insights-and-kit--shareable-pitch-kit.tsx +608 -0
- package/docs/patterns/sites-pitchkit-intro--intro-owner.tsx +161 -0
- package/docs/patterns/sites-pitchkit-intro--intro-public.tsx +111 -0
- package/docs/patterns/sites-pitchkit-past-brands--past-brands-owner.tsx +611 -0
- package/docs/patterns/sites-pitchkit-past-brands--past-brands-public.tsx +299 -0
- package/docs/patterns/sites-pitchkit-theme-picker--theme-picker-owner.tsx +832 -0
- package/docs/patterns/sites-whatmatters-intake--start-a-project-pattern.tsx +234 -0
- package/docs/patterns/sites-whatmatters-marketing-landing--marketing-landing.tsx +87 -0
- package/docs/patterns/sites-whatmatters-prompt-chat--landing-to-chat.tsx +899 -0
- package/docs/patterns/sites-whatmatters-rfp-submitted--rfp-submitted.tsx +302 -0
- package/package.json +123 -0
- package/public/rive/CREDITS.md +13 -0
- package/public/rive/interactive-icon-set.riv +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Concentric inset radii — TaskRows capsule stacks and nested list panels.
|
|
3
|
+
*
|
|
4
|
+
* Capsule rows (`h-11`) use pill equator **1.375rem** (22px), not `rounded-lg` (8px),
|
|
5
|
+
* because a 44px-tall row needs ~22px curvature.
|
|
6
|
+
*
|
|
7
|
+
* **Card.Body** is a transparent slot (`px-[2px]` gutter only) — no well tokens here.
|
|
8
|
+
*/
|
|
9
|
+
/** h-11 capsule row — full pill equator (R = height / 2) when collapsed. */
|
|
10
|
+
export declare const capsuleRowRadiusClass = "rounded-[22px]";
|
|
11
|
+
/** Open capsule — uniform softer corner (reference TaskRows: `open ? 14 : 22`). */
|
|
12
|
+
export declare const capsuleRowOpenRadiusClass = "rounded-[14px]";
|
|
13
|
+
export declare const capsuleStackGapClass = "gap-[4px]";
|
|
14
|
+
/** Stacked capsule joint — R_joint = R_capsule − gap (multi-row inset stacks only). */
|
|
15
|
+
export declare const capsuleStackJointRadiusClass = "rounded-[calc(22px-4px)]";
|
|
16
|
+
export declare const capsuleStackOpenRowClasses = "rounded-t-[calc(22px-4px)] rounded-b-[calc(22px-4px)] first:rounded-t-[22px] last:rounded-b-[22px] only:rounded-[22px]";
|
|
17
|
+
/** Flat list panel inside **Card.Body** — content-owned surface. */
|
|
18
|
+
export declare const insetPanelRadiusClass = "rounded-[2px]";
|
|
19
|
+
//# sourceMappingURL=insetWell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insetWell.d.ts","sourceRoot":"","sources":["../../src/lib/insetWell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,mFAAmF;AACnF,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,cAAc,CAAC;AAEhD,uFAAuF;AACvF,eAAO,MAAM,4BAA4B,6BAA6B,CAAC;AAEvE,eAAO,MAAM,0BAA0B,2HACmF,CAAC;AAE3H,oEAAoE;AACpE,eAAO,MAAM,qBAAqB,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { Transition, Variants } from "motion/react";
|
|
2
|
+
/** Motion token reference for Foundation docs — values resolved from Theme CSS vars. */
|
|
3
|
+
export interface MotionToken {
|
|
4
|
+
token: string;
|
|
5
|
+
value: string;
|
|
6
|
+
role: string;
|
|
7
|
+
usedIn: string[];
|
|
8
|
+
}
|
|
9
|
+
/** Astryx-aligned duration tiers — https://astryx.atmeta.com/docs/motion */
|
|
10
|
+
export type MotionDuration = "fast-min" | "fast" | "fast-max" | "medium-min" | "medium" | "medium-max" | "slow-min" | "slow" | "slow-max";
|
|
11
|
+
/** @deprecated Use {@link MotionDuration} tiers. Kept for gradual migration. */
|
|
12
|
+
export type LegacyMotionDuration = "instant" | "base" | "slower";
|
|
13
|
+
export type MotionDurationKey = MotionDuration | LegacyMotionDuration;
|
|
14
|
+
export type MotionEase = "standard";
|
|
15
|
+
/** Astryx standard easing fallback — cubic-bezier(0.24, 1, 0.4, 1) */
|
|
16
|
+
export declare const ASTRYX_EASE_STANDARD: [number, number, number, number];
|
|
17
|
+
/** Fallbacks mirror src/theme/motion.css — used in tests and SSR. */
|
|
18
|
+
export declare const motionDurationFallbackMs: Record<MotionDurationKey, number>;
|
|
19
|
+
export declare const motionDurations: MotionToken[];
|
|
20
|
+
export declare const motionEasing: MotionToken[];
|
|
21
|
+
export declare const motionFeedback: MotionToken[];
|
|
22
|
+
/** Parse `"150ms"` → `0.15`. Returns undefined when unparseable. */
|
|
23
|
+
export declare function parseDurationSeconds(raw: string): number | undefined;
|
|
24
|
+
/** Read a Theme motion duration from CSS custom properties. */
|
|
25
|
+
export declare function readMotionDurationSeconds(duration: MotionDurationKey, root?: Element | null | undefined): number;
|
|
26
|
+
/** Parse `cubic-bezier(0.24, 1, 0.4, 1)` → Motion bezier tuple. */
|
|
27
|
+
export declare function parseCubicBezier(raw: string): [number, number, number, number] | undefined;
|
|
28
|
+
/** Read easing from Theme CSS — Astryx standard curve. */
|
|
29
|
+
export declare function readMotionEase(ease?: MotionEase, root?: Element | null | undefined): Transition["ease"];
|
|
30
|
+
/** Duration + easing utility classes for CSS `transition`. */
|
|
31
|
+
export declare function motionTransition(duration: MotionDurationKey, ease?: MotionEase): string;
|
|
32
|
+
/**
|
|
33
|
+
* Focus ring + shell border fade — Tailwind rings use box-shadow.
|
|
34
|
+
* `fast` keeps focus from popping instantly without lagging (Astryx: high-frequency = fast tier).
|
|
35
|
+
*/
|
|
36
|
+
export declare const focusRingTransitionClasses: string;
|
|
37
|
+
export declare const pressScaleClass = "enabled:active:scale-[var(--motion-press-scale)]";
|
|
38
|
+
/** Map WMDS Theme tokens to a Motion `transition` prop — reads CSS vars at runtime. */
|
|
39
|
+
export declare function motionTransitionProp(duration: MotionDurationKey, ease?: MotionEase, root?: Element | null): Transition;
|
|
40
|
+
/** Fallbacks mirror the choreography tokens in src/theme/motion.css — used in tests and SSR. */
|
|
41
|
+
export declare const motionChoreographyFallbacks: {
|
|
42
|
+
readonly staggerMs: 60;
|
|
43
|
+
readonly beatMs: 160;
|
|
44
|
+
readonly blurRevealPx: 4;
|
|
45
|
+
};
|
|
46
|
+
/** Choreography token reference for Foundation docs. */
|
|
47
|
+
export declare const motionChoreography: MotionToken[];
|
|
48
|
+
/** Delay between items in a sequenced reveal, in seconds (`--motion-stagger`). */
|
|
49
|
+
export declare function motionStaggerSeconds(root?: Element | null | undefined): number;
|
|
50
|
+
/** `beats` × `--motion-beat`, in seconds — timings for step sequences such as the thinking trace. */
|
|
51
|
+
export declare function motionBeatSeconds(beats?: number, root?: Element | null | undefined): number;
|
|
52
|
+
/**
|
|
53
|
+
* Blur-and-fade reveal for Motion: spread onto a `motion.*` element. Starts at
|
|
54
|
+
* `--motion-blur-reveal`; under reduced motion it renders the rest state with no initial frame.
|
|
55
|
+
*/
|
|
56
|
+
export declare function motionBlurReveal(reduce: boolean, root?: Element | null | undefined): {
|
|
57
|
+
initial: false | {
|
|
58
|
+
opacity: number;
|
|
59
|
+
filter: string;
|
|
60
|
+
};
|
|
61
|
+
animate: {
|
|
62
|
+
opacity: number;
|
|
63
|
+
filter: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
/** Medium-tier transition — panel / secondary column reveal. */
|
|
67
|
+
export declare function motionPanelRevealTransition(root?: Element | null): Transition;
|
|
68
|
+
/** Slide + fade from inline-start — tablet+ sub-nav beside rail. */
|
|
69
|
+
export declare const motionPanelRevealFromStart: Variants;
|
|
70
|
+
/** Slide + fade from block-start — mobile sub-nav below header. */
|
|
71
|
+
export declare const motionPanelRevealFromTop: Variants;
|
|
72
|
+
/** Sub-nav list container — stagger children on pane enter. */
|
|
73
|
+
export declare const motionSubNavListVariants: Variants;
|
|
74
|
+
/** Sub-nav row — micro slide on stagger enter. */
|
|
75
|
+
export declare const motionSubNavItemVariants: Variants;
|
|
76
|
+
/** Resolve live token values for Foundation docs (browser only). */
|
|
77
|
+
export declare function resolveMotionTokenValues(root?: Element | null): {
|
|
78
|
+
durations: MotionToken[];
|
|
79
|
+
easing: MotionToken[];
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../src/lib/motion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEzD,wFAAwF;AACxF,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,4EAA4E;AAC5E,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,MAAM,GACN,UAAU,GACV,YAAY,GACZ,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,MAAM,GACN,UAAU,CAAC;AAEf,gFAAgF;AAChF,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG,oBAAoB,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;AAEpC,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAqB,CAAC;AAqBxF,qEAAqE;AACrE,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAatE,CAAC;AAqBF,eAAO,MAAM,eAAe,EAAE,WAAW,EAuDxC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAAW,EAOrC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,EAOvC,CAAC;AAEF,oEAAoE;AACpE,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAWpE;AAED,+DAA+D;AAC/D,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,iBAAiB,EAC3B,IAAI,GAAE,OAAO,GAAG,IAAI,GAAG,SAEf,GACP,MAAM,CAMR;AAED,mEAAmE;AACnE,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAM1F;AAED,0DAA0D;AAC1D,wBAAgB,cAAc,CAC5B,IAAI,GAAE,UAAuB,EAC7B,IAAI,GAAE,OAAO,GAAG,IAAI,GAAG,SAEf,GACP,UAAU,CAAC,MAAM,CAAC,CAOpB;AAED,8DAA8D;AAC9D,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,iBAAiB,EAC3B,IAAI,GAAE,UAAuB,GAC5B,MAAM,CAER;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,QAC2C,CAAC;AAEnF,eAAO,MAAM,eAAe,qDAAqD,CAAC;AAElF,uFAAuF;AACvF,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,iBAAiB,EAC3B,IAAI,GAAE,UAAuB,EAC7B,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,GACpB,UAAU,CAKZ;AAED,gGAAgG;AAChG,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AAEX,wDAAwD;AACxD,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAmB3C,CAAC;AAiBF,kFAAkF;AAClF,wBAAgB,oBAAoB,CAAC,IAAI,GAAE,OAAO,GAAG,IAAI,GAAG,SAAyB,GAAG,MAAM,CAE7F;AAED,qGAAqG;AACrG,wBAAgB,iBAAiB,CAAC,KAAK,SAAI,EAAE,IAAI,GAAE,OAAO,GAAG,IAAI,GAAG,SAAyB,GAAG,MAAM,CAErG;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,OAAO,EACf,IAAI,GAAE,OAAO,GAAG,IAAI,GAAG,SAAyB,GAC/C;IACD,OAAO,EAAE,KAAK,GAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9C,CAMA;AAED,gEAAgE;AAChE,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,UAAU,CAE7E;AAED,oEAAoE;AACpE,eAAO,MAAM,0BAA0B,EAAE,QAIxC,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,wBAAwB,EAAE,QAItC,CAAC;AAEF,+DAA+D;AAC/D,eAAO,MAAM,wBAAwB,EAAE,QAMtC,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,wBAAwB,EAAE,QAUtC,CAAC;AAEF,oEAAoE;AACpE,wBAAgB,wBAAwB,CAAC,IAAI,GAAE,OAAO,GAAG,IAEjD,GAAG;IACT,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB,CAeA"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/lib/motion.ts
|
|
3
|
+
var e = [
|
|
4
|
+
.24,
|
|
5
|
+
1,
|
|
6
|
+
.4,
|
|
7
|
+
1
|
|
8
|
+
], t = {
|
|
9
|
+
"fast-min": "--duration-fast-min",
|
|
10
|
+
fast: "--duration-fast",
|
|
11
|
+
"fast-max": "--duration-fast-max",
|
|
12
|
+
"medium-min": "--duration-medium-min",
|
|
13
|
+
medium: "--duration-medium",
|
|
14
|
+
"medium-max": "--duration-medium-max",
|
|
15
|
+
"slow-min": "--duration-slow-min",
|
|
16
|
+
slow: "--duration-slow",
|
|
17
|
+
"slow-max": "--duration-slow-max",
|
|
18
|
+
instant: "--duration-instant",
|
|
19
|
+
base: "--duration-base",
|
|
20
|
+
slower: "--duration-slower"
|
|
21
|
+
}, n = { standard: "--ease-standard" }, r = {
|
|
22
|
+
"fast-min": 130,
|
|
23
|
+
fast: 175,
|
|
24
|
+
"fast-max": 230,
|
|
25
|
+
"medium-min": 310,
|
|
26
|
+
medium: 410,
|
|
27
|
+
"medium-max": 550,
|
|
28
|
+
"slow-min": 730,
|
|
29
|
+
slow: 975,
|
|
30
|
+
"slow-max": 1300,
|
|
31
|
+
instant: 130,
|
|
32
|
+
base: 310,
|
|
33
|
+
slower: 550
|
|
34
|
+
}, i = {
|
|
35
|
+
"fast-min": "duration-fast-min",
|
|
36
|
+
fast: "duration-fast",
|
|
37
|
+
"fast-max": "duration-fast-max",
|
|
38
|
+
"medium-min": "duration-medium-min",
|
|
39
|
+
medium: "duration-medium",
|
|
40
|
+
"medium-max": "duration-medium-max",
|
|
41
|
+
"slow-min": "duration-slow-min",
|
|
42
|
+
slow: "duration-slow",
|
|
43
|
+
"slow-max": "duration-slow-max",
|
|
44
|
+
instant: "duration-instant",
|
|
45
|
+
base: "duration-base",
|
|
46
|
+
slower: "duration-slower"
|
|
47
|
+
}, a = { standard: "ease-standard" };
|
|
48
|
+
function o(e) {
|
|
49
|
+
let t = e.trim();
|
|
50
|
+
if (t.endsWith("ms")) {
|
|
51
|
+
let e = Number.parseFloat(t.slice(0, -2));
|
|
52
|
+
return Number.isFinite(e) ? e / 1e3 : void 0;
|
|
53
|
+
}
|
|
54
|
+
if (t.endsWith("s")) {
|
|
55
|
+
let e = Number.parseFloat(t.slice(0, -1));
|
|
56
|
+
return Number.isFinite(e) ? e : void 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function s(e, n = typeof document < "u" ? document.documentElement : null) {
|
|
60
|
+
return n ? o(getComputedStyle(n).getPropertyValue(t[e])) ?? r[e] / 1e3 : r[e] / 1e3;
|
|
61
|
+
}
|
|
62
|
+
function c(e) {
|
|
63
|
+
let t = e.trim().match(/cubic-bezier\(\s*([^)]+)\s*\)/i);
|
|
64
|
+
if (!t) return;
|
|
65
|
+
let n = t[1].split(",").map((e) => Number.parseFloat(e.trim()));
|
|
66
|
+
if (!(n.length !== 4 || n.some((e) => !Number.isFinite(e)))) return n;
|
|
67
|
+
}
|
|
68
|
+
function l(t = "standard", r = typeof document < "u" ? document.documentElement : null) {
|
|
69
|
+
if (r) {
|
|
70
|
+
let e = c(getComputedStyle(r).getPropertyValue(n[t]));
|
|
71
|
+
if (e) return e;
|
|
72
|
+
}
|
|
73
|
+
return e;
|
|
74
|
+
}
|
|
75
|
+
function u(e, t = "standard") {
|
|
76
|
+
return `${i[e]} ${a[t]}`;
|
|
77
|
+
}
|
|
78
|
+
var d = `transition-[box-shadow,border-color,outline-color] ${u("fast")}`, f = "enabled:active:scale-[var(--motion-press-scale)]";
|
|
79
|
+
function p(e, t = "standard", n) {
|
|
80
|
+
return {
|
|
81
|
+
duration: s(e, n),
|
|
82
|
+
ease: l(t, n)
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
var m = {
|
|
86
|
+
staggerMs: 60,
|
|
87
|
+
beatMs: 160,
|
|
88
|
+
blurRevealPx: 4
|
|
89
|
+
};
|
|
90
|
+
function h(e, t, n) {
|
|
91
|
+
if (!n) return;
|
|
92
|
+
let r = getComputedStyle(n).getPropertyValue(e).trim();
|
|
93
|
+
if (!r.endsWith(t)) return;
|
|
94
|
+
let i = Number.parseFloat(r.slice(0, -t.length));
|
|
95
|
+
return Number.isFinite(i) ? i : void 0;
|
|
96
|
+
}
|
|
97
|
+
var g = () => typeof document < "u" ? document.documentElement : null;
|
|
98
|
+
function _(e = g()) {
|
|
99
|
+
return (h("--motion-stagger", "ms", e) ?? m.staggerMs) / 1e3;
|
|
100
|
+
}
|
|
101
|
+
function v(e = 1, t = g()) {
|
|
102
|
+
return e * (h("--motion-beat", "ms", t) ?? m.beatMs) / 1e3;
|
|
103
|
+
}
|
|
104
|
+
function y(e, t = g()) {
|
|
105
|
+
let n = h("--motion-blur-reveal", "px", t) ?? m.blurRevealPx;
|
|
106
|
+
return {
|
|
107
|
+
initial: !e && {
|
|
108
|
+
opacity: 0,
|
|
109
|
+
filter: `blur(${n}px)`
|
|
110
|
+
},
|
|
111
|
+
animate: {
|
|
112
|
+
opacity: 1,
|
|
113
|
+
filter: "blur(0px)"
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
r.fast / 1e3;
|
|
118
|
+
//#endregion
|
|
119
|
+
export { e as ASTRYX_EASE_STANDARD, d as focusRingTransitionClasses, v as motionBeatSeconds, y as motionBlurReveal, m as motionChoreographyFallbacks, r as motionDurationFallbackMs, _ as motionStaggerSeconds, u as motionTransition, p as motionTransitionProp, c as parseCubicBezier, o as parseDurationSeconds, f as pressScaleClass, s as readMotionDurationSeconds, l as readMotionEase };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Shared focus ring for Tab, Chip, and SegmentedControl segment buttons. */
|
|
2
|
+
export declare const segmentedFocusRingClasses: string;
|
|
3
|
+
/** Shared disabled treatment for Tab and Chip segment buttons. */
|
|
4
|
+
export declare const segmentedDisabledClasses = "cursor-pointer disabled:pointer-events-none disabled:opacity-50";
|
|
5
|
+
/** Hide scrollbars on horizontal chip/tab toolbars. Pair with layout classes on the scroller. */
|
|
6
|
+
export declare const horizontalScrollClasses = "overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden";
|
|
7
|
+
/** Leading icon slot sizing for Tab segments. */
|
|
8
|
+
export declare const segmentedLeadingIconClasses = "inline-flex size-3.5 shrink-0 text-inherit [&>svg]:size-full [&>svg]:shrink-0 [&>svg]:stroke-current";
|
|
9
|
+
//# sourceMappingURL=segmentedControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segmentedControl.d.ts","sourceRoot":"","sources":["../../src/lib/segmentedControl.tsx"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,eAAO,MAAM,yBAAyB,QAEV,CAAC;AAE7B,kEAAkE;AAClE,eAAO,MAAM,wBAAwB,oEAC8B,CAAC;AAEpE,iGAAiG;AACjG,eAAO,MAAM,uBAAuB,yEACoC,CAAC;AAEzE,iDAAiD;AACjD,eAAO,MAAM,2BAA2B,yGACgE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { focusRingTransitionClasses as e } from "./motion.js";
|
|
3
|
+
//#region src/lib/segmentedControl.tsx
|
|
4
|
+
var t = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:ring-offset-body " + e, n = "cursor-pointer disabled:pointer-events-none disabled:opacity-50", r = "overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as horizontalScrollClasses, n as segmentedDisabledClasses, t as segmentedFocusRingClasses };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Shared semantic palette roles — menu destructive rows. Status dot tones live in statusDotStyles.ts. */
|
|
2
|
+
export type SemanticVariant = "neutral" | "info" | "success" | "warning" | "destructive";
|
|
3
|
+
export declare const semanticMenuDestructiveItemClasses = "text-error hover:bg-error-muted focus-visible:bg-error-muted";
|
|
4
|
+
export declare const semanticMenuDestructiveDescriptionClasses = "text-error";
|
|
5
|
+
//# sourceMappingURL=semanticVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semanticVariants.d.ts","sourceRoot":"","sources":["../../src/lib/semanticVariants.ts"],"names":[],"mappings":"AAAA,0GAA0G;AAC1G,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAEzF,eAAO,MAAM,kCAAkC,iEACiB,CAAC;AAEjE,eAAO,MAAM,yCAAyC,eAAe,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Shadow token reference — primitives + semantic elevations. */
|
|
2
|
+
export interface ShadowToken {
|
|
3
|
+
token: string;
|
|
4
|
+
value: string;
|
|
5
|
+
role: string;
|
|
6
|
+
tailwind?: string;
|
|
7
|
+
usedIn: string[];
|
|
8
|
+
/** Paper applies drop layers as literals; hairline uses var(--color-border) border. */
|
|
9
|
+
paperPattern?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const shadowPrimitives: ShadowToken[];
|
|
12
|
+
export declare const shadowElevations: ShadowToken[];
|
|
13
|
+
export type ShadowElevation = "none" | "sm" | "md" | "raised";
|
|
14
|
+
/** Semantic elevation tailwind classes — mirrors shadowElevations catalog. */
|
|
15
|
+
export declare const shadowElevationClasses: Record<ShadowElevation, string>;
|
|
16
|
+
export declare function shadowElevationClass(elevation: ShadowElevation): string;
|
|
17
|
+
//# sourceMappingURL=shadows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/lib/shadows.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,EAAE,WAAW,EA2CzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,EA4CzC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,QAAQ,CAAC;AAE9D,8EAA8E;AAC9E,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAKlE,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,eAAe,GAAG,MAAM,CAEvE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Parameters } from "@storybook/react-vite";
|
|
2
|
+
/**
|
|
3
|
+
* Default for component `meta.parameters` — hide Show code unless a Pattern story opts in.
|
|
4
|
+
* Also applied globally in `.storybook/preview.tsx`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function storyMetaDocsDefaults(): Pick<Parameters, "docs">;
|
|
7
|
+
/**
|
|
8
|
+
* Storybook docs source — copy-paste-ready app code only.
|
|
9
|
+
* Pattern stories must use this instead of auto-generated CSF (name / parameters / render).
|
|
10
|
+
*/
|
|
11
|
+
export declare function storyCopySource(code: string): Pick<Parameters, "docs">;
|
|
12
|
+
/** Merge existing story parameters with an explicit copy source block. */
|
|
13
|
+
export declare function withStoryCopySource(parameters: Parameters | undefined, code: string): Parameters;
|
|
14
|
+
/** Merge `source.disable: true` into an existing `docs` block (anatomy / reference stories). */
|
|
15
|
+
export declare function docsWithoutCode(docs: NonNullable<Parameters["docs"]>): NonNullable<Parameters["docs"]>;
|
|
16
|
+
//# sourceMappingURL=storyCopySource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storyCopySource.d.ts","sourceRoot":"","sources":["../../src/lib/storyCopySource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAQxD;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAQhE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAStE;AAED,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAWhG;AAED,gGAAgG;AAChG,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAQtG"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { buildColumnTemplate, computeScrollEdge, computeStickyCounts, computeStickyOffsets, stickyScrollShadowClass, stickyStyles, type ScrollEdgeState, type StickyCounts, type StickyOffsets, type StickySide, } from "./tableLayout";
|
|
2
|
+
export { applyColumnTemplate, computeTableLayoutMetrics, createDomTableMeasurer, type TableLayoutMetrics, type TableMeasureResult, type TableMeasurer, } from "./tableMeasurer";
|
|
3
|
+
export { useMeasureTableLayout, useScrollEdgeState } from "./useTableLayout";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/tableLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,aAAa,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Sticky column sides — mirrors `TableSticky` on the compound Table API. */
|
|
2
|
+
export type StickySide = "start" | "end";
|
|
3
|
+
export interface StickyOffsets {
|
|
4
|
+
start: number[];
|
|
5
|
+
end: number[];
|
|
6
|
+
}
|
|
7
|
+
export interface StickyCounts {
|
|
8
|
+
start: number;
|
|
9
|
+
end: number;
|
|
10
|
+
}
|
|
11
|
+
export interface ScrollEdgeState {
|
|
12
|
+
canScrollStart: boolean;
|
|
13
|
+
canScrollEnd: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function buildColumnTemplate(widths: number[]): string | null;
|
|
16
|
+
export declare function computeStickyCounts(stickyByColumn: Array<StickySide | undefined>): StickyCounts;
|
|
17
|
+
export declare function computeStickyOffsets(columnWidths: number[], stickyByColumn: Array<StickySide | undefined>): StickyOffsets;
|
|
18
|
+
export declare function stickyStyles(sticky: StickySide | undefined, stickyIndex: number | undefined, offsets: StickyOffsets): {
|
|
19
|
+
left?: number;
|
|
20
|
+
right?: number;
|
|
21
|
+
} | undefined;
|
|
22
|
+
export declare function stickyScrollShadowClass(sticky: StickySide | undefined, stickyIndex: number | undefined, stickyCounts: StickyCounts, scrollEdge: ScrollEdgeState): string | false;
|
|
23
|
+
export declare function computeScrollEdge(scrollLeft: number, clientWidth: number, scrollWidth: number): ScrollEdgeState;
|
|
24
|
+
//# sourceMappingURL=tableLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableLayout.d.ts","sourceRoot":"","sources":["../../../src/lib/tableLayout/tableLayout.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,KAAK,CAAC;AAEzC,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAGnE;AAED,wBAAgB,mBAAmB,CACjC,cAAc,EAAE,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC,GAC5C,YAAY,CAKd;AAED,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,MAAM,EAAE,EACtB,cAAc,EAAE,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC,GAC5C,aAAa,CAyBf;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,OAAO,EAAE,aAAa,GACrB;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAQ/C;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,GAC1B,MAAM,GAAG,KAAK,CAehB;AAED,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,eAAe,CAMjB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { StickySide } from "./tableLayout";
|
|
2
|
+
import { type StickyCounts, type StickyOffsets } from "./tableLayout";
|
|
3
|
+
export interface TableMeasureResult {
|
|
4
|
+
measuredWidths: number[];
|
|
5
|
+
stickyByColumn: Array<StickySide | undefined>;
|
|
6
|
+
}
|
|
7
|
+
/** Seam for DOM measurement — swap in tests without Playwright. */
|
|
8
|
+
export interface TableMeasurer {
|
|
9
|
+
measure(table: HTMLTableElement): TableMeasureResult | null;
|
|
10
|
+
}
|
|
11
|
+
export interface TableLayoutMetrics {
|
|
12
|
+
stickyOffsets: StickyOffsets;
|
|
13
|
+
stickyCounts: StickyCounts;
|
|
14
|
+
columnTemplate: string | null;
|
|
15
|
+
}
|
|
16
|
+
/** Default adapter — reads header cells from a live table. */
|
|
17
|
+
export declare function createDomTableMeasurer(): TableMeasurer;
|
|
18
|
+
/** Pure layout computation — test through this, not the DOM adapter. */
|
|
19
|
+
export declare function computeTableLayoutMetrics(result: TableMeasureResult): TableLayoutMetrics;
|
|
20
|
+
export declare function applyColumnTemplate(table: HTMLTableElement, columnTemplate: string | null): void;
|
|
21
|
+
//# sourceMappingURL=tableMeasurer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableMeasurer.d.ts","sourceRoot":"","sources":["../../../src/lib/tableLayout/tableMeasurer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAIL,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,cAAc,EAAE,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;CAC/C;AAED,mEAAmE;AACnE,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,KAAK,EAAE,gBAAgB,GAAG,kBAAkB,GAAG,IAAI,CAAC;CAC7D;AAED,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AASD,8DAA8D;AAC9D,wBAAgB,sBAAsB,IAAI,aAAa,CAatD;AAED,wEAAwE;AACxE,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,kBAAkB,GAAG,kBAAkB,CAOxF;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAIhG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
import { type ScrollEdgeState } from "./tableLayout";
|
|
3
|
+
import { type TableLayoutMetrics, type TableMeasurer } from "./tableMeasurer";
|
|
4
|
+
export declare function useMeasureTableLayout(tableRef: RefObject<HTMLTableElement | null>, measurer?: TableMeasurer): TableLayoutMetrics;
|
|
5
|
+
export declare function useScrollEdgeState(scrollerRef: RefObject<HTMLDivElement | null>): ScrollEdgeState;
|
|
6
|
+
//# sourceMappingURL=useTableLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableLayout.d.ts","sourceRoot":"","sources":["../../../src/lib/tableLayout/useTableLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAEzB,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,EAC5C,QAAQ,GAAE,aAAwC,sBAwCnD;AAED,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,eAAe,CA8BjG"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Semantic typography — Astryx-aligned roles mapped to type-* utilities.
|
|
3
|
+
* Reference: https://astryx.atmeta.com/docs/typography
|
|
4
|
+
*
|
|
5
|
+
* Use typographyClass(role) in components — not raw text-sm / font-medium.
|
|
6
|
+
* Atoms with fixed-height shells still use text-sm + leading-none until Phase 4 (type-control).
|
|
7
|
+
*/
|
|
8
|
+
/** WMDS document roles — map to Astryx semantic type scale. */
|
|
9
|
+
export type TypographyRole = "display" | "page-heading" | "section-heading" | "subheading" | "body" | "ui-label" | "caption" | "overline";
|
|
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" | "code" | "control";
|
|
12
|
+
export type TypographyTracking = "tight" | "normal" | "wider";
|
|
13
|
+
export interface GeometricScaleStep {
|
|
14
|
+
token: string;
|
|
15
|
+
value: string;
|
|
16
|
+
sample: string;
|
|
17
|
+
}
|
|
18
|
+
export interface TypographyStyle {
|
|
19
|
+
role: TypographyRole;
|
|
20
|
+
label: string;
|
|
21
|
+
description: string;
|
|
22
|
+
/** Astryx semantic type this role maps to */
|
|
23
|
+
astryxType: AstryxTypeScale;
|
|
24
|
+
className: string;
|
|
25
|
+
tracking: TypographyTracking;
|
|
26
|
+
trackingClass: string;
|
|
27
|
+
sample: string;
|
|
28
|
+
usedIn: string[];
|
|
29
|
+
}
|
|
30
|
+
export declare const trackingRules: Array<{
|
|
31
|
+
tracking: TypographyTracking;
|
|
32
|
+
utility: string;
|
|
33
|
+
rule: string;
|
|
34
|
+
}>;
|
|
35
|
+
/** Astryx geometric ramp — 14px base × 1.2 ratio (src/theme/typography.css). */
|
|
36
|
+
export declare const geometricScale: GeometricScaleStep[];
|
|
37
|
+
export declare const fontWeights: readonly [{
|
|
38
|
+
readonly token: "--font-weight-normal";
|
|
39
|
+
readonly value: "400";
|
|
40
|
+
readonly role: "Body, code, supporting";
|
|
41
|
+
}, {
|
|
42
|
+
readonly token: "--font-weight-medium";
|
|
43
|
+
readonly value: "500";
|
|
44
|
+
readonly role: "Labels, overline";
|
|
45
|
+
}, {
|
|
46
|
+
readonly token: "--font-weight-semibold";
|
|
47
|
+
readonly value: "600";
|
|
48
|
+
readonly role: "Headings, display-2/3";
|
|
49
|
+
}, {
|
|
50
|
+
readonly token: "--font-weight-bold";
|
|
51
|
+
readonly value: "700";
|
|
52
|
+
readonly role: "Display-1, strong emphasis";
|
|
53
|
+
}];
|
|
54
|
+
/** @deprecated Use geometricScale — kept for Storybook compat during migration. */
|
|
55
|
+
export declare const typeScale: {
|
|
56
|
+
token: string;
|
|
57
|
+
size: string;
|
|
58
|
+
lineHeight: string;
|
|
59
|
+
sample: string;
|
|
60
|
+
}[];
|
|
61
|
+
export declare const typographyStyles: TypographyStyle[];
|
|
62
|
+
export declare const astryxTypeScale: Array<{
|
|
63
|
+
type: AstryxTypeScale;
|
|
64
|
+
utility: string;
|
|
65
|
+
size: string;
|
|
66
|
+
weight: string;
|
|
67
|
+
leading: string;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const fontFamilies: readonly [{
|
|
70
|
+
readonly token: "body";
|
|
71
|
+
readonly name: "Geist Sans";
|
|
72
|
+
readonly css: "var(--font-family-body)";
|
|
73
|
+
readonly tailwind: "font-sans";
|
|
74
|
+
readonly usage: "Body text, labels, headings (shared stack)";
|
|
75
|
+
}, {
|
|
76
|
+
readonly token: "heading";
|
|
77
|
+
readonly name: "Geist Sans";
|
|
78
|
+
readonly css: "var(--font-family-heading)";
|
|
79
|
+
readonly tailwind: "font-sans";
|
|
80
|
+
readonly usage: "Headings — inherits body stack unless theme overrides";
|
|
81
|
+
}, {
|
|
82
|
+
readonly token: "code";
|
|
83
|
+
readonly name: "Geist Mono";
|
|
84
|
+
readonly css: "var(--font-family-code)";
|
|
85
|
+
readonly tailwind: "font-mono";
|
|
86
|
+
readonly usage: "Code, IDs, numeric data";
|
|
87
|
+
}];
|
|
88
|
+
/** Tailwind classes per semantic typography role — single source for components and Storybook. */
|
|
89
|
+
export declare const typographyRoleClasses: Record<TypographyRole, string>;
|
|
90
|
+
export declare function typographyClass(role: TypographyRole): string;
|
|
91
|
+
/** Resolve live geometric scale values for Foundation docs (browser only). */
|
|
92
|
+
export declare function resolveTypographyTokenValues(root?: Element | null): GeometricScaleStep[];
|
|
93
|
+
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -0,0 +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,UAAU,CAAC;AAEf,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,MAAM,GACN,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,EAyF7C,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,CAgBA,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"}
|