@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
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ColorPalettes, FontSizes, FontWeights, Sizings, Spacings } from '../../types.ts';
|
|
2
|
+
export declare enum AdmonitionLevels {
|
|
3
|
+
Info = 1,
|
|
4
|
+
Note = 2,
|
|
5
|
+
Success = 3,
|
|
6
|
+
Warning = 4,
|
|
7
|
+
Attention = 5,
|
|
8
|
+
Error = 6
|
|
9
|
+
}
|
|
10
|
+
/** colors
|
|
11
|
+
* types - info, warning, success, error, attention
|
|
12
|
+
* border color
|
|
13
|
+
* bg color
|
|
14
|
+
* title color
|
|
15
|
+
* icon color
|
|
16
|
+
* text description color
|
|
17
|
+
*/
|
|
18
|
+
export declare const AdmonitionColors: {
|
|
19
|
+
1: {
|
|
20
|
+
borderColor: ColorPalettes;
|
|
21
|
+
bgColor: ColorPalettes;
|
|
22
|
+
textTitleColor: ColorPalettes;
|
|
23
|
+
textDescriptionColor: ColorPalettes;
|
|
24
|
+
iconColor: ColorPalettes;
|
|
25
|
+
};
|
|
26
|
+
2: {
|
|
27
|
+
borderColor: ColorPalettes;
|
|
28
|
+
bgColor: ColorPalettes;
|
|
29
|
+
textTitleColor: ColorPalettes;
|
|
30
|
+
textDescriptionColor: ColorPalettes;
|
|
31
|
+
iconColor: ColorPalettes;
|
|
32
|
+
};
|
|
33
|
+
3: {
|
|
34
|
+
borderColor: ColorPalettes;
|
|
35
|
+
bgColor: ColorPalettes;
|
|
36
|
+
textTitleColor: ColorPalettes;
|
|
37
|
+
textDescriptionColor: ColorPalettes;
|
|
38
|
+
iconColor: ColorPalettes;
|
|
39
|
+
};
|
|
40
|
+
4: {
|
|
41
|
+
borderColor: ColorPalettes;
|
|
42
|
+
bgColor: ColorPalettes;
|
|
43
|
+
textTitleColor: ColorPalettes;
|
|
44
|
+
textDescriptionColor: ColorPalettes;
|
|
45
|
+
iconColor: ColorPalettes;
|
|
46
|
+
};
|
|
47
|
+
5: {
|
|
48
|
+
borderColor: ColorPalettes;
|
|
49
|
+
bgColor: ColorPalettes;
|
|
50
|
+
textTitleColor: ColorPalettes;
|
|
51
|
+
textDescriptionColor: ColorPalettes;
|
|
52
|
+
iconColor: ColorPalettes;
|
|
53
|
+
};
|
|
54
|
+
6: {
|
|
55
|
+
borderColor: ColorPalettes;
|
|
56
|
+
bgColor: ColorPalettes;
|
|
57
|
+
textTitleColor: ColorPalettes;
|
|
58
|
+
textDescriptionColor: ColorPalettes;
|
|
59
|
+
iconColor: ColorPalettes;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const AdmonitionIcons: {
|
|
63
|
+
1: {
|
|
64
|
+
titleIcon: string;
|
|
65
|
+
};
|
|
66
|
+
2: {
|
|
67
|
+
titleIcon: string;
|
|
68
|
+
};
|
|
69
|
+
3: {
|
|
70
|
+
titleIcon: string;
|
|
71
|
+
};
|
|
72
|
+
4: {
|
|
73
|
+
titleIcon: string;
|
|
74
|
+
};
|
|
75
|
+
5: {
|
|
76
|
+
titleIcon: string;
|
|
77
|
+
};
|
|
78
|
+
6: {
|
|
79
|
+
titleIcon: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const AdmonitionTitles: {
|
|
83
|
+
1: string;
|
|
84
|
+
2: string;
|
|
85
|
+
3: string;
|
|
86
|
+
4: string;
|
|
87
|
+
5: string;
|
|
88
|
+
6: string;
|
|
89
|
+
};
|
|
90
|
+
export declare enum AdmonitionSizes {
|
|
91
|
+
Small = 1,
|
|
92
|
+
Medium = 2,
|
|
93
|
+
Big = 3
|
|
94
|
+
}
|
|
95
|
+
interface AdmoitionSize {
|
|
96
|
+
title: {
|
|
97
|
+
padding: Spacings;
|
|
98
|
+
paddingBottom: Spacings;
|
|
99
|
+
paddingLeft?: Spacings;
|
|
100
|
+
paddingRight?: Spacings;
|
|
101
|
+
fontSize: FontSizes;
|
|
102
|
+
fontWeight: FontWeights;
|
|
103
|
+
iconSize: Sizings;
|
|
104
|
+
iconMargin: Spacings;
|
|
105
|
+
};
|
|
106
|
+
content: {
|
|
107
|
+
padding: Spacings;
|
|
108
|
+
paddingTop: Spacings;
|
|
109
|
+
paddingLeft?: Spacings;
|
|
110
|
+
paddingRight?: Spacings;
|
|
111
|
+
fontSize: FontSizes;
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
export declare const ADMONITION_SIZE: {
|
|
115
|
+
[key: number]: AdmoitionSize;
|
|
116
|
+
};
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FontSizes } from '../../types.ts';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export interface FUI__Avatar {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
name?: string;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
onClick?: (v?: any) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare enum AvatarSizes {
|
|
10
|
+
Size1 = 1,
|
|
11
|
+
Size2 = 2,
|
|
12
|
+
Size3 = 3,
|
|
13
|
+
Size4 = 4,
|
|
14
|
+
Size5 = 5,
|
|
15
|
+
Size6 = 6,
|
|
16
|
+
Size7 = 7,
|
|
17
|
+
Size8 = 8,
|
|
18
|
+
Size9 = 9
|
|
19
|
+
}
|
|
20
|
+
export declare const AVATAR_SIZE: {
|
|
21
|
+
1: {
|
|
22
|
+
image: number;
|
|
23
|
+
fontSize: FontSizes;
|
|
24
|
+
};
|
|
25
|
+
2: {
|
|
26
|
+
image: number;
|
|
27
|
+
fontSize: FontSizes;
|
|
28
|
+
};
|
|
29
|
+
3: {
|
|
30
|
+
image: number;
|
|
31
|
+
fontSize: FontSizes;
|
|
32
|
+
};
|
|
33
|
+
4: {
|
|
34
|
+
image: number;
|
|
35
|
+
fontSize: FontSizes;
|
|
36
|
+
};
|
|
37
|
+
5: {
|
|
38
|
+
image: number;
|
|
39
|
+
fontSize: FontSizes;
|
|
40
|
+
};
|
|
41
|
+
6: {
|
|
42
|
+
image: number;
|
|
43
|
+
fontSize: FontSizes;
|
|
44
|
+
};
|
|
45
|
+
7: {
|
|
46
|
+
image: number;
|
|
47
|
+
fontSize: FontSizes;
|
|
48
|
+
};
|
|
49
|
+
8: {
|
|
50
|
+
image: number;
|
|
51
|
+
fontSize: FontSizes;
|
|
52
|
+
};
|
|
53
|
+
9: {
|
|
54
|
+
image: number;
|
|
55
|
+
fontSize: FontSizes;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { BorderStyles, BorderWidths, BoxShadows, ColorPalettes, FontSizes, Icons, Radiuses, Sizings, Spacings } from '../../types.ts';
|
|
2
|
+
import { Cursors } from '../../generics';
|
|
3
|
+
export declare enum ButtonIconPositions {
|
|
4
|
+
Left = 1,
|
|
5
|
+
Right = 2
|
|
6
|
+
}
|
|
7
|
+
export declare enum ButtonTypes {
|
|
8
|
+
Button = "button",
|
|
9
|
+
Submit = "submit",
|
|
10
|
+
Reset = "reset"
|
|
11
|
+
}
|
|
12
|
+
export declare enum ButtonShadows {
|
|
13
|
+
Size1 = 1,
|
|
14
|
+
Size2 = 2,
|
|
15
|
+
Size3 = 3,
|
|
16
|
+
Size4 = 4,
|
|
17
|
+
Size5 = 5
|
|
18
|
+
}
|
|
19
|
+
export declare const BUTTON_SHADOWS_CLASSES: {
|
|
20
|
+
1: string;
|
|
21
|
+
2: string;
|
|
22
|
+
3: string;
|
|
23
|
+
4: string;
|
|
24
|
+
5: string;
|
|
25
|
+
6: string;
|
|
26
|
+
7: string;
|
|
27
|
+
};
|
|
28
|
+
export declare enum ButtonStates {
|
|
29
|
+
Icon = 1,// default
|
|
30
|
+
Loading = 2,
|
|
31
|
+
Success = 3,
|
|
32
|
+
Error = 4,
|
|
33
|
+
Disabled = 5
|
|
34
|
+
}
|
|
35
|
+
type ButtonStateType = {
|
|
36
|
+
icon?: {
|
|
37
|
+
icon?: Icons | string;
|
|
38
|
+
iconColor?: ColorPalettes;
|
|
39
|
+
};
|
|
40
|
+
color?: {
|
|
41
|
+
bgColor?: ColorPalettes;
|
|
42
|
+
borderColor?: ColorPalettes;
|
|
43
|
+
};
|
|
44
|
+
text?: {
|
|
45
|
+
color?: ColorPalettes;
|
|
46
|
+
};
|
|
47
|
+
cursor?: Cursors;
|
|
48
|
+
animation?: boolean;
|
|
49
|
+
};
|
|
50
|
+
export declare const BUTTON_STATE: {
|
|
51
|
+
[key: number]: ButtonStateType;
|
|
52
|
+
};
|
|
53
|
+
export declare const ButtonStateIcon: {
|
|
54
|
+
2: string;
|
|
55
|
+
3: string;
|
|
56
|
+
4: string;
|
|
57
|
+
5: string;
|
|
58
|
+
};
|
|
59
|
+
export declare enum ButtonColors {
|
|
60
|
+
Primary5 = 1,
|
|
61
|
+
Secondary5 = 2,
|
|
62
|
+
Grey5 = 3,
|
|
63
|
+
Blue5 = 4,
|
|
64
|
+
Green5 = 5,
|
|
65
|
+
Red5 = 6,
|
|
66
|
+
Yellow5 = 7,
|
|
67
|
+
OutlinePrimary5 = 8,
|
|
68
|
+
OutlineSecondary5 = 9,
|
|
69
|
+
OutlineGrey5 = 10,
|
|
70
|
+
OutlineBlue5 = 11,
|
|
71
|
+
OutlineGreen5 = 12,
|
|
72
|
+
OutlineRed5 = 13,
|
|
73
|
+
OutlineYellow5 = 14
|
|
74
|
+
}
|
|
75
|
+
type ButtonColorType = {
|
|
76
|
+
text: ColorPalettes;
|
|
77
|
+
icon: ColorPalettes;
|
|
78
|
+
background: ColorPalettes;
|
|
79
|
+
outline?: ColorPalettes;
|
|
80
|
+
shadow?: ColorPalettes;
|
|
81
|
+
hover?: ColorPalettes;
|
|
82
|
+
borderColor: ColorPalettes;
|
|
83
|
+
};
|
|
84
|
+
export declare const BUTTON_COLORS: {
|
|
85
|
+
[key: number]: ButtonColorType;
|
|
86
|
+
};
|
|
87
|
+
export declare enum ButtonSizes {
|
|
88
|
+
Tiny = 1,
|
|
89
|
+
Smaller = 2,
|
|
90
|
+
Small = 3,
|
|
91
|
+
Medium = 4,
|
|
92
|
+
Big = 5,
|
|
93
|
+
Large = 6
|
|
94
|
+
}
|
|
95
|
+
type ButtonSizeType = {
|
|
96
|
+
paddingTop: Spacings;
|
|
97
|
+
paddingBottom: Spacings;
|
|
98
|
+
paddingLeft: Spacings;
|
|
99
|
+
paddingRight: Spacings;
|
|
100
|
+
icon: Sizings;
|
|
101
|
+
iconMargin?: Spacings;
|
|
102
|
+
text: FontSizes;
|
|
103
|
+
borderRadius: Radiuses;
|
|
104
|
+
};
|
|
105
|
+
export declare const BUTTON_SIZE: {
|
|
106
|
+
[key: number]: ButtonSizeType;
|
|
107
|
+
};
|
|
108
|
+
export declare enum ButtonStyles {
|
|
109
|
+
Plain = 1,
|
|
110
|
+
Gray = 2,
|
|
111
|
+
Tinted = 3,
|
|
112
|
+
Outlined = 4,
|
|
113
|
+
Filled = 5
|
|
114
|
+
}
|
|
115
|
+
type ButtonStyleType = {
|
|
116
|
+
bgColor?: ColorPalettes;
|
|
117
|
+
fontColor?: ColorPalettes;
|
|
118
|
+
border: {
|
|
119
|
+
borderWidth: BorderWidths;
|
|
120
|
+
borderColor?: ColorPalettes;
|
|
121
|
+
borderStyle: BorderStyles;
|
|
122
|
+
};
|
|
123
|
+
shadow?: BoxShadows;
|
|
124
|
+
cursor?: Cursors;
|
|
125
|
+
};
|
|
126
|
+
export declare const BUTTON_STYLE: {
|
|
127
|
+
[key: number]: ButtonStyleType;
|
|
128
|
+
};
|
|
129
|
+
export {};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Radiuses } from '../../types.ts';
|
|
2
|
+
export declare enum CheckboxColors {
|
|
3
|
+
Primary5 = 1,
|
|
4
|
+
Secondary5 = 2,
|
|
5
|
+
Grey5 = 3,
|
|
6
|
+
Red5 = 4,
|
|
7
|
+
Green5 = 5,
|
|
8
|
+
Blue5 = 6,
|
|
9
|
+
Yellow5 = 7
|
|
10
|
+
}
|
|
11
|
+
export declare enum CheckboxSizes {
|
|
12
|
+
Size1 = 1,
|
|
13
|
+
Size2 = 2,
|
|
14
|
+
Size3 = 3,
|
|
15
|
+
Size4 = 4,
|
|
16
|
+
Size5 = 5
|
|
17
|
+
}
|
|
18
|
+
export declare const CHECKBOX_SIZES: {
|
|
19
|
+
1: {
|
|
20
|
+
checkedColor: {
|
|
21
|
+
w: number;
|
|
22
|
+
h: number;
|
|
23
|
+
};
|
|
24
|
+
checkedBorderRadius: Radiuses;
|
|
25
|
+
boxBorderRadius: Radiuses;
|
|
26
|
+
padding: number;
|
|
27
|
+
borderWidth: string;
|
|
28
|
+
};
|
|
29
|
+
2: {
|
|
30
|
+
checkedColor: {
|
|
31
|
+
w: number;
|
|
32
|
+
h: number;
|
|
33
|
+
};
|
|
34
|
+
checkedBorderRadius: Radiuses;
|
|
35
|
+
boxBorderRadius: Radiuses;
|
|
36
|
+
padding: number;
|
|
37
|
+
borderWidth: string;
|
|
38
|
+
};
|
|
39
|
+
3: {
|
|
40
|
+
checkedColor: {
|
|
41
|
+
w: number;
|
|
42
|
+
h: number;
|
|
43
|
+
};
|
|
44
|
+
checkedBorderRadius: Radiuses;
|
|
45
|
+
boxBorderRadius: Radiuses;
|
|
46
|
+
padding: number;
|
|
47
|
+
borderWidth: string;
|
|
48
|
+
};
|
|
49
|
+
4: {
|
|
50
|
+
checkedColor: {
|
|
51
|
+
w: number;
|
|
52
|
+
h: number;
|
|
53
|
+
};
|
|
54
|
+
checkedBorderRadius: Radiuses;
|
|
55
|
+
boxBorderRadius: Radiuses;
|
|
56
|
+
padding: number;
|
|
57
|
+
borderWidth: string;
|
|
58
|
+
};
|
|
59
|
+
5: {
|
|
60
|
+
checkedColor: {
|
|
61
|
+
w: number;
|
|
62
|
+
h: number;
|
|
63
|
+
};
|
|
64
|
+
checkedBorderRadius: Radiuses;
|
|
65
|
+
boxBorderRadius: Radiuses;
|
|
66
|
+
padding: number;
|
|
67
|
+
borderWidth: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const CHECKBOX_COLORS: {
|
|
71
|
+
1: {
|
|
72
|
+
borderColor: string;
|
|
73
|
+
checkedColor: string;
|
|
74
|
+
};
|
|
75
|
+
2: {
|
|
76
|
+
borderColor: string;
|
|
77
|
+
checkedColor: string;
|
|
78
|
+
};
|
|
79
|
+
3: {
|
|
80
|
+
borderColor: string;
|
|
81
|
+
checkedColor: string;
|
|
82
|
+
};
|
|
83
|
+
4: {
|
|
84
|
+
borderColor: string;
|
|
85
|
+
checkedColor: string;
|
|
86
|
+
};
|
|
87
|
+
5: {
|
|
88
|
+
borderColor: string;
|
|
89
|
+
checkedColor: string;
|
|
90
|
+
};
|
|
91
|
+
6: {
|
|
92
|
+
borderColor: string;
|
|
93
|
+
checkedColor: string;
|
|
94
|
+
};
|
|
95
|
+
7: {
|
|
96
|
+
borderColor: string;
|
|
97
|
+
checkedColor: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BorderStyles, BorderWidths, ColorPalettes, FontSizes, Radiuses, Spacings } from '../../types.ts';
|
|
2
|
+
export declare enum ChipSizes {
|
|
3
|
+
Tiny = 1,
|
|
4
|
+
Small = 2,
|
|
5
|
+
Medium = 3,
|
|
6
|
+
Big = 4
|
|
7
|
+
}
|
|
8
|
+
interface ChipSize {
|
|
9
|
+
fontSize: FontSizes;
|
|
10
|
+
paddingTop: Spacings;
|
|
11
|
+
paddingBottom: Spacings;
|
|
12
|
+
paddingLeft: Spacings;
|
|
13
|
+
paddingRight: Spacings;
|
|
14
|
+
borderRadius: Radiuses;
|
|
15
|
+
}
|
|
16
|
+
export declare const CHIP_SIZE: {
|
|
17
|
+
[key: number]: ChipSize;
|
|
18
|
+
};
|
|
19
|
+
export declare enum ChipStyles {
|
|
20
|
+
Filled = 1,
|
|
21
|
+
Outlined = 2
|
|
22
|
+
}
|
|
23
|
+
interface ChipStyle {
|
|
24
|
+
border?: {
|
|
25
|
+
borderColor: ColorPalettes;
|
|
26
|
+
borderStyle: BorderStyles;
|
|
27
|
+
borderWidth: BorderWidths;
|
|
28
|
+
};
|
|
29
|
+
bgColor?: ColorPalettes;
|
|
30
|
+
font: {
|
|
31
|
+
fontColor?: ColorPalettes;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export declare const CHIP_STYLE: {
|
|
35
|
+
[key: number]: ChipStyle;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const INPUT_TEXT_COLOR: {
|
|
2
|
+
[key: number]: any;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* text size
|
|
6
|
+
* label size
|
|
7
|
+
* padding left right
|
|
8
|
+
* padding top bottom
|
|
9
|
+
* border width
|
|
10
|
+
*/
|
|
11
|
+
export declare enum InputTextSizes {
|
|
12
|
+
Small = 1,
|
|
13
|
+
Default = 2,// medium
|
|
14
|
+
Big = 3,
|
|
15
|
+
Huge = 4
|
|
16
|
+
}
|
|
17
|
+
export declare const INPUT_TEXT_SIZE: {
|
|
18
|
+
[key: number]: any;
|
|
19
|
+
};
|
|
20
|
+
export declare enum InputTextStyles {
|
|
21
|
+
Default = 1,// border bottom
|
|
22
|
+
Outlined = 2,// outline overall
|
|
23
|
+
Filled = 3
|
|
24
|
+
}
|
|
25
|
+
export declare const INPUT_TEXT_STYLE: {
|
|
26
|
+
[key: number]: any;
|
|
27
|
+
};
|
|
28
|
+
export declare enum InputTextModes {
|
|
29
|
+
Default = 1,
|
|
30
|
+
Error = 2,
|
|
31
|
+
Disabled = 3,
|
|
32
|
+
ReadOnly = 4
|
|
33
|
+
}
|
|
34
|
+
export declare enum InputTextTypes {
|
|
35
|
+
Text = "text",
|
|
36
|
+
Number = "number",
|
|
37
|
+
Password = "password"
|
|
38
|
+
}
|
|
39
|
+
export declare enum InputTextLabelStyles {
|
|
40
|
+
Top = 1,
|
|
41
|
+
Material = 2
|
|
42
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum TextAreaStyles {
|
|
2
|
+
Default = 1,// outline
|
|
3
|
+
Outlined = 2,// outline overall
|
|
4
|
+
Filled = 3,// border bottom & bg color
|
|
5
|
+
BorderBottom = 4,
|
|
6
|
+
Transparent = 5
|
|
7
|
+
}
|
|
8
|
+
export declare const TEXT_AREA_STYLE: {
|
|
9
|
+
[key: number]: any;
|
|
10
|
+
};
|
|
11
|
+
export declare enum TextAreaSizes {
|
|
12
|
+
Small = 1,
|
|
13
|
+
Default = 2,// medium
|
|
14
|
+
Big = 3,
|
|
15
|
+
Huge = 4
|
|
16
|
+
}
|
|
17
|
+
export declare const TEXT_AREA_SIZE: {
|
|
18
|
+
[key: number]: any;
|
|
19
|
+
};
|
|
20
|
+
export declare enum TextAreaModes {
|
|
21
|
+
Default = 1,
|
|
22
|
+
Error = 2,
|
|
23
|
+
Disabled = 3,
|
|
24
|
+
ReadOnly = 4
|
|
25
|
+
}
|
|
26
|
+
export declare const TEXT_AREA_COLOR: {
|
|
27
|
+
[key: number]: any;
|
|
28
|
+
};
|