@orioncactuscorp/ui 1.0.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/LICENSE +21 -0
- package/README.md +273 -0
- package/dist/components/Accordion/Accordion.css +1 -0
- package/dist/components/Accordion/Accordion.js +320 -0
- package/dist/components/Accordion/Accordion.module.scss.js +31 -0
- package/dist/components/Accordion.d.ts +6 -0
- package/dist/components/Accordion.js +9 -0
- package/dist/components/ActionArea/ActionArea.css +1 -0
- package/dist/components/ActionArea/ActionArea.js +158 -0
- package/dist/components/ActionArea/ActionArea.module.scss.js +9 -0
- package/dist/components/ActionArea.d.ts +6 -0
- package/dist/components/ActionArea.js +6 -0
- package/dist/components/Alert/Alert.css +1 -0
- package/dist/components/Alert/Alert.js +293 -0
- package/dist/components/Alert/Alert.module.scss.js +21 -0
- package/dist/components/Alert.d.ts +6 -0
- package/dist/components/Alert.js +10 -0
- package/dist/components/Background/Background.css +1 -0
- package/dist/components/Background/Background.js +45 -0
- package/dist/components/Background/Background.module.scss.js +21 -0
- package/dist/components/Background.d.ts +6 -0
- package/dist/components/Background.js +4 -0
- package/dist/components/BackgroundIconButton/BackgroundIconButton.css +1 -0
- package/dist/components/BackgroundIconButton/BackgroundIconButton.js +61 -0
- package/dist/components/BackgroundIconButton/BackgroundIconButton.module.scss.js +13 -0
- package/dist/components/BackgroundIconButton.d.ts +6 -0
- package/dist/components/BackgroundIconButton.js +4 -0
- package/dist/components/Badge/Badge.css +1 -0
- package/dist/components/Badge/Badge.js +34 -0
- package/dist/components/Badge/Badge.module.scss.js +17 -0
- package/dist/components/Badge.d.ts +6 -0
- package/dist/components/Badge.js +4 -0
- package/dist/components/Button/Button.css +1 -0
- package/dist/components/Button/Button.js +151 -0
- package/dist/components/Button/Button.module.scss.js +29 -0
- package/dist/components/Button.d.ts +6 -0
- package/dist/components/Button.js +4 -0
- package/dist/components/Cell/Cell.css +1 -0
- package/dist/components/Cell/Cell.js +129 -0
- package/dist/components/Cell/Cell.module.scss.js +17 -0
- package/dist/components/Cell.d.ts +6 -0
- package/dist/components/Cell.js +5 -0
- package/dist/components/CheckMark/CheckMark.css +1 -0
- package/dist/components/CheckMark/CheckMark.js +44 -0
- package/dist/components/CheckMark/CheckMark.module.scss.js +7 -0
- package/dist/components/CheckMark.d.ts +6 -0
- package/dist/components/CheckMark.js +4 -0
- package/dist/components/Checkbox/Checkbox.css +1 -0
- package/dist/components/Checkbox/Checkbox.js +82 -0
- package/dist/components/Checkbox/Checkbox.module.scss.js +11 -0
- package/dist/components/Checkbox.d.ts +6 -0
- package/dist/components/Checkbox.js +4 -0
- package/dist/components/Divider/Divider.css +1 -0
- package/dist/components/Divider/Divider.js +41 -0
- package/dist/components/Divider/Divider.module.scss.js +17 -0
- package/dist/components/Divider.d.ts +6 -0
- package/dist/components/Divider.js +4 -0
- package/dist/components/Field/Field.css +1 -0
- package/dist/components/Field/Field.js +179 -0
- package/dist/components/Field/Field.module.scss.js +17 -0
- package/dist/components/Field/useFieldControlOverlayMetrics.js +44 -0
- package/dist/components/Field.d.ts +6 -0
- package/dist/components/Field.js +10 -0
- package/dist/components/Fieldset/Fieldset.css +1 -0
- package/dist/components/Fieldset/Fieldset.js +97 -0
- package/dist/components/Fieldset/Fieldset.module.scss.js +11 -0
- package/dist/components/Fieldset.d.ts +6 -0
- package/dist/components/Fieldset.js +8 -0
- package/dist/components/IconButton/IconButton.css +1 -0
- package/dist/components/IconButton/IconButton.js +49 -0
- package/dist/components/IconButton/IconButton.module.scss.js +11 -0
- package/dist/components/IconButton.d.ts +6 -0
- package/dist/components/IconButton.js +4 -0
- package/dist/components/Interaction/Interaction.css +1 -0
- package/dist/components/Interaction/Interaction.js +23 -0
- package/dist/components/Interaction/Interaction.module.scss.js +11 -0
- package/dist/components/Interaction.d.ts +6 -0
- package/dist/components/Interaction.js +4 -0
- package/dist/components/Loading/Loading.css +1 -0
- package/dist/components/Loading/Loading.js +47 -0
- package/dist/components/Loading/Loading.module.scss.js +21 -0
- package/dist/components/Loading.d.ts +6 -0
- package/dist/components/Loading.js +4 -0
- package/dist/components/Menu/Menu.css +1 -0
- package/dist/components/Menu/Menu.js +238 -0
- package/dist/components/Menu/Menu.module.scss.js +31 -0
- package/dist/components/Menu.d.ts +6 -0
- package/dist/components/Menu.js +9 -0
- package/dist/components/Modal/Modal.css +1 -0
- package/dist/components/Modal/Modal.js +628 -0
- package/dist/components/Modal/Modal.module.scss.js +48 -0
- package/dist/components/Modal/contexts.js +14 -0
- package/dist/components/Modal/modalScrollArbitration.js +134 -0
- package/dist/components/Modal/snapPoints.js +79 -0
- package/dist/components/Modal/useControllableState.js +17 -0
- package/dist/components/Modal/useElementSize.js +23 -0
- package/dist/components/Modal/useModalDrag.js +1498 -0
- package/dist/components/Modal/useModalPlacement.js +26 -0
- package/dist/components/Modal/useModalStackDepth.js +41 -0
- package/dist/components/Modal.d.ts +6 -0
- package/dist/components/Modal.js +11 -0
- package/dist/components/Radio/Radio.css +1 -0
- package/dist/components/Radio/Radio.js +68 -0
- package/dist/components/Radio/Radio.module.scss.js +11 -0
- package/dist/components/Radio.d.ts +6 -0
- package/dist/components/Radio.js +4 -0
- package/dist/components/ScrollArea/ScrollArea.css +1 -0
- package/dist/components/ScrollArea/ScrollArea.js +541 -0
- package/dist/components/ScrollArea/ScrollArea.module.scss.js +17 -0
- package/dist/components/ScrollArea/contexts.js +7 -0
- package/dist/components/ScrollArea.d.ts +6 -0
- package/dist/components/ScrollArea.js +8 -0
- package/dist/components/SectionHeader/SectionHeader.css +1 -0
- package/dist/components/SectionHeader/SectionHeader.js +48 -0
- package/dist/components/SectionHeader/SectionHeader.module.scss.js +7 -0
- package/dist/components/SectionHeader.d.ts +6 -0
- package/dist/components/SectionHeader.js +4 -0
- package/dist/components/Select/Select.css +1 -0
- package/dist/components/Select/Select.js +67 -0
- package/dist/components/Select/Select.module.scss.js +9 -0
- package/dist/components/Select/SelectContent.css +1 -0
- package/dist/components/Select/SelectContent.js +26 -0
- package/dist/components/Select/SelectContent.module.scss.js +15 -0
- package/dist/components/Select.d.ts +6 -0
- package/dist/components/Select.js +6 -0
- package/dist/components/SvgIcon.d.ts +6 -0
- package/dist/components/SvgIcon.js +4 -0
- package/dist/components/Switch/Switch.css +1 -0
- package/dist/components/Switch/Switch.js +46 -0
- package/dist/components/Switch/Switch.module.scss.js +8 -0
- package/dist/components/Switch.d.ts +6 -0
- package/dist/components/Switch.js +4 -0
- package/dist/components/TextArea/TextArea.css +1 -0
- package/dist/components/TextArea/TextArea.js +105 -0
- package/dist/components/TextArea/TextArea.module.scss.js +9 -0
- package/dist/components/TextArea/TextAreaContent.css +1 -0
- package/dist/components/TextArea/TextAreaContent.js +26 -0
- package/dist/components/TextArea/TextAreaContent.module.scss.js +15 -0
- package/dist/components/TextArea.d.ts +6 -0
- package/dist/components/TextArea.js +6 -0
- package/dist/components/TextButton/TextButton.css +1 -0
- package/dist/components/TextButton/TextButton.js +74 -0
- package/dist/components/TextButton/TextButton.module.scss.js +15 -0
- package/dist/components/TextButton.d.ts +6 -0
- package/dist/components/TextButton.js +4 -0
- package/dist/components/TextInput/TextInput.css +1 -0
- package/dist/components/TextInput/TextInput.js +69 -0
- package/dist/components/TextInput/TextInput.module.scss.js +9 -0
- package/dist/components/TextInput/TextInputContent.css +1 -0
- package/dist/components/TextInput/TextInputContent.js +26 -0
- package/dist/components/TextInput/TextInputContent.module.scss.js +15 -0
- package/dist/components/TextInput.d.ts +6 -0
- package/dist/components/TextInput.js +6 -0
- package/dist/components/Tooltip/Tooltip.css +1 -0
- package/dist/components/Tooltip/Tooltip.js +123 -0
- package/dist/components/Tooltip/Tooltip.module.scss.js +9 -0
- package/dist/components/Tooltip.d.ts +6 -0
- package/dist/components/Tooltip.js +8 -0
- package/dist/components/internal/slot.js +10 -0
- package/dist/foundations/atomic.css +1 -0
- package/dist/foundations/breakpoint.css +1 -0
- package/dist/foundations/color.global.css +1 -0
- package/dist/foundations/color.theme.dark.css +1 -0
- package/dist/foundations/color.theme.light.css +1 -0
- package/dist/foundations/motion.css +1 -0
- package/dist/foundations/reset.css +1 -0
- package/dist/foundations/space.css +1 -0
- package/dist/foundations/typo.css +1 -0
- package/dist/foundations/zindex.css +1 -0
- package/dist/foundations.css +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +102 -0
- package/dist/react/motion.d.ts +6 -0
- package/dist/react/motion.js +176 -0
- package/dist/react/spring.d.ts +2 -0
- package/dist/react/spring.js +87 -0
- package/dist/reset.css +2 -0
- package/dist/styles.css +41 -0
- package/dist/ui/src/components/Accordion/Accordion.d.ts +9 -0
- package/dist/ui/src/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/ui/src/components/Accordion/index.d.ts +3 -0
- package/dist/ui/src/components/Accordion/index.d.ts.map +1 -0
- package/dist/ui/src/components/Accordion/types.d.ts +39 -0
- package/dist/ui/src/components/Accordion/types.d.ts.map +1 -0
- package/dist/ui/src/components/ActionArea/ActionArea.d.ts +8 -0
- package/dist/ui/src/components/ActionArea/ActionArea.d.ts.map +1 -0
- package/dist/ui/src/components/ActionArea/index.d.ts +3 -0
- package/dist/ui/src/components/ActionArea/index.d.ts.map +1 -0
- package/dist/ui/src/components/ActionArea/types.d.ts +34 -0
- package/dist/ui/src/components/ActionArea/types.d.ts.map +1 -0
- package/dist/ui/src/components/Alert/Alert.d.ts +17 -0
- package/dist/ui/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/ui/src/components/Alert/index.d.ts +3 -0
- package/dist/ui/src/components/Alert/index.d.ts.map +1 -0
- package/dist/ui/src/components/Alert/types.d.ts +43 -0
- package/dist/ui/src/components/Alert/types.d.ts.map +1 -0
- package/dist/ui/src/components/Background/Background.d.ts +4 -0
- package/dist/ui/src/components/Background/Background.d.ts.map +1 -0
- package/dist/ui/src/components/Background/index.d.ts +3 -0
- package/dist/ui/src/components/Background/index.d.ts.map +1 -0
- package/dist/ui/src/components/Background/types.d.ts +17 -0
- package/dist/ui/src/components/Background/types.d.ts.map +1 -0
- package/dist/ui/src/components/BackgroundIconButton/BackgroundIconButton.d.ts +4 -0
- package/dist/ui/src/components/BackgroundIconButton/BackgroundIconButton.d.ts.map +1 -0
- package/dist/ui/src/components/BackgroundIconButton/index.d.ts +3 -0
- package/dist/ui/src/components/BackgroundIconButton/index.d.ts.map +1 -0
- package/dist/ui/src/components/BackgroundIconButton/types.d.ts +16 -0
- package/dist/ui/src/components/BackgroundIconButton/types.d.ts.map +1 -0
- package/dist/ui/src/components/Badge/Badge.d.ts +4 -0
- package/dist/ui/src/components/Badge/Badge.d.ts.map +1 -0
- package/dist/ui/src/components/Badge/index.d.ts +3 -0
- package/dist/ui/src/components/Badge/index.d.ts.map +1 -0
- package/dist/ui/src/components/Badge/types.d.ts +9 -0
- package/dist/ui/src/components/Badge/types.d.ts.map +1 -0
- package/dist/ui/src/components/Button/Button.d.ts +4 -0
- package/dist/ui/src/components/Button/Button.d.ts.map +1 -0
- package/dist/ui/src/components/Button/index.d.ts +3 -0
- package/dist/ui/src/components/Button/index.d.ts.map +1 -0
- package/dist/ui/src/components/Button/types.d.ts +30 -0
- package/dist/ui/src/components/Button/types.d.ts.map +1 -0
- package/dist/ui/src/components/Cell/Cell.d.ts +5 -0
- package/dist/ui/src/components/Cell/Cell.d.ts.map +1 -0
- package/dist/ui/src/components/Cell/index.d.ts +3 -0
- package/dist/ui/src/components/Cell/index.d.ts.map +1 -0
- package/dist/ui/src/components/Cell/types.d.ts +23 -0
- package/dist/ui/src/components/Cell/types.d.ts.map +1 -0
- package/dist/ui/src/components/CheckMark/CheckMark.d.ts +4 -0
- package/dist/ui/src/components/CheckMark/CheckMark.d.ts.map +1 -0
- package/dist/ui/src/components/CheckMark/index.d.ts +3 -0
- package/dist/ui/src/components/CheckMark/index.d.ts.map +1 -0
- package/dist/ui/src/components/CheckMark/types.d.ts +6 -0
- package/dist/ui/src/components/CheckMark/types.d.ts.map +1 -0
- package/dist/ui/src/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/ui/src/components/Checkbox/index.d.ts +3 -0
- package/dist/ui/src/components/Checkbox/index.d.ts.map +1 -0
- package/dist/ui/src/components/Checkbox/types.d.ts +11 -0
- package/dist/ui/src/components/Checkbox/types.d.ts.map +1 -0
- package/dist/ui/src/components/Divider/Divider.d.ts +4 -0
- package/dist/ui/src/components/Divider/Divider.d.ts.map +1 -0
- package/dist/ui/src/components/Divider/index.d.ts +3 -0
- package/dist/ui/src/components/Divider/index.d.ts.map +1 -0
- package/dist/ui/src/components/Divider/types.d.ts +10 -0
- package/dist/ui/src/components/Divider/types.d.ts.map +1 -0
- package/dist/ui/src/components/Field/Field.d.ts +9 -0
- package/dist/ui/src/components/Field/Field.d.ts.map +1 -0
- package/dist/ui/src/components/Field/index.d.ts +3 -0
- package/dist/ui/src/components/Field/index.d.ts.map +1 -0
- package/dist/ui/src/components/Field/types.d.ts +30 -0
- package/dist/ui/src/components/Field/types.d.ts.map +1 -0
- package/dist/ui/src/components/Field/useFieldControlOverlayMetrics.d.ts +14 -0
- package/dist/ui/src/components/Field/useFieldControlOverlayMetrics.d.ts.map +1 -0
- package/dist/ui/src/components/Fieldset/Fieldset.d.ts +9 -0
- package/dist/ui/src/components/Fieldset/Fieldset.d.ts.map +1 -0
- package/dist/ui/src/components/Fieldset/index.d.ts +3 -0
- package/dist/ui/src/components/Fieldset/index.d.ts.map +1 -0
- package/dist/ui/src/components/Fieldset/types.d.ts +7 -0
- package/dist/ui/src/components/Fieldset/types.d.ts.map +1 -0
- package/dist/ui/src/components/IconButton/IconButton.d.ts +4 -0
- package/dist/ui/src/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/ui/src/components/IconButton/index.d.ts +3 -0
- package/dist/ui/src/components/IconButton/index.d.ts.map +1 -0
- package/dist/ui/src/components/IconButton/types.d.ts +16 -0
- package/dist/ui/src/components/IconButton/types.d.ts.map +1 -0
- package/dist/ui/src/components/Interaction/Interaction.d.ts +4 -0
- package/dist/ui/src/components/Interaction/Interaction.d.ts.map +1 -0
- package/dist/ui/src/components/Interaction/index.d.ts +3 -0
- package/dist/ui/src/components/Interaction/index.d.ts.map +1 -0
- package/dist/ui/src/components/Interaction/types.d.ts +6 -0
- package/dist/ui/src/components/Interaction/types.d.ts.map +1 -0
- package/dist/ui/src/components/Loading/Loading.d.ts +4 -0
- package/dist/ui/src/components/Loading/Loading.d.ts.map +1 -0
- package/dist/ui/src/components/Loading/index.d.ts +3 -0
- package/dist/ui/src/components/Loading/index.d.ts.map +1 -0
- package/dist/ui/src/components/Loading/types.d.ts +8 -0
- package/dist/ui/src/components/Loading/types.d.ts.map +1 -0
- package/dist/ui/src/components/Menu/Menu.d.ts +12 -0
- package/dist/ui/src/components/Menu/Menu.d.ts.map +1 -0
- package/dist/ui/src/components/Menu/index.d.ts +3 -0
- package/dist/ui/src/components/Menu/index.d.ts.map +1 -0
- package/dist/ui/src/components/Menu/types.d.ts +52 -0
- package/dist/ui/src/components/Menu/types.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/Modal.d.ts +19 -0
- package/dist/ui/src/components/Modal/Modal.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/contexts.d.ts +33 -0
- package/dist/ui/src/components/Modal/contexts.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/index.d.ts +3 -0
- package/dist/ui/src/components/Modal/index.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/modalScrollArbitration.d.ts +33 -0
- package/dist/ui/src/components/Modal/modalScrollArbitration.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/snapPoints.d.ts +38 -0
- package/dist/ui/src/components/Modal/snapPoints.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/types.d.ts +117 -0
- package/dist/ui/src/components/Modal/types.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/useControllableState.d.ts +6 -0
- package/dist/ui/src/components/Modal/useControllableState.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/useElementSize.d.ts +6 -0
- package/dist/ui/src/components/Modal/useElementSize.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/useModalDrag.d.ts +37 -0
- package/dist/ui/src/components/Modal/useModalDrag.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/useModalPlacement.d.ts +3 -0
- package/dist/ui/src/components/Modal/useModalPlacement.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/useModalStackDepth.d.ts +2 -0
- package/dist/ui/src/components/Modal/useModalStackDepth.d.ts.map +1 -0
- package/dist/ui/src/components/Radio/Radio.d.ts +4 -0
- package/dist/ui/src/components/Radio/Radio.d.ts.map +1 -0
- package/dist/ui/src/components/Radio/index.d.ts +3 -0
- package/dist/ui/src/components/Radio/index.d.ts.map +1 -0
- package/dist/ui/src/components/Radio/types.d.ts +10 -0
- package/dist/ui/src/components/Radio/types.d.ts.map +1 -0
- package/dist/ui/src/components/ScrollArea/ScrollArea.d.ts +6 -0
- package/dist/ui/src/components/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/ui/src/components/ScrollArea/contexts.d.ts +3 -0
- package/dist/ui/src/components/ScrollArea/contexts.d.ts.map +1 -0
- package/dist/ui/src/components/ScrollArea/index.d.ts +4 -0
- package/dist/ui/src/components/ScrollArea/index.d.ts.map +1 -0
- package/dist/ui/src/components/ScrollArea/types.d.ts +21 -0
- package/dist/ui/src/components/ScrollArea/types.d.ts.map +1 -0
- package/dist/ui/src/components/SectionHeader/SectionHeader.d.ts +4 -0
- package/dist/ui/src/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/dist/ui/src/components/SectionHeader/index.d.ts +3 -0
- package/dist/ui/src/components/SectionHeader/index.d.ts.map +1 -0
- package/dist/ui/src/components/SectionHeader/types.d.ts +13 -0
- package/dist/ui/src/components/SectionHeader/types.d.ts.map +1 -0
- package/dist/ui/src/components/Select/Select.d.ts +4 -0
- package/dist/ui/src/components/Select/Select.d.ts.map +1 -0
- package/dist/ui/src/components/Select/SelectContent.d.ts +4 -0
- package/dist/ui/src/components/Select/SelectContent.d.ts.map +1 -0
- package/dist/ui/src/components/Select/index.d.ts +4 -0
- package/dist/ui/src/components/Select/index.d.ts.map +1 -0
- package/dist/ui/src/components/Select/types.d.ts +12 -0
- package/dist/ui/src/components/Select/types.d.ts.map +1 -0
- package/dist/ui/src/components/SvgIcon/SvgIcon.d.ts +2 -0
- package/dist/ui/src/components/SvgIcon/SvgIcon.d.ts.map +1 -0
- package/dist/ui/src/components/SvgIcon/index.d.ts +3 -0
- package/dist/ui/src/components/SvgIcon/index.d.ts.map +1 -0
- package/dist/ui/src/components/SvgIcon/types.d.ts +2 -0
- package/dist/ui/src/components/SvgIcon/types.d.ts.map +1 -0
- package/dist/ui/src/components/Switch/Switch.d.ts +4 -0
- package/dist/ui/src/components/Switch/Switch.d.ts.map +1 -0
- package/dist/ui/src/components/Switch/index.d.ts +3 -0
- package/dist/ui/src/components/Switch/index.d.ts.map +1 -0
- package/dist/ui/src/components/Switch/types.d.ts +8 -0
- package/dist/ui/src/components/Switch/types.d.ts.map +1 -0
- package/dist/ui/src/components/TextArea/TextArea.d.ts +4 -0
- package/dist/ui/src/components/TextArea/TextArea.d.ts.map +1 -0
- package/dist/ui/src/components/TextArea/TextAreaContent.d.ts +4 -0
- package/dist/ui/src/components/TextArea/TextAreaContent.d.ts.map +1 -0
- package/dist/ui/src/components/TextArea/index.d.ts +4 -0
- package/dist/ui/src/components/TextArea/index.d.ts.map +1 -0
- package/dist/ui/src/components/TextArea/types.d.ts +15 -0
- package/dist/ui/src/components/TextArea/types.d.ts.map +1 -0
- package/dist/ui/src/components/TextButton/TextButton.d.ts +4 -0
- package/dist/ui/src/components/TextButton/TextButton.d.ts.map +1 -0
- package/dist/ui/src/components/TextButton/index.d.ts +3 -0
- package/dist/ui/src/components/TextButton/index.d.ts.map +1 -0
- package/dist/ui/src/components/TextButton/types.d.ts +25 -0
- package/dist/ui/src/components/TextButton/types.d.ts.map +1 -0
- package/dist/ui/src/components/TextInput/TextInput.d.ts +4 -0
- package/dist/ui/src/components/TextInput/TextInput.d.ts.map +1 -0
- package/dist/ui/src/components/TextInput/TextInputContent.d.ts +4 -0
- package/dist/ui/src/components/TextInput/TextInputContent.d.ts.map +1 -0
- package/dist/ui/src/components/TextInput/index.d.ts +4 -0
- package/dist/ui/src/components/TextInput/index.d.ts.map +1 -0
- package/dist/ui/src/components/TextInput/types.d.ts +12 -0
- package/dist/ui/src/components/TextInput/types.d.ts.map +1 -0
- package/dist/ui/src/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/ui/src/components/Tooltip/index.d.ts +3 -0
- package/dist/ui/src/components/Tooltip/index.d.ts.map +1 -0
- package/dist/ui/src/components/Tooltip/types.d.ts +21 -0
- package/dist/ui/src/components/Tooltip/types.d.ts.map +1 -0
- package/dist/ui/src/components/internal/slot.d.ts +3 -0
- package/dist/ui/src/components/internal/slot.d.ts.map +1 -0
- package/dist/ui/src/components/types.d.ts +2 -0
- package/dist/ui/src/components/types.d.ts.map +1 -0
- package/dist/ui/src/index.d.ts +59 -0
- package/dist/ui/src/index.d.ts.map +1 -0
- package/dist/ui/src/react/motion/index.d.ts +27 -0
- package/dist/ui/src/react/motion/index.d.ts.map +1 -0
- package/dist/ui/src/react/spring/index.d.ts +33 -0
- package/dist/ui/src/react/spring/index.d.ts.map +1 -0
- package/dist/ui/src/utils/breakpoints.d.ts +6 -0
- package/dist/ui/src/utils/breakpoints.d.ts.map +1 -0
- package/dist/ui/src/utils/css.d.ts +3 -0
- package/dist/ui/src/utils/css.d.ts.map +1 -0
- package/dist/ui/src/utils/motion.d.ts +80 -0
- package/dist/ui/src/utils/motion.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/animator.d.ts +3 -0
- package/dist/ui/src/utils/spring/animator.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/constants.d.ts +13 -0
- package/dist/ui/src/utils/spring/constants.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/format.d.ts +5 -0
- package/dist/ui/src/utils/spring/format.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/model.d.ts +18 -0
- package/dist/ui/src/utils/spring/model.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/solver.d.ts +6 -0
- package/dist/ui/src/utils/spring/solver.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/static.d.ts +5 -0
- package/dist/ui/src/utils/spring/static.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/types.d.ts +141 -0
- package/dist/ui/src/utils/spring/types.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/validation.d.ts +5 -0
- package/dist/ui/src/utils/spring/validation.d.ts.map +1 -0
- package/dist/ui/src/utils/spring/value.d.ts +5 -0
- package/dist/ui/src/utils/spring/value.d.ts.map +1 -0
- package/dist/ui/src/utils/spring.d.ts +12 -0
- package/dist/ui/src/utils/spring.d.ts.map +1 -0
- package/dist/utils/breakpoints.d.ts +2 -0
- package/dist/utils/breakpoints.js +26 -0
- package/dist/utils/css.js +7 -0
- package/dist/utils/motion.d.ts +2 -0
- package/dist/utils/motion.js +343 -0
- package/dist/utils/spring/animator.js +179 -0
- package/dist/utils/spring/constants.js +15 -0
- package/dist/utils/spring/format.js +10 -0
- package/dist/utils/spring/model.js +120 -0
- package/dist/utils/spring/solver.js +78 -0
- package/dist/utils/spring/static.js +76 -0
- package/dist/utils/spring/validation.js +19 -0
- package/dist/utils/spring/value.js +65 -0
- package/dist/utils/spring.d.ts +2 -0
- package/dist/utils/spring.js +14 -0
- package/dist/vscode/oc-ui-vars.css +468 -0
- package/package.json +128 -0
- package/src/scss/foundations/_color.config.scss +14 -0
- package/src/scss/foundations/_responsive.config.scss +6 -0
- package/src/scss/foundations/atomic.scss +24 -0
- package/src/scss/foundations/breakpoint.scss +3 -0
- package/src/scss/foundations/color-theme.test.ts +99 -0
- package/src/scss/foundations/color.global.scss +210 -0
- package/src/scss/foundations/color.theme.dark.scss +80 -0
- package/src/scss/foundations/color.theme.light.scss +72 -0
- package/src/scss/foundations/motion.scss +46 -0
- package/src/scss/foundations/reset.scss +129 -0
- package/src/scss/foundations/responsive.test.ts +294 -0
- package/src/scss/foundations/space.scss +206 -0
- package/src/scss/foundations/typo.scss +381 -0
- package/src/scss/foundations/zindex.scss +12 -0
- package/src/scss/index.scss +18 -0
- package/src/scss/mixins/_breakpoint.scss +115 -0
- package/src/scss/mixins/_color.scss +29 -0
- package/src/scss/mixins/_color.test.ts +35 -0
- package/src/scss/mixins/_element.scss +52 -0
- package/src/scss/mixins/_element.test.ts +44 -0
- package/src/scss/mixins/_motion.scss +450 -0
- package/src/scss/mixins/_motion.test.ts +336 -0
- package/src/scss/mixins/_responsive.scss +366 -0
- package/src/scss/mixins/_spring.scss +396 -0
- package/src/scss/mixins/_spring.test.ts +128 -0
- package/src/scss/mixins/_typo.scss +67 -0
- package/src/scss/mixins/_typo.test.ts +28 -0
- package/src/scss/mixins/_utils.scss +26 -0
- package/src/scss/spring.scss +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import t from "./Interaction.module.scss.js";
|
|
4
|
+
const p = c(
|
|
5
|
+
function({ variant: o = "normal", self: n = !1, className: r = "", ...a }, e) {
|
|
6
|
+
const i = o !== "normal" ? t[o] : "";
|
|
7
|
+
return /* @__PURE__ */ s(
|
|
8
|
+
"span",
|
|
9
|
+
{
|
|
10
|
+
ref: e,
|
|
11
|
+
className: [t.interaction, i, r].filter(Boolean).join(" "),
|
|
12
|
+
...a,
|
|
13
|
+
"aria-hidden": "true",
|
|
14
|
+
role: "presentation",
|
|
15
|
+
"data-oc-component": "interaction",
|
|
16
|
+
"data-oc-self": n ? "true" : void 0
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './Interaction.css';const t = "oc-Interaction-module__interaction__zv4OT", o = "oc-Interaction-module__light__4mALh", n = "oc-Interaction-module__strong__7GNht", c = {
|
|
2
|
+
interaction: t,
|
|
3
|
+
light: o,
|
|
4
|
+
strong: n
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
c as default,
|
|
8
|
+
t as interaction,
|
|
9
|
+
o as light,
|
|
10
|
+
n as strong
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.oc-Loading-module__loading__7gLQd{display:inline-flex;flex:none;inline-size:var(--oc-loading-size);block-size:var(--oc-loading-size);color:var(--oc-loading-color, var(--oc-color-theme-line-normal-strong))}.oc-Loading-module__loading__7gLQd [data-oc-part=icon]{inline-size:100%;block-size:100%;stroke:currentcolor}.oc-Loading-module__loading__7gLQd circle{transform-origin:center center;fill:none;stroke:currentcolor;stroke-dasharray:0 100;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2.2}.oc-Loading-module__small__Z6U9M{--oc-loading-size: 1rem}.oc-Loading-module__medium__4KydF{--oc-loading-size: 1.5rem}.oc-Loading-module__large__u-Eod{--oc-loading-size: 3rem}.oc-Loading-module__circular__KTVW- circle{animation:oc-Loading-module__oc-loading-start-in__ZjFKt 2s cubic-bezier(.4,0,1,1),oc-Loading-module__oc-loading-start-out__s5c-1 .2s cubic-bezier(0,0,.6,1) 2s,oc-Loading-module__oc-loading-fade__wpHpE 2.2s ease-in-out,oc-Loading-module__oc-loading-array__FAP-n 5.3333s ease 2.2s infinite,oc-Loading-module__oc-loading-offset__tDLdP 5.3333s ease 2.2s infinite,oc-Loading-module__oc-loading-rotate__T9lw5 2.2s linear infinite}@media(prefers-reduced-motion:reduce){.oc-Loading-module__circular__KTVW- circle{animation:none;opacity:1;transform:none;stroke-dasharray:75 25;stroke-dashoffset:0}}@keyframes oc-Loading-module__oc-loading-fade__wpHpE{0%{opacity:0}to{opacity:1}}@keyframes oc-Loading-module__oc-loading-start-in__ZjFKt{0%{stroke-dasharray:0 100;stroke-dashoffset:0}to{stroke-dasharray:50 50;stroke-dashoffset:-50}}@keyframes oc-Loading-module__oc-loading-start-out__s5c-1{0%{stroke-dasharray:50 50;stroke-dashoffset:-50}to{stroke-dasharray:0 100;stroke-dashoffset:-100.01}}@keyframes oc-Loading-module__oc-loading-array__FAP-n{0%,25%,50%,75%,to{stroke-dasharray:0 100}12.5%,37.5%,62.5%,87.5%{stroke-dasharray:75 25}}@keyframes oc-Loading-module__oc-loading-offset__tDLdP{0%,12.5%{stroke-dashoffset:0}25%,37.5%{stroke-dashoffset:-75}50%,62.5%{stroke-dashoffset:-150}75%,87.5%{stroke-dashoffset:-225}to{stroke-dashoffset:-300.01}}@keyframes oc-Loading-module__oc-loading-rotate__T9lw5{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import a from "./Loading.module.scss.js";
|
|
3
|
+
function g({
|
|
4
|
+
className: e = "",
|
|
5
|
+
variant: n = "circular",
|
|
6
|
+
size: o = "large",
|
|
7
|
+
ref: c,
|
|
8
|
+
style: i,
|
|
9
|
+
...l
|
|
10
|
+
}) {
|
|
11
|
+
const r = typeof o == "number" ? `${o}px` : void 0, s = [
|
|
12
|
+
a.loading,
|
|
13
|
+
a[n],
|
|
14
|
+
typeof o == "string" && o !== "custom" ? a[o] : "",
|
|
15
|
+
e
|
|
16
|
+
].filter(Boolean).join(" ");
|
|
17
|
+
return /* @__PURE__ */ t(
|
|
18
|
+
"span",
|
|
19
|
+
{
|
|
20
|
+
ref: c,
|
|
21
|
+
className: s,
|
|
22
|
+
...l,
|
|
23
|
+
role: "status",
|
|
24
|
+
"aria-live": "polite",
|
|
25
|
+
style: {
|
|
26
|
+
...i,
|
|
27
|
+
...r ? { "--oc-loading-size": r } : null
|
|
28
|
+
},
|
|
29
|
+
"data-oc-component": "loading",
|
|
30
|
+
"data-oc-variant": n,
|
|
31
|
+
"data-oc-size": String(o),
|
|
32
|
+
children: /* @__PURE__ */ t(
|
|
33
|
+
"svg",
|
|
34
|
+
{
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
viewBox: "0 0 24 24",
|
|
37
|
+
"data-oc-part": "icon",
|
|
38
|
+
"aria-hidden": "true",
|
|
39
|
+
children: /* @__PURE__ */ t("circle", { pathLength: "100", cx: "12", cy: "12", r: "9" })
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
g as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import './Loading.css';const o = "oc-Loading-module__loading__7gLQd", a = "oc-Loading-module__small__Z6U9M", d = "oc-Loading-module__medium__4KydF", _ = "oc-Loading-module__large__u-Eod", l = "oc-Loading-module__circular__KTVW-", c = {
|
|
2
|
+
loading: o,
|
|
3
|
+
small: a,
|
|
4
|
+
medium: d,
|
|
5
|
+
large: _,
|
|
6
|
+
circular: l,
|
|
7
|
+
"oc-loading-start-in": "oc-Loading-module__oc-loading-start-in__ZjFKt",
|
|
8
|
+
"oc-loading-start-out": "oc-Loading-module__oc-loading-start-out__s5c-1",
|
|
9
|
+
"oc-loading-fade": "oc-Loading-module__oc-loading-fade__wpHpE",
|
|
10
|
+
"oc-loading-array": "oc-Loading-module__oc-loading-array__FAP-n",
|
|
11
|
+
"oc-loading-offset": "oc-Loading-module__oc-loading-offset__tDLdP",
|
|
12
|
+
"oc-loading-rotate": "oc-Loading-module__oc-loading-rotate__T9lw5"
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
l as circular,
|
|
16
|
+
c as default,
|
|
17
|
+
_ as large,
|
|
18
|
+
o as loading,
|
|
19
|
+
d as medium,
|
|
20
|
+
a as small
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.oc-Menu-module__trigger__CbeUq{all:unset}.oc-Menu-module__trigger__CbeUq:focus,.oc-Menu-module__trigger__CbeUq:focus-visible{outline:none}.oc-Menu-module__renderTrigger__ZFKYZ:focus,.oc-Menu-module__renderTrigger__ZFKYZ:focus-visible{outline:none}.oc-Menu-module__positioner__TYz0H{z-index:var(--oc-z-index-floating, 6)}.oc-Menu-module__content__pnDF6{--oc-background-radius: 1em;--oc-menu-transform-origin: top center;z-index:var(--oc-z-index-floating, 6);min-inline-size:10em;max-inline-size:80vw;padding:1em;outline:none;overflow:visible;-webkit-user-select:none;user-select:none;opacity:1;transform:scale(1) translate(0);transform-origin:var(--oc-menu-transform-origin);will-change:opacity,transform}.oc-Menu-module__content__pnDF6[data-side=top]{--oc-menu-transform-origin: bottom center}.oc-Menu-module__content__pnDF6[data-side=bottom]{--oc-menu-transform-origin: top center}.oc-Menu-module__content__pnDF6[data-side=left]{--oc-menu-transform-origin: center right}.oc-Menu-module__content__pnDF6[data-side=right]{--oc-menu-transform-origin: center left}.oc-Menu-module__content__pnDF6[data-starting-style]{opacity:0;transform:scale(max(0,1 + (.25 - 1) * var(--oc-motion-scale-reveal))) translateY(calc(-1rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6[data-ending-style]{opacity:0;transform:scale(max(0,1 + (.9 - 1) * var(--oc-motion-scale-reveal))) translateY(calc(-.25rem * var(--oc-motion-distance-scale-reveal)));transition:opacity calc(.233s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1) linear(0 0%,.0045 .83%,.0167 1.67%,.0353 2.5%,.059 3.33%,.0866 4.17%,.1172 5%,.15 5.83%,.1843 6.67%,.2196 7.5%,.2554 8.33%,.2913 9.17%,.3269 10%,.3621 10.83%,.3965 11.67%,.43 12.5%,.4626 13.33%,.494 14.17%,.5242 15%,.5531 15.83%,.5808 16.67%,.6072 17.5%,.6324 18.33%,.6562 19.17%,.6788 20%,.7002 20.83%,.7203 21.67%,.7393 22.5%,.7572 23.33%,.774 24.17%,.7898 25%,.8046 25.83%,.8185 26.67%,.8315 27.5%,.8436 28.33%,.855 29.17%,.8655 30%,.8754 30.83%,.8846 31.67%,.8932 32.5%,.9011 33.33%,.9085 34.17%,.9154 35%,.9218 35.83%,.9278 36.67%,.9333 37.5%,.9384 38.33%,.9431 39.17%,.9475 40%,.9516 40.83%,.9553 41.67%,.9588 42.5%,.962 43.33%,.965 44.17%,.9678 45%,.9703 45.83%,.9727 46.67%,.9748 47.5%,.9768 48.33%,.9787 49.17%,.9804 50%,.9819 50.83%,.9834 51.67%,.9847 52.5%,.986 53.33%,.9871 54.17%,.9881 55%,.9891 55.83%,.99 56.67%,.9908 57.5%,.9916 58.33%,.9922 59.17%,.9929 60%,.9935 60.83%,.994 61.67%,.9945 62.5%,.9949 63.33%,.9954 64.17%,.9957 65%,.9961 65.83%,.9964 66.67%,.9967 67.5%,.997 68.33%,.9972 69.17%,.9975 70%,.9977 70.83%,.9979 71.67%,.9981 72.5%,.9982 73.33%,.9984 74.17%,.9985 75%,.9986 75.83%,.9987 76.67%,.9988 77.5%,.9989 78.33%,.999 79.17%,.9991 80%,.9992 80.83%,.9993 81.67%,.9993 82.5%,.9994 83.33%,.9994 84.17%,.9995 85%,.9995 85.83%,.9996 86.67%,.9996 87.5%,.9996 88.33%,.9997 89.17%,.9997 90%,.9997 90.83%,.9997 91.67%,.9998 92.5%,.9998 93.33%,.9998 94.17%,.9998 95%,.9998 95.83%,.9999 96.67%,.9999 97.5%,.9999 98.33%,.9999 99.17%,1 100%),transform calc(.233s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1) linear(0 0%,.0045 .83%,.0167 1.67%,.0353 2.5%,.059 3.33%,.0866 4.17%,.1172 5%,.15 5.83%,.1843 6.67%,.2196 7.5%,.2554 8.33%,.2913 9.17%,.3269 10%,.3621 10.83%,.3965 11.67%,.43 12.5%,.4626 13.33%,.494 14.17%,.5242 15%,.5531 15.83%,.5808 16.67%,.6072 17.5%,.6324 18.33%,.6562 19.17%,.6788 20%,.7002 20.83%,.7203 21.67%,.7393 22.5%,.7572 23.33%,.774 24.17%,.7898 25%,.8046 25.83%,.8185 26.67%,.8315 27.5%,.8436 28.33%,.855 29.17%,.8655 30%,.8754 30.83%,.8846 31.67%,.8932 32.5%,.9011 33.33%,.9085 34.17%,.9154 35%,.9218 35.83%,.9278 36.67%,.9333 37.5%,.9384 38.33%,.9431 39.17%,.9475 40%,.9516 40.83%,.9553 41.67%,.9588 42.5%,.962 43.33%,.965 44.17%,.9678 45%,.9703 45.83%,.9727 46.67%,.9748 47.5%,.9768 48.33%,.9787 49.17%,.9804 50%,.9819 50.83%,.9834 51.67%,.9847 52.5%,.986 53.33%,.9871 54.17%,.9881 55%,.9891 55.83%,.99 56.67%,.9908 57.5%,.9916 58.33%,.9922 59.17%,.9929 60%,.9935 60.83%,.994 61.67%,.9945 62.5%,.9949 63.33%,.9954 64.17%,.9957 65%,.9961 65.83%,.9964 66.67%,.9967 67.5%,.997 68.33%,.9972 69.17%,.9975 70%,.9977 70.83%,.9979 71.67%,.9981 72.5%,.9982 73.33%,.9984 74.17%,.9985 75%,.9986 75.83%,.9987 76.67%,.9988 77.5%,.9989 78.33%,.999 79.17%,.9991 80%,.9992 80.83%,.9993 81.67%,.9993 82.5%,.9994 83.33%,.9994 84.17%,.9995 85%,.9995 85.83%,.9996 86.67%,.9996 87.5%,.9996 88.33%,.9997 89.17%,.9997 90%,.9997 90.83%,.9997 91.67%,.9998 92.5%,.9998 93.33%,.9998 94.17%,.9998 95%,.9998 95.83%,.9999 96.67%,.9999 97.5%,.9999 98.33%,.9999 99.17%,1 100%)}.oc-Menu-module__content__pnDF6[data-side=top][data-starting-style]{transform:scale(max(0,1 + (.25 - 1) * var(--oc-motion-scale-reveal))) translateY(calc(1rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6[data-side=left][data-starting-style]{transform:scale(max(0,1 + (.25 - 1) * var(--oc-motion-scale-reveal))) translate(calc(1rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6[data-side=right][data-starting-style]{transform:scale(max(0,1 + (.25 - 1) * var(--oc-motion-scale-reveal))) translate(calc(-1rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6[data-side=top][data-ending-style]{transform:scale(max(0,1 + (.9 - 1) * var(--oc-motion-scale-reveal))) translateY(calc(.25rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6[data-side=left][data-ending-style]{transform:scale(max(0,1 + (.9 - 1) * var(--oc-motion-scale-reveal))) translate(calc(.25rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6[data-side=right][data-ending-style]{transform:scale(max(0,1 + (.9 - 1) * var(--oc-motion-scale-reveal))) translate(calc(-.25rem * var(--oc-motion-distance-scale-reveal)))}.oc-Menu-module__content__pnDF6{transition:opacity calc(.561s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1) linear(0 0%,.0045 .83%,.0168 1.67%,.0356 2.5%,.0593 3.33%,.0871 4.17%,.1178 5%,.1507 5.83%,.1852 6.67%,.2207 7.5%,.2566 8.33%,.2926 9.17%,.3283 10%,.3635 10.83%,.398 11.67%,.4316 12.5%,.4642 13.33%,.4957 14.17%,.5259 15%,.5549 15.83%,.5826 16.67%,.609 17.5%,.6341 18.33%,.6579 19.17%,.6805 20%,.7018 20.83%,.722 21.67%,.7409 22.5%,.7588 23.33%,.7756 24.17%,.7913 25%,.8061 25.83%,.8199 26.67%,.8328 27.5%,.8449 28.33%,.8562 29.17%,.8667 30%,.8765 30.83%,.8857 31.67%,.8942 32.5%,.9021 33.33%,.9095 34.17%,.9163 35%,.9227 35.83%,.9286 36.67%,.934 37.5%,.9391 38.33%,.9438 39.17%,.9481 40%,.9522 40.83%,.9559 41.67%,.9594 42.5%,.9625 43.33%,.9655 44.17%,.9682 45%,.9707 45.83%,.9731 46.67%,.9752 47.5%,.9772 48.33%,.979 49.17%,.9807 50%,.9822 50.83%,.9837 51.67%,.985 52.5%,.9862 53.33%,.9873 54.17%,.9883 55%,.9893 55.83%,.9902 56.67%,.991 57.5%,.9917 58.33%,.9924 59.17%,.993 60%,.9936 60.83%,.9941 61.67%,.9946 62.5%,.995 63.33%,.9955 64.17%,.9958 65%,.9962 65.83%,.9965 66.67%,.9968 67.5%,.9971 68.33%,.9973 69.17%,.9975 70%,.9977 70.83%,.9979 71.67%,.9981 72.5%,.9983 73.33%,.9984 74.17%,.9985 75%,.9987 75.83%,.9988 76.67%,.9989 77.5%,.999 78.33%,.9991 79.17%,.9991 80%,.9992 80.83%,.9993 81.67%,.9993 82.5%,.9994 83.33%,.9994 84.17%,.9995 85%,.9995 85.83%,.9996 86.67%,.9996 87.5%,.9996 88.33%,.9997 89.17%,.9997 90%,.9997 90.83%,.9998 91.67%,.9998 92.5%,.9998 93.33%,.9998 94.17%,.9998 95%,.9998 95.83%,.9999 96.67%,.9999 97.5%,.9999 98.33%,.9999 99.17%,1 100%),transform calc(.58s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1) linear(0 0%,.0046 .81%,.0174 1.61%,.0372 2.42%,.0629 3.23%,.0935 4.03%,.1279 4.84%,.1655 5.65%,.2053 6.45%,.2468 7.26%,.2893 8.06%,.3324 8.87%,.3755 9.68%,.4183 10.48%,.4605 11.29%,.5016 12.1%,.5417 12.9%,.5803 13.71%,.6174 14.52%,.6528 15.32%,.6865 16.13%,.7184 16.94%,.7484 17.74%,.7766 18.55%,.8029 19.35%,.8274 20.16%,.8501 20.97%,.871 21.77%,.8902 22.58%,.9077 23.39%,.9237 24.19%,.9382 25%,.9512 25.81%,.9629 26.61%,.9734 27.42%,.9826 28.23%,.9908 29.03%,.9979 29.84%,1.004 30.65%,1.0093 31.45%,1.0138 32.26%,1.0175 33.06%,1.0206 33.87%,1.0231 34.68%,1.025 35.48%,1.0264 36.29%,1.0274 37.1%,1.0281 37.9%,1.0283 38.71%,1.0283 39.52%,1.0281 40.32%,1.0276 41.13%,1.027 41.94%,1.0262 42.74%,1.0252 43.55%,1.0242 44.35%,1.0231 45.16%,1.0219 45.97%,1.0208 46.77%,1.0195 47.58%,1.0183 48.39%,1.0171 49.19%,1.0159 50%,1.0147 50.81%,1.0136 51.61%,1.0124 52.42%,1.0114 53.23%,1.0103 54.03%,1.0094 54.84%,1.0084 55.65%,1.0075 56.45%,1.0067 57.26%,1.0059 58.06%,1.0052 58.87%,1.0046 59.68%,1.0039 60.48%,1.0034 61.29%,1.0029 62.1%,1.0024 62.9%,1.0019 63.71%,1.0016 64.52%,1.0012 65.32%,1.0009 66.13%,1.0006 66.94%,1.0004 67.74%,1.0002 68.55%,1 69.35%,.9998 70.16%,.9997 70.97%,.9996 71.77%,.9995 72.58%,.9994 73.39%,.9993 74.19%,.9993 75%,.9992 75.81%,.9992 76.61%,.9992 77.42%,.9992 78.23%,.9992 79.03%,.9992 79.84%,.9992 80.65%,.9992 81.45%,.9993 82.26%,.9993 83.06%,.9993 83.87%,.9994 84.68%,.9994 85.48%,.9994 86.29%,.9995 87.1%,.9995 87.9%,.9995 88.71%,.9996 89.52%,.9996 90.32%,.9996 91.13%,.9997 91.94%,.9997 92.74%,.9997 93.55%,.9997 94.35%,.9998 95.16%,.9998 95.97%,.9998 96.77%,.9998 97.58%,.9999 98.39%,.9999 99.19%,1 100%)}@media(prefers-reduced-motion:reduce){.oc-Menu-module__content__pnDF6{transition-property:opacity;transition-duration:calc(var(--oc-motion-duration-reveal) * var(--oc-motion-duration-scale-reduced) * var(--oc-motion-pace-normal) * 1);transition-timing-function:var(--oc-motion-timing-reveal);transform:none}}@media(prefers-reduced-motion:reduce){.oc-Menu-module__content__pnDF6{will-change:opacity}.oc-Menu-module__content__pnDF6[data-starting-style],.oc-Menu-module__content__pnDF6[data-ending-style],.oc-Menu-module__content__pnDF6[data-side=top][data-starting-style],.oc-Menu-module__content__pnDF6[data-side=left][data-starting-style],.oc-Menu-module__content__pnDF6[data-side=right][data-starting-style],.oc-Menu-module__content__pnDF6[data-side=top][data-ending-style],.oc-Menu-module__content__pnDF6[data-side=left][data-ending-style],.oc-Menu-module__content__pnDF6[data-side=right][data-ending-style]{transform:none}.oc-Menu-module__content__pnDF6[data-ending-style]{transition-property:opacity;transition-duration:calc(var(--oc-motion-duration-reveal-exit) * var(--oc-motion-duration-scale-reduced) * var(--oc-motion-pace-normal) * 1)}}.oc-Menu-module__small__ufcV9{font-size:calc(var(--oc-typo-size-label1) * var(--oc-typo-scale, 1));line-height:calc(var(--oc-typo-height-label1) * var(--oc-typo-scale, 1));letter-spacing:var(--oc-typo-spacing-label1)}.oc-Menu-module__medium__sfbGK{font-size:calc(var(--oc-typo-size-body2) * var(--oc-typo-scale, 1));line-height:calc(var(--oc-typo-height-body2) * var(--oc-typo-scale, 1));letter-spacing:var(--oc-typo-spacing-body2)}.oc-Menu-module__content__pnDF6 .oc-Menu-module__container__5cxcL{font-size:inherit;line-height:inherit;letter-spacing:inherit}.oc-Menu-module__container__5cxcL{margin-block:-.625em;margin-inline:0;padding:0;--oc-cell-padding: .625em;--oc-cell-gap: .5em;--oc-cell-interaction-margin-inline: .625em;--oc-cell-interaction-radius: .625em}.oc-Menu-module__item__S3HKY{appearance:none;-webkit-tap-highlight-color:transparent}.oc-Menu-module__item__S3HKY:has(.oc-Menu-module__link__SOmSk:focus-visible){outline:none}.oc-Menu-module__item__S3HKY:has(.oc-Menu-module__link__SOmSk:focus-visible)>[data-oc-component=interaction]{opacity:var(--oc-interaction-opacity-focus)}.oc-Menu-module__separator__iT6cs{list-style:none}.oc-Menu-module__link__SOmSk{display:flex;position:relative;align-items:center;flex:1;gap:.5em;min-inline-size:0;color:inherit;text-decoration:none;cursor:pointer;appearance:none;-webkit-tap-highlight-color:transparent}.oc-Menu-module__link__SOmSk:focus-visible{outline:none}.oc-Menu-module__labelGroup__OwIf7{display:inline-flex;align-items:center;flex:1;gap:.5em;min-inline-size:0}.oc-Menu-module__icon__XtO-r{display:inline-flex;align-items:center;justify-content:center}.oc-Menu-module__icon__XtO-r svg{color:var(--oc-color-theme-label-alternative);inline-size:1.5rem;block-size:1.5rem}.oc-Menu-module__label__QMf-9{min-inline-size:0}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as e, jsxs as x } from "react/jsx-runtime";
|
|
3
|
+
import M from "react";
|
|
4
|
+
import { Menu as o } from "@base-ui-components/react/menu";
|
|
5
|
+
import z from "../Background/Background.js";
|
|
6
|
+
import L, { CellItem as $ } from "../Cell/Cell.js";
|
|
7
|
+
import t from "./Menu.module.scss.js";
|
|
8
|
+
function B(c) {
|
|
9
|
+
return /* @__PURE__ */ e(o.Root, { ...c });
|
|
10
|
+
}
|
|
11
|
+
function F({
|
|
12
|
+
className: c = "",
|
|
13
|
+
children: n,
|
|
14
|
+
render: r,
|
|
15
|
+
nativeButton: a,
|
|
16
|
+
openOnHover: m,
|
|
17
|
+
delay: s,
|
|
18
|
+
closeDelay: l
|
|
19
|
+
}) {
|
|
20
|
+
return r ? /* @__PURE__ */ e(
|
|
21
|
+
o.Trigger,
|
|
22
|
+
{
|
|
23
|
+
className: t.renderTrigger,
|
|
24
|
+
render: r,
|
|
25
|
+
nativeButton: a,
|
|
26
|
+
openOnHover: m,
|
|
27
|
+
delay: s,
|
|
28
|
+
closeDelay: l,
|
|
29
|
+
"data-oc-component": "menu-trigger",
|
|
30
|
+
children: n
|
|
31
|
+
}
|
|
32
|
+
) : /* @__PURE__ */ e(
|
|
33
|
+
o.Trigger,
|
|
34
|
+
{
|
|
35
|
+
className: `${t.trigger} ${c}`.trim(),
|
|
36
|
+
nativeButton: a,
|
|
37
|
+
openOnHover: m,
|
|
38
|
+
delay: s,
|
|
39
|
+
closeDelay: l,
|
|
40
|
+
"data-oc-component": "menu-trigger",
|
|
41
|
+
children: n
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
function J({
|
|
46
|
+
className: c = "",
|
|
47
|
+
size: n = "medium",
|
|
48
|
+
sideOffset: r = 12,
|
|
49
|
+
alignOffset: a = 0,
|
|
50
|
+
alignment: m = "center",
|
|
51
|
+
side: s = "bottom",
|
|
52
|
+
children: l
|
|
53
|
+
}) {
|
|
54
|
+
return /* @__PURE__ */ e(o.Portal, { children: /* @__PURE__ */ e(
|
|
55
|
+
o.Positioner,
|
|
56
|
+
{
|
|
57
|
+
sideOffset: r,
|
|
58
|
+
alignOffset: a,
|
|
59
|
+
align: m,
|
|
60
|
+
side: s,
|
|
61
|
+
className: `${t.positioner} ${c}`.trim(),
|
|
62
|
+
children: /* @__PURE__ */ e(
|
|
63
|
+
o.Popup,
|
|
64
|
+
{
|
|
65
|
+
render: (i) => /* @__PURE__ */ e(
|
|
66
|
+
z,
|
|
67
|
+
{
|
|
68
|
+
...i,
|
|
69
|
+
className: `${t.content} ${t[n]} ${i.className || ""}`.trim(),
|
|
70
|
+
"data-oc-part": "content",
|
|
71
|
+
"data-oc-component": "menu-content",
|
|
72
|
+
"data-oc-size": n
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
children: /* @__PURE__ */ e(
|
|
76
|
+
L,
|
|
77
|
+
{
|
|
78
|
+
className: t.container,
|
|
79
|
+
divider: "neutral",
|
|
80
|
+
"data-oc-part": "container",
|
|
81
|
+
children: l
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
}
|
|
87
|
+
) });
|
|
88
|
+
}
|
|
89
|
+
function K({
|
|
90
|
+
className: c = "",
|
|
91
|
+
children: n,
|
|
92
|
+
content: r,
|
|
93
|
+
divider: a,
|
|
94
|
+
fillWidth: m = !1,
|
|
95
|
+
icon: s,
|
|
96
|
+
leading: l,
|
|
97
|
+
trailing: i,
|
|
98
|
+
href: b,
|
|
99
|
+
target: T,
|
|
100
|
+
rel: R,
|
|
101
|
+
linkProps: C,
|
|
102
|
+
render: p,
|
|
103
|
+
onClick: k,
|
|
104
|
+
closeOnClick: d = !0,
|
|
105
|
+
verticalAlign: u = "center"
|
|
106
|
+
}) {
|
|
107
|
+
const N = `${t.item} ${c}`.trim(), g = l ?? (s ? /* @__PURE__ */ e("span", { className: t.icon, "data-oc-part": "icon", "aria-hidden": "true", children: /* @__PURE__ */ e(s, { size: "custom" }) }) : null), S = r ?? /* @__PURE__ */ x("span", { className: t.labelGroup, children: [
|
|
108
|
+
g,
|
|
109
|
+
/* @__PURE__ */ e("span", { className: t.label, "data-oc-part": "label", children: n }),
|
|
110
|
+
i
|
|
111
|
+
] });
|
|
112
|
+
if (b) {
|
|
113
|
+
const {
|
|
114
|
+
className: f,
|
|
115
|
+
rel: j,
|
|
116
|
+
target: E,
|
|
117
|
+
...I
|
|
118
|
+
} = C ?? {}, h = E ?? T, G = j || R || (h === "_blank" ? "noopener noreferrer" : void 0);
|
|
119
|
+
return /* @__PURE__ */ e(
|
|
120
|
+
o.Item,
|
|
121
|
+
{
|
|
122
|
+
closeOnClick: d,
|
|
123
|
+
render: /* @__PURE__ */ e(
|
|
124
|
+
$,
|
|
125
|
+
{
|
|
126
|
+
className: N,
|
|
127
|
+
content: /* @__PURE__ */ e(
|
|
128
|
+
"a",
|
|
129
|
+
{
|
|
130
|
+
...I,
|
|
131
|
+
className: `${t.link} ${f || ""}`.trim(),
|
|
132
|
+
"data-oc-cell-control": !0,
|
|
133
|
+
"data-oc-part": "link",
|
|
134
|
+
href: b,
|
|
135
|
+
target: h,
|
|
136
|
+
rel: G,
|
|
137
|
+
tabIndex: I.tabIndex ?? -1,
|
|
138
|
+
children: S
|
|
139
|
+
}
|
|
140
|
+
),
|
|
141
|
+
divider: a,
|
|
142
|
+
fillWidth: m,
|
|
143
|
+
interactive: !0,
|
|
144
|
+
verticalAlign: u,
|
|
145
|
+
"data-oc-part": "item",
|
|
146
|
+
"data-oc-component": "menu-item"
|
|
147
|
+
}
|
|
148
|
+
)
|
|
149
|
+
}
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
if (p && M.isValidElement(p)) {
|
|
153
|
+
const f = M.cloneElement(p, {
|
|
154
|
+
className: `${t.link} ${p.props.className || ""}`.trim(),
|
|
155
|
+
"data-oc-cell-control": !0,
|
|
156
|
+
"data-oc-part": "link",
|
|
157
|
+
tabIndex: p.props.tabIndex ?? -1,
|
|
158
|
+
children: r ?? /* @__PURE__ */ x("span", { className: t.labelGroup, children: [
|
|
159
|
+
g,
|
|
160
|
+
/* @__PURE__ */ e("span", { className: t.label, "data-oc-part": "label", children: p.props.children }),
|
|
161
|
+
i
|
|
162
|
+
] })
|
|
163
|
+
});
|
|
164
|
+
return /* @__PURE__ */ e(
|
|
165
|
+
o.Item,
|
|
166
|
+
{
|
|
167
|
+
closeOnClick: d,
|
|
168
|
+
onClick: k,
|
|
169
|
+
render: /* @__PURE__ */ e(
|
|
170
|
+
$,
|
|
171
|
+
{
|
|
172
|
+
className: N,
|
|
173
|
+
content: f,
|
|
174
|
+
divider: a,
|
|
175
|
+
fillWidth: m,
|
|
176
|
+
interactive: !0,
|
|
177
|
+
verticalAlign: u,
|
|
178
|
+
"data-oc-part": "item",
|
|
179
|
+
"data-oc-component": "menu-item"
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
}
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
return /* @__PURE__ */ e(
|
|
186
|
+
o.Item,
|
|
187
|
+
{
|
|
188
|
+
closeOnClick: d,
|
|
189
|
+
onClick: k,
|
|
190
|
+
render: /* @__PURE__ */ e(
|
|
191
|
+
$,
|
|
192
|
+
{
|
|
193
|
+
className: N,
|
|
194
|
+
content: r ?? n,
|
|
195
|
+
divider: a,
|
|
196
|
+
fillWidth: m,
|
|
197
|
+
interactive: !0,
|
|
198
|
+
leading: g,
|
|
199
|
+
trailing: i,
|
|
200
|
+
verticalAlign: u,
|
|
201
|
+
"data-oc-part": "item",
|
|
202
|
+
"data-oc-component": "menu-item"
|
|
203
|
+
}
|
|
204
|
+
)
|
|
205
|
+
}
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
function Q({
|
|
209
|
+
className: c = "",
|
|
210
|
+
orientation: n,
|
|
211
|
+
...r
|
|
212
|
+
}) {
|
|
213
|
+
return /* @__PURE__ */ e(
|
|
214
|
+
o.Separator,
|
|
215
|
+
{
|
|
216
|
+
orientation: n,
|
|
217
|
+
render: (a) => /* @__PURE__ */ e(
|
|
218
|
+
"li",
|
|
219
|
+
{
|
|
220
|
+
...a,
|
|
221
|
+
...r,
|
|
222
|
+
className: `${t.separator} ${a.className || ""} ${c}`.trim(),
|
|
223
|
+
role: "separator",
|
|
224
|
+
"data-oc-part": "separator",
|
|
225
|
+
"data-oc-component": "menu-separator"
|
|
226
|
+
}
|
|
227
|
+
)
|
|
228
|
+
}
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
export {
|
|
232
|
+
J as MenuContent,
|
|
233
|
+
K as MenuItem,
|
|
234
|
+
B as MenuRoot,
|
|
235
|
+
Q as MenuSeparator,
|
|
236
|
+
F as MenuTrigger,
|
|
237
|
+
B as default
|
|
238
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import './Menu.css';const e = "oc-Menu-module__trigger__CbeUq", o = "oc-Menu-module__renderTrigger__ZFKYZ", n = "oc-Menu-module__positioner__TYz0H", _ = "oc-Menu-module__content__pnDF6", c = "oc-Menu-module__small__ufcV9", t = "oc-Menu-module__medium__sfbGK", l = "oc-Menu-module__container__5cxcL", r = "oc-Menu-module__item__S3HKY", u = "oc-Menu-module__link__SOmSk", i = "oc-Menu-module__separator__iT6cs", s = "oc-Menu-module__labelGroup__OwIf7", m = "oc-Menu-module__icon__XtO-r", a = "oc-Menu-module__label__QMf-9", d = {
|
|
2
|
+
trigger: e,
|
|
3
|
+
renderTrigger: o,
|
|
4
|
+
positioner: n,
|
|
5
|
+
content: _,
|
|
6
|
+
small: c,
|
|
7
|
+
medium: t,
|
|
8
|
+
container: l,
|
|
9
|
+
item: r,
|
|
10
|
+
link: u,
|
|
11
|
+
separator: i,
|
|
12
|
+
labelGroup: s,
|
|
13
|
+
icon: m,
|
|
14
|
+
label: a
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
l as container,
|
|
18
|
+
_ as content,
|
|
19
|
+
d as default,
|
|
20
|
+
m as icon,
|
|
21
|
+
r as item,
|
|
22
|
+
a as label,
|
|
23
|
+
s as labelGroup,
|
|
24
|
+
u as link,
|
|
25
|
+
t as medium,
|
|
26
|
+
n as positioner,
|
|
27
|
+
o as renderTrigger,
|
|
28
|
+
i as separator,
|
|
29
|
+
c as small,
|
|
30
|
+
e as trigger
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.oc-Modal-module__trigger__B-N3y{cursor:pointer}.oc-Modal-module__backdrop__jYpTA,.oc-Modal-module__viewport__8dW9u,.oc-Modal-module__surfaceMotion__fJnTQ{--_-modal-move-transition-duration: calc(.5s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1);--_-modal-move-transition-timing-function: var(--oc-motion-timing-move);--_-modal-gesture-settle-transition-duration: calc(var(--oc-motion-duration-gesture-settle) * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1);--_-modal-gesture-settle-transition-timing-function: var(--oc-motion-timing-gesture-settle);--_-modal-transition-duration: var(--_-modal-move-transition-duration);--_-modal-transition-timing-function: var(--_-modal-move-transition-timing-function)}.oc-Modal-module__backdrop__jYpTA[data-oc-modal-transition=gesture-settle],.oc-Modal-module__viewport__8dW9u[data-oc-modal-transition=gesture-settle],.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-transition=gesture-settle]{--_-modal-transition-duration: var(--_-modal-gesture-settle-transition-duration);--_-modal-transition-timing-function: var(--_-modal-gesture-settle-transition-timing-function)}.oc-Modal-module__backdrop__jYpTA{--_-modal-backdrop-transition-duration: calc(var(--oc-motion-duration-reveal) * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1);--_-modal-backdrop-transition-timing-function: var(--oc-motion-timing-reveal);--oc-modal-stack-offset: 0;--oc-modal-backdrop-opacity: 1;--oc-modal-backdrop-z-index: calc(var(--oc-zindex-4) + var(--oc-modal-stack-offset));position:fixed;inset:0;z-index:var(--oc-modal-backdrop-z-index);background-color:var(--oc-color-theme-material-dimmer);opacity:var(--oc-modal-backdrop-opacity);transition:opacity var(--_-modal-backdrop-transition-duration) var(--_-modal-backdrop-transition-timing-function)}.oc-Modal-module__backdrop__jYpTA[data-ending-style],.oc-Modal-module__backdrop__jYpTA[data-starting-style]{opacity:0}.oc-Modal-module__backdrop__jYpTA[data-oc-modal-placement=bottom]{--_-modal-backdrop-transition-duration: var(--_-modal-transition-duration);--_-modal-backdrop-transition-timing-function: var(--_-modal-transition-timing-function)}.oc-Modal-module__backdrop__jYpTA[data-oc-modal-presentation-state=peeked]{--oc-modal-backdrop-opacity: 0;pointer-events:none}.oc-Modal-module__viewport__8dW9u{--oc-modal-overshoot-fill-height: 0px;--oc-modal-stack-offset: 0;--oc-modal-viewport-z-index: calc(var(--oc-zindex-4) + var(--oc-modal-stack-offset) + 1);position:fixed;inset:0;z-index:var(--oc-modal-viewport-z-index);display:flex;width:100vw;height:100dvh;pointer-events:none}.oc-Modal-module__viewport__8dW9u[data-oc-modal-placement=bottom]{align-items:flex-end;justify-content:center}.oc-Modal-module__viewport__8dW9u[data-oc-modal-placement=popup]{align-items:center;justify-content:center;padding:var(--oc-space-section-padding-viewport-y) var(--oc-space-section-padding-viewport-x)}.oc-Modal-module__viewport__8dW9u[data-oc-modal-placement=full]{align-items:stretch;justify-content:stretch}.oc-Modal-module__viewport__8dW9u[data-oc-modal-dragging=true] .oc-Modal-module__bottomFill__wKrvv{transition:none}.oc-Modal-module__bottomFill__wKrvv{--_-modal-size-width: min(100vw, var(--oc-atomic-width-section-medium));position:absolute;bottom:0;left:50%;width:100%;max-width:100%;height:calc(var(--oc-modal-overshoot-fill-height) + 2px);background-color:var(--oc-color-theme-background-elevated-normal);pointer-events:none;transform:translate(-50%);transition:height var(--_-modal-transition-duration) var(--_-modal-transition-timing-function)}@media screen and (min-width:769px){.oc-Modal-module__bottomFill__wKrvv{width:var(--_-modal-size-width)}}.oc-Modal-module__surfaceMotion__fJnTQ{--_-modal-size-width: min(100vw, var(--oc-atomic-width-section-medium));--_-modal-elevation-shadow: 0 0 0 0 transparent;--_-modal-focus-ring-color: color-mix(in srgb, var(--oc-color-theme-primary-normal), transparent 57%);--_-modal-focus-ring-shadow: 0 0 0 0 transparent;--_-modal-focus-ring-width: 2px;--_-modal-surface-transition-duration: var(--_-modal-transition-duration);--_-modal-surface-transition-timing-function: var(--_-modal-transition-timing-function);--oc-modal-width: var(--_-modal-size-width);--oc-modal-max-height: calc(100dvh - var(--oc-space-section-padding-viewport-y) * 2);--oc-modal-bottom-top-clearance: 4rem;--oc-modal-radius: var(--oc-atomic-radius-medium);--oc-modal-translate-x: 0px;--oc-modal-translate-y: 0px;--oc-modal-space-x: min(var(--oc-space-section-padding-viewport-x), var(--oc-space-item-padding-large));--oc-modal-space-y: var(--oc-space-item-padding-medium);--oc-modal-header-space-x: var(--oc-modal-space-x);--oc-modal-header-space-y: min(calc(var(--oc-space-section-padding-viewport-y) * .75), var(--oc-space-item-padding-small));--oc-modal-container-space-x: var(--oc-modal-space-x);--oc-modal-footer-space-x: var(--oc-modal-space-x);--oc-modal-footer-space-y: var(--oc-space-item-padding-medium);--oc-modal-header-height: 0px;--oc-modal-footer-height: 0px;--oc-modal-scale: 1;position:relative;isolation:isolate;width:fit-content;max-width:100%;max-height:var(--oc-modal-max-height);outline:none;pointer-events:auto;transform:translate3d(var(--oc-modal-translate-x),var(--oc-modal-translate-y),0);transition:transform var(--_-modal-surface-transition-duration) var(--_-modal-surface-transition-timing-function),opacity var(--_-modal-surface-transition-duration) var(--_-modal-surface-transition-timing-function)}.oc-Modal-module__surfaceMotion__fJnTQ[data-ending-style],.oc-Modal-module__surfaceMotion__fJnTQ[data-starting-style]{opacity:0}.oc-Modal-module__surfaceMotion__fJnTQ:focus-visible{--_-modal-focus-ring-shadow: inset 0 0 0 var(--_-modal-focus-ring-width) var(--_-modal-focus-ring-color)}.oc-Modal-module__surfaceMotion__fJnTQ:before{position:absolute;inset:0;z-index:0;border-radius:var(--oc-modal-radius);box-shadow:var(--_-modal-elevation-shadow);content:"";pointer-events:none}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom]{--oc-modal-width: 100%;--oc-modal-radius: var(--oc-atomic-radius-medium) var(--oc-atomic-radius-medium) 0 0;--oc-modal-max-height: calc(100dvh - max(env(safe-area-inset-top, 0px), var(--oc-modal-bottom-top-clearance))) ;width:var(--oc-modal-width);height:auto;min-height:0;touch-action:pan-y}@media screen and (min-width:769px){.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom]{--oc-modal-width: var(--_-modal-size-width)}}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom][data-oc-modal-snapping=true]{height:min(var(--oc-modal-sheet-height),var(--oc-modal-max-height))}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom][data-oc-modal-snapping=true]>.oc-Modal-module__surface__FnAX8{height:100%}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom][data-ending-style],.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom][data-starting-style]{transform:translate3d(0,100%,0)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup]{--_-modal-popup-exit-duration: calc(.2s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1);--_-modal-popup-exit-timing-function: var(--oc-motion-timing-reveal-exit);transition:opacity var(--_-modal-surface-transition-duration) var(--_-modal-surface-transition-timing-function)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-oc-modal-transition=gesture-settle]{transition:transform var(--_-modal-surface-transition-duration) var(--_-modal-surface-transition-timing-function),opacity var(--_-modal-surface-transition-duration) var(--_-modal-surface-transition-timing-function)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup]>.oc-Modal-module__surface__FnAX8{transform-origin:center center;transition:transform var(--_-modal-surface-transition-duration) var(--_-modal-surface-transition-timing-function)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-ending-style]{--_-modal-surface-transition-duration: var(--_-modal-popup-exit-duration);--_-modal-surface-transition-timing-function: var(--_-modal-popup-exit-timing-function)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-ending-style],.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-starting-style]{--oc-modal-scale: max(0, 1 + (.98 - 1) * var(--oc-motion-scale-reveal))}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-ending-style]>.oc-Modal-module__surface__FnAX8,.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-starting-style]>.oc-Modal-module__surface__FnAX8{transform:scale(var(--oc-modal-scale))}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=full]{--oc-modal-width: 100%;--oc-modal-max-height: 100%;--oc-modal-radius: 0;width:100%;height:100%}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-feedback=reject]>.oc-Modal-module__surface__FnAX8{animation:oc-Modal-module__oc-modal-reject-shake__RJrNe calc(var(--oc-motion-duration-reject) * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1) var(--oc-motion-timing-reject) both}@keyframes oc-Modal-module__oc-modal-reject-shake__RJrNe{0%,to{transform:translateZ(0)}14%{transform:translate3d(calc(var(--_-modal-reject-distance) * -1),0,0)}30%{transform:translate3d(var(--_-modal-reject-distance),0,0)}46%{transform:translate3d(calc(var(--_-modal-reject-distance) * -.68),0,0)}62%{transform:translate3d(calc(var(--_-modal-reject-distance) * .45),0,0)}78%{transform:translate3d(calc(var(--_-modal-reject-distance) * -.18),0,0)}}.oc-Modal-module__surface__FnAX8{--oc-modal-reject-distance: .75rem;--_-modal-reject-distance: calc(var(--oc-modal-reject-distance) * var(--oc-motion-distance-scale-reject));position:relative;z-index:1;display:grid;grid-template-rows:minmax(0,1fr);width:var(--oc-modal-width);max-width:100%;max-height:var(--oc-modal-max-height);min-width:0;min-height:0;overflow:hidden;clip-path:inset(0 round var(--oc-modal-radius));background-color:var(--oc-color-theme-background-elevated-normal);color:var(--oc-color-theme-label-normal);border-radius:var(--oc-modal-radius);box-shadow:var(--_-modal-focus-ring-shadow)}.oc-Modal-module__surface__FnAX8:has(>.oc-Modal-module__header__NS30G){--oc-modal-header-height: calc(2rem + var(--oc-modal-header-space-y) * 2)}.oc-Modal-module__surface__FnAX8:has(>.oc-Modal-module__footer__Oyz-R){--oc-modal-footer-height: calc(var(--oc-typo-height-body1) + (var(--oc-space-item-padding-xsmall) * 2) + var(--oc-modal-footer-space-y) + max(var(--oc-modal-footer-space-y), env(safe-area-inset-bottom, 0px)))}.oc-Modal-module__surface__FnAX8[data-oc-modal-placement=bottom]{width:100%;height:auto;min-height:0}.oc-Modal-module__surface__FnAX8[data-oc-modal-placement=bottom]:not(:has(>.oc-Modal-module__footer__Oyz-R)){padding-bottom:env(safe-area-inset-bottom,0)}.oc-Modal-module__surface__FnAX8[data-oc-modal-placement=full]{width:100%;height:100%}@starting-style{.oc-Modal-module__backdrop__jYpTA,.oc-Modal-module__surfaceMotion__fJnTQ{opacity:0}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=bottom]{transform:translate3d(0,100%,0)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup]{--oc-modal-scale: max(0, 1 + (.98 - 1) * var(--oc-motion-scale-reveal))}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup]>.oc-Modal-module__surface__FnAX8{transform:scale(var(--oc-modal-scale))}}.oc-Modal-module__small__qdBEU{--_-modal-size-width: min(100vw, var(--oc-atomic-width-section-xsmall))}.oc-Modal-module__medium__JRDXg{--_-modal-size-width: min(100vw, var(--oc-atomic-width-section-small))}.oc-Modal-module__large__O42Af{--_-modal-size-width: min(100vw, var(--oc-atomic-width-section-medium))}.oc-Modal-module__fixed__Gj1Dv{height:min(32rem,var(--oc-modal-max-height))}.oc-Modal-module__header__NS30G{position:absolute;inset-block-start:0;inset-inline:0;z-index:2;min-width:0;-webkit-user-select:none;user-select:none}.oc-Modal-module__handle__Fan4V{position:absolute;top:.375rem;left:calc(50% - 1rem);width:2rem;height:.25rem;border-radius:var(--oc-atomic-radius-max);background-color:var(--oc-color-theme-fill-strong)}.oc-Modal-module__headerInner__F5nxn{display:grid;grid-template-areas:"title trailing";grid-template-columns:minmax(0,1fr) auto;gap:var(--oc-space-item-gap-small);align-items:center;min-height:calc(2rem + var(--oc-modal-header-space-y) * 2);padding:var(--oc-modal-header-space-y) calc(var(--oc-modal-header-space-x) - .25rem)}.oc-Modal-module__headerInner__F5nxn[data-oc-has-leading=true]{grid-template-areas:"leading title trailing";grid-template-columns:auto minmax(0,1fr) auto}.oc-Modal-module__headerLeading__v735-,.oc-Modal-module__headerTrailing__hQamr{display:flex;align-items:center}.oc-Modal-module__headerLeading__v735-{grid-area:leading}.oc-Modal-module__headerTrailing__hQamr{grid-area:trailing;justify-content:flex-end}.oc-Modal-module__headerTitle__tJ2Qv{grid-area:title;min-width:0;padding-inline:.25rem}.oc-Modal-module__headerTitle__tJ2Qv>h2{font-size:calc(var(--oc-typo-size-headline2) * var(--oc-typo-scale, 1));line-height:calc(var(--oc-typo-height-headline2) * var(--oc-typo-scale, 1));letter-spacing:var(--oc-typo-spacing-headline2);font-weight:var(--oc-typo-weight-headline2-bold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-Modal-module__close__058gy{display:none}@media screen and (min-width:769px){.oc-Modal-module__close__058gy{display:inline-flex}}.oc-Modal-module__surface__FnAX8[data-oc-modal-placement=bottom] [data-oc-part=close]{display:inline-flex}.oc-Modal-module__body__3zIj9{grid-row:1;min-height:0}.oc-Modal-module__body__3zIj9>[data-oc-part=scrollbar-vertical]{inset-block-start:var(--oc-modal-header-height)}.oc-Modal-module__bodyContainer__t57Y6{--oc-modal-container-space-y: var(--oc-modal-space-y);--oc-modal-container-space-top: 0px;display:flex;flex-direction:column;min-height:0;scroll-padding-block:var(--oc-modal-header-height) var(--oc-modal-footer-height)}.oc-Modal-module__bodyContainer__t57Y6[data-oc-modal-touch-scroll-lock=true]{overscroll-behavior-y:none}.oc-Modal-module__bodyContent__fRK23{--oc-modal-container-space-bottom: calc(var(--oc-modal-container-space-y) + var(--oc-modal-footer-height));flex:0 0 auto;padding:calc(var(--oc-modal-header-height) + var(--oc-modal-container-space-top)) var(--oc-modal-container-space-x) var(--oc-modal-container-space-bottom)}.oc-Modal-module__surface__FnAX8:has(>.oc-Modal-module__footer__Oyz-R>[data-oc-component=action-area]) .oc-Modal-module__bodyContent__fRK23{--oc-modal-container-space-bottom: var(--oc-modal-footer-height)}.oc-Modal-module__footer__Oyz-R{--_-modal-footer-background-opacity: 0;--_-modal-footer-background-scale-y: 0;--oc-modal-footer-background-bleed: var(--oc-modal-footer-space-y);--oc-modal-footer-background-gradient-size: calc(var(--oc-modal-footer-space-y) * 2);position:absolute;inset-block-end:0;inset-inline:0;z-index:2;display:flex;flex:0 0 auto;gap:var(--oc-space-item-gap-small);align-items:center;justify-content:flex-end;min-width:0;padding:var(--oc-modal-footer-space-y) var(--oc-modal-footer-space-x) max(var(--oc-modal-footer-space-y),env(safe-area-inset-bottom,0px))}.oc-Modal-module__footer__Oyz-R:before{position:absolute;inset-block:calc(var(--oc-modal-footer-background-bleed) * -1) 0;inset-inline:0;z-index:0;background-color:var(--oc-color-theme-background-elevated-normal);-webkit-mask-image:linear-gradient(to bottom,transparent 0,black var(--oc-modal-footer-background-gradient-size));mask-image:linear-gradient(to bottom,transparent 0,black var(--oc-modal-footer-background-gradient-size));opacity:var(--_-modal-footer-background-opacity);content:"";pointer-events:none;transform:scaleY(var(--_-modal-footer-background-scale-y));transform-origin:bottom center;transition:opacity calc(var(--oc-motion-duration-feedback) * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1.5) var(--oc-motion-timing-feedback),transform calc(var(--oc-motion-duration-feedback) * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1.5) var(--oc-motion-timing-feedback)}@media(prefers-reduced-motion:reduce){.oc-Modal-module__footer__Oyz-R:before{transition-property:opacity;transition-duration:calc(var(--oc-motion-duration-feedback) * var(--oc-motion-duration-scale-reduced) * var(--oc-motion-pace-normal) * 1.5);transition-timing-function:var(--oc-motion-timing-feedback);transform:none}}.oc-Modal-module__footer__Oyz-R[data-oc-background=true]:before{--_-modal-footer-background-opacity: 1;--_-modal-footer-background-scale-y: 1;transition:transform calc(var(--oc-motion-duration-feedback) * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1.5) var(--oc-motion-timing-feedback)}@media(prefers-reduced-motion:reduce){.oc-Modal-module__footer__Oyz-R[data-oc-background=true]:before{transition:none;transform:none}}.oc-Modal-module__footer__Oyz-R>*{position:relative;z-index:1}.oc-Modal-module__footer__Oyz-R:has(>[data-oc-component=action-area]){padding:0}.oc-Modal-module__footer__Oyz-R>[data-oc-component=action-area]{--oc-action-area-padding-x: var(--oc-modal-footer-space-x);--oc-action-area-padding-y: var(--oc-modal-footer-space-y);--oc-action-area-padding-bottom: max(var(--oc-modal-footer-space-y), env(safe-area-inset-bottom, 0px))}@media(prefers-reduced-motion:reduce){.oc-Modal-module__backdrop__jYpTA:not([data-oc-modal-placement=bottom]),.oc-Modal-module__surfaceMotion__fJnTQ:not([data-oc-modal-placement=bottom]){--_-modal-transition-duration: calc(.3s * var(--oc-motion-duration-scale) * var(--oc-motion-pace-normal) * 1)}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-ending-style],.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-starting-style]{--oc-modal-scale: 1}.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup][data-oc-modal-feedback=reject]>.oc-Modal-module__surface__FnAX8{animation:none}@starting-style{.oc-Modal-module__surfaceMotion__fJnTQ[data-oc-modal-placement=popup]{--oc-modal-scale: 1}}.oc-Modal-module__footer__Oyz-R[data-oc-background=true]:before{transition-property:opacity;transition-duration:calc(var(--oc-motion-duration-feedback) * var(--oc-motion-duration-scale-reduced) * var(--oc-motion-pace-normal) * 1.5)}}
|