@simpli-route/apollo-ds 0.1.24 → 0.1.26

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 (277) hide show
  1. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  2. package/dist/components/Accordion/index.d.ts +0 -1
  3. package/dist/components/Accordion/types.d.ts +2 -30
  4. package/dist/components/NumberField/NumberField.d.ts +1 -1
  5. package/dist/components/NumberField/types.d.ts +0 -1
  6. package/dist/components/Select/TooltipSelect.d.ts +1 -1
  7. package/dist/components/Slider/Slider.d.ts +1 -1
  8. package/dist/components/Slider/SliderContainerTrack.d.ts +1 -1
  9. package/dist/components/Slider/SliderThumb.d.ts +1 -1
  10. package/dist/components/Slider/types.d.ts +0 -22
  11. package/dist/components/Tooltip/types.d.ts +0 -1
  12. package/dist/components/Tooltip/variants.d.ts +1 -0
  13. package/dist/components/index.d.ts +0 -1
  14. package/dist/index.cjs.js +1 -1
  15. package/dist/index.cjs10.js +1 -1
  16. package/dist/index.cjs100.js +1 -1
  17. package/dist/index.cjs106.js +1 -1
  18. package/dist/index.cjs107.js +1 -1
  19. package/dist/index.cjs108.js +1 -1
  20. package/dist/index.cjs11.js +1 -1
  21. package/dist/index.cjs110.js +1 -1
  22. package/dist/index.cjs112.js +1 -1
  23. package/dist/index.cjs113.js +1 -1
  24. package/dist/index.cjs114.js +1 -1
  25. package/dist/index.cjs115.js +1 -1
  26. package/dist/index.cjs116.js +1 -1
  27. package/dist/index.cjs117.js +1 -1
  28. package/dist/index.cjs119.js +1 -1
  29. package/dist/index.cjs12.js +1 -1
  30. package/dist/index.cjs120.js +1 -1
  31. package/dist/index.cjs121.js +1 -1
  32. package/dist/index.cjs122.js +1 -1
  33. package/dist/index.cjs123.js +1 -1
  34. package/dist/index.cjs124.js +1 -1
  35. package/dist/index.cjs126.js +1 -1
  36. package/dist/index.cjs127.js +1 -1
  37. package/dist/index.cjs128.js +1 -1
  38. package/dist/index.cjs13.js +1 -1
  39. package/dist/index.cjs130.js +1 -1
  40. package/dist/index.cjs14.js +1 -1
  41. package/dist/index.cjs15.js +1 -1
  42. package/dist/index.cjs16.js +1 -1
  43. package/dist/index.cjs17.js +1 -1
  44. package/dist/index.cjs18.js +1 -1
  45. package/dist/index.cjs19.js +1 -1
  46. package/dist/index.cjs2.js +1 -1
  47. package/dist/index.cjs20.js +1 -1
  48. package/dist/index.cjs21.js +1 -1
  49. package/dist/index.cjs22.js +1 -1
  50. package/dist/index.cjs23.js +1 -1
  51. package/dist/index.cjs24.js +1 -1
  52. package/dist/index.cjs25.js +1 -1
  53. package/dist/index.cjs26.js +1 -1
  54. package/dist/index.cjs27.js +1 -1
  55. package/dist/index.cjs28.js +1 -1
  56. package/dist/index.cjs29.js +1 -1
  57. package/dist/index.cjs3.js +1 -1
  58. package/dist/index.cjs30.js +1 -1
  59. package/dist/index.cjs31.js +1 -1
  60. package/dist/index.cjs32.js +1 -1
  61. package/dist/index.cjs33.js +1 -1
  62. package/dist/index.cjs34.js +1 -1
  63. package/dist/index.cjs35.js +1 -1
  64. package/dist/index.cjs37.js +1 -1
  65. package/dist/index.cjs4.js +1 -1
  66. package/dist/index.cjs41.js +1 -1
  67. package/dist/index.cjs42.js +1 -1
  68. package/dist/index.cjs43.js +1 -1
  69. package/dist/index.cjs44.js +1 -1
  70. package/dist/index.cjs45.js +1 -1
  71. package/dist/index.cjs46.js +1 -1
  72. package/dist/index.cjs47.js +1 -1
  73. package/dist/index.cjs48.js +1 -1
  74. package/dist/index.cjs49.js +1 -1
  75. package/dist/index.cjs5.js +1 -1
  76. package/dist/index.cjs50.js +1 -1
  77. package/dist/index.cjs51.js +1 -1
  78. package/dist/index.cjs52.js +1 -1
  79. package/dist/index.cjs53.js +1 -1
  80. package/dist/index.cjs54.js +1 -1
  81. package/dist/index.cjs55.js +1 -1
  82. package/dist/index.cjs56.js +9 -1
  83. package/dist/index.cjs57.js +19 -1
  84. package/dist/index.cjs58.js +1 -1
  85. package/dist/index.cjs59.js +1 -1
  86. package/dist/index.cjs6.js +1 -1
  87. package/dist/index.cjs60.js +1 -9
  88. package/dist/index.cjs61.js +1 -19
  89. package/dist/index.cjs62.js +1 -1
  90. package/dist/index.cjs63.js +1 -1
  91. package/dist/index.cjs64.js +1 -1
  92. package/dist/index.cjs65.js +1 -1
  93. package/dist/index.cjs66.js +1 -1
  94. package/dist/index.cjs67.js +1 -1
  95. package/dist/index.cjs68.js +1 -1
  96. package/dist/index.cjs69.js +1 -1
  97. package/dist/index.cjs7.js +1 -1
  98. package/dist/index.cjs70.js +1 -1
  99. package/dist/index.cjs71.js +1 -1
  100. package/dist/index.cjs72.js +1 -1
  101. package/dist/index.cjs73.js +1 -1
  102. package/dist/index.cjs74.js +1 -1
  103. package/dist/index.cjs75.js +1 -1
  104. package/dist/index.cjs76.js +1 -1
  105. package/dist/index.cjs77.js +1 -1
  106. package/dist/index.cjs78.js +1 -1
  107. package/dist/index.cjs8.js +1 -1
  108. package/dist/index.cjs80.js +1 -1
  109. package/dist/index.cjs81.js +1 -1
  110. package/dist/index.cjs82.js +1 -1
  111. package/dist/index.cjs83.js +1 -1
  112. package/dist/index.cjs84.js +1 -1
  113. package/dist/index.cjs85.js +1 -1
  114. package/dist/index.cjs86.js +1 -1
  115. package/dist/index.cjs87.js +1 -1
  116. package/dist/index.cjs88.js +1 -1
  117. package/dist/index.cjs89.js +1 -1
  118. package/dist/index.cjs9.js +1 -1
  119. package/dist/index.cjs90.js +1 -1
  120. package/dist/index.cjs91.js +1 -1
  121. package/dist/index.cjs92.js +1 -1
  122. package/dist/index.cjs93.js +1 -1
  123. package/dist/index.cjs94.js +1 -1
  124. package/dist/index.cjs95.js +1 -1
  125. package/dist/index.cjs96.js +1 -1
  126. package/dist/index.cjs97.js +1 -1
  127. package/dist/index.cjs98.js +1 -1
  128. package/dist/index.cjs99.js +1 -1
  129. package/dist/index.es.js +42 -46
  130. package/dist/index.es10.js +86 -34
  131. package/dist/index.es100.js +4 -14
  132. package/dist/index.es102.js +2 -2
  133. package/dist/index.es103.js +2 -2
  134. package/dist/index.es104.js +2 -2
  135. package/dist/index.es105.js +2 -2
  136. package/dist/index.es106.js +2 -2
  137. package/dist/index.es107.js +1063 -2
  138. package/dist/index.es108.js +77 -4
  139. package/dist/index.es109.js +2 -2
  140. package/dist/index.es11.js +87 -81
  141. package/dist/index.es110.js +20 -4
  142. package/dist/index.es111.js +2 -2
  143. package/dist/index.es112.js +57 -2
  144. package/dist/index.es113.js +60 -1064
  145. package/dist/index.es114.js +4 -77
  146. package/dist/index.es115.js +14 -4
  147. package/dist/index.es116.js +311 -59
  148. package/dist/index.es117.js +20 -14
  149. package/dist/index.es118.js +2 -2
  150. package/dist/index.es119.js +2 -8
  151. package/dist/index.es12.js +135 -91
  152. package/dist/index.es120.js +4 -61
  153. package/dist/index.es121.js +94 -4
  154. package/dist/index.es122.js +4 -14
  155. package/dist/index.es123.js +10 -311
  156. package/dist/index.es124.js +22 -20
  157. package/dist/index.es125.js +2 -2
  158. package/dist/index.es126.js +51 -4
  159. package/dist/index.es127.js +19 -4
  160. package/dist/index.es128.js +4 -94
  161. package/dist/index.es129.js +2 -2
  162. package/dist/index.es13.js +38 -73
  163. package/dist/index.es130.js +747 -22
  164. package/dist/index.es131.js +2 -2
  165. package/dist/index.es14.js +65 -137
  166. package/dist/index.es15.js +48 -40
  167. package/dist/index.es16.js +3 -78
  168. package/dist/index.es17.js +96 -44
  169. package/dist/index.es18.js +78 -3
  170. package/dist/index.es19.js +39 -94
  171. package/dist/index.es2.js +23 -24
  172. package/dist/index.es20.js +23 -77
  173. package/dist/index.es21.js +23 -40
  174. package/dist/index.es22.js +8 -24
  175. package/dist/index.es23.js +8 -28
  176. package/dist/index.es24.js +6 -8
  177. package/dist/index.es25.js +13 -8
  178. package/dist/index.es26.js +6 -6
  179. package/dist/index.es27.js +34 -6
  180. package/dist/index.es28.js +10 -17
  181. package/dist/index.es29.js +144 -152
  182. package/dist/index.es3.js +104 -46
  183. package/dist/index.es30.js +22 -43
  184. package/dist/index.es31.js +29 -33
  185. package/dist/index.es32.js +20 -36
  186. package/dist/index.es33.js +169 -32
  187. package/dist/index.es34.js +27 -19
  188. package/dist/index.es35.js +33 -39
  189. package/dist/index.es37.js +8 -3
  190. package/dist/index.es4.js +43 -96
  191. package/dist/index.es41.js +95 -162
  192. package/dist/index.es42.js +11 -28
  193. package/dist/index.es43.js +7 -10
  194. package/dist/index.es44.js +17 -9
  195. package/dist/index.es45.js +139 -35
  196. package/dist/index.es46.js +10 -13
  197. package/dist/index.es47.js +10 -137
  198. package/dist/index.es48.js +44 -19
  199. package/dist/index.es49.js +10 -7
  200. package/dist/index.es5.js +42 -55
  201. package/dist/index.es50.js +11 -17
  202. package/dist/index.es51.js +134 -146
  203. package/dist/index.es52.js +24 -98
  204. package/dist/index.es53.js +19 -13
  205. package/dist/index.es54.js +20 -10
  206. package/dist/index.es55.js +2 -19
  207. package/dist/index.es56.js +29 -19
  208. package/dist/index.es57.js +599 -10
  209. package/dist/index.es58.js +21 -12
  210. package/dist/index.es59.js +19 -2
  211. package/dist/index.es6.js +38 -42
  212. package/dist/index.es60.js +19 -30
  213. package/dist/index.es61.js +21 -599
  214. package/dist/index.es62.js +3 -3
  215. package/dist/index.es63.js +10 -12
  216. package/dist/index.es64.js +30 -19
  217. package/dist/index.es65.js +2 -19
  218. package/dist/index.es66.js +2 -21
  219. package/dist/index.es67.js +56 -21
  220. package/dist/index.es68.js +4 -19
  221. package/dist/index.es69.js +28 -21
  222. package/dist/index.es7.js +31 -38
  223. package/dist/index.es70.js +2 -4
  224. package/dist/index.es71.js +10 -28
  225. package/dist/index.es72.js +340 -2
  226. package/dist/index.es73.js +166 -8
  227. package/dist/index.es74.js +186 -338
  228. package/dist/index.es75.js +47 -164
  229. package/dist/index.es76.js +2 -57
  230. package/dist/index.es77.js +2 -30
  231. package/dist/index.es78.js +21 -4
  232. package/dist/index.es8.js +49 -31
  233. package/dist/index.es80.js +45 -190
  234. package/dist/index.es81.js +7 -51
  235. package/dist/index.es82.js +5 -2
  236. package/dist/index.es83.js +27 -4
  237. package/dist/index.es84.js +184 -13
  238. package/dist/index.es85.js +16 -4
  239. package/dist/index.es86.js +352 -44
  240. package/dist/index.es87.js +24 -7
  241. package/dist/index.es88.js +19 -7
  242. package/dist/index.es89.js +148 -21
  243. package/dist/index.es9.js +37 -49
  244. package/dist/index.es90.js +9 -184
  245. package/dist/index.es91.js +10 -9
  246. package/dist/index.es92.js +200 -342
  247. package/dist/index.es93.js +64 -20
  248. package/dist/index.es94.js +4 -9
  249. package/dist/index.es95.js +4 -154
  250. package/dist/index.es96.js +4 -17
  251. package/dist/index.es97.js +4 -17
  252. package/dist/index.es98.js +4 -211
  253. package/dist/index.es99.js +4 -68
  254. package/dist/stories/Accordion.stories.d.ts +0 -1
  255. package/dist/stories/NumberField.stories.d.ts +1 -2
  256. package/dist/style.css +0 -75
  257. package/package.json +5 -4
  258. package/dist/components/Input/variants.d.ts +0 -9
  259. package/dist/components/SearchField/SearchField.d.ts +0 -15
  260. package/dist/components/SearchField/SearchField.test.d.ts +0 -1
  261. package/dist/components/SearchField/index.d.ts +0 -2
  262. package/dist/components/SearchField/types.d.ts +0 -45
  263. package/dist/components/SearchField/variants.d.ts +0 -8
  264. package/dist/index.cjs133.js +0 -1
  265. package/dist/index.cjs134.js +0 -1
  266. package/dist/index.cjs135.js +0 -1
  267. package/dist/index.cjs136.js +0 -1
  268. package/dist/index.cjs137.js +0 -1
  269. package/dist/index.cjs138.js +0 -1
  270. package/dist/index.es133.js +0 -51
  271. package/dist/index.es134.js +0 -19
  272. package/dist/index.es135.js +0 -4
  273. package/dist/index.es136.js +0 -4
  274. package/dist/index.es137.js +0 -753
  275. package/dist/index.es138.js +0 -4
  276. package/dist/stories/SearchField.stories.d.ts +0 -29
  277. package/dist/utils/useDebouncedValue.d.ts +0 -1
@@ -1,21 +1,32 @@
1
- import t from "react";
2
- const e = t, l = ({
3
- title: r,
4
- titleId: a,
5
- ...o
6
- }, n) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: n,
12
- "aria-labelledby": a
13
- }, o), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- d: "M22 7.838a.83.83 0 0 1-.242.592l-6.807 6.807a4.167 4.167 0 0 1-5.899 0L2.245 8.43a.837.837 0 0 1 1.183-1.184l6.807 6.808a2.5 2.5 0 0 0 3.533 0l6.807-6.808A.833.833 0 0 1 22 7.838"
17
- })), c = e.forwardRef(l);
18
- var w = c;
1
+ import { cva as l } from "class-variance-authority";
2
+ const e = l("absolute inset-0 z-[1000px] overflow-hidden", {
3
+ variants: {
4
+ opacity: {
5
+ sm: "bg-neutral-50/10",
6
+ md: "bg-neutral-50/20",
7
+ lg: "bg-neutral-50/30",
8
+ xl: "bg-neutral-50/50",
9
+ "2xl": "bg-neutral-50/60",
10
+ "3xl": "bg-neutral-50/75"
11
+ },
12
+ fixed: {
13
+ true: "fixed",
14
+ false: ""
15
+ },
16
+ center: {
17
+ true: "flex items-center justify-center",
18
+ false: ""
19
+ },
20
+ blur: {
21
+ sm: "backdrop-blur-sm",
22
+ md: "backdrop-blur-md",
23
+ lg: "backdrop-blur-lg",
24
+ xl: "backdrop-blur-xl",
25
+ "2xl": "backdrop-blur-2xl",
26
+ "3xl": "backdrop-blur-3xl"
27
+ }
28
+ }
29
+ });
19
30
  export {
20
- w as D
31
+ e as overlayVariants
21
32
  };
@@ -1,21 +1,4 @@
1
- import n from "react";
2
- const e = n, l = ({
3
- title: r,
4
- titleId: a,
5
- ...o
6
- }, t) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: t,
12
- "aria-labelledby": a
13
- }, o), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- d: "M11.999 2C17.522 2 22 6.477 22 12s-4.478 10-10.001 10S2 17.523 2 12C1.999 6.478 6.476 2 11.999 2m0 1.5a8.501 8.501 0 1 0 0 17 8.501 8.501 0 0 0 0-17m-.004 6.999a.75.75 0 0 1 .744.648l.007.102.004 5.5a.75.75 0 0 1-1.494.103l-.006-.101-.004-5.501a.75.75 0 0 1 .75-.75zM12 7.002A1 1 0 1 1 12.063 9 1 1 0 0 1 12 7.002"
17
- })), c = e.forwardRef(l);
18
- var f = c;
1
+ var r = {};
19
2
  export {
20
- f as I
3
+ r as __exports
21
4
  };
@@ -1,23 +1,4 @@
1
- import t from "react";
2
- const e = t, a = ({
3
- title: r,
4
- titleId: n,
5
- ...l
6
- }, o) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: o,
12
- "aria-labelledby": n
13
- }, l), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: n
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- fillRule: "evenodd",
17
- d: "M2 11.85c0-.47.35-.85.783-.85h18.434c.432 0 .783.38.783.85s-.35.85-.783.85H2.783c-.432 0-.783-.38-.783-.85",
18
- clipRule: "evenodd"
19
- })), c = e.forwardRef(a);
20
- var s = c;
1
+ var e = {};
21
2
  export {
22
- s as M
3
+ e as __exports
23
4
  };
@@ -1,23 +1,58 @@
1
- import t from "react";
2
- const e = t, n = ({
3
- title: r,
4
- titleId: a,
5
- ...l
6
- }, o) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: o,
12
- "aria-labelledby": a
13
- }, l), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- fillRule: "evenodd",
17
- d: "M11.885 2c.433 0 .783.35.783.783v8.434h8.549a.783.783 0 1 1 0 1.566h-8.549v8.434a.783.783 0 1 1-1.567 0v-8.434H2.783a.783.783 0 1 1 0-1.566h8.318V2.783c0-.432.351-.783.784-.783",
18
- clipRule: "evenodd"
19
- })), c = e.forwardRef(n);
20
- var d = c;
1
+ import { j as r } from "./index.es24.js";
2
+ import { SliderThumb as l } from "react-aria-components";
3
+ import { cn as i } from "./index.es26.js";
4
+ import { Tooltip as d } from "./index.es20.js";
5
+ import { TooltipTrigger as g } from "./index.es21.js";
6
+ const j = ({
7
+ index: e,
8
+ valuePercent: m,
9
+ value: n,
10
+ suffix: a,
11
+ modeTooltip: p,
12
+ positionTooltip: o,
13
+ showTypeValue: s,
14
+ classNameThumb: t
15
+ }) => /* @__PURE__ */ r.jsx(
16
+ "div",
17
+ {
18
+ className: i("absolute", s === "tooltip" ? "top-[-6px]" : "top-1/2"),
19
+ style: { left: `${m * 100}%`, transform: "translate(-50%, -50%)" },
20
+ children: s === "tooltip" ? /* @__PURE__ */ r.jsxs(g, { closeDelay: 100, delay: 100, children: [
21
+ /* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
22
+ l,
23
+ {
24
+ index: e,
25
+ className: i(
26
+ "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
27
+ t
28
+ )
29
+ }
30
+ ) }),
31
+ /* @__PURE__ */ r.jsxs(
32
+ d,
33
+ {
34
+ mode: p,
35
+ placement: o,
36
+ size: "sm",
37
+ className: i("!text-sm", o === "top" ? "!mb-6" : "!mt-6"),
38
+ children: [
39
+ n,
40
+ a
41
+ ]
42
+ }
43
+ )
44
+ ] }) : /* @__PURE__ */ r.jsx(
45
+ l,
46
+ {
47
+ index: e,
48
+ className: i(
49
+ "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
50
+ t
51
+ )
52
+ }
53
+ )
54
+ }
55
+ );
21
56
  export {
22
- d as P
57
+ j as SliderThumb
23
58
  };
@@ -1,21 +1,6 @@
1
- import c from "react";
2
- const e = c, n = ({
3
- title: r,
4
- titleId: a,
5
- ...t
6
- }, o) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: o,
12
- "aria-labelledby": a
13
- }, t), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- d: "m21.766 20.589-4.97-4.97a8.34 8.34 0 1 0-1.177 1.177l4.97 4.97a.833.833 0 0 0 1.177-1.177m-11.413-3.575a6.66 6.66 0 1 1 6.661-6.66 6.67 6.67 0 0 1-6.66 6.66Z"
17
- })), l = e.forwardRef(n);
18
- var i = l;
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
19
4
  export {
20
- i as S
5
+ e as getDefaultExportFromCjs
21
6
  };
@@ -1,21 +1,28 @@
1
- import l from "react";
2
- const e = l, n = ({
3
- title: r,
4
- titleId: a,
5
- ...o
6
- }, t) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: t,
12
- "aria-labelledby": a
13
- }, o), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- d: "M2 15.892a.83.83 0 0 1 .242-.591l6.807-6.807a4.166 4.166 0 0 1 5.899 0l6.807 6.806a.835.835 0 0 1-.912 1.365.8.8 0 0 1-.271-.181l-6.807-6.807a2.5 2.5 0 0 0-3.533 0l-6.807 6.806A.833.833 0 0 1 2 15.893Z"
17
- })), c = e.forwardRef(n);
18
- var i = c;
19
- export {
20
- i as U
21
- };
1
+ import { __exports as i } from "./index.es70.js";
2
+ import "./index.es74.js";
3
+ import "./index.es75.js";
4
+ import { __exports as l } from "./index.es76.js";
5
+ import { __exports as s } from "./index.es77.js";
6
+ (function(t) {
7
+ Object.defineProperty(t, "__esModule", {
8
+ value: !0
9
+ }), Object.defineProperty(t, "default", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return f;
13
+ }
14
+ });
15
+ const o = /* @__PURE__ */ r(l), n = /* @__PURE__ */ r(s);
16
+ function r(e) {
17
+ return e && e.__esModule ? e : {
18
+ default: e
19
+ };
20
+ }
21
+ function f(...e) {
22
+ let [, ...u] = (0, n.default)(e[0]);
23
+ return (0, o.default)([
24
+ ...e,
25
+ ...u
26
+ ]);
27
+ }
28
+ })(i);
package/dist/index.es7.js CHANGED
@@ -1,41 +1,34 @@
1
- import { j as o } from "./index.es26.js";
2
- import { forwardRef as h } from "react";
3
- import { useContextProps as B, ButtonContext as j, Button as N } from "react-aria-components";
4
- import { cn as w } from "./index.es27.js";
5
- import { buttonVariants as C } from "./index.es41.js";
6
- function I(r, i) {
7
- const [a, c] = B(r, i, j), {
8
- intent: m = "secondary",
9
- size: f = "lg",
10
- isDisabled: s = !1,
11
- isActive: l = !1,
12
- children: t,
13
- className: p,
14
- ...u
15
- } = a, n = "flex h-full items-center overflow-hidden whitespace-nowrap";
16
- return /* @__PURE__ */ o.jsx(
17
- N,
18
- {
19
- ref: c,
20
- className: ({ isPressed: e, isHovered: d, isFocusVisible: x }) => w(
21
- C({
22
- intent: m,
23
- size: f,
24
- isDisabled: s,
25
- isActive: l || e,
26
- isHovered: d,
27
- isFocused: x
28
- }),
29
- p
30
- ),
31
- isDisabled: s,
32
- ...u,
33
- children: typeof t == "function" ? (e) => /* @__PURE__ */ o.jsx("span", { className: n + "p-2.", children: t(e) }) : /* @__PURE__ */ o.jsx("span", { className: n, children: t })
34
- }
35
- );
1
+ import { j as t } from "./index.es24.js";
2
+ import { InfoIcon as p } from "./index.es25.js";
3
+ import { forwardRef as u } from "react";
4
+ import { useContextProps as d, LabelContext as b, Label as j } from "react-aria-components";
5
+ import { cn as L } from "./index.es26.js";
6
+ import { Tooltip as g } from "./index.es20.js";
7
+ import { TooltipTrigger as h } from "./index.es21.js";
8
+ function T(l, a) {
9
+ const { labelClassName: n } = l, [m, o] = d(l, a, b), { children: r, tooltipText: s, tooltipSupportText: i, tooltipProps: e, isRequired: c = !1, ...x } = m;
10
+ if (!r)
11
+ return null;
12
+ const f = L("flex select-none items-center text-sm leading-6 text-neutral-900", n);
13
+ return /* @__PURE__ */ t.jsxs(j, { className: f, ...x, ref: o, children: [
14
+ r,
15
+ c ? /* @__PURE__ */ t.jsx("span", { className: "ml-1 text-neutral-900", children: "*" }) : null,
16
+ s ? /* @__PURE__ */ t.jsxs(h, { delay: 100, children: [
17
+ /* @__PURE__ */ t.jsx(p, { className: "ml-1 size-4 text-primary-600" }),
18
+ /* @__PURE__ */ t.jsx(
19
+ g,
20
+ {
21
+ placement: (e == null ? void 0 : e.placement) || "right",
22
+ supportText: i,
23
+ size: (e == null ? void 0 : e.size) || "sm",
24
+ children: s
25
+ }
26
+ )
27
+ ] }) : null
28
+ ] });
36
29
  }
37
- const g = h(I);
38
- g.displayName = "IconButton";
30
+ const N = u(T);
31
+ N.displayName = "Label";
39
32
  export {
40
- g as IconButton
33
+ N as Label
41
34
  };
@@ -1,6 +1,4 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
- }
1
+ var e = {};
4
2
  export {
5
- e as getDefaultExportFromCjs
3
+ e as __exports
6
4
  };
@@ -1,28 +1,10 @@
1
- import { __exports as i } from "./index.es72.js";
2
- import "./index.es80.js";
3
- import "./index.es81.js";
4
- import { __exports as l } from "./index.es82.js";
5
- import { __exports as s } from "./index.es83.js";
6
- (function(t) {
7
- Object.defineProperty(t, "__esModule", {
8
- value: !0
9
- }), Object.defineProperty(t, "default", {
10
- enumerable: !0,
11
- get: function() {
12
- return f;
13
- }
14
- });
15
- const o = /* @__PURE__ */ r(l), n = /* @__PURE__ */ r(s);
16
- function r(e) {
17
- return e && e.__esModule ? e : {
18
- default: e
19
- };
20
- }
21
- function f(...e) {
22
- let [, ...u] = (0, n.default)(e[0]);
23
- return (0, o.default)([
24
- ...e,
25
- ...u
26
- ]);
27
- }
28
- })(i);
1
+ import { getDefaultExportFromCjs as t } from "./index.es68.js";
2
+ import "./index.es78.js";
3
+ import { __exports as a } from "./index.es79.js";
4
+ let e = a;
5
+ var o = (e.__esModule ? e : { default: e }).default;
6
+ const r = /* @__PURE__ */ t(o);
7
+ export {
8
+ o as d,
9
+ r as default
10
+ };