@opengovsg/oui-theme 0.0.6 → 0.0.10
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-2HLZ2TA2.mjs → chunk-44H2MHJG.mjs} +2 -2
- package/dist/chunk-44H2MHJG.mjs.map +1 -0
- package/dist/chunk-4YH455F5.js +83 -0
- package/dist/chunk-4YH455F5.js.map +1 -0
- package/dist/{chunk-ATN4OFA4.js → chunk-5FOX35BG.js} +39 -17
- package/dist/chunk-5FOX35BG.js.map +1 -0
- package/dist/chunk-5ULZEGWX.js +113 -0
- package/dist/chunk-5ULZEGWX.js.map +1 -0
- package/dist/chunk-7S572BNQ.mjs +113 -0
- package/dist/chunk-7S572BNQ.mjs.map +1 -0
- 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-7SYUA43A.js → chunk-GCZQ5SEK.js} +2 -2
- package/dist/chunk-GCZQ5SEK.js.map +1 -0
- package/dist/{chunk-SCEZEIC2.mjs → chunk-H6JUN6QG.mjs} +39 -17
- package/dist/chunk-H6JUN6QG.mjs.map +1 -0
- package/dist/{chunk-E7JBRLR5.mjs → chunk-KHQ7EBS5.mjs} +2 -2
- package/dist/chunk-KHQ7EBS5.mjs.map +1 -0
- package/dist/chunk-KKW4VCZA.mjs +83 -0
- package/dist/chunk-KKW4VCZA.mjs.map +1 -0
- package/dist/{chunk-JSOQXC4Z.js → chunk-NL5XE6BW.js} +2 -2
- package/dist/{chunk-JSOQXC4Z.js.map → chunk-NL5XE6BW.js.map} +1 -1
- 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 +3 -3
- package/dist/components/badge.mjs +2 -2
- package/dist/components/banner.js +2 -2
- package/dist/components/banner.mjs +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/button.mjs +1 -1
- package/dist/components/calendar.d.mts +226 -16
- package/dist/components/calendar.d.ts +226 -16
- package/dist/components/calendar.js +8 -2
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/calendar.mjs +7 -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 +36 -20
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +43 -27
- 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.d.mts +18 -28
- package/dist/components/select.d.ts +18 -28
- 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 +35 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -33
- 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 +5 -5
- package/src/tailwind.css +16 -0
- package/dist/chunk-2HLZ2TA2.mjs.map +0 -1
- package/dist/chunk-2YW3O3BV.js.map +0 -1
- package/dist/chunk-7SYUA43A.js.map +0 -1
- package/dist/chunk-ARRSHAJG.mjs +0 -1
- package/dist/chunk-ATN4OFA4.js.map +0 -1
- package/dist/chunk-E7JBRLR5.mjs.map +0 -1
- package/dist/chunk-GK7MVUI2.mjs +0 -41
- package/dist/chunk-GK7MVUI2.mjs.map +0 -1
- package/dist/chunk-GQ3JHZUT.js +0 -41
- package/dist/chunk-GQ3JHZUT.js.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-SCEZEIC2.mjs.map +0 -1
- package/dist/chunk-Z5EKAZRY.mjs.map +0 -1
- /package/dist/{chunk-ARRSHAJG.mjs.map → chunk-AFHAQGRO.mjs.map} +0 -0
|
@@ -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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
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
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.badgeCloseButtonStyles =
|
|
17
|
+
exports.badgeCloseButtonStyles = _chunkNL5XE6BWjs.badgeCloseButtonStyles; exports.badgeStyles = _chunkNL5XE6BWjs.badgeStyles;
|
|
18
18
|
//# sourceMappingURL=badge.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
badgeCloseButtonStyles,
|
|
3
3
|
badgeStyles
|
|
4
|
-
} from "../chunk-
|
|
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 {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGCZQ5SEKjs = require('../chunk-GCZQ5SEK.js');
|
|
4
4
|
require('../chunk-UZONBJUX.js');
|
|
5
5
|
require('../chunk-HEB3T2LL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.bannerStyles =
|
|
8
|
+
exports.bannerStyles = _chunkGCZQ5SEKjs.bannerStyles;
|
|
9
9
|
//# sourceMappingURL=banner.js.map
|
|
@@ -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 {
|
|
@@ -4,28 +4,78 @@ import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config
|
|
|
4
4
|
|
|
5
5
|
declare const calendarStyles: tailwind_variants.TVReturnType<{
|
|
6
6
|
variant: {};
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
isRange: {
|
|
8
|
+
true: {
|
|
9
9
|
cell: string;
|
|
10
10
|
};
|
|
11
|
+
};
|
|
12
|
+
isMultipleMonths: {
|
|
11
13
|
true: {
|
|
12
14
|
cell: string;
|
|
13
15
|
};
|
|
14
16
|
};
|
|
17
|
+
isSelected: {
|
|
18
|
+
true: string;
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
sm: {
|
|
22
|
+
base: string;
|
|
23
|
+
gridHeaderCell: string;
|
|
24
|
+
header: string;
|
|
25
|
+
cell: string;
|
|
26
|
+
monthSelector: string;
|
|
27
|
+
selectorText: string;
|
|
28
|
+
yearSelector: string;
|
|
29
|
+
nextButton: string;
|
|
30
|
+
selectors: string;
|
|
31
|
+
bottomContentWrapper: string;
|
|
32
|
+
calendar: string;
|
|
33
|
+
};
|
|
34
|
+
md: {
|
|
35
|
+
base: string;
|
|
36
|
+
gridHeaderCell: string;
|
|
37
|
+
header: string;
|
|
38
|
+
cell: string;
|
|
39
|
+
monthSelector: string;
|
|
40
|
+
selectorText: string;
|
|
41
|
+
yearSelector: string;
|
|
42
|
+
nextButton: string;
|
|
43
|
+
selectors: string;
|
|
44
|
+
bottomContentWrapper: string;
|
|
45
|
+
calendar: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
15
48
|
}, {
|
|
16
49
|
base: string;
|
|
17
50
|
prevButton: string;
|
|
18
51
|
nextButton: string;
|
|
52
|
+
buttonGroup: string;
|
|
19
53
|
header: string;
|
|
20
54
|
title: string;
|
|
21
55
|
content: string;
|
|
22
|
-
cell: string;
|
|
23
|
-
|
|
56
|
+
cell: string[];
|
|
57
|
+
grid: string;
|
|
58
|
+
calendar: string;
|
|
59
|
+
gridWrapper: string;
|
|
60
|
+
gridHeader: string;
|
|
61
|
+
gridHeaderCell: string;
|
|
62
|
+
gridBody: string;
|
|
63
|
+
yearSelector: string;
|
|
64
|
+
monthSelector: string;
|
|
65
|
+
yearList: string;
|
|
66
|
+
monthList: string;
|
|
67
|
+
selectorText: string;
|
|
68
|
+
selectors: string;
|
|
69
|
+
bottomContentWrapper: string;
|
|
70
|
+
todayButton: string;
|
|
24
71
|
errorMessage: string;
|
|
25
72
|
}, undefined, {
|
|
26
73
|
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
74
|
+
size?: boolean | (string | number | symbol)[] | undefined;
|
|
27
75
|
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
76
|
+
isRange?: boolean | (string | number | symbol)[] | undefined;
|
|
28
77
|
isSelected?: boolean | (string | number | symbol)[] | undefined;
|
|
78
|
+
isMultipleMonths?: boolean | (string | number | symbol)[] | undefined;
|
|
29
79
|
} | undefined;
|
|
30
80
|
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
31
81
|
twMergeConfig: {
|
|
@@ -40,64 +90,224 @@ declare const calendarStyles: tailwind_variants.TVReturnType<{
|
|
|
40
90
|
};
|
|
41
91
|
}, {
|
|
42
92
|
variant: {};
|
|
43
|
-
|
|
44
|
-
|
|
93
|
+
isRange: {
|
|
94
|
+
true: {
|
|
45
95
|
cell: string;
|
|
46
96
|
};
|
|
97
|
+
};
|
|
98
|
+
isMultipleMonths: {
|
|
47
99
|
true: {
|
|
48
100
|
cell: string;
|
|
49
101
|
};
|
|
50
102
|
};
|
|
103
|
+
isSelected: {
|
|
104
|
+
true: string;
|
|
105
|
+
};
|
|
106
|
+
size: {
|
|
107
|
+
sm: {
|
|
108
|
+
base: string;
|
|
109
|
+
gridHeaderCell: string;
|
|
110
|
+
header: string;
|
|
111
|
+
cell: string;
|
|
112
|
+
monthSelector: string;
|
|
113
|
+
selectorText: string;
|
|
114
|
+
yearSelector: string;
|
|
115
|
+
nextButton: string;
|
|
116
|
+
selectors: string;
|
|
117
|
+
bottomContentWrapper: string;
|
|
118
|
+
calendar: string;
|
|
119
|
+
};
|
|
120
|
+
md: {
|
|
121
|
+
base: string;
|
|
122
|
+
gridHeaderCell: string;
|
|
123
|
+
header: string;
|
|
124
|
+
cell: string;
|
|
125
|
+
monthSelector: string;
|
|
126
|
+
selectorText: string;
|
|
127
|
+
yearSelector: string;
|
|
128
|
+
nextButton: string;
|
|
129
|
+
selectors: string;
|
|
130
|
+
bottomContentWrapper: string;
|
|
131
|
+
calendar: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
51
134
|
}, {
|
|
52
135
|
base: string;
|
|
53
136
|
prevButton: string;
|
|
54
137
|
nextButton: string;
|
|
138
|
+
buttonGroup: string;
|
|
55
139
|
header: string;
|
|
56
140
|
title: string;
|
|
57
141
|
content: string;
|
|
58
|
-
cell: string;
|
|
59
|
-
|
|
142
|
+
cell: string[];
|
|
143
|
+
grid: string;
|
|
144
|
+
calendar: string;
|
|
145
|
+
gridWrapper: string;
|
|
146
|
+
gridHeader: string;
|
|
147
|
+
gridHeaderCell: string;
|
|
148
|
+
gridBody: string;
|
|
149
|
+
yearSelector: string;
|
|
150
|
+
monthSelector: string;
|
|
151
|
+
yearList: string;
|
|
152
|
+
monthList: string;
|
|
153
|
+
selectorText: string;
|
|
154
|
+
selectors: string;
|
|
155
|
+
bottomContentWrapper: string;
|
|
156
|
+
todayButton: string;
|
|
60
157
|
errorMessage: string;
|
|
61
158
|
}, tailwind_variants.TVReturnType<{
|
|
62
159
|
variant: {};
|
|
63
|
-
|
|
64
|
-
|
|
160
|
+
isRange: {
|
|
161
|
+
true: {
|
|
65
162
|
cell: string;
|
|
66
163
|
};
|
|
164
|
+
};
|
|
165
|
+
isMultipleMonths: {
|
|
67
166
|
true: {
|
|
68
167
|
cell: string;
|
|
69
168
|
};
|
|
70
169
|
};
|
|
170
|
+
isSelected: {
|
|
171
|
+
true: string;
|
|
172
|
+
};
|
|
173
|
+
size: {
|
|
174
|
+
sm: {
|
|
175
|
+
base: string;
|
|
176
|
+
gridHeaderCell: string;
|
|
177
|
+
header: string;
|
|
178
|
+
cell: string;
|
|
179
|
+
monthSelector: string;
|
|
180
|
+
selectorText: string;
|
|
181
|
+
yearSelector: string;
|
|
182
|
+
nextButton: string;
|
|
183
|
+
selectors: string;
|
|
184
|
+
bottomContentWrapper: string;
|
|
185
|
+
calendar: string;
|
|
186
|
+
};
|
|
187
|
+
md: {
|
|
188
|
+
base: string;
|
|
189
|
+
gridHeaderCell: string;
|
|
190
|
+
header: string;
|
|
191
|
+
cell: string;
|
|
192
|
+
monthSelector: string;
|
|
193
|
+
selectorText: string;
|
|
194
|
+
yearSelector: string;
|
|
195
|
+
nextButton: string;
|
|
196
|
+
selectors: string;
|
|
197
|
+
bottomContentWrapper: string;
|
|
198
|
+
calendar: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
71
201
|
}, {
|
|
72
202
|
base: string;
|
|
73
203
|
prevButton: string;
|
|
74
204
|
nextButton: string;
|
|
205
|
+
buttonGroup: string;
|
|
75
206
|
header: string;
|
|
76
207
|
title: string;
|
|
77
208
|
content: string;
|
|
78
|
-
cell: string;
|
|
79
|
-
|
|
209
|
+
cell: string[];
|
|
210
|
+
grid: string;
|
|
211
|
+
calendar: string;
|
|
212
|
+
gridWrapper: string;
|
|
213
|
+
gridHeader: string;
|
|
214
|
+
gridHeaderCell: string;
|
|
215
|
+
gridBody: string;
|
|
216
|
+
yearSelector: string;
|
|
217
|
+
monthSelector: string;
|
|
218
|
+
yearList: string;
|
|
219
|
+
monthList: string;
|
|
220
|
+
selectorText: string;
|
|
221
|
+
selectors: string;
|
|
222
|
+
bottomContentWrapper: string;
|
|
223
|
+
todayButton: string;
|
|
80
224
|
errorMessage: string;
|
|
81
225
|
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
82
226
|
variant: {};
|
|
83
|
-
|
|
84
|
-
|
|
227
|
+
isRange: {
|
|
228
|
+
true: {
|
|
85
229
|
cell: string;
|
|
86
230
|
};
|
|
231
|
+
};
|
|
232
|
+
isMultipleMonths: {
|
|
87
233
|
true: {
|
|
88
234
|
cell: string;
|
|
89
235
|
};
|
|
90
236
|
};
|
|
237
|
+
isSelected: {
|
|
238
|
+
true: string;
|
|
239
|
+
};
|
|
240
|
+
size: {
|
|
241
|
+
sm: {
|
|
242
|
+
base: string;
|
|
243
|
+
gridHeaderCell: string;
|
|
244
|
+
header: string;
|
|
245
|
+
cell: string;
|
|
246
|
+
monthSelector: string;
|
|
247
|
+
selectorText: string;
|
|
248
|
+
yearSelector: string;
|
|
249
|
+
nextButton: string;
|
|
250
|
+
selectors: string;
|
|
251
|
+
bottomContentWrapper: string;
|
|
252
|
+
calendar: string;
|
|
253
|
+
};
|
|
254
|
+
md: {
|
|
255
|
+
base: string;
|
|
256
|
+
gridHeaderCell: string;
|
|
257
|
+
header: string;
|
|
258
|
+
cell: string;
|
|
259
|
+
monthSelector: string;
|
|
260
|
+
selectorText: string;
|
|
261
|
+
yearSelector: string;
|
|
262
|
+
nextButton: string;
|
|
263
|
+
selectors: string;
|
|
264
|
+
bottomContentWrapper: string;
|
|
265
|
+
calendar: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
91
268
|
}, {
|
|
92
269
|
variant: {};
|
|
93
|
-
|
|
94
|
-
|
|
270
|
+
isRange: {
|
|
271
|
+
true: {
|
|
95
272
|
cell: string;
|
|
96
273
|
};
|
|
274
|
+
};
|
|
275
|
+
isMultipleMonths: {
|
|
97
276
|
true: {
|
|
98
277
|
cell: string;
|
|
99
278
|
};
|
|
100
279
|
};
|
|
280
|
+
isSelected: {
|
|
281
|
+
true: string;
|
|
282
|
+
};
|
|
283
|
+
size: {
|
|
284
|
+
sm: {
|
|
285
|
+
base: string;
|
|
286
|
+
gridHeaderCell: string;
|
|
287
|
+
header: string;
|
|
288
|
+
cell: string;
|
|
289
|
+
monthSelector: string;
|
|
290
|
+
selectorText: string;
|
|
291
|
+
yearSelector: string;
|
|
292
|
+
nextButton: string;
|
|
293
|
+
selectors: string;
|
|
294
|
+
bottomContentWrapper: string;
|
|
295
|
+
calendar: string;
|
|
296
|
+
};
|
|
297
|
+
md: {
|
|
298
|
+
base: string;
|
|
299
|
+
gridHeaderCell: string;
|
|
300
|
+
header: string;
|
|
301
|
+
cell: string;
|
|
302
|
+
monthSelector: string;
|
|
303
|
+
selectorText: string;
|
|
304
|
+
yearSelector: string;
|
|
305
|
+
nextButton: string;
|
|
306
|
+
selectors: string;
|
|
307
|
+
bottomContentWrapper: string;
|
|
308
|
+
calendar: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
101
311
|
}>, unknown, unknown, undefined>>;
|
|
102
312
|
type CalendarVariantProps = VariantProps<typeof calendarStyles>;
|
|
103
313
|
type CalendarSlots = keyof ReturnType<typeof calendarStyles>;
|