@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,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Footer reveal shell.
|
|
3
|
+
*
|
|
4
|
+
* Scrollbar: `src/theme/grid.css` already sets `scrollbar-gutter: stable` on
|
|
5
|
+
* `html`. That gutter paints the page background beside a full-bleed field.
|
|
6
|
+
* This shell does not hide the scrollbar. The root and the cover do not clip:
|
|
7
|
+
* an `overflow-x: clip` ancestor keeps GridOverlay's column guides inside
|
|
8
|
+
* `main`, so they never reach the hero. The wordmark's bottom bleed is clipped
|
|
9
|
+
* on the brand panel and the footer field instead. Do not add `overflow-hidden`
|
|
10
|
+
* on the root — it breaks `position: sticky`. Do not set `scrollbar-width: none`.
|
|
11
|
+
*/
|
|
12
|
+
/** Isolate root — negative z-index on the footer stays inside this stacking context. */
|
|
13
|
+
export declare const footerRevealRootClasses = "relative isolate w-full max-w-full overflow-visible";
|
|
14
|
+
/** Page cover — opaque page background, at least one viewport tall, above the footer. */
|
|
15
|
+
export declare const footerRevealContentClasses = "relative z-[1] min-h-dvh w-full max-w-full overflow-visible bg-body";
|
|
16
|
+
/**
|
|
17
|
+
* Sticky under-page footer. Class name is not `footer` — a bare `footer`
|
|
18
|
+
* class collides with page-level footer rules in consuming apps.
|
|
19
|
+
*/
|
|
20
|
+
export declare const footerRevealStickyClasses = "sticky bottom-0 z-[-1] m-0 w-full max-w-full overflow-x-clip bg-transparent p-0";
|
|
21
|
+
/** Opacity layer. Field color belongs here (see `footerRevealFieldClasses`). */
|
|
22
|
+
export declare const footerRevealFadeClasses = "w-full max-w-full overflow-x-clip";
|
|
23
|
+
/** Scale + blur layer. Transform origin is the bottom center (`50% 100%`). */
|
|
24
|
+
export declare const footerRevealScaleClasses = "w-full max-w-full";
|
|
25
|
+
/**
|
|
26
|
+
* Brand field for the uncovered footer plane.
|
|
27
|
+
* `--color-brand` (`#011272`) with `--color-on-brand` (white). White on that navy is 15.8:1.
|
|
28
|
+
*/
|
|
29
|
+
export declare const footerRevealFieldClasses = "bg-brand text-on-brand";
|
|
30
|
+
/**
|
|
31
|
+
* Links on the brand field. **TextLink** locks `text-fg` for prose on the page
|
|
32
|
+
* background; inherit so these links use the field ink (`--color-on-brand`).
|
|
33
|
+
*/
|
|
34
|
+
export declare const footerRevealFieldLinkClasses: string;
|
|
35
|
+
/** Centered brand footer. Clips the decorative wordmark so it cannot widen the page. */
|
|
36
|
+
export declare const footerRevealBrandClasses: string;
|
|
37
|
+
/**
|
|
38
|
+
* Page-grid stripes on the brand field. Shown with `html.grid-on`.
|
|
39
|
+
* They sit under the field content (`z-0` vs `z-[1]`) and over the navy fill.
|
|
40
|
+
*/
|
|
41
|
+
export declare const footerRevealFieldGuideClasses = "footer-reveal-guides pointer-events-none absolute inset-0 z-0 hidden";
|
|
42
|
+
/** Same max-width, margin, and tracks as `grid-page` / `.grid-guides-cols`. */
|
|
43
|
+
export declare const footerRevealFieldGuideFrameClasses = "pointer-events-none absolute inset-y-0 right-0 left-0 mx-auto w-[min(100%,var(--grid-max))]";
|
|
44
|
+
/** Footer type and controls. Above the field guides. */
|
|
45
|
+
export declare const footerRevealFieldContentClasses = "footer-reveal-field-content relative z-[1]";
|
|
46
|
+
export declare const footerRevealBrandCopyClasses = "relative z-[1] flex w-full max-w-4xl flex-col items-center gap-10";
|
|
47
|
+
export declare const footerRevealBrandHeadlineClasses = "type-display-1 text-balance text-on-brand";
|
|
48
|
+
export declare const footerRevealSocialListClasses = "m-0 flex list-none flex-wrap items-center justify-center gap-x-8 gap-y-3 p-0";
|
|
49
|
+
/** Heading-1 (24px) so the row clears large-text AA on brand, with the field underline. */
|
|
50
|
+
export declare const footerRevealSocialLinkClasses: string;
|
|
51
|
+
/**
|
|
52
|
+
* Full-bleed wordmark frame. Inline-size container for the wordmark's `cqi`
|
|
53
|
+
* font-size. Sits on the brand panel's padding edge so the word spans the
|
|
54
|
+
* footer, not the padded copy column.
|
|
55
|
+
*/
|
|
56
|
+
export declare const footerRevealWordmarkFrameClasses = "@container pointer-events-none absolute inset-x-0 bottom-0 z-0 flex w-full justify-center";
|
|
57
|
+
/**
|
|
58
|
+
* Advance width in em used before measurement. Large enough that the default
|
|
59
|
+
* word stays inside the footer until the real font is measured.
|
|
60
|
+
*/
|
|
61
|
+
export declare const footerRevealWordmarkEmFallback = 9;
|
|
62
|
+
/**
|
|
63
|
+
* Font size that fills the wordmark frame. `100cqi` is the frame's inline
|
|
64
|
+
* size; dividing by the measured advance width (in em) scales any word to
|
|
65
|
+
* that width. No breakpoint cap.
|
|
66
|
+
*/
|
|
67
|
+
export declare const footerRevealWordmarkFontSize = "calc(100cqi / var(--footer-wordmark-em, 9))";
|
|
68
|
+
/**
|
|
69
|
+
* Decorative wordmark. Fills the frame, then shifts down so the letters bleed
|
|
70
|
+
* off the bottom edge. `--color-brand-soft` is 40% white on the navy so it
|
|
71
|
+
* stays visible; 20% white sinks into `#011272`.
|
|
72
|
+
*/
|
|
73
|
+
export declare const footerRevealWordmarkClasses: string;
|
|
74
|
+
/** `https` links open in a new tab. Hash placeholders stay in the page. */
|
|
75
|
+
export declare function footerRevealExternalLinkProps(href: string): {
|
|
76
|
+
target?: "_blank";
|
|
77
|
+
rel?: "noopener";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Cream field with brand ink. Page background (`bg-body`) and `--color-brand`
|
|
81
|
+
* (`#011272`). Dark theme repaints this class to `--color-on-brand` — brand
|
|
82
|
+
* navy on the dark body is under 3:1. See `theme.css`.
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* Cream field. At least one viewport (`100vh`) so a short stack cannot leave
|
|
86
|
+
* the page showing above the footer. Taller content grows the field.
|
|
87
|
+
*/
|
|
88
|
+
export declare const footerRevealRuledFieldClasses = "footer-reveal-ruled-field min-h-[100vh] bg-body text-brand";
|
|
89
|
+
/**
|
|
90
|
+
* Full-bleed shell. At least `100vh`, same floor as the field, so every mount
|
|
91
|
+
* of **FooterReveal.Ruled** fills the viewport. Taller content grows it.
|
|
92
|
+
* Centered link stack, then the fitted wordmark, then the quiet meta row.
|
|
93
|
+
* No max-width and no overflow clip — the nav, wordmark, and meta row stay
|
|
94
|
+
* visible. The wordmark has to reach the viewport width.
|
|
95
|
+
*
|
|
96
|
+
* That stack is one block. `justify-center-safe` places it in the vertical
|
|
97
|
+
* center of the field when it fits, so the leftover cream is shared above
|
|
98
|
+
* the links and below the quiet row. `safe` keeps a short viewport on
|
|
99
|
+
* `flex-start` instead of sliding the links under the pinned nav.
|
|
100
|
+
*
|
|
101
|
+
* Top padding clears the pinned site nav on every mount. `--site-nav-height`
|
|
102
|
+
* is the nav band. `var(--spacing) * 4` is that pill's 1rem pin (`top-4`).
|
|
103
|
+
* The bottom inset stays `--grid-pad`.
|
|
104
|
+
*/
|
|
105
|
+
export declare const footerRevealRuledRootClasses: string;
|
|
106
|
+
/** Centered link stack. The list hugs its labels; it does not stretch into columns. */
|
|
107
|
+
export declare const footerRevealRuledLinksClasses = "flex w-full min-w-0 justify-center px-[var(--grid-margin)]";
|
|
108
|
+
/**
|
|
109
|
+
* Parent of the three **TextLink**s. Geist sans is inherited. Below `sm` the
|
|
110
|
+
* size is `--font-size-4xl` (2.1875rem) so the stack does not fill a phone.
|
|
111
|
+
* From `sm` it is 4rem. No type token is 4rem. **TextLink** keeps its own
|
|
112
|
+
* solid underline, medium weight, and focus ring.
|
|
113
|
+
*/
|
|
114
|
+
export declare const footerRevealRuledLinkListClasses: string;
|
|
115
|
+
/**
|
|
116
|
+
* Brand ink on these three footer links. **TextLink** sets `text-fg` on the
|
|
117
|
+
* anchor, which wins over a parent `text-brand`. `!` keeps `--color-brand`
|
|
118
|
+
* (`#011272`) on the words only. The solid underline stays TextLink's.
|
|
119
|
+
*/
|
|
120
|
+
export declare const footerRevealRuledNavLinkClasses = "!text-brand";
|
|
121
|
+
/**
|
|
122
|
+
* Quiet meta row. One centered stack below `md`. From `md`, seal and copyright
|
|
123
|
+
* lead, the email is centered, and the credit sits on the end.
|
|
124
|
+
*/
|
|
125
|
+
export declare const footerRevealRuledMetaClasses = "grid w-full min-w-0 grid-cols-1 items-center gap-3 px-[var(--grid-margin)] md:grid-cols-3 md:gap-4";
|
|
126
|
+
export declare const footerRevealRuledIdentityClasses = "flex min-w-0 items-center justify-center gap-2 md:justify-start";
|
|
127
|
+
export declare const footerRevealRuledCopyrightClasses = "type-supporting min-w-0 text-brand";
|
|
128
|
+
/** Small typographic WM beside the copyright. Not a separate logo asset. */
|
|
129
|
+
export declare const footerRevealRuledMarkClasses = "shrink-0 font-sans text-[length:var(--font-size-xl)] font-bold leading-none tracking-[-0.04em] text-brand";
|
|
130
|
+
export declare const footerRevealRuledContactClasses = "flex min-w-0 justify-center";
|
|
131
|
+
export declare const footerRevealRuledEmailClasses: string;
|
|
132
|
+
/**
|
|
133
|
+
* Wordmark frame. Full footer width so `100cqi` tracks the viewport, not the
|
|
134
|
+
* page grid. A 12px inset keeps side-bearing ink off the viewport edge. Overflow
|
|
135
|
+
* stays visible — a hidden frame is what cropped the previous giant word.
|
|
136
|
+
*/
|
|
137
|
+
export declare const footerRevealRuledWordmarkFrameClasses = "@container flex w-full min-w-0 items-center justify-center overflow-visible px-3 py-[var(--grid-baseline)]";
|
|
138
|
+
/** Fully visible. `leading-none` keeps the line box on the caps. No crop shift. */
|
|
139
|
+
export declare const footerRevealRuledWordmarkClasses = "w-max max-w-none shrink-0 whitespace-nowrap text-center font-sans font-bold leading-none tracking-[-0.045em] text-brand";
|
|
140
|
+
export declare const footerRevealRuledCreditClasses = "flex min-w-0 justify-center md:justify-end";
|
|
141
|
+
export declare const footerRevealRuledCreditCopyClasses = "min-w-0 max-w-full text-center font-mono text-[length:var(--font-size-sm)] leading-none text-brand break-words md:text-right";
|
|
142
|
+
//# sourceMappingURL=footerRevealStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footerRevealStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/FooterReveal/footerRevealStyles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,wFAAwF;AACxF,eAAO,MAAM,uBAAuB,wDAAwD,CAAC;AAE7F,yFAAyF;AACzF,eAAO,MAAM,0BAA0B,wEACgC,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,yBAAyB,oFAC6C,CAAC;AAEpF,gFAAgF;AAChF,eAAO,MAAM,uBAAuB,sCAAsC,CAAC;AAE3E,8EAA8E;AAC9E,eAAO,MAAM,wBAAwB,sBAAsB,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,wBAAwB,2BAA2B,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,QAIN,CAAC;AAEpC,wFAAwF;AACxF,eAAO,MAAM,wBAAwB,QAEkB,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,yEAC8B,CAAC;AAEzE,+EAA+E;AAC/E,eAAO,MAAM,kCAAkC,gGACgD,CAAC;AAEhG,wDAAwD;AACxD,eAAO,MAAM,+BAA+B,+CAA+C,CAAC;AAE5F,eAAO,MAAM,4BAA4B,sEAC4B,CAAC;AAEtE,eAAO,MAAM,gCAAgC,8CAA8C,CAAC;AAE5F,eAAO,MAAM,6BAA6B,iFACsC,CAAC;AAEjF,2FAA2F;AAC3F,eAAO,MAAM,6BAA6B,QAAmD,CAAC;AAE9F;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,8FACgD,CAAC;AAE9F;;;GAGG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,gDACsC,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,QAGrB,CAAC;AAEpB,2EAA2E;AAC3E,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,MAAM,GACX;IAAE,MAAM,CAAC,EAAE,QAAQ,CAAC;IAAC,GAAG,CAAC,EAAE,UAAU,CAAA;CAAE,CAGzC;AAED;;;;GAIG;AACH;;;GAGG;AACH,eAAO,MAAM,6BAA6B,+DACoB,CAAC;AAE/D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,4BAA4B,QAEyD,CAAC;AAEnG,uFAAuF;AACvF,eAAO,MAAM,6BAA6B,+DACoB,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,QAEqB,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,gBAAgB,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uGAC6D,CAAC;AAEvG,eAAO,MAAM,gCAAgC,oEACsB,CAAC;AAEpE,eAAO,MAAM,iCAAiC,uCAAuC,CAAC;AAEtF,4EAA4E;AAC5E,eAAO,MAAM,4BAA4B,8GACoE,CAAC;AAE9G,eAAO,MAAM,+BAA+B,gCAAgC,CAAC;AAE7E,eAAO,MAAM,6BAA6B,QAEO,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,qCAAqC,+GAC4D,CAAC;AAE/G,mFAAmF;AACnF,eAAO,MAAM,gCAAgC,4HAC8E,CAAC;AAE5H,eAAO,MAAM,8BAA8B,+CAA+C,CAAC;AAE3F,eAAO,MAAM,kCAAkC,iIACiF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/components/organisms/FooterReveal/footerRevealStyles.ts
|
|
3
|
+
var e = "relative isolate w-full max-w-full overflow-visible", t = "relative z-[1] min-h-dvh w-full max-w-full overflow-visible bg-body", n = "sticky bottom-0 z-[-1] m-0 w-full max-w-full overflow-x-clip bg-transparent p-0", r = "w-full max-w-full overflow-x-clip", i = "w-full max-w-full", a = "bg-brand text-on-brand", o = "text-inherit underline decoration-solid underline-offset-[0.18em] hover:decoration-current focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-on-brand focus-visible:ring-offset-2 focus-visible:ring-offset-brand", s = "relative flex min-h-dvh w-full max-w-full flex-col items-center justify-center overflow-hidden px-[var(--grid-margin)] pb-[18vw] pt-24 text-center", c = "footer-reveal-guides pointer-events-none absolute inset-0 z-0 hidden", l = "pointer-events-none absolute inset-y-0 right-0 left-0 mx-auto w-[min(100%,var(--grid-max))]", u = "footer-reveal-field-content relative z-[1]", d = "relative z-[1] flex w-full max-w-4xl flex-col items-center gap-10", f = "type-display-1 text-balance text-on-brand", p = "m-0 flex list-none flex-wrap items-center justify-center gap-x-8 gap-y-3 p-0", m = "text-inherit underline decoration-solid underline-offset-[0.18em] hover:decoration-current focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-on-brand focus-visible:ring-offset-2 focus-visible:ring-offset-brand type-heading-1", h = "@container pointer-events-none absolute inset-x-0 bottom-0 z-0 flex w-full justify-center", g = "calc(100cqi / var(--footer-wordmark-em, 9))", _ = "pointer-events-none w-max max-w-none shrink-0 translate-y-[16%] select-none whitespace-nowrap text-center font-sans font-bold leading-[0.78] tracking-[-0.045em] text-brand-soft";
|
|
4
|
+
function v(e) {
|
|
5
|
+
return /^https?:\/\//i.test(e) ? {
|
|
6
|
+
target: "_blank",
|
|
7
|
+
rel: "noopener"
|
|
8
|
+
} : {};
|
|
9
|
+
}
|
|
10
|
+
var y = "footer-reveal-ruled-field min-h-[100vh] bg-body text-brand", b = "flex min-h-[100vh] w-full min-w-0 flex-col items-center justify-center-safe gap-[var(--grid-pad)] pb-[var(--grid-pad)] pt-[calc(var(--site-nav-height)+var(--spacing)*4)] text-center text-brand", x = "flex w-full min-w-0 justify-center px-[var(--grid-margin)]", S = "m-0 flex list-none flex-col items-center gap-3 whitespace-nowrap p-0 font-sans text-[length:var(--font-size-4xl)] leading-none sm:text-[4rem]", C = "!text-brand", w = "grid w-full min-w-0 grid-cols-1 items-center gap-3 px-[var(--grid-margin)] md:grid-cols-3 md:gap-4", T = "flex min-w-0 items-center justify-center gap-2 md:justify-start", E = "type-supporting min-w-0 text-brand", D = "shrink-0 font-sans text-[length:var(--font-size-xl)] font-bold leading-none tracking-[-0.04em] text-brand", O = "flex min-w-0 justify-center", k = "type-label text-brand focus-visible:rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand", A = "@container flex w-full min-w-0 items-center justify-center overflow-visible px-3 py-[var(--grid-baseline)]", j = "w-max max-w-none shrink-0 whitespace-nowrap text-center font-sans font-bold leading-none tracking-[-0.045em] text-brand", M = "flex min-w-0 justify-center md:justify-end", N = "min-w-0 max-w-full text-center font-mono text-[length:var(--font-size-sm)] leading-none text-brand break-words md:text-right";
|
|
11
|
+
//#endregion
|
|
12
|
+
export { s as footerRevealBrandClasses, d as footerRevealBrandCopyClasses, f as footerRevealBrandHeadlineClasses, t as footerRevealContentClasses, v as footerRevealExternalLinkProps, r as footerRevealFadeClasses, a as footerRevealFieldClasses, u as footerRevealFieldContentClasses, c as footerRevealFieldGuideClasses, l as footerRevealFieldGuideFrameClasses, o as footerRevealFieldLinkClasses, e as footerRevealRootClasses, O as footerRevealRuledContactClasses, E as footerRevealRuledCopyrightClasses, M as footerRevealRuledCreditClasses, N as footerRevealRuledCreditCopyClasses, k as footerRevealRuledEmailClasses, y as footerRevealRuledFieldClasses, T as footerRevealRuledIdentityClasses, S as footerRevealRuledLinkListClasses, x as footerRevealRuledLinksClasses, D as footerRevealRuledMarkClasses, w as footerRevealRuledMetaClasses, C as footerRevealRuledNavLinkClasses, b as footerRevealRuledRootClasses, j as footerRevealRuledWordmarkClasses, A as footerRevealRuledWordmarkFrameClasses, i as footerRevealScaleClasses, m as footerRevealSocialLinkClasses, p as footerRevealSocialListClasses, n as footerRevealStickyClasses, _ as footerRevealWordmarkClasses, g as footerRevealWordmarkFontSize, h as footerRevealWordmarkFrameClasses };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Advance width of the word in em. Null when the probe did not lay out. */
|
|
2
|
+
export declare function footerRevealWordmarkEm(textWidthPx: number, fontSizePx: number): number | null;
|
|
3
|
+
/**
|
|
4
|
+
* Em count that makes a word of `measuredEm` fill `frameWidthPx`.
|
|
5
|
+
* `textWidthPx` is that word's layout width at `measuredEm`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function footerRevealWordmarkFittedEm(measuredEm: number, textWidthPx: number, frameWidthPx: number): number | null;
|
|
8
|
+
/** Unitless CSS value. Rounded so resize passes do not churn the attribute. */
|
|
9
|
+
export declare function footerRevealWordmarkEmCss(em: number): string;
|
|
10
|
+
/**
|
|
11
|
+
* Content-box inline size. `100cqi` resolves against this box, not `clientWidth`
|
|
12
|
+
* when the frame has padding.
|
|
13
|
+
*/
|
|
14
|
+
export declare function footerRevealWordmarkFrameWidth(frame: HTMLElement): number;
|
|
15
|
+
/**
|
|
16
|
+
* Largest em whose width still fits. Smaller em is a larger font.
|
|
17
|
+
* `widthAt` is called with the rounded em that `100cqi / em` will use.
|
|
18
|
+
*/
|
|
19
|
+
export declare function footerRevealWordmarkFitEm(frameWidthPx: number, measuredEm: number, widthAt: (em: number) => number): number | null;
|
|
20
|
+
/** True when the word covers at least `minRatio` of the frame's content box. */
|
|
21
|
+
export declare function footerRevealWordmarkFillsFrame(text: HTMLElement, frame: HTMLElement, minRatio?: number): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Advance width in em at a fixed px size. `scrollWidth` ignores the footer's
|
|
24
|
+
* reveal scale (`transform`); a bounding rect would not. Measured on a probe
|
|
25
|
+
* so the live word's font-size does not transition.
|
|
26
|
+
*/
|
|
27
|
+
export declare function readFooterRevealWordmarkEm(node: HTMLElement): number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Writes `--footer-wordmark-em` so `100cqi / em` fills the frame.
|
|
30
|
+
* Hinting is not linear, so a single scale can jump past the frame and clip
|
|
31
|
+
* the terminal letters. Search for the largest size that still fits.
|
|
32
|
+
* The search reads a hidden probe, not the live word: under reduced motion the
|
|
33
|
+
* global `transition-duration` would otherwise keep `scrollWidth` on the size
|
|
34
|
+
* from before each write.
|
|
35
|
+
*/
|
|
36
|
+
export declare function syncFooterRevealWordmark(node: HTMLElement, frame: HTMLElement): number | null;
|
|
37
|
+
//# sourceMappingURL=footerRevealWordmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footerRevealWordmark.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/FooterReveal/footerRevealWordmark.ts"],"names":[],"mappings":"AAIA,4EAA4E;AAC5E,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI7F;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,MAAM,GAAG,IAAI,CAKf;AAED,+EAA+E;AAC/E,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAG5D;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAMzE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,GAC9B,MAAM,GAAG,IAAI,CAoBf;AAED,gFAAgF;AAChF,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,WAAW,EAClB,QAAQ,SAAM,GACb,OAAO,CAKT;AAoCD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAQ3E;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAwB7F"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
return !Number.isFinite(e) || !Number.isFinite(t) || e <= 0 || t <= 0 ? null : e / t;
|
|
4
|
+
}
|
|
5
|
+
function t(e) {
|
|
6
|
+
return !Number.isFinite(e) || e <= 0 ? "9" : (Math.round(e * 1e6) / 1e6).toString();
|
|
7
|
+
}
|
|
8
|
+
function n(e) {
|
|
9
|
+
let t = getComputedStyle(e), n = Number.parseFloat(t.paddingLeft) + Number.parseFloat(t.paddingRight), r = Number.isFinite(n) ? n : 0;
|
|
10
|
+
return e.clientWidth - r;
|
|
11
|
+
}
|
|
12
|
+
function r(e, n, r) {
|
|
13
|
+
if (!Number.isFinite(e) || e <= 0 || !Number.isFinite(n) || n <= 0) return null;
|
|
14
|
+
let i = (e) => Number(t(e)), a = n * .5, o = n * 1.5;
|
|
15
|
+
r(i(o)) > e && (o = n * 3);
|
|
16
|
+
let s = i(o);
|
|
17
|
+
for (let t = 0; t < 16; t += 1) {
|
|
18
|
+
let t = i((a + o) / 2);
|
|
19
|
+
r(t) <= e ? (s = t, o = t) : a = t;
|
|
20
|
+
}
|
|
21
|
+
return s;
|
|
22
|
+
}
|
|
23
|
+
function i(e) {
|
|
24
|
+
let t = e.cloneNode(!0);
|
|
25
|
+
return t.removeAttribute("data-footer-ruled"), t.removeAttribute("data-footer-reveal"), t.setAttribute("data-footer-wordmark-probe", ""), t.setAttribute("aria-hidden", "true"), t.style.setProperty("position", "fixed", "important"), t.style.setProperty("left", "0", "important"), t.style.setProperty("top", "0", "important"), t.style.setProperty("visibility", "hidden", "important"), t.style.setProperty("pointer-events", "none", "important"), t.style.setProperty("margin", "0", "important"), t.style.setProperty("width", "max-content", "important"), t.style.setProperty("max-width", "none", "important"), t.style.setProperty("white-space", "nowrap", "important"), t.style.setProperty("transition-property", "none", "important"), t.style.setProperty("transition-duration", "0s", "important"), t.style.setProperty("animation", "none", "important"), (e.ownerDocument.body ?? e.ownerDocument.documentElement).appendChild(t), t;
|
|
26
|
+
}
|
|
27
|
+
function a(e, n, r) {
|
|
28
|
+
let i = n / Number(t(r));
|
|
29
|
+
return e.style.setProperty("font-size", `${i}px`, "important"), e.scrollWidth;
|
|
30
|
+
}
|
|
31
|
+
function o(o, s) {
|
|
32
|
+
let c = i(o);
|
|
33
|
+
try {
|
|
34
|
+
c.style.setProperty("font-size", "100px", "important");
|
|
35
|
+
let i = e(c.scrollWidth, 100);
|
|
36
|
+
if (i == null) return null;
|
|
37
|
+
let o = n(s);
|
|
38
|
+
if (o <= 0) {
|
|
39
|
+
let e = t(i);
|
|
40
|
+
return s.style.setProperty("--footer-wordmark-em", e), Number(e);
|
|
41
|
+
}
|
|
42
|
+
let l = r(o, i, (e) => a(c, o, e));
|
|
43
|
+
if (l == null) return null;
|
|
44
|
+
let u = t(l);
|
|
45
|
+
return s.style.setProperty("--footer-wordmark-em", u), Number(u);
|
|
46
|
+
} finally {
|
|
47
|
+
c.remove();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { e as footerRevealWordmarkEm, t as footerRevealWordmarkEmCss, r as footerRevealWordmarkFitEm, n as footerRevealWordmarkFrameWidth, o as syncFooterRevealWordmark };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export { heroTileRepel, heroTileRestingLayout, heroTileStackDefaultFalloff, heroTileStackDefaultMaxVertical, heroTileStackDefaultSpring, heroTileStackDefaultStrength, heroTileStackDefaultTileSize, heroTileStackDefaultVelocityFactor, heroTileStackReferenceSize, heroTileStackSizeScale, heroTileStackTapHoldMs, heroTileStackVelocityXShare, heroTileVelocityY, } from "./heroTileScatter";
|
|
2
|
+
export type { HeroTileRepel, HeroTileRepelInput, HeroTileRestingLayout, HeroTileVelocityInput, } from "./heroTileScatter";
|
|
3
|
+
/** Layout-only — width and margin. Do not restyle the tile surface here. */
|
|
4
|
+
export type HeroTileStackLayoutClassName = string;
|
|
5
|
+
export interface HeroTileStackTile {
|
|
6
|
+
src: string;
|
|
7
|
+
/** Spoken name for the image. The scatter itself is decorative. */
|
|
8
|
+
alt: string;
|
|
9
|
+
/** Resting horizontal nudge in px. Default 0. */
|
|
10
|
+
offsetX?: number;
|
|
11
|
+
/** Resting vertical nudge. A number is px; a string is any CSS length (`5%`). */
|
|
12
|
+
offsetY?: number | string;
|
|
13
|
+
/** Resting tilt in degrees. */
|
|
14
|
+
rotate?: number;
|
|
15
|
+
/** Paint order. Higher sits on top. Defaults to the fan (later tiles in front). */
|
|
16
|
+
zIndex?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface HeroTileStackSpring {
|
|
19
|
+
stiffness?: number;
|
|
20
|
+
damping?: number;
|
|
21
|
+
mass?: number;
|
|
22
|
+
}
|
|
23
|
+
export interface HeroTileStackProps {
|
|
24
|
+
/** Image tiles, left to right. Resting tilt and overlap default to a four-tile fan. */
|
|
25
|
+
tiles: HeroTileStackTile[];
|
|
26
|
+
/**
|
|
27
|
+
* How hard cards push left and right away from the pointer. The default is
|
|
28
|
+
* a gentle shift — tiles stay near the stack. Raise it for a wider scatter.
|
|
29
|
+
* `0` keeps the resting stack.
|
|
30
|
+
*/
|
|
31
|
+
strength?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Px of vertical nudge per px/s of vertical pointer velocity. Horizontal
|
|
34
|
+
* velocity contributes a smaller share. `0` disables the nudge.
|
|
35
|
+
*/
|
|
36
|
+
velocityFactor?: number;
|
|
37
|
+
/** Clamp for the velocity nudge, in px. Scales with the painted tile. */
|
|
38
|
+
maxVertical?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Max square edge in px. The painted size is `min(tileSize, a fraction of
|
|
41
|
+
* the stack)` via `--hero-tile-size`, and never wider than the stack.
|
|
42
|
+
* Default `400`. Below `md` the overlap tightens into a pile.
|
|
43
|
+
*/
|
|
44
|
+
tileSize?: number;
|
|
45
|
+
/** Spring used for x, y, and rotate. Defaults to a soft, slightly underdamped spring. */
|
|
46
|
+
spring?: HeroTileStackSpring;
|
|
47
|
+
className?: HeroTileStackLayoutClassName;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Overlapping image tiles for a marketing hero. While a fine pointer is over
|
|
51
|
+
* the stack, every card springs left or right away from the pointer's x —
|
|
52
|
+
* closer cards travel farther, and the push adds a little tilt. A quick
|
|
53
|
+
* pointer move adds a small vertical nudge from pointer velocity; that nudge
|
|
54
|
+
* springs back to 0 when the pointer slows. Leaving the stack springs the
|
|
55
|
+
* fan back to rest. No scale, dim, or reorder.
|
|
56
|
+
*
|
|
57
|
+
* Reduced motion renders the resting fan and ignores the pointer.
|
|
58
|
+
* A coarse pointer or touch tap scatters once from the tap, holds, then springs back.
|
|
59
|
+
* The root clips inline overflow so the page does not gain a horizontal scrollbar.
|
|
60
|
+
*/
|
|
61
|
+
export declare function HeroTileStack({ tiles, strength, velocityFactor, maxVertical, tileSize, spring: springProp, className, }: HeroTileStackProps): import("react").JSX.Element;
|
|
62
|
+
//# sourceMappingURL=HeroTileStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeroTileStack.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/HeroTileStack/HeroTileStack.tsx"],"names":[],"mappings":"AAkDA,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,2BAA2B,EAC3B,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,EAC5B,kCAAkC,EAClC,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAE3B,4EAA4E;AAC5E,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,mEAAmE;IACnE,GAAG,EAAE,MAAM,CAAC;IACZ,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,uFAAuF;IACvF,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,SAAS,CAAC,EAAE,4BAA4B,CAAC;CAC1C;AAsJD;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAuC,EACvC,cAAmD,EACnD,WAA6C,EAC7C,QAAuC,EACvC,MAAM,EAAE,UAAU,EAClB,SAAS,GACV,EAAE,kBAAkB,+BAuQpB"}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { cn as e } from "../../../lib/cn.js";
|
|
4
|
+
import { heroTileRepel as t, heroTileRestingLayout as n, heroTileStackDefaultFalloff as r, heroTileStackDefaultMaxVertical as i, heroTileStackDefaultSpring as a, heroTileStackDefaultStrength as o, heroTileStackDefaultTileSize as s, heroTileStackDefaultVelocityFactor as c, heroTileStackIsOneShot as l, heroTileStackReferenceSize as u, heroTileStackSizeScale as d, heroTileStackTapHoldMs as f, heroTileStackVelocityXShare as p, heroTileVelocityY as m } from "./heroTileScatter.js";
|
|
5
|
+
import { heroTileStackImageClasses as h, heroTileStackRootClasses as g, heroTileStackRowClasses as _, heroTileStackSlotClasses as v, heroTileStackSurfaceClasses as y, heroTileStackTileOverlap as b, heroTileStackTileSize as x } from "./heroTileStackStyles.js";
|
|
6
|
+
import { createContext as S, useCallback as C, useContext as w, useEffect as T, useLayoutEffect as E, useRef as D } from "react";
|
|
7
|
+
import { jsx as O } from "react/jsx-runtime";
|
|
8
|
+
import { MotionConfigContext as ee, motion as k, useMotionValue as A, useMotionValueEvent as j, useReducedMotion as te, useSpring as M, useTransform as ne, useVelocity as N } from "motion/react";
|
|
9
|
+
//#region src/components/organisms/HeroTileStack/HeroTileStack.tsx
|
|
10
|
+
var P = S(null);
|
|
11
|
+
function F() {
|
|
12
|
+
let e = w(P);
|
|
13
|
+
if (!e) throw Error("HeroTileStack tiles must be rendered inside HeroTileStack.");
|
|
14
|
+
return e;
|
|
15
|
+
}
|
|
16
|
+
function I() {
|
|
17
|
+
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(pointer: coarse)").matches;
|
|
18
|
+
}
|
|
19
|
+
function L(e, t) {
|
|
20
|
+
return {
|
|
21
|
+
width: x,
|
|
22
|
+
zIndex: e.zIndex,
|
|
23
|
+
transform: `translate(${e.offsetX}px, ${e.offsetY})`,
|
|
24
|
+
marginInlineEnd: t ? b : void 0
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function re({ tile: e, index: t, count: n, layout: r }) {
|
|
28
|
+
return /* @__PURE__ */ O("div", {
|
|
29
|
+
className: v,
|
|
30
|
+
style: L(r, t < n - 1),
|
|
31
|
+
"data-hero-tile-slot": "",
|
|
32
|
+
"data-hero-tile-index": t,
|
|
33
|
+
children: /* @__PURE__ */ O("div", {
|
|
34
|
+
className: y,
|
|
35
|
+
style: { transform: `rotate(${r.rotate}deg)` },
|
|
36
|
+
"data-hero-tile": "",
|
|
37
|
+
"data-hero-tile-index": t,
|
|
38
|
+
"data-scatter-x": "0",
|
|
39
|
+
"data-scatter-y": "0",
|
|
40
|
+
"data-scatter-rotate": r.rotate,
|
|
41
|
+
children: /* @__PURE__ */ O("img", {
|
|
42
|
+
className: h,
|
|
43
|
+
src: e.src,
|
|
44
|
+
alt: e.alt,
|
|
45
|
+
draggable: !1
|
|
46
|
+
})
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function R({ tile: e, index: t, count: n, layout: r }) {
|
|
51
|
+
let { spring: i, register: a, unregister: o } = F(), s = D(null), c = D(null), l = A(0), u = A(0), d = A(0), f = A(0), p = A(r.rotate), m = M(d, {
|
|
52
|
+
...i,
|
|
53
|
+
skipInitialAnimation: !0
|
|
54
|
+
}), g = M(f, {
|
|
55
|
+
...i,
|
|
56
|
+
skipInitialAnimation: !0
|
|
57
|
+
}), _ = M(p, {
|
|
58
|
+
...i,
|
|
59
|
+
skipInitialAnimation: !0
|
|
60
|
+
}), b = D(r.rotate);
|
|
61
|
+
return b.current = r.rotate, j(m, "change", (e) => {
|
|
62
|
+
c.current?.setAttribute("data-scatter-x", e.toFixed(2));
|
|
63
|
+
}), j(g, "change", (e) => {
|
|
64
|
+
c.current?.setAttribute("data-scatter-y", e.toFixed(2));
|
|
65
|
+
}), j(_, "change", (e) => {
|
|
66
|
+
c.current?.setAttribute("data-scatter-rotate", e.toFixed(2));
|
|
67
|
+
}), E(() => {
|
|
68
|
+
let e = s.current;
|
|
69
|
+
if (e) return a(t, {
|
|
70
|
+
slot: e,
|
|
71
|
+
centerX: l,
|
|
72
|
+
centerY: u,
|
|
73
|
+
targetX: d,
|
|
74
|
+
targetY: f,
|
|
75
|
+
targetRotate: p,
|
|
76
|
+
getRotate: () => b.current
|
|
77
|
+
}), () => o(t);
|
|
78
|
+
}, [
|
|
79
|
+
l,
|
|
80
|
+
u,
|
|
81
|
+
t,
|
|
82
|
+
a,
|
|
83
|
+
p,
|
|
84
|
+
d,
|
|
85
|
+
f,
|
|
86
|
+
o
|
|
87
|
+
]), /* @__PURE__ */ O("div", {
|
|
88
|
+
ref: s,
|
|
89
|
+
className: v,
|
|
90
|
+
style: L(r, t < n - 1),
|
|
91
|
+
"data-hero-tile-slot": "",
|
|
92
|
+
"data-hero-tile-index": t,
|
|
93
|
+
children: /* @__PURE__ */ O(k.div, {
|
|
94
|
+
ref: c,
|
|
95
|
+
className: y,
|
|
96
|
+
style: {
|
|
97
|
+
x: m,
|
|
98
|
+
y: g,
|
|
99
|
+
rotate: _
|
|
100
|
+
},
|
|
101
|
+
"data-hero-tile": "",
|
|
102
|
+
"data-hero-tile-index": t,
|
|
103
|
+
"data-scatter-x": "0",
|
|
104
|
+
"data-scatter-y": "0",
|
|
105
|
+
"data-scatter-rotate": r.rotate,
|
|
106
|
+
children: /* @__PURE__ */ O("img", {
|
|
107
|
+
className: h,
|
|
108
|
+
src: e.src,
|
|
109
|
+
alt: e.alt,
|
|
110
|
+
draggable: !1
|
|
111
|
+
})
|
|
112
|
+
})
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function z({ tiles: r, strength: i = 120, velocityFactor: o = c, maxVertical: s = 24, tileSize: u = 400, spring: f, className: p }) {
|
|
116
|
+
let h = D(null), v = D([]), y = D(null), b = D(!1), x = D(!1), S = D(0), k = D(void 0), M = D(i), F = D(o), L = D(s), z = D(1), B = D(!1);
|
|
117
|
+
M.current = i, F.current = o, L.current = s;
|
|
118
|
+
let V = A(0), H = A(0), ie = N(V), ae = N(H), U = ne([ie, ae], ([e, t]) => {
|
|
119
|
+
let n = z.current;
|
|
120
|
+
return m({
|
|
121
|
+
velocityX: e,
|
|
122
|
+
velocityY: t,
|
|
123
|
+
velocityFactor: F.current * n,
|
|
124
|
+
maxVertical: L.current * n
|
|
125
|
+
});
|
|
126
|
+
}), { reducedMotion: oe } = w(ee), W = te() === !0 || oe === "always";
|
|
127
|
+
B.current = W;
|
|
128
|
+
let se = {
|
|
129
|
+
stiffness: f?.stiffness ?? a.stiffness,
|
|
130
|
+
damping: f?.damping ?? a.damping,
|
|
131
|
+
mass: f?.mass ?? a.mass
|
|
132
|
+
}, ce = (e, t) => {
|
|
133
|
+
v.current[e] = t;
|
|
134
|
+
}, le = (e) => {
|
|
135
|
+
v.current[e] = void 0;
|
|
136
|
+
}, G = () => {
|
|
137
|
+
let e = h.current;
|
|
138
|
+
if (!e) return;
|
|
139
|
+
let t = e.getBoundingClientRect(), n = 0;
|
|
140
|
+
for (let e of v.current) {
|
|
141
|
+
if (!e) continue;
|
|
142
|
+
let r = e.slot.getBoundingClientRect();
|
|
143
|
+
n === 0 && (n = r.width), e.centerX.set(r.left + r.width / 2 - t.left), e.centerY.set(r.top + r.height / 2 - t.top);
|
|
144
|
+
}
|
|
145
|
+
z.current = d(n);
|
|
146
|
+
}, K = (e, n, r, i) => {
|
|
147
|
+
B.current && (r = !1), G();
|
|
148
|
+
let a = r ? i ?? U.get() : 0;
|
|
149
|
+
for (let i of v.current) {
|
|
150
|
+
if (!i) continue;
|
|
151
|
+
let o = i.getRotate();
|
|
152
|
+
if (!r) {
|
|
153
|
+
i.targetX.set(0), i.targetY.set(0), i.targetRotate.set(o);
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
let s = z.current, c = t({
|
|
157
|
+
pointerX: e,
|
|
158
|
+
pointerY: n,
|
|
159
|
+
centerX: i.centerX.get(),
|
|
160
|
+
centerY: i.centerY.get(),
|
|
161
|
+
strength: M.current * s,
|
|
162
|
+
falloff: 150 * s
|
|
163
|
+
});
|
|
164
|
+
i.targetX.set(c.x), i.targetY.set(c.y + a), i.targetRotate.set(o + c.rotate);
|
|
165
|
+
}
|
|
166
|
+
}, q = D(K);
|
|
167
|
+
q.current = K;
|
|
168
|
+
let J = D(G);
|
|
169
|
+
J.current = G;
|
|
170
|
+
let ue = C(() => {
|
|
171
|
+
if (!x.current || B.current || !y.current) return;
|
|
172
|
+
let e = U.get();
|
|
173
|
+
for (let t of v.current) t && t.targetY.set(e);
|
|
174
|
+
}, [U]);
|
|
175
|
+
j(U, "change", ue), E(() => {
|
|
176
|
+
J.current();
|
|
177
|
+
let e = h.current;
|
|
178
|
+
if (!e || typeof ResizeObserver > "u") return;
|
|
179
|
+
let t = new ResizeObserver(() => J.current());
|
|
180
|
+
return t.observe(e), () => t.disconnect();
|
|
181
|
+
}, [r, W]), T(() => {
|
|
182
|
+
let e = y.current;
|
|
183
|
+
!e || B.current || q.current(e.x, e.y, !0);
|
|
184
|
+
}, [
|
|
185
|
+
i,
|
|
186
|
+
o,
|
|
187
|
+
s
|
|
188
|
+
]), T(() => {
|
|
189
|
+
W && (y.current = null, b.current = !1, x.current = !1, S.current = 0, k.current !== void 0 && (window.clearTimeout(k.current), k.current = void 0), q.current(0, 0, !1));
|
|
190
|
+
}, [W]), T(() => () => {
|
|
191
|
+
k.current !== void 0 && window.clearTimeout(k.current);
|
|
192
|
+
}, []);
|
|
193
|
+
let Y = (e) => {
|
|
194
|
+
let t = h.current;
|
|
195
|
+
if (!t) return null;
|
|
196
|
+
let n = t.getBoundingClientRect();
|
|
197
|
+
return {
|
|
198
|
+
x: e.clientX - n.left,
|
|
199
|
+
y: e.clientY - n.top
|
|
200
|
+
};
|
|
201
|
+
}, X = (e) => {
|
|
202
|
+
if (B.current || l(e.pointerType, I())) return;
|
|
203
|
+
let t = Y(e);
|
|
204
|
+
if (!t) return;
|
|
205
|
+
let n = !b.current;
|
|
206
|
+
b.current = !0, x.current = !0, n ? (V.jump(t.x), H.jump(t.y)) : (V.set(t.x), H.set(t.y)), y.current = t, q.current(t.x, t.y, !0);
|
|
207
|
+
}, de = (e) => {
|
|
208
|
+
if (B.current || !l(e.pointerType, I())) return;
|
|
209
|
+
let t = Y(e);
|
|
210
|
+
t && (y.current = null, x.current = !1, q.current(t.x, t.y, !0, 0), S.current = performance.now() + 520, k.current !== void 0 && window.clearTimeout(k.current), k.current = window.setTimeout(() => {
|
|
211
|
+
S.current = 0, k.current = void 0, q.current(0, 0, !1);
|
|
212
|
+
}, 520));
|
|
213
|
+
}, Z = () => {
|
|
214
|
+
performance.now() < S.current || (y.current = null, b.current = !1, x.current = !1, V.jump(V.get()), H.jump(H.get()), q.current(0, 0, !1));
|
|
215
|
+
}, fe = {
|
|
216
|
+
reduceMotion: W,
|
|
217
|
+
spring: se,
|
|
218
|
+
register: ce,
|
|
219
|
+
unregister: le
|
|
220
|
+
}, Q = null, $ = r.length;
|
|
221
|
+
Q = W ? r.map((e, t) => /* @__PURE__ */ O(re, {
|
|
222
|
+
tile: e,
|
|
223
|
+
index: t,
|
|
224
|
+
count: $,
|
|
225
|
+
layout: n(t, e)
|
|
226
|
+
}, `${e.src}-${t}`)) : r.map((e, t) => /* @__PURE__ */ O(R, {
|
|
227
|
+
tile: e,
|
|
228
|
+
index: t,
|
|
229
|
+
count: $,
|
|
230
|
+
layout: n(t, e)
|
|
231
|
+
}, `${e.src}-${t}`));
|
|
232
|
+
let pe = Number.isFinite(u) && u > 0 ? u : 400;
|
|
233
|
+
return /* @__PURE__ */ O(P.Provider, {
|
|
234
|
+
value: fe,
|
|
235
|
+
children: /* @__PURE__ */ O("div", {
|
|
236
|
+
className: e(g, p),
|
|
237
|
+
style: {
|
|
238
|
+
containerType: "inline-size",
|
|
239
|
+
"--hero-tile-max": `${pe}px`
|
|
240
|
+
},
|
|
241
|
+
"data-hero-tile-stack": "",
|
|
242
|
+
children: /* @__PURE__ */ O("div", {
|
|
243
|
+
ref: h,
|
|
244
|
+
className: _,
|
|
245
|
+
"data-hero-tile-row": "",
|
|
246
|
+
onPointerEnter: X,
|
|
247
|
+
onPointerMove: X,
|
|
248
|
+
onPointerDown: de,
|
|
249
|
+
onPointerLeave: Z,
|
|
250
|
+
onPointerCancel: Z,
|
|
251
|
+
children: Q
|
|
252
|
+
})
|
|
253
|
+
})
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
257
|
+
export { z as HeroTileStack, t as heroTileRepel, n as heroTileRestingLayout, r as heroTileStackDefaultFalloff, i as heroTileStackDefaultMaxVertical, a as heroTileStackDefaultSpring, o as heroTileStackDefaultStrength, s as heroTileStackDefaultTileSize, c as heroTileStackDefaultVelocityFactor, u as heroTileStackReferenceSize, d as heroTileStackSizeScale, f as heroTileStackTapHoldMs, p as heroTileStackVelocityXShare, m as heroTileVelocityY };
|