@simpli-route/apollo-ds 0.1.42 → 0.1.43
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/FilterButton/FilterButton.d.ts +3 -0
- package/dist/components/FilterButton/index.d.ts +1 -0
- package/dist/components/FilterButton/types.d.ts +60 -0
- package/dist/components/FilterButton/variants.d.ts +12 -0
- package/dist/components/SelectInput/PopoverContent.d.ts +12 -0
- package/dist/components/SelectInput/SelectContent.d.ts +16 -0
- package/dist/components/SelectInput/SelectInput.d.ts +6 -0
- package/dist/components/SelectInput/index.d.ts +2 -0
- package/dist/components/SelectInput/types.d.ts +112 -0
- package/dist/components/{Select → SelectInput}/variants.d.ts +6 -7
- package/dist/components/index.d.ts +2 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -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.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.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.cjs153.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -0
- package/dist/index.cjs166.js +1 -0
- package/dist/index.cjs167.js +1 -0
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- 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.cjs3.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.cjs34.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 +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.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.cjs5.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.cjs72.js +1 -1
- package/dist/index.cjs73.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 -9
- package/dist/index.cjs82.js +3 -13
- package/dist/index.cjs83.js +19 -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 -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 -1
- package/dist/index.es.js +50 -50
- package/dist/index.es10.js +45 -33
- package/dist/index.es100.js +2 -4
- package/dist/index.es101.js +30 -26
- package/dist/index.es102.js +57 -2
- package/dist/index.es103.js +4 -8
- package/dist/index.es104.js +27 -341
- package/dist/index.es105.js +2 -166
- package/dist/index.es106.js +10 -190
- package/dist/index.es107.js +339 -48
- package/dist/index.es108.js +166 -2
- package/dist/index.es109.js +190 -4
- package/dist/index.es11.js +38 -76
- package/dist/index.es110.js +42 -12
- package/dist/index.es112.js +2 -43
- package/dist/index.es113.js +21 -7
- package/dist/index.es114.js +2 -5
- package/dist/index.es115.js +44 -26
- package/dist/index.es116.js +7 -192
- package/dist/index.es117.js +7 -16
- package/dist/index.es118.js +21 -347
- package/dist/index.es119.js +187 -19
- package/dist/index.es12.js +77 -32
- package/dist/index.es120.js +8 -11
- package/dist/index.es121.js +345 -146
- package/dist/index.es122.js +18 -11
- package/dist/index.es123.js +11 -9
- package/dist/index.es124.js +144 -201
- package/dist/index.es125.js +13 -64
- package/dist/index.es126.js +9 -6
- package/dist/index.es127.js +211 -4
- package/dist/index.es128.js +68 -4
- package/dist/index.es129.js +14 -4
- package/dist/index.es13.js +32 -113
- package/dist/index.es130.js +2 -2
- package/dist/index.es131.js +2 -2
- package/dist/index.es132.js +2 -2
- package/dist/index.es133.js +2 -2
- package/dist/index.es134.js +2 -2
- package/dist/index.es135.js +2 -2
- package/dist/index.es137.js +2 -2
- package/dist/index.es138.js +2 -2
- package/dist/index.es139.js +2 -1063
- package/dist/index.es14.js +88 -94
- package/dist/index.es140.js +4 -77
- package/dist/index.es141.js +2 -2
- package/dist/index.es142.js +1064 -19
- package/dist/index.es143.js +77 -4
- package/dist/index.es144.js +2 -57
- package/dist/index.es145.js +59 -61
- package/dist/index.es146.js +20 -4
- package/dist/index.es147.js +4 -14
- package/dist/index.es148.js +53 -303
- package/dist/index.es149.js +4 -26
- package/dist/index.es15.js +111 -35
- package/dist/index.es150.js +14 -4
- package/dist/index.es151.js +311 -4
- package/dist/index.es152.js +26 -4
- package/dist/index.es153.js +4 -94
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +2 -8
- package/dist/index.es156.js +86 -20
- package/dist/index.es157.js +2 -2
- package/dist/index.es158.js +10 -51
- package/dist/index.es159.js +21 -12
- package/dist/index.es16.js +41 -138
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +51 -4
- package/dist/index.es162.js +14 -748
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +2 -2
- package/dist/index.es165.js +753 -0
- package/dist/index.es166.js +4 -0
- package/dist/index.es167.js +4 -0
- package/dist/index.es17.js +136 -154
- package/dist/index.es18.js +149 -30
- package/dist/index.es19.js +38 -49
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +48 -36
- package/dist/index.es21.js +37 -104
- package/dist/index.es22.js +102 -89
- package/dist/index.es23.js +82 -101
- package/dist/index.es24.js +107 -72
- package/dist/index.es25.js +74 -142
- package/dist/index.es26.js +93 -39
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +3 -3
- package/dist/index.es3.js +2 -2
- package/dist/index.es31.js +2 -2
- package/dist/index.es32.js +4 -4
- package/dist/index.es33.js +4 -4
- package/dist/index.es34.js +3 -3
- package/dist/index.es35.js +2 -2
- package/dist/index.es36.js +2 -2
- package/dist/index.es37.js +2 -2
- package/dist/index.es38.js +3 -3
- package/dist/index.es39.js +6 -27
- package/dist/index.es4.js +2 -2
- package/dist/index.es40.js +31 -6
- package/dist/index.es42.js +171 -10
- package/dist/index.es43.js +40 -31
- package/dist/index.es44.js +33 -17
- package/dist/index.es45.js +122 -16
- package/dist/index.es46.js +83 -15
- package/dist/index.es47.js +128 -154
- package/dist/index.es48.js +116 -23
- package/dist/index.es49.js +90 -59
- package/dist/index.es5.js +21 -21
- package/dist/index.es50.js +84 -115
- package/dist/index.es51.js +24 -126
- package/dist/index.es52.js +74 -72
- package/dist/index.es53.js +24 -98
- package/dist/index.es54.js +3 -34
- package/dist/index.es55.js +137 -94
- package/dist/index.es56.js +75 -23
- package/dist/index.es57.js +16 -49
- package/dist/index.es58.js +30 -40
- package/dist/index.es59.js +18 -3
- package/dist/index.es6.js +3 -3
- package/dist/index.es60.js +16 -159
- package/dist/index.es61.js +14 -90
- package/dist/index.es62.js +161 -20
- package/dist/index.es63.js +10 -30
- package/dist/index.es64.js +1 -1
- package/dist/index.es65.js +2 -2
- package/dist/index.es66.js +13 -137
- package/dist/index.es67.js +64 -19
- package/dist/index.es68.js +88 -13
- package/dist/index.es69.js +66 -149
- package/dist/index.es7.js +2 -2
- package/dist/index.es70.js +2 -2
- package/dist/index.es72.js +3 -3
- package/dist/index.es73.js +3 -3
- package/dist/index.es75.js +10 -19
- package/dist/index.es76.js +10 -20
- package/dist/index.es77.js +45 -10
- package/dist/index.es78.js +19 -10
- package/dist/index.es79.js +17 -42
- package/dist/index.es8.js +4 -4
- package/dist/index.es80.js +40 -2
- package/dist/index.es81.js +2 -30
- package/dist/index.es82.js +21 -590
- package/dist/index.es83.js +599 -21
- package/dist/index.es84.js +17 -17
- package/dist/index.es85.js +14 -18
- package/dist/index.es86.js +19 -15
- package/dist/index.es87.js +14 -10
- package/dist/index.es88.js +12 -10
- package/dist/index.es89.js +8 -8
- package/dist/index.es9.js +74 -40
- package/dist/index.es90.js +6 -6
- package/dist/index.es91.js +11 -13
- package/dist/index.es92.js +8 -10
- package/dist/index.es93.js +12 -10
- package/dist/index.es94.js +13 -13
- package/dist/index.es95.js +11 -9
- package/dist/index.es96.js +19 -30
- package/dist/index.es97.js +19 -2
- package/dist/index.es98.js +19 -2
- package/dist/index.es99.js +2 -57
- package/dist/stories/SelectInput.stories.d.ts +50 -0
- package/dist/style.css +63 -63
- package/package.json +1 -1
- package/dist/components/Select/Select.d.ts +0 -12
- package/dist/components/Select/SelectContent.d.ts +0 -24
- package/dist/components/Select/SelectItem.d.ts +0 -13
- package/dist/components/Select/TooltipSelect.d.ts +0 -3
- package/dist/components/Select/index.d.ts +0 -3
- package/dist/components/Select/types.d.ts +0 -76
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FilterButtonProps } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const FilterButton: ({ leftIcon, isDisabled, children, className, isLoading, loaderPosition, loaderProps, unstyled, isMobileFullWidth, filterSelected, hideBadgeFilterSelected, ...rest }: FilterButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FilterButton } from './FilterButton';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { LoaderProps } from '..';
|
|
2
|
+
import { ButtonProps as BtnAriaProps } from 'react-aria-components';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
export interface FilterButtonProps extends BtnAriaProps {
|
|
6
|
+
/**
|
|
7
|
+
* Optional click handler
|
|
8
|
+
*/
|
|
9
|
+
onPress?: () => void;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Number of selected filters to display in badge
|
|
13
|
+
*/
|
|
14
|
+
filterSelected?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Optional className to add the root of the button
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Add left icon to the button
|
|
21
|
+
*/
|
|
22
|
+
leftIcon?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Defines if the button is disabled
|
|
25
|
+
*/
|
|
26
|
+
isDisabled?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates if the button is in the loading process
|
|
29
|
+
*/
|
|
30
|
+
isLoading?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Optional props to pass to the loader component
|
|
33
|
+
* @default left
|
|
34
|
+
*/
|
|
35
|
+
loaderPosition?: "left" | "right";
|
|
36
|
+
loaderProps?: LoaderProps;
|
|
37
|
+
/**
|
|
38
|
+
* Wether the button should be full width (take the whole width of the container)
|
|
39
|
+
*/
|
|
40
|
+
fullWidth?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Wether the button should apply styles or remove all styling
|
|
43
|
+
*/
|
|
44
|
+
unstyled?: boolean;
|
|
45
|
+
focus?: boolean;
|
|
46
|
+
id?: string;
|
|
47
|
+
isMobileFullWidth?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Wether the badge filter selected should be hidden
|
|
50
|
+
*/
|
|
51
|
+
hideBadgeFilterSelected?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface RenderItemProps {
|
|
54
|
+
renderPosition: "left" | "right";
|
|
55
|
+
leftIcon?: ReactNode;
|
|
56
|
+
rightIcon?: ReactNode;
|
|
57
|
+
isLoading?: boolean;
|
|
58
|
+
loaderPosition?: "left" | "right";
|
|
59
|
+
loaderProps?: LoaderProps;
|
|
60
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const filterButtonVariants: (props?: ({
|
|
2
|
+
isActive?: boolean | null | undefined;
|
|
3
|
+
isHovered?: boolean | null | undefined;
|
|
4
|
+
isFocused?: boolean | null | undefined;
|
|
5
|
+
isPressed?: boolean | null | undefined;
|
|
6
|
+
isDisabled?: boolean | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export declare const filterButtonBadgeVariants: (props?: ({
|
|
9
|
+
isActive?: boolean | null | undefined;
|
|
10
|
+
isHovered?: boolean | null | undefined;
|
|
11
|
+
isDisabled?: boolean | null | undefined;
|
|
12
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SelectInputItem } from './types';
|
|
2
|
+
|
|
3
|
+
interface PopoverContentProps {
|
|
4
|
+
enableSearch: boolean;
|
|
5
|
+
contains: (string: string, substring: string) => boolean;
|
|
6
|
+
classNameSearchField?: string;
|
|
7
|
+
classNameSearchFieldInput?: string;
|
|
8
|
+
placeholderSearch?: string;
|
|
9
|
+
items: SelectInputItem[];
|
|
10
|
+
}
|
|
11
|
+
export declare const PopoverContent: ({ enableSearch, contains, classNameSearchField, classNameSearchFieldInput, placeholderSearch, items, }: PopoverContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
2
|
+
|
|
3
|
+
interface SelectContentProps {
|
|
4
|
+
ref: ForwardedRef<HTMLButtonElement>;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
7
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
classNameButton?: string;
|
|
10
|
+
selectionMode: "single" | "multiple";
|
|
11
|
+
maxLengthTextOption: number;
|
|
12
|
+
handleDeleteOptionSelected: (key: string | number) => void;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const SelectContent: ({ ref, isOpen, setIsOpen, size, isDisabled, classNameButton, selectionMode, maxLengthTextOption, handleDeleteOptionSelected, placeholder, }: SelectContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Key, SelectProps as AriaSelectProps } from 'react-aria-components';
|
|
2
|
+
|
|
3
|
+
export interface SelectInputItem {
|
|
4
|
+
/**
|
|
5
|
+
* The value/id of the item
|
|
6
|
+
*/
|
|
7
|
+
value: string | number;
|
|
8
|
+
/**
|
|
9
|
+
* The label to display for the item
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the item is disabled
|
|
14
|
+
*/
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface SelectInputProps<T extends SelectInputItem = SelectInputItem> extends Omit<AriaSelectProps<T>, "children" | "onChange" | "onSelectionChange" | "value" | "defaultValue" | "selectionMode"> {
|
|
18
|
+
/**
|
|
19
|
+
* Label for the select
|
|
20
|
+
*/
|
|
21
|
+
label?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Array of items to display in the select ( The array must contain value and label. )
|
|
24
|
+
*/
|
|
25
|
+
items: T[];
|
|
26
|
+
/**
|
|
27
|
+
* Selection mode
|
|
28
|
+
* @default "single"
|
|
29
|
+
*/
|
|
30
|
+
selectionMode?: "single" | "multiple";
|
|
31
|
+
/**
|
|
32
|
+
* Current value (single mode: Key | null, multiple mode: Key[])
|
|
33
|
+
*/
|
|
34
|
+
value?: Key | Key[] | null;
|
|
35
|
+
/**
|
|
36
|
+
* Default value (single mode: Key, multiple mode: Key[])
|
|
37
|
+
*/
|
|
38
|
+
defaultValue?: Key | Key[];
|
|
39
|
+
/**
|
|
40
|
+
* Placeholder text when no selection
|
|
41
|
+
* @default "Select"
|
|
42
|
+
*/
|
|
43
|
+
placeholder?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the select is disabled
|
|
46
|
+
*/
|
|
47
|
+
isDisabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the select is required
|
|
50
|
+
*/
|
|
51
|
+
isRequired?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Size of the select
|
|
54
|
+
* @default "xs"
|
|
55
|
+
*/
|
|
56
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
57
|
+
/**
|
|
58
|
+
* Custom className for the select container
|
|
59
|
+
*/
|
|
60
|
+
className?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Custom className for the label
|
|
63
|
+
*/
|
|
64
|
+
classNameLabel?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Custom className for the button
|
|
67
|
+
*/
|
|
68
|
+
classNameButton?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Custom className for the popover
|
|
71
|
+
*/
|
|
72
|
+
classNamePopover?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Custom className for the search field
|
|
75
|
+
*/
|
|
76
|
+
classNameSearchField?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Custom className for the search field input
|
|
79
|
+
*/
|
|
80
|
+
classNameSearchFieldInput?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Tooltip text for the label
|
|
83
|
+
*/
|
|
84
|
+
tooltipText?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Tooltip support text
|
|
87
|
+
*/
|
|
88
|
+
tooltipSupportText?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Tooltip props
|
|
91
|
+
*/
|
|
92
|
+
tooltipProps?: any;
|
|
93
|
+
/**
|
|
94
|
+
* onChange handler
|
|
95
|
+
*/
|
|
96
|
+
onChange?: (value: Key | Key[] | null) => void;
|
|
97
|
+
/**
|
|
98
|
+
* Max length of the text option selected (for multiple mode)
|
|
99
|
+
* @default 18
|
|
100
|
+
*/
|
|
101
|
+
maxLengthTextOption?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Placeholder for the search input
|
|
104
|
+
* @default "Search"
|
|
105
|
+
*/
|
|
106
|
+
placeholderSearch?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Whether to enable the search input
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
enableSearch?: boolean;
|
|
112
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const selectInputButtonVariants: (props?: ({
|
|
2
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
2
3
|
isDisabled?: boolean | null | undefined;
|
|
3
|
-
isFocusVisible?: boolean | null | undefined;
|
|
4
4
|
isHovered?: boolean | null | undefined;
|
|
5
|
-
|
|
5
|
+
isFocusVisible?: boolean | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export declare const
|
|
8
|
-
isDisabled?: boolean | null | undefined;
|
|
9
|
-
isLastItem?: boolean | null | undefined;
|
|
7
|
+
export declare const selectInputBadgeVariants: (props?: ({
|
|
10
8
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
11
|
-
|
|
9
|
+
isDisabled?: boolean | null | undefined;
|
|
12
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
export declare const selectInputPopoverVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -4,6 +4,7 @@ export * from './Button';
|
|
|
4
4
|
export * from './Checkbox';
|
|
5
5
|
export * from './Chips';
|
|
6
6
|
export * from './ColorPicker';
|
|
7
|
+
export * from './FilterButton';
|
|
7
8
|
export * from './FilterChip';
|
|
8
9
|
export * from './IconButton';
|
|
9
10
|
export * from './Input';
|
|
@@ -15,7 +16,7 @@ export * from './LoadingOverlay';
|
|
|
15
16
|
export * from './NumberField';
|
|
16
17
|
export * from './ProgressBar';
|
|
17
18
|
export * from './SearchField';
|
|
18
|
-
export * from './
|
|
19
|
+
export * from './SelectInput';
|
|
19
20
|
export * from './Slider';
|
|
20
21
|
export * from './StatusChip';
|
|
21
22
|
export * from './Stepper';
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs2.js"),r=require("./index.cjs3.js"),i=require("./index.cjs4.js"),t=require("./index.cjs5.js"),o=require("./index.cjs6.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs2.js"),r=require("./index.cjs3.js"),i=require("./index.cjs4.js"),t=require("./index.cjs5.js"),o=require("./index.cjs6.js"),n=require("./index.cjs7.js"),c=require("./index.cjs8.js"),s=require("./index.cjs9.js"),l=require("./index.cjs10.js"),u=require("./index.cjs11.js"),p=require("./index.cjs12.js"),b=require("./index.cjs13.js"),S=require("./index.cjs14.js"),q=require("./index.cjs15.js"),d=require("./index.cjs16.js"),I=require("./index.cjs17.js"),a=require("./index.cjs18.js"),m=require("./index.cjs19.js"),T=require("./index.cjs20.js"),v=require("./index.cjs21.js"),h=require("./index.cjs22.js"),C=require("./index.cjs23.js"),F=require("./index.cjs24.js"),g=require("./index.cjs25.js"),B=require("./index.cjs26.js"),P=require("./index.cjs27.js"),k=require("./index.cjs28.js"),A=require("./index.cjs29.js"),L=require("./index.cjs30.js"),x=require("./index.cjs31.js"),N=require("./index.cjs32.js"),y=require("./index.cjs33.js"),O=require("./index.cjs34.js"),w=require("./index.cjs35.js"),D=require("./index.cjs36.js"),f=require("./index.cjs37.js");exports.Accordion=e.Accordion;exports.AccordionItem=r.AccordionItem;exports.Breadcrumbs=i.Breadcrumbs;exports.Button=t.Button;exports.Checkbox=o.Checkbox;exports.AssistChip=n.AssistChip;exports.ColorPicker=c.ColorPicker;exports.FilterButton=s.FilterButton;exports.FilterChip=l.FilterChip;exports.IconButton=u.IconButton;exports.InvisibleInput=p.InvisibleInput;exports.Label=b.Label;exports.InvisibleDatepicker=S.InvisibleDatepicker;exports.InvisibleSelect=q.InvisibleSelect;exports.InvisibleSelectItem=d.InvisibleSelectItem;exports.InvisibleTimeField=I.InvisibleTimeField;exports.TimePickerPopover=a.TimePickerPopover;exports.TimeSegment=m.TimeSegment;exports.Loader=T.Loader;exports.LoadingOverlay=v.LoadingOverlay;exports.InvisibleNumberField=h.InvisibleNumberField;exports.NumberField=C.NumberField;exports.ProgressBar=F.ProgressBar;exports.SearchField=g.SearchField;exports.SelectInput=B.SelectInput;exports.Slider=P.Slider;exports.StatusChip=k.StatusChip;exports.Stepper=A.Stepper;exports.StepperCompleted=L.StepperCompleted;exports.StepperStep=x.StepperStep;exports.Switch=N.Switch;exports.Tabs=y.Tabs;exports.Tooltip=O.Tooltip;exports.TooltipTrigger=w.TooltipTrigger;exports.Text=D.Text;exports.Title=f.Title;
|
package/dist/index.cjs10.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.cjs38.js"),f=require("./index.cjs40.js"),q=require("react"),h=require("react-aria-components"),a=require("./index.cjs39.js"),S=require("./index.cjs46.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.cjs100.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.cjs101.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
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.cjs102.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 e=require("./index.cjs38.js"),l=require("react-aria-components"),r=require("./index.cjs39.js"),x=require("./index.cjs34.js"),d=require("./index.cjs35.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.cjs103.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
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.cjs104.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const l=require("./index.cjs105.js");require("./index.cjs109.js");require("./index.cjs110.js");const f=require("./index.cjs111.js"),s=require("./index.cjs112.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.cjs105.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/index.cjs106.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./index.cjs103.js");require("./index.cjs113.js");const l=require("./index.cjs114.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.cjs107.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.cjs103.js"),k=require("./index.cjs115.js"),y=require("./index.cjs116.js"),v=require("./index.cjs106.js"),x=require("./index.cjs117.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.cjs108.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.cjs103.js"),o=require("./index.cjs116.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.cjs109.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(
|
|
1
|
+
"use strict";const R=require("./index.cjs111.js");require("./index.cjs118.js");require("./index.cjs119.js");require("./index.cjs120.js");require("./index.cjs121.js");require("./index.cjs122.js");require("./index.cjs123.js");require("./index.cjs124.js");require("./index.cjs125.js");require("./index.cjs126.js");require("./index.cjs127.js");require("./index.cjs128.js");require("./index.cjs129.js");const j=require("./index.cjs130.js"),K=require("./index.cjs131.js"),V=require("./index.cjs132.js"),W=require("./index.cjs133.js"),B=require("./index.cjs134.js"),G=require("./index.cjs135.js"),H=require("./index.cjs136.js"),I=require("./index.cjs137.js"),J=require("./index.cjs138.js"),N=require("./index.cjs139.js"),Q=require("./index.cjs140.js"),X=require("./index.cjs141.js");(function(_){Object.defineProperty(_,"__esModule",{value:!0}),Object.defineProperty(_,"default",{enumerable:!0,get:function(){return M}});const P=s(V.__exports),m=s(W.__exports),v=s(B.__exports),x=s(G.__exports),p=j.__exports,h=X.__exports,A=K.__exports,l=s(H.__exports),y=I.__exports,C=J.__exports,O=N.__exports,z=s(Q.__exports);function s(e){return e&&e.__esModule?e:{default:e}}function f(e){return typeof e=="function"}function c(e,...r){let i=r.pop();for(let t of r)for(let n in t){let o=i(e[n],t[n]);o===void 0?(0,l.default)(e[n])&&(0,l.default)(t[n])?e[n]=c({},e[n],t[n],i):e[n]=t[n]:e[n]=o}return e}const a={colors:x.default,negative(e){return Object.keys(e).filter(r=>e[r]!=="0").reduce((r,i)=>{let t=(0,P.default)(e[i]);return t!==void 0&&(r[`-${i}`]=t),r},{})},breakpoints(e){return Object.keys(e).filter(r=>typeof e[r]=="string").reduce((r,i)=>({...r,[`screen-${i}`]:e[i]}),{})}};function F(e,...r){return f(e)?e(...r):e}function b(e){return e.reduce((r,{extend:i})=>c(r,i,(t,n)=>t===void 0?[n]:Array.isArray(t)?[n,...t]:[n,t]),{})}function w(e){return{...e.reduce((r,i)=>(0,p.defaults)(r,i),{}),extend:b(e)}}function q(e,r){if(Array.isArray(e)&&(0,l.default)(e[0]))return e.concat(r);if(Array.isArray(r)&&(0,l.default)(r[0])&&(0,l.default)(e))return[e,...r];if(Array.isArray(r))return r}function E({extend:e,...r}){return c(r,e,(i,t)=>!f(i)&&!t.some(f)?c({},i,...t,q):(n,o)=>c({},...[i,...t].map(u=>F(u,n,o)),q))}function*D(e){let r=(0,h.toPath)(e);if(r.length===0||(yield r,Array.isArray(e)))return;let i=/^(.*?)\s*\/\s*([^/]+)$/,t=e.match(i);if(t!==null){let[,n,o]=t,u=(0,h.toPath)(n);u.alpha=o,yield u}}function L(e){const r=(i,t)=>{for(const n of D(i)){let o=0,u=e;for(;u!=null&&o<n.length;)u=u[n[o++]],u=f(u)&&(n.alpha===void 0||o<=n.length-1)?u(r,a):u;if(u!==void 0){if(n.alpha!==void 0){let d=(0,C.parseColorFormat)(u);return(0,O.withAlphaValue)(d,n.alpha,(0,z.default)(d))}return(0,l.default)(u)?(0,y.cloneDeep)(u):u}}return t};return Object.assign(r,{theme:r,...a}),Object.keys(e).reduce((i,t)=>(i[t]=f(e[t])?e[t](r,a):e[t],i),{})}function g(e){let r=[];return e.forEach(i=>{r=[...r,i];var t;const n=(t=i==null?void 0:i.plugins)!==null&&t!==void 0?t:[];n.length!==0&&n.forEach(o=>{o.__isOptionsFunction&&(o=o());var u;r=[...r,...g([(u=o==null?void 0:o.config)!==null&&u!==void 0?u:{}])]})}),r}function U(e){return[...e].reduceRight((i,t)=>f(t)?t({corePlugins:i}):(0,v.default)(t,i),m.default)}function $(e){return[...e].reduceRight((i,t)=>[...i,...t],[])}function M(e){let r=[...g(e),{prefix:"",important:!1,separator:":"}];var i,t;return(0,A.normalizeConfig)((0,p.defaults)({theme:L(E(w(r.map(n=>(i=n==null?void 0:n.theme)!==null&&i!==void 0?i:{})))),corePlugins:U(r.map(n=>n.corePlugins)),plugins:$(e.map(n=>(t=n==null?void 0:n.plugins)!==null&&t!==void 0?t:[]))},...r))}})(R.__exports);
|
package/dist/index.cjs11.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.cjs38.js"),q=require("react"),n=require("react-aria-components"),B=require("./index.cjs39.js"),R=require("./index.cjs62.js");function g(c,a){const[u,l]=n.useContextProps(c,a,n.ButtonContext),{intent:d="secondary",size:m="lg",isDisabled:o=!1,isActive:p=!1,children:e,className:x,...f}=u,r="flex h-full items-center overflow-hidden whitespace-nowrap";return s.jsxRuntimeExports.jsx(n.Button,{ref:l,className:({isPressed:t,isHovered:j,isFocusVisible:h})=>B.cn(R.buttonVariants({intent:d,size:m,isDisabled:o,isActive:p||t,isHovered:j,isFocused:h}),x),isDisabled:o,...f,children:typeof e=="function"?t=>s.jsxRuntimeExports.jsx("span",{className:r+"p-2.",children:e(t)}):s.jsxRuntimeExports.jsx("span",{className:r,children:e})})}const i=q.forwardRef(g);i.displayName="IconButton";exports.IconButton=i;
|
package/dist/index.cjs110.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const f=require("./index.cjs112.js"),d=require("./index.cjs142.js");require("./index.cjs143.js");const p=require("./index.cjs144.js");(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});const a=u(d.config_full),s=p.__exports;function u(e){return e&&e.__esModule?e:{default:e}}function i(e){var l;const o=((l=e==null?void 0:e.presets)!==null&&l!==void 0?l:[a.default]).slice().reverse().flatMap(t=>i(t instanceof Function?t():t)),n={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:t})=>({DEFAULT:"#3b82f67f",...t("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},c=Object.keys(n).filter(t=>(0,s.flagEnabled)(e,t)).map(t=>n[t]);return[e,...c,...o]}})(f.__exports);
|
package/dist/index.cjs112.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.cjs113.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const c=require("./index.cjs114.js");require("./index.cjs126.js");const o=require("./index.cjs142.js"),f=require("./index.cjs137.js");(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const u=f.__exports,n=r(o.config_full);function r(e){return e&&e.__esModule?e:{default:e}}const l=(0,u.cloneDeep)(n.default.theme)})(c.__exports);
|
package/dist/index.cjs114.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.cjs115.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs145.js");var t=c.shorterCssColorNames,a={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function s(e){return e.trim().replace(a.whitespace," ")}function n(e){return encodeURIComponent(e).replace(a.urlHexPairs,u)}function i(e){return Object.keys(t).forEach(function(r){t[r].test(e)&&(e=e.replace(t[r],r))}),e}function u(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function o(e){if(typeof e!="string")throw new TypeError("Expected a string, but received "+typeof e);e.charCodeAt(0)===65279&&(e=e.slice(1));var r=i(s(e)).replace(a.quotes,"'");return"data:image/svg+xml,"+n(r)}o.toSrcset=function(r){return o(r).replace(/ /g,"%20")};var l=o;exports.miniSvgDataUri=l;
|
package/dist/index.cjs116.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs146.js");const t=require("./index.cjs147.js");let e=t.__exports;var r=(e.__esModule?e:{default:e}).default;exports.plugin=r;
|
package/dist/index.cjs117.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs121.js");const o=require("./index.cjs135.js");let e=o.__exports;var r=(e.__esModule?e:{default:e}).default;exports.colors_1=r;
|
package/dist/index.cjs118.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./index.cjs132.js");(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}});function r(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,t=>t==="-"?"":"-");let c=["var","calc","min","max","clamp"];for(const t of c)if(e.includes(`${t}(`))return`calc(${e} * -1)`}})(i.__exports);
|
package/dist/index.cjs119.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const o=require("./index.cjs133.js");(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});const e=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]})(o.__exports);
|
package/dist/index.cjs12.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.cjs38.js"),N=require("react"),r=require("react-aria-components"),n=require("./index.cjs39.js"),t=require("./index.cjs52.js"),f=N.forwardRef(({size:l="bodyDefault",orientation:u="vertical",label:o,placeholder:m,captionError:i,validationState:s,className:p,inputClassName:v,labelClassName:j,captionErrorClassName:I,isDisabled:d=!1,...b},h)=>{const R=(a,c,x)=>d?"disabled":s==="invalid"?"error":c||x?"active":a?"hover":"default";return e.jsxRuntimeExports.jsxs(r.TextField,{className:n.cn(t.invisibleInputContainerVariants({size:l,orientation:u}),p),isDisabled:d,isInvalid:s==="invalid",...b,children:[o&&e.jsxRuntimeExports.jsx(r.Label,{className:n.cn(t.invisibleInputLabelVariants({size:l}),j,u==="horizontal"&&s!=="invalid"?"self-center":"self-start"),children:o}),e.jsxRuntimeExports.jsxs("div",{className:n.cn("flex flex-col",u==="horizontal"?"flex-1":"w-full"),children:[e.jsxRuntimeExports.jsx(r.Input,{ref:h,placeholder:m,className:({isHovered:a,isFocusVisible:c,isFocused:x})=>n.cn(t.invisibleInputVariants({size:l,state:R(a,c,x)}),"font-semibold",v)}),i&&s==="invalid"&&e.jsxRuntimeExports.jsx("div",{className:n.cn(t.invisibleInputCaptionVariants({state:"error"}),I),children:i})]}),s==="invalid"&&i&&e.jsxRuntimeExports.jsx(r.FieldError,{className:"sr-only",children:i})]})});f.displayName="InvisibleInput";exports.InvisibleInput=f;
|
package/dist/index.cjs120.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const c=require("./index.cjs134.js");(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});function a(e,u){return e===void 0?u:Array.isArray(e)?e:[...new Set(u.filter(r=>e!==!1&&e[r]!==!1).concat(Object.keys(e).filter(r=>e[r]!==!1)))]}})(c.__exports);
|