@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 @@
|
|
|
1
|
+
{"version":3,"file":"ActionArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionArea/ActionArea.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAGV,qBAAqB,EACrB,eAAe,EAEhB,MAAM,SAAS,CAAC;AA2FjB,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAc,EACd,OAAkB,EAClB,OAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAkB,EAClB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,eAAe,2CAmCjB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAc,EACd,OAAgB,EAChB,QAAgB,EAChB,OAAe,EACf,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,qBAAqB,2CA+FvB;AAED,QAAA,MAAM,mBAAmB;;CAEvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrE,YAAY,EACV,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconProps } from '../types';
|
|
3
|
+
export type ActionAreaVariant = 'strong' | 'neutral' | 'compact' | 'cancel';
|
|
4
|
+
export type ActionAreaButtonVariant = 'main' | 'alternative' | 'sub';
|
|
5
|
+
export interface ActionAreaProps extends Omit<React.ComponentPropsWithRef<'div'>, 'children'> {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
variant?: ActionAreaVariant;
|
|
8
|
+
caption?: React.ReactNode;
|
|
9
|
+
extraContent?: React.ReactNode;
|
|
10
|
+
compactContent?: React.ReactNode;
|
|
11
|
+
background?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export type ActionAreaButtonSharedProps = {
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
variant?: ActionAreaButtonVariant;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
leadingIcon?: React.ComponentType<IconProps>;
|
|
21
|
+
trailingIcon?: React.ComponentType<IconProps>;
|
|
22
|
+
icon?: React.ComponentType<IconProps>;
|
|
23
|
+
'aria-label'?: string;
|
|
24
|
+
'aria-labelledby'?: string;
|
|
25
|
+
};
|
|
26
|
+
export type ActionAreaButtonButtonProps = ActionAreaButtonSharedProps & Omit<React.ComponentPropsWithRef<'button'>, keyof ActionAreaButtonSharedProps | 'href'> & {
|
|
27
|
+
href?: undefined;
|
|
28
|
+
type?: 'button' | 'submit' | 'reset';
|
|
29
|
+
};
|
|
30
|
+
export type ActionAreaButtonAnchorProps = ActionAreaButtonSharedProps & Omit<React.ComponentPropsWithRef<'a'>, keyof ActionAreaButtonSharedProps | 'href'> & {
|
|
31
|
+
href: string;
|
|
32
|
+
};
|
|
33
|
+
export type ActionAreaButtonProps = ActionAreaButtonButtonProps | ActionAreaButtonAnchorProps;
|
|
34
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionArea/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5E,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,aAAa,GAAG,KAAK,CAAC;AAErE,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAClC,UAAU,CACX;IACC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC7C,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,2BAA2B,GACnE,IAAI,CACF,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EACrC,MAAM,2BAA2B,GAAG,MAAM,CAC3C,GAAG;IACF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC,CAAC;AAEJ,MAAM,MAAM,2BAA2B,GAAG,2BAA2B,GACnE,IAAI,CACF,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAChC,MAAM,2BAA2B,GAAG,MAAM,CAC3C,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAC7B,2BAA2B,GAC3B,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AlertActionAreaProps, AlertActionProps, AlertContentProps, AlertDescriptionProps, AlertHeadingProps, AlertRootProps } from './types';
|
|
2
|
+
export declare function AlertRoot({ children, outsideDismissible, canCloseAttempt, ...props }: AlertRootProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function AlertContent({ children, className, role, initialFocus: initialFocusProp, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledByProp, 'aria-describedby': ariaDescribedByProp, ...props }: AlertContentProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function AlertHeading({ className, children, id, ref, ...props }: AlertHeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function AlertDescription({ className, children, id, ref, ...props }: AlertDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function AlertActionArea({ children, className, initialFocus, ref, ...props }: AlertActionAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function AlertAction({ children, className, variant, closeOnClick, disabled, ...elementProps }: AlertActionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const Alert: typeof AlertRoot & {
|
|
9
|
+
Root: typeof AlertRoot;
|
|
10
|
+
Content: typeof AlertContent;
|
|
11
|
+
Heading: typeof AlertHeading;
|
|
12
|
+
Description: typeof AlertDescription;
|
|
13
|
+
ActionArea: typeof AlertActionArea;
|
|
14
|
+
Action: typeof AlertAction;
|
|
15
|
+
};
|
|
16
|
+
export default Alert;
|
|
17
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAEV,oBAAoB,EAEpB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACf,MAAM,SAAS,CAAC;AAyJjB,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,kBAA0B,EAC1B,eAAe,EACf,GAAG,KAAK,EACT,EAAE,cAAc,2CAqBhB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAc,EACd,IAAoB,EACpB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,kBAAkB,EACrC,kBAAkB,EAAE,mBAAmB,EACvC,GAAG,KAAK,EACT,EAAE,iBAAiB,2CA4FnB;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAc,EACd,QAAQ,EACR,EAAE,EACF,GAAG,EACH,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAenB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,SAAc,EACd,QAAQ,EACR,EAAE,EACF,GAAG,EACH,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAevB;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAc,EACd,YAAqB,EACrB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,oBAAoB,2CActB;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAc,EACd,OAAkB,EAClB,YAAmB,EACnB,QAAgB,EAChB,GAAG,YAAY,EAChB,EAAE,gBAAgB,2CA6ElB;AAED,QAAA,MAAM,KAAK;;;;;;;CAOT,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default, AlertAction, AlertActionArea, AlertContent, AlertDescription, AlertHeading, AlertRoot, } from './Alert';
|
|
2
|
+
export type { AlertActionAreaProps, AlertActionInitialFocus, AlertActionProps, AlertActionVariant, AlertContentProps, AlertDescriptionProps, AlertHeadingProps, AlertRootProps, } from './types';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,WAAW,EACX,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,SAAS,GACV,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ModalContentProps, ModalRootProps } from '../Modal';
|
|
3
|
+
import { IconProps } from '../types';
|
|
4
|
+
export type AlertActionVariant = 'normal' | 'assistive' | 'negative';
|
|
5
|
+
export type AlertActionInitialFocus = 'first' | 'least-destructive' | 'none';
|
|
6
|
+
export interface AlertRootProps extends Omit<ModalRootProps, 'disablePointerDismissal'> {
|
|
7
|
+
/**
|
|
8
|
+
* Allows dismissal from backdrop/outside interactions. Alert defaults to
|
|
9
|
+
* blocking outside dismissal because accidental confirmation loss is more
|
|
10
|
+
* expensive than an explicit close/action.
|
|
11
|
+
*/
|
|
12
|
+
outsideDismissible?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface AlertContentProps extends Omit<ModalContentProps, 'variant' | 'size' | 'resize' | 'drag' | 'peekable' | 'snapPoints' | 'defaultSnapPoint' | 'snapPositions' | 'defaultSnapPosition' | 'peekHeight' | 'closeThreshold' | 'scrollLockTimeout'> {
|
|
15
|
+
role?: 'alertdialog' | 'dialog';
|
|
16
|
+
}
|
|
17
|
+
export type AlertHeadingProps = React.ComponentPropsWithRef<'h2'>;
|
|
18
|
+
export type AlertDescriptionProps = React.ComponentPropsWithRef<'p'>;
|
|
19
|
+
export interface AlertActionAreaProps extends Omit<React.ComponentPropsWithRef<'div'>, 'children' | 'autoFocus'> {
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
initialFocus?: AlertActionInitialFocus;
|
|
22
|
+
}
|
|
23
|
+
export type AlertActionSharedProps = {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
className?: string;
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
variant?: AlertActionVariant;
|
|
28
|
+
closeOnClick?: boolean;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
leftIcon?: React.ComponentType<IconProps>;
|
|
31
|
+
rightIcon?: React.ComponentType<IconProps>;
|
|
32
|
+
'aria-label'?: string;
|
|
33
|
+
'aria-labelledby'?: string;
|
|
34
|
+
};
|
|
35
|
+
export type AlertActionButtonProps = AlertActionSharedProps & Omit<React.ComponentPropsWithRef<'button'>, keyof AlertActionSharedProps | 'href'> & {
|
|
36
|
+
href?: undefined;
|
|
37
|
+
type?: 'button' | 'submit' | 'reset';
|
|
38
|
+
};
|
|
39
|
+
export type AlertActionAnchorProps = AlertActionSharedProps & Omit<React.ComponentPropsWithRef<'a'>, keyof AlertActionSharedProps | 'href'> & {
|
|
40
|
+
href: string;
|
|
41
|
+
};
|
|
42
|
+
export type AlertActionProps = AlertActionButtonProps | AlertActionAnchorProps;
|
|
43
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Alert/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;AACrE,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,mBAAmB,GAAG,MAAM,CAAC;AAE7E,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC1C,cAAc,EACd,yBAAyB,CAC1B;IACC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC7C,iBAAiB,EACf,SAAS,GACT,MAAM,GACN,QAAQ,GACR,MAAM,GACN,UAAU,GACV,YAAY,GACZ,kBAAkB,GAClB,eAAe,GACf,qBAAqB,GACrB,YAAY,GACZ,gBAAgB,GAChB,mBAAmB,CACtB;IACC,IAAI,CAAC,EAAE,aAAa,GAAG,QAAQ,CAAC;CACjC;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;AAElE,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;AAErE,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAClC,UAAU,GAAG,WAAW,CACzB;IACC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,uBAAuB,CAAC;CACxC;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GACzD,IAAI,CACF,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EACrC,MAAM,sBAAsB,GAAG,MAAM,CACtC,GAAG;IACF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GACzD,IAAI,CACF,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAChC,MAAM,sBAAsB,GAAG,MAAM,CACtC,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BackgroundProps } from './types';
|
|
2
|
+
declare function Background<T extends React.ElementType = 'div'>({ as, children, className, variant, frontColor, backColor, backdrop, saturation, ref, style, 'data-oc-component': dataOcComponent, ...props }: BackgroundProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Background;
|
|
4
|
+
//# sourceMappingURL=Background.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Background.d.ts","sourceRoot":"","sources":["../../../../../src/components/Background/Background.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,iBAAS,UAAU,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,EACvD,EAAE,EACF,QAAQ,EACR,SAAc,EACd,OAAkB,EAClB,UAAgD,EAChD,SAA4D,EAC5D,QAAmB,EACnB,UAAqB,EACrB,GAAG,EACH,KAAK,EACL,mBAAmB,EAAE,eAA8B,EACnD,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,CAAC,CAAC,2CA+BpB;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Background/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type BackgroundVariant = 'light' | 'normal' | 'strong';
|
|
3
|
+
export type BackgroundBackdrop = 'normal' | 'compact';
|
|
4
|
+
export type BackgroundSaturation = 'normal' | 'vibrant';
|
|
5
|
+
export type BackgroundProps<T extends React.ElementType = 'div'> = {
|
|
6
|
+
as?: T;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
variant?: BackgroundVariant;
|
|
10
|
+
frontColor?: string;
|
|
11
|
+
backColor?: string;
|
|
12
|
+
backdrop?: BackgroundBackdrop;
|
|
13
|
+
saturation?: BackgroundSaturation;
|
|
14
|
+
ref?: React.ComponentPropsWithRef<T>['ref'];
|
|
15
|
+
'data-oc-component'?: string;
|
|
16
|
+
} & Omit<React.ComponentPropsWithoutRef<T>, 'as' | 'children' | 'className' | 'ref' | 'color'>;
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Background/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,SAAS,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExD,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,IAAI;IACjE,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,GAAG,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC5C,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,GAAG,IAAI,CACN,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,EACjC,IAAI,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,OAAO,CAClD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BackgroundIconButtonProps } from './types';
|
|
2
|
+
declare function BackgroundIconButton({ className, type, children, size, variant, alternative, viewBox, color, style, ref, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'data-oc-component': dataOcComponent, ...buttonProps }: BackgroundIconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default BackgroundIconButton;
|
|
4
|
+
//# sourceMappingURL=BackgroundIconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackgroundIconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/BackgroundIconButton/BackgroundIconButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,iBAAS,oBAAoB,CAAC,EAC5B,SAAc,EACd,IAAe,EACf,QAAQ,EACR,IAAS,EACT,OAAkB,EAClB,WAAmB,EACnB,OAAO,EACP,KAAK,EACL,KAAK,EACL,GAAG,EACH,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,mBAAmB,EAAE,eAA0C,EAC/D,GAAG,WAAW,EACf,EAAE,yBAAyB,2CAgD3B;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/BackgroundIconButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,YAAY,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconProps } from '../types';
|
|
3
|
+
type BackgroundIconButtonOwnProps = Omit<IconProps, 'className' | 'style' | 'onClick' | 'ref' | 'size'> & {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
children: React.ReactElement<IconProps>;
|
|
7
|
+
size?: number;
|
|
8
|
+
variant?: 'primary' | 'normal';
|
|
9
|
+
alternative?: boolean;
|
|
10
|
+
'data-oc-component'?: string;
|
|
11
|
+
};
|
|
12
|
+
export type BackgroundIconButtonProps = BackgroundIconButtonOwnProps & Omit<React.ComponentPropsWithRef<'button'>, keyof BackgroundIconButtonOwnProps | 'children'> & {
|
|
13
|
+
type?: 'button' | 'submit' | 'reset';
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/BackgroundIconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,KAAK,4BAA4B,GAAG,IAAI,CACtC,SAAS,EACT,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CACnD,GAAG;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,4BAA4B,GAClE,IAAI,CACF,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EACrC,MAAM,4BAA4B,GAAG,UAAU,CAChD,GAAG;IACF,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,iBAAS,KAAK,CAAC,EACb,QAAQ,EACR,SAAc,EACd,OAAkB,EAClB,IAAc,EACd,OAAe,EACf,GAAG,EACH,GAAG,KAAK,EACT,EAAE,UAAU,2CAuBZ;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type BadgeVariant = 'normal' | 'accent' | 'overlay';
|
|
3
|
+
export type BadgeSize = 'small' | 'tiny';
|
|
4
|
+
export interface BadgeProps extends React.ComponentPropsWithRef<'span'> {
|
|
5
|
+
variant?: BadgeVariant;
|
|
6
|
+
size?: BadgeSize;
|
|
7
|
+
padding?: boolean;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC3D,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,qBAAqB,CAAC,MAAM,CAAC;IACrE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ButtonProps } from './types';
|
|
2
|
+
declare function Button({ children, className, style, disabled, href, appearance, variant, size, fullWidth, loading, leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, icon: Icon, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...elementProps }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Button;
|
|
4
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAGV,WAAW,EAEZ,MAAM,SAAS,CAAC;AAWjB,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,SAAc,EACd,KAAK,EACL,QAAgB,EAChB,IAAI,EACJ,UAAoB,EACpB,OAAmB,EACnB,IAAc,EACd,SAAiB,EACjB,OAAe,EACf,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,GAAG,YAAY,EAChB,EAAE,WAAW,2CA4Nb;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EACV,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconProps } from '../types';
|
|
3
|
+
export type ButtonAppearance = 'solid' | 'outlined';
|
|
4
|
+
export type ButtonVariant = 'default' | 'primary' | 'secondary' | 'assistive';
|
|
5
|
+
export type ButtonSize = 'large' | 'medium' | 'small' | 'xsmall';
|
|
6
|
+
export type ButtonSharedProps = {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
appearance?: ButtonAppearance;
|
|
12
|
+
variant?: ButtonVariant;
|
|
13
|
+
size?: ButtonSize;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
leadingIcon?: React.ComponentType<IconProps>;
|
|
17
|
+
trailingIcon?: React.ComponentType<IconProps>;
|
|
18
|
+
icon?: React.ComponentType<IconProps>;
|
|
19
|
+
'aria-label'?: string;
|
|
20
|
+
'aria-labelledby'?: string;
|
|
21
|
+
};
|
|
22
|
+
export type ButtonButtonProps = ButtonSharedProps & Omit<React.ComponentPropsWithRef<'button'>, keyof ButtonSharedProps | 'href'> & {
|
|
23
|
+
href?: undefined;
|
|
24
|
+
type?: 'button' | 'submit' | 'reset';
|
|
25
|
+
};
|
|
26
|
+
export type ButtonAnchorProps = ButtonSharedProps & Omit<React.ComponentPropsWithRef<'a'>, keyof ButtonSharedProps | 'href'> & {
|
|
27
|
+
href: string;
|
|
28
|
+
};
|
|
29
|
+
export type ButtonProps = ButtonButtonProps | ButtonAnchorProps;
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,UAAU,CAAC;AACpD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAC9E,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC7C,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,GAC/C,IAAI,CACF,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EACrC,MAAM,iBAAiB,GAAG,MAAM,CACjC,GAAG;IACF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,GAC/C,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG;IACzE,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,MAAM,MAAM,WAAW,GAAG,iBAAiB,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CellItemProps, CellProps } from './types';
|
|
2
|
+
declare function Cell({ children, className, divider, padding, ref, style, ...props }: CellProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function CellItem({ children, className, content, description, 'aria-disabled': ariaDisabled, 'data-oc-component': dataOcComponent, disabled, divider, fillWidth, interactive, interactionVariant, leading, onClick, onKeyDown, onKeyUp, ref, role, tabIndex, trailing, verticalAlign, ...props }: CellItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default Cell;
|
|
5
|
+
//# sourceMappingURL=Cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAgBxD,iBAAS,IAAI,CAAC,EACZ,QAAQ,EACR,SAAc,EACd,OAAuB,EACvB,OAAO,EACP,GAAG,EACH,KAAK,EACL,GAAG,KAAK,EACT,EAAE,SAAS,2CAsBX;AAED,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,SAAc,EACd,OAAO,EACP,WAAW,EACX,eAAe,EAAE,YAAY,EAC7B,mBAAmB,EAAE,eAA6B,EAClD,QAAgB,EAChB,OAAO,EACP,SAAiB,EACjB,WAAmB,EACnB,kBAA4B,EAC5B,OAAO,EACP,OAAO,EACP,SAAS,EACT,OAAO,EACP,GAAG,EACH,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,aAAqB,EACrB,GAAG,KAAK,EACT,EAAE,aAAa,2CA4If;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC3C,YAAY,EACV,WAAW,EACX,aAAa,EACb,SAAS,EACT,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DividerVariant } from '../Divider';
|
|
3
|
+
import { InteractionProps } from '../Interaction';
|
|
4
|
+
export type CellDivider = DividerVariant | 'none';
|
|
5
|
+
export type CellVerticalAlign = 'top' | 'center';
|
|
6
|
+
export interface CellProps extends React.ComponentPropsWithRef<'ul'> {
|
|
7
|
+
padding?: string;
|
|
8
|
+
divider?: CellDivider;
|
|
9
|
+
}
|
|
10
|
+
export interface CellItemProps extends Omit<React.ComponentPropsWithRef<'li'>, 'content' | 'disabled'> {
|
|
11
|
+
content?: React.ReactNode;
|
|
12
|
+
description?: React.ReactNode;
|
|
13
|
+
'data-oc-component'?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
divider?: CellDivider;
|
|
16
|
+
fillWidth?: boolean;
|
|
17
|
+
interactive?: boolean;
|
|
18
|
+
interactionVariant?: InteractionProps['variant'];
|
|
19
|
+
leading?: React.ReactNode;
|
|
20
|
+
trailing?: React.ReactNode;
|
|
21
|
+
verticalAlign?: CellVerticalAlign;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,MAAM,CAAC;AAClD,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEjD,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,EACjC,SAAS,GAAG,UAAU,CACvB;IACC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACjD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckMark.d.ts","sourceRoot":"","sources":["../../../../../src/components/CheckMark/CheckMark.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,iBAAS,SAAS,CAAC,EACjB,QAAQ,EACR,SAAc,EACd,QAAQ,EACR,eAAe,EACf,GAAG,EACH,GAAG,KAAK,EACT,EAAE,cAAc,2CAgChB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CheckMark/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CheckMark/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC1C,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC,MAAM,GAAG,MAAM,CAChB;IACC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CheckboxProps } from './types';
|
|
2
|
+
declare function Checkbox({ children, className, size, fill, indeterminate, trailingCompound, onChange, onCheckedChange, ref, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Checkbox;
|
|
4
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,iBAAS,QAAQ,CAAC,EAChB,QAAQ,EACR,SAAc,EACd,IAAe,EACf,IAAY,EACZ,aAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,eAAe,EACf,GAAG,EACH,GAAG,KAAK,EACT,EAAE,aAAa,2CAgFf;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type CheckboxSize = 'medium' | 'small';
|
|
3
|
+
export interface CheckboxProps extends Omit<React.ComponentPropsWithRef<'input'>, 'type' | 'size'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
indeterminate?: boolean;
|
|
6
|
+
size?: CheckboxSize;
|
|
7
|
+
fill?: boolean;
|
|
8
|
+
trailingCompound?: React.ReactNode;
|
|
9
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9C,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC,MAAM,GAAG,MAAM,CAChB;IACC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DividerProps } from './types';
|
|
2
|
+
declare function Divider({ className, orientation, spacing, variant, ref, style, 'aria-orientation': ariaOrientation, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Divider;
|
|
4
|
+
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,iBAAS,OAAO,CAAC,EACf,SAAc,EACd,WAA0B,EAC1B,OAAkB,EAClB,OAAkB,EAClB,GAAG,EACH,KAAK,EACL,kBAAkB,EAAE,eAAe,EACnC,GAAG,KAAK,EACT,EAAE,YAAY,2CAyCd;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type DividerOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
export type DividerVariant = 'normal' | 'neutral' | 'alternative';
|
|
4
|
+
export type DividerSpacing = 'normal' | 'none' | number | (string & {});
|
|
5
|
+
export interface DividerProps extends React.ComponentPropsWithRef<'hr'> {
|
|
6
|
+
orientation?: DividerOrientation;
|
|
7
|
+
spacing?: DividerSpacing;
|
|
8
|
+
variant?: DividerVariant;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AAC3D,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAExE,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC;IACrE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldContextValue, FieldControlProps, FieldLabelProps, FieldMessageProps, FieldProps } from './types';
|
|
2
|
+
export declare function useFieldContext(): FieldContextValue | null;
|
|
3
|
+
export declare function Field({ children, className, labelWidth, orientation, ref, style, ...props }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function FieldLabel({ children, className, required, ref, ...props }: FieldLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function FieldControl({ children, className, ref, ...props }: FieldControlProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function FieldMessage({ children, className, tone, ref, ...props }: FieldMessageProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export declare function FieldErrorMessage({ children, className, ref, ...props }: Omit<FieldMessageProps, 'tone'>): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export default Field;
|
|
9
|
+
//# sourceMappingURL=Field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,UAAU,EACX,MAAM,SAAS,CAAC;AAIjB,wBAAgB,eAAe,6BAE9B;AAcD,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,SAAc,EACd,UAAU,EACV,WAAwB,EACxB,GAAG,EACH,KAAK,EACL,GAAG,KAAK,EACT,EAAE,UAAU,2CA+DZ;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAc,EACd,QAAgB,EAChB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,eAAe,2CAuBjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAc,EACd,GAAG,EACH,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAuCnB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAc,EACd,IAAgB,EAChB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,iBAAiB,kDAuBnB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAc,EACd,GAAG,EACH,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,kDAuBjC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default, Field, FieldControl, FieldErrorMessage, FieldLabel, FieldMessage, useFieldContext, } from './Field';
|
|
2
|
+
export type { FieldContextValue, FieldControlProps, FieldOrientation, FieldLabelProps, FieldMessageProps, FieldMessageTone, FieldProps, } from './types';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,KAAK,EACL,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,eAAe,GAChB,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,GACX,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CssLength } from '../../utils/css';
|
|
3
|
+
export type FieldOrientation = 'vertical' | 'horizontal';
|
|
4
|
+
export interface FieldProps extends React.ComponentPropsWithRef<'div'> {
|
|
5
|
+
orientation?: FieldOrientation;
|
|
6
|
+
labelWidth?: CssLength;
|
|
7
|
+
}
|
|
8
|
+
export interface FieldLabelProps extends React.ComponentPropsWithRef<'label'> {
|
|
9
|
+
required?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface FieldControlProps extends React.ComponentPropsWithRef<'div'> {
|
|
12
|
+
children: React.ReactElement;
|
|
13
|
+
}
|
|
14
|
+
export type FieldMessageTone = 'neutral' | 'danger';
|
|
15
|
+
export interface FieldMessageProps extends React.ComponentPropsWithRef<'p'> {
|
|
16
|
+
tone?: FieldMessageTone;
|
|
17
|
+
}
|
|
18
|
+
export interface FieldContextValue {
|
|
19
|
+
controlId: string;
|
|
20
|
+
labelId: string;
|
|
21
|
+
messageId: string;
|
|
22
|
+
errorMessageId: string;
|
|
23
|
+
labelMounted: boolean;
|
|
24
|
+
messageMounted: boolean;
|
|
25
|
+
errorMessageMounted: boolean;
|
|
26
|
+
registerLabel: () => () => void;
|
|
27
|
+
registerMessage: () => () => void;
|
|
28
|
+
registerErrorMessage: () => () => void;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AAEzD,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC;IACpE,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC;IAC3E,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAED,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC;IACzE,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,EAAE,MAAM,MAAM,IAAI,CAAC;IAChC,eAAe,EAAE,MAAM,MAAM,IAAI,CAAC;IAClC,oBAAoB,EAAE,MAAM,MAAM,IAAI,CAAC;CACxC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type FieldControlOverlayMetricDimension = 'inline' | 'block';
|
|
3
|
+
export interface FieldControlOverlayMetric {
|
|
4
|
+
dimension?: FieldControlOverlayMetricDimension;
|
|
5
|
+
property: `--oc-${string}`;
|
|
6
|
+
ref: React.RefObject<Element | null>;
|
|
7
|
+
}
|
|
8
|
+
interface UseFieldControlOverlayMetricsOptions {
|
|
9
|
+
metrics: readonly FieldControlOverlayMetric[];
|
|
10
|
+
surfaceRef: React.RefObject<HTMLElement | null>;
|
|
11
|
+
}
|
|
12
|
+
export declare function useFieldControlOverlayMetrics({ metrics, surfaceRef, }: UseFieldControlOverlayMetricsOptions): void;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=useFieldControlOverlayMetrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFieldControlOverlayMetrics.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field/useFieldControlOverlayMetrics.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,kCAAkC,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7D,MAAM,WAAW,yBAAyB;IACxC,SAAS,CAAC,EAAE,kCAAkC,CAAC;IAC/C,QAAQ,EAAE,QAAQ,MAAM,EAAE,CAAC;IAC3B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CACtC;AAED,UAAU,oCAAoC;IAC5C,OAAO,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC9C,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACjD;AAaD,wBAAgB,6BAA6B,CAAC,EAC5C,OAAO,EACP,UAAU,GACX,EAAE,oCAAoC,QA6DtC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldLegendProps, FieldsetContentProps, FieldsetProps } from './types';
|
|
2
|
+
export declare function Fieldset({ children, className, ref, ...props }: FieldsetProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function FieldLegend({ children, className, required, ref, ...props }: FieldLegendProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function FieldsetContent({ children, className, ref, ...props }: FieldsetContentProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function FieldGroup({ legend, children, className, disabled, ref, ...props }: FieldsetProps & {
|
|
6
|
+
legend: string;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Fieldset;
|
|
9
|
+
//# sourceMappingURL=Fieldset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../../../src/components/Fieldset/Fieldset.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACd,MAAM,SAAS,CAAC;AAqCjB,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,SAAc,EACd,GAAG,EACH,GAAG,KAAK,EACT,EAAE,aAAa,2CAWf;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAc,EACd,QAAgB,EAChB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAgBlB;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAc,EACd,GAAG,EACH,GAAG,KAAK,EACT,EAAE,oBAAoB,2CAYtB;AAED,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,QAAQ,EACR,SAAc,EACd,QAAgB,EAChB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,aAAa,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,2CAOpC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Fieldset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,UAAU,EACV,WAAW,EACX,QAAQ,EACR,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type FieldsetProps = React.ComponentPropsWithRef<'fieldset'>;
|
|
3
|
+
export interface FieldLegendProps extends React.ComponentPropsWithRef<'legend'> {
|
|
4
|
+
required?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export type FieldsetContentProps = React.ComponentPropsWithRef<'div'>;
|
|
7
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Fieldset/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAEpE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
|