@functionalui/functionalui 0.2.5 → 0.2.6
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/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/src/App.d.ts +2 -0
- package/dist/src/main.d.ts +1 -0
- package/package.json +95 -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,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
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export declare enum Spacings {
|
|
2
|
+
Size0 = 1,
|
|
3
|
+
Size1 = 2,
|
|
4
|
+
Size2 = 3,
|
|
5
|
+
Size3 = 4,
|
|
6
|
+
Size4 = 5,
|
|
7
|
+
Size5 = 6,
|
|
8
|
+
Size6 = 7,
|
|
9
|
+
Size7 = 8,
|
|
10
|
+
Size8 = 9,
|
|
11
|
+
Size9 = 10,
|
|
12
|
+
Auto = 11
|
|
13
|
+
}
|
|
14
|
+
export declare enum BoxShadows {
|
|
15
|
+
Size0 = 1,
|
|
16
|
+
Size1 = 2,
|
|
17
|
+
Size2 = 3,
|
|
18
|
+
Size3 = 4,
|
|
19
|
+
Size4 = 5,
|
|
20
|
+
Size5 = 6,
|
|
21
|
+
Size6 = 7
|
|
22
|
+
}
|
|
23
|
+
export declare enum Radiuses {
|
|
24
|
+
Size0 = 1,
|
|
25
|
+
Size1 = 2,
|
|
26
|
+
Size2 = 3,
|
|
27
|
+
Size3 = 4,
|
|
28
|
+
Size4 = 5,
|
|
29
|
+
Size5 = 6,
|
|
30
|
+
Size6 = 7,
|
|
31
|
+
Size7 = 8,
|
|
32
|
+
Size8 = 9,
|
|
33
|
+
Size9 = 10
|
|
34
|
+
}
|
|
35
|
+
export declare enum BorderStyles {
|
|
36
|
+
None = 1,
|
|
37
|
+
Hidden = 2,
|
|
38
|
+
Dotted = 3,
|
|
39
|
+
Dashed = 4,
|
|
40
|
+
Solid = 5,
|
|
41
|
+
Double = 6,
|
|
42
|
+
Groove = 7,
|
|
43
|
+
Ridge = 8,
|
|
44
|
+
Inset = 9,
|
|
45
|
+
Outset = 10
|
|
46
|
+
}
|
|
47
|
+
export declare enum BorderWidths {
|
|
48
|
+
Size0 = 1,
|
|
49
|
+
Size1 = 2,
|
|
50
|
+
Size2 = 3,
|
|
51
|
+
Size3 = 4,
|
|
52
|
+
Size4 = 5,
|
|
53
|
+
Size5 = 6,
|
|
54
|
+
Size6 = 7,
|
|
55
|
+
Size7 = 8
|
|
56
|
+
}
|
|
57
|
+
export declare enum MediaSizes {
|
|
58
|
+
Mobile = 1,
|
|
59
|
+
SmallTablet = 2,
|
|
60
|
+
Tablet = 3,
|
|
61
|
+
BigTablet = 4,
|
|
62
|
+
HalfScreen = 5,
|
|
63
|
+
Laptop = 6,
|
|
64
|
+
Large = 7,
|
|
65
|
+
Extra = 8
|
|
66
|
+
}
|
|
67
|
+
export declare enum Positions {
|
|
68
|
+
Size0 = 1,
|
|
69
|
+
Size1 = 2,
|
|
70
|
+
Size2 = 3,
|
|
71
|
+
Size3 = 4,
|
|
72
|
+
Size4 = 5,
|
|
73
|
+
Size5 = 6,
|
|
74
|
+
Size6 = 7,
|
|
75
|
+
Size7 = 8,
|
|
76
|
+
Size8 = 9,
|
|
77
|
+
Size9 = 10,
|
|
78
|
+
Auto = 11
|
|
79
|
+
}
|
|
80
|
+
export declare enum BoxSizings {
|
|
81
|
+
ContentBox = 1,
|
|
82
|
+
BorderBox = 2
|
|
83
|
+
}
|
|
84
|
+
export declare enum ElementResizes {
|
|
85
|
+
None = 1,
|
|
86
|
+
Both = 2,
|
|
87
|
+
Horizontal = 3,
|
|
88
|
+
Vertical = 4
|
|
89
|
+
}
|
|
90
|
+
export declare enum TextAligns {
|
|
91
|
+
Start = 1,
|
|
92
|
+
End = 2,
|
|
93
|
+
Center = 3,
|
|
94
|
+
Justify = 4
|
|
95
|
+
}
|
|
96
|
+
export declare enum FontSizes {
|
|
97
|
+
Size1 = 1,
|
|
98
|
+
Size2 = 2,
|
|
99
|
+
Size3 = 3,
|
|
100
|
+
Size4 = 4,
|
|
101
|
+
Size5 = 5,
|
|
102
|
+
Size6 = 6,
|
|
103
|
+
Size7 = 7,
|
|
104
|
+
Size8 = 8,
|
|
105
|
+
Size9 = 9,
|
|
106
|
+
Size10 = 10
|
|
107
|
+
}
|
|
108
|
+
export declare enum FontWeights {
|
|
109
|
+
Size1 = 1,
|
|
110
|
+
Size2 = 2,
|
|
111
|
+
Size3 = 3,
|
|
112
|
+
Size4 = 4,
|
|
113
|
+
Size5 = 5,
|
|
114
|
+
Size6 = 6
|
|
115
|
+
}
|
|
116
|
+
export declare enum FontStyles {
|
|
117
|
+
Normal = 1,
|
|
118
|
+
Italic = 2
|
|
119
|
+
}
|
|
120
|
+
export declare enum FontFamilies {
|
|
121
|
+
Default = 1
|
|
122
|
+
}
|
|
123
|
+
export declare enum OutlineStyles {
|
|
124
|
+
None = 1,
|
|
125
|
+
Solid = 2,
|
|
126
|
+
Inset = 3,
|
|
127
|
+
Outset = 4,
|
|
128
|
+
Dotted = 5,
|
|
129
|
+
Dashed = 6,
|
|
130
|
+
Double = 7,
|
|
131
|
+
Auto = 8
|
|
132
|
+
}
|
|
133
|
+
export declare enum Cursors {
|
|
134
|
+
Auto = 1,
|
|
135
|
+
Default = 2,
|
|
136
|
+
Pointer = 3,
|
|
137
|
+
ContextMenu = 4,
|
|
138
|
+
Help = 5,
|
|
139
|
+
Progress = 6,
|
|
140
|
+
Wait = 7,
|
|
141
|
+
Cell = 8,
|
|
142
|
+
Crosshair = 9,
|
|
143
|
+
Text = 10,
|
|
144
|
+
VerticalText = 11,
|
|
145
|
+
Alias = 12,
|
|
146
|
+
Copy = 13,
|
|
147
|
+
Move = 14,
|
|
148
|
+
NoDrop = 15,
|
|
149
|
+
NotAllowed = 16,
|
|
150
|
+
Grab = 17,
|
|
151
|
+
Grabbing = 18,
|
|
152
|
+
ZoomIn = 19,
|
|
153
|
+
ZoomOut = 20
|
|
154
|
+
}
|