mimir-ui-kit 1.14.0 → 1.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. package/README.md +62 -62
  2. package/dist/DatePickerModal-BM0BgzTb.js +204 -0
  3. package/dist/{NavigationButtons-B8tMfqrg.js → NavigationButtons-DuOoqaPo.js} +20 -20
  4. package/dist/assets/Accordion.css +1 -0
  5. package/dist/assets/AccordionItem.css +1 -0
  6. package/dist/assets/Button.css +1 -1
  7. package/dist/assets/DatePickerModal.css +1 -0
  8. package/dist/assets/Drawer.css +1 -0
  9. package/dist/assets/Input.css +1 -1
  10. package/dist/assets/ListPhotos.css +1 -0
  11. package/dist/assets/MergedButton.css +1 -1
  12. package/dist/assets/OtpInput.css +1 -1
  13. package/dist/assets/Pagination.css +1 -0
  14. package/dist/assets/RadioGroup.css +1 -1
  15. package/dist/assets/SelectSearch.css +1 -0
  16. package/dist/assets/Slider.css +1 -1
  17. package/dist/assets/Switch.css +1 -0
  18. package/dist/assets/TabTrail.css +1 -0
  19. package/dist/assets/Tag.css +1 -0
  20. package/dist/assets/Timer.css +1 -0
  21. package/dist/assets/Uploader.css +1 -0
  22. package/dist/assets/UploaderPhotos.css +1 -0
  23. package/dist/assets/index.css +1 -1
  24. package/dist/bugs-CSBdWk0R.js +18 -0
  25. package/dist/components/Accordion/Accordion.d.ts +10 -0
  26. package/dist/components/Accordion/Accordion.js +176 -0
  27. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +8 -0
  28. package/dist/components/Accordion/AccordionItem/AccordionItem.js +16 -0
  29. package/dist/components/Accordion/AccordionItem/index.d.ts +1 -0
  30. package/dist/components/Accordion/AccordionItem/index.js +4 -0
  31. package/dist/components/Accordion/constants.d.ts +8 -0
  32. package/dist/components/Accordion/constants.js +14 -0
  33. package/dist/components/Accordion/index.d.ts +3 -0
  34. package/dist/components/Accordion/index.js +8 -0
  35. package/dist/components/Button/Button.d.ts +0 -1
  36. package/dist/components/Button/Button.js +26 -25
  37. package/dist/components/Button/constants.d.ts +2 -1
  38. package/dist/components/Button/constants.js +1 -0
  39. package/dist/components/DatePicker/DatePicker.d.ts +44 -0
  40. package/dist/components/DatePicker/DatePicker.js +69 -0
  41. package/dist/components/DatePicker/DatePickerModal.d.ts +8 -0
  42. package/dist/components/DatePicker/DatePickerModal.js +9 -0
  43. package/dist/components/DatePicker/constants.d.ts +6 -0
  44. package/dist/components/DatePicker/constants.js +11 -0
  45. package/dist/components/DatePicker/index.d.ts +2 -0
  46. package/dist/components/DatePicker/index.js +4 -0
  47. package/dist/components/Drawer/Drawer.d.ts +42 -0
  48. package/dist/components/Drawer/Drawer.js +145 -0
  49. package/dist/components/Drawer/constants.d.ts +5 -0
  50. package/dist/components/Drawer/constants.js +9 -0
  51. package/dist/components/Drawer/index.d.ts +2 -0
  52. package/dist/components/Drawer/index.js +6 -0
  53. package/dist/components/Input/Input.d.ts +2 -2
  54. package/dist/components/Input/Input.js +17 -16
  55. package/dist/components/InputPassword/InputPassword.js +2 -2
  56. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  57. package/dist/components/ListPhotos/ListPhotos.d.ts +23 -0
  58. package/dist/components/ListPhotos/ListPhotos.js +33 -0
  59. package/dist/components/ListPhotos/constants.d.ts +3 -0
  60. package/dist/components/ListPhotos/constants.js +21 -0
  61. package/dist/components/ListPhotos/index.d.ts +2 -0
  62. package/dist/components/ListPhotos/index.js +4 -0
  63. package/dist/components/MergedButton/MergedButton.d.ts +1 -1
  64. package/dist/components/MergedButton/MergedButton.js +17 -19
  65. package/dist/components/OtpInput/OtpInput.js +6 -6
  66. package/dist/components/Pagination/Pagination.d.ts +42 -0
  67. package/dist/components/Pagination/Pagination.js +220 -0
  68. package/dist/components/Pagination/constants.d.ts +2 -0
  69. package/dist/components/Pagination/constants.js +6 -0
  70. package/dist/components/Pagination/index.d.ts +1 -0
  71. package/dist/components/Pagination/index.js +4 -0
  72. package/dist/components/Pagination/types.d.ts +0 -0
  73. package/dist/components/Pagination/types.js +1 -0
  74. package/dist/components/Portal/Portal.d.ts +7 -0
  75. package/dist/components/Portal/Portal.js +10 -0
  76. package/dist/components/Portal/index.d.ts +1 -0
  77. package/dist/components/Portal/index.js +4 -0
  78. package/dist/components/RadioGroup/RadioGroup.d.ts +18 -2
  79. package/dist/components/RadioGroup/RadioGroup.js +130 -1061
  80. package/dist/components/RadioGroup/index.d.ts +1 -1
  81. package/dist/components/SelectSearch/SelectSearch.d.ts +15 -0
  82. package/dist/components/SelectSearch/SelectSearch.js +3876 -0
  83. package/dist/components/SelectSearch/constants.d.ts +4 -0
  84. package/dist/components/SelectSearch/constants.js +8 -0
  85. package/dist/components/SelectSearch/index.d.ts +2 -0
  86. package/dist/components/SelectSearch/index.js +6 -0
  87. package/dist/components/Slider/NavigationButtons/NavigationButtons.js +1 -1
  88. package/dist/components/Slider/NavigationButtons/index.js +1 -1
  89. package/dist/components/Slider/Slider.js +10 -10
  90. package/dist/components/Switch/Switch.d.ts +294 -0
  91. package/dist/components/Switch/Switch.js +59 -0
  92. package/dist/components/Switch/index.d.ts +2 -0
  93. package/dist/components/Switch/index.js +4 -0
  94. package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +8 -0
  95. package/dist/components/TabTrail/TabButtons/TabButtons.js +29 -0
  96. package/dist/components/TabTrail/TabButtons/constants.d.ts +8 -0
  97. package/dist/components/TabTrail/TabButtons/constants.js +14 -0
  98. package/dist/components/TabTrail/TabButtons/index.d.ts +1 -0
  99. package/dist/components/TabTrail/TabButtons/index.js +4 -0
  100. package/dist/components/TabTrail/TabTrail.d.ts +11 -0
  101. package/dist/components/TabTrail/TabTrail.js +282 -0
  102. package/dist/components/TabTrail/constants.d.ts +4 -0
  103. package/dist/components/TabTrail/constants.js +8 -0
  104. package/dist/components/TabTrail/index.d.ts +2 -0
  105. package/dist/components/TabTrail/index.js +6 -0
  106. package/dist/components/Tag/Tag.d.ts +20 -57
  107. package/dist/components/Tag/Tag.js +39 -84
  108. package/dist/components/Tag/constants.d.ts +5 -37
  109. package/dist/components/Tag/constants.js +13 -53
  110. package/dist/components/Tag/index.d.ts +2 -3
  111. package/dist/components/Tag/index.js +5 -6
  112. package/dist/components/Tag/types.d.ts +0 -6
  113. package/dist/components/Timer/Timer.d.ts +24 -0
  114. package/dist/components/Timer/Timer.js +29 -0
  115. package/dist/components/Timer/index.d.ts +1 -0
  116. package/dist/components/Timer/index.js +4 -0
  117. package/dist/components/Uploader/Uploader.d.ts +30 -0
  118. package/dist/components/Uploader/Uploader.js +90 -0
  119. package/dist/components/Uploader/constants.d.ts +5 -0
  120. package/dist/components/Uploader/constants.js +16 -0
  121. package/dist/components/Uploader/index.d.ts +2 -0
  122. package/dist/components/Uploader/index.js +4 -0
  123. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +29 -0
  124. package/dist/components/UploaderPhotos/UploaderPhotos.js +46 -0
  125. package/dist/components/UploaderPhotos/index.d.ts +2 -0
  126. package/dist/components/UploaderPhotos/index.js +4 -0
  127. package/dist/components/index.d.ts +16 -1
  128. package/dist/components/index.js +31 -0
  129. package/dist/focus-management-1rQPII7Z.js +77 -0
  130. package/dist/hidden-BuVoeHNy.js +13 -0
  131. package/dist/hooks/index.d.ts +3 -0
  132. package/dist/hooks/index.js +7 -1
  133. package/dist/hooks/useClickOutside/index.d.ts +1 -0
  134. package/dist/hooks/useClickOutside/index.js +4 -0
  135. package/dist/hooks/useClickOutside/useClickOutside.d.ts +7 -0
  136. package/dist/hooks/useClickOutside/useClickOutside.js +25 -0
  137. package/dist/hooks/useInterval/index.d.ts +1 -0
  138. package/dist/hooks/useInterval/index.js +4 -0
  139. package/dist/hooks/useInterval/useInterval.d.ts +1 -0
  140. package/dist/hooks/useInterval/useInterval.js +17 -0
  141. package/dist/hooks/useLockBodyScroll/index.d.ts +1 -0
  142. package/dist/hooks/useLockBodyScroll/index.js +4 -0
  143. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +6 -0
  144. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +20 -0
  145. package/dist/hooks/useTimer/index.d.ts +18 -0
  146. package/dist/hooks/useTimer/index.js +83 -0
  147. package/dist/hooks/useTimer/useTimer.d.ts +18 -0
  148. package/dist/hooks/useTimer/useTimer.js +87 -0
  149. package/dist/hooks/useTimer/utils.d.ts +24 -0
  150. package/dist/hooks/useTimer/utils.js +88 -0
  151. package/dist/hooks/useWindowSize/index.d.ts +4 -0
  152. package/dist/hooks/useWindowSize/index.js +26 -0
  153. package/dist/icons/Icon.js +1 -1
  154. package/dist/icons/components/12px/Close12px.d.ts +4 -0
  155. package/dist/icons/components/12px/Close12px.js +18 -0
  156. package/dist/icons/components/index.d.ts +1 -0
  157. package/dist/icons/components/index.js +560 -559
  158. package/dist/{index-_ACzPKPw.js → index-Cxiikb7g.js} +561 -558
  159. package/dist/index.d.ts +1 -0
  160. package/dist/index.js +40 -1
  161. package/dist/keyboard-B256ZoM-.js +745 -0
  162. package/dist/label-C_5Syaoj.js +159 -0
  163. package/dist/open-closed-CbXq00et.js +93 -0
  164. package/dist/use-active-press-B6yeSopF.js +31 -0
  165. package/dist/use-by-comparator-BUO78DGe.js +16 -0
  166. package/dist/use-resolve-button-type-B6LE6gU3.js +19 -0
  167. package/dist/utils/UUID4.d.ts +1 -0
  168. package/dist/utils/UUID4.js +9 -0
  169. package/dist/utils/formating/Date.d.ts +1 -0
  170. package/dist/utils/formating/Date.js +26 -0
  171. package/dist/utils/formating/Month.d.ts +8 -0
  172. package/dist/utils/formating/Month.js +80 -0
  173. package/dist/utils/formating/Numbers.d.ts +6 -0
  174. package/dist/utils/formating/Numbers.js +8 -0
  175. package/dist/utils/index.d.ts +11 -0
  176. package/dist/utils/index.js +13 -0
  177. package/package.json +128 -128
@@ -0,0 +1,4 @@
1
+ export declare enum ESelectSearchSize {
2
+ L = "l",
3
+ XXL = "xxl"
4
+ }
@@ -0,0 +1,8 @@
1
+ var ESelectSearchSize = /* @__PURE__ */ ((ESelectSearchSize2) => {
2
+ ESelectSearchSize2["L"] = "l";
3
+ ESelectSearchSize2["XXL"] = "xxl";
4
+ return ESelectSearchSize2;
5
+ })(ESelectSearchSize || {});
6
+ export {
7
+ ESelectSearchSize
8
+ };
@@ -0,0 +1,2 @@
1
+ export { SelectSearch, type TSelectSearchProps, type TSelectSearchItem } from './SelectSearch';
2
+ export { ESelectSearchSize } from './constants';
@@ -0,0 +1,6 @@
1
+ import { SelectSearch } from "./SelectSearch.js";
2
+ import { ESelectSearchSize } from "./constants.js";
3
+ export {
4
+ ESelectSearchSize,
5
+ SelectSearch
6
+ };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N } from "../../../NavigationButtons-B8tMfqrg.js";
3
+ import { N } from "../../../NavigationButtons-DuOoqaPo.js";
4
4
  import "../../MergedButton/MergedButton.js";
5
5
  export {
6
6
  N as NavigationButtons
@@ -1,4 +1,4 @@
1
- import { N } from "../../../NavigationButtons-B8tMfqrg.js";
1
+ import { N } from "../../../NavigationButtons-DuOoqaPo.js";
2
2
  export {
3
3
  N as NavigationButtons
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { useRef, useState, useCallback } from "react";
3
2
  import { c as classNames } from "../../index-CweZ_OcN.js";
4
- import { g as getDocument, S as Swiper, N as NavigationButtons, a as SwiperSlide } from "../../NavigationButtons-B8tMfqrg.js";
3
+ import { useRef, useState, useCallback } from "react";
4
+ import { g as getDocument, S as Swiper, N as NavigationButtons, a as SwiperSlide } from "../../NavigationButtons-DuOoqaPo.js";
5
5
  import { ProgressBar } from "./ProgressBar/ProgressBar.js";
6
6
  import { AppImage } from "../Image/Image.js";
7
7
  import '../../assets/Slider.css';function Autoplay(_ref) {
@@ -300,14 +300,14 @@ import '../../assets/Slider.css';function Autoplay(_ref) {
300
300
  resume
301
301
  });
302
302
  }
303
- const swiper = "_swiper_1jb8j_3";
304
- const slide = "_slide_1jb8j_9";
305
- const link = "_link_1jb8j_16";
306
- const image = "_image_1jb8j_22";
307
- const navigation = "_navigation_1jb8j_29";
308
- const pagination = "_pagination_1jb8j_39";
309
- const slides = "_slides_1jb8j_54";
310
- const separator = "_separator_1jb8j_60";
303
+ const swiper = "_swiper_n7qq2_3";
304
+ const slide = "_slide_n7qq2_9";
305
+ const link = "_link_n7qq2_16";
306
+ const image = "_image_n7qq2_22";
307
+ const navigation = "_navigation_n7qq2_29";
308
+ const pagination = "_pagination_n7qq2_39";
309
+ const slides = "_slides_n7qq2_54";
310
+ const separator = "_separator_n7qq2_60";
311
311
  const cls = {
312
312
  swiper,
313
313
  slide,
@@ -0,0 +1,294 @@
1
+ import { CheckboxProps } from '@headlessui/react';
2
+
3
+ export type TSwitchProps = CheckboxProps;
4
+ export declare const Switch: import('react').ForwardRefExoticComponent<{
5
+ suppressHydrationWarning?: boolean | undefined;
6
+ color?: string | undefined;
7
+ id?: string | undefined;
8
+ lang?: string | undefined;
9
+ style?: import('react').CSSProperties | undefined;
10
+ "aria-activedescendant"?: string | undefined;
11
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
12
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
13
+ "aria-braillelabel"?: string | undefined;
14
+ "aria-brailleroledescription"?: string | undefined;
15
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
16
+ "aria-colcount"?: number | undefined;
17
+ "aria-colindex"?: number | undefined;
18
+ "aria-colindextext"?: string | undefined;
19
+ "aria-colspan"?: number | undefined;
20
+ "aria-controls"?: string | undefined;
21
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
22
+ "aria-description"?: string | undefined;
23
+ "aria-details"?: string | undefined;
24
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
25
+ "aria-errormessage"?: string | undefined;
26
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
27
+ "aria-flowto"?: string | undefined;
28
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
29
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
30
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
31
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
32
+ "aria-keyshortcuts"?: string | undefined;
33
+ "aria-label"?: string | undefined;
34
+ "aria-level"?: number | undefined;
35
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
36
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
37
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
38
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
39
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
40
+ "aria-owns"?: string | undefined;
41
+ "aria-placeholder"?: string | undefined;
42
+ "aria-posinset"?: number | undefined;
43
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
44
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
45
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
46
+ "aria-required"?: (boolean | "true" | "false") | undefined;
47
+ "aria-roledescription"?: string | undefined;
48
+ "aria-rowcount"?: number | undefined;
49
+ "aria-rowindex"?: number | undefined;
50
+ "aria-rowindextext"?: string | undefined;
51
+ "aria-rowspan"?: number | undefined;
52
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
53
+ "aria-setsize"?: number | undefined;
54
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
55
+ "aria-valuemax"?: number | undefined;
56
+ "aria-valuemin"?: number | undefined;
57
+ "aria-valuenow"?: number | undefined;
58
+ "aria-valuetext"?: string | undefined;
59
+ dangerouslySetInnerHTML?: {
60
+ __html: string | TrustedHTML;
61
+ } | undefined;
62
+ onCopy?: import('react').ClipboardEventHandler<HTMLSpanElement> | undefined;
63
+ onCopyCapture?: import('react').ClipboardEventHandler<HTMLSpanElement> | undefined;
64
+ onCut?: import('react').ClipboardEventHandler<HTMLSpanElement> | undefined;
65
+ onCutCapture?: import('react').ClipboardEventHandler<HTMLSpanElement> | undefined;
66
+ onPaste?: import('react').ClipboardEventHandler<HTMLSpanElement> | undefined;
67
+ onPasteCapture?: import('react').ClipboardEventHandler<HTMLSpanElement> | undefined;
68
+ onCompositionEnd?: import('react').CompositionEventHandler<HTMLSpanElement> | undefined;
69
+ onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLSpanElement> | undefined;
70
+ onCompositionStart?: import('react').CompositionEventHandler<HTMLSpanElement> | undefined;
71
+ onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLSpanElement> | undefined;
72
+ onCompositionUpdate?: import('react').CompositionEventHandler<HTMLSpanElement> | undefined;
73
+ onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLSpanElement> | undefined;
74
+ onFocus?: import('react').FocusEventHandler<HTMLSpanElement> | undefined;
75
+ onFocusCapture?: import('react').FocusEventHandler<HTMLSpanElement> | undefined;
76
+ onBlur?: import('react').FocusEventHandler<HTMLSpanElement> | undefined;
77
+ onBlurCapture?: import('react').FocusEventHandler<HTMLSpanElement> | undefined;
78
+ onChangeCapture?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
79
+ onBeforeInput?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
80
+ onBeforeInputCapture?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
81
+ onInput?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
82
+ onInputCapture?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
83
+ onReset?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
84
+ onResetCapture?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
85
+ onSubmit?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
86
+ onSubmitCapture?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
87
+ onInvalid?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
88
+ onInvalidCapture?: import('react').FormEventHandler<HTMLSpanElement> | undefined;
89
+ onLoad?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
90
+ onLoadCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
91
+ onError?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
92
+ onErrorCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
93
+ onKeyDown?: import('react').KeyboardEventHandler<HTMLSpanElement> | undefined;
94
+ onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLSpanElement> | undefined;
95
+ onKeyPress?: import('react').KeyboardEventHandler<HTMLSpanElement> | undefined;
96
+ onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLSpanElement> | undefined;
97
+ onKeyUp?: import('react').KeyboardEventHandler<HTMLSpanElement> | undefined;
98
+ onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLSpanElement> | undefined;
99
+ onAbort?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
100
+ onAbortCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
101
+ onCanPlay?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
102
+ onCanPlayCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
103
+ onCanPlayThrough?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
104
+ onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
105
+ onDurationChange?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
106
+ onDurationChangeCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
107
+ onEmptied?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
108
+ onEmptiedCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
109
+ onEncrypted?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
110
+ onEncryptedCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
111
+ onEnded?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
112
+ onEndedCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
113
+ onLoadedData?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
114
+ onLoadedDataCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
115
+ onLoadedMetadata?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
116
+ onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
117
+ onLoadStart?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
118
+ onLoadStartCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
119
+ onPause?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
120
+ onPauseCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
121
+ onPlay?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
122
+ onPlayCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
123
+ onPlaying?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
124
+ onPlayingCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
125
+ onProgress?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
126
+ onProgressCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
127
+ onRateChange?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
128
+ onRateChangeCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
129
+ onResize?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
130
+ onResizeCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
131
+ onSeeked?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
132
+ onSeekedCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
133
+ onSeeking?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
134
+ onSeekingCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
135
+ onStalled?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
136
+ onStalledCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
137
+ onSuspend?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
138
+ onSuspendCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
139
+ onTimeUpdate?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
140
+ onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
141
+ onVolumeChange?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
142
+ onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
143
+ onWaiting?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
144
+ onWaitingCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
145
+ onAuxClick?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
146
+ onAuxClickCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
147
+ onClick?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
148
+ onClickCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
149
+ onContextMenu?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
150
+ onContextMenuCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
151
+ onDoubleClick?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
152
+ onDoubleClickCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
153
+ onDrag?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
154
+ onDragCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
155
+ onDragEnd?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
156
+ onDragEndCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
157
+ onDragEnter?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
158
+ onDragEnterCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
159
+ onDragExit?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
160
+ onDragExitCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
161
+ onDragLeave?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
162
+ onDragLeaveCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
163
+ onDragOver?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
164
+ onDragOverCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
165
+ onDragStart?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
166
+ onDragStartCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
167
+ onDrop?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
168
+ onDropCapture?: import('react').DragEventHandler<HTMLSpanElement> | undefined;
169
+ onMouseDown?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
170
+ onMouseDownCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
171
+ onMouseEnter?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
172
+ onMouseLeave?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
173
+ onMouseMove?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
174
+ onMouseMoveCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
175
+ onMouseOut?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
176
+ onMouseOutCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
177
+ onMouseOver?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
178
+ onMouseOverCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
179
+ onMouseUp?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
180
+ onMouseUpCapture?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
181
+ onSelect?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
182
+ onSelectCapture?: import('react').ReactEventHandler<HTMLSpanElement> | undefined;
183
+ onTouchCancel?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
184
+ onTouchCancelCapture?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
185
+ onTouchEnd?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
186
+ onTouchEndCapture?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
187
+ onTouchMove?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
188
+ onTouchMoveCapture?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
189
+ onTouchStart?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
190
+ onTouchStartCapture?: import('react').TouchEventHandler<HTMLSpanElement> | undefined;
191
+ onPointerDown?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
192
+ onPointerDownCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
193
+ onPointerMove?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
194
+ onPointerMoveCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
195
+ onPointerUp?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
196
+ onPointerUpCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
197
+ onPointerCancel?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
198
+ onPointerCancelCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
199
+ onPointerEnter?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
200
+ onPointerLeave?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
201
+ onPointerOver?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
202
+ onPointerOverCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
203
+ onPointerOut?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
204
+ onPointerOutCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
205
+ onGotPointerCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
206
+ onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
207
+ onLostPointerCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
208
+ onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLSpanElement> | undefined;
209
+ onScroll?: import('react').UIEventHandler<HTMLSpanElement> | undefined;
210
+ onScrollCapture?: import('react').UIEventHandler<HTMLSpanElement> | undefined;
211
+ onWheel?: import('react').WheelEventHandler<HTMLSpanElement> | undefined;
212
+ onWheelCapture?: import('react').WheelEventHandler<HTMLSpanElement> | undefined;
213
+ onAnimationStart?: import('react').AnimationEventHandler<HTMLSpanElement> | undefined;
214
+ onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLSpanElement> | undefined;
215
+ onAnimationEnd?: import('react').AnimationEventHandler<HTMLSpanElement> | undefined;
216
+ onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLSpanElement> | undefined;
217
+ onAnimationIteration?: import('react').AnimationEventHandler<HTMLSpanElement> | undefined;
218
+ onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLSpanElement> | undefined;
219
+ onTransitionEnd?: import('react').TransitionEventHandler<HTMLSpanElement> | undefined;
220
+ onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLSpanElement> | undefined;
221
+ key?: import('react').Key | null | undefined;
222
+ slot?: string | undefined;
223
+ title?: string | undefined;
224
+ defaultValue?: string | number | readonly string[] | undefined;
225
+ suppressContentEditableWarning?: boolean | undefined;
226
+ accessKey?: string | undefined;
227
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
228
+ contextMenu?: string | undefined;
229
+ dir?: string | undefined;
230
+ draggable?: (boolean | "true" | "false") | undefined;
231
+ hidden?: boolean | undefined;
232
+ nonce?: string | undefined;
233
+ spellCheck?: (boolean | "true" | "false") | undefined;
234
+ translate?: "yes" | "no" | undefined;
235
+ radioGroup?: string | undefined;
236
+ about?: string | undefined;
237
+ content?: string | undefined;
238
+ datatype?: string | undefined;
239
+ inlist?: any;
240
+ prefix?: string | undefined;
241
+ property?: string | undefined;
242
+ rel?: string | undefined;
243
+ resource?: string | undefined;
244
+ rev?: string | undefined;
245
+ typeof?: string | undefined;
246
+ vocab?: string | undefined;
247
+ autoCapitalize?: string | undefined;
248
+ autoCorrect?: string | undefined;
249
+ autoSave?: string | undefined;
250
+ itemProp?: string | undefined;
251
+ itemScope?: boolean | undefined;
252
+ itemType?: string | undefined;
253
+ itemID?: string | undefined;
254
+ itemRef?: string | undefined;
255
+ results?: number | undefined;
256
+ security?: string | undefined;
257
+ unselectable?: "on" | "off" | undefined;
258
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
259
+ is?: string | undefined;
260
+ } & {
261
+ as?: "span" | undefined;
262
+ children?: import('react').ReactNode | ((bag: {
263
+ checked: boolean;
264
+ changing: boolean;
265
+ focus: boolean;
266
+ active: boolean;
267
+ hover: boolean;
268
+ autofocus: boolean;
269
+ disabled: boolean;
270
+ indeterminate: boolean;
271
+ }) => import('react').ReactElement);
272
+ refName?: string;
273
+ } & {
274
+ className?: string | ((bag: {
275
+ checked: boolean;
276
+ changing: boolean;
277
+ focus: boolean;
278
+ active: boolean;
279
+ hover: boolean;
280
+ autofocus: boolean;
281
+ disabled: boolean;
282
+ indeterminate: boolean;
283
+ }) => string) | undefined;
284
+ } & {
285
+ value?: string | undefined;
286
+ disabled?: boolean;
287
+ indeterminate?: boolean;
288
+ checked?: boolean;
289
+ defaultChecked?: boolean;
290
+ autoFocus?: boolean;
291
+ form?: string;
292
+ name?: string;
293
+ onChange?: (checked: boolean) => void;
294
+ } & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,59 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import React__default, { useId, useState, useMemo, useCallback, forwardRef, useEffect } from "react";
4
+ import { Icon } from "../../icons/Icon.js";
5
+ import { W, p, o, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D, H, c as o$1 } from "../../keyboard-B256ZoM-.js";
6
+ import { w } from "../../use-active-press-B6yeSopF.js";
7
+ import { u, a, l, T, I, G, j, p as p$1 } from "../../label-C_5Syaoj.js";
8
+ import { r } from "../../bugs-CSBdWk0R.js";
9
+ import '../../assets/Switch.css';let se = "span";
10
+ function ie(T$1, h) {
11
+ let C = useId(), k = u(), x = a(), { id: g = k || `headlessui-checkbox-${C}`, disabled: e = x || false, autoFocus: s = false, checked: E, defaultChecked: v, onChange: P, name: d, value: D$1, form: R, indeterminate: n = false, ...A } = T$1, r$1 = l(v), [a$1, t] = T(E, P, r$1 != null ? r$1 : false), F = I(), K = G(), _ = p(), [p$2, c] = useState(false), u$1 = o(() => {
12
+ c(true), t == null || t(!a$1), _.nextFrame(() => {
13
+ c(false);
14
+ });
15
+ }), H$1 = o((o2) => {
16
+ if (r(o2.currentTarget)) return o2.preventDefault();
17
+ o2.preventDefault(), u$1();
18
+ }), B = o((o2) => {
19
+ o2.key === o$1.Space ? (o2.preventDefault(), u$1()) : o2.key === o$1.Enter && p$1(o2.currentTarget);
20
+ }), L = o((o2) => o2.preventDefault()), { isFocusVisible: m, focusProps: I$1 } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: s }), { isHovered: f, hoverProps: M } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: e }), { pressed: b, pressProps: U } = w({ disabled: e }), O = D({ ref: h, id: g, role: "checkbox", "aria-checked": n ? "mixed" : a$1 ? "true" : "false", "aria-labelledby": F, "aria-describedby": K, "aria-disabled": e ? true : void 0, indeterminate: n ? "true" : void 0, tabIndex: e ? void 0 : 0, onKeyUp: e ? void 0 : B, onKeyPress: e ? void 0 : L, onClick: e ? void 0 : H$1 }, I$1, M, U), X = useMemo(() => ({ checked: a$1, disabled: e, hover: f, focus: m, active: b, indeterminate: n, changing: p$2, autofocus: s }), [a$1, n, e, f, m, b, p$2, s]), G$1 = useCallback(() => {
21
+ if (r$1 !== void 0) return t == null ? void 0 : t(r$1);
22
+ }, [t, r$1]);
23
+ return React__default.createElement(React__default.Fragment, null, d != null && React__default.createElement(j, { disabled: e, data: { [d]: D$1 || "on" }, overrides: { type: "checkbox", checked: a$1 }, form: R, onReset: G$1 }), H({ ourProps: O, theirProps: A, slot: X, defaultTag: se, name: "Checkbox" }));
24
+ }
25
+ let Re = W(ie);
26
+ const enabled = "_enabled_1g34c_20";
27
+ const cls = {
28
+ "switch": "_switch_1g34c_2",
29
+ enabled
30
+ };
31
+ const Switch = forwardRef(
32
+ (props, ref) => {
33
+ const { checked, onChange, ...restProps } = props;
34
+ const [enabled2, setEnabled] = useState(checked);
35
+ const handleChange = (value) => {
36
+ setEnabled(value);
37
+ onChange == null ? void 0 : onChange(value);
38
+ };
39
+ useEffect(() => {
40
+ setEnabled(!!checked);
41
+ }, [checked]);
42
+ return /* @__PURE__ */ jsx(
43
+ Re,
44
+ {
45
+ ref,
46
+ checked: enabled2,
47
+ onChange: handleChange,
48
+ className: classNames(cls.switch, {
49
+ [cls.enabled]: enabled2
50
+ }),
51
+ ...restProps,
52
+ children: /* @__PURE__ */ jsx(Icon, { iconName: "Done16px" })
53
+ }
54
+ );
55
+ }
56
+ );
57
+ export {
58
+ Switch
59
+ };
@@ -0,0 +1,2 @@
1
+ export { Switch } from './Switch';
2
+ export type { TSwitchProps } from './Switch';
@@ -0,0 +1,4 @@
1
+ import { Switch } from "./Switch.js";
2
+ export {
3
+ Switch
4
+ };
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+
3
+ type TProps = {
4
+ handleNextTab: () => void;
5
+ handlePrevTab: () => void;
6
+ };
7
+ export declare const TabButtons: FC<TProps>;
8
+ export {};
@@ -0,0 +1,29 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { memo, useMemo } from "react";
3
+ import { ETabTrailIconName, ETabTrailButtonVariant } from "./constants.js";
4
+ import { MergedButton } from "../../MergedButton/MergedButton.js";
5
+ const TabButtons = memo(
6
+ ({ handleNextTab, handlePrevTab }) => {
7
+ const buttons = useMemo(
8
+ () => [
9
+ {
10
+ isIconButton: true,
11
+ iconName: ETabTrailIconName.LEFT,
12
+ variant: ETabTrailButtonVariant.WHITE,
13
+ onClick: handlePrevTab
14
+ },
15
+ {
16
+ isIconButton: true,
17
+ iconName: ETabTrailIconName.RIGHT,
18
+ variant: ETabTrailButtonVariant.WHITE,
19
+ onClick: handleNextTab
20
+ }
21
+ ],
22
+ [handlePrevTab, handleNextTab]
23
+ );
24
+ return /* @__PURE__ */ jsx(MergedButton, { buttons });
25
+ }
26
+ );
27
+ export {
28
+ TabButtons
29
+ };
@@ -0,0 +1,8 @@
1
+ export declare enum ETabTrailButtonVariant {
2
+ GRAY = "gray",
3
+ WHITE = "white"
4
+ }
5
+ export declare enum ETabTrailIconName {
6
+ LEFT = "ArrowLeft16px",
7
+ RIGHT = "ArrowRight16px"
8
+ }
@@ -0,0 +1,14 @@
1
+ var ETabTrailButtonVariant = /* @__PURE__ */ ((ETabTrailButtonVariant2) => {
2
+ ETabTrailButtonVariant2["GRAY"] = "gray";
3
+ ETabTrailButtonVariant2["WHITE"] = "white";
4
+ return ETabTrailButtonVariant2;
5
+ })(ETabTrailButtonVariant || {});
6
+ var ETabTrailIconName = /* @__PURE__ */ ((ETabTrailIconName2) => {
7
+ ETabTrailIconName2["LEFT"] = "ArrowLeft16px";
8
+ ETabTrailIconName2["RIGHT"] = "ArrowRight16px";
9
+ return ETabTrailIconName2;
10
+ })(ETabTrailIconName || {});
11
+ export {
12
+ ETabTrailButtonVariant,
13
+ ETabTrailIconName
14
+ };
@@ -0,0 +1 @@
1
+ export { TabButtons } from './TabButtons';
@@ -0,0 +1,4 @@
1
+ import { TabButtons } from "./TabButtons.js";
2
+ export {
3
+ TabButtons
4
+ };
@@ -0,0 +1,11 @@
1
+ import { ETabTrailSize } from './constants';
2
+
3
+ export type TCategoryTab = {
4
+ name: string;
5
+ content: React.ReactNode;
6
+ };
7
+ export type TTabTrailProps = {
8
+ categories: TCategoryTab[];
9
+ size?: ETabTrailSize;
10
+ };
11
+ export declare const TabTrail: import('react').ForwardRefExoticComponent<TTabTrailProps & import('react').RefAttributes<HTMLElement>>;