@simpli-route/apollo-ds 0.1.62 → 0.1.65
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.
- package/dist/components/InvisibleTimeField/InvisibleTimeField.d.ts +1 -2
- package/dist/components/TextField/InputValidationIcon.d.ts +4 -0
- package/dist/components/TextField/MultiTextField.d.ts +8 -0
- package/dist/components/TextField/MultiTextField.test.d.ts +1 -0
- package/dist/components/TextField/TextField.d.ts +12 -0
- package/dist/components/TextField/TextField.test.d.ts +1 -0
- package/dist/components/TextField/index.d.ts +4 -0
- package/dist/components/TextField/types.d.ts +78 -0
- package/dist/components/TextField/variants.d.ts +14 -0
- package/dist/components/TimeField/TimeField.d.ts +13 -0
- package/dist/components/TimeField/TimeField.test.d.ts +1 -0
- package/dist/components/TimeField/index.d.ts +4 -0
- package/dist/components/TimeField/types.d.ts +68 -0
- package/dist/components/TimeField/useTimeField.d.ts +27 -0
- package/dist/components/TimeField/variants.d.ts +23 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +9 -1
- package/dist/index.cjs101.js +19 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -0
- package/dist/index.cjs184.js +1 -0
- package/dist/index.cjs185.js +1 -0
- package/dist/index.cjs186.js +1 -0
- package/dist/index.cjs187.js +1 -0
- package/dist/index.cjs188.js +1 -0
- package/dist/index.cjs189.js +1 -0
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -0
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +2 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +3 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -9
- package/dist/index.cjs94.js +1 -19
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es.js +58 -48
- package/dist/index.es10.js +5 -5
- package/dist/index.es100.js +30 -19
- package/dist/index.es101.js +599 -19
- package/dist/index.es102.js +16 -14
- package/dist/index.es103.js +14 -10
- package/dist/index.es104.js +8 -8
- package/dist/index.es105.js +18 -12
- package/dist/index.es106.js +10 -8
- package/dist/index.es107.js +10 -8
- package/dist/index.es108.js +10 -10
- package/dist/index.es109.js +6 -6
- package/dist/index.es11.js +6 -6
- package/dist/index.es110.js +19 -30
- package/dist/index.es111.js +19 -5
- package/dist/index.es112.js +21 -4
- package/dist/index.es113.js +19 -3
- package/dist/index.es114.js +21 -19
- package/dist/index.es115.js +19 -57
- package/dist/index.es116.js +19 -4
- package/dist/index.es117.js +21 -28
- package/dist/index.es118.js +30 -2
- package/dist/index.es119.js +5 -8
- package/dist/index.es12.js +4 -4
- package/dist/index.es120.js +4 -340
- package/dist/index.es121.js +3 -166
- package/dist/index.es122.js +19 -2
- package/dist/index.es123.js +4 -2
- package/dist/index.es124.js +19 -181
- package/dist/index.es125.js +4 -51
- package/dist/index.es126.js +8 -2
- package/dist/index.es127.js +340 -2
- package/dist/index.es128.js +166 -19
- package/dist/index.es129.js +57 -2
- package/dist/index.es13.js +6 -6
- package/dist/index.es130.js +2 -43
- package/dist/index.es131.js +2 -5
- package/dist/index.es132.js +190 -7
- package/dist/index.es133.js +44 -20
- package/dist/index.es134.js +4 -192
- package/dist/index.es135.js +4 -16
- package/dist/index.es136.js +14 -346
- package/dist/index.es137.js +4 -24
- package/dist/index.es138.js +44 -18
- package/dist/index.es139.js +7 -154
- package/dist/index.es14.js +3 -3
- package/dist/index.es140.js +7 -17
- package/dist/index.es141.js +17 -7
- package/dist/index.es142.js +189 -208
- package/dist/index.es143.js +12 -64
- package/dist/index.es144.js +347 -8
- package/dist/index.es145.js +24 -4
- package/dist/index.es146.js +19 -4
- package/dist/index.es147.js +154 -4
- package/dist/index.es148.js +17 -4
- package/dist/index.es149.js +17 -4
- package/dist/index.es15.js +3 -3
- package/dist/index.es150.js +211 -4
- package/dist/index.es151.js +68 -4
- package/dist/index.es152.js +14 -4
- package/dist/index.es153.js +2 -2
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +2 -1063
- package/dist/index.es158.js +4 -77
- package/dist/index.es16.js +5 -5
- package/dist/index.es160.js +2 -57
- package/dist/index.es161.js +4 -20
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +2 -8
- package/dist/index.es164.js +4 -61
- package/dist/index.es165.js +1063 -2
- package/dist/index.es166.js +73 -10
- package/dist/index.es167.js +4 -311
- package/dist/index.es168.js +59 -26
- package/dist/index.es169.js +20 -4
- package/dist/index.es17.js +4 -4
- package/dist/index.es170.js +2 -2
- package/dist/index.es171.js +61 -4
- package/dist/index.es172.js +4 -94
- package/dist/index.es173.js +14 -4
- package/dist/index.es174.js +307 -24
- package/dist/index.es175.js +26 -4
- package/dist/index.es176.js +2 -2
- package/dist/index.es177.js +4 -51
- package/dist/index.es178.js +4 -19
- package/dist/index.es179.js +94 -4
- package/dist/index.es18.js +4 -4
- package/dist/index.es180.js +2 -2
- package/dist/index.es181.js +10 -753
- package/dist/index.es182.js +28 -4
- package/dist/index.es183.js +4 -0
- package/dist/index.es184.js +51 -0
- package/dist/index.es185.js +19 -0
- package/dist/index.es186.js +4 -0
- package/dist/index.es187.js +4 -0
- package/dist/index.es188.js +753 -0
- package/dist/index.es189.js +4 -0
- package/dist/index.es19.js +4 -4
- package/dist/index.es190.js +4 -0
- package/dist/index.es2.js +2 -2
- package/dist/index.es20.js +98 -99
- package/dist/index.es21.js +3 -3
- package/dist/index.es22.js +2 -2
- package/dist/index.es23.js +2 -2
- package/dist/index.es24.js +3 -3
- package/dist/index.es25.js +5 -5
- package/dist/index.es26.js +5 -5
- package/dist/index.es27.js +27 -25
- package/dist/index.es28.js +4 -4
- package/dist/index.es29.js +8 -8
- package/dist/index.es3.js +3 -3
- package/dist/index.es30.js +5 -5
- package/dist/index.es31.js +4 -4
- package/dist/index.es32.js +4 -4
- package/dist/index.es33.js +1 -1
- package/dist/index.es35.js +6 -6
- package/dist/index.es36.js +5 -5
- package/dist/index.es37.js +5 -5
- package/dist/index.es38.js +8 -24
- package/dist/index.es39.js +148 -27
- package/dist/index.es4.js +3 -3
- package/dist/index.es40.js +87 -7
- package/dist/index.es41.js +124 -7
- package/dist/index.es42.js +16 -6
- package/dist/index.es43.js +24 -6
- package/dist/index.es44.js +28 -31
- package/dist/index.es45.js +8 -45
- package/dist/index.es46.js +8 -79
- package/dist/index.es47.js +6 -81
- package/dist/index.es48.js +6 -130
- package/dist/index.es49.js +33 -18
- package/dist/index.es50.js +15 -14
- package/dist/index.es51.js +14 -13
- package/dist/index.es52.js +15 -116
- package/dist/index.es53.js +26 -65
- package/dist/index.es54.js +167 -30
- package/dist/index.es55.js +35 -20
- package/dist/index.es56.js +30 -167
- package/dist/index.es57.js +64 -26
- package/dist/index.es58.js +130 -3
- package/dist/index.es59.js +53 -119
- package/dist/index.es6.js +4 -4
- package/dist/index.es60.js +3 -130
- package/dist/index.es61.js +16 -103
- package/dist/index.es62.js +120 -84
- package/dist/index.es63.js +120 -24
- package/dist/index.es64.js +114 -7
- package/dist/index.es65.js +89 -34
- package/dist/index.es66.js +32 -158
- package/dist/index.es67.js +7 -91
- package/dist/index.es68.js +109 -14
- package/dist/index.es69.js +45 -149
- package/dist/index.es7.js +27 -25
- package/dist/index.es70.js +159 -29
- package/dist/index.es71.js +92 -10
- package/dist/index.es72.js +84 -10
- package/dist/index.es73.js +93 -12
- package/dist/index.es74.js +22 -13
- package/dist/index.es75.js +26 -132
- package/dist/index.es76.js +79 -12
- package/dist/index.es77.js +10 -7
- package/dist/index.es78.js +11 -41
- package/dist/index.es79.js +10 -20
- package/dist/index.es8.js +4 -4
- package/dist/index.es80.js +162 -100
- package/dist/index.es81.js +77 -12
- package/dist/index.es82.js +13 -78
- package/dist/index.es83.js +150 -7
- package/dist/index.es84.js +12 -18
- package/dist/index.es85.js +7 -149
- package/dist/index.es86.js +41 -39
- package/dist/index.es87.js +20 -19
- package/dist/index.es88.js +10 -20
- package/dist/index.es89.js +9 -9
- package/dist/index.es9.js +3 -3
- package/dist/index.es90.js +45 -10
- package/dist/index.es91.js +7 -45
- package/dist/index.es92.js +18 -2
- package/dist/index.es93.js +148 -29
- package/dist/index.es94.js +19 -599
- package/dist/index.es95.js +20 -21
- package/dist/index.es96.js +101 -21
- package/dist/index.es97.js +13 -25
- package/dist/index.es98.js +40 -23
- package/dist/index.es99.js +2 -21
- package/dist/stories/MultiTextField.stories.d.ts +53 -0
- package/dist/stories/TextField.stories.d.ts +56 -0
- package/dist/stories/TimeField.stories.d.ts +79 -0
- package/dist/style.css +22 -0
- package/package.json +1 -1
package/dist/index.cjs75.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs47.js"),l=require("./index.cjs48.js"),c=o=>{const{isIndeterminate:t,isSelected:e,className:n,isHovered:i}=o,r=i&&!e&&!t?"text-neutral-500":"",a=!!(r||e);return s.jsxRuntimeExports.jsx("svg",{className:l.cn("stroke-current",r,n),viewBox:"-1 1 17 17",children:t?s.jsxRuntimeExports.jsx("line",{x1:1,y1:10,x2:14,y2:10,fill:"none",strokeWidth:2,strokeDasharray:14,strokeDashoffset:e?28:42,style:{transition:"all 400ms"}}):s.jsxRuntimeExports.jsx("polyline",{points:"1 9 7 14 15 4",fill:"none",strokeWidth:2,strokeDasharray:22,strokeDashoffset:a?44:66,style:{transition:"all 400ms"}})})};exports.MarkIcon=c;
|
package/dist/index.cjs76.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs47.js"),d=require("./index.cjs49.js"),s=require("react-aria-components"),l=require("./index.cjs48.js"),m=({enableSearch:i,contains:a,classNameSearchField:x,classNameSearchFieldInput:u,placeholderSearch:c,items:p})=>e.jsxRuntimeExports.jsxs(s.Autocomplete,{filter:a,disableAutoFocusFirst:!0,disableVirtualFocus:!0,children:[i?e.jsxRuntimeExports.jsxs(s.SearchField,{"aria-label":"Search",className:l.cn("group m-1 flex items-center rounded border border-neutral-500 bg-neutral-50",x),children:[e.jsxRuntimeExports.jsx(s.Input,{placeholder:c,className:l.cn("h-8 min-w-0 flex-1 rounded border-none p-1 text-sm font-normal text-neutral-800 outline-none outline-0 placeholder:text-neutral-700 focus:outline-none focus:ring-0 [&::-webkit-search-cancel-button]:hidden",u)}),e.jsxRuntimeExports.jsx(s.Button,{className:"pressed:bg-black/10 mr-1 flex w-6 items-center justify-center rounded-full border-0 bg-transparent p-1 text-center text-sm text-neutral-600 transition hover:bg-black/[5%] group-data-[empty]:invisible",children:e.jsxRuntimeExports.jsx(d.CrossCircleIcon,{"aria-hidden":!0,className:"size-4"})})]}):null,e.jsxRuntimeExports.jsx(s.ListBox,{className:"lg:custom-scrollbar max-h-[260px] overflow-auto outline-none",items:p,children:t=>e.jsxRuntimeExports.jsx(s.ListBoxItem,{id:t.value,textValue:t.label,isDisabled:t.isDisabled,className:({isSelected:r,isFocusVisible:n,isHovered:o})=>l.cn("flex cursor-pointer flex-col px-3 py-2 text-xs font-normal outline-none",r?"bg-primary-100 text-primary-500":"text-primary-900",o&&"bg-primary-50 text-primary-500",(o||n)&&!r&&"bg-primary-50",(o||n)&&r&&"bg-primary-200",(t==null?void 0:t.isDisabled)&&"cursor-not-allowed opacity-50"),children:({isSelected:r,isHovered:n})=>e.jsxRuntimeExports.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxRuntimeExports.jsx("span",{children:t.label}),e.jsxRuntimeExports.jsx("span",{className:"flex w-5 items-center",children:r&&e.jsxRuntimeExports.jsx("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2241 0.601824C13.4808 0.780773 13.5439 1.13398 13.365 1.39073L5.69829 12.3907C5.59653 12.5367 5.43209 12.6264 5.25425 12.633C5.07641 12.6395 4.90582 12.5622 4.79359 12.4241L0.460261 7.09072C0.26291 6.84783 0.299829 6.49094 0.542723 6.29358C0.785617 6.09623 1.14251 6.13315 1.33986 6.37605L5.19872 11.1254L12.4352 0.7427C12.6141 0.485948 12.9673 0.422875 13.2241 0.601824Z",fill:"#4C3BEF"})})})]}),t.description?e.jsxRuntimeExports.jsx("span",{slot:"description",className:l.cn(r?"text-primary-400":"text-neutral-700",n&&"text-primary-400"),children:t.description}):null]})},t.value)})]});exports.PopoverContent=m;
|
package/dist/index.cjs77.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs47.js"),i=require("./index.cjs48.js"),x=({description:e,descriptionClasses:s,errorMessage:t,errorClasses:u,isInvalidField:n})=>e&&!n?r.jsxRuntimeExports.jsx("div",{slot:"description",className:i.cn("text-xs leading-3 text-neutral-700",s),children:e}):t&&n?r.jsxRuntimeExports.jsx("div",{className:i.cn("text-xs leading-3 text-error-500",u),children:t}):null;exports.CaptionNumberField=x;
|
package/dist/index.cjs78.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs47.js"),s=require("./index.cjs49.js"),n=require("react-aria-components"),i=require("./index.cjs48.js"),o=({isDisabled:r})=>{const t=i.cn("flex items-center justify-center",r?"text-neutral-600":"text-primary-500");return e.jsxRuntimeExports.jsxs("div",{className:"absolute inset-y-0 right-0 flex flex-col items-center justify-center space-y-0.5 pr-2",children:[e.jsxRuntimeExports.jsx(n.Button,{slot:"increment",className:t,children:e.jsxRuntimeExports.jsx(s.UpChevronIcon,{className:"size-3.5"})}),e.jsxRuntimeExports.jsx(n.Button,{slot:"decrement",className:t,children:e.jsxRuntimeExports.jsx(s.DownChevronIcon,{className:"size-3.5"})})]})};exports.StepperButton=o;
|
package/dist/index.cjs79.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs47.js"),y=require("react"),m=require("./index.cjs48.js"),x=require("./index.cjs118.js"),q=(s,t)=>{const{zIndex:a=200,opacity:n="md",blur:i="sm",children:c,className:o,center:e=!0,fixed:l,...u}=s,d=m.cn(x.overlayVariants({opacity:n,fixed:l,center:e,blur:i}),`z-[${a}]`,o);return v.jsxRuntimeExports.jsx("div",{ref:t,className:d,"data-center":e||void 0,...u,children:c})},r=y.forwardRef(q);r.displayName="Overlay";exports.Overlay=r;
|
package/dist/index.cjs8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs47.js"),j=require("react-aria-components"),x=require("./index.cjs48.js"),p=require("./index.cjs75.js"),b=require("./index.cjs55.js"),h=({isIndeterminate:c=!1,isDisabled:s=!1,className:u,children:r,onChange:i,isSelected:n=!1,id:o,...m})=>{const l=(a,t)=>x.cn(b.checkboxVariants({isDisabled:s,isFocusVisible:a,isHovered:t,isSelected:n,label:!!r}));return e.jsxRuntimeExports.jsx(j.Checkbox,{className:x.cn("group flex items-center",u),isSelected:n,isDisabled:s,id:o,onChange:i,...m,children:({isFocusVisible:a,isHovered:t})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:l(a,t),"aria-hidden":"true",children:e.jsxRuntimeExports.jsx(p.MarkIcon,{isIndeterminate:c,isHovered:t,isSelected:n,className:"size-3"})}),r&&e.jsxRuntimeExports.jsx("span",{className:x.cn("select-none text-base leading-6",s?"text-neutral-500":"text-primary-900"),id:o,children:r})]})})};exports.Checkbox=h;
|
package/dist/index.cjs80.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=[{intent:"primary",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-primary-100"},{intent:"secondary",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-primary-500 text-primary-50"},{intent:"minimal",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-neutral-200 text-neutral-800"},{intent:"error",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-error-100"}],r=[{intent:"primary",isActive:!0,isDisabled:!1,class:"bg-primary-500 text-primary-50"},{intent:"primary",isActive:!0,isDisabled:!0,class:"bg-primary-300 text-primary-100"},{intent:"secondary",isActive:!0,isDisabled:!1,class:"bg-primary-500 text-primary-50"},{intent:"secondary",isActive:!0,isDisabled:!0,class:"bg-primary-100 text-primary-300"},{intent:"minimal",isActive:!0,isDisabled:!1,class:"text-primary-500"},{intent:"minimal",isActive:!0,isDisabled:!0,class:"text-neutral-700"},{intent:"error",isActive:!0,isDisabled:!1,class:"bg-error-700 text-error-50"},{intent:"error",isActive:!0,isDisabled:!0,class:"bg-error-300 text-error-100"}],i=[{intent:"primary",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"primary",isDisabled:!0,isActive:!0,class:"bg-primary-300 text-primary-100"},{intent:"secondary",isDisabled:!0,isActive:!1,class:"bg-neutral-400 text-neutral-600"},{intent:"secondary",isDisabled:!0,isActive:!0,class:"bg-primary-100 text-primary-300"},{intent:"minimal",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"minimal",isDisabled:!0,isActive:!0,class:"text-neutral-700"},{intent:"error",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"error",isDisabled:!0,isActive:!0,class:"bg-error-300 text-primary-100"}],s=e.cva("inline-flex items-center justify-center rounded-lg border border-transparent transition duration-150 ease-in-out focus:outline-none",{variants:{intent:{primary:"bg-transparent text-primary-500",secondary:"bg-primary-200 text-primary-500",minimal:"bg-transparent text-neutral-700",error:"bg-transparent text-error-500"},size:{xxs:"p-1",xs:"p-2",sm:"p-2.5",md:"p-3",lg:"p-4"},isDisabled:{true:"pointer-events-none cursor-not-allowed"},isHovered:{true:""},isActive:{true:""},isFocused:{false:"",true:"focus:outline-none focus:ring-offset-2 outline-none ring-2 ring-sky-400"}},compoundVariants:[...t,...r,...i]});exports.buttonVariants=s;
|
package/dist/index.cjs81.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs47.js"),o=require("react-aria-components"),a=require("./index.cjs48.js"),f=require("./index.cjs4.js");require("./index.cjs5.js");const R=require("./index.cjs57.js"),E=({ref:u,isOpen:r,setIsOpen:c,size:x,isDisabled:s,classNameButton:C,selectionMode:m,maxLengthTextOption:j,handleDeleteOptionSelected:p,placeholder:d})=>e.jsxRuntimeExports.jsxs(o.Button,{ref:u,className:({isFocusVisible:t,isHovered:l})=>a.cn(R.selectInputButtonVariants({size:x,isDisabled:s,isFocusVisible:t||r,isHovered:l}),C),onPress:()=>c(!r),children:[e.jsxRuntimeExports.jsx(o.SelectValue,{className:"flex flex-1 items-center gap-1 overflow-hidden",children:({selectedItems:t,selectedText:l,isPlaceholder:h})=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:m==="multiple"&&t&&t.length>0?e.jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-1",children:t.filter(n=>n!=null).map(n=>{const g=n.label,i=n.value;return e.jsxRuntimeExports.jsx(f.Badge,{label:g,size:x,isDisabled:s,maxLength:j,onDelete:()=>p(i)},i)})}):e.jsxRuntimeExports.jsx("span",{className:a.cn("flex-1 truncate text-left",h?"text-neutral-600":"",s?"text-neutral-700":""),children:l||d})})}),e.jsxRuntimeExports.jsx("svg",{className:`${r?"rotate-180":""} transition-transform duration-100`,width:"20",height:"10",viewBox:"0 0 20 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsxRuntimeExports.jsx("path",{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",fill:"#73768C"})})]});exports.SelectContent=E;
|
package/dist/index.cjs82.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react");function c(e,u=300){const[n,o]=t.useState(e);return t.useEffect(()=>{const r=setTimeout(()=>{o(e)},u);return()=>{clearTimeout(r)}},[e,u]),n}exports.useDebouncedValue=c;
|
package/dist/index.cjs83.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs47.js"),x=require("react"),D=require("react-aria-components"),G=require("./index.cjs82.js"),J=require("./index.cjs4.js");require("./index.cjs5.js");require("./index.cjs15.js");const Q=require("./index.cjs16.js"),U=require("./index.cjs84.js"),W=require("./index.cjs85.js"),X=require("./index.cjs86.js"),E=require("./index.cjs87.js"),Y=require("./index.cjs69.js"),Z=b=>{const{label:j,onReset:p,placeholder:F,isDisabled:h,delay:R,searchIcon:L,clearIcon:y,size:S,description:P,inputValue:u,isInvalid:w,errorMessage:M,items:d,noResultsText:v,selectedValues:C,onSelectedValuesChange:i,onInputChange:a,...B}=E.getSearchFieldDefaultProps(b),[N,m]=x.useState([]),f=C!==void 0,s=f?C:N,l=G.useDebouncedValue(u,R??R),z=!!(l&&p),T=e=>{const t=s.filter(n=>n!==e);f||m(t),i&&i(t)},I=e=>{if(!s.includes(e)){const t=[...s,e];f||m(t),i&&i(t)}},A=()=>{p&&p(),f||m([]),i&&i([])},O=e=>{const t=d.find(n=>n.id===e);t&&!s.includes(t.label)&&(I(t.label),a&&a(""))},H=e=>{if(e.key!=="Enter"||!(u!=null&&u.trim()))return;const t=u.trim(),n=d.filter(o=>o.label.toLowerCase().includes(t.toLowerCase())&&!s.includes(o.label));n.length===1&&(e.preventDefault(),e.stopPropagation(),I(n[0].label),a&&a(""))},K=e=>{const t=e.clipboardData.getData("text");if(!t.includes(`
|
|
2
|
+
`))return;e.preventDefault();const n=t.split(`
|
|
3
|
+
`).map(c=>c.trim()).filter(c=>c&&!s.includes(c)),o=[...new Set(n)];if(o.length>0){const c=[...s,...o];f||m(c),i&&i(c)}a&&a("")},$=x.useMemo(()=>{const e=[...s];return l&&e.push(l),d.filter(t=>{const n=t.label.toLowerCase();return e.some(o=>n.includes(o.toLowerCase()))}).map(t=>{const n=l?t.label.toLowerCase().includes(l.toLowerCase()):!1,o=l?E.getHighlightedParts(t.label,l):[{text:t.label,highlight:!1}];return{...t,shouldHighlight:n,highlightedParts:o}})},[l,d,s]),k=x.useMemo(()=>l?!d.some(e=>e.label.toLowerCase().includes(l.toLowerCase())&&!s.includes(e.label)):!1,[l,d,s]),g=s.length>0,V=S??S,q=x.useRef(null);return r.jsxRuntimeExports.jsxs(D.ComboBox,{inputValue:u,isDisabled:h,isInvalid:w,allowsEmptyCollection:!0,onInputChange:a,...B,children:[j&&r.jsxRuntimeExports.jsx(Q.Label,{children:j}),r.jsxRuntimeExports.jsxs("div",{ref:q,"data-testid":"multi-search-field-container",className:Y.multiSearchFieldContainerVariants({size:V,isDisabled:h}),children:[g&&r.jsxRuntimeExports.jsx(r.jsxRuntimeExports.Fragment,{children:s.map(e=>r.jsxRuntimeExports.jsx(J.Badge,{label:e,size:V,isDisabled:h,onDelete:()=>T(e)},e))}),r.jsxRuntimeExports.jsx(D.Input,{placeholder:g?void 0:F,className:"min-w-[120px] flex-1 border-0 bg-transparent p-0 outline-none focus:ring-0",disabled:h,readOnly:b.isReadOnly,onKeyDown:H,onPaste:K}),r.jsxRuntimeExports.jsx(U.SearchFieldIconContainer,{showClearIcon:z,hasBadges:g,clearIcon:y,searchIcon:L,isDisabled:h,onReset:A})]}),r.jsxRuntimeExports.jsx(W.SearchFieldMessages,{description:P,isInvalid:w,errorMessage:M}),r.jsxRuntimeExports.jsx(X.SearchFieldPopover,{triggerRef:q,hasNoResults:k,noResultsText:v,items:$,onItemSelect:O})]})};exports.MultiSearchField=Z;
|
package/dist/index.cjs84.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs47.js"),c=require("./index.cjs48.js"),i=require("./index.cjs119.js"),a=require("./index.cjs120.js"),u=({showClearIcon:t,clearIcon:r,searchIcon:o,isDisabled:s,onReset:n})=>e.jsxRuntimeExports.jsx("span",{className:c.cn("absolute right-2 top-1/2 flex -translate-y-1/2 items-center"),children:t&&n?e.jsxRuntimeExports.jsx(i.ClearIconButton,{icon:r,isDisabled:s,onPress:n}):e.jsxRuntimeExports.jsx(a.SearchIcon,{icon:o})});exports.SearchFieldIconContainer=u;
|
package/dist/index.cjs85.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs47.js"),n=require("react-aria-components"),x=({description:t,isInvalid:s,errorMessage:r})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[t&&!s&&e.jsxRuntimeExports.jsx(n.Text,{slot:"description",className:"text-xs leading-5 text-neutral-700",children:t}),r&&s&&e.jsxRuntimeExports.jsx(n.FieldError,{className:"text-sm leading-6 text-error-500",children:r})]});exports.SearchFieldMessages=x;
|
package/dist/index.cjs86.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs47.js"),n=require("react"),p=require("react-aria-components"),v=require("./index.cjs121.js"),x=require("./index.cjs122.js"),h=require("./index.cjs69.js"),l=({triggerRef:e,hasNoResults:i,noResultsText:c,items:u,onItemSelect:d})=>{const[t,a]=n.useState(void 0);return n.useEffect(()=>{if(!(e!=null&&e.current))return;const r=()=>{if(e.current){const s=e.current.offsetWidth;a(s)}};if(r(),typeof ResizeObserver<"u"){const s=new ResizeObserver(()=>{r()});return e.current&&s.observe(e.current),()=>{s.disconnect()}}},[e]),o.jsxRuntimeExports.jsx(p.Popover,{className:h.popoverVariants(),triggerRef:e,style:t!==void 0?{width:`${t}px`,minWidth:`${t}px`}:void 0,children:i?o.jsxRuntimeExports.jsx(v.NoResultsMessage,{text:c}):o.jsxRuntimeExports.jsx(x.SearchListBox,{items:u,onItemSelect:d})})};exports.SearchFieldPopover=l;
|
package/dist/index.cjs87.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(e){return{delay:e.delay??300,size:e.size??"md",noResultsText:e.noResultsText??"No results found",allowMultipleValues:e.allowMultipleValues??!1,...e}}function i(e,t){if(!t.trim())return[{text:e,highlight:!1}];const a=new RegExp(`(${t})`,"gi");return e.split(a).filter(Boolean).map(l=>({text:l,highlight:l.toLowerCase()===t.toLowerCase()}))}exports.getHighlightedParts=i;exports.getSearchFieldDefaultProps=s;
|
package/dist/index.cjs88.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs47.js"),q=require("react"),y=require("react-aria"),v=require("./index.cjs48.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;
|
package/dist/index.cjs89.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs47.js"),l=require("react"),u=require("react-aria"),d=require("./index.cjs48.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;
|
package/dist/index.cjs9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs47.js"),i=require("react-aria"),f=require("./index.cjs48.js"),q=require("./index.cjs56.js"),R=o=>{const{style:n="square",size:c="sm",pressable:s=!0,isPressed:a=!1,isDisabled:e=!1,className:u,icon:t,text:l,onPress:d}=o,{pressProps:p,isPressed:P}=i.usePress({onPress:s?d:void 0,isPressed:s?a:!1,isDisabled:e}),{hoverProps:x,isHovered:m}=i.useHover({isDisabled:e}),{isFocusVisible:j,focusProps:v}=i.useFocusRing(),h=f.cn(q.assistChipVariants({style:n,size:c,pressable:s,isPressed:s&&P,isDisabled:e,isHovered:m,isFocused:j}),u),b=s?{...p,...v,...x}:{};return r.jsxRuntimeExports.jsxs("div",{role:s?"button":void 0,...b,className:h,children:[t?r.jsxRuntimeExports.jsx("span",{className:"mr-1",children:t}):null,r.jsxRuntimeExports.jsx("span",{children:l})]})};exports.AssistChip=R;
|
package/dist/index.cjs90.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|
package/dist/index.cjs91.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs123.js");require("./index.cjs124.js");const r=require("./index.cjs125.js");let e=r.__exports;var t=(e.__esModule?e:{default:e}).default;const l=o.getDefaultExportFromCjs(t);exports.default=l;
|
package/dist/index.cjs92.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs126.js"),t=require("@simpli-route/tailwind-preset"),s=require("./index.cjs127.js"),n=require("./index.cjs128.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;
|
package/dist/index.cjs93.js
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var p;function a(){if(p)return t.__exports;p=1;var f=R,c=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function i(o,e,u){var r,n={},_=null,s=null;u!==void 0&&(_=""+u),e.key!==void 0&&(_=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)d.call(e,r)&&!y.hasOwnProperty(r)&&(n[r]=e[r]);if(o&&o.defaultProps)for(r in e=o.defaultProps,e)n[r]===void 0&&(n[r]=e[r]);return{$$typeof:c,type:o,key:_,ref:s,props:n,_owner:m.current}}return t.__exports.Fragment=l,t.__exports.jsx=i,t.__exports.jsxs=i,t.__exports}exports.__require=a;
|
|
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;
|
package/dist/index.cjs94.js
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.development.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var he;function nr(){return he||(he=1,process.env.NODE_ENV!=="production"&&function(){var Ee=tr,x=Symbol.for("react.element"),ye=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),B=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),G=Symbol.iterator,Re="@@iterator";function me(e){if(e===null||typeof e!="object")return null;var r=G&&e[G]||e[Re];return typeof r=="function"?r:null}var b=Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Te("error",e,t)}}function Te(e,r,t){{var n=b.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ce=!1,Pe=!1,Se=!1,Oe=!1,we=!1,z;z=Symbol.for("react.module.reference");function je(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===N||we||e===U||e===k||e===D||Oe||e===_e||Ce||Pe||Se||typeof e=="object"&&e!==null&&(e.$$typeof===F||e.$$typeof===C||e.$$typeof===q||e.$$typeof===B||e.$$typeof===T||e.$$typeof===z||e.getModuleId!==void 0))}function xe(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function J(e){return e.displayName||"Context"}function d(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case ye:return"Portal";case N:return"Profiler";case U:return"StrictMode";case k:return"Suspense";case D:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case B:var r=e;return J(r)+".Consumer";case q:var t=e;return J(t._context)+".Provider";case T:return xe(e,e.render,"ForwardRef");case C:var n=e.displayName||null;return n!==null?n:d(e.type)||"Memo";case F:{var o=e,u=o._payload,i=o._init;try{return d(i(u))}catch{return null}}}return null}var g=Object.assign,y=0,K,H,X,Z,Q,ee,re;function te(){}te.__reactDisabledLog=!0;function ke(){{if(y===0){K=console.log,H=console.info,X=console.warn,Z=console.error,Q=console.group,ee=console.groupCollapsed,re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}y++}}function De(){{if(y--,y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:K}),info:g({},e,{value:H}),warn:g({},e,{value:X}),error:g({},e,{value:Z}),group:g({},e,{value:Q}),groupCollapsed:g({},e,{value:ee}),groupEnd:g({},e,{value:re})})}y<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var A=b.ReactCurrentDispatcher,I;function P(e,r,t){{if(I===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return`
|
|
10
|
-
`+I+e}}var W=!1,S;{var Fe=typeof WeakMap=="function"?WeakMap:Map;S=new Fe}function ne(e,r){if(!e||W)return"";{var t=S.get(e);if(t!==void 0)return t}var n;W=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=A.current,A.current=null,ke();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
|
|
11
|
-
`),c=n.stack.split(`
|
|
12
|
-
`),s=a.length-1,l=c.length-1;s>=1&&l>=0&&a[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==c[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==c[l]){var v=`
|
|
13
|
-
`+a[s].replace(" at new "," at ");return e.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",e.displayName)),typeof e=="function"&&S.set(e,v),v}while(s>=1&&l>=0);break}}}finally{W=!1,A.current=u,De(),Error.prepareStackTrace=o}var E=e?e.displayName||e.name:"",be=E?P(E):"";return typeof e=="function"&&S.set(e,be),be}function Ae(e,r,t){return ne(e,!1)}function Ie(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function O(e,r,t){if(e==null)return"";if(typeof e=="function")return ne(e,Ie(e));if(typeof e=="string")return P(e);switch(e){case k:return P("Suspense");case D:return P("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case T:return Ae(e.render);case C:return O(e.type,r,t);case F:{var n=e,o=n._payload,u=n._init;try{return O(u(o),r,t)}catch{}}}return""}var w=Object.prototype.hasOwnProperty,ae={},ie=b.ReactDebugCurrentFrame;function j(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);ie.setExtraStackFrame(t)}else ie.setExtraStackFrame(null)}function We(e,r,t,n,o){{var u=Function.call.bind(w);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var c=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(j(o),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),j(null)),a instanceof Error&&!(a.message in ae)&&(ae[a.message]=!0,j(o),f("Failed %s type: %s",t,a.message),j(null))}}}var $e=Array.isArray;function $(e){return $e(e)}function Ye(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Me(e){try{return oe(e),!1}catch{return!0}}function oe(e){return""+e}function ue(e){if(Me(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ye(e)),oe(e)}var _=b.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},se,le,Y;Y={};function Le(e){if(w.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ue(e){if(w.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ne(e,r){if(typeof e.ref=="string"&&_.current&&r&&_.current.stateNode!==r){var t=d(_.current.type);Y[t]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',d(_.current.type),e.ref),Y[t]=!0)}}function qe(e,r){{var t=function(){se||(se=!0,f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Be(e,r){{var t=function(){le||(le=!0,f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ge=function(e,r,t,n,o,u,i){var a={$$typeof:x,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ze(e,r,t,n,o){{var u,i={},a=null,c=null;t!==void 0&&(ue(t),a=""+t),Ue(r)&&(ue(r.key),a=""+r.key),Le(r)&&(c=r.ref,Ne(r,o));for(u in r)w.call(r,u)&&!Ve.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||c){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&qe(i,l),c&&Be(i,l)}return Ge(e,a,c,o,n,_.current,i)}}var M=b.ReactCurrentOwner,fe=b.ReactDebugCurrentFrame;function h(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);fe.setExtraStackFrame(t)}else fe.setExtraStackFrame(null)}var V;V=!1;function L(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function ce(){{if(M.current){var e=d(M.current.type);if(e)return`
|
|
14
|
-
|
|
15
|
-
Check the render method of \``+e+"`."}return""}}function Je(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
16
|
-
|
|
17
|
-
Check your code at `+r+":"+t+"."}return""}}var ve={};function Ke(e){{var r=ce();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
18
|
-
|
|
19
|
-
Check the top-level render call using <`+t+">.")}return r}}function de(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Ke(r);if(ve[t])return;ve[t]=!0;var n="";e&&e._owner&&e._owner!==M.current&&(n=" It was passed a child from "+d(e._owner.type)+"."),h(e),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),h(null)}}function pe(e,r){{if(typeof e!="object")return;if($(e))for(var t=0;t<e.length;t++){var n=e[t];L(n)&&de(n,r)}else if(L(e))e._store&&(e._store.validated=!0);else if(e){var o=me(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)L(i.value)&&de(i.value,r)}}}function He(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===T||r.$$typeof===C))t=r.propTypes;else return;if(t){var n=d(r);We(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!V){V=!0;var o=d(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xe(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){h(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),h(null);break}}e.ref!==null&&(h(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),h(null))}}function ge(e,r,t,n,o,u){{var i=je(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c=Je(o);c?a+=c:a+=ce();var s;e===null?s="null":$(e)?s="array":e!==void 0&&e.$$typeof===x?(s="<"+(d(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=ze(e,r,t,o,u);if(l==null)return l;if(i){var v=r.children;if(v!==void 0)if(n)if($(v)){for(var E=0;E<v.length;E++)pe(v[E],e);Object.freeze&&Object.freeze(v)}else f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else pe(v,e)}return e===m?Xe(l):He(l),l}}function Ze(e,r,t){return ge(e,r,t,!0)}function Qe(e,r,t){return ge(e,r,t,!1)}var er=Qe,rr=Ze;R.__exports.Fragment=m,R.__exports.jsx=er,R.__exports.jsxs=rr}()),R.__exports}exports.__require=nr;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs47.js"),i=require("./index.cjs48.js"),m=({label:e,description:s,errorMessage:x,isDisabled:n,isInvalid:l,children:r,renderLabelIcon:u})=>!e&&!s&&!r?null:t.jsxRuntimeExports.jsxs("div",{className:"flex flex-col",children:[e?t.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-x-1",children:[t.jsxRuntimeExports.jsx("p",{className:i.cn("text-sm font-semibold",n?"text-neutral-600":"text-neutral-900"),children:e}),u?t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:u}):null]}):r,s&&!x&&t.jsxRuntimeExports.jsx("p",{className:i.cn("text-xs",n?"text-neutral-600":"text-neutral-800"),children:s}),l&&x&&t.jsxRuntimeExports.jsx("p",{className:"text-sm text-red-500",children:x})]});exports.ContentSwitch=m;
|
package/dist/index.cjs95.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs47.js"),s=require("./index.cjs48.js"),a=require("./index.cjs71.js"),c=({isSelected:t,isDisabled:e,isHovered:n,size:i,dimensions:r})=>o.jsxRuntimeExports.jsx("div",{className:s.cn(a.indicatorVariants({isSelected:t,isDisabled:e,size:i,isHoveredWhenOff:n&&!t})),style:{left:t?`${r.onLeft}px`:`${r.offLeft}px`}});exports.SwitchIndicator=c;
|
package/dist/index.cjs96.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs47.js"),h=require("./index.cjs48.js"),v=require("./index.cjs129.js"),P=({state:e,type:n,showTypeValue:c,suffix:t,classNameFilled:m,classNameUnfilled:a,modeTooltip:d,positionTooltip:b,classNameThumb:x,isHiddenValue:j,suffixRangeCustom:r})=>l.jsxRuntimeExports.jsxs("div",{className:"relative",children:[c==="default"&&!j?l.jsxRuntimeExports.jsxs("div",{className:"flex justify-between",children:[l.jsxRuntimeExports.jsxs("div",{className:"absolute top-4 text-sm text-neutral-900",style:{left:`${e.getThumbPercent(0)*100}%`,transform:"translateX(-50%)"},children:[e.values[0],n==="range"&&(r==null?void 0:r.left)||t]}),n==="range"&&l.jsxRuntimeExports.jsxs("div",{className:"absolute top-4 text-sm text-neutral-900",style:{left:`${e.getThumbPercent(1)*100}%`,transform:"translateX(-50%)"},children:[e.values[1],(r==null?void 0:r.right)||t]})]}):null,l.jsxRuntimeExports.jsx("div",{className:h.cn("absolute top-1/2 h-2 w-full -translate-y-1/2 rounded-full bg-primary-100",a)}),l.jsxRuntimeExports.jsx("div",{className:h.cn("absolute top-1/2 h-2 -translate-y-1/2 rounded-full bg-primary-500",m),style:{width:`${n==="range"?e.getThumbPercent(1)*100-e.getThumbPercent(0)*100:e.getThumbPercent(0)*100}%`,left:n==="range"?`${e.getThumbPercent(0)*100}%`:"0%"}}),n==="range"?l.jsxRuntimeExports.jsxs(l.jsxRuntimeExports.Fragment,{children:[l.jsxRuntimeExports.jsx(v.SliderThumb,{index:0,valuePercent:e.getThumbPercent(0),value:e.values[0],suffix:(r==null?void 0:r.left)||t,modeTooltip:d,positionTooltip:b,showTypeValue:c,isHiddenValue:j,classNameThumb:x}),l.jsxRuntimeExports.jsx(v.SliderThumb,{index:1,valuePercent:e.getThumbPercent(1),value:e.values[1],suffix:(r==null?void 0:r.right)||t,modeTooltip:d,positionTooltip:b,showTypeValue:c,isHiddenValue:j,classNameThumb:x})]}):l.jsxRuntimeExports.jsx(v.SliderThumb,{index:0,valuePercent:e.getThumbPercent(0),value:e.values[0],suffix:t,modeTooltip:d,positionTooltip:b,showTypeValue:c,isHiddenValue:j,classNameThumb:x})]});exports.SliderContainerTrack=P;
|
package/dist/index.cjs97.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(i,f,r=1)=>{if(f==="range"&&Array.isArray(i)&&i.length===2){const[t,e]=i;if(e-t<r){if(t>e-r)return[e-r,e];if(e<t+r)return[t,t+r]}}return i};exports.validateMinDistance=o;
|
package/dist/index.cjs98.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t='after:content-[""] after:absolute after:border-8 after:border-x-transparent',o=`${t} after:left-4 after:top-[100%] after:border-b-transparent`,a=`${t} after:left-1/2 after:top-[100%] after:-translate-x-1/2 after:border-b-transparent`,b=`${t} after:right-4 after:top-[100%] after:border-b-transparent`,l=`${t} after:left-4 after:bottom-[100%] after:border-t-transparent`,n=`${t} after:left-1/2 after:bottom-[100%] after:-translate-x-1/2 after:border-t-transparent`,f=`${t} after:right-4 after:bottom-[100%] after:border-t-transparent`,r='before:content-[""] before:absolute before:top-1/2 before:-translate-y-1/2 before:border-8 before:border-y-transparent',s=`${r} before:right-[100%] before:border-l-transparent`,p=`${r} before:left-[100%] before:border-r-transparent`,d=e.cva("absolute z-20 w-max max-w-[250px] whitespace-normal break-words rounded-lg transition duration-150 ease-in-out shadow-[0px_2px_4px_-2px_#22242A0F,0px_4px_8px_-2px_#22242A1A] py-2 px-3",{variants:{mode:{light:"bg-blue-50 text-neutral-900 after:border-t-blue-50 after:border-b-blue-50 before:border-r-blue-50 before:border-l-blue-50",dark:"bg-blue-900 text-blue-50 after:border-t-blue-900 after:border-b-blue-900 before:border-r-blue-900 before:border-l-blue-900"},hasSupportText:{true:"",false:""},placement:{none:"bottom-full left-1/2 mb-3 -translate-x-1/2","top-start":`bottom-full left-0 mb-3 ${o}`,top:`bottom-full left-1/2 mb-3 -translate-x-1/2 ${a}`,"top-end":`bottom-full right-0 mb-3 ${b}`,right:`left-full top-1/2 ml-3 -translate-y-1/2 ${s}`,"bottom-start":`left-0 top-full mt-3 ${l}`,bottom:`left-1/2 top-full mt-3 -translate-x-1/2 ${n}`,"bottom-end":`right-0 top-full mt-3 ${f}`,left:`right-full top-1/2 mr-3 -translate-y-1/2 ${p}`}},compoundVariants:[{hasSupportText:!0,mode:"dark",class:"text-[16px] text-blue-50 font-semibold leading-5"},{hasSupportText:!0,mode:"light",class:"text-[16px] text-neutral-900 font-semibold leading-5"}]});exports.tooltipVariants=d;
|
package/dist/index.cjs99.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
package/dist/index.es.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Accordion as e } from "./index.es2.js";
|
|
2
2
|
import { AccordionItem as p } from "./index.es3.js";
|
|
3
|
-
import { Badge as
|
|
3
|
+
import { Badge as i } from "./index.es4.js";
|
|
4
4
|
import { badgeVariants as f } from "./index.es5.js";
|
|
5
5
|
import { Breadcrumbs as n } from "./index.es6.js";
|
|
6
|
-
import { Button as
|
|
7
|
-
import { Checkbox as
|
|
8
|
-
import { AssistChip as
|
|
9
|
-
import { ColorPicker as
|
|
10
|
-
import { FilterButton as
|
|
11
|
-
import { FilterChip as
|
|
12
|
-
import { FilterTypeChip as
|
|
6
|
+
import { Button as d } from "./index.es7.js";
|
|
7
|
+
import { Checkbox as s } from "./index.es8.js";
|
|
8
|
+
import { AssistChip as u } from "./index.es9.js";
|
|
9
|
+
import { ColorPicker as I } from "./index.es10.js";
|
|
10
|
+
import { FilterButton as g } from "./index.es11.js";
|
|
11
|
+
import { FilterChip as v } from "./index.es12.js";
|
|
12
|
+
import { FilterTypeChip as h } from "./index.es13.js";
|
|
13
13
|
import { IconButton as P } from "./index.es14.js";
|
|
14
14
|
import { InvisibleInput as A } from "./index.es15.js";
|
|
15
|
-
import { Label as
|
|
16
|
-
import { InvisibleDatepicker as
|
|
17
|
-
import { InvisibleSelect as
|
|
18
|
-
import { InvisibleSelectContent as
|
|
15
|
+
import { Label as M } from "./index.es16.js";
|
|
16
|
+
import { InvisibleDatepicker as D } from "./index.es17.js";
|
|
17
|
+
import { InvisibleSelect as V } from "./index.es18.js";
|
|
18
|
+
import { InvisibleSelectContent as O } from "./index.es19.js";
|
|
19
19
|
import { InvisibleTimeField as j } from "./index.es20.js";
|
|
20
20
|
import { TimePickerPopover as z } from "./index.es21.js";
|
|
21
21
|
import { TimeSegment as G } from "./index.es22.js";
|
|
@@ -27,61 +27,71 @@ import { ProgressBar as _ } from "./index.es27.js";
|
|
|
27
27
|
import { RangeCalendar as rr } from "./index.es28.js";
|
|
28
28
|
import { SearchField as er } from "./index.es29.js";
|
|
29
29
|
import { SelectInput as pr } from "./index.es30.js";
|
|
30
|
-
import { Slider as
|
|
30
|
+
import { Slider as ir } from "./index.es31.js";
|
|
31
31
|
import { StatusChip as fr } from "./index.es32.js";
|
|
32
32
|
import { Stepper as nr } from "./index.es33.js";
|
|
33
|
-
import { StepperCompleted as
|
|
34
|
-
import { StepperStep as
|
|
35
|
-
import { Switch as
|
|
36
|
-
import { Tabs as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
33
|
+
import { StepperCompleted as dr } from "./index.es34.js";
|
|
34
|
+
import { StepperStep as sr } from "./index.es35.js";
|
|
35
|
+
import { Switch as ur } from "./index.es36.js";
|
|
36
|
+
import { Tabs as Ir } from "./index.es37.js";
|
|
37
|
+
import { InputValidationIcon as gr } from "./index.es38.js";
|
|
38
|
+
import { MultiTextField as vr } from "./index.es39.js";
|
|
39
|
+
import { TextField as hr } from "./index.es40.js";
|
|
40
|
+
import { TimeField as Pr } from "./index.es41.js";
|
|
41
|
+
import { useTimeField as Ar } from "./index.es42.js";
|
|
42
|
+
import { Tooltip as Mr } from "./index.es43.js";
|
|
43
|
+
import { TooltipTrigger as Dr } from "./index.es44.js";
|
|
44
|
+
import { Text as Vr } from "./index.es45.js";
|
|
45
|
+
import { Title as Or } from "./index.es46.js";
|
|
46
|
+
import { DialogTrigger as jr, Menu as qr, MenuItem as zr, Popover as Er } from "react-aria-components";
|
|
42
47
|
export {
|
|
43
48
|
e as Accordion,
|
|
44
49
|
p as AccordionItem,
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
u as AssistChip,
|
|
51
|
+
i as Badge,
|
|
47
52
|
n as Breadcrumbs,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
d as Button,
|
|
54
|
+
s as Checkbox,
|
|
55
|
+
I as ColorPicker,
|
|
56
|
+
jr as DialogTrigger,
|
|
57
|
+
g as FilterButton,
|
|
58
|
+
v as FilterChip,
|
|
59
|
+
h as FilterTypeChip,
|
|
55
60
|
P as IconButton,
|
|
56
|
-
|
|
61
|
+
gr as InputValidationIcon,
|
|
62
|
+
D as InvisibleDatepicker,
|
|
57
63
|
A as InvisibleInput,
|
|
58
64
|
W as InvisibleNumberField,
|
|
59
|
-
|
|
60
|
-
|
|
65
|
+
V as InvisibleSelect,
|
|
66
|
+
O as InvisibleSelectContent,
|
|
61
67
|
j as InvisibleTimeField,
|
|
62
|
-
|
|
68
|
+
M as Label,
|
|
63
69
|
J as Loader,
|
|
64
70
|
Q as LoadingOverlay,
|
|
65
|
-
|
|
66
|
-
|
|
71
|
+
qr as Menu,
|
|
72
|
+
zr as MenuItem,
|
|
73
|
+
vr as MultiTextField,
|
|
67
74
|
Y as NumberField,
|
|
68
|
-
|
|
75
|
+
Er as Popover,
|
|
69
76
|
_ as ProgressBar,
|
|
70
77
|
rr as RangeCalendar,
|
|
71
78
|
er as SearchField,
|
|
72
79
|
pr as SelectInput,
|
|
73
|
-
|
|
80
|
+
ir as Slider,
|
|
74
81
|
fr as StatusChip,
|
|
75
82
|
nr as Stepper,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
dr as StepperCompleted,
|
|
84
|
+
sr as StepperStep,
|
|
85
|
+
ur as Switch,
|
|
86
|
+
Ir as Tabs,
|
|
87
|
+
Vr as Text,
|
|
88
|
+
hr as TextField,
|
|
89
|
+
Pr as TimeField,
|
|
81
90
|
z as TimePickerPopover,
|
|
82
91
|
G as TimeSegment,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
f as badgeVariants
|
|
92
|
+
Or as Title,
|
|
93
|
+
Mr as Tooltip,
|
|
94
|
+
Dr as TooltipTrigger,
|
|
95
|
+
f as badgeVariants,
|
|
96
|
+
Ar as useTimeField
|
|
87
97
|
};
|
package/dist/index.es10.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as r } from "./index.
|
|
1
|
+
import { j as r } from "./index.es47.js";
|
|
2
2
|
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
|
-
import { cn as J } from "./index.
|
|
6
|
-
import { ColorArea as K } from "./index.
|
|
7
|
-
import { ColorField as M } from "./index.
|
|
8
|
-
import { ColorSlider as Q } from "./index.
|
|
5
|
+
import { cn as J } from "./index.es48.js";
|
|
6
|
+
import { ColorArea as K } from "./index.es50.js";
|
|
7
|
+
import { ColorField as M } from "./index.es51.js";
|
|
8
|
+
import { ColorSlider as Q } from "./index.es52.js";
|
|
9
9
|
const ne = (v) => {
|
|
10
10
|
const {
|
|
11
11
|
value: l,
|
package/dist/index.es100.js
CHANGED
|
@@ -1,21 +1,32 @@
|
|
|
1
|
-
import t from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { __exports as t } from "./index.es130.js";
|
|
2
|
+
import R from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var p;
|
|
13
|
+
function v() {
|
|
14
|
+
if (p)
|
|
15
|
+
return t;
|
|
16
|
+
p = 1;
|
|
17
|
+
var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function i(o, r, u) {
|
|
19
|
+
var e, n = {}, _ = null, f = null;
|
|
20
|
+
u !== void 0 && (_ = "" + u), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
|
|
21
|
+
for (e in r)
|
|
22
|
+
c.call(r, e) && !y.hasOwnProperty(e) && (n[e] = r[e]);
|
|
23
|
+
if (o && o.defaultProps)
|
|
24
|
+
for (e in r = o.defaultProps, r)
|
|
25
|
+
n[e] === void 0 && (n[e] = r[e]);
|
|
26
|
+
return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: d.current };
|
|
27
|
+
}
|
|
28
|
+
return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
|
|
29
|
+
}
|
|
19
30
|
export {
|
|
20
|
-
|
|
31
|
+
v as __require
|
|
21
32
|
};
|