@julseb-lib/react 0.1.18 → 0.1.20
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/chunk-AOKNHBEF.js +1 -0
- package/dist/chunk-AOKNHBEF.js.map +1 -0
- package/dist/chunk-F55MXC3Z.js +1 -0
- package/dist/chunk-F55MXC3Z.js.map +1 -0
- package/dist/chunk-IH6ET7Q6.js +1 -0
- package/dist/chunk-IH6ET7Q6.js.map +1 -0
- package/dist/chunk-OOIPIHXS.js +1 -0
- package/dist/chunk-OOIPIHXS.js.map +1 -0
- package/dist/chunk-ZL3Z7QC7.js +1 -0
- package/dist/chunk-ZL3Z7QC7.js.map +1 -0
- package/dist/global-Bck2LNL3.d.cts +1472 -0
- package/dist/global-Bck2LNL3.d.ts +1472 -0
- package/dist/index.cjs +11892 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +3231 -0
- package/dist/index.d.ts +3231 -1
- package/dist/index.js +11732 -0
- package/dist/index.js.map +1 -0
- package/dist/types/components-items-props.cjs +19 -0
- package/dist/types/components-items-props.cjs.map +1 -0
- package/dist/types/components-items-props.d.cts +175 -0
- package/dist/{lib/types/components-items-props.ts → types/components-items-props.d.ts} +56 -65
- package/dist/types/components-items-props.js +2 -0
- package/dist/types/components-items-props.js.map +1 -0
- package/dist/types/components-props.cjs +19 -0
- package/dist/types/components-props.cjs.map +1 -0
- package/dist/types/components-props.d.cts +1119 -0
- package/dist/types/components-props.d.ts +1119 -0
- package/dist/types/components-props.js +2 -0
- package/dist/types/components-props.js.map +1 -0
- package/dist/types/global.cjs +19 -0
- package/dist/types/global.cjs.map +1 -0
- package/dist/types/global.d.cts +3 -0
- package/dist/types/global.d.ts +3 -0
- package/dist/types/global.js +2 -0
- package/dist/types/global.js.map +1 -0
- package/dist/types/index.cjs +19 -0
- package/dist/types/index.cjs.map +1 -0
- package/dist/types/index.d.cts +10 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.js +6 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/require-at-least-one.cjs +19 -0
- package/dist/types/require-at-least-one.cjs.map +1 -0
- package/dist/types/require-at-least-one.d.cts +5 -0
- package/dist/types/require-at-least-one.d.ts +5 -0
- package/dist/types/require-at-least-one.js +2 -0
- package/dist/types/require-at-least-one.js.map +1 -0
- package/dist/types/tailwind.cjs +19 -0
- package/dist/types/tailwind.cjs.map +1 -0
- package/dist/types/tailwind.d.cts +3259 -0
- package/dist/types/tailwind.d.ts +3259 -0
- package/dist/types/tailwind.js +2 -0
- package/dist/types/tailwind.js.map +1 -0
- package/package.json +31 -47
- package/LICENSE +0 -21
- package/README.md +0 -206
- package/dist/julseb-lib-react.cjs.js +0 -17
- package/dist/julseb-lib-react.es.js +0 -8977
- package/dist/lib/Variables.ts +0 -202
- package/dist/lib/components/Accordion/Accordion.tsx +0 -73
- package/dist/lib/components/Accordion/AccordionContent.tsx +0 -55
- package/dist/lib/components/Accordion/AccordionItem.tsx +0 -66
- package/dist/lib/components/Accordion/AccordionTitle.tsx +0 -80
- package/dist/lib/components/Accordion/index.ts +0 -2
- package/dist/lib/components/Accordion/subtypes.ts +0 -26
- package/dist/lib/components/Accordion/types.ts +0 -37
- package/dist/lib/components/Alert/Alert.tsx +0 -57
- package/dist/lib/components/Alert/index.ts +0 -1
- package/dist/lib/components/Alert/types.ts +0 -8
- package/dist/lib/components/Aside/Aside.tsx +0 -58
- package/dist/lib/components/Aside/index.ts +0 -1
- package/dist/lib/components/Aside/types.ts +0 -6
- package/dist/lib/components/Autocomplete/Autocomplete.tsx +0 -222
- package/dist/lib/components/Autocomplete/index.ts +0 -1
- package/dist/lib/components/Autocomplete/types.ts +0 -35
- package/dist/lib/components/Avatar/Avatar.tsx +0 -93
- package/dist/lib/components/Avatar/AvatarFn.tsx +0 -44
- package/dist/lib/components/Avatar/index.ts +0 -1
- package/dist/lib/components/Avatar/types.ts +0 -37
- package/dist/lib/components/BackToTop/BackToTop.tsx +0 -96
- package/dist/lib/components/BackToTop/index.ts +0 -1
- package/dist/lib/components/BackToTop/types.ts +0 -9
- package/dist/lib/components/Badge/Badge.tsx +0 -61
- package/dist/lib/components/Badge/index.ts +0 -1
- package/dist/lib/components/Badge/types.ts +0 -7
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -72
- package/dist/lib/components/Breadcrumbs/index.ts +0 -1
- package/dist/lib/components/Breadcrumbs/types.ts +0 -5
- package/dist/lib/components/Burger/Burger.tsx +0 -110
- package/dist/lib/components/Burger/index.ts +0 -1
- package/dist/lib/components/Burger/types.ts +0 -11
- package/dist/lib/components/Button/Button.tsx +0 -109
- package/dist/lib/components/Button/index.ts +0 -1
- package/dist/lib/components/Button/types.ts +0 -30
- package/dist/lib/components/ButtonGroup/ButtonGroup.tsx +0 -126
- package/dist/lib/components/ButtonGroup/index.ts +0 -1
- package/dist/lib/components/ButtonGroup/types.ts +0 -28
- package/dist/lib/components/ButtonIcon/ButtonFn.tsx +0 -76
- package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +0 -134
- package/dist/lib/components/ButtonIcon/index.ts +0 -1
- package/dist/lib/components/ButtonIcon/types.ts +0 -52
- package/dist/lib/components/CodeContainer/CodeContainer.tsx +0 -108
- package/dist/lib/components/CodeContainer/index.ts +0 -1
- package/dist/lib/components/CodeContainer/types.ts +0 -230
- package/dist/lib/components/Cover/Cover.tsx +0 -91
- package/dist/lib/components/Cover/index.ts +0 -1
- package/dist/lib/components/Cover/types.ts +0 -10
- package/dist/lib/components/DragList/DragList.tsx +0 -111
- package/dist/lib/components/DragList/DragListItem.tsx +0 -114
- package/dist/lib/components/DragList/index.ts +0 -2
- package/dist/lib/components/DragList/types.ts +0 -55
- package/dist/lib/components/Drawer/Drawer.tsx +0 -145
- package/dist/lib/components/Drawer/index.ts +0 -1
- package/dist/lib/components/Drawer/types.ts +0 -24
- package/dist/lib/components/Dropdown/Dropdown.tsx +0 -89
- package/dist/lib/components/Dropdown/DropdownItem.tsx +0 -49
- package/dist/lib/components/Dropdown/index.ts +0 -2
- package/dist/lib/components/Dropdown/types.ts +0 -35
- package/dist/lib/components/Fade/Fade.tsx +0 -62
- package/dist/lib/components/Fade/index.ts +0 -1
- package/dist/lib/components/Fade/types.ts +0 -3
- package/dist/lib/components/Fieldset/Fieldset.tsx +0 -85
- package/dist/lib/components/Fieldset/index.ts +0 -1
- package/dist/lib/components/Fieldset/types.ts +0 -15
- package/dist/lib/components/Flexbox/Flexbox.tsx +0 -99
- package/dist/lib/components/Flexbox/index.ts +0 -1
- package/dist/lib/components/Flexbox/types.ts +0 -23
- package/dist/lib/components/Footer/Footer.tsx +0 -103
- package/dist/lib/components/Footer/index.ts +0 -1
- package/dist/lib/components/Footer/types.ts +0 -54
- package/dist/lib/components/Form/Form.tsx +0 -83
- package/dist/lib/components/Form/index.ts +0 -1
- package/dist/lib/components/Form/types.ts +0 -32
- package/dist/lib/components/Grid/Grid.tsx +0 -98
- package/dist/lib/components/Grid/index.ts +0 -1
- package/dist/lib/components/Grid/types.ts +0 -20
- package/dist/lib/components/Header/Header.tsx +0 -241
- package/dist/lib/components/Header/HeaderSearch.tsx +0 -50
- package/dist/lib/components/Header/index.ts +0 -1
- package/dist/lib/components/Header/subtypes.ts +0 -28
- package/dist/lib/components/Header/types.ts +0 -57
- package/dist/lib/components/Highlight/Highlight.tsx +0 -45
- package/dist/lib/components/Highlight/index.ts +0 -1
- package/dist/lib/components/Highlight/types.ts +0 -9
- package/dist/lib/components/Hr/Hr.tsx +0 -48
- package/dist/lib/components/Hr/index.ts +0 -1
- package/dist/lib/components/Hr/types.ts +0 -8
- package/dist/lib/components/Image/Image.tsx +0 -92
- package/dist/lib/components/Image/index.ts +0 -1
- package/dist/lib/components/Image/types.ts +0 -25
- package/dist/lib/components/Input/Input.tsx +0 -130
- package/dist/lib/components/Input/classes.ts +0 -1
- package/dist/lib/components/Input/index.ts +0 -1
- package/dist/lib/components/Input/subtypes.ts +0 -173
- package/dist/lib/components/Input/templates/ColorInput.tsx +0 -44
- package/dist/lib/components/Input/templates/DateInput.tsx +0 -63
- package/dist/lib/components/Input/templates/FileInput.tsx +0 -42
- package/dist/lib/components/Input/templates/PasswordInput.tsx +0 -73
- package/dist/lib/components/Input/templates/SearchInput.tsx +0 -89
- package/dist/lib/components/Input/templates/SelectInput.tsx +0 -79
- package/dist/lib/components/Input/templates/TextInput.tsx +0 -58
- package/dist/lib/components/Input/templates/TextareaInput.tsx +0 -27
- package/dist/lib/components/Input/templates/TimeInput.tsx +0 -67
- package/dist/lib/components/Input/types.ts +0 -22
- package/dist/lib/components/InputCheck/InputCheck.tsx +0 -161
- package/dist/lib/components/InputCheck/index.ts +0 -1
- package/dist/lib/components/InputCheck/types.ts +0 -27
- package/dist/lib/components/InputComponents/InputButton.tsx +0 -31
- package/dist/lib/components/InputComponents/InputIcon.tsx +0 -28
- package/dist/lib/components/InputComponents/InputList.tsx +0 -53
- package/dist/lib/components/InputComponents/InputListItem.tsx +0 -68
- package/dist/lib/components/InputComponents/InputPrefix.tsx +0 -15
- package/dist/lib/components/InputComponents/InputSuffix.tsx +0 -15
- package/dist/lib/components/InputComponents/InputValidation.tsx +0 -32
- package/dist/lib/components/InputComponents/InputWithListWrapper.tsx +0 -29
- package/dist/lib/components/InputComponents/InputWrapper.tsx +0 -45
- package/dist/lib/components/InputComponents/classes.ts +0 -101
- package/dist/lib/components/InputComponents/index.ts +0 -11
- package/dist/lib/components/InputComponents/types.ts +0 -63
- package/dist/lib/components/InputContainer/InputContainer.tsx +0 -149
- package/dist/lib/components/InputContainer/index.ts +0 -1
- package/dist/lib/components/InputContainer/types.ts +0 -11
- package/dist/lib/components/InputCounter/InputCounter.tsx +0 -141
- package/dist/lib/components/InputCounter/index.ts +0 -1
- package/dist/lib/components/InputCounter/types.ts +0 -45
- package/dist/lib/components/InputImage/EmptyContainer.tsx +0 -17
- package/dist/lib/components/InputImage/HoverContainer.tsx +0 -21
- package/dist/lib/components/InputImage/InputImage.tsx +0 -104
- package/dist/lib/components/InputImage/index.ts +0 -1
- package/dist/lib/components/InputImage/subtypes.ts +0 -7
- package/dist/lib/components/InputImage/types.ts +0 -24
- package/dist/lib/components/InputPhone/InputPhone.tsx +0 -256
- package/dist/lib/components/InputPhone/index.ts +0 -1
- package/dist/lib/components/InputPhone/types.ts +0 -32
- package/dist/lib/components/InputPhone/utils/countries.ts +0 -646
- package/dist/lib/components/InputPhone/utils/flags/ac.svg +0 -76
- package/dist/lib/components/InputPhone/utils/flags/bq.svg +0 -5
- package/dist/lib/components/InputPhone/utils/flags/bv.svg +0 -13
- package/dist/lib/components/InputPhone/utils/flags/cefta.svg +0 -13
- package/dist/lib/components/InputPhone/utils/flags/cp.svg +0 -7
- package/dist/lib/components/InputPhone/utils/flags/cw.svg +0 -14
- package/dist/lib/components/InputPhone/utils/flags/dg.svg +0 -129
- package/dist/lib/components/InputPhone/utils/flags/ea.svg +0 -544
- package/dist/lib/components/InputPhone/utils/flags/eh.svg +0 -16
- package/dist/lib/components/InputPhone/utils/flags/es-ct.svg +0 -4
- package/dist/lib/components/InputPhone/utils/flags/es-ga.svg +0 -187
- package/dist/lib/components/InputPhone/utils/flags/eu.svg +0 -28
- package/dist/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -5
- package/dist/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -132
- package/dist/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -4
- package/dist/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -9
- package/dist/lib/components/InputPhone/utils/flags/hm.svg +0 -8
- package/dist/lib/components/InputPhone/utils/flags/ic.svg +0 -7
- package/dist/lib/components/InputPhone/utils/flags/sx.svg +0 -56
- package/dist/lib/components/InputPhone/utils/flags/ta.svg +0 -76
- package/dist/lib/components/InputPhone/utils/flags/tf.svg +0 -15
- package/dist/lib/components/InputPhone/utils/flags/um.svg +0 -15
- package/dist/lib/components/InputPhone/utils/flags/un.svg +0 -16
- package/dist/lib/components/InputPhone/utils/flags/xk.svg +0 -8
- package/dist/lib/components/InputPhone/utils/flags/xx.svg +0 -4
- package/dist/lib/components/InputPin/InputPin.tsx +0 -121
- package/dist/lib/components/InputPin/index.ts +0 -1
- package/dist/lib/components/InputPin/types.ts +0 -22
- package/dist/lib/components/InputSlider/InputSlider.tsx +0 -176
- package/dist/lib/components/InputSlider/index.ts +0 -1
- package/dist/lib/components/InputSlider/types.ts +0 -22
- package/dist/lib/components/Key/Key.tsx +0 -84
- package/dist/lib/components/Key/index.ts +0 -1
- package/dist/lib/components/Key/types.ts +0 -16
- package/dist/lib/components/Linkify/Linkify.tsx +0 -67
- package/dist/lib/components/Linkify/index.ts +0 -1
- package/dist/lib/components/Linkify/types.ts +0 -8
- package/dist/lib/components/ListGroup/ListGroup.tsx +0 -96
- package/dist/lib/components/ListGroup/ListGroupItem.tsx +0 -86
- package/dist/lib/components/ListGroup/ListGroupTitle.tsx +0 -84
- package/dist/lib/components/ListGroup/index.ts +0 -3
- package/dist/lib/components/ListGroup/types.ts +0 -69
- package/dist/lib/components/Loader/Loader.tsx +0 -38
- package/dist/lib/components/Loader/index.ts +0 -1
- package/dist/lib/components/Loader/templates/LoaderOne.tsx +0 -27
- package/dist/lib/components/Loader/templates/LoaderThree.tsx +0 -47
- package/dist/lib/components/Loader/templates/LoaderTwo.tsx +0 -61
- package/dist/lib/components/Loader/types.ts +0 -13
- package/dist/lib/components/Loader/utils/gen-border-bottom.ts +0 -95
- package/dist/lib/components/Main/Main.tsx +0 -63
- package/dist/lib/components/Main/index.ts +0 -1
- package/dist/lib/components/Main/types.ts +0 -12
- package/dist/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -50
- package/dist/lib/components/MarkdownContainer/index.ts +0 -1
- package/dist/lib/components/MarkdownContainer/types.ts +0 -8
- package/dist/lib/components/MarkdownEditor/MarkdownButtons.tsx +0 -42
- package/dist/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -186
- package/dist/lib/components/MarkdownEditor/MarkdownEditorTitles.tsx +0 -86
- package/dist/lib/components/MarkdownEditor/MarkdownViewButtons.tsx +0 -48
- package/dist/lib/components/MarkdownEditor/buttons/icons.tsx +0 -85
- package/dist/lib/components/MarkdownEditor/buttons/markdown-buttons.tsx +0 -176
- package/dist/lib/components/MarkdownEditor/index.ts +0 -1
- package/dist/lib/components/MarkdownEditor/types.ts +0 -42
- package/dist/lib/components/Masonry/Masonry.tsx +0 -83
- package/dist/lib/components/Masonry/index.ts +0 -1
- package/dist/lib/components/Masonry/types.ts +0 -8
- package/dist/lib/components/Masonry/utils.tsx +0 -28
- package/dist/lib/components/Meta/Meta.tsx +0 -125
- package/dist/lib/components/Meta/index.ts +0 -1
- package/dist/lib/components/Meta/types.ts +0 -35
- package/dist/lib/components/Modal/Modal.tsx +0 -107
- package/dist/lib/components/Modal/index.ts +0 -1
- package/dist/lib/components/Modal/types.ts +0 -21
- package/dist/lib/components/PageLayout/PageLayout.tsx +0 -64
- package/dist/lib/components/PageLayout/index.ts +0 -1
- package/dist/lib/components/PageLayout/types.ts +0 -29
- package/dist/lib/components/PageLoading/PageLoading.tsx +0 -64
- package/dist/lib/components/PageLoading/index.ts +0 -1
- package/dist/lib/components/PageLoading/types.ts +0 -13
- package/dist/lib/components/Pagination/Pagination.tsx +0 -163
- package/dist/lib/components/Pagination/PaginationButton.tsx +0 -65
- package/dist/lib/components/Pagination/index.ts +0 -2
- package/dist/lib/components/Pagination/types.ts +0 -56
- package/dist/lib/components/Paginator/Paginator.tsx +0 -136
- package/dist/lib/components/Paginator/index.ts +0 -1
- package/dist/lib/components/Paginator/types.ts +0 -16
- package/dist/lib/components/ProgressBar/ProgressBar.tsx +0 -87
- package/dist/lib/components/ProgressBar/index.ts +0 -1
- package/dist/lib/components/ProgressBar/types.ts +0 -14
- package/dist/lib/components/ProgressCircle/ProgressCircle.tsx +0 -146
- package/dist/lib/components/ProgressCircle/index.ts +0 -1
- package/dist/lib/components/ProgressCircle/types.ts +0 -31
- package/dist/lib/components/Rating/Rating.tsx +0 -116
- package/dist/lib/components/Rating/index.ts +0 -1
- package/dist/lib/components/Rating/types.ts +0 -25
- package/dist/lib/components/Section/Section.tsx +0 -51
- package/dist/lib/components/Section/index.ts +0 -1
- package/dist/lib/components/Section/types.ts +0 -5
- package/dist/lib/components/Select/Select.tsx +0 -191
- package/dist/lib/components/Select/index.ts +0 -1
- package/dist/lib/components/Select/types.ts +0 -23
- package/dist/lib/components/Skeleton/Skeleton.tsx +0 -57
- package/dist/lib/components/Skeleton/SkeletonCard.tsx +0 -60
- package/dist/lib/components/Skeleton/index.ts +0 -2
- package/dist/lib/components/Skeleton/types.ts +0 -27
- package/dist/lib/components/Slideshow/Slideshow.tsx +0 -324
- package/dist/lib/components/Slideshow/SlideshowButton.tsx +0 -63
- package/dist/lib/components/Slideshow/SlideshowPagination.tsx +0 -111
- package/dist/lib/components/Slideshow/index.ts +0 -1
- package/dist/lib/components/Slideshow/subtypes.ts +0 -62
- package/dist/lib/components/Slideshow/types.ts +0 -41
- package/dist/lib/components/SrOnly/SrOnly.tsx +0 -33
- package/dist/lib/components/SrOnly/index.ts +0 -1
- package/dist/lib/components/SrOnly/types.ts +0 -7
- package/dist/lib/components/Sticky/Sticky.tsx +0 -58
- package/dist/lib/components/Sticky/index.ts +0 -1
- package/dist/lib/components/Sticky/types.ts +0 -5
- package/dist/lib/components/Table/Table.tsx +0 -141
- package/dist/lib/components/Table/index.ts +0 -1
- package/dist/lib/components/Table/types.ts +0 -43
- package/dist/lib/components/Tabs/Tabs.tsx +0 -88
- package/dist/lib/components/Tabs/TabsButton.tsx +0 -73
- package/dist/lib/components/Tabs/TabsButtonsContainer.tsx +0 -58
- package/dist/lib/components/Tabs/TabsContainer.tsx +0 -49
- package/dist/lib/components/Tabs/TabsContent.tsx +0 -52
- package/dist/lib/components/Tabs/index.ts +0 -5
- package/dist/lib/components/Tabs/types.ts +0 -46
- package/dist/lib/components/Tag/Tag.tsx +0 -77
- package/dist/lib/components/Tag/index.ts +0 -1
- package/dist/lib/components/Tag/types.ts +0 -13
- package/dist/lib/components/Text/Text.tsx +0 -88
- package/dist/lib/components/Text/index.ts +0 -1
- package/dist/lib/components/Text/templates/Blockquote.tsx +0 -41
- package/dist/lib/components/Text/templates/Dl.tsx +0 -42
- package/dist/lib/components/Text/templates/Em.tsx +0 -40
- package/dist/lib/components/Text/templates/H1.tsx +0 -44
- package/dist/lib/components/Text/templates/H2.tsx +0 -44
- package/dist/lib/components/Text/templates/H3.tsx +0 -44
- package/dist/lib/components/Text/templates/H4.tsx +0 -44
- package/dist/lib/components/Text/templates/H5.tsx +0 -44
- package/dist/lib/components/Text/templates/H6.tsx +0 -41
- package/dist/lib/components/Text/templates/Ol.tsx +0 -41
- package/dist/lib/components/Text/templates/P.tsx +0 -40
- package/dist/lib/components/Text/templates/Small.tsx +0 -40
- package/dist/lib/components/Text/templates/Strong.tsx +0 -40
- package/dist/lib/components/Text/templates/Ul.tsx +0 -41
- package/dist/lib/components/Text/types.ts +0 -36
- package/dist/lib/components/Toast/Toast.tsx +0 -113
- package/dist/lib/components/Toast/ToastContainer.tsx +0 -43
- package/dist/lib/components/Toast/ToastFn.tsx +0 -236
- package/dist/lib/components/Toast/index.ts +0 -3
- package/dist/lib/components/Toast/types.ts +0 -18
- package/dist/lib/components/Toast/utils.ts +0 -9
- package/dist/lib/components/Tooltip/Tooltip.tsx +0 -197
- package/dist/lib/components/Tooltip/index.ts +0 -1
- package/dist/lib/components/Tooltip/types.ts +0 -23
- package/dist/lib/components/Wrapper/Wrapper.tsx +0 -75
- package/dist/lib/components/Wrapper/index.ts +0 -1
- package/dist/lib/components/Wrapper/types.ts +0 -12
- package/dist/lib/context/Theme.context.tsx +0 -66
- package/dist/lib/context/index.ts +0 -1
- package/dist/lib/hooks/index.ts +0 -15
- package/dist/lib/hooks/useClickOutside.tsx +0 -50
- package/dist/lib/hooks/useCopyToClipboard.tsx +0 -50
- package/dist/lib/hooks/useDebounce.tsx +0 -37
- package/dist/lib/hooks/useExportData.tsx +0 -78
- package/dist/lib/hooks/useFetch.tsx +0 -42
- package/dist/lib/hooks/useForm.tsx +0 -51
- package/dist/lib/hooks/useIsOverflow.ts +0 -61
- package/dist/lib/hooks/useKeyPress.tsx +0 -110
- package/dist/lib/hooks/useMaxWidth.tsx +0 -40
- package/dist/lib/hooks/useMergeRefs.ts +0 -45
- package/dist/lib/hooks/useMinWidth.tsx +0 -40
- package/dist/lib/hooks/usePaginatedData.tsx +0 -52
- package/dist/lib/hooks/usePagination.tsx +0 -75
- package/dist/lib/hooks/useTouchScreen.tsx +0 -34
- package/dist/lib/hooks/useTranslation.tsx +0 -58
- package/dist/lib/index.css +0 -539
- package/dist/lib/index.ts +0 -129
- package/dist/lib/lib-utils/get-highlighted-text.tsx +0 -30
- package/dist/lib/lib-utils/index.ts +0 -3
- package/dist/lib/lib-utils/transfom-search-keys.ts +0 -13
- package/dist/lib/lib-utils/use-keyboard-navigation.tsx +0 -79
- package/dist/lib/types/components-props.ts +0 -66
- package/dist/lib/types/global.ts +0 -853
- package/dist/lib/types/index.ts +0 -4
- package/dist/lib/types/require-at-least-one.ts +0 -7
- package/dist/lib/types/tailwind.ts +0 -9041
- package/dist/lib/utils/clsx.tsx +0 -6
- package/dist/lib/utils/design-tokens.ts +0 -784
- package/dist/lib/utils/gen-align.ts +0 -24
- package/dist/lib/utils/gen-bg-color.ts +0 -158
- package/dist/lib/utils/gen-border-color.ts +0 -110
- package/dist/lib/utils/gen-border-radius.ts +0 -13
- package/dist/lib/utils/gen-border.ts +0 -30
- package/dist/lib/utils/gen-box-shadow.ts +0 -12
- package/dist/lib/utils/gen-button-color.ts +0 -9
- package/dist/lib/utils/gen-gap.ts +0 -34
- package/dist/lib/utils/gen-justify.ts +0 -25
- package/dist/lib/utils/gen-link-color.ts +0 -29
- package/dist/lib/utils/gen-max-width.ts +0 -30
- package/dist/lib/utils/gen-object-fit.ts +0 -9
- package/dist/lib/utils/gen-ring-color.ts +0 -21
- package/dist/lib/utils/gen-text-align.ts +0 -10
- package/dist/lib/utils/gen-text-color.ts +0 -111
- package/dist/lib/utils/gen-vertical-align.ts +0 -12
- package/dist/lib/utils/index.ts +0 -19
- package/dist/lib/utils/linkify-text.tsx +0 -26
- package/dist/lib/utils/options-markdown.ts +0 -60
- package/dist/lib/utils/tools.ts +0 -15
- package/dist/react.css +0 -1
- package/dist/style.css +0 -539
- /package/dist/{lib/components/InputPhone/utils/flags/ad.svg → ad-HTL7GHRB.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ae.svg → ae-ICAMTCAR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/af.svg → af-MHFH5L72.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ag.svg → ag-M7PMJTNC.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ai.svg → ai-ETDR2GEU.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/al.svg → al-RBPPZBOR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/am.svg → am-P5ZIE6XV.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ao.svg → ao-IDQ66LVW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/aq.svg → aq-M762DUH3.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ar.svg → ar-DHRVFD4E.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/as.svg → as-ICEYFBWP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/at.svg → at-P53PFVFI.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/au.svg → au-OMD4QESS.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/aw.svg → aw-P7SRGNOX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ax.svg → ax-V7XPB664.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/az.svg → az-JZV3NJUP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ba.svg → ba-POV77HGO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bb.svg → bb-WTDUG7VT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bd.svg → bd-HMCXBQD3.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/be.svg → be-Y7RGT6WN.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bf.svg → bf-IFOTMWPV.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bg.svg → bg-QKOWF4RG.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bh.svg → bh-F7YG7A6Z.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bi.svg → bi-HWA2SSM7.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bj.svg → bj-SVZPUB6C.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bl.svg → bl-QXYAF6ZV.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bm.svg → bm-VAEN3IKJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bn.svg → bn-CK5FI4T5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bo.svg → bo-HY4TLIQH.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/br.svg → br-E7SKW6QV.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bs.svg → bs-5UC4R4TW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bt.svg → bt-ILNGCG6V.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bw.svg → bw-GTCF3QZV.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/by.svg → by-I2PKD7MG.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/bz.svg → bz-ZSRW2FFJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ca.svg → ca-WZPQPA7E.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cc.svg → cc-F56DXRNZ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cd.svg → cd-WTKKN7EX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cf.svg → cf-TPKKXILK.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cg.svg → cg-CKR7RUC4.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ch.svg → ch-USJZZOGC.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ci.svg → ci-KFEINJVJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ck.svg → ck-ATMQHHMA.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cl.svg → cl-WMTRWE2W.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cm.svg → cm-2BN3OVZK.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cn.svg → cn-GFQJIK3L.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/co.svg → co-NN4OA66V.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cr.svg → cr-ZQEISEUX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cu.svg → cu-5GWMND5O.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cv.svg → cv-LWSGBQVT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cx.svg → cx-XOUJ6BDY.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cy.svg → cy-ELWYQW3B.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/cz.svg → cz-PSDLWGGB.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/de.svg → de-UZ33VXB7.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/dj.svg → dj-6OAOTLZI.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/dk.svg → dk-JMBRHM34.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/dm.svg → dm-VNRMBZBS.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/do.svg → do-BKI25VAP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/dz.svg → dz-5TGC2F6O.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ec.svg → ec-RVY2TDQY.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ee.svg → ee-ESNNK5FI.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/eg.svg → eg-33P6HVEE.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/er.svg → er-24JCI44Y.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/es.svg → es-W6LDJAST.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/et.svg → et-3S4LEFBY.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/fi.svg → fi-S5EH7BG6.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/fj.svg → fj-YBL3EYQL.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/fk.svg → fk-GOTRGUW5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/fm.svg → fm-W22Q42MJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/fo.svg → fo-XAEBEWGY.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/fr.svg → fr-ZVO4L2CN.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ga.svg → ga-YVFEOFTR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gb.svg → gb-SC7363TA.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gd.svg → gd-DFU7DED6.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ge.svg → ge-YE7BR7QF.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gf.svg → gf-NI4GFY3X.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gg.svg → gg-7VUU64IM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gh.svg → gh-SZBUUZXW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gi.svg → gi-CXD7K7GM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gl.svg → gl-PA2YIJP7.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gm.svg → gm-7ZOEQWBQ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gn.svg → gn-MSN2M353.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gp.svg → gp-JP5TO4OX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gq.svg → gq-EYN2DF4Z.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gr.svg → gr-YRG5TXUI.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gs.svg → gs-EDOECKEF.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gt.svg → gt-VFMRVU7E.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gu.svg → gu-AXDHACWU.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gw.svg → gw-F747MFB6.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/gy.svg → gy-C6UGO63R.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/hk.svg → hk-PPVUELHH.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/hn.svg → hn-IXKFBHL3.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/hr.svg → hr-7ORLAYLN.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ht.svg → ht-HCNXZLPJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/hu.svg → hu-C3DDGX7P.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/id.svg → id-JSWZPKEB.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ie.svg → ie-QFERZM3U.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/il.svg → il-4AZPYABU.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/im.svg → im-TRGBU2MA.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/in.svg → in-QNJVAXMN.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/io.svg → io-ZTEO44HB.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/iq.svg → iq-7FWRTP5Y.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ir.svg → ir-7QU34OGP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/is.svg → is-VFU3W27Q.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/it.svg → it-SGJZRZTG.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/je.svg → je-ASNHCFDM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/jm.svg → jm-WELCOSBK.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/jo.svg → jo-4N4SRXFU.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/jp.svg → jp-IJJOLX65.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ke.svg → ke-ZX6MQKG6.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kg.svg → kg-RCELGYWY.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kh.svg → kh-Z4TCRAR5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ki.svg → ki-4XP6EOEF.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/km.svg → km-UWFN6S3G.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kn.svg → kn-QZWT5L2Z.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kp.svg → kp-UEJKAESN.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kr.svg → kr-37HGZWST.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kw.svg → kw-DW7MW6JR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ky.svg → ky-UE77ZKNR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/kz.svg → kz-235M425O.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/la.svg → la-RJEPE22E.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lb.svg → lb-EWVZKLTE.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lc.svg → lc-SHXL3I23.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/li.svg → li-FRDARPUJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lk.svg → lk-24DJYERD.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lr.svg → lr-NOV6G2QP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ls.svg → ls-DQYSLKA4.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lt.svg → lt-X5H273BZ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lu.svg → lu-Y7CETSZZ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/lv.svg → lv-UD2OKAKZ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ly.svg → ly-HXZ3F2PC.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ma.svg → ma-VSPIMR33.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mc.svg → mc-IV2TK64Y.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/md.svg → md-Z2KRCTSL.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/me.svg → me-GJ5HAC7T.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mf.svg → mf-PY7OO34H.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mg.svg → mg-7XGP7WEH.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mh.svg → mh-7N2SSCJ3.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mk.svg → mk-4CGYETXE.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ml.svg → ml-REJ3NIH6.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mm.svg → mm-G72WDHIA.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mn.svg → mn-QUEB3DP2.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mo.svg → mo-7RMY33IW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mp.svg → mp-QLHHVVHP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mq.svg → mq-S4653T2D.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mr.svg → mr-ZBDE3KJQ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ms.svg → ms-HE6BUCKD.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mt.svg → mt-DUA34F2Z.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mu.svg → mu-ZHDOJ3TI.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mv.svg → mv-6NYHRQLF.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mw.svg → mw-AXRAJH26.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mx.svg → mx-MSPV6RQM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/my.svg → my-AIY7QQBP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/mz.svg → mz-3322L3KQ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/na.svg → na-EASCPZHA.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/nc.svg → nc-JJHA6YCG.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ne.svg → ne-NIQVZJOH.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/nf.svg → nf-6GXJMQE5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ng.svg → ng-5QXHJYS4.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ni.svg → ni-HNZBL5LK.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/nl.svg → nl-QVISKFUO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/no.svg → no-JTVUCTCT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/np.svg → np-UCBDZ5AR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/nr.svg → nr-LG6XA46Y.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/nu.svg → nu-4OUEUAXX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/nz.svg → nz-T2NE6YVO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/om.svg → om-6JFK3PR4.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pa.svg → pa-AT6O5EL5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pe.svg → pe-WVRRE6RF.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pf.svg → pf-DLKFAUUG.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pg.svg → pg-R7GWNRSB.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ph.svg → ph-QSRFK225.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pk.svg → pk-FR3SZ2RO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pl.svg → pl-JSSZW3KY.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pm.svg → pm-HA37R6HR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pn.svg → pn-4N36OSZ7.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pr.svg → pr-NNQH4LK7.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ps.svg → ps-OYLD266F.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pt.svg → pt-EJEEXNOR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/pw.svg → pw-AJH6MUWT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/py.svg → py-BBGVETQS.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/qa.svg → qa-O6NUQ5WE.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/re.svg → re-UHLBILVM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ro.svg → ro-YBPUPSYC.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/rs.svg → rs-RTTQJKCP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ru.svg → ru-NVSR5C27.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/rw.svg → rw-L6HQTLZM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sa.svg → sa-5NCCG3JM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sb.svg → sb-ESFASP4O.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sc.svg → sc-V2MOTRIU.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sd.svg → sd-ALVTXIOB.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/se.svg → se-3UJAVTP2.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sg.svg → sg-PNK4IWVH.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sh.svg → sh-LSKBPKHJ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/si.svg → si-DU3RWKLO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sj.svg → sj-EOPZSLCL.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sk.svg → sk-Z5T3FAV3.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sl.svg → sl-DE7XOWOL.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sm.svg → sm-OSI7YZKX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sn.svg → sn-KYWABXNT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/so.svg → so-TUA5RNVD.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sr.svg → sr-HMODPFV5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ss.svg → ss-R7O73JRT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/st.svg → st-NPWJIGHE.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sv.svg → sv-NIXV2SRX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sy.svg → sy-HTLBFL4F.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/sz.svg → sz-FMNXHOEQ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tc.svg → tc-P6VEJX7T.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/td.svg → td-DN372MP5.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tg.svg → tg-5ZT7ZDBZ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/th.svg → th-WAHAQKQK.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tj.svg → tj-MG5ALKXM.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tk.svg → tk-G765JUVP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tl.svg → tl-UF7AWZC6.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tm.svg → tm-LGSUDTBO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tn.svg → tn-MJPTN7EW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/to.svg → to-4IPHWATD.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tr.svg → tr-KC7PK4TT.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tt.svg → tt-IVVKXXFH.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tv.svg → tv-HASL2ZPX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tw.svg → tw-Z2QVHLNU.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/tz.svg → tz-FVI6D4BP.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ua.svg → ua-6L6MVDVK.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ug.svg → ug-F73JMZTS.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/us.svg → us-VPPAAERF.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/uy.svg → uy-FJ6XTJUV.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/uz.svg → uz-FR2J6ZTX.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/va.svg → va-ZQHHJQ33.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/vc.svg → vc-F4EKLJYW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ve.svg → ve-TXPQADML.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/vg.svg → vg-R3B6II5K.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/vi.svg → vi-7RSQ7357.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/vn.svg → vn-BMRRXIMR.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/vu.svg → vu-FZQPUNU3.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/wf.svg → wf-EYVXQET4.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ws.svg → ws-PVUKQ4PE.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/ye.svg → ye-NQNPF5YD.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/yt.svg → yt-TGBAMUTW.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/za.svg → za-HZOQXCXO.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/zm.svg → zm-NM4WJ5NQ.svg} +0 -0
- /package/dist/{lib/components/InputPhone/utils/flags/zw.svg → zw-MIQGG7RP.svg} +0 -0
|
@@ -0,0 +1,1119 @@
|
|
|
1
|
+
import { ElementType, CSSProperties, ReactElement as ReactElement$1, ImgHTMLAttributes, ReactNode, ButtonHTMLAttributes, RefObject, InputHTMLAttributes, MouseEventHandler, SelectHTMLAttributes, TextareaHTMLAttributes, Ref, FormHTMLAttributes, DragEvent, MeterHTMLAttributes, FormEvent } from 'react';
|
|
2
|
+
import { J as LibComponentBase, b as LibAllColors, c as LibColorsHover, ag as CssTextAlign, y as LibTextDisplay, z as LibTextNoDisplay, l as LibSpacers, D as LibMinHeight, ar as LibMainSize, as as LibAsideSize, ai as CssJustifyItems, aj as CssAlignItems, ak as CssJustifyContent, al as CssAlignContent, am as CssFlexDirection, an as CssFlexWrap, ab as ReactChildren, E as LibKeySize, a as LibColorsShort, au as ClassNames, F as LibMaxWidth, m as LibRadiuses, G as LibSkeletonAnimation, H as LibTooltipPosition, I as LibTooltipTrigger, f as LibAllColorsAndOverlays, av as CSSProperties$1, af as Classes, ao as CssObjectFit, t as LibLoaderVariant, v as LibButtonVariantExtended, w as LibButtonSize, ac as ReactElement$2, u as LibButtonVariant, aa as LibTooltipPositionOptions, N as LibTagVariant, r as LibInputVariant, x as LibInputBackground, Q as LibInputListDirection, p as LibInputValidation, P as LibCheckInputVariant, a8 as LibCountry, ae as DispatchState, at as CountryCode, a5 as LibValueInputPin, k as LibShadows, K as LibAccordionVariant, M as LibAccordionIcon, O as LibToastStatus, R as LibTabsJustify, S as LibTabsVariant, W as LibSlideshowButtonsSize, U as LibSlideshowPaginationPosition, T as LibSlideshowPagination, e as LibOverlays, X as LibTableVariant, ah as CssVerticalAlign, Y as LibMdEditorViews, $ as LibDrawerPosition, a0 as LibNavBurgerPosition, a1 as LibNavMobileVariant, a2 as LibHeaderPosition, a4 as LibFooterLinksSeparator, a3 as LibFooterDirection } from '../global-Bck2LNL3.js';
|
|
3
|
+
import { LibButtonGroupButtonItem, LibListGroupItem, LibAccordionItem, LibDropdownItem, LibDragListItem, LibTabItem, LibMdEditorOptions } from './components-items-props.js';
|
|
4
|
+
import { IFuseOptions } from 'fuse.js';
|
|
5
|
+
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
6
|
+
import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
|
|
7
|
+
import { RequireAtLeastOne } from './require-at-least-one.js';
|
|
8
|
+
import 'csstype';
|
|
9
|
+
|
|
10
|
+
interface ILibTextBase extends LibComponentBase<HTMLHeadingElement & HTMLParagraphElement & HTMLQuoteElement & HTMLDListElement & HTMLOListElement & HTMLUListElement> {
|
|
11
|
+
element?: ElementType;
|
|
12
|
+
color?: LibAllColors;
|
|
13
|
+
linkColor?: LibColorsHover;
|
|
14
|
+
textAlign?: CssTextAlign;
|
|
15
|
+
}
|
|
16
|
+
interface TextDisplay extends ILibTextBase {
|
|
17
|
+
tag?: LibTextDisplay;
|
|
18
|
+
display?: boolean;
|
|
19
|
+
}
|
|
20
|
+
interface TextNoDisplay extends ILibTextBase {
|
|
21
|
+
tag?: LibTextNoDisplay;
|
|
22
|
+
display?: never;
|
|
23
|
+
}
|
|
24
|
+
type ILibText = TextDisplay | TextNoDisplay;
|
|
25
|
+
|
|
26
|
+
interface ILibWrapper extends LibComponentBase<HTMLDivElement> {
|
|
27
|
+
gap?: LibSpacers;
|
|
28
|
+
backgroundColor?: LibAllColors;
|
|
29
|
+
minHeight?: LibMinHeight;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface ILibMain extends LibComponentBase<HTMLDivElement> {
|
|
33
|
+
gap?: LibSpacers;
|
|
34
|
+
backgroundColor?: LibAllColors;
|
|
35
|
+
size?: LibMainSize;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface ILibAside extends LibComponentBase<HTMLDivElement> {
|
|
39
|
+
size?: LibAsideSize;
|
|
40
|
+
backgroundColor?: LibAllColors;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface ILibSection extends LibComponentBase<HTMLDivElement> {
|
|
44
|
+
gap?: LibSpacers;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface ILibGrid extends LibComponentBase<HTMLDivElement> {
|
|
48
|
+
inline?: boolean;
|
|
49
|
+
cols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
50
|
+
gap?: LibSpacers;
|
|
51
|
+
colGap?: LibSpacers;
|
|
52
|
+
rowGap?: LibSpacers;
|
|
53
|
+
justifyItems?: CssJustifyItems;
|
|
54
|
+
alignItems?: CssAlignItems;
|
|
55
|
+
justifyContent?: CssJustifyContent;
|
|
56
|
+
alignContent?: CssAlignContent;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface ILibFlexbox extends LibComponentBase<HTMLDivElement> {
|
|
60
|
+
inline?: boolean;
|
|
61
|
+
flexDirection?: CssFlexDirection;
|
|
62
|
+
flexWrap?: CssFlexWrap;
|
|
63
|
+
justifyContent?: CssJustifyContent;
|
|
64
|
+
alignItems?: CssAlignItems;
|
|
65
|
+
justifyItems?: CssJustifyItems;
|
|
66
|
+
alignContent?: CssAlignContent;
|
|
67
|
+
gap?: LibSpacers;
|
|
68
|
+
colGap?: LibSpacers;
|
|
69
|
+
rowGap?: LibSpacers;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface ILibKey extends LibComponentBase<HTMLSpanElement> {
|
|
73
|
+
children: ReactChildren;
|
|
74
|
+
withSeparator?: boolean;
|
|
75
|
+
size?: LibKeySize;
|
|
76
|
+
accentColor?: Exclude<LibColorsShort, "black" | "white" | "transparent" | "background" | "current">;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type ILibHighlight = ILibText & {
|
|
80
|
+
highlightedText: string;
|
|
81
|
+
highlightStyle?: CSSProperties;
|
|
82
|
+
highlightClasses?: ClassNames;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
type ILibLinkify = ILibText & {
|
|
86
|
+
blank?: boolean;
|
|
87
|
+
children?: string;
|
|
88
|
+
linkClasses?: ClassNames;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
interface ILibHr extends LibComponentBase<HTMLHRElement> {
|
|
92
|
+
children?: never;
|
|
93
|
+
maxWidth?: LibMaxWidth;
|
|
94
|
+
color?: LibAllColors;
|
|
95
|
+
isRounded?: boolean;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
interface ILibSkeletonCommon {
|
|
99
|
+
backgroundColor?: LibAllColors;
|
|
100
|
+
borderRadius?: LibRadiuses;
|
|
101
|
+
}
|
|
102
|
+
interface ILibSkeletonCard extends ILibFlexbox, ILibSkeletonCommon {
|
|
103
|
+
isShiny?: boolean;
|
|
104
|
+
}
|
|
105
|
+
interface ILibSkeletonShine extends LibComponentBase<HTMLSpanElement> {
|
|
106
|
+
children?: never;
|
|
107
|
+
}
|
|
108
|
+
interface ILibSkeleton extends LibComponentBase<HTMLDivElement>, ILibSkeletonCommon {
|
|
109
|
+
animation?: LibSkeletonAnimation;
|
|
110
|
+
children?: never;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
interface ILibTooltip extends LibComponentBase<HTMLSpanElement> {
|
|
114
|
+
tooltip: string | ReactElement$1;
|
|
115
|
+
position?: LibTooltipPosition;
|
|
116
|
+
hideArrow?: boolean;
|
|
117
|
+
trigger?: LibTooltipTrigger;
|
|
118
|
+
backgroundColor?: LibAllColorsAndOverlays;
|
|
119
|
+
textColor?: LibAllColors;
|
|
120
|
+
offset?: LibSpacers;
|
|
121
|
+
tooltipClasses?: ClassNames;
|
|
122
|
+
tooltipStyle?: CSSProperties$1;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
interface ILibImage extends Omit<LibComponentBase<HTMLImageElement>, "element">, ImgHTMLAttributes<HTMLImageElement> {
|
|
126
|
+
caption?: string | {
|
|
127
|
+
text: string;
|
|
128
|
+
backgroundColor?: LibAllColorsAndOverlays;
|
|
129
|
+
textColor?: LibAllColors;
|
|
130
|
+
imgClasses?: Classes;
|
|
131
|
+
captionClasses?: Classes;
|
|
132
|
+
};
|
|
133
|
+
borderRadius?: LibRadiuses;
|
|
134
|
+
fit?: CssObjectFit;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface ILibMasonry extends LibComponentBase<HTMLDivElement> {
|
|
138
|
+
children?: Array<ReactNode>;
|
|
139
|
+
col?: number;
|
|
140
|
+
gap?: LibSpacers;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
interface ILibBadge extends LibComponentBase<HTMLSpanElement> {
|
|
144
|
+
color?: LibAllColors;
|
|
145
|
+
contentColor?: LibAllColors;
|
|
146
|
+
borderRadius?: LibRadiuses;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
interface ILibAvatarBase extends LibComponentBase<HTMLSpanElement> {
|
|
150
|
+
borderRadius?: LibRadiuses;
|
|
151
|
+
borderColor?: LibAllColors;
|
|
152
|
+
backgroundColor?: LibAllColors;
|
|
153
|
+
contentColor?: LibAllColors;
|
|
154
|
+
}
|
|
155
|
+
interface AvatarWithBadge extends ILibAvatarBase {
|
|
156
|
+
badge?: boolean | number | {
|
|
157
|
+
content?: ReactChildren;
|
|
158
|
+
contentColor?: LibAllColors;
|
|
159
|
+
color?: LibAllColors;
|
|
160
|
+
className?: ClassNames;
|
|
161
|
+
};
|
|
162
|
+
containerStyle?: CSSProperties$1;
|
|
163
|
+
containerClassName?: ClassNames;
|
|
164
|
+
}
|
|
165
|
+
interface AvatarWithoutBadge extends ILibAvatarBase {
|
|
166
|
+
badge?: undefined | false;
|
|
167
|
+
containerStyle?: never;
|
|
168
|
+
containerClassName?: never;
|
|
169
|
+
}
|
|
170
|
+
type ILibAvatar = AvatarWithBadge | AvatarWithoutBadge;
|
|
171
|
+
|
|
172
|
+
type ILibLoader = LibComponentBase<HTMLSpanElement> & {
|
|
173
|
+
children?: never;
|
|
174
|
+
variant?: LibLoaderVariant;
|
|
175
|
+
color?: LibAllColors;
|
|
176
|
+
className?: ClassNames;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
interface ILibBurger extends LibComponentBase<HTMLButtonElement>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
180
|
+
children?: never;
|
|
181
|
+
isOpen: boolean;
|
|
182
|
+
color?: LibColorsHover;
|
|
183
|
+
noHover?: boolean;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
interface ILibButtonBase extends LibComponentBase<HTMLButtonElement>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
187
|
+
variant?: LibButtonVariantExtended;
|
|
188
|
+
color?: LibColorsHover;
|
|
189
|
+
size?: LibButtonSize;
|
|
190
|
+
borderRadius?: LibRadiuses;
|
|
191
|
+
}
|
|
192
|
+
interface ButtonWithLoader extends ILibButtonBase {
|
|
193
|
+
isLoading?: boolean;
|
|
194
|
+
loaderVariant?: LibLoaderVariant;
|
|
195
|
+
}
|
|
196
|
+
interface ButtonWithoutLoader extends ILibButtonBase {
|
|
197
|
+
isLoading?: undefined | null;
|
|
198
|
+
loaderVariant?: never;
|
|
199
|
+
}
|
|
200
|
+
type ILibButton = ButtonWithLoader | ButtonWithoutLoader;
|
|
201
|
+
|
|
202
|
+
interface ILibButtonIconBase extends LibComponentBase<HTMLButtonElement>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
203
|
+
children?: never;
|
|
204
|
+
icon: ReactElement$2;
|
|
205
|
+
color?: LibColorsHover;
|
|
206
|
+
borderRadius?: LibRadiuses;
|
|
207
|
+
variant?: LibButtonVariant;
|
|
208
|
+
}
|
|
209
|
+
interface ButtonIconLoading extends ILibButtonIconBase {
|
|
210
|
+
isLoading?: boolean;
|
|
211
|
+
loaderVariant?: LibLoaderVariant;
|
|
212
|
+
loaderClasses?: ClassNames;
|
|
213
|
+
}
|
|
214
|
+
interface ButtonIconNotLoading extends ILibButtonIconBase {
|
|
215
|
+
isLoading?: undefined | null;
|
|
216
|
+
loaderVariant?: never;
|
|
217
|
+
loaderClasses?: never;
|
|
218
|
+
}
|
|
219
|
+
type ButtonIconLoader = ButtonIconLoading | ButtonIconNotLoading;
|
|
220
|
+
type ButtonIconWithTooltip = ButtonIconLoader & {
|
|
221
|
+
tooltip?: string;
|
|
222
|
+
showTooltip?: boolean | LibTooltipPositionOptions;
|
|
223
|
+
containerStyle?: CSSProperties$1;
|
|
224
|
+
containerClasses?: ClassNames;
|
|
225
|
+
};
|
|
226
|
+
type ButtonIconWithoutTooltip = ButtonIconLoader & {
|
|
227
|
+
tooltip?: undefined | null;
|
|
228
|
+
showTooltip?: never;
|
|
229
|
+
containerStyle?: never;
|
|
230
|
+
containerClasses?: never;
|
|
231
|
+
};
|
|
232
|
+
type ILibButtonIcon = ButtonIconWithTooltip | ButtonIconWithoutTooltip;
|
|
233
|
+
|
|
234
|
+
interface ILibButtonGroupBase extends ILibFlexbox {
|
|
235
|
+
color?: LibColorsHover;
|
|
236
|
+
variant?: LibButtonVariant;
|
|
237
|
+
borderRadius?: LibRadiuses;
|
|
238
|
+
size?: LibButtonSize;
|
|
239
|
+
}
|
|
240
|
+
interface ButtonGroupWithChildren extends ILibButtonGroupBase {
|
|
241
|
+
children?: ReactChildren;
|
|
242
|
+
buttons?: never;
|
|
243
|
+
}
|
|
244
|
+
interface ButtonGroupWithButtons extends ILibButtonGroupBase {
|
|
245
|
+
children?: never;
|
|
246
|
+
buttons: Array<LibButtonGroupButtonItem>;
|
|
247
|
+
}
|
|
248
|
+
type ILibButtonGroup = ButtonGroupWithChildren | ButtonGroupWithButtons;
|
|
249
|
+
|
|
250
|
+
interface ILibTag extends LibComponentBase<HTMLSpanElement> {
|
|
251
|
+
color?: LibAllColors;
|
|
252
|
+
contentColor?: LibAllColors;
|
|
253
|
+
borderRadius?: LibRadiuses;
|
|
254
|
+
variant?: LibTagVariant;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
interface ILibInputBase {
|
|
258
|
+
ref?: RefObject<HTMLInputElement & HTMLSelectElement & HTMLTextAreaElement>;
|
|
259
|
+
helper?: ReactChildren;
|
|
260
|
+
helperBottom?: ReactChildren;
|
|
261
|
+
value?: any;
|
|
262
|
+
inputVariant?: LibInputVariant;
|
|
263
|
+
inputBackground?: LibInputBackground;
|
|
264
|
+
}
|
|
265
|
+
interface InputWithLabel extends ILibInputBase {
|
|
266
|
+
label?: ReactChildren;
|
|
267
|
+
labelComment?: ReactChildren;
|
|
268
|
+
}
|
|
269
|
+
interface InputWithoutLabel extends ILibInputBase {
|
|
270
|
+
label?: undefined;
|
|
271
|
+
labelComment?: never;
|
|
272
|
+
}
|
|
273
|
+
type ILibInputCommon = InputWithLabel | InputWithoutLabel;
|
|
274
|
+
type InputWithCounter = ILibInputCommon & {
|
|
275
|
+
counter?: true;
|
|
276
|
+
maxLength?: number;
|
|
277
|
+
};
|
|
278
|
+
type InputWithoutCounter = ILibInputCommon & {
|
|
279
|
+
counter?: false | undefined;
|
|
280
|
+
maxLength?: never;
|
|
281
|
+
};
|
|
282
|
+
type ILibInputExtended = InputWithCounter | InputWithoutCounter;
|
|
283
|
+
type ILibInputWithList = ILibInputExtended & {
|
|
284
|
+
listDirection?: LibInputListDirection;
|
|
285
|
+
};
|
|
286
|
+
type ILibValidationStatus = boolean | undefined;
|
|
287
|
+
interface ILibInputWithValidation {
|
|
288
|
+
validation?: LibInputValidation;
|
|
289
|
+
}
|
|
290
|
+
interface ILibInputWithIcon {
|
|
291
|
+
icon?: ReactElement;
|
|
292
|
+
}
|
|
293
|
+
interface ILibInputWithPrefix {
|
|
294
|
+
prefix?: string;
|
|
295
|
+
}
|
|
296
|
+
interface ILibInputWithSuffix {
|
|
297
|
+
suffix?: string;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
type ILibInputContainer = LibComponentBase<HTMLDivElement> & Omit<ILibInputWithList, "inputBackground" | "inputVariant"> & ILibInputWithValidation & {
|
|
301
|
+
hasListOpen?: boolean;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
type ILibColorInput = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputCommon & ILibInputWithValidation & {
|
|
305
|
+
type: "color";
|
|
306
|
+
};
|
|
307
|
+
type ILibDateInput = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputCommon & ILibInputWithIcon & ILibInputWithValidation & {
|
|
308
|
+
type: "date" | "datetime-local" | "month" | "week";
|
|
309
|
+
iconCalendar?: ReactElement$2;
|
|
310
|
+
};
|
|
311
|
+
type ILibFileInput = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputCommon & ILibInputWithValidation & {
|
|
312
|
+
type: "file";
|
|
313
|
+
};
|
|
314
|
+
type ILibPasswordInputBase = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputExtended & ILibInputWithIcon & ILibInputWithValidation & ILibInputWithPrefix & {
|
|
315
|
+
type: "password";
|
|
316
|
+
};
|
|
317
|
+
type PasswordInputWithButtonIcon = ILibPasswordInputBase & {
|
|
318
|
+
hideButton?: false;
|
|
319
|
+
button?: {
|
|
320
|
+
iconShow?: ReactElement$2;
|
|
321
|
+
iconHide?: ReactElement$2;
|
|
322
|
+
textShow?: never;
|
|
323
|
+
textHide?: never;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
type PasswordWithButtonText = ILibPasswordInputBase & {
|
|
327
|
+
hideButton?: false;
|
|
328
|
+
button?: {
|
|
329
|
+
iconShow?: never;
|
|
330
|
+
iconHide?: never;
|
|
331
|
+
textShow?: string;
|
|
332
|
+
textHide?: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
type PasswordWithoutButton = ILibPasswordInputBase & {
|
|
336
|
+
hideButton?: true;
|
|
337
|
+
button?: never;
|
|
338
|
+
};
|
|
339
|
+
type ILibPasswordInput = PasswordInputWithButtonIcon | PasswordWithButtonText | PasswordWithoutButton;
|
|
340
|
+
type ILibSearchInputBase = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputExtended & ILibInputWithIcon & ILibInputWithPrefix & {
|
|
341
|
+
type: "search";
|
|
342
|
+
clearSearch?: MouseEventHandler<HTMLButtonElement>;
|
|
343
|
+
iconClear?: ReactElement$2;
|
|
344
|
+
};
|
|
345
|
+
type SearchInputShowKeys = ILibSearchInputBase & {
|
|
346
|
+
focusKeys?: Array<string>;
|
|
347
|
+
showKeys?: boolean;
|
|
348
|
+
};
|
|
349
|
+
type SearchInputHideKeys = ILibSearchInputBase & {
|
|
350
|
+
focusKeys?: undefined;
|
|
351
|
+
showKeys?: never;
|
|
352
|
+
};
|
|
353
|
+
type ILibSearchInput = SearchInputShowKeys | SearchInputHideKeys;
|
|
354
|
+
type ILibSelectInput = Omit<SelectHTMLAttributes<HTMLSelectElement>, "prefix"> & ILibInputCommon & ILibInputWithIcon & ILibInputWithValidation & {
|
|
355
|
+
type: "select";
|
|
356
|
+
iconSelect?: ReactElement$2;
|
|
357
|
+
children?: ReactChildren;
|
|
358
|
+
};
|
|
359
|
+
type ILibTextareaInput = TextareaHTMLAttributes<HTMLTextAreaElement> & Omit<ILibInputCommon, "inputVariant"> & ILibInputWithValidation & {
|
|
360
|
+
ref?: Ref<HTMLTextAreaElement>;
|
|
361
|
+
type: "textarea";
|
|
362
|
+
};
|
|
363
|
+
type ILibTextInput = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputExtended & ILibInputWithIcon & ILibInputWithValidation & ILibInputWithPrefix & ILibInputWithSuffix & {
|
|
364
|
+
type?: "email" | "number" | "tel" | "text" | "url" | undefined;
|
|
365
|
+
};
|
|
366
|
+
type ILibTimeInput = Omit<InputHTMLAttributes<HTMLInputElement>, "prefix"> & ILibInputCommon & ILibInputWithIcon & ILibInputWithValidation & ILibInputWithPrefix & {
|
|
367
|
+
type: "time";
|
|
368
|
+
iconClock?: ReactElement$2;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
type ILibInput = ILibColorInput | ILibDateInput | ILibFileInput | ILibPasswordInput | ILibSearchInput | ILibSelectInput | ILibTextInput | ILibTextareaInput | ILibTimeInput;
|
|
372
|
+
|
|
373
|
+
type ILibInputImage = Omit<InputHTMLAttributes<HTMLInputElement>, "element"> & Omit<ILibInputCommon, "inputVariant" | "inputBackground"> & ILibInputWithValidation & {
|
|
374
|
+
ref?: Ref<HTMLLabelElement>;
|
|
375
|
+
children?: never;
|
|
376
|
+
id: string;
|
|
377
|
+
value: string;
|
|
378
|
+
borderRadius?: LibRadiuses;
|
|
379
|
+
icons?: {
|
|
380
|
+
empty?: ReactElement$2;
|
|
381
|
+
hover?: ReactElement$2;
|
|
382
|
+
};
|
|
383
|
+
type?: never;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
type ILibInputCheckBase = Omit<LibComponentBase<HTMLInputElement>, "element"> & InputHTMLAttributes<HTMLInputElement> & {
|
|
387
|
+
ref?: Ref<HTMLLabelElement>;
|
|
388
|
+
id: string;
|
|
389
|
+
validation?: ILibValidationStatus;
|
|
390
|
+
variant?: LibCheckInputVariant;
|
|
391
|
+
};
|
|
392
|
+
interface InputCheckbox extends ILibInputCheckBase {
|
|
393
|
+
type?: "checkbox";
|
|
394
|
+
iconCheck?: ReactElement$2;
|
|
395
|
+
}
|
|
396
|
+
interface InputRadio extends ILibInputCheckBase {
|
|
397
|
+
type?: "radio";
|
|
398
|
+
iconCheck?: never;
|
|
399
|
+
}
|
|
400
|
+
type ILibInputCheck = InputCheckbox | InputRadio;
|
|
401
|
+
|
|
402
|
+
type ILibInputPhone = Omit<LibComponentBase<HTMLInputElement>, "element"> & InputHTMLAttributes<HTMLInputElement> & ILibInputCommon & ILibInputWithValidation & {
|
|
403
|
+
selectedCountry: LibCountry;
|
|
404
|
+
setSelectedCountry: DispatchState<LibCountry>;
|
|
405
|
+
defaultCountry?: CountryCode;
|
|
406
|
+
icons?: {
|
|
407
|
+
search?: ReactElement$2;
|
|
408
|
+
caret?: ReactElement$2;
|
|
409
|
+
};
|
|
410
|
+
searchPlaceholder?: string;
|
|
411
|
+
listDirection?: LibInputListDirection;
|
|
412
|
+
countryButtonAriaLabel?: string;
|
|
413
|
+
textNoResult?: string;
|
|
414
|
+
type?: never;
|
|
415
|
+
children?: never;
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
type ILibInputCounterBase = Omit<LibComponentBase<HTMLInputElement>, "element"> & InputHTMLAttributes<HTMLInputElement> & ILibInputCommon & {
|
|
419
|
+
value: number;
|
|
420
|
+
setValue: DispatchState<number>;
|
|
421
|
+
buttonVariant?: LibButtonVariant;
|
|
422
|
+
icons?: {
|
|
423
|
+
minus?: ReactElement$2;
|
|
424
|
+
plus?: ReactElement$2;
|
|
425
|
+
};
|
|
426
|
+
labelButtons?: {
|
|
427
|
+
minus?: string;
|
|
428
|
+
plus?: string;
|
|
429
|
+
};
|
|
430
|
+
buttonsColor?: LibColorsHover;
|
|
431
|
+
showButtonsTooltip?: boolean;
|
|
432
|
+
min?: number;
|
|
433
|
+
max?: number;
|
|
434
|
+
step?: number;
|
|
435
|
+
type?: never;
|
|
436
|
+
children?: never;
|
|
437
|
+
};
|
|
438
|
+
type CounterWithInput = ILibInputCounterBase & {
|
|
439
|
+
noInput?: false | undefined;
|
|
440
|
+
inputVariant?: LibInputVariant;
|
|
441
|
+
inputBackground?: LibInputBackground;
|
|
442
|
+
};
|
|
443
|
+
type CounterWithoutInput = ILibInputCounterBase & {
|
|
444
|
+
noInput?: true;
|
|
445
|
+
inputVariant?: never;
|
|
446
|
+
inputBackground?: never;
|
|
447
|
+
};
|
|
448
|
+
type ILibInputCounter = CounterWithInput | CounterWithoutInput;
|
|
449
|
+
|
|
450
|
+
type ILibInputSlider = Omit<LibComponentBase<HTMLInputElement>, "element"> & InputHTMLAttributes<HTMLInputElement> & ILibInputCommon & ILibInputWithValidation & {
|
|
451
|
+
showMinMax?: boolean;
|
|
452
|
+
showValue?: "hover" | "always" | "never";
|
|
453
|
+
min?: number;
|
|
454
|
+
max?: number;
|
|
455
|
+
value?: number;
|
|
456
|
+
type?: never;
|
|
457
|
+
children?: never;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
type ILibSelect = Omit<LibComponentBase<HTMLButtonElement>, "prefix" | "element"> & ButtonHTMLAttributes<HTMLButtonElement> & ILibInputCommon & ILibInputWithValidation & ILibInputWithPrefix & ILibInputWithList & {
|
|
461
|
+
value: string;
|
|
462
|
+
setValue: DispatchState<string>;
|
|
463
|
+
options: Array<string>;
|
|
464
|
+
icons?: {
|
|
465
|
+
left?: ReactElement;
|
|
466
|
+
caret?: ReactElement;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
type ILibAutocompleteBase = InputHTMLAttributes<HTMLInputElement> & Omit<LibComponentBase<HTMLInputElement>, "element"> & ILibInputCommon & ILibInputWithValidation & ILibInputWithList & {
|
|
471
|
+
value: string;
|
|
472
|
+
setValue: DispatchState<string>;
|
|
473
|
+
listResults: Array<string>;
|
|
474
|
+
textNoResult?: string;
|
|
475
|
+
fuzzyOptions?: IFuseOptions<string>;
|
|
476
|
+
icons?: {
|
|
477
|
+
left?: ReactElement$2;
|
|
478
|
+
clear?: ReactElement$2;
|
|
479
|
+
};
|
|
480
|
+
children?: never;
|
|
481
|
+
type?: never;
|
|
482
|
+
};
|
|
483
|
+
type AutocompleteWithKeys = ILibAutocompleteBase & {
|
|
484
|
+
focusKeys?: Array<string>;
|
|
485
|
+
showKeys?: boolean;
|
|
486
|
+
};
|
|
487
|
+
type AutocompleteWithoutKeys = ILibAutocompleteBase & {
|
|
488
|
+
focusKeys?: undefined;
|
|
489
|
+
showKeys?: never;
|
|
490
|
+
};
|
|
491
|
+
type ILibAutocomplete = AutocompleteWithKeys | AutocompleteWithoutKeys;
|
|
492
|
+
|
|
493
|
+
type ILibRatingBase = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<ILibInputCommon, "inputVariant" | "inputBackground"> & ILibInputWithValidation & {
|
|
494
|
+
rating: number;
|
|
495
|
+
icons?: {
|
|
496
|
+
default?: ReactElement$2;
|
|
497
|
+
checked?: ReactElement$2;
|
|
498
|
+
};
|
|
499
|
+
children?: never;
|
|
500
|
+
};
|
|
501
|
+
type RatingEditable = ILibRatingBase & {
|
|
502
|
+
setRating: DispatchState<number>;
|
|
503
|
+
readOnly?: never;
|
|
504
|
+
};
|
|
505
|
+
type RatingReadOnly = ILibRatingBase & {
|
|
506
|
+
setRating?: never;
|
|
507
|
+
readOnly?: true;
|
|
508
|
+
};
|
|
509
|
+
type ILibRating = RatingEditable | RatingReadOnly;
|
|
510
|
+
|
|
511
|
+
type ILibInputPin = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<ILibInputCommon, "inputVariant"> & ILibInputWithValidation & {
|
|
512
|
+
values: LibValueInputPin;
|
|
513
|
+
setValues: DispatchState<LibValueInputPin>;
|
|
514
|
+
placeholders?: Array<string>;
|
|
515
|
+
hideValues?: boolean;
|
|
516
|
+
disabled?: boolean;
|
|
517
|
+
children?: never;
|
|
518
|
+
placeholder?: never;
|
|
519
|
+
onChange?: never;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
type ILibFieldset = Omit<LibComponentBase<HTMLFieldSetElement>, "element"> & Omit<ILibInputCommon, "inputBackground" | "inputVariant"> & ILibInputWithValidation & {
|
|
523
|
+
legend: string;
|
|
524
|
+
borderRadius?: LibRadiuses;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
interface ILibFormBase extends Omit<LibComponentBase<HTMLFormElement>, "element">, FormHTMLAttributes<HTMLFormElement> {
|
|
528
|
+
isLoading?: boolean;
|
|
529
|
+
loaderVariant?: LibLoaderVariant;
|
|
530
|
+
disabled?: boolean;
|
|
531
|
+
}
|
|
532
|
+
interface FormWithButton extends ILibFormBase {
|
|
533
|
+
buttonPrimary?: ReactChildren;
|
|
534
|
+
buttonSecondary?: {
|
|
535
|
+
content: ReactChildren;
|
|
536
|
+
type?: "button" | "reset";
|
|
537
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
538
|
+
disabled?: boolean;
|
|
539
|
+
element?: ElementType;
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
interface FormWithoutButton extends ILibFormBase {
|
|
543
|
+
buttonPrimary?: undefined;
|
|
544
|
+
buttonSecondary?: never;
|
|
545
|
+
}
|
|
546
|
+
type ILibForm = FormWithButton | FormWithoutButton;
|
|
547
|
+
|
|
548
|
+
interface ILibListGroupBase extends Omit<LibComponentBase<HTMLDivElement>, "title"> {
|
|
549
|
+
title?: string | {
|
|
550
|
+
text: string;
|
|
551
|
+
isFixed?: boolean;
|
|
552
|
+
className?: ClassNames;
|
|
553
|
+
ref?: Ref<HTMLDivElement>;
|
|
554
|
+
shadowOnScroll?: LibShadows;
|
|
555
|
+
};
|
|
556
|
+
noSeparator?: boolean;
|
|
557
|
+
showNumbers?: boolean;
|
|
558
|
+
}
|
|
559
|
+
interface ListGroupWithItems extends ILibListGroupBase {
|
|
560
|
+
items: Array<LibListGroupItem>;
|
|
561
|
+
children?: never;
|
|
562
|
+
}
|
|
563
|
+
interface ListGroupWithChildren extends ILibListGroupBase {
|
|
564
|
+
items?: never;
|
|
565
|
+
children?: ReactChildren;
|
|
566
|
+
}
|
|
567
|
+
type ILibListGroup = ListGroupWithItems | ListGroupWithChildren;
|
|
568
|
+
interface ILibListGroupTitleBase extends LibComponentBase<HTMLDivElement> {
|
|
569
|
+
isFixed?: boolean;
|
|
570
|
+
noSeparator?: boolean;
|
|
571
|
+
}
|
|
572
|
+
interface ListGroupTitleWithShadow extends ILibListGroupTitleBase {
|
|
573
|
+
shadow?: LibShadows;
|
|
574
|
+
listRef: Ref<HTMLDivElement>;
|
|
575
|
+
}
|
|
576
|
+
interface ListGroupTitleWithoutShadow extends ILibListGroupTitleBase {
|
|
577
|
+
shadow?: null | undefined;
|
|
578
|
+
listRef?: Ref<HTMLDivElement>;
|
|
579
|
+
}
|
|
580
|
+
type ILibListGroupTitle = ListGroupTitleWithShadow | ListGroupTitleWithoutShadow;
|
|
581
|
+
interface ILibListGroupItem extends Omit<LibComponentBase<HTMLDivElement>, "title"> {
|
|
582
|
+
title: ReactChildren;
|
|
583
|
+
body?: ReactChildren;
|
|
584
|
+
contentRight?: ReactChildren;
|
|
585
|
+
noSeparator?: boolean;
|
|
586
|
+
number?: number;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
interface ILibBreadcrumbs extends LibComponentBase<HTMLDivElement> {
|
|
590
|
+
separator?: ReactChildren;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
interface ILibAccordionBase extends LibComponentBase<HTMLDivElement> {
|
|
594
|
+
variant?: LibAccordionVariant;
|
|
595
|
+
icon?: LibAccordionIcon;
|
|
596
|
+
}
|
|
597
|
+
interface AccordionWithItems extends ILibAccordionBase {
|
|
598
|
+
items?: Array<LibAccordionItem>;
|
|
599
|
+
children?: never;
|
|
600
|
+
}
|
|
601
|
+
interface AccordionWithChildren extends ILibAccordionBase {
|
|
602
|
+
items?: never;
|
|
603
|
+
children?: ReactChildren;
|
|
604
|
+
}
|
|
605
|
+
type ILibAccordion = AccordionWithItems | AccordionWithChildren;
|
|
606
|
+
interface ILibAccordionItem extends Omit<LibComponentBase<HTMLDivElement>, "title"> {
|
|
607
|
+
title: ReactChildren;
|
|
608
|
+
children?: ReactChildren;
|
|
609
|
+
icon?: LibAccordionIcon;
|
|
610
|
+
variant?: LibAccordionVariant;
|
|
611
|
+
defaultOpen?: boolean;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
interface ILibDropdownBase extends LibComponentBase<HTMLDivElement> {
|
|
615
|
+
isOpen: boolean;
|
|
616
|
+
setIsOpen: DispatchState<boolean>;
|
|
617
|
+
direction?: LibInputListDirection;
|
|
618
|
+
shadow?: LibShadows;
|
|
619
|
+
borderRadius?: LibRadiuses;
|
|
620
|
+
}
|
|
621
|
+
interface DropdownWithItems extends ILibDropdownBase {
|
|
622
|
+
items?: Array<LibDropdownItem>;
|
|
623
|
+
children?: never;
|
|
624
|
+
}
|
|
625
|
+
interface DropdownWithChildren extends ILibDropdownBase {
|
|
626
|
+
items?: never;
|
|
627
|
+
children?: ReactChildren;
|
|
628
|
+
}
|
|
629
|
+
type ILibDropdown = DropdownWithItems | DropdownWithChildren;
|
|
630
|
+
interface ILibDropdownItem extends LibComponentBase<HTMLButtonElement> {
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
interface ILibToast extends Omit<LibComponentBase<HTMLDivElement>, "title"> {
|
|
634
|
+
title: ReactChildren;
|
|
635
|
+
status?: LibToastStatus;
|
|
636
|
+
body?: ReactChildren;
|
|
637
|
+
hideCloseButton?: boolean;
|
|
638
|
+
closeToast?: () => void;
|
|
639
|
+
iconClose?: ReactElement$2;
|
|
640
|
+
loaderVariant?: LibLoaderVariant;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
interface ILibAlert extends LibComponentBase<HTMLDivElement> {
|
|
644
|
+
color?: Exclude<LibColorsShort, "transparent" | "black" | "white" | "current" | "background">;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
interface ILibModalBase extends LibComponentBase<HTMLDivElement> {
|
|
648
|
+
isOpen: boolean;
|
|
649
|
+
setIsOpen: DispatchState<boolean>;
|
|
650
|
+
disableEsc?: boolean;
|
|
651
|
+
}
|
|
652
|
+
interface ModalWithCloseButton extends ILibModalBase {
|
|
653
|
+
hideCloseButton?: false | undefined;
|
|
654
|
+
closeIcon?: ReactElement$2;
|
|
655
|
+
labelClose?: string;
|
|
656
|
+
}
|
|
657
|
+
interface ModalWithoutCloseButton extends ILibModalBase {
|
|
658
|
+
hideCloseButton?: true;
|
|
659
|
+
closeIcon?: never;
|
|
660
|
+
labelClose?: never;
|
|
661
|
+
}
|
|
662
|
+
type ILibModal = ModalWithCloseButton | ModalWithoutCloseButton;
|
|
663
|
+
|
|
664
|
+
interface ILibDragListBase extends LibComponentBase<HTMLDivElement> {
|
|
665
|
+
iconDrag?: ReactElement$2;
|
|
666
|
+
borderRadius?: LibRadiuses;
|
|
667
|
+
}
|
|
668
|
+
interface DragListWithItems extends ILibDragListBase {
|
|
669
|
+
items: Array<LibDragListItem>;
|
|
670
|
+
setItems: DispatchState<Array<LibDragListItem>>;
|
|
671
|
+
hideSeparator?: boolean;
|
|
672
|
+
children?: never;
|
|
673
|
+
}
|
|
674
|
+
interface DragListWithChildren extends ILibDragListBase {
|
|
675
|
+
items?: never;
|
|
676
|
+
setItems?: never;
|
|
677
|
+
hideSeparator?: never;
|
|
678
|
+
children?: ReactChildren;
|
|
679
|
+
}
|
|
680
|
+
type ILibDragList = DragListWithItems | DragListWithChildren;
|
|
681
|
+
interface ILibDragListItemBase extends Omit<LibComponentBase<HTMLDivElement>, "title"> {
|
|
682
|
+
index: number;
|
|
683
|
+
iconDrag?: ReactElement$2;
|
|
684
|
+
iconLabel?: string;
|
|
685
|
+
handleDragStart: (e: DragEvent<HTMLDivElement>, i: number) => void;
|
|
686
|
+
handleDragOver: (e: DragEvent<HTMLDivElement>, i: number) => void;
|
|
687
|
+
}
|
|
688
|
+
interface DragListItemWithItem extends ILibDragListItemBase {
|
|
689
|
+
item: LibDragListItem;
|
|
690
|
+
children?: never;
|
|
691
|
+
}
|
|
692
|
+
interface DragListItemWithChildren extends ILibDragListItemBase {
|
|
693
|
+
item?: never;
|
|
694
|
+
children?: ReactChildren;
|
|
695
|
+
}
|
|
696
|
+
type ILibDragListItem = DragListItemWithItem | DragListItemWithChildren;
|
|
697
|
+
|
|
698
|
+
interface ILibPaginationBase extends LibComponentBase<HTMLDivElement> {
|
|
699
|
+
accentColor?: LibColorsHover;
|
|
700
|
+
}
|
|
701
|
+
interface PaginationWithItems extends ILibPaginationBase {
|
|
702
|
+
currentPage: number;
|
|
703
|
+
setCurrentPage: DispatchState<number>;
|
|
704
|
+
totalPages: number;
|
|
705
|
+
pageLimit?: number;
|
|
706
|
+
icons?: {
|
|
707
|
+
prev?: ReactElement$2;
|
|
708
|
+
next?: ReactElement$2;
|
|
709
|
+
};
|
|
710
|
+
children?: never;
|
|
711
|
+
}
|
|
712
|
+
interface PaginationWithChildren extends ILibPaginationBase {
|
|
713
|
+
currentPage?: never;
|
|
714
|
+
setCurrentPage?: never;
|
|
715
|
+
totalPages?: never;
|
|
716
|
+
pageLimit?: never;
|
|
717
|
+
icons?: never;
|
|
718
|
+
children: ReactChildren;
|
|
719
|
+
}
|
|
720
|
+
type ILibPagination = PaginationWithItems | PaginationWithChildren;
|
|
721
|
+
interface ILibPaginationButtonBase extends LibComponentBase<HTMLButtonElement>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
722
|
+
accentColor?: LibColorsHover;
|
|
723
|
+
}
|
|
724
|
+
interface PaginationButtonActive extends ILibPaginationButtonBase {
|
|
725
|
+
isActive: boolean;
|
|
726
|
+
readOnly?: never;
|
|
727
|
+
}
|
|
728
|
+
interface PaginationButtonReadOnly extends ILibPaginationButtonBase {
|
|
729
|
+
isActive?: never;
|
|
730
|
+
readOnly: true;
|
|
731
|
+
}
|
|
732
|
+
type ILibPaginationButton = PaginationButtonActive | PaginationButtonReadOnly;
|
|
733
|
+
|
|
734
|
+
interface ILibPaginator extends LibComponentBase<HTMLDivElement> {
|
|
735
|
+
totalPages: number;
|
|
736
|
+
currentPage: number;
|
|
737
|
+
setCurrentPage: DispatchState<number>;
|
|
738
|
+
noInput?: boolean;
|
|
739
|
+
texts?: {
|
|
740
|
+
page?: string;
|
|
741
|
+
of?: string;
|
|
742
|
+
};
|
|
743
|
+
icons?: {
|
|
744
|
+
prev?: ReactElement$2;
|
|
745
|
+
next?: ReactElement$2;
|
|
746
|
+
};
|
|
747
|
+
labels?: {
|
|
748
|
+
prev?: string;
|
|
749
|
+
next?: string;
|
|
750
|
+
};
|
|
751
|
+
hideButtonsTooltip?: boolean;
|
|
752
|
+
handlePrev?: () => void;
|
|
753
|
+
handleNext?: () => void;
|
|
754
|
+
handlePage?: (n: number) => void;
|
|
755
|
+
children?: never;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
interface ILibProgressBar extends Omit<LibComponentBase<HTMLMeterElement>, "element">, MeterHTMLAttributes<HTMLMeterElement> {
|
|
759
|
+
value: number;
|
|
760
|
+
color?: Exclude<LibColorsShort, "transparent" | "current" | "black" | "background">;
|
|
761
|
+
noAnimation?: boolean;
|
|
762
|
+
children?: never;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
interface ILibProgressCircleBase extends LibComponentBase<HTMLDivElement> {
|
|
766
|
+
value: number;
|
|
767
|
+
size?: number;
|
|
768
|
+
strokeWidth?: number;
|
|
769
|
+
noAnimation?: boolean;
|
|
770
|
+
color?: Exclude<LibColorsShort, "transparent" | "current" | "black" | "background">;
|
|
771
|
+
children?: never;
|
|
772
|
+
}
|
|
773
|
+
interface ProgressCircleWithNumber extends ILibProgressCircleBase {
|
|
774
|
+
showValue?: true;
|
|
775
|
+
icon?: never;
|
|
776
|
+
}
|
|
777
|
+
interface ProgressCircleWithIcon extends ILibProgressCircleBase {
|
|
778
|
+
showValue?: never;
|
|
779
|
+
icon?: ReactElement$2;
|
|
780
|
+
}
|
|
781
|
+
type ILibProgressCircle = ProgressCircleWithNumber | ProgressCircleWithIcon;
|
|
782
|
+
|
|
783
|
+
interface ILibTabsContainer extends LibComponentBase<HTMLDivElement> {
|
|
784
|
+
}
|
|
785
|
+
interface ILibTabsButtonsContainer extends LibComponentBase<HTMLDivElement> {
|
|
786
|
+
justify?: LibTabsJustify;
|
|
787
|
+
variant?: LibTabsVariant;
|
|
788
|
+
}
|
|
789
|
+
interface ILibTabsButton extends LibComponentBase<HTMLButtonElement>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
790
|
+
isActive: boolean;
|
|
791
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
792
|
+
justify?: LibTabsJustify;
|
|
793
|
+
variant?: LibTabsVariant;
|
|
794
|
+
}
|
|
795
|
+
interface ILibTabContent extends LibComponentBase<HTMLDivElement> {
|
|
796
|
+
isActive: boolean;
|
|
797
|
+
}
|
|
798
|
+
interface ILibTabs extends LibComponentBase<HTMLDivElement> {
|
|
799
|
+
items: Array<LibTabItem>;
|
|
800
|
+
justify?: LibTabsJustify;
|
|
801
|
+
variant?: LibTabsVariant;
|
|
802
|
+
activeTab?: number;
|
|
803
|
+
children?: never;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
interface ILibPaginationControls {
|
|
807
|
+
className?: string;
|
|
808
|
+
size?: LibSlideshowButtonsSize;
|
|
809
|
+
color?: LibColorsHover;
|
|
810
|
+
hideOnTouch?: boolean;
|
|
811
|
+
icons?: {
|
|
812
|
+
prev?: ReactElement$2;
|
|
813
|
+
next?: ReactElement$2;
|
|
814
|
+
};
|
|
815
|
+
labelPrev?: string;
|
|
816
|
+
labelNext?: string;
|
|
817
|
+
}
|
|
818
|
+
interface ILibPaginationOptions {
|
|
819
|
+
autoPlay?: number;
|
|
820
|
+
speed?: number;
|
|
821
|
+
}
|
|
822
|
+
interface ILibSlideshowPagination {
|
|
823
|
+
position?: LibSlideshowPaginationPosition;
|
|
824
|
+
hideOnTouch?: boolean;
|
|
825
|
+
color?: LibColorsHover;
|
|
826
|
+
type?: LibSlideshowPagination;
|
|
827
|
+
}
|
|
828
|
+
interface ILibSlideshowPagination extends Pick<ILibSlideshow, "className" | "pagination" | "images" | "hidePagination"> {
|
|
829
|
+
active: number;
|
|
830
|
+
setActive: DispatchState<number>;
|
|
831
|
+
contentLength: number;
|
|
832
|
+
handleClick: (n: number) => void;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
interface ILibSlideshowBase extends LibComponentBase<HTMLDivElement> {
|
|
836
|
+
imgFit?: CssObjectFit;
|
|
837
|
+
hideControls?: boolean;
|
|
838
|
+
controls?: ILibPaginationControls;
|
|
839
|
+
options?: ILibPaginationOptions;
|
|
840
|
+
borderRadius?: LibRadiuses;
|
|
841
|
+
}
|
|
842
|
+
interface SlideshowWithImages extends ILibSlideshowBase {
|
|
843
|
+
images?: Array<string>;
|
|
844
|
+
hidePagination?: boolean;
|
|
845
|
+
pagination?: Pick<ILibSlideshowPagination, "color" | "className" | "hideOnTouch" | "images" | "pagination" | "hidePagination" | "position" | "type">;
|
|
846
|
+
children?: never;
|
|
847
|
+
}
|
|
848
|
+
interface SlideshowWithChildren extends ILibSlideshowBase {
|
|
849
|
+
images?: never;
|
|
850
|
+
hidePagination?: boolean;
|
|
851
|
+
pagination?: ILibSlideshowPagination;
|
|
852
|
+
children?: Array<ReactNode>;
|
|
853
|
+
}
|
|
854
|
+
type ILibSlideshow = SlideshowWithImages | SlideshowWithChildren;
|
|
855
|
+
|
|
856
|
+
interface ILibCover extends LibComponentBase<HTMLDivElement>, ILibFlexbox {
|
|
857
|
+
img: string;
|
|
858
|
+
alt?: string;
|
|
859
|
+
overlay?: LibOverlays;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
interface ILibTableBase extends Omit<LibComponentBase<HTMLTableElement>, "element"> {
|
|
863
|
+
variant?: LibTableVariant;
|
|
864
|
+
vAlign?: CssVerticalAlign;
|
|
865
|
+
textAlign?: CssTextAlign;
|
|
866
|
+
headers?: Array<ReactChildren>;
|
|
867
|
+
footers?: Array<ReactChildren>;
|
|
868
|
+
}
|
|
869
|
+
interface TableWithData extends ILibTableBase {
|
|
870
|
+
headers: Array<ReactChildren>;
|
|
871
|
+
data: Array<Array<ReactChildren>>;
|
|
872
|
+
children?: never;
|
|
873
|
+
}
|
|
874
|
+
interface TableWithChildren extends ILibTableBase {
|
|
875
|
+
data?: never;
|
|
876
|
+
children?: ReactChildren;
|
|
877
|
+
}
|
|
878
|
+
type ILibTableContent = TableWithData | TableWithChildren;
|
|
879
|
+
type TableWithLinkify = ILibTableContent & {
|
|
880
|
+
linkify?: boolean;
|
|
881
|
+
blank?: boolean;
|
|
882
|
+
};
|
|
883
|
+
type TableWithoutLinkify = ILibTableContent & {
|
|
884
|
+
linkify?: undefined | false;
|
|
885
|
+
blank?: never;
|
|
886
|
+
};
|
|
887
|
+
type ILibTable = TableWithLinkify | TableWithoutLinkify;
|
|
888
|
+
|
|
889
|
+
interface ILibPageLoading extends LibComponentBase<HTMLDivElement> {
|
|
890
|
+
backgroundColor?: LibAllColors;
|
|
891
|
+
loaderColor?: LibAllColors;
|
|
892
|
+
loaderVariant?: LibLoaderVariant;
|
|
893
|
+
stopScrolling?: boolean;
|
|
894
|
+
children?: never;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
interface ILibSticky extends LibComponentBase<HTMLDivElement> {
|
|
898
|
+
top?: LibSpacers;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
type ILibMarkdownEditor = Omit<LibComponentBase<HTMLTextAreaElement>, "element"> & Omit<ILibInputCommon, "inputVariant"> & ILibInputWithValidation & {
|
|
902
|
+
value: string;
|
|
903
|
+
setValue: DispatchState<string>;
|
|
904
|
+
onChange?: never;
|
|
905
|
+
defaultView?: LibMdEditorViews;
|
|
906
|
+
options?: LibMdEditorOptions;
|
|
907
|
+
textButtonTitles?: string;
|
|
908
|
+
icons?: {
|
|
909
|
+
bold?: ReactElement$2;
|
|
910
|
+
italic?: ReactElement$2;
|
|
911
|
+
strikethrough?: ReactElement$2;
|
|
912
|
+
ul?: ReactElement$2;
|
|
913
|
+
ol?: ReactElement$2;
|
|
914
|
+
link?: ReactElement$2;
|
|
915
|
+
quote?: ReactElement$2;
|
|
916
|
+
hr?: ReactElement$2;
|
|
917
|
+
code?: ReactElement$2;
|
|
918
|
+
codeBlock?: ReactElement$2;
|
|
919
|
+
comment?: ReactElement$2;
|
|
920
|
+
image?: ReactElement$2;
|
|
921
|
+
editorCode?: ReactElement$2;
|
|
922
|
+
editorLive?: ReactElement$2;
|
|
923
|
+
editorPreview?: ReactElement$2;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
interface ILibMarkdownContainer extends Omit<LibComponentBase<HTMLDivElement>, "element"> {
|
|
928
|
+
options?: MarkdownToJSX.Options;
|
|
929
|
+
children?: ReactChildren;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
interface HighlighterLangs extends Omit<SyntaxHighlighterProps, "children"> {
|
|
933
|
+
language?: "oneC (1c)" | "abnf" | "accesslog" | "actionscript" | "ada" | "angelscript" | "apache" | "applescript" | "arcade" | "arduino" | "armasm" | "asciidoc" | "aspectj" | "autohotkey" | "autoit" | "avrasm" | "awk" | "axapta" | "bash" | "basic" | "bnf" | "brainfuck" | "cLike (c-like)" | "c" | "cal" | "capnproto" | "ceylon" | "clean" | "clojureRepl (clojure-repl)" | "clojure" | "cmake" | "coffeescript" | "coq" | "cos" | "cpp" | "crmsh" | "crystal" | "csharp" | "csp" | "css" | "d" | "dart" | "delphi" | "diff" | "django" | "dns" | "dockerfile" | "dos" | "dsconfig" | "dts" | "dust" | "ebnf" | "elixir" | "elm" | "erb" | "erlangRepl (erlang-repl)" | "erlang" | "excel" | "fix" | "flix" | "fortran" | "fsharp" | "gams" | "gauss" | "gcode" | "gherkin" | "glsl" | "gml" | "go" | "golo" | "gradle" | "groovy" | "haml" | "handlebars" | "haskell" | "haxe" | "hsp" | "htmlbars" | "http" | "hy" | "inform7" | "ini" | "irpf90" | "isbl" | "java" | "javascript" | "jbossCli (jboss-cli)" | "json" | "juliaRepl (julia-repl)" | "julia" | "kotlin" | "lasso" | "latex" | "ldif" | "leaf" | "less" | "lisp" | "livecodeserver" | "livescript" | "llvm" | "lsl" | "lua" | "makefile" | "markdown" | "mathematica" | "matlab" | "maxima" | "mel" | "mercury" | "mipsasm" | "mizar" | "mojolicious" | "monkey" | "moonscript" | "n1ql" | "nginx" | "nim" | "nix" | "nodeRepl (node-repl)" | "nsis" | "objectivec" | "ocaml" | "openscad" | "oxygene" | "parser3" | "perl" | "pf" | "pgsql" | "phpTemplate (php-template)" | "php" | "plaintext" | "pony" | "powershell" | "processing" | "profile" | "prolog" | "properties" | "protobuf" | "puppet" | "purebasic" | "pythonRepl (python-repl)" | "python" | "q" | "qml" | "r" | "reasonml" | "rib" | "roboconf" | "routeros" | "rsl" | "ruby" | "ruleslanguage" | "rust" | "sas" | "scala" | "scheme" | "scilab" | "scss" | "shell" | "smali" | "smalltalk" | "sml" | "sqf" | "sql" | "sqlMore (sql_more)" | "stan" | "stata" | "step21" | "stylus" | "subunit" | "swift" | "taggerscript" | "tap" | "tcl" | "thrift" | "tp" | "twig" | "typescript" | "vala" | "vbnet" | "vbscriptHtml (vbscript-html)" | "vbscript" | "verilog" | "vhdl" | "vim" | "x86asm" | "xl" | "xml" | "xquery" | "yaml" | "zephir";
|
|
934
|
+
}
|
|
935
|
+
type HighlighterStyle = {
|
|
936
|
+
[key: string]: CSSProperties$1;
|
|
937
|
+
};
|
|
938
|
+
interface ILibCodeContainerBase extends LibComponentBase<HTMLDivElement & HTMLPreElement> {
|
|
939
|
+
highlighterProps?: HighlighterLangs;
|
|
940
|
+
textColor?: LibAllColors;
|
|
941
|
+
backgroundColor?: LibAllColors;
|
|
942
|
+
style?: HighlighterStyle;
|
|
943
|
+
}
|
|
944
|
+
interface CodeContainerWithCopyButton extends ILibCodeContainerBase {
|
|
945
|
+
hideCopyButton?: undefined | false;
|
|
946
|
+
tooltipTexts?: {
|
|
947
|
+
copy?: string;
|
|
948
|
+
copied?: string;
|
|
949
|
+
};
|
|
950
|
+
icons?: {
|
|
951
|
+
copy?: ReactElement$2;
|
|
952
|
+
copied?: ReactElement$2;
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
interface CodeContainerWithoutCopyButton extends ILibCodeContainerBase {
|
|
956
|
+
hideCopyButton?: true;
|
|
957
|
+
tooltipTexts?: never;
|
|
958
|
+
icons?: never;
|
|
959
|
+
}
|
|
960
|
+
type ILibCodeContainer = CodeContainerWithCopyButton | CodeContainerWithoutCopyButton;
|
|
961
|
+
|
|
962
|
+
interface ILibFade extends LibComponentBase<HTMLDivElement> {
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
type ILibBackToTop = Omit<Partial<ILibButtonIcon>, "icon" | "isLoading" | "loaderVariant" | "loaderClasses"> & {
|
|
966
|
+
icon?: ReactElement$2;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
interface ILibDrawer extends LibComponentBase<HTMLDivElement> {
|
|
970
|
+
isOpen: boolean;
|
|
971
|
+
setIsOpen: DispatchState<boolean>;
|
|
972
|
+
position?: LibDrawerPosition;
|
|
973
|
+
enableScrollingOpen?: boolean;
|
|
974
|
+
disableEsc?: boolean;
|
|
975
|
+
backgroundColor?: LibAllColors;
|
|
976
|
+
contentColor?: LibAllColors;
|
|
977
|
+
linksColor?: LibColorsHover;
|
|
978
|
+
gap?: LibSpacers;
|
|
979
|
+
maxWidth?: string | number;
|
|
980
|
+
overlayColor?: LibAllColorsAndOverlays;
|
|
981
|
+
hideCloseButton?: boolean;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
type LibHeaderSearch = {
|
|
985
|
+
value: string;
|
|
986
|
+
setValue: DispatchState<string>;
|
|
987
|
+
handleSubmit: (e: FormEvent<HTMLFormElement>) => void;
|
|
988
|
+
placeholder?: string;
|
|
989
|
+
iconLeft?: ReactElement;
|
|
990
|
+
iconClear?: ReactElement;
|
|
991
|
+
focusKeys?: Array<string>;
|
|
992
|
+
showKeys?: boolean;
|
|
993
|
+
inputBackground?: LibInputBackground;
|
|
994
|
+
inputVariant?: LibInputVariant;
|
|
995
|
+
maxWidth?: string | number;
|
|
996
|
+
clearSearch?: () => void;
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
interface ILibHeaderBase extends LibComponentBase<HTMLDivElement> {
|
|
1000
|
+
logo: ReactChildren;
|
|
1001
|
+
burgerPosition?: LibNavBurgerPosition;
|
|
1002
|
+
burgerColor?: LibColorsHover | {
|
|
1003
|
+
open?: LibColorsHover;
|
|
1004
|
+
closed?: LibColorsHover;
|
|
1005
|
+
};
|
|
1006
|
+
navDesktopPosition?: LibNavBurgerPosition;
|
|
1007
|
+
navMobileVariant?: LibNavMobileVariant;
|
|
1008
|
+
enableScrollingOpen?: boolean;
|
|
1009
|
+
search?: LibHeaderSearch;
|
|
1010
|
+
backgroundColor?: LibAllColors;
|
|
1011
|
+
textColor?: LibAllColors;
|
|
1012
|
+
linkColor?: LibColorsHover;
|
|
1013
|
+
}
|
|
1014
|
+
interface HeaderFixed extends ILibHeaderBase {
|
|
1015
|
+
position?: Extract<LibHeaderPosition, "fixed">;
|
|
1016
|
+
hideOnScroll?: boolean | number;
|
|
1017
|
+
}
|
|
1018
|
+
interface HeaderNotFixed extends ILibHeaderBase {
|
|
1019
|
+
position?: Exclude<LibHeaderPosition, "fixed">;
|
|
1020
|
+
hideOnScroll?: never;
|
|
1021
|
+
}
|
|
1022
|
+
type ILibHeaderPosition = HeaderFixed | HeaderNotFixed;
|
|
1023
|
+
type HeaderWithLinks = ILibHeaderPosition & {
|
|
1024
|
+
links: Array<ReactChildren>;
|
|
1025
|
+
nav?: never;
|
|
1026
|
+
children?: never;
|
|
1027
|
+
};
|
|
1028
|
+
type HeaderWithNav = ILibHeaderPosition & {
|
|
1029
|
+
links?: never;
|
|
1030
|
+
nav: ReactChildren;
|
|
1031
|
+
children?: never;
|
|
1032
|
+
};
|
|
1033
|
+
type HeaderWithChildren = ILibHeaderPosition & {
|
|
1034
|
+
links?: never;
|
|
1035
|
+
nav?: never;
|
|
1036
|
+
children: ReactChildren;
|
|
1037
|
+
};
|
|
1038
|
+
type ILibHeader = HeaderWithLinks | HeaderWithNav | HeaderWithChildren;
|
|
1039
|
+
|
|
1040
|
+
interface ILibFooterBase extends LibComponentBase<HTMLDivElement> {
|
|
1041
|
+
hideSeparator?: boolean;
|
|
1042
|
+
hideLinksSeparator?: boolean;
|
|
1043
|
+
linksSeparator?: LibFooterLinksSeparator;
|
|
1044
|
+
linksSeparatorColor?: LibAllColors;
|
|
1045
|
+
}
|
|
1046
|
+
interface FooterHorizontalWithItems extends ILibFooterBase {
|
|
1047
|
+
items: Array<ReactChildren>;
|
|
1048
|
+
logo: ReactChildren;
|
|
1049
|
+
direction?: Extract<LibFooterDirection, "horizontal">;
|
|
1050
|
+
children?: never;
|
|
1051
|
+
}
|
|
1052
|
+
interface FooterHorizontalWithChildren extends ILibFooterBase {
|
|
1053
|
+
items?: never;
|
|
1054
|
+
logo: ReactChildren;
|
|
1055
|
+
direction?: Extract<LibFooterDirection, "horizontal">;
|
|
1056
|
+
children?: ReactChildren;
|
|
1057
|
+
}
|
|
1058
|
+
type ILibFooterHorizontal = FooterHorizontalWithItems | FooterHorizontalWithChildren;
|
|
1059
|
+
interface FooterVerticalWithItems extends ILibFooterBase {
|
|
1060
|
+
items?: Array<ReactChildren>;
|
|
1061
|
+
logo?: ReactChildren;
|
|
1062
|
+
direction?: Extract<LibFooterDirection, "vertical">;
|
|
1063
|
+
children?: never;
|
|
1064
|
+
}
|
|
1065
|
+
interface FooterVerticalWithChildren extends ILibFooterBase {
|
|
1066
|
+
items?: never;
|
|
1067
|
+
logo?: ReactChildren;
|
|
1068
|
+
direction?: Extract<LibFooterDirection, "vertical">;
|
|
1069
|
+
children?: ReactChildren;
|
|
1070
|
+
}
|
|
1071
|
+
type ILibFooterVertical = RequireAtLeastOne<FooterVerticalWithItems | FooterVerticalWithChildren, "items" | "children" | "logo">;
|
|
1072
|
+
type ILibFooter = ILibFooterHorizontal | ILibFooterVertical;
|
|
1073
|
+
|
|
1074
|
+
interface ILibMeta {
|
|
1075
|
+
title: string;
|
|
1076
|
+
favicon?: string;
|
|
1077
|
+
description?: string;
|
|
1078
|
+
generator?: string;
|
|
1079
|
+
keywords?: Array<string>;
|
|
1080
|
+
author?: string;
|
|
1081
|
+
authorUrl?: string;
|
|
1082
|
+
publisher?: string;
|
|
1083
|
+
type?: "article" | "book" | "music.album" | "music.playlist" | "music.radio_station" | "music.song" | "profile" | "video.episode" | "video.movie" | "video.other" | "video. tv_show" | "website";
|
|
1084
|
+
cover?: string;
|
|
1085
|
+
siteName?: string;
|
|
1086
|
+
language?: string;
|
|
1087
|
+
url?: string;
|
|
1088
|
+
email?: string;
|
|
1089
|
+
creator?: string;
|
|
1090
|
+
manifest?: string;
|
|
1091
|
+
category?: string;
|
|
1092
|
+
twitterCard?: "app" | "player" | "summary" | "summary_large_image";
|
|
1093
|
+
children?: ReactChildren;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
interface ILibPageLayoutBase {
|
|
1097
|
+
children?: ReactChildren;
|
|
1098
|
+
meta?: ILibMeta;
|
|
1099
|
+
header?: ILibHeader;
|
|
1100
|
+
footer?: ILibFooter;
|
|
1101
|
+
}
|
|
1102
|
+
interface PageLayoutWithWrapper extends ILibPageLayoutBase {
|
|
1103
|
+
noWrapper?: false | undefined;
|
|
1104
|
+
wrapperProps?: Omit<ILibWrapper, "children">;
|
|
1105
|
+
noMain?: boolean;
|
|
1106
|
+
mainProps?: Omit<ILibMain, "children">;
|
|
1107
|
+
}
|
|
1108
|
+
interface PageLayoutWithoutWrapper extends ILibPageLayoutBase {
|
|
1109
|
+
noWrapper?: true;
|
|
1110
|
+
wrapperProps?: never;
|
|
1111
|
+
noMain?: never;
|
|
1112
|
+
mainProps?: never;
|
|
1113
|
+
}
|
|
1114
|
+
type ILibPageLayout = PageLayoutWithWrapper | PageLayoutWithoutWrapper;
|
|
1115
|
+
|
|
1116
|
+
interface ILibSrOnly extends Pick<LibComponentBase<HTMLDivElement>, "ref" | "element" | "children"> {
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export type { ILibAccordion, ILibAccordionItem, ILibAlert, ILibAside, ILibAutocomplete, ILibAvatar, ILibBackToTop, ILibBadge, ILibBreadcrumbs, ILibBurger, ILibButton, ILibButtonGroup, ILibButtonIcon, ILibCodeContainer, ILibCover, ILibDragList, ILibDragListItem, ILibDrawer, ILibDropdown, ILibDropdownItem, ILibFade, ILibFieldset, ILibFlexbox, ILibFooter, ILibForm, ILibGrid, ILibHeader, ILibHighlight, ILibHr, ILibImage, ILibInput, ILibInputCheck, ILibInputContainer, ILibInputCounter, ILibInputImage, ILibInputPhone, ILibInputPin, ILibInputSlider, ILibKey, ILibLinkify, ILibListGroup, ILibListGroupItem, ILibListGroupTitle, ILibLoader, ILibMain, ILibMarkdownContainer, ILibMarkdownEditor, ILibMasonry, ILibMeta, ILibModal, ILibPageLayout, ILibPageLoading, ILibPagination, ILibPaginationButton, ILibPaginator, ILibProgressBar, ILibProgressCircle, ILibRating, ILibSection, ILibSelect, ILibSkeleton, ILibSkeletonCard, ILibSkeletonShine, ILibSlideshow, ILibSrOnly, ILibSticky, ILibTabContent, ILibTable, ILibTabs, ILibTabsButton, ILibTabsButtonsContainer, ILibTabsContainer, ILibTag, ILibText, ILibToast, ILibTooltip, ILibWrapper };
|