@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
|
@@ -1,246 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { C as f } from "../component-C1Gs4nVu.js";
|
|
4
|
-
import { F as tt } from "../component-CBIQe7z5.js";
|
|
5
|
-
import { C as b, a as ot } from "../generics-D33J7ILI.js";
|
|
6
|
-
import { C as et, f as rt, c as st } from "../generics-C-WSPclF.js";
|
|
7
|
-
import { S as nt } from "../values-B5r2bYNJ.js";
|
|
8
|
-
import { c as z, a as s, I as D, e as S, h as m, f as it, g as y, b as I } from "../icons-B8R1UT86.js";
|
|
9
|
-
import { useState as B, useRef as at, useEffect as W, useCallback as k } from "react";
|
|
10
|
-
import { u as dt } from "../useCombinedRef-COuiqHjO.js";
|
|
11
|
-
import { L as lt } from "../LabelText-D7QIWtWj.js";
|
|
12
|
-
import { U as F } from "../UIcon-BHzbeYWw.js";
|
|
13
|
-
import { S as M } from "../generics-BrMr2-Gs.js";
|
|
14
|
-
import { T as ft } from "../component-BvHdlcdE.js";
|
|
15
|
-
const ut = ({ inputHelper: t }) => {
|
|
16
|
-
const [n, o] = B(!1);
|
|
17
|
-
return /* @__PURE__ */ L(
|
|
18
|
-
f,
|
|
19
|
-
{
|
|
20
|
-
style: {
|
|
21
|
-
position: "absolute",
|
|
22
|
-
top: "50%",
|
|
23
|
-
right: -10,
|
|
24
|
-
transform: "translateY(-25%)"
|
|
25
|
-
},
|
|
26
|
-
onMouseEnter: () => o(!0),
|
|
27
|
-
onMouseLeave: () => o(!1),
|
|
28
|
-
children: [
|
|
29
|
-
/* @__PURE__ */ e(
|
|
30
|
-
F,
|
|
31
|
-
{
|
|
32
|
-
name: "info",
|
|
33
|
-
size: M.Size2,
|
|
34
|
-
colorLight: b.Primary5,
|
|
35
|
-
colorDark: b.Primary5
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
/* @__PURE__ */ e(f, { style: { position: "relative", pointerEvents: "none" }, children: /* @__PURE__ */ e(lt, { labelName: t, hover: n, x: 0, y: 0 }) })
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
}, pt = "_inputtext_rg89u_1", ct = "_showHidePassword_rg89u_41", X = {
|
|
43
|
-
inputtext: pt,
|
|
44
|
-
showHidePassword: ct
|
|
45
|
-
}, mt = ({ isShow: t, handleShowHideText: n }) => /* @__PURE__ */ e(
|
|
46
|
-
f,
|
|
47
|
-
{
|
|
48
|
-
className: X.showHidePassword,
|
|
49
|
-
style: {
|
|
50
|
-
position: "absolute",
|
|
51
|
-
bottom: ".75rem",
|
|
52
|
-
left: "88%",
|
|
53
|
-
zIndex: 4,
|
|
54
|
-
cursor: "pointer"
|
|
55
|
-
},
|
|
56
|
-
onClick: () => n(),
|
|
57
|
-
children: /* @__PURE__ */ e(
|
|
58
|
-
F,
|
|
59
|
-
{
|
|
60
|
-
name: t ? z.EyeOff : z.Eye,
|
|
61
|
-
size: M.Size3,
|
|
62
|
-
colorLight: b.Primary5,
|
|
63
|
-
colorDark: b.Primary5,
|
|
64
|
-
cursor: et.Pointer
|
|
65
|
-
}
|
|
66
|
-
)
|
|
67
|
-
}
|
|
68
|
-
), bt = ({
|
|
69
|
-
id: t,
|
|
70
|
-
label: n,
|
|
71
|
-
size: o,
|
|
72
|
-
labelTextColor: i,
|
|
73
|
-
inputColor: r
|
|
74
|
-
}) => /* @__PURE__ */ e(
|
|
75
|
-
f,
|
|
76
|
-
{
|
|
77
|
-
paddingLeft: s[o].paddings.left,
|
|
78
|
-
paddingBottom: s[o].paddings.bottom,
|
|
79
|
-
children: /* @__PURE__ */ e("label", { htmlFor: t, children: /* @__PURE__ */ e(
|
|
80
|
-
ft,
|
|
81
|
-
{
|
|
82
|
-
fontWeight: rt.Size3,
|
|
83
|
-
paletteColor: i && typeof i == "boolean" ? D[r].labelColor : b.Grey10,
|
|
84
|
-
fontSize: s[o].font.size,
|
|
85
|
-
children: n
|
|
86
|
-
}
|
|
87
|
-
) })
|
|
88
|
-
}
|
|
89
|
-
), Lt = ({
|
|
90
|
-
// required
|
|
91
|
-
id: t,
|
|
92
|
-
name: n,
|
|
93
|
-
type: o = m.Text,
|
|
94
|
-
value: i,
|
|
95
|
-
modes: r = S.Default,
|
|
96
|
-
label: g,
|
|
97
|
-
// optional properties
|
|
98
|
-
focus: u,
|
|
99
|
-
required: T,
|
|
100
|
-
width: p,
|
|
101
|
-
fullWidth: x,
|
|
102
|
-
helperText: c,
|
|
103
|
-
placeholder: h = "Insert text",
|
|
104
|
-
// other types property
|
|
105
|
-
step: j,
|
|
106
|
-
min: A,
|
|
107
|
-
// methods
|
|
108
|
-
handleChange: P,
|
|
109
|
-
handleFocus: _,
|
|
110
|
-
handleBlur: H,
|
|
111
|
-
handleCheck: C,
|
|
112
|
-
// styling
|
|
113
|
-
size: a = it.Default,
|
|
114
|
-
inputStyle: w = y.Default,
|
|
115
|
-
inputColor: v = ot.Primarys,
|
|
116
|
-
// customizations
|
|
117
|
-
labelTextColor: G = !0,
|
|
118
|
-
transparent: N,
|
|
119
|
-
ref: Y,
|
|
120
|
-
...V
|
|
121
|
-
}) => {
|
|
122
|
-
const d = at(null), Z = dt(d, Y);
|
|
123
|
-
W(() => {
|
|
124
|
-
if (r !== S.Disabled) {
|
|
125
|
-
if (u) {
|
|
126
|
-
d.current && d.current.focus();
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
i !== "" && d.current && d.current.value;
|
|
130
|
-
}
|
|
131
|
-
}, [u, r, i]);
|
|
132
|
-
const [q, R] = B(o), [E, J] = B(!1), K = () => {
|
|
133
|
-
J((l) => !l);
|
|
134
|
-
};
|
|
135
|
-
W(() => {
|
|
136
|
-
o === m.Password && R(E ? m.Text : m.Password);
|
|
137
|
-
}, [E]);
|
|
138
|
-
const Q = (l) => {
|
|
139
|
-
P && P(l);
|
|
140
|
-
}, $ = k(
|
|
141
|
-
async (l) => {
|
|
142
|
-
l.preventDefault();
|
|
143
|
-
const U = l.target.value.trim();
|
|
144
|
-
if (!(!U || U !== "")) {
|
|
145
|
-
H && H(), C && await C();
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
[H, C]
|
|
150
|
-
), O = k(() => {
|
|
151
|
-
if (r !== S.Disabled)
|
|
152
|
-
return d.current && d.current.focus(), _ && _(), !0;
|
|
153
|
-
}, [_, r]);
|
|
154
|
-
return /* @__PURE__ */ L(
|
|
155
|
-
f,
|
|
156
|
-
{
|
|
157
|
-
style: {
|
|
158
|
-
width: x ? "100%" : p || 350,
|
|
159
|
-
position: "relative"
|
|
160
|
-
// to label
|
|
161
|
-
},
|
|
162
|
-
children: [
|
|
163
|
-
!N && /* @__PURE__ */ e(
|
|
164
|
-
bt,
|
|
165
|
-
{
|
|
166
|
-
id: t,
|
|
167
|
-
label: g,
|
|
168
|
-
inputColor: v,
|
|
169
|
-
size: a,
|
|
170
|
-
labelTextColor: G
|
|
171
|
-
}
|
|
172
|
-
),
|
|
173
|
-
/* @__PURE__ */ L(
|
|
174
|
-
f,
|
|
175
|
-
{
|
|
176
|
-
boxSizing: st.BorderBox,
|
|
177
|
-
...gt(w, N),
|
|
178
|
-
borderColor: D[v].borderColor,
|
|
179
|
-
paddingLeft: s[a].paddings.left,
|
|
180
|
-
paddingRight: s[a].paddings.right,
|
|
181
|
-
paddingTop: s[a].paddings.top,
|
|
182
|
-
paddingBottom: s[a].paddings.bottom,
|
|
183
|
-
style: {
|
|
184
|
-
// position: "relative",
|
|
185
|
-
// width: fullWidth ? "100%" : width ? width : 350,
|
|
186
|
-
paddingTop: w !== y.Outlined ? 1 : "",
|
|
187
|
-
paddingBottom: w !== y.Outlined ? nt[s[a].paddings.bottom] : "",
|
|
188
|
-
// display: size === InputTextSizes.Small ? "flex" : "block",
|
|
189
|
-
display: w !== y.Outlined ? "flex" : "block",
|
|
190
|
-
cursor: "text"
|
|
191
|
-
},
|
|
192
|
-
onClick: () => O(),
|
|
193
|
-
children: [
|
|
194
|
-
/* @__PURE__ */ e(
|
|
195
|
-
tt,
|
|
196
|
-
{
|
|
197
|
-
ref: Z,
|
|
198
|
-
type: q,
|
|
199
|
-
required: T,
|
|
200
|
-
disabled: r !== S.Disabled ? void 0 : !0,
|
|
201
|
-
fontSize: s[a].font.size,
|
|
202
|
-
fontWeight: s[a].font.weight,
|
|
203
|
-
color: D[v].fontColor,
|
|
204
|
-
placeholder: h,
|
|
205
|
-
id: t,
|
|
206
|
-
name: n,
|
|
207
|
-
value: i,
|
|
208
|
-
min: A,
|
|
209
|
-
step: j,
|
|
210
|
-
onChange: P ? Q : void 0,
|
|
211
|
-
onFocus: O,
|
|
212
|
-
onBlur: $,
|
|
213
|
-
className: X.inputtext,
|
|
214
|
-
...V
|
|
215
|
-
}
|
|
216
|
-
),
|
|
217
|
-
o === m.Password && /* @__PURE__ */ e(
|
|
218
|
-
mt,
|
|
219
|
-
{
|
|
220
|
-
isShow: E,
|
|
221
|
-
handleShowHideText: K
|
|
222
|
-
}
|
|
223
|
-
),
|
|
224
|
-
c && /* @__PURE__ */ e(ut, { inputHelper: c })
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
)
|
|
228
|
-
]
|
|
229
|
-
}
|
|
230
|
-
);
|
|
231
|
-
}, gt = (t, n = !1) => {
|
|
232
|
-
var o, i, r, g, u, T, p, x, c, h;
|
|
233
|
-
return n ? {} : {
|
|
234
|
-
// default
|
|
235
|
-
borderBottomStyle: (r = (i = (o = I[t]) == null ? void 0 : o.borders) == null ? void 0 : i.bottom) == null ? void 0 : r.style,
|
|
236
|
-
borderWidth: (u = (g = I[t]) == null ? void 0 : g.borders) == null ? void 0 : u.width,
|
|
237
|
-
// outline
|
|
238
|
-
borderRadius: (p = (T = I[t]) == null ? void 0 : T.borders) == null ? void 0 : p.radius,
|
|
239
|
-
borderStyle: (h = (c = (x = I[t]) == null ? void 0 : x.borders) == null ? void 0 : c.borders) == null ? void 0 : h.style
|
|
240
|
-
// filled
|
|
241
|
-
// borderRadius: undefined,
|
|
242
|
-
};
|
|
243
|
-
};
|
|
2
|
+
import { I as n } from "../InputText-DnR7KYJS.js";
|
|
244
3
|
export {
|
|
245
|
-
|
|
4
|
+
n as InputText
|
|
246
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InsetGroup-CGACEEbB.cjs");exports.InsetGroup=e.InsetGroup;
|
|
@@ -1,105 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { L as R } from "../component-DRXQXr2G.js";
|
|
4
|
-
import { S as l, R as p } from "../generics-C-WSPclF.js";
|
|
5
|
-
import { h as b, b as x } from "../classes-CVxy1f4M.js";
|
|
6
|
-
import { useState as z, useEffect as C } from "react";
|
|
7
|
-
import { u } from "../react-spring_web.modern-DgQDaJ06.js";
|
|
8
|
-
import { C as y } from "../component-C1Gs4nVu.js";
|
|
9
|
-
import { T as L } from "../component-BvHdlcdE.js";
|
|
10
|
-
import { a as m } from "../generics-D33J7ILI.js";
|
|
11
|
-
import { a as d, c as f } from "../values-CSE3dLnv.js";
|
|
12
|
-
const I = ({
|
|
13
|
-
text: e,
|
|
14
|
-
// value,
|
|
15
|
-
idx: s,
|
|
16
|
-
// id,
|
|
17
|
-
handleSelectInset: c,
|
|
18
|
-
isSelected: o,
|
|
19
|
-
// rgbBg,
|
|
20
|
-
insetColor: a = m.Primarys,
|
|
21
|
-
borderTopLeftRadius: h,
|
|
22
|
-
borderTopRightRadius: S,
|
|
23
|
-
borderBottomLeftRadius: n,
|
|
24
|
-
borderBottomRightRadius: g
|
|
25
|
-
}) => {
|
|
26
|
-
const r = u({
|
|
27
|
-
// backgroundColor: isSelected ? rgbBg ? rgbBg : "rgb(255,255,255)" : "rgb(222,226,230)",
|
|
28
|
-
backgroundColor: o ? d[f[a][0] + 3] : d[f[m.Greys][0] + 2],
|
|
29
|
-
// color: isSelected ? "rgb(25,25,25)" : "rgb(134,142,150)",
|
|
30
|
-
color: o ? d[f[m.Greys][1] - 1] : d[f[m.Greys][1] - 4],
|
|
31
|
-
boxShadow: o ? "inset 0 0px 0 hsla(0, 0%, 0%, 0), inset 0 0px 0px hsla(0, 0%, 0%, 0)" : "inset 0 -2px 0 hsla(0, 0%, 100%, .055), inset 0 2px 2px hsla(0, 0%, 0%, 0.1)"
|
|
32
|
-
// boxShadow: isSelected ? "inset 0 0px 0 hsla(0, 0%, 0%, 0)" : "inset 0 -2px 0 hsla(0, 0%, 100%, .15)",
|
|
33
|
-
// config: {
|
|
34
|
-
// ...config.molasses,
|
|
35
|
-
// }
|
|
36
|
-
}), t = u({
|
|
37
|
-
// scale: isSelected ? 1 : 0.9,
|
|
38
|
-
fontWeight: o ? 500 : 300
|
|
39
|
-
});
|
|
40
|
-
return /* @__PURE__ */ i(
|
|
41
|
-
y,
|
|
42
|
-
{
|
|
43
|
-
style: { ...r, cursor: "pointer" },
|
|
44
|
-
paddingTop: l.Size1,
|
|
45
|
-
paddingBottom: l.Size1,
|
|
46
|
-
paddingLeft: l.Size2,
|
|
47
|
-
paddingRight: l.Size2,
|
|
48
|
-
borderTopLeftRadius: h,
|
|
49
|
-
borderTopRightRadius: S,
|
|
50
|
-
borderBottomLeftRadius: n,
|
|
51
|
-
borderBottomRightRadius: g,
|
|
52
|
-
onClick: () => c(s),
|
|
53
|
-
children: /* @__PURE__ */ i(y, { style: t, children: /* @__PURE__ */ i(
|
|
54
|
-
L,
|
|
55
|
-
{
|
|
56
|
-
style: {
|
|
57
|
-
color: "inherit",
|
|
58
|
-
transform: "translateY(-1px)",
|
|
59
|
-
display: "inline-block"
|
|
60
|
-
},
|
|
61
|
-
children: e
|
|
62
|
-
}
|
|
63
|
-
) })
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
}, j = ({
|
|
67
|
-
options: e = [],
|
|
68
|
-
// id, value, text
|
|
69
|
-
valueIndex: s = 0,
|
|
70
|
-
id: c,
|
|
71
|
-
setInput: o,
|
|
72
|
-
setSelect: a,
|
|
73
|
-
insetColor: h
|
|
74
|
-
}) => {
|
|
75
|
-
const [S, n] = z(s);
|
|
76
|
-
C(() => {
|
|
77
|
-
typeof s == "number" && n(s);
|
|
78
|
-
}, [s]);
|
|
79
|
-
const g = (r) => {
|
|
80
|
-
n(r), o && o((t) => ({
|
|
81
|
-
...t,
|
|
82
|
-
[c]: e[r]
|
|
83
|
-
})), a && a(e[r]);
|
|
84
|
-
};
|
|
85
|
-
return /* @__PURE__ */ i(R, { display: x.Flex, flexAlignItem: b.Center, children: e.map((r, t) => /* @__PURE__ */ i(
|
|
86
|
-
I,
|
|
87
|
-
{
|
|
88
|
-
text: r.text,
|
|
89
|
-
value: r.value,
|
|
90
|
-
idx: t,
|
|
91
|
-
id: r.id,
|
|
92
|
-
handleSelectInset: g,
|
|
93
|
-
isSelected: t === S,
|
|
94
|
-
insetColor: h,
|
|
95
|
-
borderTopLeftRadius: t === 0 ? p.Size4 : void 0,
|
|
96
|
-
borderTopRightRadius: t === e.length - 1 ? p.Size4 : void 0,
|
|
97
|
-
borderBottomLeftRadius: t === 0 ? p.Size4 : void 0,
|
|
98
|
-
borderBottomRightRadius: t === e.length - 1 ? p.Size4 : void 0
|
|
99
|
-
},
|
|
100
|
-
t
|
|
101
|
-
)) });
|
|
102
|
-
};
|
|
2
|
+
import { I as r } from "../InsetGroup-BHxpHwpd.js";
|
|
103
3
|
export {
|
|
104
|
-
|
|
4
|
+
r as InsetGroup
|
|
105
5
|
};
|
package/dist/layout/index.mjs
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Sizings } from '../../styles/types/types.ts';
|
|
2
|
+
import { SVGProps } from 'react';
|
|
3
|
+
interface Props extends SVGProps<SVGSVGElement> {
|
|
4
|
+
size: Sizings;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export default function Spinner({ size, className, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AnimatedProps } from '@react-spring/web';
|
|
2
|
+
import { ColorPalettes, Icons, Sizings } from '../../styles/types/types.ts';
|
|
3
|
+
import { FC, HTMLAttributes } from 'react';
|
|
4
|
+
import { Cursors, Radiuses } from '../../styles/types/generics';
|
|
5
|
+
interface P extends AnimatedProps<HTMLAttributes<HTMLDivElement>> {
|
|
6
|
+
name: Icons | string;
|
|
7
|
+
withMargin?: boolean;
|
|
8
|
+
size?: Sizings;
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
lazy?: boolean;
|
|
12
|
+
colorLight?: ColorPalettes;
|
|
13
|
+
colorDark?: ColorPalettes;
|
|
14
|
+
iconAction?: (v?: any) => void;
|
|
15
|
+
animated?: boolean;
|
|
16
|
+
cursor?: Cursors;
|
|
17
|
+
overflow?: string;
|
|
18
|
+
borderRadius?: Radiuses | string;
|
|
19
|
+
bgColor?: ColorPalettes;
|
|
20
|
+
}
|
|
21
|
+
declare const UIcon: FC<P>;
|
|
22
|
+
export default UIcon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type directions = "horizontal" | "vertical" | "verticalInverted";
|
|
3
|
+
declare const directions: any;
|
|
4
|
+
interface P {
|
|
5
|
+
direction: directions;
|
|
6
|
+
isShown: boolean;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
declare const SpringEnter: FC<P>;
|
|
10
|
+
export default SpringEnter;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type directions = "horizontal" | "vertical";
|
|
3
|
+
declare const directions: any;
|
|
4
|
+
interface P {
|
|
5
|
+
direction: directions;
|
|
6
|
+
isShown?: boolean;
|
|
7
|
+
enterOffsetBy?: number;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const SpringEnterOffsetBy: FC<P>;
|
|
11
|
+
export default SpringEnterOffsetBy;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AdmonitionLevels } from '../../../styles/types/types.ts';
|
|
2
|
+
import { AdmonitionSizes } from '../../../styles/types/ui/admonition/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
level: AdmonitionLevels;
|
|
5
|
+
size?: AdmonitionSizes;
|
|
6
|
+
descriptionText: string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const Admonition: ({ level, size, descriptionText, children, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Admonition;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ColorPalettes } from '../../../styles/types/types.ts';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
import { AvatarSizes } from '../../../styles/types/ui/avatar/types';
|
|
4
|
+
interface P {
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
size?: AvatarSizes;
|
|
7
|
+
avatarName?: string | null;
|
|
8
|
+
withHover?: boolean;
|
|
9
|
+
onClick?: (v?: any) => void;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
border?: boolean;
|
|
12
|
+
borderColor?: ColorPalettes;
|
|
13
|
+
}
|
|
14
|
+
declare const Avatar: FC<P>;
|
|
15
|
+
export default Avatar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AvatarSizes } from '../../../../styles/types/ui/avatar/types';
|
|
3
|
+
interface P {
|
|
4
|
+
hoverAnimation: any;
|
|
5
|
+
size?: AvatarSizes;
|
|
6
|
+
avatarName?: string | null;
|
|
7
|
+
withHover?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const AvatarName: FC<P>;
|
|
10
|
+
export default AvatarName;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AvatarSizes, ColorPalettes } from '../../../styles/types/types.ts';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { FUI__Avatar } from '../../../styles/types/ui/avatar/types';
|
|
4
|
+
interface P {
|
|
5
|
+
avatars: FUI__Avatar[];
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
size?: AvatarSizes;
|
|
8
|
+
withHover?: boolean;
|
|
9
|
+
border?: boolean;
|
|
10
|
+
borderColor?: ColorPalettes;
|
|
11
|
+
}
|
|
12
|
+
declare const AvatarGroup: FC<P>;
|
|
13
|
+
export default AvatarGroup;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BoxShadows, ColorPalettes } from '../../../styles/types/types.ts';
|
|
2
|
+
import { ButtonColors, ButtonIconPositions, ButtonSizes, ButtonStates, ButtonStyles, ButtonTypes } from '../../../styles/types/ui/button/types';
|
|
3
|
+
type P = {
|
|
4
|
+
name: string;
|
|
5
|
+
buttonSize?: ButtonSizes;
|
|
6
|
+
buttonColor?: ButtonColors;
|
|
7
|
+
buttonState?: ButtonStates;
|
|
8
|
+
buttonType?: ButtonTypes;
|
|
9
|
+
buttonShadow?: BoxShadows;
|
|
10
|
+
buttonStyle?: ButtonStyles;
|
|
11
|
+
icon?: string;
|
|
12
|
+
iconColor?: ColorPalettes;
|
|
13
|
+
iconPosition?: ButtonIconPositions;
|
|
14
|
+
animate?: boolean;
|
|
15
|
+
hover?: boolean;
|
|
16
|
+
parentHover?: boolean;
|
|
17
|
+
hoverColor?: ButtonColors;
|
|
18
|
+
type?: "submit" | "reset" | "button";
|
|
19
|
+
clickAction?: (v: any) => void;
|
|
20
|
+
};
|
|
21
|
+
declare const Button: ({ name, buttonSize, buttonColor, buttonState, buttonType, buttonStyle, buttonShadow, icon, iconColor, iconPosition, animate, hover, clickAction, }: P) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default Button;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ColorPalettes, Sizings, Spacings } from '../../../../styles/types/types.ts';
|
|
2
|
+
import { ButtonIconPositions, ButtonStates } from '../../../../styles/types/ui/button/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
icon: string;
|
|
5
|
+
iconState: ButtonStates;
|
|
6
|
+
iconSize: Sizings;
|
|
7
|
+
iconColor: ColorPalettes;
|
|
8
|
+
iconPosition?: ButtonIconPositions;
|
|
9
|
+
iconMargin?: Spacings;
|
|
10
|
+
};
|
|
11
|
+
declare const ButtonIcon: ({ icon, iconSize, iconState, iconColor, iconPosition, iconMargin, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ButtonIcon;
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CheckboxColors, CheckboxSizes } from '../../../styles/types/ui/checkbox/types';
|
|
2
|
+
export type CheckboxOption = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
value?: any;
|
|
6
|
+
isChecked: boolean;
|
|
7
|
+
};
|
|
8
|
+
type CheckboxesProps = {
|
|
9
|
+
options: CheckboxOption[];
|
|
10
|
+
multiselect: boolean;
|
|
11
|
+
checkboxColor: CheckboxColors;
|
|
12
|
+
size?: CheckboxSizes;
|
|
13
|
+
handleClick: (v: any) => void;
|
|
14
|
+
};
|
|
15
|
+
declare const Checkboxes: ({ options, multiselect, checkboxColor, size, handleClick, }: CheckboxesProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default Checkboxes;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CheckboxColors, CheckboxSizes } from '../../../../styles/types/ui/checkbox/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
isChecked: boolean;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
size?: CheckboxSizes;
|
|
7
|
+
checkboxColor?: CheckboxColors;
|
|
8
|
+
onClick?: (v?: any) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const Checkbox: ({ isChecked, size, checkboxColor, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Checkbox;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ColorPalettes, ColorSets, FontSizes, Spacings } from '../../../styles/types/types.ts';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
import { ChipSizes, ChipStyles } from '../../../styles/types/ui/chip/types';
|
|
4
|
+
interface P {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
paddings?: "top bottom" | "left right" | "all";
|
|
7
|
+
margin?: Spacings | undefined;
|
|
8
|
+
marginTop?: Spacings | undefined;
|
|
9
|
+
marginBottom?: Spacings | undefined;
|
|
10
|
+
marginLeft?: Spacings | undefined;
|
|
11
|
+
marginRight?: Spacings | undefined;
|
|
12
|
+
bgColor?: ColorPalettes;
|
|
13
|
+
chipStyle?: ChipStyles;
|
|
14
|
+
fontSize?: FontSizes;
|
|
15
|
+
chipColor?: ColorSets;
|
|
16
|
+
size?: ChipSizes;
|
|
17
|
+
}
|
|
18
|
+
declare const Chip: FC<P>;
|
|
19
|
+
export default Chip;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { }
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface P {
|
|
3
|
+
defaultColor?: string;
|
|
4
|
+
setInput?: (v: any) => any;
|
|
5
|
+
setColor?: (color: string) => void;
|
|
6
|
+
inputName?: string | undefined;
|
|
7
|
+
closePicker?: ((p?: boolean) => void) | undefined;
|
|
8
|
+
position?: "absolute" | "static";
|
|
9
|
+
}
|
|
10
|
+
declare const ColorPicker: FC<P>;
|
|
11
|
+
export default ColorPicker;
|