@simpli-route/apollo-ds 0.1.64 → 0.1.66
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/TextField/MultiTextField.d.ts +8 -0
- package/dist/components/TextField/MultiTextField.test.d.ts +1 -0
- package/dist/components/TextField/index.d.ts +2 -1
- package/dist/components/TextField/types.d.ts +21 -0
- package/dist/components/TextField/variants.d.ts +5 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +3 -13
- 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.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.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.cjs16.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.cjs170.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.cjs179.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- 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.cjs6.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.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 -3
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -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.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 +3 -1
- package/dist/index.cjs94.js +1 -1
- 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 -9
- package/dist/index.es.js +29 -27
- package/dist/index.es10.js +5 -5
- package/dist/index.es100.js +21 -590
- package/dist/index.es101.js +599 -21
- package/dist/index.es102.js +17 -19
- package/dist/index.es103.js +10 -8
- package/dist/index.es104.js +14 -18
- package/dist/index.es105.js +16 -14
- package/dist/index.es106.js +10 -8
- package/dist/index.es107.js +11 -9
- package/dist/index.es108.js +7 -7
- package/dist/index.es109.js +7 -7
- package/dist/index.es11.js +3 -3
- package/dist/index.es110.js +3 -3
- package/dist/index.es111.js +11 -13
- package/dist/index.es112.js +16 -14
- package/dist/index.es113.js +14 -16
- package/dist/index.es114.js +10 -8
- package/dist/index.es115.js +6 -6
- package/dist/index.es116.js +10 -10
- package/dist/index.es117.js +19 -30
- package/dist/index.es118.js +30 -5
- package/dist/index.es119.js +57 -4
- package/dist/index.es12.js +2 -2
- package/dist/index.es120.js +2 -3
- package/dist/index.es121.js +2 -19
- package/dist/index.es122.js +4 -57
- package/dist/index.es123.js +28 -4
- package/dist/index.es125.js +8 -4
- package/dist/index.es126.js +341 -27
- package/dist/index.es127.js +166 -2
- package/dist/index.es128.js +5 -8
- package/dist/index.es129.js +4 -340
- package/dist/index.es13.js +4 -4
- package/dist/index.es130.js +3 -166
- package/dist/index.es131.js +21 -190
- package/dist/index.es132.js +178 -39
- package/dist/index.es133.js +51 -4
- package/dist/index.es135.js +4 -21
- package/dist/index.es136.js +21 -4
- package/dist/index.es137.js +2 -43
- package/dist/index.es138.js +43 -5
- package/dist/index.es139.js +5 -5
- package/dist/index.es14.js +3 -3
- package/dist/index.es140.js +7 -27
- package/dist/index.es141.js +22 -187
- package/dist/index.es142.js +184 -8
- package/dist/index.es143.js +10 -347
- package/dist/index.es144.js +347 -18
- package/dist/index.es145.js +18 -13
- package/dist/index.es146.js +12 -147
- package/dist/index.es147.js +147 -10
- package/dist/index.es148.js +11 -11
- package/dist/index.es149.js +13 -207
- package/dist/index.es15.js +2 -2
- package/dist/index.es150.js +199 -56
- package/dist/index.es151.js +64 -10
- 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.es157.js +2 -2
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +4 -4
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +2 -2
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +2 -1063
- package/dist/index.es165.js +1064 -76
- package/dist/index.es166.js +77 -4
- package/dist/index.es167.js +2 -57
- package/dist/index.es168.js +59 -20
- package/dist/index.es169.js +20 -4
- package/dist/index.es17.js +2 -2
- package/dist/index.es170.js +2 -8
- package/dist/index.es171.js +10 -61
- package/dist/index.es172.js +61 -4
- package/dist/index.es173.js +4 -14
- package/dist/index.es174.js +10 -307
- package/dist/index.es175.js +304 -19
- package/dist/index.es176.js +26 -4
- package/dist/index.es179.js +4 -94
- package/dist/index.es18.js +3 -3
- package/dist/index.es180.js +94 -4
- package/dist/index.es181.js +4 -28
- package/dist/index.es182.js +28 -4
- package/dist/index.es183.js +2 -2
- package/dist/index.es184.js +4 -51
- package/dist/index.es185.js +47 -15
- package/dist/index.es186.js +19 -4
- package/dist/index.es187.js +2 -2
- package/dist/index.es188.js +4 -753
- package/dist/index.es189.js +753 -4
- package/dist/index.es19.js +2 -2
- package/dist/index.es190.js +4 -0
- package/dist/index.es2.js +2 -2
- package/dist/index.es20.js +3 -3
- package/dist/index.es21.js +2 -2
- 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 +2 -2
- package/dist/index.es26.js +4 -4
- package/dist/index.es27.js +8 -8
- package/dist/index.es28.js +2 -2
- package/dist/index.es29.js +7 -7
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +4 -4
- package/dist/index.es31.js +2 -2
- package/dist/index.es32.js +2 -2
- package/dist/index.es33.js +1 -1
- package/dist/index.es35.js +5 -5
- package/dist/index.es36.js +4 -4
- package/dist/index.es37.js +5 -5
- package/dist/index.es38.js +2 -2
- package/dist/index.es39.js +140 -78
- package/dist/index.es4.js +2 -2
- package/dist/index.es40.js +64 -101
- package/dist/index.es41.js +124 -15
- package/dist/index.es42.js +16 -24
- package/dist/index.es43.js +21 -25
- package/dist/index.es44.js +28 -8
- package/dist/index.es45.js +7 -7
- package/dist/index.es46.js +8 -6
- package/dist/index.es47.js +6 -6
- package/dist/index.es48.js +16 -16
- package/dist/index.es49.js +6 -45
- package/dist/index.es50.js +44 -29
- package/dist/index.es51.js +148 -20
- package/dist/index.es52.js +40 -31
- package/dist/index.es53.js +30 -167
- package/dist/index.es6.js +3 -3
- package/dist/index.es69.js +23 -1
- package/dist/index.es7.js +7 -7
- package/dist/index.es72.js +27 -76
- package/dist/index.es73.js +77 -16
- package/dist/index.es74.js +163 -17
- package/dist/index.es75.js +10 -16
- package/dist/index.es76.js +18 -163
- package/dist/index.es77.js +17 -10
- package/dist/index.es78.js +16 -10
- package/dist/index.es79.js +10 -12
- package/dist/index.es8.js +4 -4
- package/dist/index.es80.js +12 -13
- package/dist/index.es81.js +40 -150
- package/dist/index.es82.js +10 -12
- package/dist/index.es83.js +10 -7
- package/dist/index.es84.js +44 -41
- package/dist/index.es85.js +19 -20
- package/dist/index.es86.js +16 -74
- package/dist/index.es87.js +3 -3
- package/dist/index.es89.js +7 -10
- package/dist/index.es9.js +3 -3
- package/dist/index.es90.js +17 -9
- package/dist/index.es91.js +139 -35
- package/dist/index.es92.js +13 -19
- package/dist/index.es93.js +149 -19
- package/dist/index.es94.js +12 -40
- package/dist/index.es95.js +7 -7
- package/dist/index.es96.js +39 -15
- package/dist/index.es97.js +20 -149
- package/dist/index.es98.js +78 -2
- package/dist/index.es99.js +2 -30
- package/dist/stories/MultiTextField.stories.d.ts +55 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MultiTextFieldProps } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* MultiTextField component for handling multiple validated values with badges
|
|
5
|
+
*
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const MultiTextField: (props: MultiTextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { InputValidationIcon } from './InputValidationIcon';
|
|
2
|
+
export { MultiTextField } from './MultiTextField';
|
|
2
3
|
export { TextField } from './TextField';
|
|
3
|
-
export type { InputValidationIconProps, TextFieldProps } from './types';
|
|
4
|
+
export type { InputValidationIconProps, MultiTextFieldProps, TextFieldProps } from './types';
|
|
@@ -60,3 +60,24 @@ export interface TextFieldProps extends AriaTextFieldProps {
|
|
|
60
60
|
/** Validation state for visual feedback */
|
|
61
61
|
validationState?: "valid" | "invalid";
|
|
62
62
|
}
|
|
63
|
+
export interface MultiTextFieldProps extends Omit<TextFieldProps, "multiline" | "rows"> {
|
|
64
|
+
/** Current input value when controlled */
|
|
65
|
+
inputValue?: string;
|
|
66
|
+
/** Callback function called when input value changes */
|
|
67
|
+
onInputChange?: (value: string) => void;
|
|
68
|
+
/** Callback function to validate a value before adding it as a badge
|
|
69
|
+
* @returns true if the value is valid, false otherwise
|
|
70
|
+
*/
|
|
71
|
+
validateValue?: (value: string) => boolean;
|
|
72
|
+
/** Array of valid values (badges) when controlled */
|
|
73
|
+
values?: string[];
|
|
74
|
+
/** Callback function called when values change */
|
|
75
|
+
onValuesChange?: (values: string[]) => void;
|
|
76
|
+
/** Separator used when pasting multiple values (default: newline) */
|
|
77
|
+
separator?: string | RegExp;
|
|
78
|
+
/** Error message shown when input value is invalid (validation error or duplicate).
|
|
79
|
+
* Only shown when hasInvalidValue is true and errorMessage is not provided.
|
|
80
|
+
* errorMessage takes priority if both are provided.
|
|
81
|
+
*/
|
|
82
|
+
invalidInputErrorMessage?: string;
|
|
83
|
+
}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare const multiTextFieldContainerVariants: (props?: ({
|
|
2
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
3
|
+
isDisabled?: boolean | null | undefined;
|
|
4
|
+
hasInvalidValue?: boolean | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
1
6
|
export declare const textFieldInputVariants: (props?: ({
|
|
2
7
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
3
8
|
isHovered?: boolean | null | undefined;
|
package/dist/index.cjs.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.cjs2.js"),r=require("./index.cjs3.js"),t=require("./index.cjs4.js"),n=require("./index.cjs5.js"),o=require("./index.cjs6.js"),l=require("./index.cjs7.js"),c=require("./index.cjs8.js"),s=require("./index.cjs9.js"),u=require("./index.cjs10.js"),p=require("./index.cjs11.js"),a=require("./index.cjs12.js"),d=require("./index.cjs13.js"),b=require("./index.cjs14.js"),q=require("./index.cjs15.js"),T=require("./index.cjs16.js"),m=require("./index.cjs17.js"),I=require("./index.cjs18.js"),S=require("./index.cjs19.js"),g=require("./index.cjs20.js"),F=require("./index.cjs21.js"),v=require("./index.cjs22.js"),C=require("./index.cjs23.js"),h=require("./index.cjs24.js"),P=require("./index.cjs25.js"),B=require("./index.cjs26.js"),k=require("./index.cjs27.js"),x=require("./index.cjs28.js"),y=require("./index.cjs29.js"),A=require("./index.cjs30.js"),L=require("./index.cjs31.js"),M=require("./index.cjs32.js"),O=require("./index.cjs33.js"),N=require("./index.cjs34.js"),f=require("./index.cjs35.js"),j=require("./index.cjs36.js"),D=require("./index.cjs37.js"),V=require("./index.cjs38.js"),w=require("./index.cjs39.js"),R=require("./index.cjs40.js"),z=require("./index.cjs41.js"),E=require("./index.cjs42.js"),G=require("./index.cjs43.js"),H=require("./index.cjs44.js"),J=require("./index.cjs45.js"),K=require("./index.cjs46.js"),e=require("react-aria-components");exports.Accordion=i.Accordion;exports.AccordionItem=r.AccordionItem;exports.Badge=t.Badge;exports.badgeVariants=n.badgeVariants;exports.Breadcrumbs=o.Breadcrumbs;exports.Button=l.Button;exports.Checkbox=c.Checkbox;exports.AssistChip=s.AssistChip;exports.ColorPicker=u.ColorPicker;exports.FilterButton=p.FilterButton;exports.FilterChip=a.FilterChip;exports.FilterTypeChip=d.FilterTypeChip;exports.IconButton=b.IconButton;exports.InvisibleInput=q.InvisibleInput;exports.Label=T.Label;exports.InvisibleDatepicker=m.InvisibleDatepicker;exports.InvisibleSelect=I.InvisibleSelect;exports.InvisibleSelectContent=S.InvisibleSelectContent;exports.InvisibleTimeField=g.InvisibleTimeField;exports.TimePickerPopover=F.TimePickerPopover;exports.TimeSegment=v.TimeSegment;exports.Loader=C.Loader;exports.LoadingOverlay=h.LoadingOverlay;exports.InvisibleNumberField=P.InvisibleNumberField;exports.NumberField=B.NumberField;exports.ProgressBar=k.ProgressBar;exports.RangeCalendar=x.RangeCalendar;exports.SearchField=y.SearchField;exports.SelectInput=A.SelectInput;exports.Slider=L.Slider;exports.StatusChip=M.StatusChip;exports.Stepper=O.Stepper;exports.StepperCompleted=N.StepperCompleted;exports.StepperStep=f.StepperStep;exports.Switch=j.Switch;exports.Tabs=D.Tabs;exports.InputValidationIcon=V.InputValidationIcon;exports.MultiTextField=w.MultiTextField;exports.TextField=R.TextField;exports.TimeField=z.TimeField;exports.useTimeField=E.useTimeField;exports.Tooltip=G.Tooltip;exports.TooltipTrigger=H.TooltipTrigger;exports.Text=J.Text;exports.Title=K.Title;Object.defineProperty(exports,"DialogTrigger",{enumerable:!0,get:()=>e.DialogTrigger});Object.defineProperty(exports,"Menu",{enumerable:!0,get:()=>e.Menu});Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:()=>e.MenuItem});Object.defineProperty(exports,"Popover",{enumerable:!0,get:()=>e.Popover});
|
package/dist/index.cjs10.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs47.js"),h=require("@react-stately/color"),n=require("react"),l=require("react-aria-components"),T=require("./index.cjs49.js"),z=require("./index.cjs76.js"),B=require("./index.cjs77.js"),H=require("./index.cjs78.js"),L=R=>{const{value:i,onChange:t,className:v,label:w,onBlur:x,onFocus:d,isDisabled:m=!1,isOpen:g,defaultOpen:q,onOpenChange:p,...F}=R,f=i?h.parseColor(i).toFormat("hsb"):h.parseColor("hsl(0, 100%, 50%)").toFormat("hsb"),[s,c]=n.useState(f),[O,C]=n.useState(f.getChannelValue("hue")),[V,a]=n.useState("#"+s.toString("hex").slice(1)),[j,b]=n.useState(!1),[y,I]=n.useState(q??!1),S=g!==void 0,E=S?g:y;n.useEffect(()=>{i&&!j&&a("#"+h.parseColor(i).toString("hex").slice(1))},[i,j]),n.useEffect(()=>{C(s.getChannelValue("hue"))},[s]);const A=e=>{S||I(e),p==null||p(e)},P=e=>{let r=e.target.value;r.startsWith("#")||(r="#"+r);const u=r.slice(1).replace(/[^0-9a-fA-F]/g,"").slice(0,6);if(a("#"+u),u.length===6)try{const $=h.parseColor("#"+u).toFormat("hsb");c($),t==null||t("#"+u)}catch{}},N=e=>{c(e.toFormat("hsb")),a("#"+e.toString("hex").slice(1)),t==null||t("#"+e.toString("hex").replace(/^#*/,""))},k=e=>{C(e.getChannelValue("hue"));const r=s.withChannelValue("hue",e.getChannelValue("hue"));c(r),a("#"+r.toString("hex").slice(1)),t==null||t("#"+r.toString("hex").replace(/^#*/,""))},D=e=>{const r=e.withChannelValue("hue",O);c(r),a("#"+r.toString("hex").slice(1)),t==null||t("#"+r.toString("hex").replace(/^#*/,""))};return o.jsxRuntimeExports.jsxs(l.ColorPicker,{value:s,onChange:N,...F,children:[o.jsxRuntimeExports.jsx(l.Label,{children:w}),o.jsxRuntimeExports.jsxs("div",{className:T.cn("flex w-80 items-center rounded border transition-colors",E?"border-primary-500 ring-1 ring-primary-500":"focus-within:border-primary-500 focus-within:ring-1 focus-within:ring-primary-500",v),tabIndex:-1,children:[o.jsxRuntimeExports.jsxs(l.DialogTrigger,{isOpen:E,onOpenChange:A,children:[o.jsxRuntimeExports.jsx(l.Button,{isDisabled:m,className:"border-none bg-transparent p-0 shadow-none focus:outline-none","aria-label":"Abrir selector de color",children:o.jsxRuntimeExports.jsx(l.ColorSwatch,{color:s,className:"mx-3 size-5 rounded-full border border-neutral-400"})}),o.jsxRuntimeExports.jsx(l.Popover,{placement:"bottom start",children:o.jsxRuntimeExports.jsxs(l.Dialog,{className:"box-border flex min-w-48 flex-col gap-2 overflow-auto bg-white p-4 shadow-md outline-none",children:[o.jsxRuntimeExports.jsx(z.ColorArea,{color:s,onChange:D}),o.jsxRuntimeExports.jsx(H.ColorSlider,{color:s,onChange:k})]})})]}),o.jsxRuntimeExports.jsx(B.ColorField,{isDisabled:m,inputProps:{value:V,onChange:P,onFocus:e=>{b(!0),d==null||d(e)},onBlur:e=>{b(!1),x==null||x(e)}}})]})]})};exports.ColorPicker=L;
|
package/dist/index.cjs100.js
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs120.js"),R=require("react");/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react-jsx-runtime.
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
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;
|
|
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;
|
package/dist/index.cjs101.js
CHANGED
|
@@ -1 +1,19 @@
|
|
|
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.cjs121.js"),tr=require("react");/**
|
|
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;
|
package/dist/index.cjs102.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("react"),e=l,o=({title:a,titleId:r,...t},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":r},t),a?e.createElement("title",{id:r},a):null,e.createElement("path",{d:"M17.833 3.667H17v-.834a.833.833 0 1 0-1.667 0v.834H8.667v-.834a.833.833 0 0 0-1.667 0v.834h-.833A4.17 4.17 0 0 0 2 7.833v10A4.17 4.17 0 0 0 6.167 22h11.666A4.17 4.17 0 0 0 22 17.833v-10a4.17 4.17 0 0 0-4.167-4.166M3.667 7.833a2.5 2.5 0 0 1 2.5-2.5h11.666a2.5 2.5 0 0 1 2.5 2.5v.834H3.667zm14.166 12.5H6.167a2.5 2.5 0 0 1-2.5-2.5v-7.5h16.666v7.5a2.5 2.5 0 0 1-2.5 2.5"}),e.createElement("path",{d:"M12 16.581a1.25 1.25 0 1 0-.001-2.498 1.25 1.25 0 0 0 0 2.498Zm-4.168 0a1.25 1.25 0 1 0 0-2.498 1.25 1.25 0 0 0 0 2.498m8.334 0a1.25 1.25 0 1 0 0-2.498 1.25 1.25 0 0 0 0 2.498"})),c=e.forwardRef(o);var v=c;exports.CalendarIcon_1=v;
|
package/dist/index.cjs103.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 a=require("react"),e=a,n=({title:r,titleId:l,...c},t)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":l},c),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M12 20.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17m0 1.5c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",clipRule:"evenodd"}),e.createElement("path",{d:"M16.505 8.445a.75.75 0 0 1 .05 1.06l-5 5.5a.75.75 0 0 1-1.131-.025l-2.5-3a.75.75 0 1 1 1.152-.96l1.949 2.338 4.42-4.863a.75.75 0 0 1 1.06-.05"})),o=e.forwardRef(n);var i=o;exports.CheckCircleIcon_1=i;
|
package/dist/index.cjs104.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 c=require("react"),e=c,n=({title:r,titleId:l,...t},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},t),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M21.336 3.153a.85.85 0 0 1 .211 1.183l-11.5 16.5a.85.85 0 0 1-1.357.05l-6.5-8a.85.85 0 1 1 1.32-1.072l5.788 7.124L20.153 3.364a.85.85 0 0 1 1.183-.211",clipRule:"evenodd"})),o=e.forwardRef(n);var i=o;exports.CheckIcon_1=i;
|
package/dist/index.cjs105.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"),e=t,n=({title:l,titleId:r,...c},o)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":r},c),l?e.createElement("title",{id:r},l):null,e.createElement("path",{fillRule:"evenodd",d:"M12 3.25c-4.81 0-8.75 3.94-8.75 8.75s3.94 8.75 8.75 8.75 8.75-3.94 8.75-8.75A8.733 8.733 0 0 0 12 3.25M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.571 2 12 2",clipRule:"evenodd"}),e.createElement("path",{fillRule:"evenodd",d:"M11.167 5.453c.394 0 .714.32.714.714v5.952h5.12a.715.715 0 0 1 0 1.43h-5.834a.715.715 0 0 1-.715-.715V6.167c0-.394.32-.714.715-.714",clipRule:"evenodd"})),a=e.forwardRef(n);var d=a;exports.ClockIcon_1=d;
|
package/dist/index.cjs106.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("react"),e=o,c=({title:r,titleId:l,...t},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},t),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M12 20.5a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17m0 1.5c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",clipRule:"evenodd"}),e.createElement("path",{d:"M8.47 14.47a.75.75 0 1 0 1.06 1.06L12 13.06l2.48 2.48a.75.75 0 1 0 1.06-1.06L13.06 12l2.48-2.48a.75.75 0 0 0-1.06-1.06L12 10.94 9.53 8.47a.75.75 0 0 0-1.06 1.06L10.94 12z"})),n=e.forwardRef(c);var s=n;exports.CrossCircleIcon_1=s;
|
package/dist/index.cjs107.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"),e=t,n=({title:r,titleId:l,...o},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},o),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M2.253 2.253a.863.863 0 0 1 1.22 0L12 10.78l8.527-8.527a.863.863 0 1 1 1.22 1.22L13.22 12l8.527 8.527a.863.863 0 1 1-1.22 1.22L12 13.22l-8.527 8.527a.863.863 0 1 1-1.22-1.22L10.78 12 2.253 3.473a.863.863 0 0 1 0-1.22",clipRule:"evenodd"})),s=e.forwardRef(n);var c=s;exports.CrossIcon_1=c;
|
package/dist/index.cjs108.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 a=require("react"),e=a,l=({title:r,titleId:n,...o},t)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":n},o),r?e.createElement("title",{id:n},r):null,e.createElement("path",{d:"M22 7.838a.83.83 0 0 1-.242.592l-6.807 6.807a4.167 4.167 0 0 1-5.899 0L2.245 8.43a.837.837 0 0 1 1.183-1.184l6.807 6.808a2.5 2.5 0 0 0 3.533 0l6.807-6.808A.833.833 0 0 1 22 7.838"})),c=e.forwardRef(l);var i=c;exports.DownChevronIcon_1=i;
|
package/dist/index.cjs109.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("react"),e=o,l=({title:r,titleId:t,...a},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M11.999 2C17.522 2 22 6.477 22 12s-4.478 10-10.001 10S2 17.523 2 12C1.999 6.478 6.476 2 11.999 2m0 1.5a8.501 8.501 0 1 0 0 17 8.501 8.501 0 0 0 0-17m-.004 6.999a.75.75 0 0 1 .744.648l.007.102.004 5.5a.75.75 0 0 1-1.494.103l-.006-.101-.004-5.501a.75.75 0 0 1 .75-.75zM12 7.002A1 1 0 1 1 12.063 9 1 1 0 0 1 12 7.002"})),c=e.forwardRef(l);var s=c;exports.InfoIcon_1=s;
|
package/dist/index.cjs11.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("./index.cjs48.js"),S=require("react"),u=require("react-aria-components"),p=require("./index.cjs49.js"),K=require("./index.cjs23.js"),Q=require("./index.cjs73.js"),U=require("./index.cjs54.js"),B=require("./index.cjs55.js"),W=({renderPosition:t,leftIcon:x,rightIcon:s,isLoading:o,loaderPosition:a,loaderProps:l})=>{const c=t==="left"?x:t==="right"?s:null;return c||o&&a===t?e.jsxRuntimeExports.jsx("span",{className:t==="left"?"mr-1":"ml-1",children:o&&a===t?e.jsxRuntimeExports.jsx(K.Loader,{size:"sm",...l}):c}):null},X=({leftIcon:t,size:x="md",isDisabled:s,children:o,className:a,isLoading:l,loaderPosition:c="left",loaderProps:C,unstyled:y=!1,isMobileFullWidth:F=!1,hideBadgeFilterSelected:I=!1,items:n,value:h,onChange:v,enableSearch:N=!1,placeholderSearch:b="Search",classNameSearchField:O,classNameSearchFieldInput:P,classNamePopover:V,"aria-label":R="Filter",classNameBadge:A,placementPopover:$="bottom start",...w})=>{const{contains:z}=u.useFilter({sensitivity:"base"}),[m,f]=S.useState(!1),[M,H]=S.useState([]),q=h!==void 0,d=q?h:M,E=n&&d?d.length:0,j=E>0,T=r=>{const i=r instanceof Set?Array.from(r):r;q||H(i),v&&v(i),f(!1)},k=()=>{n&&f(!m)},g=e.jsxRuntimeExports.jsxs(u.Button,{"data-disabled":s||void 0,"data-loading":l||void 0,isDisabled:s,...n?{}:{"aria-label":R},className:({isHovered:r,isFocusVisible:i})=>p.cn(y?"":B.filterButtonVariants({size:x,isActive:j,isHovered:r,isFocused:i,isPressed:n?m:!1,isDisabled:s}),a),onPress:k,...w,children:[e.jsxRuntimeExports.jsx(W,{renderPosition:"left",loaderPosition:c,loaderProps:C,isLoading:l,leftIcon:t||e.jsxRuntimeExports.jsx(J.OptionsIcon,{className:"size-[18px]"})}),e.jsxRuntimeExports.jsx("span",{className:p.cn("flex h-full items-center overflow-hidden whitespace-nowrap",F?"w-full":""),children:o}),j&&!I&&e.jsxRuntimeExports.jsx("span",{className:p.cn(B.filterButtonBadgeVariants({isActive:j,isHovered:!1,isDisabled:s}),!s&&"group-hover:bg-primary-500 group-hover:text-primary-100",A),children:E})]});if(!n)return g;const G={selectionMode:"multiple",value:d,onChange:T,"aria-label":R};return e.jsxRuntimeExports.jsxs(u.Select,{...G,children:[g,e.jsxRuntimeExports.jsx(u.Popover,{className:p.cn(U.selectInputPopoverVariants(),"min-w-[200px]",V),isOpen:m,placement:$,onOpenChange:f,children:e.jsxRuntimeExports.jsx(Q.PopoverContent,{enableSearch:N,contains:z,classNameSearchField:O,classNameSearchFieldInput:P,placeholderSearch:b,items:n})})]})};exports.FilterButton=X;
|
package/dist/index.cjs110.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 n=require("react"),e=n,c=({title:r,titleId:t,...a},o)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M2.731 13.742 5.957 17a.833.833 0 0 0 1.183 0 .833.833 0 0 0 0-1.184l-2.967-2.984h16.994a.833.833 0 0 0 0-1.666H4.123L7.14 8.15a.833.833 0 0 0 0-1.15.833.833 0 0 0-1.183 0L2.73 10.207a2.5 2.5 0 0 0 0 3.534Z"})),l=e.forwardRef(c);var i=l;exports.LeftArrowIcon_1=i;
|
package/dist/index.cjs111.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("react"),e=o,l=({title:r,titleId:t,...a},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M16.114 22.138a.88.88 0 0 1-.625-.255l-7.195-7.195a4.403 4.403 0 0 1 0-6.234l7.195-7.195a.884.884 0 0 1 1.25 1.25L9.544 9.704a2.64 2.64 0 0 0 0 3.734l7.195 7.194a.882.882 0 0 1-.625 1.506"})),c=e.forwardRef(l);var i=c;exports.LeftChevronIcon_1=i;
|
package/dist/index.cjs112.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("react"),e=l,o=({title:r,titleId:n,...t},c)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:c,"aria-labelledby":n},t),r?e.createElement("title",{id:n},r):null,e.createElement("path",{fillRule:"evenodd",d:"M2 11.85c0-.47.35-.85.783-.85h18.434c.432 0 .783.38.783.85s-.35.85-.783.85H2.783c-.432 0-.783-.38-.783-.85",clipRule:"evenodd"})),a=e.forwardRef(o);var i=a;exports.MinusIcon_1=i;
|
package/dist/index.cjs113.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("react"),a=o,c=({title:e,titleId:r,...t},n)=>a.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":r},t),e?a.createElement("title",{id:r},e):null,a.createElement("path",{d:"M5 3a1 1 0 0 0-1 1v.5a1 1 0 0 0 0 2V7a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-.5h11a1 1 0 1 0 0-2H9V4a1 1 0 0 0-1-1zm8 6.5a1 1 0 0 0-1 1v.5H4a1 1 0 1 0 0 2h8v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V13h3a1 1 0 1 0 0-2h-3v-.5a1 1 0 0 0-1-1zM7 17a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v.5h8a1 1 0 1 1 0 2h-8v.5a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-.5H4a1 1 0 1 1 0-2h3z"})),i=a.forwardRef(c);var l=i;exports.OptionsIcon_1=l;
|
package/dist/index.cjs114.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 n=require("react"),e=n,o=({title:r,titleId:l,...t},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},t),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M11.885 2c.433 0 .783.35.783.783v8.434h8.549a.783.783 0 1 1 0 1.566h-8.549v8.434a.783.783 0 1 1-1.567 0v-8.434H2.783a.783.783 0 1 1 0-1.566h8.318V2.783c0-.432.351-.783.784-.783",clipRule:"evenodd"})),c=e.forwardRef(o);var s=c;exports.PlusIcon_1=s;
|
package/dist/index.cjs115.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("react"),e=o,l=({title:r,titleId:t,...a},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M8.108 2a.83.83 0 0 1 .591.242l6.807 6.807a4.165 4.165 0 0 1 0 5.899L8.7 21.755a.837.837 0 0 1-1.183-1.183l6.807-6.807a2.5 2.5 0 0 0 0-3.533L7.516 3.425A.833.833 0 0 1 8.108 2"})),c=e.forwardRef(l);var i=c;exports.RightChevronIcon_1=i;
|
package/dist/index.cjs116.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 n=require("react"),e=n,o=({title:r,titleId:a,...t},c)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:c,"aria-labelledby":a},t),r?e.createElement("title",{id:a},r):null,e.createElement("path",{d:"m21.766 20.589-4.97-4.97a8.34 8.34 0 1 0-1.177 1.177l4.97 4.97a.833.833 0 0 0 1.177-1.177m-11.413-3.575a6.66 6.66 0 1 1 6.661-6.66 6.67 6.67 0 0 1-6.66 6.66Z"})),l=e.forwardRef(o);var i=l;exports.SearchIcon_1=i;
|
package/dist/index.cjs117.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("react"),e=o,l=({title:r,titleId:t,...a},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M2 15.892a.83.83 0 0 1 .242-.591l6.807-6.807a4.166 4.166 0 0 1 5.899 0l6.807 6.806a.835.835 0 0 1-.912 1.365.8.8 0 0 1-.271-.181l-6.807-6.807a2.5 2.5 0 0 0-3.533 0l-6.807 6.806A.833.833 0 0 1 2 15.893Z"})),c=e.forwardRef(l);var i=c;exports.UpChevronIcon_1=i;
|
package/dist/index.cjs118.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("absolute inset-0 z-[1000px] overflow-hidden",{variants:{opacity:{sm:"bg-neutral-50/10",md:"bg-neutral-50/20",lg:"bg-neutral-50/30",xl:"bg-neutral-50/50","2xl":"bg-neutral-50/60","3xl":"bg-neutral-50/75"},fixed:{true:"fixed",false:""},center:{true:"flex items-center justify-center",false:""},blur:{sm:"backdrop-blur-sm",md:"backdrop-blur-md",lg:"backdrop-blur-lg",xl:"backdrop-blur-xl","2xl":"backdrop-blur-2xl","3xl":"backdrop-blur-3xl"}}});exports.overlayVariants=e;
|
package/dist/index.cjs119.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"),l=require("react-aria-components"),r=require("./index.cjs49.js"),x=require("./index.cjs43.js"),d=require("./index.cjs44.js"),g=({index:i,valuePercent:c,value:m,suffix:u,modeTooltip:a,positionTooltip:t,showTypeValue:s,classNameThumb:n,isHiddenValue:o})=>e.jsxRuntimeExports.jsx("div",{className:r.cn("absolute",s==="tooltip"&&!o?"top-[-6px]":"top-1/2"),style:{left:`${c*100}%`,transform:"translate(-50%, -50%)"},children:s==="tooltip"&&!o?e.jsxRuntimeExports.jsxs(d.TooltipTrigger,{closeDelay:100,delay:100,children:[e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})}),e.jsxRuntimeExports.jsxs(x.Tooltip,{mode:a,placement:t,size:"sm",className:r.cn("!text-sm",t==="top"?"!mb-6":"!mt-6"),children:[m,u]})]}):e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})});exports.SliderThumb=g;
|
package/dist/index.cjs12.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs47.js"),f=require("./index.cjs48.js"),q=require("react"),h=require("react-aria-components"),a=require("./index.cjs49.js"),S=require("./index.cjs56.js"),R=({size:e="md",label:u,isSelected:c=!1,isDisabled:s=!1,className:l,onSelectionChange:r,onPress:o,...d})=>{const[x,m]=q.useState(c),n=r?c:x,p=()=>{if(s)return;const t=!n;r?r(t):m(t),o&&o({})};return i.jsxRuntimeExports.jsxs(h.Button,{isDisabled:s,className:({isHovered:t,isFocusVisible:j})=>a.cn(S.filterChipVariants({size:e,isSelected:n,isDisabled:s,isHovered:t,isFocused:j}),l),onPress:p,...d,children:[n&&i.jsxRuntimeExports.jsx("span",{"data-testid":"check-icon",children:i.jsxRuntimeExports.jsx(f.CheckIcon,{className:a.cn(e==="xs"||e==="sm"?"size-3":"size-4")})}),u]})};exports.FilterChip=R;
|
package/dist/index.cjs120.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=e;
|
package/dist/index.cjs121.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=e;
|
package/dist/index.cjs122.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 e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
package/dist/index.cjs123.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(
|
|
1
|
+
"use strict";const l=require("./index.cjs124.js");require("./index.cjs132.js");require("./index.cjs133.js");const f=require("./index.cjs134.js"),s=require("./index.cjs135.js");(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});const n=t(f.__exports),u=t(s.__exports);function t(e){return e&&e.__esModule?e:{default:e}}function o(...e){let[,...i]=(0,u.default)(e[0]);return(0,n.default)([...e,...i])}})(l.__exports);
|
package/dist/index.cjs125.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./index.cjs122.js");require("./index.cjs136.js");const l=require("./index.cjs137.js");let e=l.__exports;var t=(e.__esModule?e:{default:e}).default;const r=u.getDefaultExportFromCjs(t);exports.default=r;exports.defaultTheme_1=t;
|
package/dist/index.cjs126.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./index.cjs122.js"),k=require("./index.cjs138.js"),y=require("./index.cjs139.js"),v=require("./index.cjs125.js"),x=require("./index.cjs140.js"),n=k.miniSvgDataUri,z=y.plugin,b=v.defaultTheme_1,o=x.colors_1,[$,{lineHeight:j}]=b.fontSize.base,{spacing:e,borderWidth:f,borderRadius:p}=b;function r(a,c){return a.replace("<alpha-value>",`var(${c}, 1)`)}const C=z.withOptions(function(a={strategy:void 0}){return function({addBase:c,addComponents:w,theme:t}){function g(s,i){let d=t(s);return!d||d.includes("var(")?i:d.replace("<alpha-value>","1")}const l=a.strategy===void 0?["base","class"]:[a.strategy],m=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"border-radius":p.none,"padding-top":e[2],"padding-right":e[3],"padding-bottom":e[2],"padding-left":e[3],"font-size":$,"line-height":j,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":r(t("colors.blue.600",o.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:r(t("colors.gray.500",o.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${n(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${g("colors.gray.500",o.gray[500])}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${e[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":e[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":e[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:e[4],width:e[4],color:r(t("colors.blue.600",o.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":p.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${n('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],u=s=>m.map(i=>i[s]===null?null:{[i[s]]:i.styles}).filter(Boolean);l.includes("base")&&c(u("base")),l.includes("class")&&w(u("class"))}});var T=C;const B=h.getDefaultExportFromCjs(T);exports.default=B;
|
package/dist/index.cjs127.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs122.js"),o=require("./index.cjs139.js"),l=o.plugin;function i(a){return Object.fromEntries(Object.entries(a).filter(([e])=>e!=="DEFAULT"))}var s=l(({addUtilities:a,matchUtilities:e,theme:n})=>{a({"@keyframes enter":n("keyframes.enter"),"@keyframes exit":n("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:n("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:n("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),e({"fade-in":t=>({"--tw-enter-opacity":t}),"fade-out":t=>({"--tw-exit-opacity":t})},{values:n("animationOpacity")}),e({"zoom-in":t=>({"--tw-enter-scale":t}),"zoom-out":t=>({"--tw-exit-scale":t})},{values:n("animationScale")}),e({"spin-in":t=>({"--tw-enter-rotate":t}),"spin-out":t=>({"--tw-exit-rotate":t})},{values:n("animationRotate")}),e({"slide-in-from-top":t=>({"--tw-enter-translate-y":`-${t}`}),"slide-in-from-bottom":t=>({"--tw-enter-translate-y":t}),"slide-in-from-left":t=>({"--tw-enter-translate-x":`-${t}`}),"slide-in-from-right":t=>({"--tw-enter-translate-x":t}),"slide-out-to-top":t=>({"--tw-exit-translate-y":`-${t}`}),"slide-out-to-bottom":t=>({"--tw-exit-translate-y":t}),"slide-out-to-left":t=>({"--tw-exit-translate-x":`-${t}`}),"slide-out-to-right":t=>({"--tw-exit-translate-x":t})},{values:n("animationTranslate")}),e({duration:t=>({animationDuration:t})},{values:i(n("animationDuration"))}),e({delay:t=>({animationDelay:t})},{values:n("animationDelay")}),e({ease:t=>({animationTimingFunction:t})},{values:i(n("animationTimingFunction"))}),a({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),e({"fill-mode":t=>({animationFillMode:t})},{values:n("animationFillMode")}),e({direction:t=>({animationDirection:t})},{values:n("animationDirection")}),e({repeat:t=>({animationIterationCount:t})},{values:n("animationRepeat")})},{theme:{extend:{animationDelay:({theme:a})=>({...a("transitionDelay")}),animationDuration:({theme:a})=>({0:"0ms",...a("transitionDuration")}),animationTimingFunction:({theme:a})=>({...a("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:a})=>({DEFAULT:0,...a("opacity")}),animationTranslate:({theme:a})=>({DEFAULT:"100%",...a("translate")}),animationScale:({theme:a})=>({DEFAULT:0,...a("scale")}),animationRotate:({theme:a})=>({DEFAULT:"30deg",...a("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}});const u=r.getDefaultExportFromCjs(s);exports.default=u;
|
package/dist/index.cjs128.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs47.js"),s=require("./index.cjs48.js"),r=require("./index.cjs14.js"),i=({icon:e,onPress:n,isDisabled:o})=>t.jsxRuntimeExports.jsx(r.IconButton,{intent:"minimal",size:"xxs","data-testid":"clear-icon-button",isDisabled:o,onPress:n,children:e??t.jsxRuntimeExports.jsx(s.CrossIcon,{className:"size-5 text-neutral-700","data-testid":"clear-icon"})});exports.ClearIconButton=i;
|
package/dist/index.cjs129.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs47.js"),r=require("./index.cjs48.js"),c=({icon:e})=>e??t.jsxRuntimeExports.jsx(r.SearchIcon,{className:"size-6 text-neutral-700","data-testid":"search-icon"});exports.SearchIcon=c;
|
package/dist/index.cjs13.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"),m=require("./index.cjs48.js"),i=require("react"),o=require("react-aria-components"),s=require("./index.cjs49.js");require("./index.cjs15.js");const k=require("./index.cjs16.js"),P=require("./index.cjs43.js"),z=require("./index.cjs44.js"),j=require("./index.cjs58.js"),I=({isDisabled:t=!1,classNameLabel:a="",classNameValue:d="",isRequired:f=!1,tooltipText:h="",tooltipSupportText:E="",tooltipProps:T={},filterLabel:R="Filter label",value:c,placeholder:l,className:w,onRemove:x,children:N,placementPopover:g="bottom start",classNamePopover:q,modeTooltip:y="dark",placementTooltip:C="top"})=>{const[r,p]=i.useState(!1),[b,v]=i.useState(!1),n=i.useRef(null);return i.useEffect(()=>{const u=()=>{n.current&&v(n.current.scrollWidth>n.current.clientWidth)};return u(),window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[c,l]),e.jsxRuntimeExports.jsxs(o.DialogTrigger,{children:[e.jsxRuntimeExports.jsxs(o.Button,{className:s.cn(j.filterTypeChipVariants({isDisabled:t,isActive:r}),w),isDisabled:t,onPress:()=>p(!r),children:[e.jsxRuntimeExports.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-0.5",children:[e.jsxRuntimeExports.jsx(o.Button,{className:s.cn("shrink-0 p-0.5 outline-none focus:outline-none",t?"cursor-not-allowed":""),type:"button",isDisabled:t,slot:null,onPress:()=>{x==null||x()},children:e.jsxRuntimeExports.jsx(m.CrossCircleIcon,{className:s.cn("size-5 ",t?"text-neutral-600":"text-primary-400")})}),e.jsxRuntimeExports.jsx(k.Label,{labelClassName:s.cn("shrink-0 text-left text-blue-800 cursor-pointer",{"text-neutral-600 cursor-not-allowed":t,[a||""]:!!a}),isRequired:f,tooltipText:h,tooltipSupportText:E,tooltipProps:T,children:R}),e.jsxRuntimeExports.jsx("div",{className:"w-3 shrink-0 rotate-90 border-[0.5px] border-blue-200"}),e.jsxRuntimeExports.jsxs(z.TooltipTrigger,{isDisabled:t||!b,closeDelay:100,delay:100,className:"flex min-w-0 flex-1",children:[e.jsxRuntimeExports.jsx("div",{className:"flex min-w-0",children:e.jsxRuntimeExports.jsx("span",{ref:n,className:s.cn("min-w-0 text-sm font-semibold ",d,t?"font-normal text-neutral-600":"text-blue-800"),children:c||l})}),e.jsxRuntimeExports.jsx(P.Tooltip,{mode:y,placement:C,className:s.cn("!text-xs"),children:c||l})]})]}),e.jsxRuntimeExports.jsx("div",{className:"shrink-0",children:e.jsxRuntimeExports.jsx(m.DownChevronIcon,{className:s.cn("size-3 ",t?"text-neutral-600":"text-blue-800",r?"rotate-180":"")})})]}),e.jsxRuntimeExports.jsx(o.Popover,{isOpen:r,className:s.cn(j.filterTypeChipPopoverVariants(),q),placement:g,onOpenChange:p,children:N})]})};exports.FilterTypeChip=I;
|
package/dist/index.cjs130.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs47.js"),s=({text:e})=>t.jsxRuntimeExports.jsx("div",{className:"max-h-60 overflow-auto p-4 text-center text-sm text-neutral-600",children:e??"No results found"});exports.NoResultsMessage=s;
|