@ultraviolet/ui 3.4.0 → 3.5.1

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 (225) hide show
  1. package/dist/components/Alert/index.js +1 -1
  2. package/dist/components/Alert/styles.css.d.ts +8 -8
  3. package/dist/components/Alert/styles.css.js +1 -1
  4. package/dist/components/Avatar/styles.css.d.ts +36 -36
  5. package/dist/components/Avatar/styles.css.js +4 -4
  6. package/dist/components/Badge/styles.css.d.ts +28 -28
  7. package/dist/components/Badge/styles.css.js +1 -1
  8. package/dist/components/Banner/index.js +1 -1
  9. package/dist/components/Banner/styles.css.d.ts +2 -2
  10. package/dist/components/Banner/styles.css.js +2 -2
  11. package/dist/components/BarStack/styles.css.d.ts +7 -7
  12. package/dist/components/BarStack/styles.css.js +1 -1
  13. package/dist/components/Bullet/styles.css.d.ts +13 -13
  14. package/dist/components/Bullet/styles.css.js +1 -1
  15. package/dist/components/Button/index.d.ts +2 -2
  16. package/dist/components/Button/index.d.ts.map +1 -1
  17. package/dist/components/Button/styles.css.d.ts +39 -39
  18. package/dist/components/Button/styles.css.js +1 -1
  19. package/dist/components/Checkbox/index.js +4 -4
  20. package/dist/components/Chip/ChipIcon.d.ts.map +1 -1
  21. package/dist/components/Chip/ChipIcon.js +4 -1
  22. package/dist/components/Chip/index.d.ts +1 -1
  23. package/dist/components/CopyButton/index.js +1 -1
  24. package/dist/components/DateInput/components/CalendarContent.js +7 -7
  25. package/dist/components/DateInput/components/CalendarDaily.js +1 -1
  26. package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
  27. package/dist/components/DateInput/components/CalendarMonthly.js +1 -1
  28. package/dist/components/DateInput/helpers.d.ts.map +1 -1
  29. package/dist/components/Dialog/components/Buttons.js +1 -1
  30. package/dist/components/Dialog/index.d.ts +2 -2
  31. package/dist/components/Drawer/styles.css.js +1 -1
  32. package/dist/components/EmptyState/styles.css.d.ts +11 -11
  33. package/dist/components/EmptyState/styles.css.js +2 -2
  34. package/dist/components/Expandable/index.js +1 -1
  35. package/dist/components/ExpandableCard/styles.css.d.ts.map +1 -1
  36. package/dist/components/FileInput/index.js +1 -1
  37. package/dist/components/FileInput/styles.css.d.ts +11 -11
  38. package/dist/components/FileInput/styles.css.js +5 -5
  39. package/dist/components/GlobalAlert/styles.css.js +1 -1
  40. package/dist/components/Key/styles.css.d.ts +12 -12
  41. package/dist/components/Key/styles.css.js +1 -1
  42. package/dist/components/Label/index.d.ts.map +1 -1
  43. package/dist/components/Label/index.js +41 -28
  44. package/dist/components/Label/styles.css.js +1 -1
  45. package/dist/components/Link/styles.css.d.ts.map +1 -1
  46. package/dist/components/List/ListContext.d.ts +2 -2
  47. package/dist/components/List/ListContext.d.ts.map +1 -1
  48. package/dist/components/List/Row.d.ts +1 -1
  49. package/dist/components/List/Row.d.ts.map +1 -1
  50. package/dist/components/List/SelectBar.d.ts +1 -1
  51. package/dist/components/List/SelectBar.d.ts.map +1 -1
  52. package/dist/components/List/SkeletonRows.d.ts.map +1 -1
  53. package/dist/components/List/index.d.ts +2 -5
  54. package/dist/components/List/index.d.ts.map +1 -1
  55. package/dist/components/List/styles.css.d.ts +3 -3
  56. package/dist/components/List/styles.css.js +1 -1
  57. package/dist/components/Menu/styles.css.js +1 -1
  58. package/dist/components/Modal/ModalContent.d.ts.map +1 -1
  59. package/dist/components/Modal/components/Dialog.d.ts.map +1 -1
  60. package/dist/components/Modal/components/Dialog.js +1 -1
  61. package/dist/components/Modal/index.js +3 -3
  62. package/dist/components/Modal/styles.css.d.ts +17 -17
  63. package/dist/components/Modal/styles.css.js +1 -1
  64. package/dist/components/NumberInput/index.d.ts +1 -1
  65. package/dist/components/NumberInput/index.js +2 -2
  66. package/dist/components/NumberInput/styles.css.d.ts +48 -48
  67. package/dist/components/NumberInput/styles.css.d.ts.map +1 -1
  68. package/dist/components/NumberInput/styles.css.js +4 -4
  69. package/dist/components/Pagination/getPageNumbers.d.ts +1 -1
  70. package/dist/components/Pagination/styles.css.js +2 -2
  71. package/dist/components/PieChart/index.js +3 -3
  72. package/dist/components/PieChart/styles.css.d.ts +7 -7
  73. package/dist/components/PieChart/styles.css.js +3 -3
  74. package/dist/components/Popover/index.js +1 -1
  75. package/dist/components/Popover/styles.css.d.ts +3 -3
  76. package/dist/components/Popup/helpers.js +2 -2
  77. package/dist/components/Popup/index.js +19 -19
  78. package/dist/components/Popup/styles.css.d.ts +6 -6
  79. package/dist/components/Popup/styles.css.js +1 -1
  80. package/dist/components/Radio/index.d.ts.map +1 -1
  81. package/dist/components/Radio/index.js +14 -11
  82. package/dist/components/RadioGroup/index.js +1 -1
  83. package/dist/components/Row/styles.css.d.ts +19 -19
  84. package/dist/components/Row/styles.css.d.ts.map +1 -1
  85. package/dist/components/Row/styles.css.js +2 -2
  86. package/dist/components/Row/variables.css.d.ts +1 -1
  87. package/dist/components/Row/variables.css.d.ts.map +1 -1
  88. package/dist/components/Row/variables.css.js +2 -2
  89. package/dist/components/SelectInput/components/Dropdown.d.ts +14 -1
  90. package/dist/components/SelectInput/components/Dropdown.d.ts.map +1 -1
  91. package/dist/components/SelectInput/components/Dropdown.js +398 -222
  92. package/dist/components/SelectInput/components/SearchBarDropdown.d.ts.map +1 -1
  93. package/dist/components/SelectInput/components/SearchBarDropdown.js +25 -19
  94. package/dist/components/SelectInput/components/SelectBar.d.ts.map +1 -1
  95. package/dist/components/SelectInput/components/SelectBar.js +8 -11
  96. package/dist/components/SelectInput/components/dropdown.css.d.ts +2 -0
  97. package/dist/components/SelectInput/components/dropdown.css.d.ts.map +1 -1
  98. package/dist/components/SelectInput/components/dropdown.css.js +13 -9
  99. package/dist/components/SelectInput/components/selectBar.css.d.ts +43 -43
  100. package/dist/components/SelectInput/components/selectBar.css.d.ts.map +1 -1
  101. package/dist/components/SelectInput/components/selectBar.css.js +2 -2
  102. package/dist/components/SelectInput/constants.d.ts +13 -0
  103. package/dist/components/SelectInput/constants.d.ts.map +1 -0
  104. package/dist/components/SelectInput/constants.js +18 -0
  105. package/dist/components/SelectInput/findOptionInOptions.js +3 -3
  106. package/dist/components/SelectInput/index.d.ts +11 -5
  107. package/dist/components/SelectInput/index.d.ts.map +1 -1
  108. package/dist/components/SelectInput/index.js +8 -2
  109. package/dist/components/SelectInput/types.d.ts +0 -5
  110. package/dist/components/SelectInput/types.d.ts.map +1 -1
  111. package/dist/components/SelectableCard/index.d.ts.map +1 -1
  112. package/dist/components/SelectableCard/index.js +8 -5
  113. package/dist/components/SelectableCard/styles.css.d.ts +9 -9
  114. package/dist/components/SelectableCard/styles.css.js +3 -2
  115. package/dist/components/SelectableCard/variables.css.js +0 -1
  116. package/dist/components/Separator/index.d.ts.map +1 -1
  117. package/dist/components/Separator/index.js +33 -31
  118. package/dist/components/Skeleton/Block.d.ts.map +1 -1
  119. package/dist/components/Skeleton/Block.js +7 -4
  120. package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
  121. package/dist/components/Skeleton/Blocks.js +7 -4
  122. package/dist/components/Skeleton/BoxWithIcon.d.ts.map +1 -1
  123. package/dist/components/Skeleton/BoxWithIcon.js +7 -4
  124. package/dist/components/Skeleton/List.d.ts.map +1 -1
  125. package/dist/components/Skeleton/List.js +8 -2
  126. package/dist/components/Skeleton/Slider.d.ts.map +1 -1
  127. package/dist/components/Skeleton/Slider.js +4 -1
  128. package/dist/components/Skeleton/index.d.ts.map +1 -1
  129. package/dist/components/Skeleton/index.js +17 -14
  130. package/dist/components/Slider/components/DoubleSlider.d.ts +1 -1
  131. package/dist/components/Slider/components/DoubleSlider.d.ts.map +1 -1
  132. package/dist/components/Slider/components/DoubleSlider.js +24 -20
  133. package/dist/components/Slider/components/SingleSlider.d.ts +1 -1
  134. package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
  135. package/dist/components/Slider/components/SingleSlider.js +9 -3
  136. package/dist/components/Slider/index.d.ts +1 -1
  137. package/dist/components/Slider/index.d.ts.map +1 -1
  138. package/dist/components/Slider/index.js +3 -0
  139. package/dist/components/Slider/styles.css.d.ts +47 -43
  140. package/dist/components/Slider/styles.css.d.ts.map +1 -1
  141. package/dist/components/Slider/styles.css.js +5 -5
  142. package/dist/components/Slider/types.d.ts +5 -0
  143. package/dist/components/Slider/types.d.ts.map +1 -1
  144. package/dist/components/Snippet/index.js +1 -1
  145. package/dist/components/Snippet/styles.css.d.ts +12 -12
  146. package/dist/components/Snippet/styles.css.js +7 -7
  147. package/dist/components/Stack/index.d.ts +2 -3
  148. package/dist/components/Stack/index.d.ts.map +1 -1
  149. package/dist/components/Stack/index.js +67 -65
  150. package/dist/components/Stack/styles.css.d.ts +87 -87
  151. package/dist/components/Stack/styles.css.js +4 -4
  152. package/dist/components/Status/styles.css.d.ts +1 -1
  153. package/dist/components/StepList/styles.css.d.ts +7 -7
  154. package/dist/components/StepList/styles.css.js +2 -2
  155. package/dist/components/Stepper/index.d.ts.map +1 -1
  156. package/dist/components/Stepper/index.js +13 -10
  157. package/dist/components/Stepper/styles.css.d.ts +45 -45
  158. package/dist/components/Stepper/styles.css.js +6 -6
  159. package/dist/components/SwitchButton/index.js +3 -3
  160. package/dist/components/SwitchButton/styles.css.js +3 -3
  161. package/dist/components/Table/HeaderRow.d.ts.map +1 -1
  162. package/dist/components/Table/HeaderRow.js +25 -22
  163. package/dist/components/Table/Row.d.ts +1 -1
  164. package/dist/components/Table/Row.d.ts.map +1 -1
  165. package/dist/components/Table/SelectBar.d.ts +1 -1
  166. package/dist/components/Table/SelectBar.d.ts.map +1 -1
  167. package/dist/components/Table/SkeletonRows.d.ts.map +1 -1
  168. package/dist/components/Table/index.d.ts +4 -4
  169. package/dist/components/Table/index.d.ts.map +1 -1
  170. package/dist/components/Table/styles.css.d.ts +21 -21
  171. package/dist/components/Table/styles.css.js +2 -2
  172. package/dist/components/Tabs/Tab.js +1 -1
  173. package/dist/components/Tabs/index.d.ts +1 -1
  174. package/dist/components/Tabs/styles.css.js +1 -1
  175. package/dist/components/Tag/styles.css.d.ts +10 -10
  176. package/dist/components/Tag/styles.css.js +1 -1
  177. package/dist/components/TagInput/index.js +5 -5
  178. package/dist/components/TagInput/styles.css.d.ts +4 -4
  179. package/dist/components/TagInput/styles.css.js +1 -1
  180. package/dist/components/TagList/index.d.ts.map +1 -1
  181. package/dist/components/TagList/index.js +1 -1
  182. package/dist/components/Text/style.css.d.ts +26 -26
  183. package/dist/components/Text/style.css.d.ts.map +1 -1
  184. package/dist/components/Text/style.css.js +1 -1
  185. package/dist/components/TextArea/index.d.ts.map +1 -1
  186. package/dist/components/TextArea/index.js +14 -7
  187. package/dist/components/TextArea/styles.css.d.ts +2 -2
  188. package/dist/components/TextArea/styles.css.js +1 -1
  189. package/dist/components/TextInput/index.d.ts +1 -1
  190. package/dist/components/TextInput/index.js +2 -2
  191. package/dist/components/TimeInput/helpers.d.ts.map +1 -1
  192. package/dist/components/TimeInput/helpers.js +2 -1
  193. package/dist/components/TimeInput/index.js +4 -4
  194. package/dist/components/TimeInput/styles.css.d.ts +22 -22
  195. package/dist/components/TimeInput/styles.css.js +1 -1
  196. package/dist/components/Toaster/constants.d.ts.map +1 -1
  197. package/dist/components/Toggle/styles.css.d.ts +53 -53
  198. package/dist/components/Toggle/styles.css.js +2 -2
  199. package/dist/components/Tooltip/index.d.ts +1 -1
  200. package/dist/components/TreeMapChart/index.d.ts +1 -1
  201. package/dist/components/TreeMapChart/index.d.ts.map +1 -1
  202. package/dist/components/TreeMapChart/index.js +39 -42
  203. package/dist/components/TreeMapChart/styles.css.d.ts +1 -1
  204. package/dist/components/TreeMapChart/styles.css.d.ts.map +1 -1
  205. package/dist/components/TreeMapChart/styles.css.js +2 -2
  206. package/dist/components/UnitInput/index.js +1 -1
  207. package/dist/components/UnitInput/styles.css.js +3 -3
  208. package/dist/components/VerificationCode/index.d.ts.map +1 -1
  209. package/dist/components/VerificationCode/index.js +2 -2
  210. package/dist/components/VerificationCode/styles.css.js +1 -1
  211. package/dist/components/compositions/OptionSelector/index.d.ts.map +1 -1
  212. package/dist/components/compositions/OptionSelector/index.js +91 -59
  213. package/dist/components/compositions/OptionSelector/styles.css.d.ts +2 -0
  214. package/dist/components/compositions/OptionSelector/styles.css.d.ts.map +1 -1
  215. package/dist/components/compositions/OptionSelector/styles.css.js +4 -0
  216. package/dist/helpers/treeMap.d.ts +4 -5
  217. package/dist/helpers/treeMap.d.ts.map +1 -1
  218. package/dist/helpers/treeMap.js +7 -5
  219. package/dist/theme/ThemeProvider.d.ts +33 -0
  220. package/dist/theme/ThemeProvider.d.ts.map +1 -1
  221. package/dist/theme/index.d.ts +33 -0
  222. package/dist/theme/index.d.ts.map +1 -1
  223. package/dist/ui.css +1 -1
  224. package/package.json +6 -6
  225. package/dist/components/SelectInput/types.js +0 -9
@@ -1,8 +1,9 @@
1
- /* empty css */
2
1
  /* empty css */
2
+ /* empty css */
3
+ /* empty css */
3
4
  /* empty css */
4
5
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
5
- var containerSelectableCard = createRuntimeFn({ defaultClassName: "uv_475tnd0", variantClassNames: { image: { none: "uv_475tnd1", icon: "uv_475tnd2", illustration: "uv_475tnd3" }, cursor: { "default": "uv_475tnd4", custom: "uv_475tnd5" } }, defaultVariants: { image: "none", cursor: "custom" }, compoundVariants: [] });
6
+ var containerSelectableCard = createRuntimeFn({ defaultClassName: "uv_475tnd0", variantClassNames: { cursor: { custom: "uv_475tnd1", "default": "uv_475tnd2" }, image: { icon: "uv_475tnd3", illustration: "uv_475tnd4", none: "uv_475tnd5" } }, defaultVariants: { cursor: "custom", image: "none" }, compoundVariants: [] });
6
7
  var labelContainerSelectableCard = { label: "uv_475tnd6", noLabel: "uv_475tnd7" };
7
8
  var divSelectableCard = "uv_475tnd8";
8
9
  var imageSelectableCard = "uv_475tnd9";
@@ -1,4 +1,3 @@
1
- /* empty css */
2
1
  var inputDisplay = "var(--uv_18vc4d30)";
3
2
  var labelDisplay = "var(--uv_18vc4d31)";
4
3
  var widthSelectable = "var(--uv_18vc4d32)";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Separator/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAGrD,KAAK,cAAc,GAAG;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,GAAG,iBAAiB,CAAA;AAErB;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,6FAQvB,cAAc,4CAiCd,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Separator/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAGrD,KAAK,cAAc,GAAG;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,GAAG,iBAAiB,CAAA;AAErB;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,6FAQvB,cAAc,4CAkCd,CAAA"}
@@ -11,43 +11,45 @@ const Separator = ({
11
11
  "data-testid": dataTestId,
12
12
  children,
13
13
  style
14
- }) => children ? /* @__PURE__ */ jsxs(
15
- "div",
16
- {
17
- "aria-orientation": direction,
18
- className: cn(className, iconWraperSeparator({ direction, sentiment })),
19
- "data-testid": dataTestId,
20
- role: "separator",
21
- style,
22
- children: [
23
- /* @__PURE__ */ jsx(
24
- "hr",
25
- {
26
- className: hr({ direction, hasIcon: true, sentiment }),
27
- style: assignInlineVars({
28
- [thicknessSeparator]: `${thickness}px`
29
- })
30
- }
31
- ),
32
- children,
33
- /* @__PURE__ */ jsx(
34
- "hr",
35
- {
36
- className: hr({ direction, hasIcon: true, sentiment }),
37
- style: assignInlineVars({
38
- [thicknessSeparator]: `${thickness}px`
39
- })
40
- }
41
- )
42
- ]
43
- }
14
+ }) => children ? (
15
+ // biome-ignore lint/a11y/useFocusableInteractive: to fix
16
+ /* @__PURE__ */ jsxs(
17
+ "div",
18
+ {
19
+ "aria-orientation": direction,
20
+ className: cn(className, iconWraperSeparator({ direction, sentiment })),
21
+ "data-testid": dataTestId,
22
+ role: "separator",
23
+ style,
24
+ children: [
25
+ /* @__PURE__ */ jsx(
26
+ "hr",
27
+ {
28
+ className: hr({ direction, hasIcon: true, sentiment }),
29
+ style: assignInlineVars({
30
+ [thicknessSeparator]: `${thickness}px`
31
+ })
32
+ }
33
+ ),
34
+ children,
35
+ /* @__PURE__ */ jsx(
36
+ "hr",
37
+ {
38
+ className: hr({ direction, hasIcon: true, sentiment }),
39
+ style: assignInlineVars({
40
+ [thicknessSeparator]: `${thickness}px`
41
+ })
42
+ }
43
+ )
44
+ ]
45
+ }
46
+ )
44
47
  ) : /* @__PURE__ */ jsx(
45
48
  "hr",
46
49
  {
47
50
  "aria-orientation": direction,
48
51
  className: cn(className, hr({ direction, sentiment })),
49
52
  "data-testid": dataTestId,
50
- role: "separator",
51
53
  style: assignInlineVars({
52
54
  [thicknessSeparator]: `${thickness}px`
53
55
  })
@@ -1 +1 @@
1
- {"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Block.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK,GAAI,YAAgB;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,4CAWxD,CAAA"}
1
+ {"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Block.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK,GAAI,YAAgB;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,4CAYxD,CAAA"}
@@ -4,10 +4,13 @@ import { Fragment } from "react";
4
4
  import { IconSkeleton } from "./IconSkeleton.js";
5
5
  import { Line } from "./Line.js";
6
6
  import { blockSkeletonList, blockSkeletonLine } from "./stylesVariants.css.js";
7
- const Block = ({ length = 3 }) => /* @__PURE__ */ jsx("ul", { className: blockSkeletonList, children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("li", { className: blockSkeletonLine, children: [
8
- /* @__PURE__ */ jsx(IconSkeleton, {}),
9
- /* @__PURE__ */ jsx(Line, {})
10
- ] }) }, `skeleton-block-${i}`)) });
7
+ const Block = ({ length = 3 }) => /* @__PURE__ */ jsx("ul", { className: blockSkeletonList, children: Array.from({ length }, (_, i) => (
8
+ // biome-ignore lint/suspicious/noArrayIndexKey: to fix
9
+ /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("li", { className: blockSkeletonLine, children: [
10
+ /* @__PURE__ */ jsx(IconSkeleton, {}),
11
+ /* @__PURE__ */ jsx(Line, {})
12
+ ] }) }, `skeleton-block-${i}`)
13
+ )) });
11
14
  export {
12
15
  Block
13
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Blocks.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM,GAAI,kBAGpB;IACD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,4CAcA,CAAA"}
1
+ {"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Blocks.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM,GAAI,kBAGpB;IACD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,4CAeA,CAAA"}
@@ -14,10 +14,13 @@ const Blocks = ({
14
14
  style: assignInlineVars({
15
15
  [columns]: col.toString()
16
16
  }),
17
- children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsxs("div", { className: blocksSkeleton, children: [
18
- /* @__PURE__ */ jsx(IconSkeleton, {}),
19
- /* @__PURE__ */ jsx(Line, {})
20
- ] }, `skeleton-blocks-${i}`))
17
+ children: Array.from({ length }, (_, i) => (
18
+ // biome-ignore lint/suspicious/noArrayIndexKey: to fix
19
+ /* @__PURE__ */ jsxs("div", { className: blocksSkeleton, children: [
20
+ /* @__PURE__ */ jsx(IconSkeleton, {}),
21
+ /* @__PURE__ */ jsx(Line, {})
22
+ ] }, `skeleton-blocks-${i}`)
23
+ ))
21
24
  }
22
25
  );
23
26
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"BoxWithIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/BoxWithIcon.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,GAAI,kBAGzB;IACD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,4CAcA,CAAA"}
1
+ {"version":3,"file":"BoxWithIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/BoxWithIcon.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,GAAI,kBAGzB;IACD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,4CAeA,CAAA"}
@@ -14,10 +14,13 @@ const BoxWithIcon = ({
14
14
  style: assignInlineVars({
15
15
  [columns]: col.toString()
16
16
  }),
17
- children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsxs("div", { className: boxWithIconSkeleton, children: [
18
- /* @__PURE__ */ jsx(IconSkeleton, {}),
19
- /* @__PURE__ */ jsx(Line, {})
20
- ] }, `skeleton-box-${i}`))
17
+ children: Array.from({ length }, (_, i) => (
18
+ // biome-ignore lint/suspicious/noArrayIndexKey: to fix
19
+ /* @__PURE__ */ jsxs("div", { className: boxWithIconSkeleton, children: [
20
+ /* @__PURE__ */ jsx(IconSkeleton, {}),
21
+ /* @__PURE__ */ jsx(Line, {})
22
+ ] }, `skeleton-box-${i}`)
23
+ ))
21
24
  }
22
25
  );
23
26
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/List.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,IAAI,GAAI,kBAGlB;IACD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,4CAMA,CAAA"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/List.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,IAAI,GAAI,kBAGlB;IACD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,4CAOA,CAAA"}
@@ -2,11 +2,17 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Line } from "./Line.js";
4
4
  import { listSkeletonUl, listSkeletonLi, listSkeletonDiv } from "./stylesVariants.css.js";
5
- const Item = ({ col = 3 }) => /* @__PURE__ */ jsx("li", { className: listSkeletonLi, children: Array.from({ length: col }, (_, i) => /* @__PURE__ */ jsx("div", { className: listSkeletonDiv, children: /* @__PURE__ */ jsx(Line, {}) }, `skeleton-list-col-${i}`)) });
5
+ const Item = ({ col = 3 }) => /* @__PURE__ */ jsx("li", { className: listSkeletonLi, children: Array.from({ length: col }, (_, i) => (
6
+ // biome-ignore lint/suspicious/noArrayIndexKey: to fix
7
+ /* @__PURE__ */ jsx("div", { className: listSkeletonDiv, children: /* @__PURE__ */ jsx(Line, {}) }, `skeleton-list-col-${i}`)
8
+ )) });
6
9
  const List = ({
7
10
  length = 3,
8
11
  col = 3
9
- }) => /* @__PURE__ */ jsx("ul", { className: listSkeletonUl, children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsx(Item, { col }, `skeleton-list-${i}`)) });
12
+ }) => /* @__PURE__ */ jsx("ul", { className: listSkeletonUl, children: Array.from({ length }, (_, i) => (
13
+ // biome-ignore lint/suspicious/noArrayIndexKey: to fix
14
+ /* @__PURE__ */ jsx(Item, { col }, `skeleton-list-${i}`)
15
+ )) });
10
16
  export {
11
17
  List
12
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Slider.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM,GAAI,YAAgB;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,4CAazD,CAAA"}
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Slider.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM,GAAI,YAAgB;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,4CAczD,CAAA"}
@@ -9,7 +9,10 @@ const Slider = ({ length = 4 }) => /* @__PURE__ */ jsx(
9
9
  style: assignInlineVars({
10
10
  [sliderLength]: length.toString()
11
11
  }),
12
- children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsx("div", { className: sliderSkeletonCard, children: /* @__PURE__ */ jsx("div", { className: sliderSkeletonBanner }) }, `skeleton-slider-card-${i}`))
12
+ children: Array.from({ length }, (_, i) => (
13
+ // biome-ignore lint/suspicious/noArrayIndexKey: to fix
14
+ /* @__PURE__ */ jsx("div", { className: sliderSkeletonCard, children: /* @__PURE__ */ jsx("div", { className: sliderSkeletonBanner }) }, `skeleton-slider-card-${i}`)
15
+ ))
13
16
  }
14
17
  );
15
18
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAW1C,QAAA,MAAM,QAAQ;;cANP,CAAC;;;WACc,CAAC;cACb,CAAC;;;WAAF,CAAC;cAAiB,CAAC;;;;;cAIhB,CAAC;WACJ,CAAA;;;cAPE,CAAC;;;CAeF,CAAA;AAEV,KAAK,eAAe,GAAG,MAAM,OAAO,QAAQ,CAAA;AAE5C,KAAK,aAAa,GAAG;IACnB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,iGAQtB,aAAa,4CAiBf,CAAA;AAGD,eAAO,MAAM,aAAa,EAA4B,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAW1C,QAAA,MAAM,QAAQ;;cANP,CAAC;;;WACc,CAAC;cACb,CAAC;;;WAAF,CAAC;cAAiB,CAAC;;;;;cAQ1B,CAAA;WACA,CAAD;;;cAXU,CAAC;;;CAeF,CAAA;AAEV,KAAK,eAAe,GAAG,MAAM,OAAO,QAAQ,CAAA;AAE5C,KAAK,aAAa,GAAG;IACnB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,iGAQtB,aAAa,4CAkBf,CAAA;AAGD,eAAO,MAAM,aAAa,EAA4B,eAAe,EAAE,CAAA"}
@@ -30,20 +30,23 @@ const Skeleton = ({
30
30
  style
31
31
  }) => {
32
32
  const Component = variants[variant];
33
- return /* @__PURE__ */ jsxs(
34
- "div",
35
- {
36
- "aria-busy": true,
37
- "aria-label": ariaLabel,
38
- "aria-live": "polite",
39
- className: cn(className, skeletonContainer),
40
- "data-testid": dataTestId,
41
- style,
42
- children: [
43
- /* @__PURE__ */ jsx(Component, { col, length }),
44
- /* @__PURE__ */ jsx("div", { className: skeletonHighlight })
45
- ]
46
- }
33
+ return (
34
+ // biome-ignore lint/a11y/useAriaPropsSupportedByRole: to fix
35
+ /* @__PURE__ */ jsxs(
36
+ "div",
37
+ {
38
+ "aria-busy": true,
39
+ "aria-label": ariaLabel,
40
+ "aria-live": "polite",
41
+ className: cn(className, skeletonContainer),
42
+ "data-testid": dataTestId,
43
+ style,
44
+ children: [
45
+ /* @__PURE__ */ jsx(Component, { col, length }),
46
+ /* @__PURE__ */ jsx("div", { className: skeletonHighlight })
47
+ ]
48
+ }
49
+ )
47
50
  );
48
51
  };
49
52
  export {
@@ -1,3 +1,3 @@
1
1
  import type { DoubleSliderProps } from '../types';
2
- export declare const DoubleSlider: ({ name, tooltip, direction, disabled, error, "data-testid": dataTestId, value, onChange, min, max, step, id, onBlur, onFocus, options, unit, label, className, input, prefix, suffix, required, tooltipPosition, "aria-label": ariaLabel, labelDescription, }: DoubleSliderProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const DoubleSlider: ({ name, tooltip, direction, disabled, error, "data-testid": dataTestId, value, onChange, min, max, step, id, onBlur, onFocus, options, unit, label, className, input, prefix, suffix, required, tooltipPosition, "aria-label": ariaLabel, labelDescription, customValueDisplay, }: DoubleSliderProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=DoubleSlider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DoubleSlider.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/components/DoubleSlider.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAGjD,eAAO,MAAM,YAAY,GAAI,+PA0B1B,iBAAiB,4CAmXnB,CAAA"}
1
+ {"version":3,"file":"DoubleSlider.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/components/DoubleSlider.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAGjD,eAAO,MAAM,YAAY,GAAI,mRA2B1B,iBAAiB,4CAoXnB,CAAA"}
@@ -37,7 +37,8 @@ const DoubleSlider = ({
37
37
  required,
38
38
  tooltipPosition,
39
39
  "aria-label": ariaLabel,
40
- labelDescription
40
+ labelDescription,
41
+ customValueDisplay
41
42
  }) => {
42
43
  const theme = useTheme();
43
44
  const localId = useId();
@@ -124,7 +125,14 @@ const DoubleSlider = ({
124
125
  max,
125
126
  min,
126
127
  onBlur: (event) => {
127
- if (!event.target.value) {
128
+ if (event.target.value) {
129
+ const newValue = Number.parseFloat(event.target.value);
130
+ if (side === "left") {
131
+ internalOnChangeRef([newValue, selectedIndexes[1]]);
132
+ } else if (side === "right") {
133
+ internalOnChangeRef([selectedIndexes[0], newValue]);
134
+ }
135
+ } else {
128
136
  if (side === "left") {
129
137
  const index = activeValue("left");
130
138
  if (index === 0) {
@@ -141,13 +149,6 @@ const DoubleSlider = ({
141
149
  internalOnChangeRef([selectedIndexes[0], max]);
142
150
  }
143
151
  }
144
- } else {
145
- const newValue = Number.parseFloat(event.target.value);
146
- if (side === "left") {
147
- internalOnChangeRef([newValue, selectedIndexes[1]]);
148
- } else if (side === "right") {
149
- internalOnChangeRef([selectedIndexes[0], newValue]);
150
- }
151
152
  }
152
153
  },
153
154
  onChange: (newVal) => {
@@ -209,15 +210,18 @@ const DoubleSlider = ({
209
210
  });
210
211
  }, [min, max, value]);
211
212
  return /* @__PURE__ */ jsxs(Stack, { direction: "column", gap: 1, justifyContent: "left", children: [
212
- label ? /* @__PURE__ */ jsx(Stack, { direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ jsx(
213
- Label,
214
- {
215
- htmlFor: finalId,
216
- labelDescription,
217
- required,
218
- children: label
219
- }
220
- ) }) : null,
213
+ label ? /* @__PURE__ */ jsxs(Stack, { direction: "row", justifyContent: "space-between", children: [
214
+ /* @__PURE__ */ jsx(
215
+ Label,
216
+ {
217
+ htmlFor: finalId,
218
+ labelDescription,
219
+ required,
220
+ children: label
221
+ }
222
+ ),
223
+ customValueDisplay
224
+ ] }) : null,
221
225
  /* @__PURE__ */ jsxs(Stack, { direction, gap: 1, width: "100%", children: [
222
226
  direction === "column" ? /* @__PURE__ */ jsxs(Stack, { direction: "row", justifyContent: "space-between", children: [
223
227
  styledValue(leftToShow, "left"),
@@ -286,7 +290,7 @@ const DoubleSlider = ({
286
290
  ref: refSlider,
287
291
  step,
288
292
  style: assignInlineVars({
289
- [leftVar]: `calc(${(selectedIndexes[0] - min) * 100 / (max - min)}% - ${THUMB_SIZE / 2}px`,
293
+ [leftVar]: `calc(${(selectedIndexes[0] - min) * 100 / (max - min)}% - ${THUMB_SIZE / 2}px)`,
290
294
  [thumbColor]: theme.theme === "light" ? theme.colors.neutral.background : theme.colors.neutral.backgroundStronger
291
295
  }),
292
296
  type: "range",
@@ -333,7 +337,7 @@ const DoubleSlider = ({
333
337
  onFocus,
334
338
  step,
335
339
  style: assignInlineVars({
336
- [leftVar]: `calc(${((selectedIndexes[1] ?? 0) - min) * 100 / (max - min)}% - ${THUMB_SIZE / 2}px`,
340
+ [leftVar]: `calc(${((selectedIndexes[1] ?? 0) - min) * 100 / (max - min)}% - ${THUMB_SIZE / 2}px)`,
337
341
  [thumbColor]: theme.theme === "light" ? theme.colors.neutral.background : theme.colors.neutral.backgroundStronger
338
342
  }),
339
343
  type: "range",
@@ -1,3 +1,3 @@
1
1
  import type { SingleSliderProps } from '../types';
2
- export declare const SingleSlider: ({ name, tooltip, direction, disabled, error, "data-testid": dataTestId, value, onChange, min, max, step, id, onBlur, unit, options, onFocus, className, label, input, prefix, suffix, required, labelDescription, "aria-label": ariaLabel, tooltipPosition, }: SingleSliderProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SingleSlider: ({ name, tooltip, direction, disabled, error, "data-testid": dataTestId, value, onChange, min, max, step, id, onBlur, unit, options, onFocus, className, label, input, prefix, suffix, required, labelDescription, customValueDisplay, "aria-label": ariaLabel, tooltipPosition, }: SingleSliderProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=SingleSlider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SingleSlider.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/components/SingleSlider.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAKjD,eAAO,MAAM,YAAY,GAAI,+PA0B1B,iBAAiB,4CA8NnB,CAAA"}
1
+ {"version":3,"file":"SingleSlider.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/components/SingleSlider.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAKjD,eAAO,MAAM,YAAY,GAAI,mRA2B1B,iBAAiB,4CA6OnB,CAAA"}
@@ -36,6 +36,7 @@ const SingleSlider = ({
36
36
  suffix,
37
37
  required,
38
38
  labelDescription,
39
+ customValueDisplay,
39
40
  "aria-label": ariaLabel,
40
41
  tooltipPosition
41
42
  }) => {
@@ -174,11 +175,15 @@ const SingleSlider = ({
174
175
  children: label
175
176
  }
176
177
  ),
177
- direction === "column" ? styledValue(valueToShow) : null
178
+ direction === "column" && (input || !customValueDisplay) ? styledValue(valueToShow) : null,
179
+ direction === "column" && customValueDisplay && !input ? customValueDisplay : null
178
180
  ]
179
181
  }
180
182
  ) : null,
181
- /* @__PURE__ */ jsx(Stack, { direction: "row", justifyContent: "end", children: direction === "column" && !label ? styledValue(valueToShow) : null }),
183
+ /* @__PURE__ */ jsxs(Stack, { direction: "row", justifyContent: "flex-end", children: [
184
+ direction === "column" && !label && (input || !customValueDisplay) ? styledValue(valueToShow) : null,
185
+ direction === "column" && !label && customValueDisplay && !input ? customValueDisplay : null
186
+ ] }),
182
187
  /* @__PURE__ */ jsxs(Stack, { direction: "column", gap: 1, justifyContent: "center", width: "100%", children: [
183
188
  /* @__PURE__ */ jsx(
184
189
  Tooltip,
@@ -239,7 +244,8 @@ const SingleSlider = ({
239
244
  }
240
245
  ) : null
241
246
  ] }),
242
- direction === "row" ? styledValue(valueToShow) : null
247
+ direction === "row" && (input || !customValueDisplay) ? styledValue(valueToShow) : null,
248
+ direction === "row" && customValueDisplay && !input ? customValueDisplay : null
243
249
  ] });
244
250
  };
245
251
  export {
@@ -4,5 +4,5 @@ import type { SliderProps } from './types';
4
4
  * - For a simple slider (one handle) : prop `value` must be number.
5
5
  * - For a double slider (two handles): prop `value` must be an array of numbers (of length 2) and prop `double` must be set to `true`. **Make sure that others props have the correct type.**
6
6
  */
7
- export declare const Slider: ({ name, label, helper, tooltip, direction, input, prefix, unit, suffix, required, disabled, error, options, "data-testid": dataTestId, value, onChange, min, double, max, step, id, onBlur, onFocus, className, tooltipPosition, style, labelDescription, "aria-label": ariaLabel, }: SliderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const Slider: ({ name, label, helper, tooltip, direction, input, prefix, unit, suffix, required, disabled, error, options, "data-testid": dataTestId, value, onChange, min, double, max, step, id, onBlur, onFocus, className, tooltipPosition, style, customValueDisplay, labelDescription, "aria-label": ariaLabel, }: SliderProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,sRA6BpB,WAAW,4CA8Fb,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,0SA8BpB,WAAW,4CAgGb,CAAA"}
@@ -33,6 +33,7 @@ const Slider = ({
33
33
  className,
34
34
  tooltipPosition = "top",
35
35
  style,
36
+ customValueDisplay,
36
37
  labelDescription,
37
38
  "aria-label": ariaLabel
38
39
  }) => {
@@ -61,6 +62,7 @@ const Slider = ({
61
62
  {
62
63
  "aria-label": ariaLabel,
63
64
  className,
65
+ customValueDisplay,
64
66
  "data-testid": dataTestId,
65
67
  direction,
66
68
  disabled,
@@ -90,6 +92,7 @@ const Slider = ({
90
92
  {
91
93
  "aria-label": ariaLabel,
92
94
  className,
95
+ customValueDisplay,
93
96
  "data-testid": dataTestId,
94
97
  direction,
95
98
  disabled,
@@ -25,23 +25,23 @@ export declare const sliderOption: import("@vanilla-extract/recipes").RuntimeFn<
25
25
  }>;
26
26
  export declare const sliderThumbStyle: import("@vanilla-extract/recipes").RuntimeFn<{
27
27
  disabled: {
28
- true: {
28
+ false: {
29
29
  selectors: {
30
30
  '&::-moz-range-thumb': {
31
- cursor: "not-allowed";
32
- };
33
- '&::-webkit-slider-thumb': {
34
- cursor: "not-allowed";
31
+ cursor: "grab";
35
32
  };
36
- };
37
- };
38
- false: {
39
- selectors: {
40
33
  '&::-webkit-slider-thumb': {
41
34
  cursor: "grab";
42
35
  };
43
- '&::-moz-range-thumb': {
44
- cursor: "grab";
36
+ '&:active::-moz-range-thumb': {
37
+ border: `1.5px solid var(--${string})`;
38
+ boxShadow: `var(--${string})`;
39
+ cursor: "grabbing";
40
+ };
41
+ '&:active::-webkit-slider-thumb': {
42
+ border: `1.5px solid var(--${string})`;
43
+ boxShadow: `var(--${string})`;
44
+ cursor: "grabbing";
45
45
  };
46
46
  '&:hover::-moz-range-thumb': {
47
47
  border: `1.5px solid var(--${string})`;
@@ -49,27 +49,29 @@ export declare const sliderThumbStyle: import("@vanilla-extract/recipes").Runtim
49
49
  '&:hover::-webkit-slider-thumb': {
50
50
  border: `1.5px solid var(--${string})`;
51
51
  };
52
- '&:active::-moz-range-thumb': {
53
- cursor: "grabbing";
54
- boxShadow: `var(--${string})`;
55
- border: `1.5px solid var(--${string})`;
52
+ };
53
+ };
54
+ true: {
55
+ selectors: {
56
+ '&::-moz-range-thumb': {
57
+ cursor: "not-allowed";
56
58
  };
57
- '&:active::-webkit-slider-thumb': {
58
- cursor: "grabbing";
59
- boxShadow: `var(--${string})`;
60
- border: `1.5px solid var(--${string})`;
59
+ '&::-webkit-slider-thumb': {
60
+ cursor: "not-allowed";
61
61
  };
62
62
  };
63
63
  };
64
64
  };
65
- isDouble: {
66
- true: {
65
+ hasTooltipDouble: {
66
+ false: {
67
67
  selectors: {
68
68
  '&::-webkit-slider-thumb': {
69
- top: "2px";
69
+ top: "-8px";
70
70
  };
71
71
  };
72
72
  };
73
+ };
74
+ isDouble: {
73
75
  false: {
74
76
  selectors: {
75
77
  '&::-moz-range-thumb': {
@@ -80,35 +82,32 @@ export declare const sliderThumbStyle: import("@vanilla-extract/recipes").Runtim
80
82
  };
81
83
  };
82
84
  };
83
- };
84
- hasTooltipDouble: {
85
- false: {
85
+ true: {
86
86
  selectors: {
87
87
  '&::-webkit-slider-thumb': {
88
- top: "-8px";
88
+ top: "2px";
89
89
  };
90
90
  };
91
91
  };
92
92
  };
93
93
  }>;
94
94
  export declare const sliderDoubleText: import("@vanilla-extract/recipes").RuntimeFn<{
95
- isPadded: {
96
- true: {
97
- minWidth: `var(--${string})`;
98
- };
99
- };
100
95
  isDouble: {
96
+ false: {
97
+ alignSelf: "end";
98
+ };
101
99
  true: {
102
100
  alignSelf: "center";
103
101
  };
104
- false: {
105
- alignSelf: "end";
102
+ };
103
+ isPadded: {
104
+ true: {
105
+ minWidth: `var(--${string})`;
106
106
  };
107
107
  };
108
108
  }>;
109
109
  export declare const sliderDouble: import("@vanilla-extract/recipes").RuntimeFn<{
110
110
  disabled: {
111
- true: {};
112
111
  false: {
113
112
  selectors: {
114
113
  '&:focus::-moz-slider-thumb, &:focus::-webkit-slider-thumb': {
@@ -117,14 +116,25 @@ export declare const sliderDouble: import("@vanilla-extract/recipes").RuntimeFn<
117
116
  };
118
117
  };
119
118
  };
119
+ true: {};
120
120
  };
121
121
  hasTooltip: {
122
122
  true: {
123
- transform: "translate(0, -10px)";
123
+ selectors: {
124
+ '&::-moz-range-thumb': {
125
+ transform: "translate(0, -10px)";
126
+ };
127
+ };
124
128
  };
125
129
  };
126
130
  }>;
127
131
  export declare const sliderSingle: import("@vanilla-extract/recipes").RuntimeFn<{
132
+ direction: {
133
+ column: {
134
+ alignSelf: "baseline";
135
+ };
136
+ row: {};
137
+ };
128
138
  disabled: {
129
139
  false: {
130
140
  selectors: {
@@ -147,22 +157,16 @@ export declare const sliderSingle: import("@vanilla-extract/recipes").RuntimeFn<
147
157
  backgroundImage: `linear-gradient(var(--${string}), var(--${string}))`;
148
158
  };
149
159
  };
150
- direction: {
151
- column: {
152
- alignSelf: "baseline";
153
- };
154
- row: {};
155
- };
156
160
  }>;
157
161
  export declare const sliderDoubleWrapper: string;
158
162
  export declare const sliderCustomRail: string;
159
163
  export declare const sliderInnerRail: import("@vanilla-extract/recipes").RuntimeFn<{
160
- error: {
164
+ disabled: {
161
165
  true: {
162
166
  backgroundColor: `var(--${string})`;
163
167
  };
164
168
  };
165
- disabled: {
169
+ error: {
166
170
  true: {
167
171
  backgroundColor: `var(--${string})`;
168
172
  };
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/styles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,oBAAc,CAAA;AACtC,eAAO,MAAM,UAAU,oBAAc,CAAA;AACrC,eAAO,MAAM,OAAO,oBAAc,CAAA;AAClC,eAAO,MAAM,UAAU,oBAAc,CAAA;AAErC,eAAO,MAAM,eAAe,QAA0C,CAAA;AAEtE,eAAO,MAAM,aAAa,QAIxB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;EAczB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;EAgBvB,CAAA;AAgBF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0E3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;EAgB3B,CAAA;AAUF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;EA8CvB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDvB,CAAA;AACF,eAAO,MAAM,mBAAmB,QAO9B,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAS3B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;EAuB1B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAAsC,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/styles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,oBAAc,CAAA;AACtC,eAAO,MAAM,UAAU,oBAAc,CAAA;AACrC,eAAO,MAAM,OAAO,oBAAc,CAAA;AAClC,eAAO,MAAM,UAAU,oBAAc,CAAA;AAErC,eAAO,MAAM,eAAe,QAA0C,CAAA;AAEtE,eAAO,MAAM,aAAa,QAIxB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;EAczB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;EAgBvB,CAAA;AAgBF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0E3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;EAgB3B,CAAA;AAUF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;EAkDvB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDvB,CAAA;AACF,eAAO,MAAM,mBAAmB,QAO9B,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAS3B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;EAuB1B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAAsC,CAAA"}