@functionalui/functionalui 0.2.5 → 0.2.7
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/dist/Admonition-BVd4bXl_.cjs +1 -0
- package/dist/Admonition-CReUUZzJ.js +88 -0
- package/dist/{Avatar-CQA0mEVW.js → Avatar-CkxjB_cU.js} +4 -4
- package/dist/AvatarGroup-CbohU2rq.cjs +1 -0
- package/dist/AvatarGroup-FpaQP2H4.js +52 -0
- package/dist/{Button-CpTXDsI7.js → Button-DLwud-g7.js} +8 -8
- package/dist/{Checkbox-C29jP71p.js → Checkbox-CNpy1wvA.js} +3 -3
- package/dist/Checkboxes-CQVptWR8.cjs +1 -0
- package/dist/Checkboxes-Cj740f5X.js +80 -0
- package/dist/Chip-DgSZZTgy.js +132 -0
- package/dist/Chip-HOh--tbB.cjs +1 -0
- package/dist/ColorPicker-DUz0qcHd.js +234 -0
- package/dist/ColorPicker-rxR_V4EW.cjs +1 -0
- package/dist/DivMeasure-C398kYvk.js +26 -0
- package/dist/DivMeasure-oi_fzKlp.cjs +1 -0
- package/dist/GalleryModal-DjCnCkbg.js +464 -0
- package/dist/GalleryModal-wFC9x3Em.cjs +1 -0
- package/dist/InputImage-CInJWoGb.cjs +1 -0
- package/dist/InputImage-ZST0lvcI.js +106 -0
- package/dist/InputText-Bjhoe-Tm.cjs +1 -0
- package/dist/InputText-DnR7KYJS.js +246 -0
- package/dist/InsetGroup-BHxpHwpd.js +105 -0
- package/dist/InsetGroup-CGACEEbB.cjs +1 -0
- package/dist/{LabelText-D7QIWtWj.js → LabelText-WYEq5keJ.js} +3 -3
- package/dist/LoadingSpinner-BC0eMoVW.js +101 -0
- package/dist/LoadingSpinner-DykDI5-W.cjs +1 -0
- package/dist/{Modal-DXLyt-j4.js → Modal-Di5ye0Cr.js} +4 -4
- package/dist/NotificationSystem-B5NXsG0a.js +158 -0
- package/dist/NotificationSystem-D4ydo2Lk.cjs +1 -0
- package/dist/Radio-Dd5W2Lpf.js +121 -0
- package/dist/Radio-QbaBzLpf.cjs +1 -0
- package/dist/SelectSpring-BOfRXdag.js +471 -0
- package/dist/SelectSpring-DFKWTbF1.cjs +1 -0
- package/dist/SpringEnter-CPw1YgNg.cjs +1 -0
- package/dist/SpringEnter-CoVZpW-c.js +44 -0
- package/dist/{SpringEnterOffsetBy-DMSIQgV3.js → SpringEnterOffsetBy-BKglENgZ.js} +2 -2
- package/dist/SpringMenuTransition-B_PoFoqO.cjs +1 -0
- package/dist/SpringMenuTransition-CzSfyvDZ.js +42 -0
- package/dist/SpringOpenCloseHeight-COvFkc30.js +18 -0
- package/dist/SpringOpenCloseHeight-CyxsSgRD.cjs +1 -0
- package/dist/TableGrid-BYBVHJt9.cjs +1 -0
- package/dist/TableGrid-QlKM9Sdp.js +49 -0
- package/dist/{TableHeader-Da0XxILB.js → TableHeader-D3V5Z3JL.js} +4 -4
- package/dist/{TableRow-BlJSvake.js → TableRow-DKC9qdjQ.js} +3 -3
- package/dist/Tabs-BkUyxceG.js +134 -0
- package/dist/Tabs-C8VAb1g0.cjs +1 -0
- package/dist/{TagColor-BYKxfOU6.js → TagColor-Bd3n3RCF.js} +3 -3
- package/dist/TextArea-Bsm5M8lo.cjs +1 -0
- package/dist/TextArea-Cd3q9BMN.js +160 -0
- package/dist/ToggleSwitch-BNAk1Wp6.js +100 -0
- package/dist/ToggleSwitch-D6ltRmPy.cjs +1 -0
- package/dist/{UIcon-BHzbeYWw.js → UIcon-Cc5PX9WJ.js} +3 -3
- package/dist/UiContexts-36wfLVYv.cjs +1 -0
- package/dist/UiContexts-BMJZJR8C.js +35 -0
- package/dist/admonition/index.cjs +1 -1
- package/dist/admonition/index.mjs +2 -86
- package/dist/avatar/index.mjs +1 -1
- package/dist/avatar-group/index.cjs +1 -1
- package/dist/avatar-group/index.mjs +2 -50
- package/dist/button/index.mjs +1 -1
- package/dist/checkbox/index.mjs +1 -1
- package/dist/checkboxes/index.cjs +1 -1
- package/dist/checkboxes/index.mjs +2 -78
- package/dist/chip/index.cjs +1 -1
- package/dist/chip/index.mjs +2 -130
- package/dist/color-picker/index.cjs +1 -1
- package/dist/color-picker/index.mjs +2 -232
- package/dist/{component-CW2JPBAq.js → component-89pO-V2r.js} +1 -1
- package/dist/{component-BvHdlcdE.js → component-BbiEBU5H.js} +1 -1
- package/dist/component-BvmPGrYv.cjs +1 -0
- package/dist/{component-C1Gs4nVu.js → component-CGEZuC_0.js} +1 -1
- package/dist/{component-DRXQXr2G.js → component-CLzFHaNK.js} +1 -1
- package/dist/{component-D0wwK4KY.js → component-D-bBH8nL.js} +1 -1
- package/dist/{component-DCHO9d6d.js → component-DBDhHeDP.js} +1 -1
- package/dist/{component-D5nxKQnT.js → component-DP7cQasn.js} +1 -1
- package/dist/{component-CBIQe7z5.js → component-JelkpADf.js} +1 -1
- package/dist/{component-DdQu0mLI.js → component-SecZNuYG.js} +1 -1
- package/dist/component-cHg1BfVy.js +28 -0
- package/dist/container/index.mjs +1 -1
- package/dist/contexts/ui/index.cjs +1 -1
- package/dist/contexts/ui/index.mjs +3 -32
- package/dist/{createTextElement-Cgrvdwvh.js → createTextElement-d3-b9Lvn.js} +1 -1
- package/dist/css/index.css +1 -1
- package/dist/div-measure/index.cjs +1 -1
- package/dist/div-measure/index.mjs +2 -23
- package/dist/gallery-modal/index.cjs +1 -1
- package/dist/gallery-modal/index.mjs +2 -461
- package/dist/icons/index.mjs +1 -1
- package/dist/input-image/index.cjs +1 -1
- package/dist/input-image/index.mjs +2 -103
- package/dist/input-text/index.cjs +1 -1
- package/dist/input-text/index.mjs +2 -243
- package/dist/inset-group/index.cjs +1 -1
- package/dist/inset-group/index.mjs +2 -102
- package/dist/label-text/index.mjs +1 -1
- package/dist/layout/index.mjs +1 -1
- package/dist/lib/components/devComponent/DevComponent.d.ts +2 -0
- package/dist/lib/components/divMeasure/DivMeasure.d.ts +9 -0
- package/dist/lib/components/icons/Icon.d.ts +10 -0
- package/dist/lib/components/icons/Spinner.d.ts +8 -0
- package/dist/lib/components/icons/UIcon.d.ts +22 -0
- package/dist/lib/components/loadings/LoadingSpinner.d.ts +7 -0
- package/dist/lib/components/loadings/Spinner.d.ts +4 -0
- package/dist/lib/components/springAnimations/SpringOpenCloseHeight.d.ts +6 -0
- package/dist/lib/components/springAnimations/springTransitions/SpringEnter.d.ts +10 -0
- package/dist/lib/components/springAnimations/springTransitions/SpringEnterOffsetBy.d.ts +11 -0
- package/dist/lib/components/springAnimations/springTransitions/SpringMenuTransition.d.ts +11 -0
- package/dist/lib/components/ui/admonition/Admonition.d.ts +10 -0
- package/dist/lib/components/ui/avatar/Avatar.d.ts +15 -0
- package/dist/lib/components/ui/avatar/components/AvatarName.d.ts +10 -0
- package/dist/lib/components/ui/avatarGroup/AvatarGroup.d.ts +13 -0
- package/dist/lib/components/ui/buttons/Button.d.ts +22 -0
- package/dist/lib/components/ui/buttons/components/ButtonIcon.d.ts +12 -0
- package/dist/lib/components/ui/buttons/utils/colors.d.ts +0 -0
- package/dist/lib/components/ui/checkboxes/Checkboxes.d.ts +16 -0
- package/dist/lib/components/ui/checkboxes/checkbox/Checkbox.d.ts +11 -0
- package/dist/lib/components/ui/chip/Chip.d.ts +19 -0
- package/dist/{color-picker/index.d.ts → lib/components/ui/colorPicker/ColorPicker.d.ts} +11 -14
- package/dist/lib/components/ui/colorPicker/Picker.d.ts +9 -0
- package/dist/{gallery-modal/index.d.ts → lib/components/ui/galleryModal/GalleryModal.d.ts} +8 -11
- package/dist/lib/components/ui/galleryModal/components/GalleryClose.d.ts +6 -0
- package/dist/lib/components/ui/galleryModal/components/GalleryIslandMenu.d.ts +6 -0
- package/dist/lib/components/ui/galleryModal/components/Z.d.ts +9 -0
- package/dist/lib/components/ui/galleryModal/contexts/GalleryContext.d.ts +24 -0
- package/dist/lib/components/ui/inputs/image/InputImage.d.ts +13 -0
- package/dist/lib/components/ui/inputs/radio/Radio.d.ts +13 -0
- package/dist/lib/components/ui/inputs/radio/types.d.ts +4 -0
- package/dist/lib/components/ui/inputs/text/InputText.d.ts +41 -0
- package/dist/lib/components/ui/inputs/text/components/InputTextHelper.d.ts +6 -0
- package/dist/lib/components/ui/inputs/text/components/InputTextPlaceholder.d.ts +9 -0
- package/dist/lib/components/ui/inputs/text/components/ShowHidePassword.d.ts +7 -0
- package/dist/lib/components/ui/inputs/text/components/labels/InputTextLabel.d.ts +11 -0
- package/dist/lib/components/ui/inputs/textArea/TextArea.d.ts +42 -0
- package/dist/lib/components/ui/inputs/textArea/components/labels/TextAreaLabel.d.ts +12 -0
- package/dist/lib/components/ui/insetGroup/InsetGroup.d.ts +13 -0
- package/dist/lib/components/ui/insetGroup/components/InsetItem.d.ts +17 -0
- package/dist/{label-text/index.d.ts → lib/components/ui/label/LabelText.d.ts} +8 -11
- package/dist/lib/components/ui/modals/Modal.d.ts +11 -0
- package/dist/lib/components/ui/modals/ModalBg.d.ts +8 -0
- package/dist/lib/components/ui/modals/ModalGestureCard.d.ts +9 -0
- package/dist/lib/components/ui/modals/ModalWrapper.d.ts +7 -0
- package/dist/lib/components/ui/notifications/NotificationSystem.d.ts +2 -0
- package/dist/lib/components/ui/notifications/globalEventNotifications/GlobalEventToast.d.ts +2 -0
- package/dist/lib/components/ui/portals/GlobalEventPortal.d.ts +5 -0
- package/dist/lib/components/ui/portals/ModalPortal.d.ts +5 -0
- package/dist/{portals/index.d.ts → lib/components/ui/portals/types.d.ts} +7 -10
- package/dist/lib/components/ui/selectSpring/SelectSpring.d.ts +21 -0
- package/dist/lib/components/ui/selectSpring/components/DropdownAnimation.d.ts +13 -0
- package/dist/lib/components/ui/selectSpring/components/DropdownLi.d.ts +11 -0
- package/dist/lib/components/ui/selectSpring/components/HeaderValues.d.ts +12 -0
- package/dist/lib/components/ui/selectSpring/components/SelectDropdown.d.ts +17 -0
- package/dist/lib/components/ui/selectSpring/components/SelectHeader.d.ts +17 -0
- package/dist/lib/components/ui/selectSpring/components/useTopOrBottom.d.ts +7 -0
- package/dist/lib/components/ui/selectSpring/components/useWindowDimensions.d.ts +5 -0
- package/dist/lib/components/ui/tableGrid/TableGrid.d.ts +11 -0
- package/dist/lib/components/ui/tableGrid/components/tableHeader/TableHeader.d.ts +9 -0
- package/dist/lib/components/ui/tableGrid/components/tableHeader/TableHeaderCell.d.ts +8 -0
- package/dist/lib/components/ui/tableGrid/components/tableRow/TableRow.d.ts +3 -0
- package/dist/lib/components/ui/tableGrid/components/tableRow/TableRowAnimation.d.ts +9 -0
- package/dist/lib/components/ui/tableGrid/components/tableRow/TableRowCell.d.ts +4 -0
- package/dist/lib/components/ui/tabs/Tabs.d.ts +8 -0
- package/dist/lib/components/ui/tabs/TabsMenu.d.ts +12 -0
- package/dist/lib/components/ui/tabs/TabsRoom.d.ts +8 -0
- package/dist/lib/components/ui/tags/TagColor.d.ts +10 -0
- package/dist/lib/components/ui/toggleSwitch/ToggleSwitch.d.ts +15 -0
- package/dist/lib/contexts/notifications/GlobalEventContext.d.ts +6 -0
- package/dist/lib/contexts/ui/UiContexts.d.ts +11 -0
- package/dist/lib/contexts/ui/types.d.ts +18 -0
- package/dist/lib/css.d.ts +0 -0
- package/dist/lib/entries/admonition/index.d.ts +1 -0
- package/dist/lib/entries/avatar/index.d.ts +1 -0
- package/dist/lib/entries/avatar-group/index.d.ts +1 -0
- package/dist/lib/entries/button/index.d.ts +1 -0
- package/dist/lib/entries/checkbox/index.d.ts +1 -0
- package/dist/lib/entries/checkboxes/index.d.ts +1 -0
- package/dist/lib/entries/chip/index.d.ts +1 -0
- package/dist/lib/entries/color-picker/index.d.ts +1 -0
- package/dist/lib/entries/container/index.d.ts +1 -0
- package/dist/lib/entries/contexts/notifications/index.d.ts +2 -0
- package/dist/lib/entries/contexts/ui/index.d.ts +2 -0
- package/dist/lib/entries/div-measure/index.d.ts +1 -0
- package/dist/lib/entries/gallery-modal/index.d.ts +1 -0
- package/dist/lib/entries/global-event-portal/index.d.ts +1 -0
- package/dist/lib/entries/icons/index.d.ts +1 -0
- package/dist/lib/entries/input-image/index.d.ts +1 -0
- package/dist/lib/entries/input-text/index.d.ts +1 -0
- package/dist/lib/entries/inset-group/index.d.ts +1 -0
- package/dist/lib/entries/label-text/index.d.ts +1 -0
- package/dist/lib/entries/layout/index.d.ts +1 -0
- package/dist/lib/entries/loading-spinner/index.d.ts +2 -0
- package/dist/lib/entries/modal/index.d.ts +1 -0
- package/dist/lib/entries/notification-system/index.d.ts +1 -0
- package/dist/lib/entries/portals/index.d.ts +1 -0
- package/dist/lib/entries/radio/index.d.ts +1 -0
- package/dist/lib/entries/select-spring/index.d.ts +1 -0
- package/dist/lib/entries/spring-enter/index.d.ts +1 -0
- package/dist/lib/entries/spring-enter-offset-by/index.d.ts +1 -0
- package/dist/lib/entries/spring-menu-transition/index.d.ts +1 -0
- package/dist/lib/entries/spring-open-close-height/index.d.ts +1 -0
- package/dist/lib/entries/styled/button/index.d.ts +1 -0
- package/dist/lib/entries/styled/inputs/text/index.d.ts +1 -0
- package/dist/lib/entries/styled/inputs/text-area/index.d.ts +1 -0
- package/dist/lib/entries/styled/li/index.d.ts +1 -0
- package/dist/lib/entries/styled/ul/index.d.ts +1 -0
- package/dist/lib/entries/table-grid/index.d.ts +1 -0
- package/dist/lib/entries/table-header/index.d.ts +1 -0
- package/dist/lib/entries/table-row/index.d.ts +1 -0
- package/dist/lib/entries/tabs/index.d.ts +1 -0
- package/dist/lib/entries/tag-color/index.d.ts +1 -0
- package/dist/lib/entries/text-area/index.d.ts +1 -0
- package/dist/lib/entries/texts/header/index.d.ts +1 -0
- package/dist/lib/entries/texts/p/index.d.ts +1 -0
- package/dist/lib/entries/texts/span/index.d.ts +1 -0
- package/dist/lib/entries/toggle-switch/index.d.ts +1 -0
- package/dist/lib/hooks/useAutosizeTextArea.d.ts +2 -0
- package/dist/lib/hooks/useAutosizeTextAreaV2.d.ts +2 -0
- package/dist/lib/hooks/useClickOutsideDOM.d.ts +2 -0
- package/dist/lib/hooks/useCombinedRef.d.ts +2 -0
- package/dist/lib/hooks/useCountRender.d.ts +1 -0
- package/dist/lib/hooks/useDebounce.d.ts +2 -0
- package/dist/lib/hooks/useDelayed.d.ts +2 -0
- package/dist/lib/hooks/useDelayedRender.d.ts +2 -0
- package/dist/lib/hooks/useFirstMount.d.ts +2 -0
- package/dist/lib/hooks/useForm.d.ts +2 -0
- package/dist/lib/hooks/useKeyPress.d.ts +1 -0
- package/dist/lib/hooks/useNavigatorOnLine.d.ts +2 -0
- package/dist/lib/main.d.ts +46 -0
- package/dist/lib/styles/mediaQueries/mediaQuery.d.ts +0 -0
- package/dist/lib/styles/storybook/Mockups/FormMockup/Form.stories.d.ts +4 -0
- package/dist/lib/styles/storybook/Motions/Menu/ExampleOne.d.ts +2 -0
- package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC.d.ts +9 -0
- package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC2.d.ts +9 -0
- package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC3.d.ts +9 -0
- package/dist/lib/styles/storybook/Tokens/Colors.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Tokens/Radius.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Tokens/Shadows.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Tokens/SizingsButton.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Tokens/SizingsGeneric.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Tokens/SizingsIcon.stories.d.ts +6 -0
- package/dist/lib/styles/storybook/Tokens/Spacings.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Tokens/themes/DarkColors.stories.d.ts +6 -0
- package/dist/lib/styles/storybook/Tokens/themes/LightColors.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/Typography/DynamicFontSizes.stories.d.ts +4 -0
- package/dist/lib/styles/storybook/Typography/FontSizes.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Admonition/Admonition.stories.d.ts +6 -0
- package/dist/lib/styles/storybook/components/Admonition/Sizes.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Avatar/Avatar.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/AvatarGroup/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Button/Button.stories.d.ts +7 -0
- package/dist/lib/styles/storybook/components/Button/Dev1Comp.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Card/Card.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Card/Dimensions.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Checkbox/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Checkboxes/Checkboxes.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Checkboxes/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Chip/Chip.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Chip/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/ColorPicker/ColorPicker.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/ColorPicker/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/GalleryModal/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Inputs/Image.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Inputs/InputImage.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Inputs/InputRadio.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Inputs/InputText.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Inputs/InputTextArea.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/InsetGroup/InsetGroup.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/InsetGroup/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Modal/Modal.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Modal/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/SelectSpring/SelectSpring.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/SelectSpring/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/TableGrid/TableGrid.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/TableGrid/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Tabs/Tabs.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/Tabs/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/Texts/Texts.stories.d.ts +4 -0
- package/dist/lib/styles/storybook/components/ToastNotification/ToastNotification.stories.d.ts +5 -0
- package/dist/lib/styles/storybook/components/ToastNotification/component.d.ts +2 -0
- package/dist/lib/styles/storybook/components/UIcon/IconAction.d.ts +1 -0
- package/dist/lib/styles/storybook/components/UIcon/Sizes.d.ts +1 -0
- package/dist/lib/styles/storybook/components/UIcon/SizesNoPadding.d.ts +1 -0
- package/dist/lib/styles/storybook/components/UIcon/UIcon.stories.d.ts +4 -0
- package/dist/lib/styles/styled/button/component.d.ts +3 -0
- package/dist/lib/styles/styled/container/component.d.ts +4 -0
- package/dist/lib/styles/styled/inputs/text/component.d.ts +4 -0
- package/dist/lib/styles/styled/inputs/textArea/component.d.ts +4 -0
- package/dist/lib/styles/styled/layout/component.d.ts +4 -0
- package/dist/lib/styles/styled/li/component.d.ts +4 -0
- package/dist/lib/styles/styled/texts/header/component.d.ts +4 -0
- package/dist/lib/styles/styled/texts/p/component.d.ts +3 -0
- package/dist/lib/styles/styled/texts/span/component.d.ts +3 -0
- package/dist/lib/styles/styled/texts/utils/createHeadElement.d.ts +16 -0
- package/dist/lib/styles/styled/texts/utils/createTextElement.d.ts +18 -0
- package/dist/lib/styles/styled/ul/component.d.ts +4 -0
- package/dist/lib/styles/types/attributes/types.d.ts +4 -0
- package/dist/lib/styles/types/classes.d.ts +62 -0
- package/dist/lib/styles/types/colors/classes.d.ts +9 -0
- package/dist/{tag-color/index.d.ts → lib/styles/types/colors/generics.d.ts} +97 -104
- package/dist/lib/styles/types/colors/values.d.ts +42 -0
- package/dist/lib/styles/types/components.types.d.ts +67 -0
- package/dist/lib/styles/types/generics.d.ts +154 -0
- package/dist/{icons/index.d.ts → lib/styles/types/icons/icons.d.ts} +292 -457
- package/dist/lib/styles/types/icons/values.d.ts +63 -0
- package/dist/lib/styles/types/layout/classes.d.ts +120 -0
- package/dist/{layout/index.d.ts → lib/styles/types/layout/generics.d.ts} +120 -163
- package/dist/lib/styles/types/notification/types.d.ts +22 -0
- package/dist/lib/styles/types/sizings/generics.d.ts +22 -0
- package/dist/lib/styles/types/types.d.ts +102 -0
- package/dist/lib/styles/types/ui/admonition/types.d.ts +117 -0
- package/dist/lib/styles/types/ui/avatar/types.d.ts +57 -0
- package/dist/lib/styles/types/ui/button/types.d.ts +129 -0
- package/dist/lib/styles/types/ui/checkbox/types.d.ts +99 -0
- package/dist/lib/styles/types/ui/chip/types.d.ts +37 -0
- package/dist/lib/styles/types/ui/inputs/text/types.d.ts +42 -0
- package/dist/lib/styles/types/ui/inputs/textarea/types.d.ts +28 -0
- package/dist/lib/styles/types/ui/insetGroup/types.d.ts +5 -0
- package/dist/lib/styles/types/ui/modal/types.d.ts +4 -0
- package/dist/lib/styles/types/ui/portal/types.d.ts +4 -0
- package/dist/lib/styles/types/ui/selectSpring/types.d.ts +197 -0
- package/dist/lib/styles/types/ui/tablegrid/types.d.ts +28 -0
- package/dist/lib/styles/types/ui/tabs/types.d.ts +8 -0
- package/dist/lib/styles/types/ui/tag/types.d.ts +53 -0
- package/dist/lib/styles/types/ui/toggleswitch/types.d.ts +39 -0
- package/dist/lib/styles/types/values.d.ts +18 -0
- package/dist/lib/utils/gradientGenerator/gradientGenerator.d.ts +1 -0
- package/dist/loading-spinner/index.cjs +1 -1
- package/dist/loading-spinner/index.mjs +3 -98
- package/dist/main.cjs +1 -0
- package/dist/main.mjs +95 -0
- package/dist/modal/index.mjs +1 -1
- package/dist/notification-system/index.cjs +1 -1
- package/dist/notification-system/index.mjs +2 -155
- package/dist/radio/index.cjs +1 -1
- package/dist/radio/index.mjs +2 -118
- package/dist/{react-spring_web.modern-DgQDaJ06.js → react-spring_web.modern-DUf5COpz.js} +3 -3
- package/dist/select-spring/index.cjs +1 -1
- package/dist/select-spring/index.mjs +2 -468
- package/dist/spring-enter/index.cjs +1 -1
- package/dist/spring-enter/index.mjs +2 -42
- package/dist/spring-enter-offset-by/index.mjs +1 -1
- package/dist/spring-menu-transition/index.cjs +1 -1
- package/dist/spring-menu-transition/index.mjs +2 -40
- package/dist/spring-open-close-height/index.cjs +1 -1
- package/dist/spring-open-close-height/index.mjs +2 -16
- package/dist/src/App.d.ts +2 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/styled/button/index.mjs +1 -1
- package/dist/styled/inputs/text/index.mjs +1 -1
- package/dist/styled/inputs/text-area/index.mjs +1 -1
- package/dist/styled/li/index.mjs +1 -1
- package/dist/styled/ul/index.mjs +1 -1
- package/dist/table-grid/index.cjs +1 -1
- package/dist/table-grid/index.mjs +2 -46
- package/dist/table-header/index.mjs +1 -1
- package/dist/table-row/index.mjs +1 -1
- package/dist/tabs/index.cjs +1 -1
- package/dist/tabs/index.mjs +2 -132
- package/dist/tag-color/index.mjs +1 -1
- package/dist/text-area/index.cjs +1 -1
- package/dist/text-area/index.mjs +2 -157
- package/dist/texts/header/index.cjs +1 -1
- package/dist/texts/header/index.mjs +2 -26
- package/dist/texts/p/index.mjs +1 -1
- package/dist/texts/span/index.mjs +1 -1
- package/dist/toggle-switch/index.cjs +1 -1
- package/dist/toggle-switch/index.mjs +2 -98
- package/dist/{types-BNUi2DUD.js → types-xFemYgmc.js} +1 -1
- package/dist/types.mjs +1 -1
- package/package.json +103 -95
- package/dist/admonition/index.d.ts +0 -27
- package/dist/avatar/index.d.ts +0 -115
- package/dist/avatar-group/index.d.ts +0 -120
- package/dist/button/index.d.ts +0 -249
- package/dist/checkbox/index.d.ts +0 -32
- package/dist/checkboxes/index.d.ts +0 -38
- package/dist/chip/index.d.ts +0 -159
- package/dist/container/index.d.ts +0 -238
- package/dist/contexts/notifications/index.d.ts +0 -2
- package/dist/contexts/ui/index.d.ts +0 -2
- package/dist/css/index.d.ts +0 -1
- package/dist/div-measure/index.d.ts +0 -13
- package/dist/global-event-portal/index.d.ts +0 -8
- package/dist/input-image/index.d.ts +0 -18
- package/dist/input-text/index.d.ts +0 -199
- package/dist/inset-group/index.d.ts +0 -33
- package/dist/loading-spinner/index.d.ts +0 -33
- package/dist/modal/index.d.ts +0 -105
- package/dist/notification-system/index.d.ts +0 -5
- package/dist/radio/index.d.ts +0 -36
- package/dist/select-spring/index.d.ts +0 -70
- package/dist/spring-enter/index.d.ts +0 -16
- package/dist/spring-enter-offset-by/index.d.ts +0 -17
- package/dist/spring-menu-transition/index.d.ts +0 -15
- package/dist/spring-open-close-height/index.d.ts +0 -9
- package/dist/styled/button/index.d.ts +0 -2
- package/dist/styled/inputs/text/index.d.ts +0 -2
- package/dist/styled/inputs/text-area/index.d.ts +0 -2
- package/dist/styled/li/index.d.ts +0 -2
- package/dist/styled/ul/index.d.ts +0 -2
- package/dist/table-grid/index.d.ts +0 -70
- package/dist/table-header/index.d.ts +0 -53
- package/dist/table-row/index.d.ts +0 -54
- package/dist/tabs/index.d.ts +0 -21
- package/dist/text-area/index.d.ts +0 -212
- package/dist/texts/header/index.d.ts +0 -2
- package/dist/texts/p/index.d.ts +0 -2
- package/dist/texts/span/index.d.ts +0 -2
- package/dist/toggle-switch/index.d.ts +0 -35
- package/dist/types.d.ts +0 -2062
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
|
+
import { default as GlobalEventToast } from '../../../../components/ui/notifications/globalEventNotifications/GlobalEventToast.tsx';
|
|
3
|
+
declare const meta: Meta<typeof GlobalEventToast>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const ToastNotification: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function IconAction(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Sizes(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SizesNoPadding(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ButtonProps } from '../../types/types.ts';
|
|
2
|
+
declare const F__Button: ({ margin, marginTop, marginBottom, marginLeft, marginRight, padding, paddingTop, paddingBottom, paddingLeft, paddingRight, boxShadow, borderRadius, borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius, borderStyle, borderLeftStyle, borderRightStyle, borderTopStyle, borderBottomStyle, borderWidth, bgColor, paletteColor, borderColor, outlineColor, boxSizing, top, bottom, left, right, type, cursor, disabled, children, className, ref, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default F__Button;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const Text_Header: <A extends keyof import("react").JSX.IntrinsicElements = keyof import("react").JSX.IntrinsicElements>(props: import("react").JSX.IntrinsicElements[A] & import('../../../types/types').HeadElementProps & {
|
|
2
|
+
ref?: React.Ref<any>;
|
|
3
|
+
}) => import("react").JSX.Element;
|
|
4
|
+
export default Text_Header;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HeadElementProps } from '../../../types/types.ts';
|
|
2
|
+
import { JSX } from 'react';
|
|
3
|
+
/** helper types */
|
|
4
|
+
type Intrinsic = keyof JSX.IntrinsicElements;
|
|
5
|
+
type PropsOf<T extends Intrinsic> = JSX.IntrinsicElements[T];
|
|
6
|
+
/**
|
|
7
|
+
* createHeadElement:
|
|
8
|
+
* - T: default intrinsic tag (e.g. "h1")
|
|
9
|
+
*
|
|
10
|
+
* Returned component accepts intrinsic props for the chosen `as` tag (or default T),
|
|
11
|
+
* plus Extra props. Extra props are removed before spreading to DOM to avoid invalid attributes.
|
|
12
|
+
*/
|
|
13
|
+
export declare function createHeadElement<T extends Intrinsic>(tag?: T): <A extends Intrinsic = T>(props: (PropsOf<A> & HeadElementProps) & {
|
|
14
|
+
ref?: React.Ref<any>;
|
|
15
|
+
}) => JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AnimatedProps } from '@react-spring/web';
|
|
2
|
+
import { JSX } from 'react';
|
|
3
|
+
import { TextStyleProps } from '../../../types/components.types';
|
|
4
|
+
type AllowedTags = "span" | "p";
|
|
5
|
+
type PropsOf<T extends AllowedTags> = AnimatedProps<JSX.IntrinsicElements[T]>;
|
|
6
|
+
type TagExtraPropsMap = {
|
|
7
|
+
span: TextStyleProps;
|
|
8
|
+
p: TextStyleProps;
|
|
9
|
+
};
|
|
10
|
+
type CompProps<Default extends AllowedTags, As extends AllowedTags = Default> = PropsOf<As> & TagExtraPropsMap[As] & {
|
|
11
|
+
as?: As;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
className?: any;
|
|
14
|
+
};
|
|
15
|
+
export declare function createTextElement<T extends AllowedTags>(tag?: T): <As extends AllowedTags = T>(props: CompProps<T, As> & {
|
|
16
|
+
ref?: React.Ref<any>;
|
|
17
|
+
}) => JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
type ClassType = {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const MARGIN_CLASSES: ClassType;
|
|
5
|
+
export declare const MARGIN_TOP_CLASSES: ClassType;
|
|
6
|
+
export declare const MARGIN_BOTTOM_CLASSES: ClassType;
|
|
7
|
+
export declare const MARGIN_LEFT_CLASSES: ClassType;
|
|
8
|
+
export declare const MARGIN_RIGHT_CLASSES: ClassType;
|
|
9
|
+
export declare const PADDING_CLASSES: ClassType;
|
|
10
|
+
export declare const PADDING_TOP_CLASSES: ClassType;
|
|
11
|
+
export declare const PADDING_BOTTOM_CLASSES: ClassType;
|
|
12
|
+
export declare const PADDING_LEFT_CLASSES: ClassType;
|
|
13
|
+
export declare const PADDING_RIGHT_CLASSES: ClassType;
|
|
14
|
+
export declare const MEDIA_SIZES: ClassType;
|
|
15
|
+
export declare const BOX_SHADOW_CLASSES: ClassType;
|
|
16
|
+
export declare const BORDER_RADIUS_CLASSES: ClassType;
|
|
17
|
+
export declare const BORDER_TOP_LEFT_RADIUS_CLASSES: ClassType;
|
|
18
|
+
export declare const BORDER_TOP_RIGHT_RADIUS_CLASSES: ClassType;
|
|
19
|
+
export declare const BORDER_BOTTOM_LEFT_RADIUS_CLASSES: ClassType;
|
|
20
|
+
export declare const BORDER_BOTTOM_RIGHT_RADIUS_CLASSES: ClassType;
|
|
21
|
+
export declare const BORDER_STYLE_CLASSES: ClassType;
|
|
22
|
+
export declare const BORDER_LEFT_STYLE_CLASSES: ClassType;
|
|
23
|
+
export declare const BORDER_RIGHT_STYLE_CLASSES: ClassType;
|
|
24
|
+
export declare const BORDER_TOP_STYLE_CLASSES: ClassType;
|
|
25
|
+
export declare const BORDER_BOTTOM_STYLE_CLASSES: ClassType;
|
|
26
|
+
export declare const BORDER_WIDTH_CLASSES: ClassType;
|
|
27
|
+
export declare const BOX_SIZING_CLASSES: ClassType;
|
|
28
|
+
export declare const POSITION_TOP_CLASSES: ClassType;
|
|
29
|
+
export declare const POSITION_BOTTOM_CLASSES: ClassType;
|
|
30
|
+
export declare const POSITION_LEFT_CLASSES: ClassType;
|
|
31
|
+
export declare const POSITION_RIGHT_CLASSES: ClassType;
|
|
32
|
+
export declare const ELEMENT_RESIZE_CLASSES: {
|
|
33
|
+
1: string;
|
|
34
|
+
2: string;
|
|
35
|
+
3: string;
|
|
36
|
+
4: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const TEXT_ALIGN_CLASSES: {
|
|
39
|
+
1: string;
|
|
40
|
+
2: string;
|
|
41
|
+
3: string;
|
|
42
|
+
4: string;
|
|
43
|
+
};
|
|
44
|
+
export declare const FONT_SIZE_CLASSES: ClassType;
|
|
45
|
+
export declare const FONT_WEIGHT_CLASSES: {
|
|
46
|
+
1: string;
|
|
47
|
+
2: string;
|
|
48
|
+
3: string;
|
|
49
|
+
4: string;
|
|
50
|
+
5: string;
|
|
51
|
+
6: string;
|
|
52
|
+
};
|
|
53
|
+
export declare const FONT_STYLE_CLASSES: {
|
|
54
|
+
1: string;
|
|
55
|
+
2: string;
|
|
56
|
+
};
|
|
57
|
+
export declare const FONT_FAMILY_CLASSES: {
|
|
58
|
+
1: string;
|
|
59
|
+
};
|
|
60
|
+
export declare const CURSOR_CLASSES: ClassType;
|
|
61
|
+
export declare const OUTLINE_STYLE_CLASSES: ClassType;
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type ClassType = {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const BACKGROUND_COLOR_CLASSES: ClassType;
|
|
5
|
+
export declare const BORDER_COLOR_CLASSES: ClassType;
|
|
6
|
+
export declare const COLOR_CLASSES: ClassType;
|
|
7
|
+
export declare const OUTLINE_COLOR_CLASSES: ClassType;
|
|
8
|
+
export declare const FONT_COLOR_CLASSES: ClassType;
|
|
9
|
+
export {};
|
|
@@ -1,104 +1,97 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
Small = 1,
|
|
99
|
-
Medium = 2,
|
|
100
|
-
Big = 3,
|
|
101
|
-
Large = 4
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export { }
|
|
1
|
+
export declare enum ColorPalettes {
|
|
2
|
+
Transparent = 1,// (0, 1)
|
|
3
|
+
Grey1 = 2,
|
|
4
|
+
Grey2 = 3,
|
|
5
|
+
Grey3 = 4,
|
|
6
|
+
Grey4 = 5,
|
|
7
|
+
Grey5 = 6,
|
|
8
|
+
Grey6 = 7,
|
|
9
|
+
Grey7 = 8,
|
|
10
|
+
Grey8 = 9,
|
|
11
|
+
Grey9 = 10,
|
|
12
|
+
Grey10 = 11,// (2, 11)
|
|
13
|
+
Primary1 = 12,
|
|
14
|
+
Primary2 = 13,
|
|
15
|
+
Primary3 = 14,
|
|
16
|
+
Primary4 = 15,
|
|
17
|
+
Primary5 = 16,
|
|
18
|
+
Primary6 = 17,
|
|
19
|
+
Primary7 = 18,
|
|
20
|
+
Primary8 = 19,
|
|
21
|
+
Primary9 = 20,// (12, 20)
|
|
22
|
+
Secondary1 = 21,
|
|
23
|
+
Secondary2 = 22,
|
|
24
|
+
Secondary3 = 23,
|
|
25
|
+
Secondary4 = 24,
|
|
26
|
+
Secondary5 = 25,
|
|
27
|
+
Secondary6 = 26,
|
|
28
|
+
Secondary7 = 27,
|
|
29
|
+
Secondary8 = 28,
|
|
30
|
+
Secondary9 = 29,// (21, 29)
|
|
31
|
+
Red1 = 30,
|
|
32
|
+
Red2 = 31,
|
|
33
|
+
Red3 = 32,
|
|
34
|
+
Red4 = 33,
|
|
35
|
+
Red5 = 34,
|
|
36
|
+
Red6 = 35,
|
|
37
|
+
Red7 = 36,
|
|
38
|
+
Red8 = 37,
|
|
39
|
+
Red9 = 38,// (30, 38)
|
|
40
|
+
Green1 = 39,
|
|
41
|
+
Green2 = 40,
|
|
42
|
+
Green3 = 41,
|
|
43
|
+
Green4 = 42,
|
|
44
|
+
Green5 = 43,
|
|
45
|
+
Green6 = 44,
|
|
46
|
+
Green7 = 45,
|
|
47
|
+
Green8 = 46,
|
|
48
|
+
Green9 = 47,// (39, 47)
|
|
49
|
+
Blue1 = 48,
|
|
50
|
+
Blue2 = 49,
|
|
51
|
+
Blue3 = 50,
|
|
52
|
+
Blue4 = 51,
|
|
53
|
+
Blue5 = 52,
|
|
54
|
+
Blue6 = 53,
|
|
55
|
+
Blue7 = 54,
|
|
56
|
+
Blue8 = 55,
|
|
57
|
+
Blue9 = 56,// (48, 56)
|
|
58
|
+
Yellow1 = 57,
|
|
59
|
+
Yellow2 = 58,
|
|
60
|
+
Yellow3 = 59,
|
|
61
|
+
Yellow4 = 60,
|
|
62
|
+
Yellow5 = 61,
|
|
63
|
+
Yellow6 = 62,
|
|
64
|
+
Yellow7 = 63,
|
|
65
|
+
Yellow8 = 64,
|
|
66
|
+
Yellow9 = 65,// (57, 65)
|
|
67
|
+
Accent1_1 = 66,
|
|
68
|
+
Accent1_2 = 67,
|
|
69
|
+
Accent1_3 = 68,
|
|
70
|
+
Accent1_4 = 69,
|
|
71
|
+
Accent1_5 = 70,
|
|
72
|
+
Accent1_6 = 71,
|
|
73
|
+
Accent1_7 = 72,
|
|
74
|
+
Accent1_8 = 73,
|
|
75
|
+
Accent1_9 = 74,// (57, 65)
|
|
76
|
+
Accent2_1 = 75,
|
|
77
|
+
Accent2_2 = 76,
|
|
78
|
+
Accent2_3 = 77,
|
|
79
|
+
Accent2_4 = 78,
|
|
80
|
+
Accent2_5 = 79,
|
|
81
|
+
Accent2_6 = 80,
|
|
82
|
+
Accent2_7 = 81,
|
|
83
|
+
Accent2_8 = 82,
|
|
84
|
+
Accent2_9 = 83
|
|
85
|
+
}
|
|
86
|
+
export declare enum ColorSets {
|
|
87
|
+
Transparents = 1,
|
|
88
|
+
Greys = 2,
|
|
89
|
+
Primarys = 3,
|
|
90
|
+
Secondarys = 4,
|
|
91
|
+
Reds = 5,
|
|
92
|
+
Greens = 6,
|
|
93
|
+
Blues = 7,
|
|
94
|
+
Yellows = 8,
|
|
95
|
+
Accents1 = 9,
|
|
96
|
+
Accents2 = 10
|
|
97
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare let COLOR_VALUES: {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const ColorRanges: {
|
|
5
|
+
1: number[];
|
|
6
|
+
2: number[];
|
|
7
|
+
3: number[];
|
|
8
|
+
4: number[];
|
|
9
|
+
5: number[];
|
|
10
|
+
6: number[];
|
|
11
|
+
7: number[];
|
|
12
|
+
8: number[];
|
|
13
|
+
9: number[];
|
|
14
|
+
10: number[];
|
|
15
|
+
};
|
|
16
|
+
export declare enum ColorRGBAAlphas {
|
|
17
|
+
Opaque = 1,// max, max
|
|
18
|
+
Dark3 = 2,
|
|
19
|
+
Dark2 = 3,
|
|
20
|
+
Dark1 = 4,
|
|
21
|
+
Light1 = 5,
|
|
22
|
+
Light2 = 6,
|
|
23
|
+
Light3 = 7,
|
|
24
|
+
Transparent = 8
|
|
25
|
+
}
|
|
26
|
+
export declare const COLOR_RGBA_ALPHA: {
|
|
27
|
+
/**
|
|
28
|
+
* 6 (a-f (f is darker)) + 10 (0-9 (9 is darker)) | same concept (starts with 0 end with f)
|
|
29
|
+
* 18 | 18
|
|
30
|
+
* 18 / 2 = 9 | 2, 4, 6, 8 | 10 | 12, 14, 16, 18
|
|
31
|
+
* 0 2 4 6 8 a c e(f)
|
|
32
|
+
*/
|
|
33
|
+
1: string;
|
|
34
|
+
2: string;
|
|
35
|
+
3: string;
|
|
36
|
+
4: string;
|
|
37
|
+
5: string;
|
|
38
|
+
6: string;
|
|
39
|
+
7: string;
|
|
40
|
+
8: string;
|
|
41
|
+
};
|
|
42
|
+
export declare function disconnectThemeObserver(): void;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AlignSelfs, BorderStyles, BorderWidths, BoxShadows, BoxSizings, ButtonTypes, ColorPalettes, Displays, FlexAlignContents, FlexAlignItems, FlexDirections, FlexJustifyContents, FlexWraps, FontFamilies, FontSizes, FontStyles, FontWeights, GridAlignContents, GridColumnGaps, GridGaps, GridJustifyContents, GridRowGaps, JustifySelfs, Positions, Radiuses, Spacings, TextAligns } from './types.ts';
|
|
2
|
+
import { Cursors } from './generics';
|
|
3
|
+
export interface StyleProps {
|
|
4
|
+
margin?: Spacings;
|
|
5
|
+
marginTop?: Spacings;
|
|
6
|
+
marginBottom?: Spacings;
|
|
7
|
+
marginLeft?: Spacings;
|
|
8
|
+
marginRight?: Spacings;
|
|
9
|
+
padding?: Spacings;
|
|
10
|
+
paddingTop?: Spacings;
|
|
11
|
+
paddingBottom?: Spacings;
|
|
12
|
+
paddingLeft?: Spacings;
|
|
13
|
+
paddingRight?: Spacings;
|
|
14
|
+
boxShadow?: BoxShadows;
|
|
15
|
+
borderRadius?: Radiuses;
|
|
16
|
+
borderBottomLeftRadius?: Radiuses;
|
|
17
|
+
borderBottomRightRadius?: Radiuses;
|
|
18
|
+
borderTopLeftRadius?: Radiuses;
|
|
19
|
+
borderTopRightRadius?: Radiuses;
|
|
20
|
+
borderStyle?: BorderStyles;
|
|
21
|
+
borderLeftStyle?: BorderStyles;
|
|
22
|
+
borderRightStyle?: BorderStyles;
|
|
23
|
+
borderTopStyle?: BorderStyles;
|
|
24
|
+
borderBottomStyle?: BorderStyles;
|
|
25
|
+
borderWidth?: BorderWidths;
|
|
26
|
+
bgColor?: ColorPalettes;
|
|
27
|
+
paletteColor?: ColorPalettes;
|
|
28
|
+
borderColor?: ColorPalettes;
|
|
29
|
+
outlineColor?: ColorPalettes;
|
|
30
|
+
boxSizing?: BoxSizings;
|
|
31
|
+
top?: Positions;
|
|
32
|
+
bottom?: Positions;
|
|
33
|
+
left?: Positions;
|
|
34
|
+
right?: Positions;
|
|
35
|
+
cursor?: Cursors;
|
|
36
|
+
}
|
|
37
|
+
export interface LayoutProps {
|
|
38
|
+
display?: Displays;
|
|
39
|
+
flexDirection?: FlexDirections;
|
|
40
|
+
flexWrap?: FlexWraps;
|
|
41
|
+
flexJustifyContent?: FlexJustifyContents;
|
|
42
|
+
flexAlignItem?: FlexAlignItems;
|
|
43
|
+
flexAlignContent?: FlexAlignContents;
|
|
44
|
+
gridGap?: GridGaps;
|
|
45
|
+
gridRowGap?: GridRowGaps;
|
|
46
|
+
gridColumnGap?: GridColumnGaps;
|
|
47
|
+
gridJustifyContent?: GridJustifyContents;
|
|
48
|
+
gridAlignContent?: GridAlignContents;
|
|
49
|
+
justifySelf?: JustifySelfs;
|
|
50
|
+
alignSelf?: AlignSelfs;
|
|
51
|
+
}
|
|
52
|
+
export interface TextStyleProps {
|
|
53
|
+
paletteColor?: ColorPalettes;
|
|
54
|
+
fontSize?: FontSizes;
|
|
55
|
+
fontFamily?: FontFamilies;
|
|
56
|
+
fontWeight?: FontWeights;
|
|
57
|
+
fontStyle?: FontStyles;
|
|
58
|
+
textAlign?: TextAligns;
|
|
59
|
+
cursor?: Cursors;
|
|
60
|
+
}
|
|
61
|
+
export interface ButtonStyleProps {
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
type?: ButtonTypes;
|
|
64
|
+
}
|
|
65
|
+
export interface HeaderProps {
|
|
66
|
+
header: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
67
|
+
}
|