@simpli-route/apollo-ds 0.1.84 → 0.1.85

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 (267) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs102.js +1 -1
  5. package/dist/index.cjs103.js +1 -1
  6. package/dist/index.cjs104.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs106.js +1 -1
  9. package/dist/index.cjs107.js +1 -1
  10. package/dist/index.cjs108.js +1 -1
  11. package/dist/index.cjs109.js +1 -1
  12. package/dist/index.cjs11.js +1 -1
  13. package/dist/index.cjs110.js +1 -1
  14. package/dist/index.cjs112.js +1 -1
  15. package/dist/index.cjs113.js +1 -1
  16. package/dist/index.cjs12.js +1 -1
  17. package/dist/index.cjs13.js +1 -1
  18. package/dist/index.cjs130.js +1 -1
  19. package/dist/index.cjs132.js +1 -1
  20. package/dist/index.cjs133.js +1 -1
  21. package/dist/index.cjs135.js +1 -1
  22. package/dist/index.cjs136.js +1 -1
  23. package/dist/index.cjs137.js +1 -1
  24. package/dist/index.cjs138.js +1 -1
  25. package/dist/index.cjs139.js +1 -1
  26. package/dist/index.cjs14.js +1 -1
  27. package/dist/index.cjs140.js +1 -1
  28. package/dist/index.cjs141.js +1 -1
  29. package/dist/index.cjs142.js +1 -1
  30. package/dist/index.cjs143.js +1 -1
  31. package/dist/index.cjs144.js +1 -1
  32. package/dist/index.cjs157.js +1 -1
  33. package/dist/index.cjs16.js +1 -1
  34. package/dist/index.cjs160.js +1 -1
  35. package/dist/index.cjs163.js +1 -1
  36. package/dist/index.cjs164.js +1 -1
  37. package/dist/index.cjs17.js +1 -1
  38. package/dist/index.cjs179.js +1 -1
  39. package/dist/index.cjs18.js +1 -1
  40. package/dist/index.cjs184.js +1 -1
  41. package/dist/index.cjs185.js +1 -1
  42. package/dist/index.cjs186.js +1 -1
  43. package/dist/index.cjs187.js +1 -1
  44. package/dist/index.cjs188.js +1 -1
  45. package/dist/index.cjs189.js +1 -1
  46. package/dist/index.cjs19.js +1 -1
  47. package/dist/index.cjs192.js +1 -1
  48. package/dist/index.cjs193.js +1 -1
  49. package/dist/index.cjs194.js +1 -1
  50. package/dist/index.cjs197.js +1 -1
  51. package/dist/index.cjs198.js +1 -1
  52. package/dist/index.cjs2.js +1 -1
  53. package/dist/index.cjs20.js +1 -1
  54. package/dist/index.cjs200.js +1 -1
  55. package/dist/index.cjs201.js +1 -1
  56. package/dist/index.cjs203.js +1 -1
  57. package/dist/index.cjs21.js +1 -1
  58. package/dist/index.cjs22.js +1 -1
  59. package/dist/index.cjs23.js +1 -1
  60. package/dist/index.cjs24.js +1 -1
  61. package/dist/index.cjs25.js +1 -1
  62. package/dist/index.cjs26.js +1 -1
  63. package/dist/index.cjs27.js +1 -1
  64. package/dist/index.cjs28.js +1 -1
  65. package/dist/index.cjs29.js +1 -1
  66. package/dist/index.cjs3.js +1 -1
  67. package/dist/index.cjs30.js +1 -1
  68. package/dist/index.cjs31.js +1 -1
  69. package/dist/index.cjs32.js +1 -1
  70. package/dist/index.cjs33.js +1 -1
  71. package/dist/index.cjs34.js +1 -1
  72. package/dist/index.cjs35.js +1 -1
  73. package/dist/index.cjs36.js +1 -1
  74. package/dist/index.cjs37.js +1 -1
  75. package/dist/index.cjs4.js +1 -1
  76. package/dist/index.cjs40.js +1 -1
  77. package/dist/index.cjs41.js +1 -1
  78. package/dist/index.cjs42.js +1 -1
  79. package/dist/index.cjs43.js +1 -1
  80. package/dist/index.cjs44.js +1 -1
  81. package/dist/index.cjs45.js +1 -1
  82. package/dist/index.cjs46.js +1 -1
  83. package/dist/index.cjs48.js +1 -1
  84. package/dist/index.cjs49.js +1 -1
  85. package/dist/index.cjs5.js +1 -1
  86. package/dist/index.cjs50.js +1 -1
  87. package/dist/index.cjs51.js +1 -1
  88. package/dist/index.cjs53.js +1 -1
  89. package/dist/index.cjs54.js +1 -1
  90. package/dist/index.cjs55.js +1 -1
  91. package/dist/index.cjs57.js +1 -1
  92. package/dist/index.cjs58.js +1 -1
  93. package/dist/index.cjs6.js +1 -1
  94. package/dist/index.cjs60.js +1 -1
  95. package/dist/index.cjs61.js +1 -1
  96. package/dist/index.cjs62.js +1 -1
  97. package/dist/index.cjs63.js +1 -1
  98. package/dist/index.cjs64.js +1 -1
  99. package/dist/index.cjs65.js +1 -1
  100. package/dist/index.cjs66.js +1 -1
  101. package/dist/index.cjs67.js +1 -1
  102. package/dist/index.cjs68.js +1 -1
  103. package/dist/index.cjs69.js +1 -1
  104. package/dist/index.cjs70.js +1 -1
  105. package/dist/index.cjs71.js +1 -1
  106. package/dist/index.cjs72.js +1 -1
  107. package/dist/index.cjs73.js +1 -1
  108. package/dist/index.cjs74.js +1 -1
  109. package/dist/index.cjs75.js +1 -1
  110. package/dist/index.cjs76.js +1 -1
  111. package/dist/index.cjs77.js +1 -1
  112. package/dist/index.cjs78.js +1 -1
  113. package/dist/index.cjs79.js +1 -1
  114. package/dist/index.cjs8.js +1 -1
  115. package/dist/index.cjs80.js +1 -1
  116. package/dist/index.cjs81.js +1 -1
  117. package/dist/index.cjs82.js +1 -1
  118. package/dist/index.cjs83.js +1 -1
  119. package/dist/index.cjs84.js +1 -1
  120. package/dist/index.cjs85.js +1 -1
  121. package/dist/index.cjs86.js +1 -1
  122. package/dist/index.cjs87.js +1 -1
  123. package/dist/index.cjs88.js +1 -1
  124. package/dist/index.cjs9.js +1 -1
  125. package/dist/index.cjs90.js +1 -1
  126. package/dist/index.cjs91.js +1 -1
  127. package/dist/index.cjs92.js +1 -1
  128. package/dist/index.cjs94.js +1 -1
  129. package/dist/index.cjs95.js +1 -1
  130. package/dist/index.cjs97.js +1 -1
  131. package/dist/index.cjs99.js +1 -1
  132. package/dist/index.es10.js +3 -3
  133. package/dist/index.es100.js +12 -100
  134. package/dist/index.es101.js +7 -13
  135. package/dist/index.es102.js +18 -19
  136. package/dist/index.es103.js +147 -18
  137. package/dist/index.es104.js +19 -40
  138. package/dist/index.es105.js +20 -10
  139. package/dist/index.es106.js +79 -10
  140. package/dist/index.es107.js +10 -45
  141. package/dist/index.es108.js +10 -7
  142. package/dist/index.es109.js +44 -17
  143. package/dist/index.es11.js +2 -2
  144. package/dist/index.es110.js +31 -140
  145. package/dist/index.es112.js +1 -1
  146. package/dist/index.es113.js +1 -1
  147. package/dist/index.es12.js +47 -42
  148. package/dist/index.es13.js +4 -4
  149. package/dist/index.es130.js +1 -1
  150. package/dist/index.es132.js +1 -1
  151. package/dist/index.es133.js +1 -1
  152. package/dist/index.es135.js +1 -1
  153. package/dist/index.es136.js +1 -1
  154. package/dist/index.es137.js +4 -2
  155. package/dist/index.es138.js +28 -4
  156. package/dist/index.es139.js +2 -4
  157. package/dist/index.es14.js +5 -5
  158. package/dist/index.es140.js +10 -28
  159. package/dist/index.es141.js +340 -2
  160. package/dist/index.es142.js +166 -8
  161. package/dist/index.es143.js +2 -340
  162. package/dist/index.es144.js +2 -166
  163. package/dist/index.es157.js +2 -2
  164. package/dist/index.es16.js +5 -5
  165. package/dist/index.es160.js +2 -2
  166. package/dist/index.es163.js +6 -6
  167. package/dist/index.es164.js +2 -2
  168. package/dist/index.es17.js +3 -3
  169. package/dist/index.es179.js +3 -3
  170. package/dist/index.es18.js +3 -3
  171. package/dist/index.es184.js +10 -61
  172. package/dist/index.es185.js +61 -4
  173. package/dist/index.es186.js +4 -14
  174. package/dist/index.es187.js +10 -307
  175. package/dist/index.es188.js +305 -20
  176. package/dist/index.es189.js +26 -4
  177. package/dist/index.es19.js +1 -1
  178. package/dist/index.es192.js +4 -94
  179. package/dist/index.es193.js +94 -4
  180. package/dist/index.es194.js +2 -8
  181. package/dist/index.es197.js +4 -51
  182. package/dist/index.es198.js +748 -14
  183. package/dist/index.es199.js +2 -2
  184. package/dist/index.es2.js +1 -1
  185. package/dist/index.es20.js +2 -2
  186. package/dist/index.es200.js +51 -4
  187. package/dist/index.es201.js +14 -748
  188. package/dist/index.es202.js +2 -2
  189. package/dist/index.es203.js +2 -2
  190. package/dist/index.es21.js +2 -2
  191. package/dist/index.es22.js +3 -3
  192. package/dist/index.es23.js +3 -3
  193. package/dist/index.es24.js +3 -3
  194. package/dist/index.es25.js +4 -4
  195. package/dist/index.es26.js +2 -2
  196. package/dist/index.es27.js +1 -1
  197. package/dist/index.es28.js +1 -1
  198. package/dist/index.es29.js +2 -2
  199. package/dist/index.es3.js +2 -2
  200. package/dist/index.es30.js +4 -4
  201. package/dist/index.es31.js +4 -4
  202. package/dist/index.es32.js +16 -16
  203. package/dist/index.es33.js +3 -3
  204. package/dist/index.es34.js +2 -2
  205. package/dist/index.es35.js +4 -4
  206. package/dist/index.es36.js +3 -3
  207. package/dist/index.es37.js +3 -3
  208. package/dist/index.es4.js +4 -4
  209. package/dist/index.es40.js +5 -5
  210. package/dist/index.es41.js +4 -4
  211. package/dist/index.es42.js +4 -4
  212. package/dist/index.es43.js +2 -2
  213. package/dist/index.es44.js +2 -2
  214. package/dist/index.es45.js +2 -2
  215. package/dist/index.es46.js +3 -3
  216. package/dist/index.es48.js +3 -3
  217. package/dist/index.es49.js +2 -2
  218. package/dist/index.es5.js +3 -3
  219. package/dist/index.es50.js +2 -2
  220. package/dist/index.es51.js +2 -2
  221. package/dist/index.es53.js +6 -33
  222. package/dist/index.es54.js +30 -6
  223. package/dist/index.es55.js +29 -31
  224. package/dist/index.es57.js +110 -39
  225. package/dist/index.es58.js +30 -97
  226. package/dist/index.es6.js +2 -2
  227. package/dist/index.es60.js +31 -40
  228. package/dist/index.es61.js +6 -33
  229. package/dist/index.es62.js +40 -7
  230. package/dist/index.es63.js +87 -28
  231. package/dist/index.es64.js +83 -52
  232. package/dist/index.es65.js +42 -88
  233. package/dist/index.es66.js +3 -84
  234. package/dist/index.es67.js +28 -3
  235. package/dist/index.es68.js +137 -15
  236. package/dist/index.es69.js +77 -97
  237. package/dist/index.es70.js +73 -88
  238. package/dist/index.es71.js +85 -86
  239. package/dist/index.es72.js +22 -102
  240. package/dist/index.es73.js +8 -34
  241. package/dist/index.es74.js +117 -8
  242. package/dist/index.es75.js +33 -91
  243. package/dist/index.es76.js +138 -37
  244. package/dist/index.es77.js +75 -143
  245. package/dist/index.es78.js +68 -76
  246. package/dist/index.es79.js +47 -38
  247. package/dist/index.es8.js +3 -3
  248. package/dist/index.es80.js +16 -87
  249. package/dist/index.es81.js +33 -22
  250. package/dist/index.es82.js +42 -28
  251. package/dist/index.es83.js +13 -44
  252. package/dist/index.es84.js +6 -18
  253. package/dist/index.es85.js +15 -14
  254. package/dist/index.es86.js +14 -13
  255. package/dist/index.es87.js +15 -12
  256. package/dist/index.es88.js +10 -6
  257. package/dist/index.es9.js +15 -15
  258. package/dist/index.es90.js +41 -10
  259. package/dist/index.es91.js +10 -12
  260. package/dist/index.es92.js +12 -10
  261. package/dist/index.es94.js +2 -2
  262. package/dist/index.es95.js +1 -1
  263. package/dist/index.es97.js +1 -1
  264. package/dist/index.es99.js +100 -78
  265. package/dist/stories/Icons.stories.d.ts +12 -0
  266. package/dist/style.css +80 -3
  267. package/package.json +3 -2
@@ -1,12 +1,43 @@
1
- import { j as n } from "./index.es52.js";
2
- import { cn as x } from "./index.es54.js";
3
- const m = ({
4
- description: t,
5
- descriptionClasses: i,
6
- errorMessage: r,
7
- errorClasses: s,
8
- isInvalidField: e
9
- }) => t && !e ? /* @__PURE__ */ n.jsx("div", { slot: "description", className: x("text-xs leading-3 text-neutral-700", i), children: t }) : r && e ? /* @__PURE__ */ n.jsx("div", { className: x("text-xs leading-3 text-error-500", s), children: r }) : null;
1
+ import { j as e } from "./index.es52.js";
2
+ import { CrossIcon as x, DownChevronIcon as f } from "./index.es81.js";
3
+ import { cn as n } from "./index.es53.js";
4
+ import { IconButton as p } from "./index.es19.js";
5
+ import { Loader as d } from "./index.es28.js";
6
+ function v({
7
+ hasSelection: o,
8
+ isOpen: s,
9
+ isDisabled: i,
10
+ isReadOnly: a,
11
+ isLoading: m = !1,
12
+ iconClassName: r,
13
+ icon: l = f,
14
+ onClear: c,
15
+ onIconPress: u
16
+ }) {
17
+ return m ? /* @__PURE__ */ e.jsx("div", { className: "mr-2 flex items-center justify-center", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(d, { size: "xs", className: "mr-0 text-neutral-700" }) }) : o && !i && !a ? /* @__PURE__ */ e.jsx(
18
+ "button",
19
+ {
20
+ type: "button",
21
+ "aria-label": "Clear selection",
22
+ className: "mr-2 flex items-center justify-center rounded-lg p-1 text-neutral-700 hover:text-primary-500 focus:text-primary-500 focus:outline-none",
23
+ onPointerDown: (t) => t.preventDefault(),
24
+ onClick: (t) => {
25
+ t.stopPropagation(), c();
26
+ },
27
+ children: /* @__PURE__ */ e.jsx(x, { className: n("size-3", r) })
28
+ }
29
+ ) : /* @__PURE__ */ e.jsx(p, { intent: "minimal", size: "xxs", className: "mr-2", onPress: u, children: ({ isFocusVisible: t }) => /* @__PURE__ */ e.jsx(
30
+ l,
31
+ {
32
+ className: n(
33
+ "size-4 transition-transform duration-200",
34
+ s && "rotate-180",
35
+ t ? "text-primary-500" : "text-neutral-700",
36
+ r
37
+ )
38
+ }
39
+ ) });
40
+ }
10
41
  export {
11
- m as CaptionNumberField
42
+ v as AutocompleteToggle
12
43
  };
@@ -1,14 +1,12 @@
1
- import { j as e } from "./index.es52.js";
2
- import { UpChevronIcon as n, DownChevronIcon as o } from "./index.es53.js";
3
- import { Button as s } from "react-aria-components";
4
- import { cn as c } from "./index.es54.js";
5
- const x = ({ isDisabled: r }) => {
6
- const t = c("flex items-center justify-center", r ? "text-neutral-600" : "text-primary-500");
7
- return /* @__PURE__ */ e.jsxs("div", { className: "absolute inset-y-0 right-0 flex flex-col items-center justify-center space-y-0.5 pr-2", children: [
8
- /* @__PURE__ */ e.jsx(s, { slot: "increment", className: t, children: /* @__PURE__ */ e.jsx(n, { className: "size-3.5" }) }),
9
- /* @__PURE__ */ e.jsx(s, { slot: "decrement", className: t, children: /* @__PURE__ */ e.jsx(o, { className: "size-3.5" }) })
10
- ] });
11
- };
1
+ import { j as n } from "./index.es52.js";
2
+ import { cn as x } from "./index.es53.js";
3
+ const m = ({
4
+ description: t,
5
+ descriptionClasses: i,
6
+ errorMessage: r,
7
+ errorClasses: s,
8
+ isInvalidField: e
9
+ }) => t && !e ? /* @__PURE__ */ n.jsx("div", { slot: "description", className: x("text-xs leading-3 text-neutral-700", i), children: t }) : r && e ? /* @__PURE__ */ n.jsx("div", { className: x("text-xs leading-3 text-error-500", s), children: r }) : null;
12
10
  export {
13
- x as StepperButton
11
+ m as CaptionNumberField
14
12
  };
@@ -1,12 +1,14 @@
1
- import { j as d } from "./index.es52.js";
2
- import { forwardRef as p } from "react";
3
- import { cn as f } from "./index.es54.js";
4
- import { overlayVariants as v } from "./index.es131.js";
5
- const y = (e, a) => {
6
- const { zIndex: s = 200, opacity: t = "md", blur: o = "sm", children: m, className: c, center: r = !0, fixed: i, ...n } = e, l = f(v({ opacity: t, fixed: i, center: r, blur: o }), `z-[${s}]`, c);
7
- return /* @__PURE__ */ d.jsx("div", { ref: a, className: l, "data-center": r || void 0, ...n, children: m });
8
- }, x = p(y);
9
- x.displayName = "Overlay";
1
+ import { j as e } from "./index.es52.js";
2
+ import { UpChevronIcon as n, DownChevronIcon as o } from "./index.es81.js";
3
+ import { Button as s } from "react-aria-components";
4
+ import { cn as c } from "./index.es53.js";
5
+ const x = ({ isDisabled: r }) => {
6
+ const t = c("flex items-center justify-center", r ? "text-neutral-600" : "text-primary-500");
7
+ return /* @__PURE__ */ e.jsxs("div", { className: "absolute inset-y-0 right-0 flex flex-col items-center justify-center space-y-0.5 pr-2", children: [
8
+ /* @__PURE__ */ e.jsx(s, { slot: "increment", className: t, children: /* @__PURE__ */ e.jsx(n, { className: "size-3.5" }) }),
9
+ /* @__PURE__ */ e.jsx(s, { slot: "decrement", className: t, children: /* @__PURE__ */ e.jsx(o, { className: "size-3.5" }) })
10
+ ] });
11
+ };
10
12
  export {
11
- x as Overlay
13
+ x as StepperButton
12
14
  };
@@ -1,7 +1,7 @@
1
1
  import { j as n } from "./index.es52.js";
2
2
  import { useState as _, useMemo as D, useRef as G } from "react";
3
3
  import { ComboBox as J, Input as Q } from "react-aria-components";
4
- import { cn as U } from "./index.es54.js";
4
+ import { cn as U } from "./index.es53.js";
5
5
  import { useDebouncedValue as W } from "./index.es93.js";
6
6
  import { Badge as X } from "./index.es6.js";
7
7
  import "./index.es7.js";
@@ -11,7 +11,7 @@ import { SearchFieldIconContainer as Z } from "./index.es95.js";
11
11
  import { SearchFieldMessages as $ } from "./index.es96.js";
12
12
  import { SearchFieldPopover as ee } from "./index.es97.js";
13
13
  import { getSearchFieldDefaultProps as te, getHighlightedParts as se } from "./index.es98.js";
14
- import { multiSearchFieldContainerVariants as le } from "./index.es76.js";
14
+ import { multiSearchFieldContainerVariants as le } from "./index.es75.js";
15
15
  const we = (b) => {
16
16
  const {
17
17
  label: w,
@@ -1,5 +1,5 @@
1
1
  import { j as r } from "./index.es52.js";
2
- import { cn as c } from "./index.es54.js";
2
+ import { cn as c } from "./index.es53.js";
3
3
  import { ClearIconButton as i } from "./index.es132.js";
4
4
  import { SearchIcon as a } from "./index.es133.js";
5
5
  const f = ({
@@ -3,7 +3,7 @@ import { useState as m, useEffect as u } from "react";
3
3
  import { Popover as v } from "react-aria-components";
4
4
  import { NoResultsMessage as a } from "./index.es134.js";
5
5
  import { SearchListBox as h } from "./index.es135.js";
6
- import { popoverVariants as x } from "./index.es76.js";
6
+ import { popoverVariants as x } from "./index.es75.js";
7
7
  const z = ({
8
8
  triggerRef: o,
9
9
  hasNoResults: n,
@@ -1,81 +1,103 @@
1
- import { j as e } from "./index.es52.js";
2
- import { Button as d, SelectValue as g } from "react-aria-components";
3
- import { cn as i } from "./index.es54.js";
4
- import { Badge as j } from "./index.es6.js";
5
- import "./index.es7.js";
6
- import { selectInputButtonVariants as w } from "./index.es64.js";
7
- const S = ({
8
- ref: C,
9
- size: o,
10
- isDisabled: l,
11
- classNameButton: m,
12
- selectionMode: x,
13
- maxLengthTextOption: p,
14
- handleDeleteOptionSelected: c,
15
- placeholder: u,
16
- validationState: f
17
- }) => /* @__PURE__ */ e.jsxs(
18
- d,
19
- {
20
- ref: C,
21
- className: ({ isFocusVisible: t, isHovered: n, isPressed: a }) => i(
22
- "group",
23
- w({
24
- size: o,
25
- isDisabled: l,
26
- /** Select root sets isPressed from menu open state; use it so we stay in sync with RAC. */
27
- isFocusVisible: t || a,
28
- isHovered: n,
29
- validationState: f
30
- }),
31
- m
1
+ import { j as l } from "./index.es52.js";
2
+ import { cn as P } from "./index.es53.js";
3
+ import { SliderThumb as j } from "./index.es136.js";
4
+ const T = ({
5
+ state: r,
6
+ type: n,
7
+ showTypeValue: t,
8
+ suffix: c,
9
+ classNameFilled: a,
10
+ classNameUnfilled: m,
11
+ modeTooltip: b,
12
+ positionTooltip: h,
13
+ classNameThumb: d,
14
+ isHiddenValue: v,
15
+ suffixRangeCustom: e
16
+ }) => /* @__PURE__ */ l.jsxs("div", { className: "relative", children: [
17
+ t === "default" && !v ? /* @__PURE__ */ l.jsxs("div", { className: "flex justify-between", children: [
18
+ /* @__PURE__ */ l.jsxs(
19
+ "div",
20
+ {
21
+ className: "absolute top-4 text-sm text-neutral-900",
22
+ style: { left: `${r.getThumbPercent(0) * 100}%`, transform: "translateX(-50%)" },
23
+ children: [
24
+ r.values[0],
25
+ n === "range" && (e == null ? void 0 : e.left) || c
26
+ ]
27
+ }
32
28
  ),
33
- children: [
34
- /* @__PURE__ */ e.jsx(g, { className: "flex flex-1 items-center gap-1 overflow-hidden", children: ({ selectedItems: t, selectedText: n, isPlaceholder: a }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: x === "multiple" && t && t.length > 0 ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-1", children: t.filter((r) => r != null).map((r) => {
35
- const h = r.label, s = r.value;
36
- return /* @__PURE__ */ e.jsx(
37
- j,
38
- {
39
- label: h,
40
- size: o,
41
- isDisabled: l,
42
- maxLength: p,
43
- onDelete: () => c(s)
44
- },
45
- s
46
- );
47
- }) }) : /* @__PURE__ */ e.jsx(
48
- "span",
49
- {
50
- className: i(
51
- "flex-1 truncate text-left",
52
- a ? "text-neutral-600" : "",
53
- l ? "text-neutral-700" : ""
54
- ),
55
- children: n || u
56
- }
57
- ) }) }),
58
- /* @__PURE__ */ e.jsx(
59
- "svg",
60
- {
61
- className: "transition-transform duration-100 group-data-[pressed]:rotate-180",
62
- width: "20",
63
- height: "10",
64
- viewBox: "0 0 20 10",
65
- fill: "none",
66
- xmlns: "http://www.w3.org/2000/svg",
67
- children: /* @__PURE__ */ e.jsx(
68
- "path",
69
- {
70
- d: "M20 0.838022C20.0006 0.947676 19.9796 1.05638 19.9381 1.15789C19.8967 1.2594 19.8356 1.35173 19.7584 1.42959L12.9512 8.23676C12.5642 8.62472 12.1045 8.93252 11.5984 9.14254C11.0922 9.35256 10.5497 9.46066 10.0017 9.46066C9.45373 9.46066 8.91115 9.35256 8.40502 9.14254C7.8989 8.93252 7.43918 8.62472 7.0522 8.23676L0.245034 1.42959C0.167349 1.3519 0.105725 1.25968 0.0636824 1.15818C0.0216393 1.05667 5.62088e-09 0.947886 0 0.838023C-5.62081e-09 0.728159 0.0216393 0.619372 0.0636824 0.51787C0.105725 0.41637 0.167349 0.324143 0.245034 0.246458C0.32272 0.168773 0.414946 0.107149 0.516447 0.0651056C0.617948 0.0230624 0.726736 0.00142351 0.8366 0.00142351C0.946464 0.00142351 1.05525 0.0230624 1.15675 0.0651055C1.25825 0.107149 1.35048 0.168773 1.42817 0.246458L8.23533 7.05363C8.704 7.52171 9.33931 7.78463 10.0017 7.78463C10.6641 7.78463 11.2994 7.52171 11.7681 7.05363L18.5752 0.246457C18.6527 0.168363 18.7448 0.106378 18.8464 0.0640783C18.9479 0.0217776 19.0568 4.80781e-09 19.1668 0C19.2768 -4.80789e-09 19.3857 0.0217776 19.4872 0.0640782C19.5888 0.106378 19.6809 0.168363 19.7584 0.246457C19.8356 0.324311 19.8967 0.41664 19.9381 0.518154C19.9796 0.619668 20.0006 0.728369 20 0.838022Z",
71
- fill: "#73768C"
72
- }
73
- )
74
- }
75
- )
76
- ]
77
- }
78
- );
29
+ n === "range" && /* @__PURE__ */ l.jsxs(
30
+ "div",
31
+ {
32
+ className: "absolute top-4 text-sm text-neutral-900",
33
+ style: { left: `${r.getThumbPercent(1) * 100}%`, transform: "translateX(-50%)" },
34
+ children: [
35
+ r.values[1],
36
+ (e == null ? void 0 : e.right) || c
37
+ ]
38
+ }
39
+ )
40
+ ] }) : null,
41
+ /* @__PURE__ */ l.jsx(
42
+ "div",
43
+ {
44
+ className: P("absolute top-1/2 h-2 w-full -translate-y-1/2 rounded-full bg-primary-100", m)
45
+ }
46
+ ),
47
+ /* @__PURE__ */ l.jsx(
48
+ "div",
49
+ {
50
+ className: P("absolute top-1/2 h-2 -translate-y-1/2 rounded-full bg-primary-500", a),
51
+ style: {
52
+ width: `${n === "range" ? r.getThumbPercent(1) * 100 - r.getThumbPercent(0) * 100 : r.getThumbPercent(0) * 100}%`,
53
+ left: n === "range" ? `${r.getThumbPercent(0) * 100}%` : "0%"
54
+ }
55
+ }
56
+ ),
57
+ n === "range" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
58
+ /* @__PURE__ */ l.jsx(
59
+ j,
60
+ {
61
+ index: 0,
62
+ valuePercent: r.getThumbPercent(0),
63
+ value: r.values[0],
64
+ suffix: (e == null ? void 0 : e.left) || c,
65
+ modeTooltip: b,
66
+ positionTooltip: h,
67
+ showTypeValue: t,
68
+ isHiddenValue: v,
69
+ classNameThumb: d
70
+ }
71
+ ),
72
+ /* @__PURE__ */ l.jsx(
73
+ j,
74
+ {
75
+ index: 1,
76
+ valuePercent: r.getThumbPercent(1),
77
+ value: r.values[1],
78
+ suffix: (e == null ? void 0 : e.right) || c,
79
+ modeTooltip: b,
80
+ positionTooltip: h,
81
+ showTypeValue: t,
82
+ isHiddenValue: v,
83
+ classNameThumb: d
84
+ }
85
+ )
86
+ ] }) : /* @__PURE__ */ l.jsx(
87
+ j,
88
+ {
89
+ index: 0,
90
+ valuePercent: r.getThumbPercent(0),
91
+ value: r.values[0],
92
+ suffix: c,
93
+ modeTooltip: b,
94
+ positionTooltip: h,
95
+ showTypeValue: t,
96
+ isHiddenValue: v,
97
+ classNameThumb: d
98
+ }
99
+ )
100
+ ] });
79
101
  export {
80
- S as SelectContent
102
+ T as SliderContainerTrack
81
103
  };
@@ -0,0 +1,12 @@
1
+ import { StoryObj } from '@storybook/react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: () => import("react/jsx-runtime").JSX.Element;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Gallery: Story;
package/dist/style.css CHANGED
@@ -749,6 +749,9 @@ select {
749
749
  .pointer-events-none {
750
750
  pointer-events: none;
751
751
  }
752
+ .pointer-events-auto {
753
+ pointer-events: auto;
754
+ }
752
755
  .\!visible {
753
756
  visibility: visible !important;
754
757
  }
@@ -773,13 +776,23 @@ select {
773
776
  .relative {
774
777
  position: relative;
775
778
  }
779
+ .sticky {
780
+ position: sticky;
781
+ }
776
782
  .inset-0 {
777
783
  inset: 0px;
778
784
  }
785
+ .inset-x-0 {
786
+ left: 0px;
787
+ right: 0px;
788
+ }
779
789
  .inset-y-0 {
780
790
  top: 0px;
781
791
  bottom: 0px;
782
792
  }
793
+ .bottom-4 {
794
+ bottom: 1rem;
795
+ }
783
796
  .bottom-full {
784
797
  bottom: 100%;
785
798
  }
@@ -804,6 +817,9 @@ select {
804
817
  .top-1\/2 {
805
818
  top: 50%;
806
819
  }
820
+ .top-2 {
821
+ top: 0.5rem;
822
+ }
807
823
  .top-4 {
808
824
  top: 1rem;
809
825
  }
@@ -993,6 +1009,10 @@ select {
993
1009
  width: 0.875rem;
994
1010
  height: 0.875rem;
995
1011
  }
1012
+ .size-32 {
1013
+ width: 8rem;
1014
+ height: 8rem;
1015
+ }
996
1016
  .size-4 {
997
1017
  width: 1rem;
998
1018
  height: 1rem;
@@ -1017,6 +1037,10 @@ select {
1017
1037
  width: 50px;
1018
1038
  height: 50px;
1019
1039
  }
1040
+ .size-\[72px\] {
1041
+ width: 72px;
1042
+ height: 72px;
1043
+ }
1020
1044
  .size-full {
1021
1045
  width: 100%;
1022
1046
  height: 100%;
@@ -1078,6 +1102,10 @@ select {
1078
1102
  .h-\[34px\] {
1079
1103
  height: 34px;
1080
1104
  }
1105
+ .h-fit {
1106
+ height: -moz-fit-content;
1107
+ height: fit-content;
1108
+ }
1081
1109
  .h-full {
1082
1110
  height: 100%;
1083
1111
  }
@@ -1120,6 +1148,9 @@ select {
1120
1148
  .min-h-\[58px\] {
1121
1149
  min-height: 58px;
1122
1150
  }
1151
+ .min-h-\[calc\(100vh-2rem\)\] {
1152
+ min-height: calc(100vh - 2rem);
1153
+ }
1123
1154
  .min-h-full {
1124
1155
  min-height: 100%;
1125
1156
  }
@@ -1162,9 +1193,6 @@ select {
1162
1193
  .w-8 {
1163
1194
  width: 2rem;
1164
1195
  }
1165
- .w-80 {
1166
- width: 20rem;
1167
- }
1168
1196
  .w-\[--trigger-width\] {
1169
1197
  width: var(--trigger-width);
1170
1198
  }
@@ -1201,6 +1229,9 @@ select {
1201
1229
  .w-\[56px\] {
1202
1230
  width: 56px;
1203
1231
  }
1232
+ .w-\[72px\] {
1233
+ width: 72px;
1234
+ }
1204
1235
  .w-fit {
1205
1236
  width: -moz-fit-content;
1206
1237
  width: fit-content;
@@ -1239,6 +1270,9 @@ select {
1239
1270
  .max-w-\[280px\] {
1240
1271
  max-width: 280px;
1241
1272
  }
1273
+ .max-w-\[720px\] {
1274
+ max-width: 720px;
1275
+ }
1242
1276
  .flex-1 {
1243
1277
  flex: 1 1 0%;
1244
1278
  }
@@ -1378,6 +1412,10 @@ select {
1378
1412
  -moz-column-gap: 0.5rem;
1379
1413
  column-gap: 0.5rem;
1380
1414
  }
1415
+ .gap-x-3 {
1416
+ -moz-column-gap: 0.75rem;
1417
+ column-gap: 0.75rem;
1418
+ }
1381
1419
  .gap-x-4 {
1382
1420
  -moz-column-gap: 1rem;
1383
1421
  column-gap: 1rem;
@@ -1474,6 +1512,9 @@ select {
1474
1512
  .rounded-sm {
1475
1513
  border-radius: 0.125rem;
1476
1514
  }
1515
+ .rounded-xl {
1516
+ border-radius: 0.75rem;
1517
+ }
1477
1518
  .rounded-l-full {
1478
1519
  border-top-left-radius: 9999px;
1479
1520
  border-bottom-left-radius: 9999px;
@@ -2046,6 +2087,10 @@ select {
2046
2087
  padding-top: 1.5rem;
2047
2088
  padding-bottom: 1.5rem;
2048
2089
  }
2090
+ .py-8 {
2091
+ padding-top: 2rem;
2092
+ padding-bottom: 2rem;
2093
+ }
2049
2094
  .py-\[2px\] {
2050
2095
  padding-top: 2px;
2051
2096
  padding-bottom: 2px;
@@ -2056,6 +2101,9 @@ select {
2056
2101
  .pb-4 {
2057
2102
  padding-bottom: 1rem;
2058
2103
  }
2104
+ .pb-\[280px\] {
2105
+ padding-bottom: 280px;
2106
+ }
2059
2107
  .pl-1 {
2060
2108
  padding-left: 0.25rem;
2061
2109
  }
@@ -2065,6 +2113,9 @@ select {
2065
2113
  .pr-10 {
2066
2114
  padding-right: 2.5rem;
2067
2115
  }
2116
+ .pr-12 {
2117
+ padding-right: 3rem;
2118
+ }
2068
2119
  .pr-2 {
2069
2120
  padding-right: 0.5rem;
2070
2121
  }
@@ -2107,6 +2158,9 @@ select {
2107
2158
  .text-\[10px\] {
2108
2159
  font-size: 10px;
2109
2160
  }
2161
+ .text-\[11px\] {
2162
+ font-size: 11px;
2163
+ }
2110
2164
  .text-\[16px\] {
2111
2165
  font-size: 16px;
2112
2166
  }
@@ -2185,6 +2239,9 @@ select {
2185
2239
  .leading-\[19\.07px\] {
2186
2240
  line-height: 19.07px;
2187
2241
  }
2242
+ .leading-tight {
2243
+ line-height: 1.25;
2244
+ }
2188
2245
  .tracking-wide {
2189
2246
  letter-spacing: 0.025em;
2190
2247
  }
@@ -2602,6 +2659,14 @@ select {
2602
2659
  .first-letter\:uppercase::first-letter {
2603
2660
  text-transform: uppercase;
2604
2661
  }
2662
+ .placeholder\:text-neutral-600::-moz-placeholder {
2663
+ --tw-text-opacity: 1;
2664
+ color: rgb(151 155 180 / var(--tw-text-opacity));
2665
+ }
2666
+ .placeholder\:text-neutral-600::placeholder {
2667
+ --tw-text-opacity: 1;
2668
+ color: rgb(151 155 180 / var(--tw-text-opacity));
2669
+ }
2605
2670
  .placeholder\:text-neutral-700::-moz-placeholder {
2606
2671
  --tw-text-opacity: 1;
2607
2672
  color: rgb(115 118 140 / var(--tw-text-opacity));
@@ -2993,6 +3058,10 @@ select {
2993
3058
  --tw-ring-opacity: 1;
2994
3059
  --tw-ring-color: rgb(80 108 251 / var(--tw-ring-opacity));
2995
3060
  }
3061
+ .focus-visible\:ring-primary-400:focus-visible {
3062
+ --tw-ring-opacity: 1;
3063
+ --tw-ring-color: rgb(121 108 250 / var(--tw-ring-opacity));
3064
+ }
2996
3065
  .focus-visible\:ring-primary-500:focus-visible {
2997
3066
  --tw-ring-opacity: 1;
2998
3067
  --tw-ring-color: rgb(76 59 239 / var(--tw-ring-opacity));
@@ -3085,6 +3154,14 @@ select {
3085
3154
  .sm\:block {
3086
3155
  display: block;
3087
3156
  }
3157
+
3158
+ .sm\:flex-row {
3159
+ flex-direction: row;
3160
+ }
3161
+
3162
+ .sm\:items-center {
3163
+ align-items: center;
3164
+ }
3088
3165
  }
3089
3166
  @media (min-width: 768px) {
3090
3167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpli-route/apollo-ds",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -31,7 +31,8 @@
31
31
  "dependencies": {
32
32
  "@internationalized/date": "^3.10.0",
33
33
  "@react-stately/color": "^3.9.2",
34
- "@simpli-route/react-icons": "^1.0.19",
34
+ "@simpli-route/icons": "^1.0.20",
35
+ "@simpli-route/react-icons": "^1.0.20",
35
36
  "@simpli-route/tailwind-preset": "^0.0.3",
36
37
  "@testing-library/user-event": "^14.5.2",
37
38
  "class-variance-authority": "^0.7.1",