@simpli-route/apollo-ds 0.1.35 → 0.1.37
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/Breadcrumbs/Breadcrumbs.d.ts +12 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
- package/dist/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/components/Breadcrumbs/types.d.ts +38 -0
- package/dist/components/Breadcrumbs/variants.d.ts +8 -0
- package/dist/components/Input/types.d.ts +10 -10
- package/dist/components/InvisibleTimeField/InvisibleTimeField.d.ts +13 -0
- package/dist/components/InvisibleTimeField/TimePickerPopover.d.ts +3 -0
- package/dist/components/InvisibleTimeField/TimeSegment.d.ts +7 -0
- package/dist/components/InvisibleTimeField/index.d.ts +4 -0
- package/dist/components/InvisibleTimeField/types.d.ts +82 -0
- package/dist/components/InvisibleTimeField/variants.d.ts +14 -0
- package/dist/components/NumberField/InvisibleNumberField.d.ts +12 -0
- package/dist/components/NumberField/index.d.ts +2 -0
- package/dist/components/NumberField/types.d.ts +58 -0
- package/dist/components/NumberField/variants.d.ts +11 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +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.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.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.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.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.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.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -0
- package/dist/index.cjs154.js +1 -0
- package/dist/index.cjs155.js +1 -0
- package/dist/index.cjs156.js +1 -0
- package/dist/index.cjs157.js +1 -0
- package/dist/index.cjs158.js +1 -0
- package/dist/index.cjs159.js +1 -0
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -0
- package/dist/index.cjs161.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.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.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.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.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.cjs71.js +1 -9
- package/dist/index.cjs72.js +1 -19
- 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 +9 -1
- package/dist/index.cjs79.js +19 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +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.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.es.js +64 -54
- package/dist/index.es10.js +38 -76
- package/dist/index.es100.js +8 -43
- package/dist/index.es101.js +340 -5
- package/dist/index.es102.js +166 -5
- package/dist/index.es103.js +183 -20
- package/dist/index.es104.js +46 -187
- package/dist/index.es105.js +4 -16
- package/dist/index.es106.js +4 -353
- package/dist/index.es107.js +15 -18
- package/dist/index.es108.js +4 -19
- package/dist/index.es109.js +44 -153
- package/dist/index.es11.js +77 -32
- package/dist/index.es110.js +7 -17
- package/dist/index.es111.js +7 -17
- package/dist/index.es112.js +22 -206
- package/dist/index.es113.js +189 -65
- package/dist/index.es114.js +7 -5
- package/dist/index.es115.js +353 -4
- package/dist/index.es116.js +24 -4
- package/dist/index.es117.js +19 -4
- package/dist/index.es118.js +154 -4
- package/dist/index.es119.js +17 -4
- package/dist/index.es12.js +32 -113
- package/dist/index.es120.js +17 -4
- package/dist/index.es121.js +211 -4
- package/dist/index.es122.js +68 -4
- package/dist/index.es123.js +14 -4
- package/dist/index.es126.js +2 -2
- package/dist/index.es127.js +2 -1063
- package/dist/index.es128.js +4 -77
- package/dist/index.es129.js +2 -2
- package/dist/index.es13.js +106 -43
- package/dist/index.es130.js +2 -57
- package/dist/index.es131.js +4 -20
- package/dist/index.es132.js +2 -2
- package/dist/index.es133.js +4 -61
- package/dist/index.es135.js +4 -14
- package/dist/index.es136.js +1064 -310
- package/dist/index.es137.js +73 -22
- package/dist/index.es139.js +57 -2
- package/dist/index.es14.js +132 -38
- package/dist/index.es140.js +20 -4
- package/dist/index.es141.js +4 -94
- package/dist/index.es142.js +61 -4
- package/dist/index.es143.js +2 -8
- package/dist/index.es144.js +8 -22
- package/dist/index.es145.js +311 -4
- package/dist/index.es146.js +21 -46
- package/dist/index.es147.js +4 -19
- package/dist/index.es149.js +2 -2
- package/dist/index.es15.js +170 -87
- package/dist/index.es150.js +91 -750
- package/dist/index.es152.js +8 -2
- package/dist/index.es153.js +28 -0
- package/dist/index.es154.js +4 -0
- package/dist/index.es155.js +51 -0
- package/dist/index.es156.js +19 -0
- package/dist/index.es157.js +4 -0
- package/dist/index.es158.js +4 -0
- package/dist/index.es159.js +753 -0
- package/dist/index.es16.js +37 -103
- package/dist/index.es160.js +4 -0
- package/dist/index.es161.js +4 -0
- package/dist/index.es17.js +46 -72
- package/dist/index.es18.js +33 -139
- package/dist/index.es19.js +105 -40
- package/dist/index.es2.js +2 -2
- package/dist/index.es20.js +87 -73
- package/dist/index.es21.js +103 -43
- package/dist/index.es22.js +74 -46
- package/dist/index.es23.js +144 -3
- package/dist/index.es24.js +39 -99
- package/dist/index.es25.js +74 -74
- package/dist/index.es26.js +47 -44
- package/dist/index.es27.js +47 -23
- package/dist/index.es28.js +3 -28
- package/dist/index.es29.js +99 -7
- package/dist/index.es3.js +3 -3
- package/dist/index.es30.js +78 -8
- package/dist/index.es31.js +45 -6
- package/dist/index.es32.js +24 -6
- package/dist/index.es33.js +27 -170
- package/dist/index.es34.js +8 -43
- package/dist/index.es35.js +8 -34
- package/dist/index.es36.js +6 -84
- package/dist/index.es37.js +6 -145
- package/dist/index.es38.js +27 -59
- package/dist/index.es39.js +42 -31
- package/dist/index.es4.js +65 -107
- package/dist/index.es40.js +17 -116
- package/dist/index.es41.js +17 -40
- package/dist/index.es42.js +15 -54
- package/dist/index.es43.js +157 -26
- package/dist/index.es44.js +43 -3
- package/dist/index.es45.js +31 -157
- package/dist/index.es46.js +66 -74
- package/dist/index.es47.js +138 -15
- package/dist/index.es48.js +112 -28
- package/dist/index.es49.js +34 -23
- package/dist/index.es5.js +105 -43
- package/dist/index.es50.js +116 -17
- package/dist/index.es51.js +40 -17
- package/dist/index.es52.js +54 -15
- package/dist/index.es53.js +36 -97
- package/dist/index.es54.js +3 -13
- package/dist/index.es55.js +160 -13
- package/dist/index.es56.js +87 -132
- package/dist/index.es57.js +22 -20
- package/dist/index.es58.js +163 -10
- package/dist/index.es59.js +29 -11
- package/dist/index.es6.js +55 -42
- package/dist/index.es60.js +73 -10
- package/dist/index.es61.js +10 -10
- package/dist/index.es62.js +10 -45
- package/dist/index.es63.js +12 -7
- package/dist/index.es64.js +99 -16
- package/dist/index.es65.js +11 -147
- package/dist/index.es66.js +7 -10
- package/dist/index.es67.js +18 -19
- package/dist/index.es68.js +147 -18
- package/dist/index.es69.js +134 -160
- package/dist/index.es7.js +40 -95
- package/dist/index.es70.js +20 -2
- package/dist/index.es71.js +12 -29
- package/dist/index.es72.js +19 -599
- package/dist/index.es73.js +20 -21
- package/dist/index.es74.js +10 -21
- package/dist/index.es75.js +10 -21
- package/dist/index.es76.js +45 -19
- package/dist/index.es77.js +2 -19
- package/dist/index.es78.js +30 -19
- package/dist/index.es79.js +599 -21
- package/dist/index.es8.js +96 -49
- package/dist/index.es80.js +17 -17
- package/dist/index.es81.js +10 -8
- package/dist/index.es82.js +20 -14
- package/dist/index.es83.js +12 -10
- package/dist/index.es84.js +19 -57
- package/dist/index.es85.js +19 -4
- package/dist/index.es86.js +21 -28
- package/dist/index.es87.js +19 -2
- package/dist/index.es88.js +21 -8
- package/dist/index.es89.js +21 -340
- package/dist/index.es9.js +45 -33
- package/dist/index.es90.js +19 -166
- package/dist/index.es91.js +19 -30
- package/dist/index.es92.js +19 -2
- package/dist/index.es93.js +30 -2
- package/dist/index.es94.js +4 -190
- package/dist/index.es95.js +4 -51
- package/dist/index.es96.js +57 -2
- package/dist/index.es97.js +4 -2
- package/dist/index.es98.js +16 -9
- package/dist/stories/Breadcrumbs.stories.d.ts +22 -0
- package/dist/stories/InvisibleNumberField.stories.d.ts +70 -0
- package/dist/stories/InvisibleTimeField.stories.d.ts +77 -0
- package/dist/style.css +96 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BreadcrumbsProps } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Breadcrumbs component **version 0.1 https://www.figma.com/design/h6tZeqNdVEUvrgwOwK4vcY/Design-System---The-Bible?node-id=11443-11695&t=5d0crPmVMaYAbHuf-0 **
|
|
5
|
+
*
|
|
6
|
+
* ### Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import { Breadcrumbs } from "@simpli-route/apollo-ds";
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const Breadcrumbs: ({ items, className, onAction, linkComponent, hiddenIconArrow, isDisabled, classNameLink, classNameCurrentLink, ...props }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BreadcrumbProps as BaseBreadcrumbProps, BreadcrumbsProps as BaseBreadcrumbsProps } from 'react-aria-components';
|
|
2
|
+
|
|
3
|
+
export interface BreadcrumbsProps extends Omit<BaseBreadcrumbsProps<object>, "children"> {
|
|
4
|
+
/** Items del breadcrumb */
|
|
5
|
+
items?: BreadcrumbItemData[];
|
|
6
|
+
/** Clases adicionales para el contenedor */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Componente Link personalizado (ej: Next.js Link)
|
|
9
|
+
* @default Link de react-aria-components
|
|
10
|
+
*/
|
|
11
|
+
linkComponent?: React.ComponentType<any>;
|
|
12
|
+
/** Hidden icon arrow
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
hiddenIconArrow?: boolean;
|
|
16
|
+
/** Disabled
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
/** Clases adicionales para el componente Link */
|
|
21
|
+
classNameLink?: string;
|
|
22
|
+
/** Clases adicionales para el componente Link cuando es el último item (actual) */
|
|
23
|
+
classNameCurrentLink?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface BreadcrumbItemData {
|
|
26
|
+
/** Key del breadcrumb */
|
|
27
|
+
key?: string;
|
|
28
|
+
/** Texto del breadcrumb */
|
|
29
|
+
label: string;
|
|
30
|
+
/** URL del breadcrumb */
|
|
31
|
+
href?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface BreadcrumbItemProps extends BaseBreadcrumbProps {
|
|
34
|
+
/** Datos del item */
|
|
35
|
+
item: BreadcrumbItemData;
|
|
36
|
+
/** Clases adicionales */
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const breadcrumbsContainerVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
2
|
+
export declare const breadcrumbItemVariants: (props?: ({
|
|
3
|
+
isHovered?: boolean | null | undefined;
|
|
4
|
+
isFocusVisible?: boolean | null | undefined;
|
|
5
|
+
isCurrent?: boolean | null | undefined;
|
|
6
|
+
isDisabled?: boolean | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export declare const breadcrumbSeparatorVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -23,30 +23,30 @@ export interface LabelProps extends BaseLabelProps {
|
|
|
23
23
|
labelClassName?: string;
|
|
24
24
|
}
|
|
25
25
|
export interface InvisibleInputProps extends BaseTextFieldProps {
|
|
26
|
-
/**
|
|
26
|
+
/** Component size
|
|
27
27
|
* @default "bodyDefault"
|
|
28
28
|
*/
|
|
29
29
|
size?: "bodySm" | "bodyDefault" | "h5" | "h3";
|
|
30
|
-
/**
|
|
30
|
+
/** Component orientation
|
|
31
31
|
* @default "vertical"
|
|
32
32
|
*/
|
|
33
33
|
orientation?: "horizontal" | "vertical";
|
|
34
|
-
/**
|
|
34
|
+
/** Input label text */
|
|
35
35
|
label?: string;
|
|
36
|
-
/**
|
|
36
|
+
/** Input placeholder */
|
|
37
37
|
placeholder?: string;
|
|
38
|
-
/**
|
|
38
|
+
/** Caption/error text that appears below the input */
|
|
39
39
|
captionError?: string;
|
|
40
|
-
/**
|
|
40
|
+
/** Input validation state
|
|
41
41
|
* @default undefined
|
|
42
42
|
*/
|
|
43
43
|
validationState?: "valid" | "invalid" | undefined;
|
|
44
|
-
/**
|
|
44
|
+
/** Additional classes for the container */
|
|
45
45
|
className?: string;
|
|
46
|
-
/**
|
|
46
|
+
/** Additional classes for the input */
|
|
47
47
|
inputClassName?: string;
|
|
48
|
-
/**
|
|
48
|
+
/** Additional classes for the label */
|
|
49
49
|
labelClassName?: string;
|
|
50
|
-
/**
|
|
50
|
+
/** Additional classes for the error caption */
|
|
51
51
|
captionErrorClassName?: string;
|
|
52
52
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InvisibleTimeFieldProps } from './types';
|
|
2
|
+
import { TimeValue } from 'react-aria-components';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* InvisibleTimeField component **version 0.1** https://www.figma.com/design/h6tZeqNdVEUvrgwOwK4vcY/Design-System---The-Bible?node-id=11433-13328&t=UYsr4CaZw5JlRWFM-4
|
|
6
|
+
*
|
|
7
|
+
* ### Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { InvisibleTimeField } from "@simpli-route/apollo-ds";
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare const InvisibleTimeField: import('react').ForwardRefExoticComponent<InvisibleTimeFieldProps<TimeValue> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TimeSegmentProps } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* TimeSegment component for InvisibleTimeField
|
|
5
|
+
* Handles individual time segment rendering (hours, minutes, seconds)
|
|
6
|
+
*/
|
|
7
|
+
export declare function TimeSegment({ segment, className }: TimeSegmentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { TooltipProps } from '../Tooltip';
|
|
2
|
+
import { DateSegment as DateSegmentAria } from 'react-stately';
|
|
3
|
+
import { TimeFieldProps as TimeFieldAriaProps, TimeValue } from 'react-aria-components';
|
|
4
|
+
|
|
5
|
+
export interface TimeSegmentProps {
|
|
6
|
+
segment: DateSegmentAria;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface TimePickerPopoverProps {
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
12
|
+
value?: TimeValue | null;
|
|
13
|
+
onChange?: (value: TimeValue | null) => void;
|
|
14
|
+
hourCycle?: 12 | 24;
|
|
15
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
16
|
+
confirmButtonLabel?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface InvisibleTimeFieldProps<T extends TimeValue = TimeValue> extends TimeFieldAriaProps<T> {
|
|
19
|
+
/** Component size
|
|
20
|
+
* @default "bodyDefault"
|
|
21
|
+
*/
|
|
22
|
+
size?: "bodySm" | "bodyDefault" | "h5" | "h3";
|
|
23
|
+
/**
|
|
24
|
+
* Component orientation
|
|
25
|
+
* @default "vertical"
|
|
26
|
+
*/
|
|
27
|
+
orientation?: "horizontal" | "vertical";
|
|
28
|
+
/** Input label text */
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Label del botón de confirmación
|
|
32
|
+
*/
|
|
33
|
+
confirmButtonLabel?: string;
|
|
34
|
+
/** Caption/error text that appears below the input */
|
|
35
|
+
captionError?: string;
|
|
36
|
+
/** Input validation state
|
|
37
|
+
* @default undefined
|
|
38
|
+
*/
|
|
39
|
+
validationState?: "valid" | "invalid" | undefined;
|
|
40
|
+
/** Additional classes for the container */
|
|
41
|
+
className?: string;
|
|
42
|
+
/** Additional classes for the date input */
|
|
43
|
+
dateInputClassName?: string;
|
|
44
|
+
/** Additional classes for the date segment */
|
|
45
|
+
dateSegmentClassName?: string;
|
|
46
|
+
/** Additional classes for the label */
|
|
47
|
+
labelClassName?: string;
|
|
48
|
+
/** Additional classes for the error caption */
|
|
49
|
+
captionErrorClassName?: string;
|
|
50
|
+
/** Define if the label is required or not.
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
isRequired?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Optional text to show on a tooltip besides the label
|
|
56
|
+
*/
|
|
57
|
+
tooltipText?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Define a support text
|
|
60
|
+
*/
|
|
61
|
+
tooltipSupportText?: string;
|
|
62
|
+
/** Optional props to pass to the tooltip.
|
|
63
|
+
* @default undefined
|
|
64
|
+
*/
|
|
65
|
+
tooltipProps?: Omit<TooltipProps, "children">;
|
|
66
|
+
/** The minimum allowed time that a user may select */
|
|
67
|
+
minValue?: TimeValue | null;
|
|
68
|
+
/** The maximum allowed time that a user may select */
|
|
69
|
+
maxValue?: TimeValue | null;
|
|
70
|
+
/** Determines the smallest unit that is displayed in the time picker
|
|
71
|
+
* @default "minute"
|
|
72
|
+
*/
|
|
73
|
+
granularity?: "hour" | "minute" | "second";
|
|
74
|
+
/** Whether to display the time in 12 or 24 hour format */
|
|
75
|
+
hourCycle?: 12 | 24;
|
|
76
|
+
/** Whether to hide the time zone abbreviation */
|
|
77
|
+
hideTimeZone?: boolean;
|
|
78
|
+
/** Whether to always show leading zeros in the hour field */
|
|
79
|
+
shouldForceLeadingZeros?: boolean;
|
|
80
|
+
/** A placeholder time that influences the format of the placeholder shown when no value is selected */
|
|
81
|
+
placeholderValue?: T;
|
|
82
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const invisibleTimeFieldGroupVariants: (props?: ({
|
|
2
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
3
|
+
state?: "active" | "disabled" | "error" | "default" | "hover" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export declare const invisibleTimeFieldInputVariants: (props?: ({
|
|
6
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export declare const timeFieldButtonVariants: (props?: ({
|
|
9
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
export declare const invisibleTimeFieldContainerVariants: (props?: ({
|
|
12
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
13
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InvisibleNumberFieldProps } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* InvisibleNumberField component **version 0.1** https://www.figma.com/design/h6tZeqNdVEUvrgwOwK4vcY/Design-System---The-Bible?node-id=10926-2000&t=dUKQ2rhqDiNCUagK-0
|
|
5
|
+
*
|
|
6
|
+
* ### Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import { InvisibleNumberField } from "@simpli-route/apollo-ds";
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const InvisibleNumberField: import('react').ForwardRefExoticComponent<InvisibleNumberFieldProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -53,3 +53,61 @@ export interface NumberFieldProps extends NumberFieldAriaProps {
|
|
|
53
53
|
*/
|
|
54
54
|
minValue?: number;
|
|
55
55
|
}
|
|
56
|
+
export interface InvisibleNumberFieldProps extends NumberFieldAriaProps {
|
|
57
|
+
/** Component size
|
|
58
|
+
* @default "bodyDefault"
|
|
59
|
+
*/
|
|
60
|
+
size?: "bodySm" | "bodyDefault" | "h5" | "h3";
|
|
61
|
+
/** Component orientation
|
|
62
|
+
* @default "vertical"
|
|
63
|
+
*/
|
|
64
|
+
orientation?: "horizontal" | "vertical";
|
|
65
|
+
/** Input label text */
|
|
66
|
+
label?: string;
|
|
67
|
+
/** Input placeholder */
|
|
68
|
+
placeholder?: string;
|
|
69
|
+
/** Caption/error text that appears below the input */
|
|
70
|
+
captionError?: string;
|
|
71
|
+
/** Input validation state
|
|
72
|
+
* @default undefined
|
|
73
|
+
*/
|
|
74
|
+
validationState?: "valid" | "invalid" | undefined;
|
|
75
|
+
/** Additional classes for the container */
|
|
76
|
+
className?: string;
|
|
77
|
+
/** Additional classes for the input */
|
|
78
|
+
inputClassName?: string;
|
|
79
|
+
/** Additional classes for the label */
|
|
80
|
+
labelClassName?: string;
|
|
81
|
+
/** Additional classes for the error caption */
|
|
82
|
+
captionErrorClassName?: string;
|
|
83
|
+
/** Define if the label is required or not.
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
isRequired?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Optional text to show on a tooltip besides the label
|
|
89
|
+
*/
|
|
90
|
+
tooltipText?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Define a support text
|
|
93
|
+
*/
|
|
94
|
+
tooltipSupportText?: string;
|
|
95
|
+
/** Optional props to pass to the tooltip.
|
|
96
|
+
* @default undefined
|
|
97
|
+
*/
|
|
98
|
+
tooltipProps?: Omit<TooltipProps, "children">;
|
|
99
|
+
/** Define the max value allow */
|
|
100
|
+
maxValue?: number;
|
|
101
|
+
/** Define the min value
|
|
102
|
+
* @default 0
|
|
103
|
+
*/
|
|
104
|
+
minValue?: number;
|
|
105
|
+
/** The amount that the input value changes with each increment or decrement "tick" */
|
|
106
|
+
step?: number;
|
|
107
|
+
/** Formatting options for the value displayed in the number field */
|
|
108
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
109
|
+
/** Show the increment/decrement stepper buttons
|
|
110
|
+
* @default true
|
|
111
|
+
*/
|
|
112
|
+
showStepper?: boolean;
|
|
113
|
+
}
|
|
@@ -6,3 +6,14 @@ export declare const inputNumberVariant: (props?: ({
|
|
|
6
6
|
isReadOnly?: boolean | null | undefined;
|
|
7
7
|
validationState?: "valid" | "invalid" | "default" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export declare const invisibleNumberFieldVariants: (props?: ({
|
|
10
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
11
|
+
state?: "active" | "disabled" | "error" | "default" | "hover" | null | undefined;
|
|
12
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
|
+
export declare const invisibleNumberFieldGroupVariants: (props?: ({
|
|
14
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
15
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
16
|
+
export declare const invisibleNumberFieldStepperVariants: (props?: ({
|
|
17
|
+
size?: "h3" | "h5" | "bodySm" | "bodyDefault" | null | undefined;
|
|
18
|
+
isDisabled?: boolean | null | undefined;
|
|
19
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './Accordion';
|
|
2
|
+
export * from './Breadcrumbs';
|
|
2
3
|
export * from './Button';
|
|
3
4
|
export * from './Checkbox';
|
|
4
5
|
export * from './Chips';
|
|
@@ -7,6 +8,7 @@ export * from './FilterChip';
|
|
|
7
8
|
export * from './IconButton';
|
|
8
9
|
export * from './Input';
|
|
9
10
|
export * from './InvisibleDatepicker';
|
|
11
|
+
export * from './InvisibleTimeField';
|
|
10
12
|
export * from './Loader';
|
|
11
13
|
export * from './LoadingOverlay';
|
|
12
14
|
export * from './NumberField';
|
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"),
|
|
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"),c=require("./index.cjs7.js"),n=require("./index.cjs8.js"),s=require("./index.cjs9.js"),l=require("./index.cjs10.js"),u=require("./index.cjs11.js"),p=require("./index.cjs12.js"),d=require("./index.cjs13.js"),S=require("./index.cjs14.js"),q=require("./index.cjs15.js"),a=require("./index.cjs16.js"),b=require("./index.cjs17.js"),m=require("./index.cjs18.js"),T=require("./index.cjs19.js"),I=require("./index.cjs20.js"),v=require("./index.cjs21.js"),h=require("./index.cjs22.js"),C=require("./index.cjs23.js"),g=require("./index.cjs24.js"),F=require("./index.cjs25.js"),P=require("./index.cjs26.js"),k=require("./index.cjs27.js"),B=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");exports.Accordion=e.Accordion;exports.AccordionItem=r.AccordionItem;exports.Breadcrumbs=i.Breadcrumbs;exports.Button=t.Button;exports.Checkbox=o.Checkbox;exports.AssistChip=c.AssistChip;exports.ColorPicker=n.ColorPicker;exports.FilterChip=s.FilterChip;exports.IconButton=l.IconButton;exports.InvisibleInput=u.InvisibleInput;exports.Label=p.Label;exports.InvisibleDatepicker=d.InvisibleDatepicker;exports.InvisibleTimeField=S.InvisibleTimeField;exports.TimePickerPopover=q.TimePickerPopover;exports.TimeSegment=a.TimeSegment;exports.Loader=b.Loader;exports.LoadingOverlay=m.LoadingOverlay;exports.InvisibleNumberField=T.InvisibleNumberField;exports.NumberField=I.NumberField;exports.ProgressBar=v.ProgressBar;exports.SearchField=h.SearchField;exports.Select=C.Select;exports.SelectItem=g.SelectItem;exports.Slider=F.Slider;exports.StatusChip=P.StatusChip;exports.Stepper=k.Stepper;exports.StepperCompleted=B.StepperCompleted;exports.StepperStep=A.StepperStep;exports.Switch=L.Switch;exports.Tabs=x.Tabs;exports.Tooltip=N.Tooltip;exports.TooltipTrigger=y.TooltipTrigger;exports.Text=O.Text;exports.Title=w.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 s=require("./index.cjs36.js"),q=require("react"),n=require("react-aria-components"),B=require("./index.cjs37.js"),R=require("./index.cjs58.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.cjs100.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.cjs97.js");require("./index.cjs107.js");const l=require("./index.cjs108.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.cjs101.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./index.cjs97.js"),k=require("./index.cjs109.js"),y=require("./index.cjs110.js"),v=require("./index.cjs100.js"),x=require("./index.cjs111.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.cjs102.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.cjs97.js"),o=require("./index.cjs110.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.cjs103.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const R=require("./index.cjs105.js");require("./index.cjs112.js");require("./index.cjs113.js");require("./index.cjs114.js");require("./index.cjs115.js");require("./index.cjs116.js");require("./index.cjs117.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");const j=require("./index.cjs124.js"),K=require("./index.cjs125.js"),V=require("./index.cjs126.js"),W=require("./index.cjs127.js"),B=require("./index.cjs128.js"),G=require("./index.cjs129.js"),H=require("./index.cjs130.js"),I=require("./index.cjs131.js"),J=require("./index.cjs132.js"),N=require("./index.cjs133.js"),Q=require("./index.cjs134.js"),X=require("./index.cjs135.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.cjs104.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const f=require("./index.cjs106.js"),d=require("./index.cjs136.js");require("./index.cjs137.js");const p=require("./index.cjs138.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.cjs105.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
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.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/index.cjs107.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs108.js");require("./index.cjs120.js");const o=require("./index.cjs136.js"),f=require("./index.cjs131.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.cjs108.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/index.cjs109.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs139.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.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 e=require("./index.cjs36.js"),N=require("react"),r=require("react-aria-components"),n=require("./index.cjs37.js"),t=require("./index.cjs50.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.cjs110.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs140.js");const t=require("./index.cjs141.js");let e=t.__exports;var r=(e.__esModule?e:{default:e}).default;exports.plugin=r;
|
package/dist/index.cjs111.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs115.js");const o=require("./index.cjs129.js");let e=o.__exports;var r=(e.__esModule?e:{default:e}).default;exports.colors_1=r;
|
package/dist/index.cjs112.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./index.cjs126.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.cjs113.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const o=require("./index.cjs127.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);
|