@functionalui/functionalui 0.2.4 → 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 +96 -97
- 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,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;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { }
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface P {
|
|
3
|
+
showModal: boolean;
|
|
4
|
+
closeModal: (v?: any) => void;
|
|
5
|
+
images: Array<any>;
|
|
6
|
+
}
|
|
7
|
+
declare const GalleryModal: FC<P>;
|
|
8
|
+
export default GalleryModal;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type GalleryContextType = {
|
|
3
|
+
galleryImages: Array<any>;
|
|
4
|
+
imgIndex: number;
|
|
5
|
+
props: any;
|
|
6
|
+
ref: any;
|
|
7
|
+
bind: any;
|
|
8
|
+
isZooming: boolean;
|
|
9
|
+
manualZoomScale: number;
|
|
10
|
+
handleSetImages: (v: Array<any>) => void;
|
|
11
|
+
handleCloseGallery: (v?: () => void) => void;
|
|
12
|
+
handleIncrease: (v?: any) => void;
|
|
13
|
+
handleDecrease: (v?: any) => void;
|
|
14
|
+
handleSetIsZooming: (v?: any) => void;
|
|
15
|
+
handleZoomIn: (v?: any) => void;
|
|
16
|
+
handleZoomOut: (v?: any) => void;
|
|
17
|
+
handleZoomReset: (v?: any) => void;
|
|
18
|
+
};
|
|
19
|
+
interface P {
|
|
20
|
+
children: ReactNode;
|
|
21
|
+
}
|
|
22
|
+
export declare const ProvideGalleryContext: FC<P>;
|
|
23
|
+
export declare const useGalleryContext: () => GalleryContextType;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes, Ref } from 'react';
|
|
2
|
+
interface P extends HTMLAttributes<HTMLInputElement> {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
handleImageChange?: (v: File | undefined) => void;
|
|
6
|
+
labelname?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
height?: number | string;
|
|
10
|
+
ref?: Ref<HTMLInputElement> | undefined;
|
|
11
|
+
}
|
|
12
|
+
declare const InputImage: ({ id, name, handleImageChange, labelname, defaultValue, width, height, ref, ...props }: P) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default InputImage;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Sizings } from '../../../../styles/types/types.ts';
|
|
2
|
+
import { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
3
|
+
interface P extends HTMLAttributes<HTMLInputElement> {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
id: string;
|
|
6
|
+
handleChange: (id: string, checked: boolean) => void;
|
|
7
|
+
size?: Sizings;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
vertigo?: boolean;
|
|
10
|
+
ref?: Ref<HTMLInputElement> | undefined;
|
|
11
|
+
}
|
|
12
|
+
declare const Radio: FC<P>;
|
|
13
|
+
export default Radio;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ColorPalettes, ColorSets, FontSizes, FontWeights } from '../../../../styles/types/types.ts';
|
|
2
|
+
import { ChangeEvent, HTMLAttributes, RefObject } from 'react';
|
|
3
|
+
import { InputTextModes, InputTextSizes, InputTextStyles, InputTextTypes } from '../../../../styles/types/ui/inputs/text/types';
|
|
4
|
+
/**
|
|
5
|
+
* icon on left or right side
|
|
6
|
+
*/
|
|
7
|
+
interface P extends HTMLAttributes<HTMLInputElement> {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
type?: InputTextTypes;
|
|
11
|
+
value?: any;
|
|
12
|
+
modes?: InputTextModes;
|
|
13
|
+
label: string;
|
|
14
|
+
focus?: boolean;
|
|
15
|
+
width?: number | string;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
fullWidth?: boolean;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
helperText?: string;
|
|
20
|
+
step?: number;
|
|
21
|
+
min?: number;
|
|
22
|
+
handleChange?: (v: ChangeEvent<HTMLInputElement>) => void;
|
|
23
|
+
handleFocus?: (v?: any) => void;
|
|
24
|
+
handleBlur?: (v?: any) => void;
|
|
25
|
+
handleCheck?: (v?: any) => Promise<any> | void;
|
|
26
|
+
fontColor?: ColorPalettes;
|
|
27
|
+
fontWeight?: FontWeights;
|
|
28
|
+
fontSize?: FontSizes;
|
|
29
|
+
size?: InputTextSizes;
|
|
30
|
+
inputStyle?: InputTextStyles;
|
|
31
|
+
inputColor?: ColorSets;
|
|
32
|
+
/**
|
|
33
|
+
* colors
|
|
34
|
+
* - border color, input text color, label color, icon color
|
|
35
|
+
*/
|
|
36
|
+
labelTextColor?: boolean | ColorPalettes;
|
|
37
|
+
transparent?: boolean;
|
|
38
|
+
ref?: RefObject<HTMLInputElement | null>;
|
|
39
|
+
}
|
|
40
|
+
declare const InputText: ({ id, name, type, value, modes, label, focus, required, width, fullWidth, helperText, placeholder, step, min, handleChange, handleFocus, handleBlur, handleCheck, size, inputStyle, inputColor, labelTextColor, transparent, ref, ...props }: P) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export default InputText;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ColorPalettes, ColorSets, InputTextSizes } from '../../../../../../styles/types/types.ts';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
interface P {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
size: InputTextSizes;
|
|
7
|
+
inputColor: ColorSets;
|
|
8
|
+
labelTextColor?: boolean | ColorPalettes;
|
|
9
|
+
}
|
|
10
|
+
declare const InputTextLabel: FC<P>;
|
|
11
|
+
export default InputTextLabel;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ColorPalettes, ColorSets, Cursors, ElementResizes, FontFamilies, FontSizes, FontStyles, FontWeights, OutlineStyles, TextAligns } from '../../../../styles/types/types.ts';
|
|
2
|
+
import { ChangeEvent, HTMLAttributes, Ref } from 'react';
|
|
3
|
+
import { TextAreaModes, TextAreaSizes, TextAreaStyles } from '../../../../styles/types/ui/inputs/textarea/types';
|
|
4
|
+
interface P extends HTMLAttributes<HTMLTextAreaElement> {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
value?: any;
|
|
8
|
+
modes?: TextAreaModes;
|
|
9
|
+
label: string;
|
|
10
|
+
rows?: number;
|
|
11
|
+
focus?: boolean;
|
|
12
|
+
width?: number;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
helperText?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
onChange?: (v: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
18
|
+
handleBlur?: (...args: any[]) => void;
|
|
19
|
+
handleFocus?: (...args: any[]) => void;
|
|
20
|
+
handleCheck?: (v?: any) => Promise<any> | void;
|
|
21
|
+
size?: TextAreaSizes;
|
|
22
|
+
textAreaStyle?: TextAreaStyles;
|
|
23
|
+
textAreaColor?: ColorSets;
|
|
24
|
+
labelTextColor?: boolean | ColorPalettes;
|
|
25
|
+
noLabel?: boolean;
|
|
26
|
+
ref?: Ref<HTMLTextAreaElement> | undefined;
|
|
27
|
+
type?: string;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
min?: number;
|
|
30
|
+
step?: number;
|
|
31
|
+
resize?: ElementResizes;
|
|
32
|
+
textOutlineStyle?: OutlineStyles;
|
|
33
|
+
paletteColor?: ColorPalettes;
|
|
34
|
+
fontSize?: FontSizes;
|
|
35
|
+
fontFamily?: FontFamilies;
|
|
36
|
+
fontWeight?: FontWeights;
|
|
37
|
+
fontStyle?: FontStyles;
|
|
38
|
+
textAlign?: TextAligns;
|
|
39
|
+
cursor?: Cursors;
|
|
40
|
+
}
|
|
41
|
+
declare const TextArea: ({ id, name, value, modes, label, required, rows, width, fullWidth, placeholder, onChange, handleBlur, handleFocus, handleCheck, size, textAreaStyle, textAreaColor, labelTextColor, noLabel, ref, ...props }: P) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export default TextArea;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ColorPalettes, ColorSets } from '../../../../../../styles/types/types.ts';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { TextAreaSizes } from '../../../../../../styles/types/ui/inputs/textarea/types';
|
|
4
|
+
interface P {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
size: TextAreaSizes;
|
|
8
|
+
textAreaColor: ColorSets;
|
|
9
|
+
labelTextColor?: boolean | ColorPalettes;
|
|
10
|
+
}
|
|
11
|
+
declare const TextAreaLabel: FC<P>;
|
|
12
|
+
export default TextAreaLabel;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ColorSets } from '../../../styles/types/types.ts';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { InsetGroupOption } from '../../../styles/types/ui/insetGroup/types';
|
|
4
|
+
interface P {
|
|
5
|
+
id: any;
|
|
6
|
+
options: InsetGroupOption[];
|
|
7
|
+
valueIndex?: any;
|
|
8
|
+
setInput?: any;
|
|
9
|
+
setSelect?: (v: InsetGroupOption) => void;
|
|
10
|
+
insetColor?: ColorSets;
|
|
11
|
+
}
|
|
12
|
+
declare const InsetGroup: FC<P>;
|
|
13
|
+
export default InsetGroup;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ColorSets, Radiuses } from '../../../../styles/types/types.ts';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
interface P {
|
|
4
|
+
text: any;
|
|
5
|
+
value: any;
|
|
6
|
+
idx: any;
|
|
7
|
+
id: any;
|
|
8
|
+
handleSelectInset: any;
|
|
9
|
+
isSelected: any;
|
|
10
|
+
insetColor?: ColorSets;
|
|
11
|
+
borderTopLeftRadius?: Radiuses;
|
|
12
|
+
borderTopRightRadius?: Radiuses;
|
|
13
|
+
borderBottomLeftRadius?: Radiuses;
|
|
14
|
+
borderBottomRightRadius?: Radiuses;
|
|
15
|
+
}
|
|
16
|
+
declare const InsetItem: FC<P>;
|
|
17
|
+
export default InsetItem;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { }
|
|
1
|
+
declare const LabelText: ({ labelName, offsetX, y, x, hover, }: {
|
|
2
|
+
labelName?: string | undefined;
|
|
3
|
+
offsetX?: number | undefined;
|
|
4
|
+
y?: number | undefined;
|
|
5
|
+
x?: number | undefined;
|
|
6
|
+
hover?: boolean | undefined;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default LabelText;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ColorPalettes, ModalStyles } from '../../../styles/types/types.ts';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
interface P {
|
|
4
|
+
showModal: boolean;
|
|
5
|
+
closeModal: (v?: any) => void;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
modalStyles?: ModalStyles;
|
|
8
|
+
modalBackground?: ColorPalettes;
|
|
9
|
+
}
|
|
10
|
+
declare const Modal: FC<P>;
|
|
11
|
+
export default Modal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ModalStyles } from '../../../styles/types/types.ts';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
interface P {
|
|
4
|
+
closeModal: (v?: any) => void;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
modalStyles: ModalStyles;
|
|
7
|
+
}
|
|
8
|
+
declare const ModalGesturedCard: FC<P>;
|
|
9
|
+
export default ModalGesturedCard;
|