@simpli-route/apollo-ds 0.1.58 → 0.1.60

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 (101) hide show
  1. package/dist/components/SearchField/SearchFieldIconContainer.d.ts +1 -1
  2. package/dist/components/SearchField/SearchFieldPopover.d.ts +7 -1
  3. package/dist/index.cjs10.js +1 -1
  4. package/dist/index.cjs11.js +1 -1
  5. package/dist/index.cjs111.js +1 -1
  6. package/dist/index.cjs112.js +1 -1
  7. package/dist/index.cjs113.js +1 -1
  8. package/dist/index.cjs114.js +1 -1
  9. package/dist/index.cjs115.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs118.js +1 -1
  13. package/dist/index.cjs119.js +1 -1
  14. package/dist/index.cjs120.js +1 -1
  15. package/dist/index.cjs121.js +1 -1
  16. package/dist/index.cjs122.js +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs14.js +1 -1
  19. package/dist/index.cjs18.js +1 -1
  20. package/dist/index.cjs19.js +1 -1
  21. package/dist/index.cjs24.js +1 -1
  22. package/dist/index.cjs26.js +1 -1
  23. package/dist/index.cjs30.js +1 -1
  24. package/dist/index.cjs31.js +1 -1
  25. package/dist/index.cjs35.js +1 -1
  26. package/dist/index.cjs37.js +1 -1
  27. package/dist/index.cjs65.js +1 -1
  28. package/dist/index.cjs66.js +1 -1
  29. package/dist/index.cjs67.js +1 -1
  30. package/dist/index.cjs68.js +1 -1
  31. package/dist/index.cjs69.js +1 -1
  32. package/dist/index.cjs70.js +1 -1
  33. package/dist/index.cjs71.js +1 -1
  34. package/dist/index.cjs72.js +1 -1
  35. package/dist/index.cjs73.js +1 -1
  36. package/dist/index.cjs75.js +1 -1
  37. package/dist/index.cjs76.js +1 -1
  38. package/dist/index.cjs78.js +1 -1
  39. package/dist/index.cjs8.js +1 -1
  40. package/dist/index.cjs80.js +1 -1
  41. package/dist/index.cjs81.js +1 -1
  42. package/dist/index.cjs82.js +1 -1
  43. package/dist/index.cjs85.js +1 -1
  44. package/dist/index.cjs86.js +1 -1
  45. package/dist/index.cjs87.js +1 -1
  46. package/dist/index.cjs88.js +1 -1
  47. package/dist/index.cjs89.js +1 -1
  48. package/dist/index.cjs90.js +1 -1
  49. package/dist/index.cjs93.js +1 -1
  50. package/dist/index.cjs94.js +1 -1
  51. package/dist/index.es10.js +3 -3
  52. package/dist/index.es11.js +1 -1
  53. package/dist/index.es111.js +5 -2
  54. package/dist/index.es112.js +4 -2
  55. package/dist/index.es113.js +3 -57
  56. package/dist/index.es114.js +15 -12
  57. package/dist/index.es115.js +57 -4
  58. package/dist/index.es116.js +4 -3
  59. package/dist/index.es117.js +27 -20
  60. package/dist/index.es118.js +2 -4
  61. package/dist/index.es119.js +10 -28
  62. package/dist/index.es120.js +340 -2
  63. package/dist/index.es121.js +166 -8
  64. package/dist/index.es122.js +2 -340
  65. package/dist/index.es123.js +2 -166
  66. package/dist/index.es14.js +1 -1
  67. package/dist/index.es18.js +1 -1
  68. package/dist/index.es19.js +47 -47
  69. package/dist/index.es24.js +1 -1
  70. package/dist/index.es26.js +2 -2
  71. package/dist/index.es30.js +2 -2
  72. package/dist/index.es31.js +2 -2
  73. package/dist/index.es35.js +3 -3
  74. package/dist/index.es37.js +3 -3
  75. package/dist/index.es65.js +18 -10
  76. package/dist/index.es66.js +16 -11
  77. package/dist/index.es67.js +16 -10
  78. package/dist/index.es68.js +75 -26
  79. package/dist/index.es69.js +162 -78
  80. package/dist/index.es70.js +28 -16
  81. package/dist/index.es71.js +10 -17
  82. package/dist/index.es72.js +12 -16
  83. package/dist/index.es73.js +10 -163
  84. package/dist/index.es75.js +51 -49
  85. package/dist/index.es76.js +12 -23
  86. package/dist/index.es78.js +42 -12
  87. package/dist/index.es8.js +1 -1
  88. package/dist/index.es80.js +100 -77
  89. package/dist/index.es81.js +12 -100
  90. package/dist/index.es82.js +77 -12
  91. package/dist/index.es85.js +10 -7
  92. package/dist/index.es86.js +9 -17
  93. package/dist/index.es87.js +35 -139
  94. package/dist/index.es88.js +7 -10
  95. package/dist/index.es89.js +17 -9
  96. package/dist/index.es90.js +139 -35
  97. package/dist/index.es93.js +1 -1
  98. package/dist/index.es94.js +1 -1
  99. package/dist/stories/SearchField.stories.d.ts +10 -0
  100. package/dist/style.css +25 -24
  101. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("class-variance-authority"),e=[{state:"pending",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-neutral-600"},{state:"inProgress",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-blue-600"},{state:"completed",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-success-600"},{state:"error",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-error-600"}],t=[{isDisabled:!0,isPressed:!1,class:"bg-neutral-600"},{isDisabled:!1,isPressed:!1,state:"pending",class:"bg-neutral-500"},{isDisabled:!1,isPressed:!1,state:"inProgress",class:"bg-blue-500"},{isDisabled:!1,isPressed:!1,state:"completed",class:"bg-success-500"},{isDisabled:!1,isPressed:!1,state:"error",class:"bg-error-500"}],a=[{isPressed:!0,isDisabled:!1,state:"pending",class:"bg-neutral-900"},{isPressed:!0,isDisabled:!1,state:"inProgress",class:"bg-blue-800"},{isPressed:!0,isDisabled:!1,state:"completed",class:"bg-success-800"},{isPressed:!0,isDisabled:!1,state:"error",class:"bg-error-800"}],r=s.cva("flex shrink-0 items-center justify-center rounded-full focus-visible:outline-0 focus:outline-0",{variants:{size:{xs:"size-8",md:"size-[50px]"},state:{pending:"",inProgress:"",completed:"",error:""},isDisabled:{true:"",false:""},isHovered:{true:"",false:""},isPressed:{true:"",false:""}},compoundVariants:[...e,...t,...a]}),i=s.cva("leading-5 tracking-wide font-normal text-black",{variants:{size:{xs:"text-sm",md:"text-md"}}}),l=s.cva("flex items-center justify-center",{variants:{size:{xs:"text-base size-4",md:"text-lg size-[18px]"},state:{pending:"text-neutral-50",inProgress:"text-neutral-50",completed:"text-neutral-50",error:"text-neutral-50"},isHovered:{true:"",false:""}},compoundVariants:[{state:"error",isHovered:!0,class:"text-error-600"}]});exports.iconVariants=l;exports.labelVariants=i;exports.stepVariants=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),e=r.cva("flex h-full max-h-12",{variants:{orientation:{horizontal:"flex-col",vertical:"flex-row"}}}),t=r.cva("group inline-flex cursor-pointer items-center px-4 py-3 text-sm font-semibold focus-visible:outline-none",{variants:{isActive:{true:"bg-primary-50 text-primary-500 ",false:"text-primary-300 hover:text-primary-500 hover:border-primary-500"},isDisabledTab:{true:"",false:""},orientation:{horizontal:"border-b-2 border-transparent",vertical:"border-r-2 border-transparent"}},compoundVariants:[{isDisabledTab:!0,orientation:"horizontal",class:"border-b-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"},{isDisabledTab:!0,orientation:"vertical",class:"border-r-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"},{isActive:!0,orientation:"horizontal",class:"border-b-2 border-primary-500"},{isActive:!1,orientation:"horizontal",class:"border-b-2 border-primary-300"},{isActive:!1,orientation:"vertical",class:"border-r-2 border-primary-200"},{isActive:!0,orientation:"vertical",class:"border-r-2 border-primary-500"}]});exports.tabVariants=t;exports.tabsVariants=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs42.js"),q=require("react"),y=require("react-aria"),v=require("./index.cjs44.js"),x=require("./index.cjs90.js"),T=i=>{const{className:r,item:n,orientation:a,state:e,id:c=void 0}=i,{key:s,rendered:o}=n,u=e.selectedKey===s,d=e.disabledKeys.has(s)||(e==null?void 0:e.isDisabled),t=q.useRef(null),{tabProps:l}=y.useTab({key:String(s)},e,t),b=v.cn(x.tabVariants({isActive:u,orientation:a,isDisabledTab:d}),r);return m.jsxRuntimeExports.jsx("div",{...l,ref:t,className:b,id:c,children:o})};exports.Tab=T;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs116.js");require("./index.cjs117.js");const r=require("./index.cjs118.js");let e=r.__exports;var t=(e.__esModule?e:{default:e}).default;const l=o.getDefaultExportFromCjs(t);exports.default=l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs42.js"),l=require("react"),u=require("react-aria"),d=require("./index.cjs44.js"),b=r=>{var t;const{className:n,state:e,...c}=r,s=l.useRef(null),{tabPanelProps:a}=u.useTabPanel(c,e,s),o=d.cn("",n);return i.jsxRuntimeExports.jsx("div",{...a,ref:s,className:o,children:(t=e.selectedItem)==null?void 0:t.props.children})};exports.TabPanel=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs119.js"),t=require("@simpli-route/tailwind-preset"),s=require("./index.cjs120.js"),n=require("./index.cjs121.js"),{fontFamily:i}=e.default,o={presets:[t],mode:"jit",content:["./index.html","./node_modules/@simpli-route/**/*.{js,ts,jsx,tsx}","./src/**/*.{js,ts,jsx,tsx}"],theme:{extend:{fontFamily:{sans:["var(--font-open-sans)",...i.sans]}}},plugins:[s.default,n.default]};exports.default=o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),e=r.cva("flex h-full max-h-12",{variants:{orientation:{horizontal:"flex-col",vertical:"flex-row"}}}),t=r.cva("group inline-flex cursor-pointer items-center px-4 py-3 text-sm font-semibold focus-visible:outline-none",{variants:{isActive:{true:"bg-primary-50 text-primary-500 ",false:"text-primary-300 hover:text-primary-500 hover:border-primary-500"},isDisabledTab:{true:"",false:""},orientation:{horizontal:"border-b-2 border-transparent",vertical:"border-r-2 border-transparent"}},compoundVariants:[{isDisabledTab:!0,orientation:"horizontal",class:"border-b-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"},{isDisabledTab:!0,orientation:"vertical",class:"border-r-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"},{isActive:!0,orientation:"horizontal",class:"border-b-2 border-primary-500"},{isActive:!1,orientation:"horizontal",class:"border-b-2 border-primary-300"},{isActive:!1,orientation:"vertical",class:"border-r-2 border-primary-200"},{isActive:!0,orientation:"vertical",class:"border-r-2 border-primary-500"}]});exports.tabVariants=t;exports.tabsVariants=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("class-variance-authority"),e=[{state:"pending",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-neutral-600"},{state:"inProgress",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-blue-600"},{state:"completed",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-success-600"},{state:"error",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-error-600"}],t=[{isDisabled:!0,isPressed:!1,class:"bg-neutral-600"},{isDisabled:!1,isPressed:!1,state:"pending",class:"bg-neutral-500"},{isDisabled:!1,isPressed:!1,state:"inProgress",class:"bg-blue-500"},{isDisabled:!1,isPressed:!1,state:"completed",class:"bg-success-500"},{isDisabled:!1,isPressed:!1,state:"error",class:"bg-error-500"}],a=[{isPressed:!0,isDisabled:!1,state:"pending",class:"bg-neutral-900"},{isPressed:!0,isDisabled:!1,state:"inProgress",class:"bg-blue-800"},{isPressed:!0,isDisabled:!1,state:"completed",class:"bg-success-800"},{isPressed:!0,isDisabled:!1,state:"error",class:"bg-error-800"}],r=s.cva("flex shrink-0 items-center justify-center rounded-full focus-visible:outline-0 focus:outline-0",{variants:{size:{xs:"size-8",md:"size-[50px]"},state:{pending:"",inProgress:"",completed:"",error:""},isDisabled:{true:"",false:""},isHovered:{true:"",false:""},isPressed:{true:"",false:""}},compoundVariants:[...e,...t,...a]}),i=s.cva("leading-5 tracking-wide font-normal text-black",{variants:{size:{xs:"text-sm",md:"text-md"}}}),l=s.cva("flex items-center justify-center",{variants:{size:{xs:"text-base size-4",md:"text-lg size-[18px]"},state:{pending:"text-neutral-50",inProgress:"text-neutral-50",completed:"text-neutral-50",error:"text-neutral-50"},isHovered:{true:"",false:""}},compoundVariants:[{state:"error",isHovered:!0,class:"text-error-600"}]});exports.iconVariants=l;exports.labelVariants=i;exports.stepVariants=r;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs111.js"),R=require("react");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs122.js"),R=require("react");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs112.js"),tr=require("react");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs123.js"),tr=require("react");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -3,9 +3,9 @@ import { parseColor as h } from "@react-stately/color";
3
3
  import { useState as a, useEffect as w } from "react";
4
4
  import { ColorPicker as L, Label as R, DialogTrigger as T, Button as W, ColorSwatch as $, Popover as q, Dialog as G } from "react-aria-components";
5
5
  import { cn as J } from "./index.es44.js";
6
- import { ColorArea as K } from "./index.es70.js";
7
- import { ColorField as M } from "./index.es71.js";
8
- import { ColorSlider as Q } from "./index.es72.js";
6
+ import { ColorArea as K } from "./index.es65.js";
7
+ import { ColorField as M } from "./index.es66.js";
8
+ import { ColorSlider as Q } from "./index.es67.js";
9
9
  const ne = (v) => {
10
10
  const {
11
11
  value: l,
@@ -4,7 +4,7 @@ import { useState as N } from "react";
4
4
  import { useFilter as K, Button as Q, Select as T, Popover as U } from "react-aria-components";
5
5
  import { cn as p } from "./index.es44.js";
6
6
  import { Loader as W } from "./index.es23.js";
7
- import { PopoverContent as X } from "./index.es69.js";
7
+ import { PopoverContent as X } from "./index.es68.js";
8
8
  import { selectInputPopoverVariants as Y } from "./index.es49.js";
9
9
  import { filterButtonVariants as Z, filterButtonBadgeVariants as _ } from "./index.es50.js";
10
10
  const $ = ({
@@ -1,4 +1,7 @@
1
- var r = {};
1
+ import { j as t } from "./index.es42.js";
2
+ import { CrossIcon as s } from "./index.es43.js";
3
+ import { IconButton as e } from "./index.es14.js";
4
+ const m = ({ icon: o, onPress: n, isDisabled: r }) => /* @__PURE__ */ t.jsx(e, { intent: "minimal", size: "xxs", "data-testid": "clear-icon-button", isDisabled: r, onPress: n, children: o ?? /* @__PURE__ */ t.jsx(s, { className: "size-5 text-neutral-700", "data-testid": "clear-icon" }) });
2
5
  export {
3
- r as __exports
6
+ m as ClearIconButton
4
7
  };
@@ -1,4 +1,6 @@
1
- var e = {};
1
+ import { j as t } from "./index.es42.js";
2
+ import { SearchIcon as e } from "./index.es43.js";
3
+ const s = ({ icon: r }) => r ?? /* @__PURE__ */ t.jsx(e, { className: "size-6 text-neutral-700", "data-testid": "search-icon" });
2
4
  export {
3
- e as __exports
5
+ s as SearchIcon
4
6
  };
@@ -1,59 +1,5 @@
1
- import { j as r } from "./index.es42.js";
2
- import { SliderThumb as m } from "react-aria-components";
3
- import { cn as i } from "./index.es44.js";
4
- import { Tooltip as c } from "./index.es38.js";
5
- import { TooltipTrigger as d } from "./index.es39.js";
6
- const y = ({
7
- index: o,
8
- valuePercent: n,
9
- value: a,
10
- suffix: p,
11
- modeTooltip: g,
12
- positionTooltip: t,
13
- showTypeValue: s,
14
- classNameThumb: e,
15
- isHiddenValue: l
16
- }) => /* @__PURE__ */ r.jsx(
17
- "div",
18
- {
19
- className: i("absolute", s === "tooltip" && !l ? "top-[-6px]" : "top-1/2"),
20
- style: { left: `${n * 100}%`, transform: "translate(-50%, -50%)" },
21
- children: s === "tooltip" && !l ? /* @__PURE__ */ r.jsxs(d, { closeDelay: 100, delay: 100, children: [
22
- /* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
23
- m,
24
- {
25
- index: o,
26
- className: i(
27
- "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
28
- e
29
- )
30
- }
31
- ) }),
32
- /* @__PURE__ */ r.jsxs(
33
- c,
34
- {
35
- mode: g,
36
- placement: t,
37
- size: "sm",
38
- className: i("!text-sm", t === "top" ? "!mb-6" : "!mt-6"),
39
- children: [
40
- a,
41
- p
42
- ]
43
- }
44
- )
45
- ] }) : /* @__PURE__ */ r.jsx(
46
- m,
47
- {
48
- index: o,
49
- className: i(
50
- "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
51
- e
52
- )
53
- }
54
- )
55
- }
56
- );
1
+ import { j as e } from "./index.es42.js";
2
+ const o = ({ text: t }) => /* @__PURE__ */ e.jsx("div", { className: "max-h-60 overflow-auto p-4 text-center text-sm text-neutral-600", children: t ?? "No results found" });
57
3
  export {
58
- y as SliderThumb
4
+ o as NoResultsMessage
59
5
  };
@@ -1,18 +1,21 @@
1
1
  import { j as t } from "./index.es42.js";
2
- import { CrossIcon as e } from "./index.es43.js";
3
- import { IconButton as r } from "./index.es14.js";
4
- const m = ({ icon: o, onPress: n, isDisabled: s }) => /* @__PURE__ */ t.jsx(
2
+ import { ListBox as n, ListBoxItem as r } from "react-aria-components";
3
+ import { searchOptionVariants as h } from "./index.es61.js";
4
+ const m = ({
5
+ items: a,
6
+ onItemSelect: l
7
+ }) => /* @__PURE__ */ t.jsx(n, { items: a, className: "max-h-60 overflow-auto outline-none", children: (o) => /* @__PURE__ */ t.jsx(
5
8
  r,
6
9
  {
7
- intent: "minimal",
8
- size: "md",
9
- className: "p-0",
10
- "data-testid": "clear-icon-button",
11
- isDisabled: s,
12
- onPress: n,
13
- children: o ?? /* @__PURE__ */ t.jsx(e, { className: "size-5 text-neutral-700", "data-testid": "clear-icon" })
10
+ id: o.id,
11
+ textValue: o.label,
12
+ className: ({ isDisabled: s, isSelected: i, isFocused: e }) => h({ isFocused: e, isSelected: i, isDisabled: s }),
13
+ onAction: l ? () => l(o.id) : void 0,
14
+ children: o.shouldHighlight ? /* @__PURE__ */ t.jsx("span", { children: o.highlightedParts.map(
15
+ (s, i) => s.highlight ? /* @__PURE__ */ t.jsx("span", { className: "font-bold text-neutral-900", children: s.text }, s.text + i) : s.text
16
+ ) }) : o.label
14
17
  }
15
- );
18
+ ) });
16
19
  export {
17
- m as ClearIconButton
20
+ m as SearchListBox
18
21
  };
@@ -1,6 +1,59 @@
1
- import { j as t } from "./index.es42.js";
2
- import { SearchIcon as e } from "./index.es43.js";
3
- const s = ({ icon: r }) => r ?? /* @__PURE__ */ t.jsx(e, { className: "size-6 text-neutral-700", "data-testid": "search-icon" });
1
+ import { j as r } from "./index.es42.js";
2
+ import { SliderThumb as m } from "react-aria-components";
3
+ import { cn as i } from "./index.es44.js";
4
+ import { Tooltip as c } from "./index.es38.js";
5
+ import { TooltipTrigger as d } from "./index.es39.js";
6
+ const y = ({
7
+ index: o,
8
+ valuePercent: n,
9
+ value: a,
10
+ suffix: p,
11
+ modeTooltip: g,
12
+ positionTooltip: t,
13
+ showTypeValue: s,
14
+ classNameThumb: e,
15
+ isHiddenValue: l
16
+ }) => /* @__PURE__ */ r.jsx(
17
+ "div",
18
+ {
19
+ className: i("absolute", s === "tooltip" && !l ? "top-[-6px]" : "top-1/2"),
20
+ style: { left: `${n * 100}%`, transform: "translate(-50%, -50%)" },
21
+ children: s === "tooltip" && !l ? /* @__PURE__ */ r.jsxs(d, { closeDelay: 100, delay: 100, children: [
22
+ /* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
23
+ m,
24
+ {
25
+ index: o,
26
+ className: i(
27
+ "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
28
+ e
29
+ )
30
+ }
31
+ ) }),
32
+ /* @__PURE__ */ r.jsxs(
33
+ c,
34
+ {
35
+ mode: g,
36
+ placement: t,
37
+ size: "sm",
38
+ className: i("!text-sm", t === "top" ? "!mb-6" : "!mt-6"),
39
+ children: [
40
+ a,
41
+ p
42
+ ]
43
+ }
44
+ )
45
+ ] }) : /* @__PURE__ */ r.jsx(
46
+ m,
47
+ {
48
+ index: o,
49
+ className: i(
50
+ "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
51
+ e
52
+ )
53
+ }
54
+ )
55
+ }
56
+ );
4
57
  export {
5
- s as SearchIcon
58
+ y as SliderThumb
6
59
  };
@@ -1,5 +1,6 @@
1
- import { j as e } from "./index.es42.js";
2
- const o = ({ text: t }) => /* @__PURE__ */ e.jsx("div", { className: "max-h-60 overflow-auto p-4 text-center text-sm text-neutral-600", children: t ?? "No results found" });
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
3
4
  export {
4
- o as NoResultsMessage
5
+ e as getDefaultExportFromCjs
5
6
  };
@@ -1,21 +1,28 @@
1
- import { j as t } from "./index.es42.js";
2
- import { ListBox as n, ListBoxItem as r } from "react-aria-components";
3
- import { searchOptionVariants as h } from "./index.es61.js";
4
- const m = ({
5
- items: a,
6
- onItemSelect: l
7
- }) => /* @__PURE__ */ t.jsx(n, { items: a, className: "max-h-60 overflow-auto outline-none", children: (o) => /* @__PURE__ */ t.jsx(
8
- r,
9
- {
10
- id: o.id,
11
- textValue: o.label,
12
- className: ({ isDisabled: s, isSelected: i, isFocused: e }) => h({ isFocused: e, isSelected: i, isDisabled: s }),
13
- onAction: l ? () => l(o.id) : void 0,
14
- children: o.shouldHighlight ? /* @__PURE__ */ t.jsx("span", { children: o.highlightedParts.map(
15
- (s, i) => s.highlight ? /* @__PURE__ */ t.jsx("span", { className: "font-bold text-neutral-900", children: s.text }, s.text + i) : s.text
16
- ) }) : o.label
1
+ import { __exports as i } from "./index.es118.js";
2
+ import "./index.es124.js";
3
+ import "./index.es125.js";
4
+ import { __exports as l } from "./index.es126.js";
5
+ import { __exports as s } from "./index.es127.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
+ };
17
20
  }
18
- ) });
19
- export {
20
- m as SearchListBox
21
- };
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,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.es120.js";
2
- import "./index.es124.js";
3
- import "./index.es125.js";
4
- import { __exports as l } from "./index.es126.js";
5
- import { __exports as s } from "./index.es127.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.es116.js";
2
+ import "./index.es128.js";
3
+ import { __exports as a } from "./index.es129.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
+ };