@ultraviolet/ui 3.4.0 → 3.5.1
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/Alert/index.js +1 -1
- package/dist/components/Alert/styles.css.d.ts +8 -8
- package/dist/components/Alert/styles.css.js +1 -1
- package/dist/components/Avatar/styles.css.d.ts +36 -36
- package/dist/components/Avatar/styles.css.js +4 -4
- package/dist/components/Badge/styles.css.d.ts +28 -28
- package/dist/components/Badge/styles.css.js +1 -1
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/Banner/styles.css.d.ts +2 -2
- package/dist/components/Banner/styles.css.js +2 -2
- package/dist/components/BarStack/styles.css.d.ts +7 -7
- package/dist/components/BarStack/styles.css.js +1 -1
- package/dist/components/Bullet/styles.css.d.ts +13 -13
- package/dist/components/Bullet/styles.css.js +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/styles.css.d.ts +39 -39
- package/dist/components/Button/styles.css.js +1 -1
- package/dist/components/Checkbox/index.js +4 -4
- package/dist/components/Chip/ChipIcon.d.ts.map +1 -1
- package/dist/components/Chip/ChipIcon.js +4 -1
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DateInput/components/CalendarContent.js +7 -7
- package/dist/components/DateInput/components/CalendarDaily.js +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +1 -1
- package/dist/components/DateInput/helpers.d.ts.map +1 -1
- package/dist/components/Dialog/components/Buttons.js +1 -1
- package/dist/components/Dialog/index.d.ts +2 -2
- package/dist/components/Drawer/styles.css.js +1 -1
- package/dist/components/EmptyState/styles.css.d.ts +11 -11
- package/dist/components/EmptyState/styles.css.js +2 -2
- package/dist/components/Expandable/index.js +1 -1
- package/dist/components/ExpandableCard/styles.css.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +1 -1
- package/dist/components/FileInput/styles.css.d.ts +11 -11
- package/dist/components/FileInput/styles.css.js +5 -5
- package/dist/components/GlobalAlert/styles.css.js +1 -1
- package/dist/components/Key/styles.css.d.ts +12 -12
- package/dist/components/Key/styles.css.js +1 -1
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/index.js +41 -28
- package/dist/components/Label/styles.css.js +1 -1
- package/dist/components/Link/styles.css.d.ts.map +1 -1
- package/dist/components/List/ListContext.d.ts +2 -2
- package/dist/components/List/ListContext.d.ts.map +1 -1
- package/dist/components/List/Row.d.ts +1 -1
- package/dist/components/List/Row.d.ts.map +1 -1
- package/dist/components/List/SelectBar.d.ts +1 -1
- package/dist/components/List/SelectBar.d.ts.map +1 -1
- package/dist/components/List/SkeletonRows.d.ts.map +1 -1
- package/dist/components/List/index.d.ts +2 -5
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/styles.css.d.ts +3 -3
- package/dist/components/List/styles.css.js +1 -1
- package/dist/components/Menu/styles.css.js +1 -1
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.js +1 -1
- package/dist/components/Modal/index.js +3 -3
- package/dist/components/Modal/styles.css.d.ts +17 -17
- package/dist/components/Modal/styles.css.js +1 -1
- package/dist/components/NumberInput/index.d.ts +1 -1
- package/dist/components/NumberInput/index.js +2 -2
- package/dist/components/NumberInput/styles.css.d.ts +48 -48
- package/dist/components/NumberInput/styles.css.d.ts.map +1 -1
- package/dist/components/NumberInput/styles.css.js +4 -4
- package/dist/components/Pagination/getPageNumbers.d.ts +1 -1
- package/dist/components/Pagination/styles.css.js +2 -2
- package/dist/components/PieChart/index.js +3 -3
- package/dist/components/PieChart/styles.css.d.ts +7 -7
- package/dist/components/PieChart/styles.css.js +3 -3
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Popover/styles.css.d.ts +3 -3
- package/dist/components/Popup/helpers.js +2 -2
- package/dist/components/Popup/index.js +19 -19
- package/dist/components/Popup/styles.css.d.ts +6 -6
- package/dist/components/Popup/styles.css.js +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +14 -11
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Row/styles.css.d.ts +19 -19
- package/dist/components/Row/styles.css.d.ts.map +1 -1
- package/dist/components/Row/styles.css.js +2 -2
- package/dist/components/Row/variables.css.d.ts +1 -1
- package/dist/components/Row/variables.css.d.ts.map +1 -1
- package/dist/components/Row/variables.css.js +2 -2
- package/dist/components/SelectInput/components/Dropdown.d.ts +14 -1
- package/dist/components/SelectInput/components/Dropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown.js +398 -222
- package/dist/components/SelectInput/components/SearchBarDropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SearchBarDropdown.js +25 -19
- package/dist/components/SelectInput/components/SelectBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar.js +8 -11
- package/dist/components/SelectInput/components/dropdown.css.d.ts +2 -0
- package/dist/components/SelectInput/components/dropdown.css.d.ts.map +1 -1
- package/dist/components/SelectInput/components/dropdown.css.js +13 -9
- package/dist/components/SelectInput/components/selectBar.css.d.ts +43 -43
- package/dist/components/SelectInput/components/selectBar.css.d.ts.map +1 -1
- package/dist/components/SelectInput/components/selectBar.css.js +2 -2
- package/dist/components/SelectInput/constants.d.ts +13 -0
- package/dist/components/SelectInput/constants.d.ts.map +1 -0
- package/dist/components/SelectInput/constants.js +18 -0
- package/dist/components/SelectInput/findOptionInOptions.js +3 -3
- package/dist/components/SelectInput/index.d.ts +11 -5
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/index.js +8 -2
- package/dist/components/SelectInput/types.d.ts +0 -5
- package/dist/components/SelectInput/types.d.ts.map +1 -1
- package/dist/components/SelectableCard/index.d.ts.map +1 -1
- package/dist/components/SelectableCard/index.js +8 -5
- package/dist/components/SelectableCard/styles.css.d.ts +9 -9
- package/dist/components/SelectableCard/styles.css.js +3 -2
- package/dist/components/SelectableCard/variables.css.js +0 -1
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Separator/index.js +33 -31
- package/dist/components/Skeleton/Block.d.ts.map +1 -1
- package/dist/components/Skeleton/Block.js +7 -4
- package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
- package/dist/components/Skeleton/Blocks.js +7 -4
- package/dist/components/Skeleton/BoxWithIcon.d.ts.map +1 -1
- package/dist/components/Skeleton/BoxWithIcon.js +7 -4
- package/dist/components/Skeleton/List.d.ts.map +1 -1
- package/dist/components/Skeleton/List.js +8 -2
- package/dist/components/Skeleton/Slider.d.ts.map +1 -1
- package/dist/components/Skeleton/Slider.js +4 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.js +17 -14
- package/dist/components/Slider/components/DoubleSlider.d.ts +1 -1
- package/dist/components/Slider/components/DoubleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +24 -20
- package/dist/components/Slider/components/SingleSlider.d.ts +1 -1
- package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.js +9 -3
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +3 -0
- package/dist/components/Slider/styles.css.d.ts +47 -43
- package/dist/components/Slider/styles.css.d.ts.map +1 -1
- package/dist/components/Slider/styles.css.js +5 -5
- package/dist/components/Slider/types.d.ts +5 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/Snippet/index.js +1 -1
- package/dist/components/Snippet/styles.css.d.ts +12 -12
- package/dist/components/Snippet/styles.css.js +7 -7
- package/dist/components/Stack/index.d.ts +2 -3
- package/dist/components/Stack/index.d.ts.map +1 -1
- package/dist/components/Stack/index.js +67 -65
- package/dist/components/Stack/styles.css.d.ts +87 -87
- package/dist/components/Stack/styles.css.js +4 -4
- package/dist/components/Status/styles.css.d.ts +1 -1
- package/dist/components/StepList/styles.css.d.ts +7 -7
- package/dist/components/StepList/styles.css.js +2 -2
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/index.js +13 -10
- package/dist/components/Stepper/styles.css.d.ts +45 -45
- package/dist/components/Stepper/styles.css.js +6 -6
- package/dist/components/SwitchButton/index.js +3 -3
- package/dist/components/SwitchButton/styles.css.js +3 -3
- package/dist/components/Table/HeaderRow.d.ts.map +1 -1
- package/dist/components/Table/HeaderRow.js +25 -22
- package/dist/components/Table/Row.d.ts +1 -1
- package/dist/components/Table/Row.d.ts.map +1 -1
- package/dist/components/Table/SelectBar.d.ts +1 -1
- package/dist/components/Table/SelectBar.d.ts.map +1 -1
- package/dist/components/Table/SkeletonRows.d.ts.map +1 -1
- package/dist/components/Table/index.d.ts +4 -4
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/styles.css.d.ts +21 -21
- package/dist/components/Table/styles.css.js +2 -2
- package/dist/components/Tabs/Tab.js +1 -1
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/styles.css.js +1 -1
- package/dist/components/Tag/styles.css.d.ts +10 -10
- package/dist/components/Tag/styles.css.js +1 -1
- package/dist/components/TagInput/index.js +5 -5
- package/dist/components/TagInput/styles.css.d.ts +4 -4
- package/dist/components/TagInput/styles.css.js +1 -1
- package/dist/components/TagList/index.d.ts.map +1 -1
- package/dist/components/TagList/index.js +1 -1
- package/dist/components/Text/style.css.d.ts +26 -26
- package/dist/components/Text/style.css.d.ts.map +1 -1
- package/dist/components/Text/style.css.js +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +14 -7
- package/dist/components/TextArea/styles.css.d.ts +2 -2
- package/dist/components/TextArea/styles.css.js +1 -1
- package/dist/components/TextInput/index.d.ts +1 -1
- package/dist/components/TextInput/index.js +2 -2
- package/dist/components/TimeInput/helpers.d.ts.map +1 -1
- package/dist/components/TimeInput/helpers.js +2 -1
- package/dist/components/TimeInput/index.js +4 -4
- package/dist/components/TimeInput/styles.css.d.ts +22 -22
- package/dist/components/TimeInput/styles.css.js +1 -1
- package/dist/components/Toaster/constants.d.ts.map +1 -1
- package/dist/components/Toggle/styles.css.d.ts +53 -53
- package/dist/components/Toggle/styles.css.js +2 -2
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/TreeMapChart/index.d.ts +1 -1
- package/dist/components/TreeMapChart/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.js +39 -42
- package/dist/components/TreeMapChart/styles.css.d.ts +1 -1
- package/dist/components/TreeMapChart/styles.css.d.ts.map +1 -1
- package/dist/components/TreeMapChart/styles.css.js +2 -2
- package/dist/components/UnitInput/index.js +1 -1
- package/dist/components/UnitInput/styles.css.js +3 -3
- package/dist/components/VerificationCode/index.d.ts.map +1 -1
- package/dist/components/VerificationCode/index.js +2 -2
- package/dist/components/VerificationCode/styles.css.js +1 -1
- package/dist/components/compositions/OptionSelector/index.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/index.js +91 -59
- package/dist/components/compositions/OptionSelector/styles.css.d.ts +2 -0
- package/dist/components/compositions/OptionSelector/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/styles.css.js +4 -0
- package/dist/helpers/treeMap.d.ts +4 -5
- package/dist/helpers/treeMap.d.ts.map +1 -1
- package/dist/helpers/treeMap.js +7 -5
- package/dist/theme/ThemeProvider.d.ts +33 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/index.d.ts +33 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +6 -6
- package/dist/components/SelectInput/types.js +0 -9
|
@@ -69,17 +69,20 @@ const Radio = forwardRef(
|
|
|
69
69
|
}
|
|
70
70
|
),
|
|
71
71
|
/* @__PURE__ */ jsx("svg", { className: ring, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx(RadioMarkedIcon, {}) }),
|
|
72
|
-
label ?
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
72
|
+
label ? (
|
|
73
|
+
// biome-ignore lint/complexity/noUselessFragments: ok
|
|
74
|
+
/* @__PURE__ */ jsx(Fragment, { children: typeof label === "string" ? /* @__PURE__ */ jsx(
|
|
75
|
+
Text,
|
|
76
|
+
{
|
|
77
|
+
as: "label",
|
|
78
|
+
className: textLabel,
|
|
79
|
+
htmlFor: localId,
|
|
80
|
+
prominence: "default",
|
|
81
|
+
variant: "body",
|
|
82
|
+
children: label
|
|
83
|
+
}
|
|
84
|
+
) : /* @__PURE__ */ jsx("label", { className: labelStyle, htmlFor: localId, children: label }) })
|
|
85
|
+
) : null
|
|
83
86
|
]
|
|
84
87
|
}
|
|
85
88
|
),
|
|
@@ -13,24 +13,6 @@ export declare const responsiveProperties: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
styles: {
|
|
16
|
-
gap: {
|
|
17
|
-
responsiveArray: ("large" | "medium" | "small" | "xlarge" | "xsmall" | "xxsmall")[] & {
|
|
18
|
-
length: 5;
|
|
19
|
-
};
|
|
20
|
-
values: {
|
|
21
|
-
[x: string]: {
|
|
22
|
-
defaultClass: string;
|
|
23
|
-
conditions: {
|
|
24
|
-
large: string;
|
|
25
|
-
medium: string;
|
|
26
|
-
small: string;
|
|
27
|
-
xlarge: string;
|
|
28
|
-
xsmall: string;
|
|
29
|
-
xxsmall: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
16
|
alignItems: {
|
|
35
17
|
responsiveArray: ("large" | "medium" | "small" | "xlarge" | "xsmall" | "xxsmall")[] & {
|
|
36
18
|
length: 5;
|
|
@@ -236,6 +218,24 @@ export declare const responsiveProperties: {
|
|
|
236
218
|
};
|
|
237
219
|
};
|
|
238
220
|
};
|
|
221
|
+
gap: {
|
|
222
|
+
responsiveArray: ("large" | "medium" | "small" | "xlarge" | "xsmall" | "xxsmall")[] & {
|
|
223
|
+
length: 5;
|
|
224
|
+
};
|
|
225
|
+
values: {
|
|
226
|
+
[x: string]: {
|
|
227
|
+
defaultClass: string;
|
|
228
|
+
conditions: {
|
|
229
|
+
large: string;
|
|
230
|
+
medium: string;
|
|
231
|
+
small: string;
|
|
232
|
+
xlarge: string;
|
|
233
|
+
xsmall: string;
|
|
234
|
+
xxsmall: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
239
|
justifyContent: {
|
|
240
240
|
responsiveArray: ("large" | "medium" | "small" | "xlarge" | "xsmall" | "xxsmall")[] & {
|
|
241
241
|
length: 5;
|
|
@@ -455,6 +455,7 @@ export declare const responsiveProperties: {
|
|
|
455
455
|
};
|
|
456
456
|
};
|
|
457
457
|
export declare const sprinkles: ((props: {
|
|
458
|
+
alignItems?: ({} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4 | 5, import("csstype").Property.AlignItems | null | undefined>;
|
|
458
459
|
gap?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4 | 5, string | null> | (string | {
|
|
459
460
|
large?: string | undefined;
|
|
460
461
|
medium?: string | undefined;
|
|
@@ -463,7 +464,6 @@ export declare const sprinkles: ((props: {
|
|
|
463
464
|
xsmall?: string | undefined;
|
|
464
465
|
xxsmall?: string | undefined;
|
|
465
466
|
} | undefined);
|
|
466
|
-
alignItems?: ({} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4 | 5, import("csstype").Property.AlignItems | null | undefined>;
|
|
467
467
|
justifyContent?: ({} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4 | 5, import("csstype").Property.JustifyContent | null | undefined>;
|
|
468
468
|
}) => string) & {
|
|
469
469
|
properties: Set<"alignItems" | "justifyContent" | "gap">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Row/styles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Row/styles.css.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C,eAAO,MAAM,GAAG,QAiCd,CAAA;AA4BF,QAAA,MAAM,gBAAgB,EAAE,aAAa,CAAC,YAAY,CAAC,EAezC,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE9D,QAAA,MAAM,oBAAoB,EAAE,aAAa,CAAC,gBAAgB,CAAC,EAajD,CAAA;AAEV,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEtE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS/B,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAAwC,CAAA"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { createSprinkles } from "@vanilla-extract/sprinkles/createRuntimeSprinkles";
|
|
4
4
|
var row = "uv_x6hyh50";
|
|
5
5
|
var responsiveProperties = (function() {
|
|
6
|
-
var x = { conditions: { defaultCondition: "xxsmall", conditionNames: ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"], responsiveArray: ["xxsmall", "xsmall", "small", "medium", "large"] }, styles: {
|
|
7
|
-
x.styles.gap.responsiveArray = x.conditions.responsiveArray;
|
|
6
|
+
var x = { conditions: { defaultCondition: "xxsmall", conditionNames: ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"], responsiveArray: ["xxsmall", "xsmall", "small", "medium", "large"] }, styles: { alignItems: { values: { normal: { conditions: { xxsmall: "uv_x6hyh51", xsmall: "uv_x6hyh52", small: "uv_x6hyh53", medium: "uv_x6hyh54", large: "uv_x6hyh55", xlarge: "uv_x6hyh56" }, defaultClass: "uv_x6hyh51" }, stretch: { conditions: { xxsmall: "uv_x6hyh57", xsmall: "uv_x6hyh58", small: "uv_x6hyh59", medium: "uv_x6hyh5a", large: "uv_x6hyh5b", xlarge: "uv_x6hyh5c" }, defaultClass: "uv_x6hyh57" }, center: { conditions: { xxsmall: "uv_x6hyh5d", xsmall: "uv_x6hyh5e", small: "uv_x6hyh5f", medium: "uv_x6hyh5g", large: "uv_x6hyh5h", xlarge: "uv_x6hyh5i" }, defaultClass: "uv_x6hyh5d" }, start: { conditions: { xxsmall: "uv_x6hyh5j", xsmall: "uv_x6hyh5k", small: "uv_x6hyh5l", medium: "uv_x6hyh5m", large: "uv_x6hyh5n", xlarge: "uv_x6hyh5o" }, defaultClass: "uv_x6hyh5j" }, end: { conditions: { xxsmall: "uv_x6hyh5p", xsmall: "uv_x6hyh5q", small: "uv_x6hyh5r", medium: "uv_x6hyh5s", large: "uv_x6hyh5t", xlarge: "uv_x6hyh5u" }, defaultClass: "uv_x6hyh5p" }, "flex-start": { conditions: { xxsmall: "uv_x6hyh5v", xsmall: "uv_x6hyh5w", small: "uv_x6hyh5x", medium: "uv_x6hyh5y", large: "uv_x6hyh5z", xlarge: "uv_x6hyh510" }, defaultClass: "uv_x6hyh5v" }, "flex-end": { conditions: { xxsmall: "uv_x6hyh511", xsmall: "uv_x6hyh512", small: "uv_x6hyh513", medium: "uv_x6hyh514", large: "uv_x6hyh515", xlarge: "uv_x6hyh516" }, defaultClass: "uv_x6hyh511" }, "self-start": { conditions: { xxsmall: "uv_x6hyh517", xsmall: "uv_x6hyh518", small: "uv_x6hyh519", medium: "uv_x6hyh51a", large: "uv_x6hyh51b", xlarge: "uv_x6hyh51c" }, defaultClass: "uv_x6hyh517" }, "self-end": { conditions: { xxsmall: "uv_x6hyh51d", xsmall: "uv_x6hyh51e", small: "uv_x6hyh51f", medium: "uv_x6hyh51g", large: "uv_x6hyh51h", xlarge: "uv_x6hyh51i" }, defaultClass: "uv_x6hyh51d" }, baseline: { conditions: { xxsmall: "uv_x6hyh51j", xsmall: "uv_x6hyh51k", small: "uv_x6hyh51l", medium: "uv_x6hyh51m", large: "uv_x6hyh51n", xlarge: "uv_x6hyh51o" }, defaultClass: "uv_x6hyh51j" }, "first baseline": { conditions: { xxsmall: "uv_x6hyh51p", xsmall: "uv_x6hyh51q", small: "uv_x6hyh51r", medium: "uv_x6hyh51s", large: "uv_x6hyh51t", xlarge: "uv_x6hyh51u" }, defaultClass: "uv_x6hyh51p" }, "last baseline": { conditions: { xxsmall: "uv_x6hyh51v", xsmall: "uv_x6hyh51w", small: "uv_x6hyh51x", medium: "uv_x6hyh51y", large: "uv_x6hyh51z", xlarge: "uv_x6hyh520" }, defaultClass: "uv_x6hyh51v" }, "safe center": { conditions: { xxsmall: "uv_x6hyh521", xsmall: "uv_x6hyh522", small: "uv_x6hyh523", medium: "uv_x6hyh524", large: "uv_x6hyh525", xlarge: "uv_x6hyh526" }, defaultClass: "uv_x6hyh521" }, "unsafe center": { conditions: { xxsmall: "uv_x6hyh527", xsmall: "uv_x6hyh528", small: "uv_x6hyh529", medium: "uv_x6hyh52a", large: "uv_x6hyh52b", xlarge: "uv_x6hyh52c" }, defaultClass: "uv_x6hyh527" } }, responsiveArray: void 0 }, gap: { values: { "0rem": { conditions: { xxsmall: "uv_x6hyh52d", xsmall: "uv_x6hyh52e", small: "uv_x6hyh52f", medium: "uv_x6hyh52g", large: "uv_x6hyh52h", xlarge: "uv_x6hyh52i" }, defaultClass: "uv_x6hyh52d" }, "0.5rem": { conditions: { xxsmall: "uv_x6hyh52j", xsmall: "uv_x6hyh52k", small: "uv_x6hyh52l", medium: "uv_x6hyh52m", large: "uv_x6hyh52n", xlarge: "uv_x6hyh52o" }, defaultClass: "uv_x6hyh52j" }, "1rem": { conditions: { xxsmall: "uv_x6hyh52p", xsmall: "uv_x6hyh52q", small: "uv_x6hyh52r", medium: "uv_x6hyh52s", large: "uv_x6hyh52t", xlarge: "uv_x6hyh52u" }, defaultClass: "uv_x6hyh52p" }, "1.5rem": { conditions: { xxsmall: "uv_x6hyh52v", xsmall: "uv_x6hyh52w", small: "uv_x6hyh52x", medium: "uv_x6hyh52y", large: "uv_x6hyh52z", xlarge: "uv_x6hyh530" }, defaultClass: "uv_x6hyh52v" }, "2rem": { conditions: { xxsmall: "uv_x6hyh531", xsmall: "uv_x6hyh532", small: "uv_x6hyh533", medium: "uv_x6hyh534", large: "uv_x6hyh535", xlarge: "uv_x6hyh536" }, defaultClass: "uv_x6hyh531" }, "2.5rem": { conditions: { xxsmall: "uv_x6hyh537", xsmall: "uv_x6hyh538", small: "uv_x6hyh539", medium: "uv_x6hyh53a", large: "uv_x6hyh53b", xlarge: "uv_x6hyh53c" }, defaultClass: "uv_x6hyh537" }, "3rem": { conditions: { xxsmall: "uv_x6hyh53d", xsmall: "uv_x6hyh53e", small: "uv_x6hyh53f", medium: "uv_x6hyh53g", large: "uv_x6hyh53h", xlarge: "uv_x6hyh53i" }, defaultClass: "uv_x6hyh53d" }, "3.5rem": { conditions: { xxsmall: "uv_x6hyh53j", xsmall: "uv_x6hyh53k", small: "uv_x6hyh53l", medium: "uv_x6hyh53m", large: "uv_x6hyh53n", xlarge: "uv_x6hyh53o" }, defaultClass: "uv_x6hyh53j" }, "4rem": { conditions: { xxsmall: "uv_x6hyh53p", xsmall: "uv_x6hyh53q", small: "uv_x6hyh53r", medium: "uv_x6hyh53s", large: "uv_x6hyh53t", xlarge: "uv_x6hyh53u" }, defaultClass: "uv_x6hyh53p" }, "4.5rem": { conditions: { xxsmall: "uv_x6hyh53v", xsmall: "uv_x6hyh53w", small: "uv_x6hyh53x", medium: "uv_x6hyh53y", large: "uv_x6hyh53z", xlarge: "uv_x6hyh540" }, defaultClass: "uv_x6hyh53v" }, "5rem": { conditions: { xxsmall: "uv_x6hyh541", xsmall: "uv_x6hyh542", small: "uv_x6hyh543", medium: "uv_x6hyh544", large: "uv_x6hyh545", xlarge: "uv_x6hyh546" }, defaultClass: "uv_x6hyh541" }, "0.25rem": { conditions: { xxsmall: "uv_x6hyh547", xsmall: "uv_x6hyh548", small: "uv_x6hyh549", medium: "uv_x6hyh54a", large: "uv_x6hyh54b", xlarge: "uv_x6hyh54c" }, defaultClass: "uv_x6hyh547" }, "0.125rem": { conditions: { xxsmall: "uv_x6hyh54d", xsmall: "uv_x6hyh54e", small: "uv_x6hyh54f", medium: "uv_x6hyh54g", large: "uv_x6hyh54h", xlarge: "uv_x6hyh54i" }, defaultClass: "uv_x6hyh54d" }, "0.75rem": { conditions: { xxsmall: "uv_x6hyh54j", xsmall: "uv_x6hyh54k", small: "uv_x6hyh54l", medium: "uv_x6hyh54m", large: "uv_x6hyh54n", xlarge: "uv_x6hyh54o" }, defaultClass: "uv_x6hyh54j" } }, responsiveArray: void 0 }, justifyContent: { values: { normal: { conditions: { xxsmall: "uv_x6hyh54p", xsmall: "uv_x6hyh54q", small: "uv_x6hyh54r", medium: "uv_x6hyh54s", large: "uv_x6hyh54t", xlarge: "uv_x6hyh54u" }, defaultClass: "uv_x6hyh54p" }, center: { conditions: { xxsmall: "uv_x6hyh54v", xsmall: "uv_x6hyh54w", small: "uv_x6hyh54x", medium: "uv_x6hyh54y", large: "uv_x6hyh54z", xlarge: "uv_x6hyh550" }, defaultClass: "uv_x6hyh54v" }, start: { conditions: { xxsmall: "uv_x6hyh551", xsmall: "uv_x6hyh552", small: "uv_x6hyh553", medium: "uv_x6hyh554", large: "uv_x6hyh555", xlarge: "uv_x6hyh556" }, defaultClass: "uv_x6hyh551" }, end: { conditions: { xxsmall: "uv_x6hyh557", xsmall: "uv_x6hyh558", small: "uv_x6hyh559", medium: "uv_x6hyh55a", large: "uv_x6hyh55b", xlarge: "uv_x6hyh55c" }, defaultClass: "uv_x6hyh557" }, "flex-start": { conditions: { xxsmall: "uv_x6hyh55d", xsmall: "uv_x6hyh55e", small: "uv_x6hyh55f", medium: "uv_x6hyh55g", large: "uv_x6hyh55h", xlarge: "uv_x6hyh55i" }, defaultClass: "uv_x6hyh55d" }, "flex-end": { conditions: { xxsmall: "uv_x6hyh55j", xsmall: "uv_x6hyh55k", small: "uv_x6hyh55l", medium: "uv_x6hyh55m", large: "uv_x6hyh55n", xlarge: "uv_x6hyh55o" }, defaultClass: "uv_x6hyh55j" }, left: { conditions: { xxsmall: "uv_x6hyh55p", xsmall: "uv_x6hyh55q", small: "uv_x6hyh55r", medium: "uv_x6hyh55s", large: "uv_x6hyh55t", xlarge: "uv_x6hyh55u" }, defaultClass: "uv_x6hyh55p" }, right: { conditions: { xxsmall: "uv_x6hyh55v", xsmall: "uv_x6hyh55w", small: "uv_x6hyh55x", medium: "uv_x6hyh55y", large: "uv_x6hyh55z", xlarge: "uv_x6hyh560" }, defaultClass: "uv_x6hyh55v" }, "space-between": { conditions: { xxsmall: "uv_x6hyh561", xsmall: "uv_x6hyh562", small: "uv_x6hyh563", medium: "uv_x6hyh564", large: "uv_x6hyh565", xlarge: "uv_x6hyh566" }, defaultClass: "uv_x6hyh561" }, "space-around": { conditions: { xxsmall: "uv_x6hyh567", xsmall: "uv_x6hyh568", small: "uv_x6hyh569", medium: "uv_x6hyh56a", large: "uv_x6hyh56b", xlarge: "uv_x6hyh56c" }, defaultClass: "uv_x6hyh567" }, "space-evenly": { conditions: { xxsmall: "uv_x6hyh56d", xsmall: "uv_x6hyh56e", small: "uv_x6hyh56f", medium: "uv_x6hyh56g", large: "uv_x6hyh56h", xlarge: "uv_x6hyh56i" }, defaultClass: "uv_x6hyh56d" }, stretch: { conditions: { xxsmall: "uv_x6hyh56j", xsmall: "uv_x6hyh56k", small: "uv_x6hyh56l", medium: "uv_x6hyh56m", large: "uv_x6hyh56n", xlarge: "uv_x6hyh56o" }, defaultClass: "uv_x6hyh56j" } }, responsiveArray: void 0 } } };
|
|
8
7
|
x.styles.alignItems.responsiveArray = x.conditions.responsiveArray;
|
|
8
|
+
x.styles.gap.responsiveArray = x.conditions.responsiveArray;
|
|
9
9
|
x.styles.justifyContent.responsiveArray = x.conditions.responsiveArray;
|
|
10
10
|
return x;
|
|
11
11
|
})();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createVar } from '@vanilla-extract/css';
|
|
2
1
|
import type { theme } from '@ultraviolet/themes';
|
|
2
|
+
import { createVar } from '@vanilla-extract/css';
|
|
3
3
|
export declare const templateColumn: Record<keyof typeof theme.breakpoints, ReturnType<typeof createVar>>;
|
|
4
4
|
export declare const paddings: Record<keyof typeof theme.breakpoints, ReturnType<typeof createVar>>;
|
|
5
5
|
//# sourceMappingURL=variables.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.css.d.ts","sourceRoot":"","sources":["../../../src/components/Row/variables.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"variables.css.d.ts","sourceRoot":"","sources":["../../../src/components/Row/variables.css.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,MAAM,CACjC,MAAM,OAAO,KAAK,CAAC,WAAW,EAC9B,UAAU,CAAC,OAAO,SAAS,CAAC,CAgC7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAC3B,MAAM,OAAO,KAAK,CAAC,WAAW,EAC9B,UAAU,CAAC,OAAO,SAAS,CAAC,CAgC7B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
var templateColumn = { large: "var(--uv_3mg8xe0)",
|
|
3
|
-
var paddings = { large: "var(--uv_3mg8xe6)",
|
|
2
|
+
var templateColumn = { large: "var(--uv_3mg8xe0)", medium: "var(--uv_3mg8xe1)", small: "var(--uv_3mg8xe2)", xlarge: "var(--uv_3mg8xe3)", xsmall: "var(--uv_3mg8xe4)", xxsmall: "var(--uv_3mg8xe5)" };
|
|
3
|
+
var paddings = { large: "var(--uv_3mg8xe6)", medium: "var(--uv_3mg8xe7)", small: "var(--uv_3mg8xe8)", xlarge: "var(--uv_3mg8xe9)", xsmall: "var(--uv_3mg8xea)", xxsmall: "var(--uv_3mg8xeb)" };
|
|
4
4
|
export {
|
|
5
5
|
paddings,
|
|
6
6
|
templateColumn
|
|
@@ -15,6 +15,12 @@ export type DropdownProps = {
|
|
|
15
15
|
size: 'small' | 'medium' | 'large';
|
|
16
16
|
dropdownAlign?: ComponentProps<typeof Popup>['align'];
|
|
17
17
|
portalTarget?: ComponentProps<typeof Popup>['portalTarget'];
|
|
18
|
+
groupError?: Record<string, ReactNode>;
|
|
19
|
+
groupEmptyState?: Record<string, ReactNode>;
|
|
20
|
+
addOption?: {
|
|
21
|
+
text: string;
|
|
22
|
+
onClick: (searchText: string) => void;
|
|
23
|
+
};
|
|
18
24
|
};
|
|
19
25
|
export type CreateDropdownProps = {
|
|
20
26
|
isEmpty: boolean;
|
|
@@ -24,6 +30,13 @@ export type CreateDropdownProps = {
|
|
|
24
30
|
optionalInfoPlacement: 'left' | 'right';
|
|
25
31
|
defaultSearchValue: string | null;
|
|
26
32
|
isLoading?: boolean;
|
|
33
|
+
groupError?: Record<string, ReactNode>;
|
|
34
|
+
groupEmptyState?: Record<string, ReactNode>;
|
|
35
|
+
addOption?: {
|
|
36
|
+
text: string;
|
|
37
|
+
onClick: (searchText: string) => void;
|
|
38
|
+
};
|
|
39
|
+
searchable?: boolean;
|
|
27
40
|
};
|
|
28
|
-
export declare const Dropdown: ({ children, emptyState, descriptionDirection, searchable, placeholder, footer, refSelect, loadMore, optionalInfoPlacement, isLoading, size, dropdownAlign, portalTarget, id, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const Dropdown: ({ children, emptyState, descriptionDirection, searchable, placeholder, footer, refSelect, loadMore, optionalInfoPlacement, isLoading, size, dropdownAlign, portalTarget, id, groupError, groupEmptyState, addOption, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
42
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectInput/components/Dropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectInput/components/Dropdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEV,cAAc,EAId,SAAS,EACT,SAAS,EAEV,MAAM,OAAO,CAAA;AAYd,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AA8BnC,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,SAAS,CAAA;IACnB,UAAU,EAAE,SAAS,CAAA;IACrB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtC,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,CAAC,CAAC,aAAa,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC,GAAG,SAAS,CAAA;IAC/D,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;IACvC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAClC,aAAa,CAAC,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,OAAO,CAAC,CAAA;IACrD,YAAY,CAAC,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,cAAc,CAAC,CAAA;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;CACpE,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,SAAS,CAAA;IACrB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;IACvC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IACnE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAkuBD,eAAO,MAAM,QAAQ,GAAI,wNAkBtB,aAAa,4CA2Mf,CAAA"}
|