@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 @@
|
|
|
1
|
+
{"version":3,"file":"useKbdChoiceKeys.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Kbd/useKbdChoiceKeys.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC;CAC/C;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,OAAc,EACd,OAAO,GACR,EAAE,uBAAuB,GAAG,IAAI,CAoBhC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { isEditableGridOverlayTarget as e } from "../../../lib/gridOverlayUtils.js";
|
|
3
|
+
import { useEffect as t, useRef as n } from "react";
|
|
4
|
+
//#region src/components/atoms/Kbd/useKbdChoiceKeys.ts
|
|
5
|
+
function r({ enabled: r = !0, choices: i }) {
|
|
6
|
+
let a = n(i);
|
|
7
|
+
a.current = i, t(() => {
|
|
8
|
+
if (!r) return;
|
|
9
|
+
let t = (t) => {
|
|
10
|
+
if (t.defaultPrevented || t.metaKey || t.ctrlKey || t.altKey || e(t.target)) return;
|
|
11
|
+
let n = a.current[t.key];
|
|
12
|
+
n != null && (t.preventDefault(), n());
|
|
13
|
+
};
|
|
14
|
+
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
15
|
+
}, [r]);
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { r as useKbdChoiceKeys };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type InputHTMLAttributes } from "react";
|
|
2
|
+
import { type RadioSize } from "./radioStyles";
|
|
3
|
+
import type { InputStatus } from "../Input/inputShellStyles";
|
|
4
|
+
export { radioSizes, type RadioSize } from "./radioStyles";
|
|
5
|
+
export { inputStatuses, type InputStatus } from "../Input/inputShellStyles";
|
|
6
|
+
/** Layout-only — width/margin on the row wrapper. */
|
|
7
|
+
export type RadioLayoutClassName = string;
|
|
8
|
+
export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
|
|
9
|
+
size?: RadioSize;
|
|
10
|
+
/** Visible label — always rendered; use `labelHidden` to visually hide. */
|
|
11
|
+
label: string;
|
|
12
|
+
labelHidden?: boolean;
|
|
13
|
+
/** Neutral helper below the label. */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** Validation status — tints circle border; pair with `message` (standalone use). */
|
|
16
|
+
status?: InputStatus;
|
|
17
|
+
/** Validation copy below the row — requires `status`. */
|
|
18
|
+
message?: string;
|
|
19
|
+
className?: RadioLayoutClassName;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Single radio option — circle + label row; compose in **RadioGroup**.
|
|
23
|
+
* Compose inside **RadioGroup** for grouped selection, or use standalone with a shared `name`.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
26
|
+
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAGf,OAAO,EAgBL,KAAK,SAAS,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAa,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE5E,qDAAqD;AACrD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qFAAqF;IACrF,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAaD;;;GAGG;AACH,eAAO,MAAM,KAAK,yGAiIhB,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../../lib/cn.js";
|
|
3
|
+
import "../Input/inputShellStyles.js";
|
|
4
|
+
import { InputStatusBanner as t } from "../inputShared/InputStatusBanner.js";
|
|
5
|
+
import { radioCircleClassesFor as n, radioDescriptionClasses as r, radioDescriptionRowClasses as i, radioDotClasses as a, radioDotSizeClasses as o, radioHiddenInputClasses as s, radioHitTargetDescriptionAlignClasses as c, radioHitTargetSizeClasses as l, radioLabelClassesFor as u, radioRowBaseClasses as d, radioRowSizeClasses as f, radioSizes as p, radioStatusBannerClassesFor as m, radioTextColumnClasses as h } from "./radioStyles.js";
|
|
6
|
+
import { forwardRef as g, useId as _, useState as v } from "react";
|
|
7
|
+
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/atoms/Radio/Radio.tsx
|
|
9
|
+
var S = {
|
|
10
|
+
sm: "sm",
|
|
11
|
+
md: "md"
|
|
12
|
+
};
|
|
13
|
+
function C(e) {
|
|
14
|
+
e.message != null && e.status == null && console.warn("[WMDS Radio] `message` requires `status`.");
|
|
15
|
+
}
|
|
16
|
+
var w = g(function({ size: p = "md", label: g, labelHidden: w = !1, description: T, status: E, message: D, className: O, disabled: k, checked: A, defaultChecked: j, id: M, onChange: N, ...P }, F) {
|
|
17
|
+
let I = _(), L = M ?? I;
|
|
18
|
+
C({
|
|
19
|
+
status: E,
|
|
20
|
+
message: D
|
|
21
|
+
});
|
|
22
|
+
let R = A !== void 0, [z, B] = v(j ?? !1), V = R ? !!A : z, H = D != null && D.length > 0 && E != null, U = H ? `${L}-message` : void 0, W = T != null && !w ? `${L}-description` : void 0, G = [
|
|
23
|
+
P["aria-describedby"],
|
|
24
|
+
W,
|
|
25
|
+
U
|
|
26
|
+
].filter(Boolean).join(" ") || void 0, K = (e) => {
|
|
27
|
+
R || B(e.target.checked), N?.(e);
|
|
28
|
+
}, q = n(p, V, k, H ? void 0 : E), J = T != null && !w, Y = (t) => /* @__PURE__ */ x("span", {
|
|
29
|
+
className: e("relative flex shrink-0 items-center justify-center", l[p], t),
|
|
30
|
+
children: [/* @__PURE__ */ b("input", {
|
|
31
|
+
...P,
|
|
32
|
+
ref: F,
|
|
33
|
+
id: L,
|
|
34
|
+
type: "radio",
|
|
35
|
+
checked: R ? A : void 0,
|
|
36
|
+
defaultChecked: R ? void 0 : j,
|
|
37
|
+
disabled: k,
|
|
38
|
+
"aria-invalid": E === "error" || void 0,
|
|
39
|
+
"aria-describedby": G,
|
|
40
|
+
onChange: K,
|
|
41
|
+
className: s
|
|
42
|
+
}), /* @__PURE__ */ b("span", {
|
|
43
|
+
className: q,
|
|
44
|
+
"aria-hidden": !0,
|
|
45
|
+
children: V ? /* @__PURE__ */ b("span", { className: e(o[p], a) }) : null
|
|
46
|
+
})]
|
|
47
|
+
}), X = /* @__PURE__ */ b("label", {
|
|
48
|
+
htmlFor: L,
|
|
49
|
+
className: e(d, !J && "items-center", !J && f[p], k && "cursor-not-allowed", O),
|
|
50
|
+
children: w ? /* @__PURE__ */ x(y, { children: [Y(), /* @__PURE__ */ b("span", {
|
|
51
|
+
className: "sr-only",
|
|
52
|
+
children: g
|
|
53
|
+
})] }) : J ? /* @__PURE__ */ x("span", {
|
|
54
|
+
className: i[p],
|
|
55
|
+
children: [Y(c[p]), /* @__PURE__ */ x("span", {
|
|
56
|
+
className: h,
|
|
57
|
+
children: [/* @__PURE__ */ b("span", {
|
|
58
|
+
className: u(k, !0),
|
|
59
|
+
children: g
|
|
60
|
+
}), /* @__PURE__ */ b("span", {
|
|
61
|
+
id: W,
|
|
62
|
+
className: r,
|
|
63
|
+
children: T
|
|
64
|
+
})]
|
|
65
|
+
})]
|
|
66
|
+
}) : /* @__PURE__ */ x(y, { children: [Y(), /* @__PURE__ */ b("span", {
|
|
67
|
+
className: u(k),
|
|
68
|
+
children: g
|
|
69
|
+
})] })
|
|
70
|
+
});
|
|
71
|
+
return !H || E == null || U == null ? X : /* @__PURE__ */ x("div", {
|
|
72
|
+
className: "flex w-full flex-col gap-1.5",
|
|
73
|
+
children: [X, /* @__PURE__ */ b(t, {
|
|
74
|
+
status: E,
|
|
75
|
+
message: D,
|
|
76
|
+
messageId: U,
|
|
77
|
+
size: S[p],
|
|
78
|
+
messagePosition: "bottom",
|
|
79
|
+
bannerClassName: m(E)
|
|
80
|
+
})]
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
//#endregion
|
|
84
|
+
export { w as Radio, p as radioSizes };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type InputStatus } from "../Input/inputShellStyles";
|
|
2
|
+
export declare const radioSizes: readonly ["sm", "md"];
|
|
3
|
+
export type RadioSize = (typeof radioSizes)[number];
|
|
4
|
+
/** Row rhythm — aligns with cluster sm (28px) / md (36px) tiers. */
|
|
5
|
+
export declare const radioRowSizeClasses: Record<RadioSize, string>;
|
|
6
|
+
export declare const radioHitTargetSizeClasses: Record<RadioSize, string>;
|
|
7
|
+
export declare const radioCircleSizeClasses: Record<RadioSize, string>;
|
|
8
|
+
export declare const radioDotSizeClasses: Record<RadioSize, string>;
|
|
9
|
+
export declare const radioCircleBaseClasses: string;
|
|
10
|
+
export declare const radioCircleUncheckedClasses = "border-border-emphasized bg-surface group-hover/radio:border-border-emphasized group-hover/radio:bg-body";
|
|
11
|
+
export declare const radioCircleCheckedClasses = "border-primary bg-primary group-hover/radio:border-primary group-hover/radio:bg-primary";
|
|
12
|
+
export declare const radioDotClasses = "rounded-full bg-primary-foreground";
|
|
13
|
+
export declare const radioCircleDisabledClasses = "opacity-50";
|
|
14
|
+
export declare const radioLabelClasses: string;
|
|
15
|
+
export declare const radioDescriptionClasses: string;
|
|
16
|
+
export declare const radioTextColumnClasses = "flex min-w-0 flex-col gap-px";
|
|
17
|
+
export declare const radioLabelWithDescriptionClasses: string;
|
|
18
|
+
export declare const radioDescriptionRowClasses: Record<RadioSize, string>;
|
|
19
|
+
export declare const radioHitTargetDescriptionAlignClasses: Record<RadioSize, string>;
|
|
20
|
+
export declare const radioRowBaseClasses = "group/radio relative flex w-full cursor-pointer";
|
|
21
|
+
export declare const radioRowLabelOnlyClasses = "items-center";
|
|
22
|
+
export declare const radioRowDisabledClasses = "cursor-not-allowed";
|
|
23
|
+
export declare const radioHiddenInputClasses = "peer absolute inset-0 z-10 size-full cursor-pointer opacity-0 disabled:cursor-not-allowed";
|
|
24
|
+
export declare const radioFocusRingClasses = "peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-focus-ring peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-body";
|
|
25
|
+
export declare function radioCircleClassesFor(size: RadioSize, checked: boolean, disabled?: boolean, status?: InputStatus): string;
|
|
26
|
+
export declare function radioLabelClassesFor(disabled?: boolean, withDescription?: boolean): string;
|
|
27
|
+
export declare function radioStatusBannerClassesFor(status: InputStatus): string;
|
|
28
|
+
//# sourceMappingURL=radioStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radioStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Radio/radioStyles.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,UAAU,uBAAwB,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,oEAAoE;AACpE,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAGzD,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAG/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAG5D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAGzD,CAAC;AAEF,eAAO,MAAM,sBAAsB,QAIlC,CAAC;AAEF,eAAO,MAAM,2BAA2B,6GACoE,CAAC;AAE7G,eAAO,MAAM,yBAAyB,4FACqD,CAAC;AAE5F,eAAO,MAAM,eAAe,uCAAuC,CAAC;AAEpE,eAAO,MAAM,0BAA0B,eAAe,CAAC;AAEvD,eAAO,MAAM,iBAAiB,QAA8B,CAAC;AAE7D,eAAO,MAAM,uBAAuB,QAAiD,CAAC;AAEtF,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AAErE,eAAO,MAAM,gCAAgC,QAAyC,CAAC;AAEvF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAGhE,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAG3E,CAAC;AAEF,eAAO,MAAM,mBAAmB,oDAAoD,CAAC;AAErF,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AAEvD,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,uBAAuB,8FACyD,CAAC;AAE9F,eAAO,MAAM,qBAAqB,sKACmI,CAAC;AAEtK,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,OAAO,EAClB,MAAM,CAAC,EAAE,WAAW,GACnB,MAAM,CASR;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,CAK1F;AAED,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAKvE"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../../lib/cn.js";
|
|
3
|
+
import { typographyClass as t } from "../../../lib/typography.js";
|
|
4
|
+
import { motionTransition as n } from "../../../lib/motion.js";
|
|
5
|
+
import { inputStatusBannerSurfaceClasses as r, inputStatusShellClasses as i } from "../Input/inputShellStyles.js";
|
|
6
|
+
//#region src/components/atoms/Radio/radioStyles.ts
|
|
7
|
+
var a = ["sm", "md"], o = {
|
|
8
|
+
sm: "min-h-7 gap-2",
|
|
9
|
+
md: "min-h-9 gap-2.5"
|
|
10
|
+
}, s = {
|
|
11
|
+
sm: "size-7",
|
|
12
|
+
md: "size-9"
|
|
13
|
+
}, c = {
|
|
14
|
+
sm: "size-[18px] rounded-full",
|
|
15
|
+
md: "size-[22px] rounded-full"
|
|
16
|
+
}, l = {
|
|
17
|
+
sm: "size-2",
|
|
18
|
+
md: "size-2.5"
|
|
19
|
+
}, u = e("pointer-events-none flex items-center justify-center border shadow-none", "transition-[background-color,border-color]", n("fast")), d = "border-border-emphasized bg-surface group-hover/radio:border-border-emphasized group-hover/radio:bg-body", f = "border-primary bg-primary group-hover/radio:border-primary group-hover/radio:bg-primary", p = "rounded-full bg-primary-foreground", m = "opacity-50", h = t("ui-label"), g = e(t("caption"), "leading-snug"), _ = "flex min-w-0 flex-col gap-px", v = e(h, "leading-tight"), y = {
|
|
20
|
+
sm: "flex min-w-0 items-start gap-2",
|
|
21
|
+
md: "flex min-w-0 items-start gap-2.5"
|
|
22
|
+
}, b = {
|
|
23
|
+
sm: "mt-px",
|
|
24
|
+
md: "mt-0.5"
|
|
25
|
+
}, x = "group/radio relative flex w-full cursor-pointer", S = "items-center", C = "cursor-not-allowed", w = "peer absolute inset-0 z-10 size-full cursor-pointer opacity-0 disabled:cursor-not-allowed", T = "peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-focus-ring peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-body";
|
|
26
|
+
function E(t, n, r, a) {
|
|
27
|
+
return e(u, c[t], T, n ? f : d, a != null && i[a], r && "opacity-50");
|
|
28
|
+
}
|
|
29
|
+
function D(t, n) {
|
|
30
|
+
return e(n ? v : h, t && "opacity-50");
|
|
31
|
+
}
|
|
32
|
+
function O(t) {
|
|
33
|
+
return e("flex w-full items-start gap-2 rounded-lg px-2.5 py-2 leading-snug", r[t]);
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { u as radioCircleBaseClasses, f as radioCircleCheckedClasses, E as radioCircleClassesFor, m as radioCircleDisabledClasses, c as radioCircleSizeClasses, d as radioCircleUncheckedClasses, g as radioDescriptionClasses, y as radioDescriptionRowClasses, p as radioDotClasses, l as radioDotSizeClasses, T as radioFocusRingClasses, w as radioHiddenInputClasses, b as radioHitTargetDescriptionAlignClasses, s as radioHitTargetSizeClasses, h as radioLabelClasses, D as radioLabelClassesFor, v as radioLabelWithDescriptionClasses, x as radioRowBaseClasses, C as radioRowDisabledClasses, S as radioRowLabelOnlyClasses, o as radioRowSizeClasses, a as radioSizes, O as radioStatusBannerClassesFor, _ as radioTextColumnClasses };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { riveHandArtboards, riveHandSrc, riveHandWasmSrc, riveHands, type RiveHandEntrance, type RiveHandName } from "./riveHandUtils";
|
|
2
|
+
export { riveHandArtboards, riveHandSrc, riveHandWasmSrc, riveHands, type RiveHandEntrance, type RiveHandName, };
|
|
3
|
+
/** Layout-only — not for colors. Size comes from the `size` prop. */
|
|
4
|
+
export type RiveHandLayoutClassName = string;
|
|
5
|
+
export interface RiveHandProps {
|
|
6
|
+
/** `point` is artboard `31_Cigarette` (the cigarette is removed). `rock` is `29_Rock`. */
|
|
7
|
+
hand: RiveHandName;
|
|
8
|
+
/**
|
|
9
|
+
* Box size. A number is pixels. An `em` length tracks the parent font size.
|
|
10
|
+
* Ignored when `inline` is set — that mode sizes the canvas from the artboard ink.
|
|
11
|
+
*/
|
|
12
|
+
size?: number | string;
|
|
13
|
+
/**
|
|
14
|
+
* Sit in a text line. The canvas is larger than the artboard padding so the
|
|
15
|
+
* drawn hand is about 1.15em and centered on the line. The in-flow slot is
|
|
16
|
+
* zero height, so the line box does not grow.
|
|
17
|
+
* This prop skips the hand's own slide or grow. A TextSequence parent still pops the slot.
|
|
18
|
+
*/
|
|
19
|
+
inline?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Drives state-machine input `Boolean 1`. Hover or focus on the headline sets this.
|
|
22
|
+
* Ignored while `prefers-reduced-motion: reduce` matches.
|
|
23
|
+
*/
|
|
24
|
+
active?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Holds `Boolean 1` for 1.1s, then waits a random 1–2s before the next pulse.
|
|
27
|
+
* Per hand, while the page is visible and the sized hand box is in view.
|
|
28
|
+
* The zero-height inline slot is not the visibility target. Default is on.
|
|
29
|
+
* Inside a TextSequence, the first pulse waits until that slot's pop finishes.
|
|
30
|
+
* Reduced motion never starts the timer.
|
|
31
|
+
*/
|
|
32
|
+
idle?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* `slide-up` rises from below an overflow-clip (the hero clips at the baseline).
|
|
35
|
+
* `grow` scales from 0 at the grip, with a short spring after the rock hand.
|
|
36
|
+
* `none` renders at rest. Reduced motion skips the entrance.
|
|
37
|
+
*/
|
|
38
|
+
entrance?: RiveHandEntrance;
|
|
39
|
+
className?: RiveHandLayoutClassName;
|
|
40
|
+
/** Decorative by default so the headline text stays the accessible name. */
|
|
41
|
+
"aria-hidden"?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export declare function RiveHand({ hand, size, inline, active, idle, entrance, className, "aria-hidden": ariaHidden, }: RiveHandProps): import("react").JSX.Element;
|
|
44
|
+
//# sourceMappingURL=RiveHand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RiveHand.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RiveHand/RiveHand.tsx"],"names":[],"mappings":"AAeA,OAAO,EAIL,iBAAiB,EAkBjB,WAAW,EAEX,eAAe,EACf,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,CAAC;AAaF,qEAAqE;AACrE,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAkC7C,MAAM,WAAW,aAAa;IAC5B,0FAA0F;IAC1F,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,4EAA4E;IAC5E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,MAAc,EACd,MAAc,EACd,IAAW,EACX,QAAiB,EACjB,SAAS,EACT,aAAa,EAAE,UAAiB,GACjC,EAAE,aAAa,+BAkXf"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { cn as e } from "../../../lib/cn.js";
|
|
4
|
+
import { applyRiveHandTokenColors as t, installRiveHandLayoutRect as n, nextRiveHandIdleDelayMs as r, paintRiveHandColors as i, riveHandArtboards as a, riveHandBooleanInput as o, riveHandBooleanValue as s, riveHandBoxSize as c, riveHandClassName as l, riveHandEnteredAttr as ee, riveHandFillProperty as u, riveHandGrowDelaySec as d, riveHandGrowOrigin as f, riveHandGrowSettled as p, riveHandHasLayoutBox as m, riveHandIdleAllowed as h, riveHandIdleHoldMs as te, riveHandInlineLayout as g, riveHandInlineSlotClassName as _, riveHandIntersectsViewport as v, riveHandOutlineProperty as ne, riveHandSrc as y, riveHandStateMachine as b, riveHandWasmSrc as x, riveHands as re } from "./riveHandUtils.js";
|
|
5
|
+
import { useEffect as S, useLayoutEffect as C, useMemo as ie, useRef as w, useState as T } from "react";
|
|
6
|
+
import { jsx as E } from "react/jsx-runtime";
|
|
7
|
+
import { motion as ae } from "motion/react";
|
|
8
|
+
import { Fit as oe, Layout as se, Rive as D, RuntimeLoader as O, useRive as ce, useStateMachineInput as le, useViewModelInstanceColor as k } from "@rive-app/react-canvas";
|
|
9
|
+
import { createPortal as ue } from "react-dom";
|
|
10
|
+
O.setWasmUrl(x), D.suppressDeprecationWarnings = [.../* @__PURE__ */ new Set([...D.suppressDeprecationWarnings, "state-machine-inputs"])];
|
|
11
|
+
function de(e, t, n) {
|
|
12
|
+
if (!(!t || !m(t.clientWidth, t.clientHeight))) {
|
|
13
|
+
if (n) {
|
|
14
|
+
e.drawFrame(), e.pause();
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if (v(t.getBoundingClientRect(), window.innerWidth, window.innerHeight)) {
|
|
18
|
+
if (typeof e.play == "function" && (e.isStopped || e.isPaused)) {
|
|
19
|
+
e.play(e.isStopped ? b : void 0);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
e.startRendering();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, entrance: j = "none", className: fe, "aria-hidden": M = !0 }) {
|
|
27
|
+
let [N, pe] = T(!1), [P, F] = T(!1), [me, he] = T(0), [I, L] = T(!1), [R, z] = T(j === "none"), B = w(N);
|
|
28
|
+
B.current = N;
|
|
29
|
+
let V = w(O);
|
|
30
|
+
V.current = O;
|
|
31
|
+
let H = w(null), ge = ie(() => new se({ fit: oe.Contain }), []), { rive: U, RiveComponent: _e } = ce({
|
|
32
|
+
src: y,
|
|
33
|
+
artboard: a[x],
|
|
34
|
+
stateMachine: b,
|
|
35
|
+
autoplay: !0,
|
|
36
|
+
autoBind: !0,
|
|
37
|
+
shouldDisableRiveListeners: !0,
|
|
38
|
+
layout: ge,
|
|
39
|
+
onRiveReady: (e) => {
|
|
40
|
+
i(e), e.drawFrame();
|
|
41
|
+
}
|
|
42
|
+
}), { setRgb: W } = k(u, U?.viewModelInstance), { setRgb: G } = k(ne, U?.viewModelInstance), K = le(U, b, o);
|
|
43
|
+
C(() => {
|
|
44
|
+
if (typeof window > "u" || typeof window.matchMedia != "function") {
|
|
45
|
+
F(!0);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
let e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => pe(e.matches);
|
|
49
|
+
return t(), F(!0), e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
50
|
+
}, []), S(() => {
|
|
51
|
+
if (typeof document > "u" || typeof MutationObserver > "u") return;
|
|
52
|
+
let e = new MutationObserver(() => he((e) => e + 1));
|
|
53
|
+
return e.observe(document.documentElement, {
|
|
54
|
+
attributes: !0,
|
|
55
|
+
attributeFilter: [
|
|
56
|
+
"data-theme",
|
|
57
|
+
"class",
|
|
58
|
+
"style"
|
|
59
|
+
]
|
|
60
|
+
}), () => e.disconnect();
|
|
61
|
+
}, []), S(() => {
|
|
62
|
+
t({
|
|
63
|
+
handFill: { setRgb: W },
|
|
64
|
+
outline: { setRgb: G }
|
|
65
|
+
}), U && (N ? K && (K.value = !1) : K && (K.value = s(O, I, !1)), de(U, H.current, N));
|
|
66
|
+
}, [
|
|
67
|
+
O,
|
|
68
|
+
I,
|
|
69
|
+
K,
|
|
70
|
+
N,
|
|
71
|
+
U,
|
|
72
|
+
W,
|
|
73
|
+
G,
|
|
74
|
+
me
|
|
75
|
+
]), S(() => {
|
|
76
|
+
if (!P || N || j === "none") return;
|
|
77
|
+
let e = H.current, t = e?.parentElement ?? e;
|
|
78
|
+
if (!t || typeof IntersectionObserver > "u") {
|
|
79
|
+
z(!0);
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
let n = new IntersectionObserver((e) => {
|
|
83
|
+
e.some((e) => e.isIntersecting) && (z(!0), n.disconnect());
|
|
84
|
+
});
|
|
85
|
+
return n.observe(t), () => n.disconnect();
|
|
86
|
+
}, [
|
|
87
|
+
j,
|
|
88
|
+
P,
|
|
89
|
+
N
|
|
90
|
+
]), S(() => {
|
|
91
|
+
if (!A || N) return;
|
|
92
|
+
let e = H.current, t = 0, n = 0, i = document.visibilityState !== "hidden", a = typeof IntersectionObserver > "u", o = !1, s = () => {
|
|
93
|
+
window.clearTimeout(t), window.clearTimeout(n), t = 0, n = 0;
|
|
94
|
+
}, c = e?.closest("[data-text-sequence]") ? e.closest("[data-rive-hand-slot]") : null, l = () => !c || c.getAttribute("data-rive-hand-entered") === "true", u = () => {
|
|
95
|
+
s(), l() && (o || !h({
|
|
96
|
+
idle: !0,
|
|
97
|
+
reduced: B.current,
|
|
98
|
+
pageVisible: i,
|
|
99
|
+
inView: a
|
|
100
|
+
}) || (t = window.setTimeout(() => {
|
|
101
|
+
if (!(o || !l() || !h({
|
|
102
|
+
idle: !0,
|
|
103
|
+
reduced: B.current,
|
|
104
|
+
pageVisible: i,
|
|
105
|
+
inView: a
|
|
106
|
+
}))) {
|
|
107
|
+
if (V.current) {
|
|
108
|
+
u();
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
L(!0), n = window.setTimeout(() => {
|
|
112
|
+
L(!1), u();
|
|
113
|
+
}, te);
|
|
114
|
+
}
|
|
115
|
+
}, r())));
|
|
116
|
+
}, d = (e) => {
|
|
117
|
+
e !== a && (a = e, a || L(!1), u());
|
|
118
|
+
}, f = () => {
|
|
119
|
+
i = document.visibilityState !== "hidden", i || L(!1), u();
|
|
120
|
+
}, p = null;
|
|
121
|
+
typeof IntersectionObserver < "u" && e ? (p = new IntersectionObserver((e) => {
|
|
122
|
+
let t = e[e.length - 1];
|
|
123
|
+
if (!t) return;
|
|
124
|
+
let n = t.boundingClientRect;
|
|
125
|
+
n && !m(n.width, n.height) || d(t.isIntersecting);
|
|
126
|
+
}), p.observe(e)) : u();
|
|
127
|
+
let g = null;
|
|
128
|
+
typeof ResizeObserver < "u" && e && (g = new ResizeObserver(() => {
|
|
129
|
+
if (!e.isConnected || !m(e.clientWidth, e.clientHeight)) return;
|
|
130
|
+
let t = e.getBoundingClientRect();
|
|
131
|
+
m(t.width, t.height) && d(v(t, window.innerWidth, window.innerHeight));
|
|
132
|
+
}), g.observe(e));
|
|
133
|
+
let _ = null;
|
|
134
|
+
return c && typeof MutationObserver < "u" && (_ = new MutationObserver(() => {
|
|
135
|
+
l() || L(!1), u();
|
|
136
|
+
}), _.observe(c, {
|
|
137
|
+
attributes: !0,
|
|
138
|
+
attributeFilter: [ee]
|
|
139
|
+
})), document.addEventListener("visibilitychange", f), () => {
|
|
140
|
+
o = !0, s(), L(!1), p?.disconnect(), g?.disconnect(), _?.disconnect(), document.removeEventListener("visibilitychange", f);
|
|
141
|
+
};
|
|
142
|
+
}, [
|
|
143
|
+
A,
|
|
144
|
+
P,
|
|
145
|
+
N
|
|
146
|
+
]);
|
|
147
|
+
let q = D ? g(x) : null, J = q ? q.box : c(re ?? "1em"), [Y, ve] = T(null), X = !D && P && !N && j === "slide-up", Z = !D && P && !N && j === "grow";
|
|
148
|
+
C(() => {
|
|
149
|
+
let e = H.current;
|
|
150
|
+
if (e) {
|
|
151
|
+
if (e.shadowRoot) {
|
|
152
|
+
ve(e.shadowRoot);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
ve(e.attachShadow({ mode: "open" }));
|
|
156
|
+
}
|
|
157
|
+
}, [X, Z]), C(() => {
|
|
158
|
+
let e = H.current?.shadowRoot?.querySelector("canvas");
|
|
159
|
+
e && n(e);
|
|
160
|
+
}, [Y]);
|
|
161
|
+
let Q = w(() => {});
|
|
162
|
+
S(() => {
|
|
163
|
+
let e = H.current;
|
|
164
|
+
if (!U || !e) return;
|
|
165
|
+
let t = () => {
|
|
166
|
+
let e = H.current;
|
|
167
|
+
if (!e) return;
|
|
168
|
+
let t = e.getBoundingClientRect();
|
|
169
|
+
if (!p(e.offsetWidth, e.offsetHeight, t.width, t.height)) return;
|
|
170
|
+
let n = e.shadowRoot?.querySelector("canvas");
|
|
171
|
+
n && e.clientWidth > 0 && e.clientHeight > 0 && (n.style.width = `${e.clientWidth}px`, n.style.height = `${e.clientHeight}px`), m(e.clientWidth, e.clientHeight) && (U.resizeDrawingSurfaceToCanvas(), de(U, e, B.current));
|
|
172
|
+
};
|
|
173
|
+
Q.current = t;
|
|
174
|
+
let n = 0, r = 0, i = () => {
|
|
175
|
+
t();
|
|
176
|
+
let e = H.current, a = e?.shadowRoot?.querySelector("canvas"), o = !a || a.clientWidth < 1 || a.clientHeight < 1, s = !e || !e.isConnected || e.clientWidth < 1 || e.clientHeight < 1;
|
|
177
|
+
(o || s) && e?.isConnected && n < 8 && (n += 1, r = requestAnimationFrame(i));
|
|
178
|
+
};
|
|
179
|
+
if (i(), typeof ResizeObserver > "u") return () => {
|
|
180
|
+
cancelAnimationFrame(r), Q.current = () => {};
|
|
181
|
+
};
|
|
182
|
+
let a = new ResizeObserver(() => {
|
|
183
|
+
t();
|
|
184
|
+
});
|
|
185
|
+
return a.observe(e), () => {
|
|
186
|
+
cancelAnimationFrame(r), a.disconnect(), Q.current = () => {};
|
|
187
|
+
};
|
|
188
|
+
}, [
|
|
189
|
+
Z,
|
|
190
|
+
X,
|
|
191
|
+
U
|
|
192
|
+
]);
|
|
193
|
+
let ye = Y ? ue(/* @__PURE__ */ E("div", {
|
|
194
|
+
style: {
|
|
195
|
+
width: "100%",
|
|
196
|
+
height: "100%"
|
|
197
|
+
},
|
|
198
|
+
children: /* @__PURE__ */ E(_e, {})
|
|
199
|
+
}), Y) : null, be = e(l, fe), xe = {
|
|
200
|
+
width: J,
|
|
201
|
+
height: J,
|
|
202
|
+
transformOrigin: Z ? f : void 0,
|
|
203
|
+
...q ? {
|
|
204
|
+
position: "absolute",
|
|
205
|
+
left: "50%",
|
|
206
|
+
top: "50%",
|
|
207
|
+
transform: q.transform
|
|
208
|
+
} : {}
|
|
209
|
+
}, $ = !X && !Z ? /* @__PURE__ */ E("div", {
|
|
210
|
+
ref: H,
|
|
211
|
+
"aria-hidden": M,
|
|
212
|
+
"data-rive-hand": x,
|
|
213
|
+
className: be,
|
|
214
|
+
style: xe,
|
|
215
|
+
children: ye
|
|
216
|
+
}) : /* @__PURE__ */ E(ae.div, {
|
|
217
|
+
ref: H,
|
|
218
|
+
"aria-hidden": M,
|
|
219
|
+
"data-rive-hand": x,
|
|
220
|
+
className: be,
|
|
221
|
+
style: xe,
|
|
222
|
+
initial: X ? { y: "100%" } : { scale: 0 },
|
|
223
|
+
animate: X ? { y: R ? "0%" : "100%" } : { scale: +!!R },
|
|
224
|
+
transition: X ? {
|
|
225
|
+
type: "spring",
|
|
226
|
+
stiffness: 260,
|
|
227
|
+
damping: 28,
|
|
228
|
+
mass: .85
|
|
229
|
+
} : {
|
|
230
|
+
type: "spring",
|
|
231
|
+
stiffness: 480,
|
|
232
|
+
damping: 12,
|
|
233
|
+
mass: .55,
|
|
234
|
+
delay: R ? d : 0
|
|
235
|
+
},
|
|
236
|
+
onAnimationComplete: () => {
|
|
237
|
+
Q.current();
|
|
238
|
+
},
|
|
239
|
+
children: ye
|
|
240
|
+
});
|
|
241
|
+
return q ? /* @__PURE__ */ E("span", {
|
|
242
|
+
"aria-hidden": M,
|
|
243
|
+
"data-rive-hand-slot": x,
|
|
244
|
+
className: _,
|
|
245
|
+
style: { width: q.slot },
|
|
246
|
+
children: /* @__PURE__ */ E("span", {
|
|
247
|
+
"data-rive-hand-pop": "",
|
|
248
|
+
className: "pointer-events-none absolute left-0 top-0 h-0 w-full",
|
|
249
|
+
children: $
|
|
250
|
+
})
|
|
251
|
+
}) : $;
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
export { A as RiveHand, a as riveHandArtboards, y as riveHandSrc, x as riveHandWasmSrc, re as riveHands };
|