@simpli-route/apollo-ds 0.1.40 → 0.1.43

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.
Files changed (350) hide show
  1. package/dist/components/FilterButton/FilterButton.d.ts +3 -0
  2. package/dist/components/FilterButton/index.d.ts +1 -0
  3. package/dist/components/FilterButton/types.d.ts +60 -0
  4. package/dist/components/FilterButton/variants.d.ts +12 -0
  5. package/dist/components/InvisibleSelect/InvisibleSelect.d.ts +8 -0
  6. package/dist/components/InvisibleSelect/InvisibleSelect.test.d.ts +1 -0
  7. package/dist/components/InvisibleSelect/InvisibleSelectItem.d.ts +25 -0
  8. package/dist/components/InvisibleSelect/index.d.ts +4 -0
  9. package/dist/components/InvisibleSelect/types.d.ts +86 -0
  10. package/dist/components/InvisibleSelect/variants.d.ts +23 -0
  11. package/dist/components/SelectInput/PopoverContent.d.ts +12 -0
  12. package/dist/components/SelectInput/SelectContent.d.ts +16 -0
  13. package/dist/components/SelectInput/SelectInput.d.ts +6 -0
  14. package/dist/components/SelectInput/index.d.ts +2 -0
  15. package/dist/components/SelectInput/types.d.ts +112 -0
  16. package/dist/components/{Select → SelectInput}/variants.d.ts +6 -7
  17. package/dist/components/index.d.ts +3 -1
  18. package/dist/index.cjs.js +1 -1
  19. package/dist/index.cjs10.js +1 -1
  20. package/dist/index.cjs100.js +1 -1
  21. package/dist/index.cjs101.js +1 -1
  22. package/dist/index.cjs102.js +1 -1
  23. package/dist/index.cjs103.js +1 -1
  24. package/dist/index.cjs104.js +1 -1
  25. package/dist/index.cjs106.js +1 -1
  26. package/dist/index.cjs107.js +1 -1
  27. package/dist/index.cjs108.js +1 -1
  28. package/dist/index.cjs109.js +1 -1
  29. package/dist/index.cjs11.js +1 -1
  30. package/dist/index.cjs110.js +1 -1
  31. package/dist/index.cjs111.js +1 -1
  32. package/dist/index.cjs112.js +1 -1
  33. package/dist/index.cjs113.js +1 -1
  34. package/dist/index.cjs114.js +1 -1
  35. package/dist/index.cjs115.js +1 -1
  36. package/dist/index.cjs116.js +1 -1
  37. package/dist/index.cjs117.js +1 -1
  38. package/dist/index.cjs118.js +1 -1
  39. package/dist/index.cjs119.js +1 -1
  40. package/dist/index.cjs12.js +1 -1
  41. package/dist/index.cjs120.js +1 -1
  42. package/dist/index.cjs121.js +1 -1
  43. package/dist/index.cjs122.js +1 -1
  44. package/dist/index.cjs123.js +1 -1
  45. package/dist/index.cjs124.js +1 -1
  46. package/dist/index.cjs125.js +1 -1
  47. package/dist/index.cjs126.js +1 -1
  48. package/dist/index.cjs127.js +1 -1
  49. package/dist/index.cjs128.js +1 -1
  50. package/dist/index.cjs129.js +1 -1
  51. package/dist/index.cjs13.js +1 -1
  52. package/dist/index.cjs135.js +1 -1
  53. package/dist/index.cjs136.js +1 -1
  54. package/dist/index.cjs137.js +1 -1
  55. package/dist/index.cjs139.js +1 -1
  56. package/dist/index.cjs14.js +1 -1
  57. package/dist/index.cjs140.js +1 -1
  58. package/dist/index.cjs141.js +1 -1
  59. package/dist/index.cjs142.js +1 -1
  60. package/dist/index.cjs143.js +1 -1
  61. package/dist/index.cjs144.js +1 -1
  62. package/dist/index.cjs145.js +1 -1
  63. package/dist/index.cjs146.js +1 -1
  64. package/dist/index.cjs148.js +1 -1
  65. package/dist/index.cjs15.js +1 -1
  66. package/dist/index.cjs150.js +1 -1
  67. package/dist/index.cjs151.js +1 -1
  68. package/dist/index.cjs152.js +1 -1
  69. package/dist/index.cjs153.js +1 -1
  70. package/dist/index.cjs155.js +1 -1
  71. package/dist/index.cjs156.js +1 -1
  72. package/dist/index.cjs157.js +1 -1
  73. package/dist/index.cjs158.js +1 -1
  74. package/dist/index.cjs159.js +1 -1
  75. package/dist/index.cjs16.js +1 -1
  76. package/dist/index.cjs161.js +1 -1
  77. package/dist/index.cjs162.js +1 -0
  78. package/dist/index.cjs163.js +1 -0
  79. package/dist/index.cjs164.js +1 -0
  80. package/dist/index.cjs165.js +1 -0
  81. package/dist/index.cjs166.js +1 -0
  82. package/dist/index.cjs167.js +1 -0
  83. package/dist/index.cjs17.js +1 -1
  84. package/dist/index.cjs18.js +1 -1
  85. package/dist/index.cjs19.js +1 -1
  86. package/dist/index.cjs2.js +1 -1
  87. package/dist/index.cjs20.js +1 -1
  88. package/dist/index.cjs21.js +1 -1
  89. package/dist/index.cjs22.js +1 -1
  90. package/dist/index.cjs23.js +1 -1
  91. package/dist/index.cjs24.js +1 -1
  92. package/dist/index.cjs25.js +1 -1
  93. package/dist/index.cjs26.js +1 -1
  94. package/dist/index.cjs27.js +1 -1
  95. package/dist/index.cjs28.js +1 -1
  96. package/dist/index.cjs29.js +1 -1
  97. package/dist/index.cjs3.js +1 -1
  98. package/dist/index.cjs30.js +1 -1
  99. package/dist/index.cjs31.js +1 -1
  100. package/dist/index.cjs32.js +1 -1
  101. package/dist/index.cjs33.js +1 -1
  102. package/dist/index.cjs34.js +1 -1
  103. package/dist/index.cjs35.js +1 -1
  104. package/dist/index.cjs36.js +1 -1
  105. package/dist/index.cjs37.js +1 -1
  106. package/dist/index.cjs38.js +1 -1
  107. package/dist/index.cjs39.js +1 -1
  108. package/dist/index.cjs4.js +1 -1
  109. package/dist/index.cjs40.js +1 -1
  110. package/dist/index.cjs41.js +1 -1
  111. package/dist/index.cjs42.js +1 -1
  112. package/dist/index.cjs43.js +1 -1
  113. package/dist/index.cjs44.js +1 -1
  114. package/dist/index.cjs45.js +1 -1
  115. package/dist/index.cjs46.js +1 -1
  116. package/dist/index.cjs47.js +1 -1
  117. package/dist/index.cjs48.js +1 -1
  118. package/dist/index.cjs49.js +1 -1
  119. package/dist/index.cjs5.js +1 -1
  120. package/dist/index.cjs50.js +1 -1
  121. package/dist/index.cjs51.js +1 -1
  122. package/dist/index.cjs52.js +1 -1
  123. package/dist/index.cjs53.js +1 -1
  124. package/dist/index.cjs54.js +1 -1
  125. package/dist/index.cjs55.js +1 -1
  126. package/dist/index.cjs56.js +1 -1
  127. package/dist/index.cjs57.js +1 -1
  128. package/dist/index.cjs58.js +1 -1
  129. package/dist/index.cjs59.js +1 -1
  130. package/dist/index.cjs6.js +1 -1
  131. package/dist/index.cjs60.js +1 -1
  132. package/dist/index.cjs61.js +1 -1
  133. package/dist/index.cjs62.js +1 -1
  134. package/dist/index.cjs63.js +1 -1
  135. package/dist/index.cjs64.js +1 -1
  136. package/dist/index.cjs65.js +1 -1
  137. package/dist/index.cjs66.js +1 -1
  138. package/dist/index.cjs67.js +1 -1
  139. package/dist/index.cjs68.js +1 -1
  140. package/dist/index.cjs69.js +1 -1
  141. package/dist/index.cjs7.js +1 -1
  142. package/dist/index.cjs70.js +1 -1
  143. package/dist/index.cjs71.js +1 -1
  144. package/dist/index.cjs72.js +1 -1
  145. package/dist/index.cjs73.js +1 -1
  146. package/dist/index.cjs74.js +1 -1
  147. package/dist/index.cjs75.js +1 -1
  148. package/dist/index.cjs76.js +1 -1
  149. package/dist/index.cjs77.js +1 -1
  150. package/dist/index.cjs78.js +1 -9
  151. package/dist/index.cjs79.js +1 -19
  152. package/dist/index.cjs8.js +1 -1
  153. package/dist/index.cjs80.js +1 -1
  154. package/dist/index.cjs81.js +1 -1
  155. package/dist/index.cjs82.js +9 -1
  156. package/dist/index.cjs83.js +19 -1
  157. package/dist/index.cjs84.js +1 -1
  158. package/dist/index.cjs85.js +1 -1
  159. package/dist/index.cjs86.js +1 -1
  160. package/dist/index.cjs87.js +1 -1
  161. package/dist/index.cjs88.js +1 -1
  162. package/dist/index.cjs89.js +1 -1
  163. package/dist/index.cjs9.js +1 -1
  164. package/dist/index.cjs90.js +1 -1
  165. package/dist/index.cjs91.js +1 -1
  166. package/dist/index.cjs92.js +1 -1
  167. package/dist/index.cjs93.js +1 -1
  168. package/dist/index.cjs94.js +1 -1
  169. package/dist/index.cjs95.js +1 -1
  170. package/dist/index.cjs96.js +1 -1
  171. package/dist/index.cjs97.js +1 -1
  172. package/dist/index.cjs98.js +1 -1
  173. package/dist/index.cjs99.js +1 -1
  174. package/dist/index.es.js +62 -58
  175. package/dist/index.es10.js +45 -33
  176. package/dist/index.es100.js +2 -340
  177. package/dist/index.es101.js +28 -164
  178. package/dist/index.es102.js +4 -4
  179. package/dist/index.es103.js +6 -190
  180. package/dist/index.es104.js +18 -41
  181. package/dist/index.es106.js +8 -2
  182. package/dist/index.es107.js +341 -20
  183. package/dist/index.es108.js +166 -2
  184. package/dist/index.es109.js +190 -45
  185. package/dist/index.es11.js +38 -76
  186. package/dist/index.es110.js +51 -7
  187. package/dist/index.es111.js +2 -5
  188. package/dist/index.es112.js +4 -27
  189. package/dist/index.es113.js +13 -184
  190. package/dist/index.es114.js +4 -16
  191. package/dist/index.es115.js +44 -352
  192. package/dist/index.es116.js +7 -24
  193. package/dist/index.es117.js +7 -19
  194. package/dist/index.es118.js +21 -148
  195. package/dist/index.es119.js +184 -9
  196. package/dist/index.es12.js +77 -32
  197. package/dist/index.es120.js +9 -10
  198. package/dist/index.es121.js +342 -200
  199. package/dist/index.es122.js +20 -64
  200. package/dist/index.es123.js +9 -4
  201. package/dist/index.es124.js +154 -4
  202. package/dist/index.es125.js +17 -4
  203. package/dist/index.es126.js +17 -4
  204. package/dist/index.es127.js +211 -4
  205. package/dist/index.es128.js +68 -4
  206. package/dist/index.es129.js +14 -4
  207. package/dist/index.es13.js +32 -113
  208. package/dist/index.es131.js +2 -2
  209. package/dist/index.es132.js +2 -2
  210. package/dist/index.es133.js +2 -2
  211. package/dist/index.es134.js +2 -2
  212. package/dist/index.es135.js +2 -2
  213. package/dist/index.es136.js +2 -1063
  214. package/dist/index.es137.js +4 -77
  215. package/dist/index.es138.js +2 -2
  216. package/dist/index.es139.js +2 -57
  217. package/dist/index.es14.js +106 -133
  218. package/dist/index.es140.js +4 -20
  219. package/dist/index.es141.js +2 -2
  220. package/dist/index.es142.js +1064 -60
  221. package/dist/index.es143.js +77 -4
  222. package/dist/index.es144.js +4 -14
  223. package/dist/index.es145.js +59 -311
  224. package/dist/index.es146.js +14 -20
  225. package/dist/index.es147.js +2 -2
  226. package/dist/index.es148.js +61 -4
  227. package/dist/index.es149.js +2 -2
  228. package/dist/index.es15.js +109 -148
  229. package/dist/index.es150.js +10 -90
  230. package/dist/index.es151.js +311 -4
  231. package/dist/index.es152.js +26 -10
  232. package/dist/index.es153.js +4 -28
  233. package/dist/index.es154.js +2 -2
  234. package/dist/index.es155.js +4 -753
  235. package/dist/index.es156.js +94 -4
  236. package/dist/index.es157.js +4 -51
  237. package/dist/index.es158.js +10 -19
  238. package/dist/index.es159.js +28 -4
  239. package/dist/index.es16.js +31 -27
  240. package/dist/index.es161.js +51 -4
  241. package/dist/index.es162.js +19 -0
  242. package/dist/index.es163.js +4 -0
  243. package/dist/index.es164.js +4 -0
  244. package/dist/index.es165.js +753 -0
  245. package/dist/index.es166.js +4 -0
  246. package/dist/index.es167.js +4 -0
  247. package/dist/index.es17.js +129 -39
  248. package/dist/index.es18.js +155 -35
  249. package/dist/index.es19.js +39 -105
  250. package/dist/index.es2.js +2 -2
  251. package/dist/index.es20.js +46 -88
  252. package/dist/index.es21.js +32 -103
  253. package/dist/index.es22.js +102 -73
  254. package/dist/index.es23.js +78 -130
  255. package/dist/index.es24.js +108 -37
  256. package/dist/index.es25.js +73 -75
  257. package/dist/index.es26.js +92 -46
  258. package/dist/index.es27.js +78 -48
  259. package/dist/index.es28.js +48 -3
  260. package/dist/index.es29.js +44 -96
  261. package/dist/index.es3.js +3 -3
  262. package/dist/index.es30.js +3 -78
  263. package/dist/index.es31.js +94 -39
  264. package/dist/index.es32.js +77 -23
  265. package/dist/index.es33.js +40 -23
  266. package/dist/index.es34.js +24 -8
  267. package/dist/index.es35.js +28 -8
  268. package/dist/index.es36.js +8 -6
  269. package/dist/index.es37.js +8 -27
  270. package/dist/index.es38.js +6 -6
  271. package/dist/index.es39.js +6 -45
  272. package/dist/index.es4.js +4 -4
  273. package/dist/index.es40.js +31 -34
  274. package/dist/index.es41.js +44 -29
  275. package/dist/index.es42.js +148 -20
  276. package/dist/index.es43.js +20 -148
  277. package/dist/index.es44.js +31 -81
  278. package/dist/index.es45.js +95 -117
  279. package/dist/index.es46.js +59 -90
  280. package/dist/index.es47.js +115 -84
  281. package/dist/index.es48.js +126 -24
  282. package/dist/index.es49.js +72 -74
  283. package/dist/index.es5.js +26 -24
  284. package/dist/index.es50.js +98 -24
  285. package/dist/index.es51.js +26 -47
  286. package/dist/index.es52.js +106 -29
  287. package/dist/index.es53.js +21 -141
  288. package/dist/index.es54.js +3 -92
  289. package/dist/index.es55.js +158 -20
  290. package/dist/index.es56.js +92 -10
  291. package/dist/index.es57.js +22 -10
  292. package/dist/index.es58.js +29 -11
  293. package/dist/index.es59.js +18 -3
  294. package/dist/index.es6.js +4 -4
  295. package/dist/index.es60.js +14 -15
  296. package/dist/index.es61.js +13 -14
  297. package/dist/index.es62.js +163 -16
  298. package/dist/index.es63.js +10 -163
  299. package/dist/index.es64.js +10 -7
  300. package/dist/index.es65.js +11 -17
  301. package/dist/index.es66.js +13 -149
  302. package/dist/index.es67.js +63 -135
  303. package/dist/index.es68.js +88 -20
  304. package/dist/index.es69.js +74 -95
  305. package/dist/index.es7.js +3 -3
  306. package/dist/index.es70.js +100 -12
  307. package/dist/index.es71.js +13 -13
  308. package/dist/index.es72.js +7 -19
  309. package/dist/index.es73.js +17 -19
  310. package/dist/index.es74.js +149 -10
  311. package/dist/index.es75.js +9 -9
  312. package/dist/index.es76.js +10 -45
  313. package/dist/index.es77.js +45 -2
  314. package/dist/index.es78.js +19 -30
  315. package/dist/index.es79.js +20 -599
  316. package/dist/index.es8.js +5 -5
  317. package/dist/index.es80.js +40 -21
  318. package/dist/index.es81.js +2 -21
  319. package/dist/index.es82.js +30 -25
  320. package/dist/index.es83.js +599 -21
  321. package/dist/index.es84.js +16 -14
  322. package/dist/index.es85.js +12 -10
  323. package/dist/index.es86.js +21 -15
  324. package/dist/index.es87.js +14 -10
  325. package/dist/index.es88.js +8 -8
  326. package/dist/index.es89.js +9 -11
  327. package/dist/index.es9.js +74 -40
  328. package/dist/index.es90.js +7 -7
  329. package/dist/index.es91.js +6 -6
  330. package/dist/index.es92.js +10 -10
  331. package/dist/index.es93.js +21 -30
  332. package/dist/index.es94.js +19 -2
  333. package/dist/index.es95.js +21 -2
  334. package/dist/index.es96.js +19 -4
  335. package/dist/index.es97.js +21 -28
  336. package/dist/index.es98.js +19 -2
  337. package/dist/index.es99.js +2 -8
  338. package/dist/stories/InvisibleSelect.stories.d.ts +108 -0
  339. package/dist/stories/SelectInput.stories.d.ts +50 -0
  340. package/dist/stories/Slider.stories.d.ts +13 -0
  341. package/dist/stories/Tabs.stories.d.ts +10 -0
  342. package/dist/stories/Tooltip.stories.d.ts +16 -0
  343. package/dist/style.css +121 -61
  344. package/package.json +1 -1
  345. package/dist/components/Select/Select.d.ts +0 -12
  346. package/dist/components/Select/SelectContent.d.ts +0 -24
  347. package/dist/components/Select/SelectItem.d.ts +0 -13
  348. package/dist/components/Select/TooltipSelect.d.ts +0 -3
  349. package/dist/components/Select/index.d.ts +0 -3
  350. package/dist/components/Select/types.d.ts +0 -76
@@ -0,0 +1,3 @@
1
+ import { FilterButtonProps } from './types';
2
+
3
+ export declare const FilterButton: ({ leftIcon, isDisabled, children, className, isLoading, loaderPosition, loaderProps, unstyled, isMobileFullWidth, filterSelected, hideBadgeFilterSelected, ...rest }: FilterButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { FilterButton } from './FilterButton';
@@ -0,0 +1,60 @@
1
+ import { LoaderProps } from '..';
2
+ import { ButtonProps as BtnAriaProps } from 'react-aria-components';
3
+ import { ReactNode } from 'react';
4
+
5
+ export interface FilterButtonProps extends BtnAriaProps {
6
+ /**
7
+ * Optional click handler
8
+ */
9
+ onPress?: () => void;
10
+ children?: ReactNode;
11
+ /**
12
+ * Number of selected filters to display in badge
13
+ */
14
+ filterSelected?: number;
15
+ /**
16
+ * Optional className to add the root of the button
17
+ */
18
+ className?: string;
19
+ /**
20
+ * Add left icon to the button
21
+ */
22
+ leftIcon?: ReactNode;
23
+ /**
24
+ * Defines if the button is disabled
25
+ */
26
+ isDisabled?: boolean;
27
+ /**
28
+ * Indicates if the button is in the loading process
29
+ */
30
+ isLoading?: boolean;
31
+ /**
32
+ * Optional props to pass to the loader component
33
+ * @default left
34
+ */
35
+ loaderPosition?: "left" | "right";
36
+ loaderProps?: LoaderProps;
37
+ /**
38
+ * Wether the button should be full width (take the whole width of the container)
39
+ */
40
+ fullWidth?: boolean;
41
+ /**
42
+ * Wether the button should apply styles or remove all styling
43
+ */
44
+ unstyled?: boolean;
45
+ focus?: boolean;
46
+ id?: string;
47
+ isMobileFullWidth?: boolean;
48
+ /**
49
+ * Wether the badge filter selected should be hidden
50
+ */
51
+ hideBadgeFilterSelected?: boolean;
52
+ }
53
+ export interface RenderItemProps {
54
+ renderPosition: "left" | "right";
55
+ leftIcon?: ReactNode;
56
+ rightIcon?: ReactNode;
57
+ isLoading?: boolean;
58
+ loaderPosition?: "left" | "right";
59
+ loaderProps?: LoaderProps;
60
+ }
@@ -0,0 +1,12 @@
1
+ export declare const filterButtonVariants: (props?: ({
2
+ isActive?: boolean | null | undefined;
3
+ isHovered?: boolean | null | undefined;
4
+ isFocused?: boolean | null | undefined;
5
+ isPressed?: boolean | null | undefined;
6
+ isDisabled?: boolean | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ export declare const filterButtonBadgeVariants: (props?: ({
9
+ isActive?: boolean | null | undefined;
10
+ isHovered?: boolean | null | undefined;
11
+ isDisabled?: boolean | null | undefined;
12
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,8 @@
1
+ import { InvisibleSelectProps } from './types';
2
+ import { ReactElement, Ref } from 'react';
3
+
4
+ export declare const InvisibleSelect: (<T extends object>(props: InvisibleSelectProps<T> & {
5
+ ref?: Ref<HTMLButtonElement>;
6
+ }) => ReactElement) & {
7
+ displayName?: string | undefined;
8
+ };
@@ -0,0 +1,25 @@
1
+ import { ListBoxItemProps } from 'react-aria-components';
2
+
3
+ export interface InvisibleSelectItemProps extends Omit<ListBoxItemProps, "id"> {
4
+ children: React.ReactNode;
5
+ /**
6
+ * The unique id of the item.
7
+ * is necessary for the select component to work and match the selected value
8
+ */
9
+ id: string | number;
10
+ /**
11
+ * A string representation of the item's contents, used for text-based selection and accessibility.
12
+ * If not provided, it will try to use children if it's a string.
13
+ */
14
+ textValue?: string;
15
+ }
16
+ /**
17
+ * InvisibleSelectItem component to be used within InvisibleSelect
18
+ *
19
+ * ### Usage
20
+ *
21
+ * ```typescript
22
+ * import { InvisibleSelectItem } from "@simpli-route/apollo-ds";
23
+ * ```
24
+ */
25
+ export declare const InvisibleSelectItem: (props: InvisibleSelectItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export { InvisibleSelect } from './InvisibleSelect';
2
+ export type { InvisibleSelectItemProps } from './InvisibleSelectItem';
3
+ export { InvisibleSelectItem } from './InvisibleSelectItem';
4
+ export type { InvisibleSelectOption, InvisibleSelectProps } from './types';
@@ -0,0 +1,86 @@
1
+ import { TooltipProps } from '../Tooltip/types';
2
+ import { Key, SelectProps as AriaSelectProps } from 'react-aria-components';
3
+
4
+ export type InvisibleSelectSize = "bodySm" | "bodyDefault" | "h5" | "h3";
5
+ export type InvisibleSelectOrientation = "vertical" | "horizontal";
6
+ export interface InvisibleSelectOption {
7
+ id: string | number;
8
+ label: string;
9
+ [key: string]: any;
10
+ }
11
+ export type ValueType = Key | null;
12
+ export interface InvisibleSelectProps<T extends object> extends Omit<AriaSelectProps<T, "single" | "multiple">, "children"> {
13
+ /**
14
+ * Size variant of the select
15
+ * @default "bodyDefault"
16
+ */
17
+ size?: InvisibleSelectSize;
18
+ /**
19
+ * Orientation of the label and select
20
+ * @default "vertical"
21
+ */
22
+ orientation?: InvisibleSelectOrientation;
23
+ /**
24
+ * Label text for the select
25
+ */
26
+ label?: string;
27
+ /**
28
+ * Placeholder text when no option is selected
29
+ * @default "Select an option"
30
+ */
31
+ placeholder?: string;
32
+ /**
33
+ * Caption error message displayed when validation fails
34
+ */
35
+ captionError?: string;
36
+ /**
37
+ * Validation state of the select
38
+ */
39
+ validationState?: "valid" | "invalid";
40
+ /**
41
+ * Custom class name for the container
42
+ */
43
+ className?: string;
44
+ /**
45
+ * Custom class name for the button
46
+ */
47
+ buttonClassName?: string;
48
+ /**
49
+ * Custom class name for the label
50
+ */
51
+ labelClassName?: string;
52
+ /**
53
+ * Custom class name for the caption error
54
+ */
55
+ captionErrorClassName?: string;
56
+ /**
57
+ * Whether the select is disabled
58
+ * @default false
59
+ */
60
+ isDisabled?: boolean;
61
+ /**
62
+ * Whether the select is required
63
+ * @default false
64
+ */
65
+ isRequired?: boolean;
66
+ /**
67
+ * Tooltip text for the label
68
+ */
69
+ tooltipText?: string;
70
+ /**
71
+ * Tooltip support text
72
+ */
73
+ tooltipSupportText?: string;
74
+ /**
75
+ * Tooltip props
76
+ */
77
+ tooltipProps?: TooltipProps;
78
+ /**
79
+ * Array of items to display in the select
80
+ */
81
+ items?: Iterable<T>;
82
+ /**
83
+ * Children or render function for items
84
+ */
85
+ children: React.ReactNode | ((item: T) => React.ReactNode);
86
+ }
@@ -0,0 +1,23 @@
1
+ export declare const invisibleSelectContainerVariants: (props?: ({
2
+ size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
3
+ orientation?: "horizontal" | "vertical" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export declare const invisibleSelectButtonVariants: (props?: ({
6
+ size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
7
+ state?: "active" | "disabled" | "error" | "hover" | "default" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ export declare const invisibleSelectValueVariants: (props?: ({
10
+ hasValue?: boolean | null | undefined;
11
+ isDisabled?: boolean | null | undefined;
12
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
13
+ export declare const invisibleSelectChevronVariants: (props?: ({
14
+ state?: "active" | "disabled" | "error" | "hover" | "default" | null | undefined;
15
+ isOpen?: boolean | null | undefined;
16
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
17
+ export declare const invisibleSelectPopoverVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
18
+ export declare const invisibleSelectListBoxVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
19
+ export declare const invisibleSelectItemVariants: (props?: ({
20
+ isSelected?: boolean | null | undefined;
21
+ isHovered?: boolean | null | undefined;
22
+ isFocusVisible?: boolean | null | undefined;
23
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,12 @@
1
+ import { SelectInputItem } from './types';
2
+
3
+ interface PopoverContentProps {
4
+ enableSearch: boolean;
5
+ contains: (string: string, substring: string) => boolean;
6
+ classNameSearchField?: string;
7
+ classNameSearchFieldInput?: string;
8
+ placeholderSearch?: string;
9
+ items: SelectInputItem[];
10
+ }
11
+ export declare const PopoverContent: ({ enableSearch, contains, classNameSearchField, classNameSearchFieldInput, placeholderSearch, items, }: PopoverContentProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,16 @@
1
+ import { ForwardedRef } from 'react';
2
+
3
+ interface SelectContentProps {
4
+ ref: ForwardedRef<HTMLButtonElement>;
5
+ isOpen: boolean;
6
+ setIsOpen: (isOpen: boolean) => void;
7
+ size: "xs" | "sm" | "md" | "lg";
8
+ isDisabled: boolean;
9
+ classNameButton?: string;
10
+ selectionMode: "single" | "multiple";
11
+ maxLengthTextOption: number;
12
+ handleDeleteOptionSelected: (key: string | number) => void;
13
+ placeholder?: string;
14
+ }
15
+ export declare const SelectContent: ({ ref, isOpen, setIsOpen, size, isDisabled, classNameButton, selectionMode, maxLengthTextOption, handleDeleteOptionSelected, placeholder, }: SelectContentProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,6 @@
1
+ import { SelectInputItem, SelectInputProps } from './';
2
+ import { ReactElement, Ref } from 'react';
3
+
4
+ export declare const SelectInput: <T extends SelectInputItem = SelectInputItem>(props: SelectInputProps<T> & {
5
+ ref?: Ref<HTMLButtonElement>;
6
+ }) => ReactElement;
@@ -0,0 +1,2 @@
1
+ export { SelectInput } from './SelectInput';
2
+ export type { SelectInputItem, SelectInputProps } from './types';
@@ -0,0 +1,112 @@
1
+ import { Key, SelectProps as AriaSelectProps } from 'react-aria-components';
2
+
3
+ export interface SelectInputItem {
4
+ /**
5
+ * The value/id of the item
6
+ */
7
+ value: string | number;
8
+ /**
9
+ * The label to display for the item
10
+ */
11
+ label: string;
12
+ /**
13
+ * Whether the item is disabled
14
+ */
15
+ isDisabled?: boolean;
16
+ }
17
+ export interface SelectInputProps<T extends SelectInputItem = SelectInputItem> extends Omit<AriaSelectProps<T>, "children" | "onChange" | "onSelectionChange" | "value" | "defaultValue" | "selectionMode"> {
18
+ /**
19
+ * Label for the select
20
+ */
21
+ label?: string;
22
+ /**
23
+ * Array of items to display in the select ( The array must contain value and label. )
24
+ */
25
+ items: T[];
26
+ /**
27
+ * Selection mode
28
+ * @default "single"
29
+ */
30
+ selectionMode?: "single" | "multiple";
31
+ /**
32
+ * Current value (single mode: Key | null, multiple mode: Key[])
33
+ */
34
+ value?: Key | Key[] | null;
35
+ /**
36
+ * Default value (single mode: Key, multiple mode: Key[])
37
+ */
38
+ defaultValue?: Key | Key[];
39
+ /**
40
+ * Placeholder text when no selection
41
+ * @default "Select"
42
+ */
43
+ placeholder?: string;
44
+ /**
45
+ * Whether the select is disabled
46
+ */
47
+ isDisabled?: boolean;
48
+ /**
49
+ * Whether the select is required
50
+ */
51
+ isRequired?: boolean;
52
+ /**
53
+ * Size of the select
54
+ * @default "xs"
55
+ */
56
+ size?: "xs" | "sm" | "md" | "lg";
57
+ /**
58
+ * Custom className for the select container
59
+ */
60
+ className?: string;
61
+ /**
62
+ * Custom className for the label
63
+ */
64
+ classNameLabel?: string;
65
+ /**
66
+ * Custom className for the button
67
+ */
68
+ classNameButton?: string;
69
+ /**
70
+ * Custom className for the popover
71
+ */
72
+ classNamePopover?: string;
73
+ /**
74
+ * Custom className for the search field
75
+ */
76
+ classNameSearchField?: string;
77
+ /**
78
+ * Custom className for the search field input
79
+ */
80
+ classNameSearchFieldInput?: string;
81
+ /**
82
+ * Tooltip text for the label
83
+ */
84
+ tooltipText?: string;
85
+ /**
86
+ * Tooltip support text
87
+ */
88
+ tooltipSupportText?: string;
89
+ /**
90
+ * Tooltip props
91
+ */
92
+ tooltipProps?: any;
93
+ /**
94
+ * onChange handler
95
+ */
96
+ onChange?: (value: Key | Key[] | null) => void;
97
+ /**
98
+ * Max length of the text option selected (for multiple mode)
99
+ * @default 18
100
+ */
101
+ maxLengthTextOption?: number;
102
+ /**
103
+ * Placeholder for the search input
104
+ * @default "Search"
105
+ */
106
+ placeholderSearch?: string;
107
+ /**
108
+ * Whether to enable the search input
109
+ * @default false
110
+ */
111
+ enableSearch?: boolean;
112
+ }
@@ -1,12 +1,11 @@
1
- export declare const selectContainerVariant: (props?: ({
1
+ export declare const selectInputButtonVariants: (props?: ({
2
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
2
3
  isDisabled?: boolean | null | undefined;
3
- isFocusVisible?: boolean | null | undefined;
4
4
  isHovered?: boolean | null | undefined;
5
- size?: "xs" | "sm" | "md" | "lg" | null | undefined;
5
+ isFocusVisible?: boolean | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- export declare const selectBadgeValueVariant: (props?: ({
8
- isDisabled?: boolean | null | undefined;
9
- isLastItem?: boolean | null | undefined;
7
+ export declare const selectInputBadgeVariants: (props?: ({
10
8
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
11
- hiddenDiscardButton?: boolean | null | undefined;
9
+ isDisabled?: boolean | null | undefined;
12
10
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
11
+ export declare const selectInputPopoverVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -4,17 +4,19 @@ export * from './Button';
4
4
  export * from './Checkbox';
5
5
  export * from './Chips';
6
6
  export * from './ColorPicker';
7
+ export * from './FilterButton';
7
8
  export * from './FilterChip';
8
9
  export * from './IconButton';
9
10
  export * from './Input';
10
11
  export * from './InvisibleDatepicker';
12
+ export * from './InvisibleSelect';
11
13
  export * from './InvisibleTimeField';
12
14
  export * from './Loader';
13
15
  export * from './LoadingOverlay';
14
16
  export * from './NumberField';
15
17
  export * from './ProgressBar';
16
18
  export * from './SearchField';
17
- export * from './Select';
19
+ export * from './SelectInput';
18
20
  export * from './Slider';
19
21
  export * from './StatusChip';
20
22
  export * from './Stepper';
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs2.js"),r=require("./index.cjs3.js"),i=require("./index.cjs4.js"),t=require("./index.cjs5.js"),o=require("./index.cjs6.js"),c=require("./index.cjs7.js"),n=require("./index.cjs8.js"),s=require("./index.cjs9.js"),l=require("./index.cjs10.js"),u=require("./index.cjs11.js"),p=require("./index.cjs12.js"),d=require("./index.cjs13.js"),S=require("./index.cjs14.js"),q=require("./index.cjs15.js"),a=require("./index.cjs16.js"),b=require("./index.cjs17.js"),m=require("./index.cjs18.js"),T=require("./index.cjs19.js"),I=require("./index.cjs20.js"),v=require("./index.cjs21.js"),h=require("./index.cjs22.js"),C=require("./index.cjs23.js"),g=require("./index.cjs24.js"),F=require("./index.cjs25.js"),P=require("./index.cjs26.js"),k=require("./index.cjs27.js"),B=require("./index.cjs28.js"),A=require("./index.cjs29.js"),L=require("./index.cjs30.js"),x=require("./index.cjs31.js"),N=require("./index.cjs32.js"),y=require("./index.cjs33.js"),O=require("./index.cjs34.js"),w=require("./index.cjs35.js");exports.Accordion=e.Accordion;exports.AccordionItem=r.AccordionItem;exports.Breadcrumbs=i.Breadcrumbs;exports.Button=t.Button;exports.Checkbox=o.Checkbox;exports.AssistChip=c.AssistChip;exports.ColorPicker=n.ColorPicker;exports.FilterChip=s.FilterChip;exports.IconButton=l.IconButton;exports.InvisibleInput=u.InvisibleInput;exports.Label=p.Label;exports.InvisibleDatepicker=d.InvisibleDatepicker;exports.InvisibleTimeField=S.InvisibleTimeField;exports.TimePickerPopover=q.TimePickerPopover;exports.TimeSegment=a.TimeSegment;exports.Loader=b.Loader;exports.LoadingOverlay=m.LoadingOverlay;exports.InvisibleNumberField=T.InvisibleNumberField;exports.NumberField=I.NumberField;exports.ProgressBar=v.ProgressBar;exports.SearchField=h.SearchField;exports.Select=C.Select;exports.SelectItem=g.SelectItem;exports.Slider=F.Slider;exports.StatusChip=P.StatusChip;exports.Stepper=k.Stepper;exports.StepperCompleted=B.StepperCompleted;exports.StepperStep=A.StepperStep;exports.Switch=L.Switch;exports.Tabs=x.Tabs;exports.Tooltip=N.Tooltip;exports.TooltipTrigger=y.TooltipTrigger;exports.Text=O.Text;exports.Title=w.Title;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs2.js"),r=require("./index.cjs3.js"),i=require("./index.cjs4.js"),t=require("./index.cjs5.js"),o=require("./index.cjs6.js"),n=require("./index.cjs7.js"),c=require("./index.cjs8.js"),s=require("./index.cjs9.js"),l=require("./index.cjs10.js"),u=require("./index.cjs11.js"),p=require("./index.cjs12.js"),b=require("./index.cjs13.js"),S=require("./index.cjs14.js"),q=require("./index.cjs15.js"),d=require("./index.cjs16.js"),I=require("./index.cjs17.js"),a=require("./index.cjs18.js"),m=require("./index.cjs19.js"),T=require("./index.cjs20.js"),v=require("./index.cjs21.js"),h=require("./index.cjs22.js"),C=require("./index.cjs23.js"),F=require("./index.cjs24.js"),g=require("./index.cjs25.js"),B=require("./index.cjs26.js"),P=require("./index.cjs27.js"),k=require("./index.cjs28.js"),A=require("./index.cjs29.js"),L=require("./index.cjs30.js"),x=require("./index.cjs31.js"),N=require("./index.cjs32.js"),y=require("./index.cjs33.js"),O=require("./index.cjs34.js"),w=require("./index.cjs35.js"),D=require("./index.cjs36.js"),f=require("./index.cjs37.js");exports.Accordion=e.Accordion;exports.AccordionItem=r.AccordionItem;exports.Breadcrumbs=i.Breadcrumbs;exports.Button=t.Button;exports.Checkbox=o.Checkbox;exports.AssistChip=n.AssistChip;exports.ColorPicker=c.ColorPicker;exports.FilterButton=s.FilterButton;exports.FilterChip=l.FilterChip;exports.IconButton=u.IconButton;exports.InvisibleInput=p.InvisibleInput;exports.Label=b.Label;exports.InvisibleDatepicker=S.InvisibleDatepicker;exports.InvisibleSelect=q.InvisibleSelect;exports.InvisibleSelectItem=d.InvisibleSelectItem;exports.InvisibleTimeField=I.InvisibleTimeField;exports.TimePickerPopover=a.TimePickerPopover;exports.TimeSegment=m.TimeSegment;exports.Loader=T.Loader;exports.LoadingOverlay=v.LoadingOverlay;exports.InvisibleNumberField=h.InvisibleNumberField;exports.NumberField=C.NumberField;exports.ProgressBar=F.ProgressBar;exports.SearchField=g.SearchField;exports.SelectInput=B.SelectInput;exports.Slider=P.Slider;exports.StatusChip=k.StatusChip;exports.Stepper=A.Stepper;exports.StepperCompleted=L.StepperCompleted;exports.StepperStep=x.StepperStep;exports.Switch=N.Switch;exports.Tabs=y.Tabs;exports.Tooltip=O.Tooltip;exports.TooltipTrigger=w.TooltipTrigger;exports.Text=D.Text;exports.Title=f.Title;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs36.js"),q=require("react"),n=require("react-aria-components"),B=require("./index.cjs38.js"),R=require("./index.cjs63.js");function g(c,a){const[u,l]=n.useContextProps(c,a,n.ButtonContext),{intent:d="secondary",size:m="lg",isDisabled:o=!1,isActive:p=!1,children:e,className:x,...f}=u,r="flex h-full items-center overflow-hidden whitespace-nowrap";return s.jsxRuntimeExports.jsx(n.Button,{ref:l,className:({isPressed:t,isHovered:j,isFocusVisible:h})=>B.cn(R.buttonVariants({intent:d,size:m,isDisabled:o,isActive:p||t,isHovered:j,isFocused:h}),x),isDisabled:o,...f,children:typeof e=="function"?t=>s.jsxRuntimeExports.jsx("span",{className:r+"p-2.",children:e(t)}):s.jsxRuntimeExports.jsx("span",{className:r,children:e})})}const i=q.forwardRef(g);i.displayName="IconButton";exports.IconButton=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs38.js"),f=require("./index.cjs40.js"),q=require("react"),h=require("react-aria-components"),a=require("./index.cjs39.js"),S=require("./index.cjs46.js"),R=({size:e="md",label:u,isSelected:c=!1,isDisabled:s=!1,className:l,onSelectionChange:r,onPress:o,...d})=>{const[x,m]=q.useState(c),n=r?c:x,p=()=>{if(s)return;const t=!n;r?r(t):m(t),o&&o({})};return i.jsxRuntimeExports.jsxs(h.Button,{isDisabled:s,className:({isHovered:t,isFocusVisible:j})=>a.cn(S.filterChipVariants({size:e,isSelected:n,isDisabled:s,isHovered:t,isFocused:j}),l),onPress:p,...d,children:[n&&i.jsxRuntimeExports.jsx("span",{"data-testid":"check-icon",children:i.jsxRuntimeExports.jsx(f.CheckIcon,{className:a.cn(e==="xs"||e==="sm"?"size-3":"size-4")})}),u]})};exports.FilterChip=R;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./index.cjs96.js"),k=require("./index.cjs109.js"),y=require("./index.cjs110.js"),v=require("./index.cjs99.js"),x=require("./index.cjs111.js"),n=k.miniSvgDataUri,z=y.plugin,b=v.defaultTheme_1,o=x.colors_1,[$,{lineHeight:j}]=b.fontSize.base,{spacing:e,borderWidth:f,borderRadius:p}=b;function r(a,c){return a.replace("<alpha-value>",`var(${c}, 1)`)}const C=z.withOptions(function(a={strategy:void 0}){return function({addBase:c,addComponents:w,theme:t}){function g(s,i){let d=t(s);return!d||d.includes("var(")?i:d.replace("<alpha-value>","1")}const l=a.strategy===void 0?["base","class"]:[a.strategy],m=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"border-radius":p.none,"padding-top":e[2],"padding-right":e[3],"padding-bottom":e[2],"padding-left":e[3],"font-size":$,"line-height":j,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":r(t("colors.blue.600",o.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:r(t("colors.gray.500",o.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${n(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${g("colors.gray.500",o.gray[500])}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${e[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":e[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":e[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:e[4],width:e[4],color:r(t("colors.blue.600",o.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":p.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${n('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],u=s=>m.map(i=>i[s]===null?null:{[i[s]]:i.styles}).filter(Boolean);l.includes("base")&&c(u("base")),l.includes("class")&&w(u("class"))}});var T=C;const B=h.getDefaultExportFromCjs(T);exports.default=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs96.js"),o=require("./index.cjs110.js"),l=o.plugin;function i(a){return Object.fromEntries(Object.entries(a).filter(([e])=>e!=="DEFAULT"))}var s=l(({addUtilities:a,matchUtilities:e,theme:n})=>{a({"@keyframes enter":n("keyframes.enter"),"@keyframes exit":n("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:n("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:n("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),e({"fade-in":t=>({"--tw-enter-opacity":t}),"fade-out":t=>({"--tw-exit-opacity":t})},{values:n("animationOpacity")}),e({"zoom-in":t=>({"--tw-enter-scale":t}),"zoom-out":t=>({"--tw-exit-scale":t})},{values:n("animationScale")}),e({"spin-in":t=>({"--tw-enter-rotate":t}),"spin-out":t=>({"--tw-exit-rotate":t})},{values:n("animationRotate")}),e({"slide-in-from-top":t=>({"--tw-enter-translate-y":`-${t}`}),"slide-in-from-bottom":t=>({"--tw-enter-translate-y":t}),"slide-in-from-left":t=>({"--tw-enter-translate-x":`-${t}`}),"slide-in-from-right":t=>({"--tw-enter-translate-x":t}),"slide-out-to-top":t=>({"--tw-exit-translate-y":`-${t}`}),"slide-out-to-bottom":t=>({"--tw-exit-translate-y":t}),"slide-out-to-left":t=>({"--tw-exit-translate-x":`-${t}`}),"slide-out-to-right":t=>({"--tw-exit-translate-x":t})},{values:n("animationTranslate")}),e({duration:t=>({animationDuration:t})},{values:i(n("animationDuration"))}),e({delay:t=>({animationDelay:t})},{values:n("animationDelay")}),e({ease:t=>({animationTimingFunction:t})},{values:i(n("animationTimingFunction"))}),a({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),e({"fill-mode":t=>({animationFillMode:t})},{values:n("animationFillMode")}),e({direction:t=>({animationDirection:t})},{values:n("animationDirection")}),e({repeat:t=>({animationIterationCount:t})},{values:n("animationRepeat")})},{theme:{extend:{animationDelay:({theme:a})=>({...a("transitionDelay")}),animationDuration:({theme:a})=>({0:"0ms",...a("transitionDuration")}),animationTimingFunction:({theme:a})=>({...a("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:a})=>({DEFAULT:0,...a("opacity")}),animationTranslate:({theme:a})=>({DEFAULT:"100%",...a("translate")}),animationScale:({theme:a})=>({DEFAULT:0,...a("scale")}),animationRotate:({theme:a})=>({DEFAULT:"30deg",...a("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}});const u=r.getDefaultExportFromCjs(s);exports.default=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),e=r.cva("absolute inset-0 z-[1000px] overflow-hidden",{variants:{opacity:{sm:"bg-neutral-50/10",md:"bg-neutral-50/20",lg:"bg-neutral-50/30",xl:"bg-neutral-50/50","2xl":"bg-neutral-50/60","3xl":"bg-neutral-50/75"},fixed:{true:"fixed",false:""},center:{true:"flex items-center justify-center",false:""},blur:{sm:"backdrop-blur-sm",md:"backdrop-blur-md",lg:"backdrop-blur-lg",xl:"backdrop-blur-xl","2xl":"backdrop-blur-2xl","3xl":"backdrop-blur-3xl"}}});exports.overlayVariants=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs36.js"),l=require("react-aria-components"),r=require("./index.cjs38.js"),x=require("./index.cjs32.js"),d=require("./index.cjs33.js"),g=({index:i,valuePercent:c,value:m,suffix:u,modeTooltip:a,positionTooltip:t,showTypeValue:s,classNameThumb:n,isHiddenValue:o})=>e.jsxRuntimeExports.jsx("div",{className:r.cn("absolute",s==="tooltip"&&!o?"top-[-6px]":"top-1/2"),style:{left:`${c*100}%`,transform:"translate(-50%, -50%)"},children:s==="tooltip"&&!o?e.jsxRuntimeExports.jsxs(d.TooltipTrigger,{closeDelay:100,delay:100,children:[e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})}),e.jsxRuntimeExports.jsxs(x.Tooltip,{mode:a,placement:t,size:"sm",className:r.cn("!text-sm",t==="top"?"!mb-6":"!mt-6"),children:[m,u]})]}):e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})});exports.SliderThumb=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs38.js"),l=require("react-aria-components"),r=require("./index.cjs39.js"),x=require("./index.cjs34.js"),d=require("./index.cjs35.js"),g=({index:i,valuePercent:c,value:m,suffix:u,modeTooltip:a,positionTooltip:t,showTypeValue:s,classNameThumb:n,isHiddenValue:o})=>e.jsxRuntimeExports.jsx("div",{className:r.cn("absolute",s==="tooltip"&&!o?"top-[-6px]":"top-1/2"),style:{left:`${c*100}%`,transform:"translate(-50%, -50%)"},children:s==="tooltip"&&!o?e.jsxRuntimeExports.jsxs(d.TooltipTrigger,{closeDelay:100,delay:100,children:[e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})}),e.jsxRuntimeExports.jsxs(x.Tooltip,{mode:a,placement:t,size:"sm",className:r.cn("!text-sm",t==="top"?"!mb-6":"!mt-6"),children:[m,u]})]}):e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})});exports.SliderThumb=g;
@@ -1 +1 @@
1
- "use strict";const R=require("./index.cjs105.js");require("./index.cjs112.js");require("./index.cjs113.js");require("./index.cjs114.js");require("./index.cjs115.js");require("./index.cjs116.js");require("./index.cjs117.js");require("./index.cjs118.js");require("./index.cjs119.js");require("./index.cjs120.js");require("./index.cjs121.js");require("./index.cjs122.js");require("./index.cjs123.js");const j=require("./index.cjs124.js"),K=require("./index.cjs125.js"),V=require("./index.cjs126.js"),W=require("./index.cjs127.js"),B=require("./index.cjs128.js"),G=require("./index.cjs129.js"),H=require("./index.cjs130.js"),I=require("./index.cjs131.js"),J=require("./index.cjs132.js"),N=require("./index.cjs133.js"),Q=require("./index.cjs134.js"),X=require("./index.cjs135.js");(function(_){Object.defineProperty(_,"__esModule",{value:!0}),Object.defineProperty(_,"default",{enumerable:!0,get:function(){return M}});const P=s(V.__exports),m=s(W.__exports),v=s(B.__exports),x=s(G.__exports),p=j.__exports,h=X.__exports,A=K.__exports,l=s(H.__exports),y=I.__exports,C=J.__exports,O=N.__exports,z=s(Q.__exports);function s(e){return e&&e.__esModule?e:{default:e}}function f(e){return typeof e=="function"}function c(e,...r){let i=r.pop();for(let t of r)for(let n in t){let o=i(e[n],t[n]);o===void 0?(0,l.default)(e[n])&&(0,l.default)(t[n])?e[n]=c({},e[n],t[n],i):e[n]=t[n]:e[n]=o}return e}const a={colors:x.default,negative(e){return Object.keys(e).filter(r=>e[r]!=="0").reduce((r,i)=>{let t=(0,P.default)(e[i]);return t!==void 0&&(r[`-${i}`]=t),r},{})},breakpoints(e){return Object.keys(e).filter(r=>typeof e[r]=="string").reduce((r,i)=>({...r,[`screen-${i}`]:e[i]}),{})}};function F(e,...r){return f(e)?e(...r):e}function b(e){return e.reduce((r,{extend:i})=>c(r,i,(t,n)=>t===void 0?[n]:Array.isArray(t)?[n,...t]:[n,t]),{})}function w(e){return{...e.reduce((r,i)=>(0,p.defaults)(r,i),{}),extend:b(e)}}function q(e,r){if(Array.isArray(e)&&(0,l.default)(e[0]))return e.concat(r);if(Array.isArray(r)&&(0,l.default)(r[0])&&(0,l.default)(e))return[e,...r];if(Array.isArray(r))return r}function E({extend:e,...r}){return c(r,e,(i,t)=>!f(i)&&!t.some(f)?c({},i,...t,q):(n,o)=>c({},...[i,...t].map(u=>F(u,n,o)),q))}function*D(e){let r=(0,h.toPath)(e);if(r.length===0||(yield r,Array.isArray(e)))return;let i=/^(.*?)\s*\/\s*([^/]+)$/,t=e.match(i);if(t!==null){let[,n,o]=t,u=(0,h.toPath)(n);u.alpha=o,yield u}}function L(e){const r=(i,t)=>{for(const n of D(i)){let o=0,u=e;for(;u!=null&&o<n.length;)u=u[n[o++]],u=f(u)&&(n.alpha===void 0||o<=n.length-1)?u(r,a):u;if(u!==void 0){if(n.alpha!==void 0){let d=(0,C.parseColorFormat)(u);return(0,O.withAlphaValue)(d,n.alpha,(0,z.default)(d))}return(0,l.default)(u)?(0,y.cloneDeep)(u):u}}return t};return Object.assign(r,{theme:r,...a}),Object.keys(e).reduce((i,t)=>(i[t]=f(e[t])?e[t](r,a):e[t],i),{})}function g(e){let r=[];return e.forEach(i=>{r=[...r,i];var t;const n=(t=i==null?void 0:i.plugins)!==null&&t!==void 0?t:[];n.length!==0&&n.forEach(o=>{o.__isOptionsFunction&&(o=o());var u;r=[...r,...g([(u=o==null?void 0:o.config)!==null&&u!==void 0?u:{}])]})}),r}function U(e){return[...e].reduceRight((i,t)=>f(t)?t({corePlugins:i}):(0,v.default)(t,i),m.default)}function $(e){return[...e].reduceRight((i,t)=>[...i,...t],[])}function M(e){let r=[...g(e),{prefix:"",important:!1,separator:":"}];var i,t;return(0,A.normalizeConfig)((0,p.defaults)({theme:L(E(w(r.map(n=>(i=n==null?void 0:n.theme)!==null&&i!==void 0?i:{})))),corePlugins:U(r.map(n=>n.corePlugins)),plugins:$(e.map(n=>(t=n==null?void 0:n.plugins)!==null&&t!==void 0?t:[]))},...r))}})(R.__exports);
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
@@ -1 +1 @@
1
- "use strict";const f=require("./index.cjs106.js"),d=require("./index.cjs136.js");require("./index.cjs137.js");const p=require("./index.cjs138.js");(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});const a=u(d.config_full),s=p.__exports;function u(e){return e&&e.__esModule?e:{default:e}}function i(e){var l;const o=((l=e==null?void 0:e.presets)!==null&&l!==void 0?l:[a.default]).slice().reverse().flatMap(t=>i(t instanceof Function?t():t)),n={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:t})=>({DEFAULT:"#3b82f67f",...t("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},c=Object.keys(n).filter(t=>(0,s.flagEnabled)(e,t)).map(t=>n[t]);return[e,...c,...o]}})(f.__exports);
1
+ "use strict";const l=require("./index.cjs105.js");require("./index.cjs109.js");require("./index.cjs110.js");const f=require("./index.cjs111.js"),s=require("./index.cjs112.js");(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});const n=t(f.__exports),u=t(s.__exports);function t(e){return e&&e.__esModule?e:{default:e}}function o(...e){let[,...i]=(0,u.default)(e[0]);return(0,n.default)([...e,...i])}})(l.__exports);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./index.cjs103.js");require("./index.cjs113.js");const l=require("./index.cjs114.js");let e=l.__exports;var t=(e.__esModule?e:{default:e}).default;const r=u.getDefaultExportFromCjs(t);exports.default=r;exports.defaultTheme_1=t;
@@ -1 +1 @@
1
- "use strict";const c=require("./index.cjs108.js");require("./index.cjs120.js");const o=require("./index.cjs136.js"),f=require("./index.cjs131.js");(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const u=f.__exports,n=r(o.config_full);function r(e){return e&&e.__esModule?e:{default:e}}const l=(0,u.cloneDeep)(n.default.theme)})(c.__exports);
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./index.cjs103.js"),k=require("./index.cjs115.js"),y=require("./index.cjs116.js"),v=require("./index.cjs106.js"),x=require("./index.cjs117.js"),n=k.miniSvgDataUri,z=y.plugin,b=v.defaultTheme_1,o=x.colors_1,[$,{lineHeight:j}]=b.fontSize.base,{spacing:e,borderWidth:f,borderRadius:p}=b;function r(a,c){return a.replace("<alpha-value>",`var(${c}, 1)`)}const C=z.withOptions(function(a={strategy:void 0}){return function({addBase:c,addComponents:w,theme:t}){function g(s,i){let d=t(s);return!d||d.includes("var(")?i:d.replace("<alpha-value>","1")}const l=a.strategy===void 0?["base","class"]:[a.strategy],m=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"border-radius":p.none,"padding-top":e[2],"padding-right":e[3],"padding-bottom":e[2],"padding-left":e[3],"font-size":$,"line-height":j,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":r(t("colors.blue.600",o.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:r(t("colors.gray.500",o.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${n(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${g("colors.gray.500",o.gray[500])}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${e[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":e[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":e[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:e[4],width:e[4],color:r(t("colors.blue.600",o.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":p.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${n('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],u=s=>m.map(i=>i[s]===null?null:{[i[s]]:i.styles}).filter(Boolean);l.includes("base")&&c(u("base")),l.includes("class")&&w(u("class"))}});var T=C;const B=h.getDefaultExportFromCjs(T);exports.default=B;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs103.js"),o=require("./index.cjs116.js"),l=o.plugin;function i(a){return Object.fromEntries(Object.entries(a).filter(([e])=>e!=="DEFAULT"))}var s=l(({addUtilities:a,matchUtilities:e,theme:n})=>{a({"@keyframes enter":n("keyframes.enter"),"@keyframes exit":n("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:n("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:n("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),e({"fade-in":t=>({"--tw-enter-opacity":t}),"fade-out":t=>({"--tw-exit-opacity":t})},{values:n("animationOpacity")}),e({"zoom-in":t=>({"--tw-enter-scale":t}),"zoom-out":t=>({"--tw-exit-scale":t})},{values:n("animationScale")}),e({"spin-in":t=>({"--tw-enter-rotate":t}),"spin-out":t=>({"--tw-exit-rotate":t})},{values:n("animationRotate")}),e({"slide-in-from-top":t=>({"--tw-enter-translate-y":`-${t}`}),"slide-in-from-bottom":t=>({"--tw-enter-translate-y":t}),"slide-in-from-left":t=>({"--tw-enter-translate-x":`-${t}`}),"slide-in-from-right":t=>({"--tw-enter-translate-x":t}),"slide-out-to-top":t=>({"--tw-exit-translate-y":`-${t}`}),"slide-out-to-bottom":t=>({"--tw-exit-translate-y":t}),"slide-out-to-left":t=>({"--tw-exit-translate-x":`-${t}`}),"slide-out-to-right":t=>({"--tw-exit-translate-x":t})},{values:n("animationTranslate")}),e({duration:t=>({animationDuration:t})},{values:i(n("animationDuration"))}),e({delay:t=>({animationDelay:t})},{values:n("animationDelay")}),e({ease:t=>({animationTimingFunction:t})},{values:i(n("animationTimingFunction"))}),a({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),e({"fill-mode":t=>({animationFillMode:t})},{values:n("animationFillMode")}),e({direction:t=>({animationDirection:t})},{values:n("animationDirection")}),e({repeat:t=>({animationIterationCount:t})},{values:n("animationRepeat")})},{theme:{extend:{animationDelay:({theme:a})=>({...a("transitionDelay")}),animationDuration:({theme:a})=>({0:"0ms",...a("transitionDuration")}),animationTimingFunction:({theme:a})=>({...a("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:a})=>({DEFAULT:0,...a("opacity")}),animationTranslate:({theme:a})=>({DEFAULT:"100%",...a("translate")}),animationScale:({theme:a})=>({DEFAULT:0,...a("scale")}),animationRotate:({theme:a})=>({DEFAULT:"30deg",...a("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}});const u=r.getDefaultExportFromCjs(s);exports.default=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs139.js");var t=c.shorterCssColorNames,a={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function s(e){return e.trim().replace(a.whitespace," ")}function n(e){return encodeURIComponent(e).replace(a.urlHexPairs,u)}function i(e){return Object.keys(t).forEach(function(r){t[r].test(e)&&(e=e.replace(t[r],r))}),e}function u(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function o(e){if(typeof e!="string")throw new TypeError("Expected a string, but received "+typeof e);e.charCodeAt(0)===65279&&(e=e.slice(1));var r=i(s(e)).replace(a.quotes,"'");return"data:image/svg+xml,"+n(r)}o.toSrcset=function(r){return o(r).replace(/ /g,"%20")};var l=o;exports.miniSvgDataUri=l;
1
+ "use strict";const R=require("./index.cjs111.js");require("./index.cjs118.js");require("./index.cjs119.js");require("./index.cjs120.js");require("./index.cjs121.js");require("./index.cjs122.js");require("./index.cjs123.js");require("./index.cjs124.js");require("./index.cjs125.js");require("./index.cjs126.js");require("./index.cjs127.js");require("./index.cjs128.js");require("./index.cjs129.js");const j=require("./index.cjs130.js"),K=require("./index.cjs131.js"),V=require("./index.cjs132.js"),W=require("./index.cjs133.js"),B=require("./index.cjs134.js"),G=require("./index.cjs135.js"),H=require("./index.cjs136.js"),I=require("./index.cjs137.js"),J=require("./index.cjs138.js"),N=require("./index.cjs139.js"),Q=require("./index.cjs140.js"),X=require("./index.cjs141.js");(function(_){Object.defineProperty(_,"__esModule",{value:!0}),Object.defineProperty(_,"default",{enumerable:!0,get:function(){return M}});const P=s(V.__exports),m=s(W.__exports),v=s(B.__exports),x=s(G.__exports),p=j.__exports,h=X.__exports,A=K.__exports,l=s(H.__exports),y=I.__exports,C=J.__exports,O=N.__exports,z=s(Q.__exports);function s(e){return e&&e.__esModule?e:{default:e}}function f(e){return typeof e=="function"}function c(e,...r){let i=r.pop();for(let t of r)for(let n in t){let o=i(e[n],t[n]);o===void 0?(0,l.default)(e[n])&&(0,l.default)(t[n])?e[n]=c({},e[n],t[n],i):e[n]=t[n]:e[n]=o}return e}const a={colors:x.default,negative(e){return Object.keys(e).filter(r=>e[r]!=="0").reduce((r,i)=>{let t=(0,P.default)(e[i]);return t!==void 0&&(r[`-${i}`]=t),r},{})},breakpoints(e){return Object.keys(e).filter(r=>typeof e[r]=="string").reduce((r,i)=>({...r,[`screen-${i}`]:e[i]}),{})}};function F(e,...r){return f(e)?e(...r):e}function b(e){return e.reduce((r,{extend:i})=>c(r,i,(t,n)=>t===void 0?[n]:Array.isArray(t)?[n,...t]:[n,t]),{})}function w(e){return{...e.reduce((r,i)=>(0,p.defaults)(r,i),{}),extend:b(e)}}function q(e,r){if(Array.isArray(e)&&(0,l.default)(e[0]))return e.concat(r);if(Array.isArray(r)&&(0,l.default)(r[0])&&(0,l.default)(e))return[e,...r];if(Array.isArray(r))return r}function E({extend:e,...r}){return c(r,e,(i,t)=>!f(i)&&!t.some(f)?c({},i,...t,q):(n,o)=>c({},...[i,...t].map(u=>F(u,n,o)),q))}function*D(e){let r=(0,h.toPath)(e);if(r.length===0||(yield r,Array.isArray(e)))return;let i=/^(.*?)\s*\/\s*([^/]+)$/,t=e.match(i);if(t!==null){let[,n,o]=t,u=(0,h.toPath)(n);u.alpha=o,yield u}}function L(e){const r=(i,t)=>{for(const n of D(i)){let o=0,u=e;for(;u!=null&&o<n.length;)u=u[n[o++]],u=f(u)&&(n.alpha===void 0||o<=n.length-1)?u(r,a):u;if(u!==void 0){if(n.alpha!==void 0){let d=(0,C.parseColorFormat)(u);return(0,O.withAlphaValue)(d,n.alpha,(0,z.default)(d))}return(0,l.default)(u)?(0,y.cloneDeep)(u):u}}return t};return Object.assign(r,{theme:r,...a}),Object.keys(e).reduce((i,t)=>(i[t]=f(e[t])?e[t](r,a):e[t],i),{})}function g(e){let r=[];return e.forEach(i=>{r=[...r,i];var t;const n=(t=i==null?void 0:i.plugins)!==null&&t!==void 0?t:[];n.length!==0&&n.forEach(o=>{o.__isOptionsFunction&&(o=o());var u;r=[...r,...g([(u=o==null?void 0:o.config)!==null&&u!==void 0?u:{}])]})}),r}function U(e){return[...e].reduceRight((i,t)=>f(t)?t({corePlugins:i}):(0,v.default)(t,i),m.default)}function $(e){return[...e].reduceRight((i,t)=>[...i,...t],[])}function M(e){let r=[...g(e),{prefix:"",important:!1,separator:":"}];var i,t;return(0,A.normalizeConfig)((0,p.defaults)({theme:L(E(w(r.map(n=>(i=n==null?void 0:n.theme)!==null&&i!==void 0?i:{})))),corePlugins:U(r.map(n=>n.corePlugins)),plugins:$(e.map(n=>(t=n==null?void 0:n.plugins)!==null&&t!==void 0?t:[]))},...r))}})(R.__exports);