@opengovsg/oui-theme 0.0.0-snapshot-20250326084237 → 0.0.0-snapshot-20250327091959
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/{chunk-Z5EKAZRY.mjs → chunk-34YVA3CF.mjs} +2 -47
- package/dist/chunk-34YVA3CF.mjs.map +1 -0
- package/dist/chunk-4YH455F5.js +83 -0
- package/dist/chunk-4YH455F5.js.map +1 -0
- package/dist/{chunk-46ZPWKHG.js → chunk-5FOX35BG.js} +3 -3
- package/dist/{chunk-46ZPWKHG.js.map → chunk-5FOX35BG.js.map} +1 -1
- package/dist/chunk-AFHAQGRO.mjs +1 -0
- package/dist/chunk-BIXVP43C.js +66 -0
- package/dist/chunk-BIXVP43C.js.map +1 -0
- package/dist/{chunk-F7ZJVYNV.mjs → chunk-H6JUN6QG.mjs} +3 -3
- package/dist/chunk-H6JUN6QG.mjs.map +1 -0
- package/dist/chunk-KKW4VCZA.mjs +83 -0
- package/dist/chunk-KKW4VCZA.mjs.map +1 -0
- package/dist/{chunk-OUZ7DBAS.js → chunk-NPNMMEUT.js} +4 -39
- package/dist/chunk-NPNMMEUT.js.map +1 -0
- package/dist/chunk-PASP6W6Z.js +1 -0
- package/dist/{chunk-KUAGUN4H.js.map → chunk-PASP6W6Z.js.map} +1 -1
- package/dist/{chunk-2YW3O3BV.js → chunk-QGEGS5RO.js} +3 -48
- package/dist/chunk-QGEGS5RO.js.map +1 -0
- package/dist/chunk-RZ7GZGD2.js +25 -0
- package/dist/chunk-RZ7GZGD2.js.map +1 -0
- package/dist/chunk-UTOQXAFU.mjs +66 -0
- package/dist/chunk-UTOQXAFU.mjs.map +1 -0
- package/dist/{chunk-GUV5RZUP.mjs → chunk-VS4FD2JZ.mjs} +3 -38
- package/dist/chunk-VS4FD2JZ.mjs.map +1 -0
- package/dist/chunk-XRA3KMRB.mjs +25 -0
- package/dist/chunk-XRA3KMRB.mjs.map +1 -0
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.mjs +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/button.mjs +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.mjs +1 -1
- package/dist/components/combo-box.d.mts +2 -185
- package/dist/components/combo-box.d.ts +2 -185
- package/dist/components/combo-box.js +2 -4
- package/dist/components/combo-box.js.map +1 -1
- package/dist/components/combo-box.mjs +1 -3
- package/dist/components/govt-banner.js +1 -1
- package/dist/components/govt-banner.mjs +1 -1
- package/dist/components/index.d.mts +5 -2
- package/dist/components/index.d.ts +5 -2
- package/dist/components/index.js +33 -17
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +40 -24
- package/dist/components/list-box.d.mts +205 -0
- package/dist/components/list-box.d.ts +205 -0
- package/dist/components/list-box.js +15 -0
- package/dist/components/list-box.js.map +1 -0
- package/dist/components/list-box.mjs +15 -0
- package/dist/components/list-box.mjs.map +1 -0
- package/dist/components/menu.d.mts +463 -0
- package/dist/components/menu.d.ts +463 -0
- package/dist/components/menu.js +22 -0
- package/dist/components/menu.js.map +1 -0
- package/dist/components/menu.mjs +22 -0
- package/dist/components/menu.mjs.map +1 -0
- package/dist/components/popover.d.mts +73 -0
- package/dist/components/popover.d.ts +73 -0
- package/dist/components/popover.js +11 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/popover.mjs +11 -0
- package/dist/components/popover.mjs.map +1 -0
- package/dist/components/select.js +2 -2
- package/dist/components/select.mjs +1 -1
- package/dist/components/tag-field.d.mts +4 -105
- package/dist/components/tag-field.d.ts +4 -105
- package/dist/components/tag-field.js +3 -5
- package/dist/components/tag-field.js.map +1 -1
- package/dist/components/tag-field.mjs +2 -4
- package/dist/components/toggle.js +1 -1
- package/dist/components/toggle.mjs +1 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +34 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -30
- package/dist/utils/index.js +4 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +4 -4
- package/package.json +2 -2
- package/src/tailwind.css +16 -0
- package/dist/chunk-2YW3O3BV.js.map +0 -1
- package/dist/chunk-ARRSHAJG.mjs +0 -1
- package/dist/chunk-F7ZJVYNV.mjs.map +0 -1
- package/dist/chunk-GUV5RZUP.mjs.map +0 -1
- package/dist/chunk-KUAGUN4H.js +0 -1
- package/dist/chunk-OUZ7DBAS.js.map +0 -1
- package/dist/chunk-Z5EKAZRY.mjs.map +0 -1
- /package/dist/{chunk-ARRSHAJG.mjs.map → chunk-AFHAQGRO.mjs.map} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-4JENAMGV.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/list-box.ts
|
|
6
|
+
var listBoxItemStyles = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
container: "text-base-content-strong flex cursor-pointer flex-col",
|
|
9
|
+
label: "line-clamp-1",
|
|
10
|
+
description: "text-base-content-medium"
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
size: {
|
|
14
|
+
xs: {
|
|
15
|
+
container: "prose-body-2 px-3 py-3",
|
|
16
|
+
description: "prose-body-2"
|
|
17
|
+
},
|
|
18
|
+
sm: {
|
|
19
|
+
container: "prose-body-2 px-3 py-3",
|
|
20
|
+
description: "prose-body-2"
|
|
21
|
+
},
|
|
22
|
+
md: { container: "prose-body-1 px-4 py-3", description: "prose-body-2" }
|
|
23
|
+
},
|
|
24
|
+
isFocused: {
|
|
25
|
+
true: { container: "bg-interaction-muted-main-hover" }
|
|
26
|
+
},
|
|
27
|
+
isOpen: {
|
|
28
|
+
true: ""
|
|
29
|
+
},
|
|
30
|
+
isSelected: {
|
|
31
|
+
true: { container: "bg-interaction-muted-main-active" }
|
|
32
|
+
},
|
|
33
|
+
isDisabled: {
|
|
34
|
+
true: {
|
|
35
|
+
container: "text-interaction-support-disabled-content cursor-not-allowed"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
compoundVariants: [
|
|
40
|
+
{
|
|
41
|
+
isFocused: false,
|
|
42
|
+
isOpen: true,
|
|
43
|
+
className: {
|
|
44
|
+
container: "bg-interaction-muted-neutral-hover"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
size: "md",
|
|
49
|
+
isSelected: true,
|
|
50
|
+
className: { container: "prose-subhead-1" }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
size: ["sm", "xs"],
|
|
54
|
+
isSelected: true,
|
|
55
|
+
className: { container: "prose-subhead-2" }
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
size: "md"
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export {
|
|
64
|
+
listBoxItemStyles
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=chunk-UTOQXAFU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/list-box.ts"],"sourcesContent":["import type { VariantProps } from \"tailwind-variants\"\n\nimport { tv } from \"../utils\"\n\nexport const listBoxItemStyles = tv({\n slots: {\n container: \"text-base-content-strong flex cursor-pointer flex-col\",\n label: \"line-clamp-1\",\n description: \"text-base-content-medium\",\n },\n variants: {\n size: {\n xs: {\n container: \"prose-body-2 px-3 py-3\",\n description: \"prose-body-2\",\n },\n sm: {\n container: \"prose-body-2 px-3 py-3\",\n description: \"prose-body-2\",\n },\n md: { container: \"prose-body-1 px-4 py-3\", description: \"prose-body-2\" },\n },\n isFocused: {\n true: { container: \"bg-interaction-muted-main-hover\" },\n },\n isOpen: {\n true: \"\",\n },\n isSelected: {\n true: { container: \"bg-interaction-muted-main-active\" },\n },\n isDisabled: {\n true: {\n container:\n \"text-interaction-support-disabled-content cursor-not-allowed\",\n },\n },\n },\n compoundVariants: [\n {\n isFocused: false,\n isOpen: true,\n className: {\n container: \"bg-interaction-muted-neutral-hover\",\n },\n },\n {\n size: \"md\",\n isSelected: true,\n className: { container: \"prose-subhead-1\" },\n },\n {\n size: [\"sm\", \"xs\"],\n isSelected: true,\n className: { container: \"prose-subhead-2\" },\n },\n ],\n defaultVariants: {\n size: \"md\",\n },\n})\n\nexport type ListBoxItemVariantProps = VariantProps<typeof listBoxItemStyles>\nexport type ListBoxItemSlots = keyof ReturnType<typeof listBoxItemStyles>\n"],"mappings":";;;;;AAIO,IAAM,oBAAoB,GAAG;AAAA,EAClC,OAAO;AAAA,IACL,WAAW;AAAA,IACX,OAAO;AAAA,IACP,aAAa;AAAA,EACf;AAAA,EACA,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,QACF,WAAW;AAAA,QACX,aAAa;AAAA,MACf;AAAA,MACA,IAAI;AAAA,QACF,WAAW;AAAA,QACX,aAAa;AAAA,MACf;AAAA,MACA,IAAI,EAAE,WAAW,0BAA0B,aAAa,eAAe;AAAA,IACzE;AAAA,IACA,WAAW;AAAA,MACT,MAAM,EAAE,WAAW,kCAAkC;AAAA,IACvD;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM,EAAE,WAAW,mCAAmC;AAAA,IACxD;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,WACE;AAAA,MACJ;AAAA,IACF;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB;AAAA,MACE,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,WAAW;AAAA,QACT,WAAW;AAAA,MACb;AAAA,IACF;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,WAAW,EAAE,WAAW,kBAAkB;AAAA,IAC5C;AAAA,IACA;AAAA,MACE,MAAM,CAAC,MAAM,IAAI;AAAA,MACjB,YAAY;AAAA,MACZ,WAAW,EAAE,WAAW,kBAAkB;AAAA,IAC5C;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;","names":[]}
|
|
@@ -6,41 +6,6 @@ import {
|
|
|
6
6
|
} from "./chunk-4JENAMGV.mjs";
|
|
7
7
|
|
|
8
8
|
// src/components/tag-field.ts
|
|
9
|
-
var tagFieldItemStyles = tv({
|
|
10
|
-
slots: {
|
|
11
|
-
container: "text-base-content-strong aria-disabled:text-interaction-support-disabled-content hover:bg-interaction-muted-main-hover active:bg-interaction-muted-main-active flex cursor-pointer flex-col aria-disabled:cursor-not-allowed",
|
|
12
|
-
label: "line-clamp-1",
|
|
13
|
-
description: "text-base-content-medium"
|
|
14
|
-
},
|
|
15
|
-
variants: {
|
|
16
|
-
size: {
|
|
17
|
-
xs: {
|
|
18
|
-
container: "prose-body-2 px-3 py-3",
|
|
19
|
-
description: "prose-body-2"
|
|
20
|
-
},
|
|
21
|
-
sm: {
|
|
22
|
-
container: "prose-body-2 px-3 py-3",
|
|
23
|
-
description: "prose-body-2"
|
|
24
|
-
},
|
|
25
|
-
md: { container: "prose-body-1 px-4 py-3", description: "prose-body-2" }
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
compoundVariants: [
|
|
29
|
-
{
|
|
30
|
-
size: "md",
|
|
31
|
-
isSelected: true,
|
|
32
|
-
className: { container: "prose-subhead-1" }
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
size: ["sm", "xs"],
|
|
36
|
-
isSelected: true,
|
|
37
|
-
className: { container: "prose-subhead-2" }
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
defaultVariants: {
|
|
41
|
-
size: "md"
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
9
|
var tagFieldStyles = tv({
|
|
45
10
|
slots: {
|
|
46
11
|
root: "flex flex-col gap-2",
|
|
@@ -56,7 +21,8 @@ var tagFieldStyles = tv({
|
|
|
56
21
|
trigger: "flex items-center aria-expanded:rotate-180",
|
|
57
22
|
description: "",
|
|
58
23
|
error: "",
|
|
59
|
-
|
|
24
|
+
popover: "rounded-t-none",
|
|
25
|
+
list: "relative z-10 max-h-80 w-(--trigger-width) overflow-y-auto p-0"
|
|
60
26
|
},
|
|
61
27
|
variants: {
|
|
62
28
|
isDisabled: {
|
|
@@ -95,7 +61,6 @@ var tagFieldStyles = tv({
|
|
|
95
61
|
});
|
|
96
62
|
|
|
97
63
|
export {
|
|
98
|
-
tagFieldItemStyles,
|
|
99
64
|
tagFieldStyles
|
|
100
65
|
};
|
|
101
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-VS4FD2JZ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/tag-field.ts"],"sourcesContent":["import type { VariantProps } from \"tailwind-variants\"\n\nimport { focusVisibleClasses } from \"../utils\"\nimport { tv } from \"../utils/tv\"\n\nexport const tagFieldStyles = tv({\n slots: {\n root: \"flex flex-col gap-2\",\n label: \"\",\n group: \"flex-wrap items-start\",\n tag: [\n ...focusVisibleClasses,\n \"bg-interaction-main-subtle-default hover:bg-interaction-main-subtle-hover focus:bg-interaction-main-subtle-hover text-interaction-main-default flex cursor-pointer flex-row items-center gap-1 rounded-md transition\",\n ],\n tagText: \"line-clamp-1\",\n tagIcon: \"shrink-0 cursor-pointer\",\n field: \"h-auto min-w-24 p-0\",\n trigger: \"flex items-center aria-expanded:rotate-180\",\n description: \"\",\n error: \"\",\n popover: \"rounded-t-none\",\n list: \"relative z-10 max-h-80 w-(--trigger-width) overflow-y-auto p-0\",\n },\n variants: {\n isDisabled: {\n true: {\n group: \"\",\n },\n },\n variant: {},\n size: {\n xs: {\n group: \"prose-body-2 min-h-9 gap-1 px-2 py-1\",\n field: \"placeholder:prose-subhead-5 my-0.5 h-5 px-1\",\n tag: \"prose-caption-1 my-0.5 px-2 py-0.5\",\n tagIcon: \"size-3.5\",\n trigger: \"h-6 w-4\",\n },\n sm: {\n group: \"prose-body-2 min-h-10 gap-1 px-2 py-1.5\",\n field: \"h-6 px-1\",\n tag: \"prose-body-2 px-2 py-0.5\",\n tagIcon: \"size-4.5\",\n trigger: \"h-6 w-4\",\n },\n md: {\n group: \"prose-body-1 min-h-11 gap-1 px-2 py-1.5\",\n field: \"h-7 px-2\",\n tag: \"prose-subhead-2 px-2 py-1\",\n tagIcon: \"size-4.5\",\n trigger: \"h-7 w-5\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n})\n\nexport type TagFieldVariantProps = VariantProps<typeof tagFieldStyles>\nexport type TagFieldSlots = keyof ReturnType<typeof tagFieldStyles>\n"],"mappings":";;;;;;;;AAKO,IAAM,iBAAiB,GAAG;AAAA,EAC/B,OAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,KAAK;AAAA,MACH,GAAG;AAAA,MACH;AAAA,IACF;AAAA,IACA,SAAS;AAAA,IACT,SAAS;AAAA,IACT,OAAO;AAAA,IACP,SAAS;AAAA,IACT,aAAa;AAAA,IACb,OAAO;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,EACR;AAAA,EACA,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,SAAS,CAAC;AAAA,IACV,MAAM;AAAA,MACJ,IAAI;AAAA,QACF,OAAO;AAAA,QACP,OAAO;AAAA,QACP,KAAK;AAAA,QACL,SAAS;AAAA,QACT,SAAS;AAAA,MACX;AAAA,MACA,IAAI;AAAA,QACF,OAAO;AAAA,QACP,OAAO;AAAA,QACP,KAAK;AAAA,QACL,SAAS;AAAA,QACT,SAAS;AAAA,MACX;AAAA,MACA,IAAI;AAAA,QACF,OAAO;AAAA,QACP,OAAO;AAAA,QACP,KAAK;AAAA,QACL,SAAS;AAAA,QACT,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-4JENAMGV.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/popover.ts
|
|
6
|
+
var popoverStyles = tv({
|
|
7
|
+
base: "bg-utility-ui text-base-content-strong rounded-sm bg-clip-padding shadow-sm forced-colors:bg-[Canvas]",
|
|
8
|
+
variants: {
|
|
9
|
+
isEntering: {
|
|
10
|
+
true: "motion-safe:animate-in motion-safe:fade-in placement-bottom:slide-in-from-top-1 placement-top:slide-in-from-bottom-1 placement-left:slide-in-from-right-1 placement-right:slide-in-from-left-1 motion-safe:duration-200 motion-safe:ease-out"
|
|
11
|
+
},
|
|
12
|
+
isExiting: {
|
|
13
|
+
true: "motion-safe:animate-out motion-safe:fade-out placement-bottom:slide-out-to-top-1 placement-top:slide-out-to-bottom-1 placement-left:slide-out-to-right-1 placement-right:slide-out-to-left-1 ease-in motion-safe:duration-150"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
var popoverArrowStyles = tv({
|
|
18
|
+
base: "group-placement-bottom:rotate-180 group-placement-left:-rotate-90 group-placement-right:rotate-90 fill-utility-ui block forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]"
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
popoverStyles,
|
|
23
|
+
popoverArrowStyles
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=chunk-XRA3KMRB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/popover.ts"],"sourcesContent":["import type { VariantProps } from \"tailwind-variants\"\n\nimport { tv } from \"../utils/tv\"\n\nexport const popoverStyles = tv({\n base: \"bg-utility-ui text-base-content-strong rounded-sm bg-clip-padding shadow-sm forced-colors:bg-[Canvas]\",\n variants: {\n isEntering: {\n true: \"motion-safe:animate-in motion-safe:fade-in placement-bottom:slide-in-from-top-1 placement-top:slide-in-from-bottom-1 placement-left:slide-in-from-right-1 placement-right:slide-in-from-left-1 motion-safe:duration-200 motion-safe:ease-out\",\n },\n isExiting: {\n true: \"motion-safe:animate-out motion-safe:fade-out placement-bottom:slide-out-to-top-1 placement-top:slide-out-to-bottom-1 placement-left:slide-out-to-right-1 placement-right:slide-out-to-left-1 ease-in motion-safe:duration-150\",\n },\n },\n})\n\nexport type PopoverVariantProps = VariantProps<typeof popoverStyles>\n\nexport const popoverArrowStyles = tv({\n base: \"group-placement-bottom:rotate-180 group-placement-left:-rotate-90 group-placement-right:rotate-90 fill-utility-ui block forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]\",\n})\n"],"mappings":";;;;;AAIO,IAAM,gBAAgB,GAAG;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;AAIM,IAAM,qBAAqB,GAAG;AAAA,EACnC,MAAM;AACR,CAAC;","names":[]}
|
package/dist/components/badge.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
var _chunkNL5XE6BWjs = require('../chunk-NL5XE6BW.js');
|
|
5
5
|
require('../chunk-7Y2HFACM.js');
|
|
6
6
|
require('../chunk-OLJN3WXR.js');
|
|
7
|
+
require('../chunk-ZXZSQRVC.js');
|
|
7
8
|
require('../chunk-2LTV7VB5.js');
|
|
8
9
|
require('../chunk-X2UCVIR5.js');
|
|
9
10
|
require('../chunk-ZIQLHX3U.js');
|
|
10
11
|
require('../chunk-O3I4FUFD.js');
|
|
11
|
-
require('../chunk-ZXZSQRVC.js');
|
|
12
12
|
require('../chunk-UZONBJUX.js');
|
|
13
13
|
require('../chunk-HEB3T2LL.js');
|
|
14
14
|
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "../chunk-KHQ7EBS5.mjs";
|
|
5
5
|
import "../chunk-C7FUGWVY.mjs";
|
|
6
6
|
import "../chunk-M2BG3FAA.mjs";
|
|
7
|
+
import "../chunk-J2WMLIIA.mjs";
|
|
7
8
|
import "../chunk-XTHC46M2.mjs";
|
|
8
9
|
import "../chunk-SFKXXWVK.mjs";
|
|
9
10
|
import "../chunk-HAUMMW6T.mjs";
|
|
10
11
|
import "../chunk-TL5MCSZQ.mjs";
|
|
11
|
-
import "../chunk-J2WMLIIA.mjs";
|
|
12
12
|
import "../chunk-4JENAMGV.mjs";
|
|
13
13
|
import "../chunk-R6W5A7PF.mjs";
|
|
14
14
|
export {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var _chunkOHMUYFGRjs = require('../chunk-OHMUYFGR.js');
|
|
4
4
|
require('../chunk-7Y2HFACM.js');
|
|
5
5
|
require('../chunk-OLJN3WXR.js');
|
|
6
|
+
require('../chunk-ZXZSQRVC.js');
|
|
6
7
|
require('../chunk-2LTV7VB5.js');
|
|
7
8
|
require('../chunk-X2UCVIR5.js');
|
|
8
9
|
require('../chunk-ZIQLHX3U.js');
|
|
9
10
|
require('../chunk-O3I4FUFD.js');
|
|
10
|
-
require('../chunk-ZXZSQRVC.js');
|
|
11
11
|
require('../chunk-UZONBJUX.js');
|
|
12
12
|
require('../chunk-HEB3T2LL.js');
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "../chunk-LB4U4MBD.mjs";
|
|
4
4
|
import "../chunk-C7FUGWVY.mjs";
|
|
5
5
|
import "../chunk-M2BG3FAA.mjs";
|
|
6
|
+
import "../chunk-J2WMLIIA.mjs";
|
|
6
7
|
import "../chunk-XTHC46M2.mjs";
|
|
7
8
|
import "../chunk-SFKXXWVK.mjs";
|
|
8
9
|
import "../chunk-HAUMMW6T.mjs";
|
|
9
10
|
import "../chunk-TL5MCSZQ.mjs";
|
|
10
|
-
import "../chunk-J2WMLIIA.mjs";
|
|
11
11
|
import "../chunk-4JENAMGV.mjs";
|
|
12
12
|
import "../chunk-R6W5A7PF.mjs";
|
|
13
13
|
export {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var _chunk5ULZEGWXjs = require('../chunk-5ULZEGWX.js');
|
|
4
4
|
require('../chunk-OLJN3WXR.js');
|
|
5
|
+
require('../chunk-ZXZSQRVC.js');
|
|
5
6
|
require('../chunk-2LTV7VB5.js');
|
|
6
7
|
require('../chunk-X2UCVIR5.js');
|
|
7
8
|
require('../chunk-ZIQLHX3U.js');
|
|
8
9
|
require('../chunk-O3I4FUFD.js');
|
|
9
|
-
require('../chunk-ZXZSQRVC.js');
|
|
10
10
|
require('../chunk-UZONBJUX.js');
|
|
11
11
|
require('../chunk-HEB3T2LL.js');
|
|
12
12
|
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
calendarStyles
|
|
3
3
|
} from "../chunk-7S572BNQ.mjs";
|
|
4
4
|
import "../chunk-M2BG3FAA.mjs";
|
|
5
|
+
import "../chunk-J2WMLIIA.mjs";
|
|
5
6
|
import "../chunk-XTHC46M2.mjs";
|
|
6
7
|
import "../chunk-SFKXXWVK.mjs";
|
|
7
8
|
import "../chunk-HAUMMW6T.mjs";
|
|
8
9
|
import "../chunk-TL5MCSZQ.mjs";
|
|
9
|
-
import "../chunk-J2WMLIIA.mjs";
|
|
10
10
|
import "../chunk-4JENAMGV.mjs";
|
|
11
11
|
import "../chunk-R6W5A7PF.mjs";
|
|
12
12
|
export {
|
|
@@ -209,189 +209,6 @@ declare const comboBoxStyles: tailwind_variants.TVReturnType<{
|
|
|
209
209
|
}>, unknown, unknown, undefined>>;
|
|
210
210
|
type ComboBoxVariantProps = VariantProps<typeof comboBoxStyles>;
|
|
211
211
|
type ComboBoxSlots = keyof ReturnType<typeof comboBoxStyles>;
|
|
212
|
-
declare const comboBoxItemStyles: tailwind_variants.TVReturnType<{
|
|
213
|
-
size: {
|
|
214
|
-
xs: {
|
|
215
|
-
container: string;
|
|
216
|
-
description: string;
|
|
217
|
-
};
|
|
218
|
-
sm: {
|
|
219
|
-
container: string;
|
|
220
|
-
description: string;
|
|
221
|
-
};
|
|
222
|
-
md: {
|
|
223
|
-
container: string;
|
|
224
|
-
description: string;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
isFocused: {
|
|
228
|
-
true: {
|
|
229
|
-
container: string;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
isSelected: {
|
|
233
|
-
true: {
|
|
234
|
-
container: string;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
isDisabled: {
|
|
238
|
-
true: {
|
|
239
|
-
container: string;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
}, {
|
|
243
|
-
container: string;
|
|
244
|
-
label: string;
|
|
245
|
-
description: string;
|
|
246
|
-
}, undefined, {
|
|
247
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
248
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
249
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
250
|
-
isSelected?: boolean | (string | number | symbol)[] | undefined;
|
|
251
|
-
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
252
|
-
} | undefined;
|
|
253
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
254
|
-
twMergeConfig: {
|
|
255
|
-
extend: {
|
|
256
|
-
theme: {};
|
|
257
|
-
classGroups: {
|
|
258
|
-
prose: {
|
|
259
|
-
prose: (() => boolean)[];
|
|
260
|
-
}[];
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
}, {
|
|
265
|
-
size: {
|
|
266
|
-
xs: {
|
|
267
|
-
container: string;
|
|
268
|
-
description: string;
|
|
269
|
-
};
|
|
270
|
-
sm: {
|
|
271
|
-
container: string;
|
|
272
|
-
description: string;
|
|
273
|
-
};
|
|
274
|
-
md: {
|
|
275
|
-
container: string;
|
|
276
|
-
description: string;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
isFocused: {
|
|
280
|
-
true: {
|
|
281
|
-
container: string;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
isSelected: {
|
|
285
|
-
true: {
|
|
286
|
-
container: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
isDisabled: {
|
|
290
|
-
true: {
|
|
291
|
-
container: string;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
}, {
|
|
295
|
-
container: string;
|
|
296
|
-
label: string;
|
|
297
|
-
description: string;
|
|
298
|
-
}, tailwind_variants.TVReturnType<{
|
|
299
|
-
size: {
|
|
300
|
-
xs: {
|
|
301
|
-
container: string;
|
|
302
|
-
description: string;
|
|
303
|
-
};
|
|
304
|
-
sm: {
|
|
305
|
-
container: string;
|
|
306
|
-
description: string;
|
|
307
|
-
};
|
|
308
|
-
md: {
|
|
309
|
-
container: string;
|
|
310
|
-
description: string;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
isFocused: {
|
|
314
|
-
true: {
|
|
315
|
-
container: string;
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
isSelected: {
|
|
319
|
-
true: {
|
|
320
|
-
container: string;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
isDisabled: {
|
|
324
|
-
true: {
|
|
325
|
-
container: string;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
}, {
|
|
329
|
-
container: string;
|
|
330
|
-
label: string;
|
|
331
|
-
description: string;
|
|
332
|
-
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
333
|
-
size: {
|
|
334
|
-
xs: {
|
|
335
|
-
container: string;
|
|
336
|
-
description: string;
|
|
337
|
-
};
|
|
338
|
-
sm: {
|
|
339
|
-
container: string;
|
|
340
|
-
description: string;
|
|
341
|
-
};
|
|
342
|
-
md: {
|
|
343
|
-
container: string;
|
|
344
|
-
description: string;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
isFocused: {
|
|
348
|
-
true: {
|
|
349
|
-
container: string;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
isSelected: {
|
|
353
|
-
true: {
|
|
354
|
-
container: string;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
isDisabled: {
|
|
358
|
-
true: {
|
|
359
|
-
container: string;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
}, {
|
|
363
|
-
size: {
|
|
364
|
-
xs: {
|
|
365
|
-
container: string;
|
|
366
|
-
description: string;
|
|
367
|
-
};
|
|
368
|
-
sm: {
|
|
369
|
-
container: string;
|
|
370
|
-
description: string;
|
|
371
|
-
};
|
|
372
|
-
md: {
|
|
373
|
-
container: string;
|
|
374
|
-
description: string;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
isFocused: {
|
|
378
|
-
true: {
|
|
379
|
-
container: string;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
isSelected: {
|
|
383
|
-
true: {
|
|
384
|
-
container: string;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
isDisabled: {
|
|
388
|
-
true: {
|
|
389
|
-
container: string;
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
}>, unknown, unknown, undefined>>;
|
|
393
|
-
type ComboBoxItemVariantProps = VariantProps<typeof comboBoxItemStyles>;
|
|
394
|
-
type ComboBoxItemSlots = keyof ReturnType<typeof comboBoxItemStyles>;
|
|
395
212
|
declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
396
213
|
isDisabled: {
|
|
397
214
|
true: string;
|
|
@@ -417,9 +234,9 @@ declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
|
417
234
|
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
418
235
|
size?: boolean | (string | number | symbol)[] | undefined;
|
|
419
236
|
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
420
|
-
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
421
237
|
isInactive?: boolean | (string | number | symbol)[] | undefined;
|
|
422
238
|
isHovered?: boolean | (string | number | symbol)[] | undefined;
|
|
239
|
+
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
423
240
|
isPressed?: boolean | (string | number | symbol)[] | undefined;
|
|
424
241
|
} | undefined;
|
|
425
242
|
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
@@ -519,4 +336,4 @@ declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
|
519
336
|
};
|
|
520
337
|
}>, unknown, unknown, undefined>>;
|
|
521
338
|
|
|
522
|
-
export { type
|
|
339
|
+
export { type ComboBoxSlots, type ComboBoxVariantProps, comboBoxClearButtonStyles, comboBoxStyles };
|
|
@@ -209,189 +209,6 @@ declare const comboBoxStyles: tailwind_variants.TVReturnType<{
|
|
|
209
209
|
}>, unknown, unknown, undefined>>;
|
|
210
210
|
type ComboBoxVariantProps = VariantProps<typeof comboBoxStyles>;
|
|
211
211
|
type ComboBoxSlots = keyof ReturnType<typeof comboBoxStyles>;
|
|
212
|
-
declare const comboBoxItemStyles: tailwind_variants.TVReturnType<{
|
|
213
|
-
size: {
|
|
214
|
-
xs: {
|
|
215
|
-
container: string;
|
|
216
|
-
description: string;
|
|
217
|
-
};
|
|
218
|
-
sm: {
|
|
219
|
-
container: string;
|
|
220
|
-
description: string;
|
|
221
|
-
};
|
|
222
|
-
md: {
|
|
223
|
-
container: string;
|
|
224
|
-
description: string;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
isFocused: {
|
|
228
|
-
true: {
|
|
229
|
-
container: string;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
isSelected: {
|
|
233
|
-
true: {
|
|
234
|
-
container: string;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
isDisabled: {
|
|
238
|
-
true: {
|
|
239
|
-
container: string;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
}, {
|
|
243
|
-
container: string;
|
|
244
|
-
label: string;
|
|
245
|
-
description: string;
|
|
246
|
-
}, undefined, {
|
|
247
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
248
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
249
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
250
|
-
isSelected?: boolean | (string | number | symbol)[] | undefined;
|
|
251
|
-
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
252
|
-
} | undefined;
|
|
253
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
254
|
-
twMergeConfig: {
|
|
255
|
-
extend: {
|
|
256
|
-
theme: {};
|
|
257
|
-
classGroups: {
|
|
258
|
-
prose: {
|
|
259
|
-
prose: (() => boolean)[];
|
|
260
|
-
}[];
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
}, {
|
|
265
|
-
size: {
|
|
266
|
-
xs: {
|
|
267
|
-
container: string;
|
|
268
|
-
description: string;
|
|
269
|
-
};
|
|
270
|
-
sm: {
|
|
271
|
-
container: string;
|
|
272
|
-
description: string;
|
|
273
|
-
};
|
|
274
|
-
md: {
|
|
275
|
-
container: string;
|
|
276
|
-
description: string;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
isFocused: {
|
|
280
|
-
true: {
|
|
281
|
-
container: string;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
isSelected: {
|
|
285
|
-
true: {
|
|
286
|
-
container: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
isDisabled: {
|
|
290
|
-
true: {
|
|
291
|
-
container: string;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
}, {
|
|
295
|
-
container: string;
|
|
296
|
-
label: string;
|
|
297
|
-
description: string;
|
|
298
|
-
}, tailwind_variants.TVReturnType<{
|
|
299
|
-
size: {
|
|
300
|
-
xs: {
|
|
301
|
-
container: string;
|
|
302
|
-
description: string;
|
|
303
|
-
};
|
|
304
|
-
sm: {
|
|
305
|
-
container: string;
|
|
306
|
-
description: string;
|
|
307
|
-
};
|
|
308
|
-
md: {
|
|
309
|
-
container: string;
|
|
310
|
-
description: string;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
isFocused: {
|
|
314
|
-
true: {
|
|
315
|
-
container: string;
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
isSelected: {
|
|
319
|
-
true: {
|
|
320
|
-
container: string;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
isDisabled: {
|
|
324
|
-
true: {
|
|
325
|
-
container: string;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
}, {
|
|
329
|
-
container: string;
|
|
330
|
-
label: string;
|
|
331
|
-
description: string;
|
|
332
|
-
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
333
|
-
size: {
|
|
334
|
-
xs: {
|
|
335
|
-
container: string;
|
|
336
|
-
description: string;
|
|
337
|
-
};
|
|
338
|
-
sm: {
|
|
339
|
-
container: string;
|
|
340
|
-
description: string;
|
|
341
|
-
};
|
|
342
|
-
md: {
|
|
343
|
-
container: string;
|
|
344
|
-
description: string;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
isFocused: {
|
|
348
|
-
true: {
|
|
349
|
-
container: string;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
isSelected: {
|
|
353
|
-
true: {
|
|
354
|
-
container: string;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
isDisabled: {
|
|
358
|
-
true: {
|
|
359
|
-
container: string;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
}, {
|
|
363
|
-
size: {
|
|
364
|
-
xs: {
|
|
365
|
-
container: string;
|
|
366
|
-
description: string;
|
|
367
|
-
};
|
|
368
|
-
sm: {
|
|
369
|
-
container: string;
|
|
370
|
-
description: string;
|
|
371
|
-
};
|
|
372
|
-
md: {
|
|
373
|
-
container: string;
|
|
374
|
-
description: string;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
isFocused: {
|
|
378
|
-
true: {
|
|
379
|
-
container: string;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
isSelected: {
|
|
383
|
-
true: {
|
|
384
|
-
container: string;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
isDisabled: {
|
|
388
|
-
true: {
|
|
389
|
-
container: string;
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
}>, unknown, unknown, undefined>>;
|
|
393
|
-
type ComboBoxItemVariantProps = VariantProps<typeof comboBoxItemStyles>;
|
|
394
|
-
type ComboBoxItemSlots = keyof ReturnType<typeof comboBoxItemStyles>;
|
|
395
212
|
declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
396
213
|
isDisabled: {
|
|
397
214
|
true: string;
|
|
@@ -417,9 +234,9 @@ declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
|
417
234
|
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
418
235
|
size?: boolean | (string | number | symbol)[] | undefined;
|
|
419
236
|
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
420
|
-
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
421
237
|
isInactive?: boolean | (string | number | symbol)[] | undefined;
|
|
422
238
|
isHovered?: boolean | (string | number | symbol)[] | undefined;
|
|
239
|
+
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
423
240
|
isPressed?: boolean | (string | number | symbol)[] | undefined;
|
|
424
241
|
} | undefined;
|
|
425
242
|
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
@@ -519,4 +336,4 @@ declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
|
519
336
|
};
|
|
520
337
|
}>, unknown, unknown, undefined>>;
|
|
521
338
|
|
|
522
|
-
export { type
|
|
339
|
+
export { type ComboBoxSlots, type ComboBoxVariantProps, comboBoxClearButtonStyles, comboBoxStyles };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
var _chunk2YW3O3BVjs = require('../chunk-2YW3O3BV.js');
|
|
4
|
+
var _chunkQGEGS5ROjs = require('../chunk-QGEGS5RO.js');
|
|
6
5
|
require('../chunk-DB7X5OUP.js');
|
|
7
6
|
require('../chunk-UZONBJUX.js');
|
|
8
7
|
require('../chunk-HEB3T2LL.js');
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
exports.comboBoxClearButtonStyles = _chunk2YW3O3BVjs.comboBoxClearButtonStyles; exports.comboBoxItemStyles = _chunk2YW3O3BVjs.comboBoxItemStyles; exports.comboBoxStyles = _chunk2YW3O3BVjs.comboBoxStyles;
|
|
11
|
+
exports.comboBoxClearButtonStyles = _chunkQGEGS5ROjs.comboBoxClearButtonStyles; exports.comboBoxStyles = _chunkQGEGS5ROjs.comboBoxStyles;
|
|
14
12
|
//# sourceMappingURL=combo-box.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/combo-box.js"],"names":[],"mappings":"AAAA;AACE;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/combo-box.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,yIAAC","file":"/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/combo-box.js"}
|