@frontile/theme 0.18.0-beta.5 → 0.18.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/declarations/components/avatar.d.ts +66 -0
- package/declarations/components/avatar.d.ts.map +1 -1
- package/declarations/components/chip.d.ts +18 -0
- package/declarations/components/chip.d.ts.map +1 -1
- package/declarations/components/forms/forms.d.ts +307 -17
- package/declarations/components/forms/forms.d.ts.map +1 -1
- package/dist/index.js +252 -17
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -21,6 +21,28 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
|
|
|
21
21
|
base: string;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* How the image fills the avatar. `cover` crops to fill, which suits
|
|
26
|
+
* photos. `contain` shows the whole image inset from the edge, which suits
|
|
27
|
+
* logos and wordmarks that must not be cropped.
|
|
28
|
+
*/
|
|
29
|
+
fit: {
|
|
30
|
+
cover: {
|
|
31
|
+
img: string;
|
|
32
|
+
};
|
|
33
|
+
contain: {
|
|
34
|
+
img: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Draws a hairline just inside the edge, so the avatar's shape holds
|
|
39
|
+
* against a page or photo of the same colour.
|
|
40
|
+
*/
|
|
41
|
+
isBordered: {
|
|
42
|
+
true: {
|
|
43
|
+
base: string[];
|
|
44
|
+
};
|
|
45
|
+
};
|
|
24
46
|
}, {
|
|
25
47
|
base: string[];
|
|
26
48
|
img: string;
|
|
@@ -47,6 +69,28 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
|
|
|
47
69
|
base: string;
|
|
48
70
|
};
|
|
49
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* How the image fills the avatar. `cover` crops to fill, which suits
|
|
74
|
+
* photos. `contain` shows the whole image inset from the edge, which suits
|
|
75
|
+
* logos and wordmarks that must not be cropped.
|
|
76
|
+
*/
|
|
77
|
+
fit: {
|
|
78
|
+
cover: {
|
|
79
|
+
img: string;
|
|
80
|
+
};
|
|
81
|
+
contain: {
|
|
82
|
+
img: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Draws a hairline just inside the edge, so the avatar's shape holds
|
|
87
|
+
* against a page or photo of the same colour.
|
|
88
|
+
*/
|
|
89
|
+
isBordered: {
|
|
90
|
+
true: {
|
|
91
|
+
base: string[];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
50
94
|
}, {
|
|
51
95
|
base: string[];
|
|
52
96
|
img: string;
|
|
@@ -73,6 +117,28 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
|
|
|
73
117
|
base: string;
|
|
74
118
|
};
|
|
75
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* How the image fills the avatar. `cover` crops to fill, which suits
|
|
122
|
+
* photos. `contain` shows the whole image inset from the edge, which suits
|
|
123
|
+
* logos and wordmarks that must not be cropped.
|
|
124
|
+
*/
|
|
125
|
+
fit: {
|
|
126
|
+
cover: {
|
|
127
|
+
img: string;
|
|
128
|
+
};
|
|
129
|
+
contain: {
|
|
130
|
+
img: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Draws a hairline just inside the edge, so the avatar's shape holds
|
|
135
|
+
* against a page or photo of the same colour.
|
|
136
|
+
*/
|
|
137
|
+
isBordered: {
|
|
138
|
+
true: {
|
|
139
|
+
base: string[];
|
|
140
|
+
};
|
|
141
|
+
};
|
|
76
142
|
}, {
|
|
77
143
|
base: string[];
|
|
78
144
|
img: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC9C,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC9C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;IAwCR;;;;OAIG;;;;;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAZH;;;;OAIG;;;;;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAZH;;;;OAIG;;;;;;;;;IAKH;;;OAGG;;;;;;;;;;GA6BL,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;AACzD,MAAM,MAAM,WAAW,GAAG,MAAM,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -38,6 +38,12 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
size: {
|
|
41
|
+
xs: {
|
|
42
|
+
base: string;
|
|
43
|
+
content: string;
|
|
44
|
+
dot: string;
|
|
45
|
+
closeButton: string;
|
|
46
|
+
};
|
|
41
47
|
sm: {
|
|
42
48
|
base: string;
|
|
43
49
|
content: string;
|
|
@@ -108,6 +114,12 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
108
114
|
};
|
|
109
115
|
};
|
|
110
116
|
size: {
|
|
117
|
+
xs: {
|
|
118
|
+
base: string;
|
|
119
|
+
content: string;
|
|
120
|
+
dot: string;
|
|
121
|
+
closeButton: string;
|
|
122
|
+
};
|
|
111
123
|
sm: {
|
|
112
124
|
base: string;
|
|
113
125
|
content: string;
|
|
@@ -178,6 +190,12 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
178
190
|
};
|
|
179
191
|
};
|
|
180
192
|
size: {
|
|
193
|
+
xs: {
|
|
194
|
+
base: string;
|
|
195
|
+
content: string;
|
|
196
|
+
dot: string;
|
|
197
|
+
closeButton: string;
|
|
198
|
+
};
|
|
181
199
|
sm: {
|
|
182
200
|
base: string;
|
|
183
201
|
content: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../src/components/chip.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../src/components/chip.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuSR,CAAC;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
import { type VariantProps } from '../../tw';
|
|
2
|
+
/**
|
|
3
|
+
* A note on the colour levels used for text and borders below.
|
|
4
|
+
*
|
|
5
|
+
* The `soft` level is a *translucent* fill (10-25% alpha) -- it exists to tint
|
|
6
|
+
* a surface, and composites to ~1.1-1.5:1 against whatever is behind it. Used
|
|
7
|
+
* as a border or a text colour it is effectively invisible, which is what the
|
|
8
|
+
* invalid field state used to be in dark mode. Borders and rings here take an
|
|
9
|
+
* opaque level instead, and the translucent-halo job is left to `muted`, which
|
|
10
|
+
* is what `ring-focus` (`--color-primary-muted`) already resolves to.
|
|
11
|
+
*
|
|
12
|
+
* For text, the `DEFAULT` level of the tint-shaped categories (`secondary`,
|
|
13
|
+
* `tertiary`, `success`, `warning`) is a light fill colour, not an ink: in
|
|
14
|
+
* light mode it lands at 1.3-2.6:1, well under AA. `alert.ts` hit the same
|
|
15
|
+
* thing first and settled on `bolder` for success/warning, `firm` for danger
|
|
16
|
+
* and `neutral`, and plain `DEFAULT` for primary; the levels below match it so
|
|
17
|
+
* that the same status reads the same weight in an Alert and in form feedback.
|
|
18
|
+
*
|
|
19
|
+
* Two known failures are deliberately left alone, because changing either one
|
|
20
|
+
* restyles every field in the library and is a design decision rather than a
|
|
21
|
+
* bug:
|
|
22
|
+
* - the resting `border-neutral-soft` is 1.37:1 in light mode, against the
|
|
23
|
+
* 3:1 WCAG 1.4.11 asks of a control's visual boundary (and in light mode
|
|
24
|
+
* `surface-input` equals `surface-app`, so the border is the only boundary);
|
|
25
|
+
* - `placeholder-neutral` is 3.13:1 in light mode, against AA's 4.5:1.
|
|
26
|
+
* `tests/unit/forms/forms-contrast-test.ts` in test-app asserts everything
|
|
27
|
+
* else, and documents these two as the deliberate gaps.
|
|
28
|
+
*/
|
|
2
29
|
declare const label: import("tailwind-variants").TVReturnType<{
|
|
3
30
|
size: {
|
|
4
31
|
sm: {
|
|
@@ -45,7 +72,7 @@ declare const formDescription: import("tailwind-variants").TVReturnType<{
|
|
|
45
72
|
md: "";
|
|
46
73
|
lg: "text-body-sm";
|
|
47
74
|
};
|
|
48
|
-
}, undefined, "text-neutral font-body text-body-2xs pb-1 last:pb-0", {
|
|
75
|
+
}, undefined, "text-neutral-firm font-body text-body-2xs pb-1 last:pb-0", {
|
|
49
76
|
size: {
|
|
50
77
|
sm: "text-body-2xs";
|
|
51
78
|
md: "";
|
|
@@ -61,11 +88,11 @@ declare const formDescription: import("tailwind-variants").TVReturnType<{
|
|
|
61
88
|
declare const formFeedback: import("tailwind-variants").TVReturnType<{
|
|
62
89
|
status: {
|
|
63
90
|
primary: "text-primary";
|
|
64
|
-
secondary: "text-secondary";
|
|
65
|
-
tertiary: "text-tertiary";
|
|
66
|
-
success: "text-success";
|
|
67
|
-
danger: "text-danger";
|
|
68
|
-
warning: "text-warning";
|
|
91
|
+
secondary: "text-secondary-bolder";
|
|
92
|
+
tertiary: "text-tertiary-strong";
|
|
93
|
+
success: "text-success-bolder";
|
|
94
|
+
danger: "text-danger-firm";
|
|
95
|
+
warning: "text-warning-bolder";
|
|
69
96
|
};
|
|
70
97
|
size: {
|
|
71
98
|
sm: "text-body-2xs";
|
|
@@ -75,11 +102,11 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
|
|
|
75
102
|
}, undefined, "font-body text-body-2xs pt-1", {
|
|
76
103
|
status: {
|
|
77
104
|
primary: "text-primary";
|
|
78
|
-
secondary: "text-secondary";
|
|
79
|
-
tertiary: "text-tertiary";
|
|
80
|
-
success: "text-success";
|
|
81
|
-
danger: "text-danger";
|
|
82
|
-
warning: "text-warning";
|
|
105
|
+
secondary: "text-secondary-bolder";
|
|
106
|
+
tertiary: "text-tertiary-strong";
|
|
107
|
+
success: "text-success-bolder";
|
|
108
|
+
danger: "text-danger-firm";
|
|
109
|
+
warning: "text-warning-bolder";
|
|
83
110
|
};
|
|
84
111
|
size: {
|
|
85
112
|
sm: "text-body-2xs";
|
|
@@ -89,11 +116,11 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
|
|
|
89
116
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
90
117
|
status: {
|
|
91
118
|
primary: "text-primary";
|
|
92
|
-
secondary: "text-secondary";
|
|
93
|
-
tertiary: "text-tertiary";
|
|
94
|
-
success: "text-success";
|
|
95
|
-
danger: "text-danger";
|
|
96
|
-
warning: "text-warning";
|
|
119
|
+
secondary: "text-secondary-bolder";
|
|
120
|
+
tertiary: "text-tertiary-strong";
|
|
121
|
+
success: "text-success-bolder";
|
|
122
|
+
danger: "text-danger-firm";
|
|
123
|
+
warning: "text-warning-bolder";
|
|
97
124
|
};
|
|
98
125
|
size: {
|
|
99
126
|
sm: "text-body-2xs";
|
|
@@ -1142,10 +1169,28 @@ declare const datePicker: import("tailwind-variants").TVReturnType<{
|
|
|
1142
1169
|
input: string;
|
|
1143
1170
|
};
|
|
1144
1171
|
};
|
|
1172
|
+
isSegmented: {
|
|
1173
|
+
true: {
|
|
1174
|
+
innerContainer: string[];
|
|
1175
|
+
endContent: string;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
isRange: {
|
|
1179
|
+
true: {
|
|
1180
|
+
group: string;
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1145
1183
|
}, {
|
|
1184
|
+
separator: string;
|
|
1185
|
+
calendarButton: string;
|
|
1186
|
+
group: string;
|
|
1187
|
+
segment: string[];
|
|
1188
|
+
literal: string;
|
|
1146
1189
|
base: never[];
|
|
1147
1190
|
placeholder: string;
|
|
1148
1191
|
input: string;
|
|
1192
|
+
innerContainer: string;
|
|
1193
|
+
endContent: string;
|
|
1149
1194
|
calendar: string;
|
|
1150
1195
|
footer: string[];
|
|
1151
1196
|
icon: string;
|
|
@@ -1371,6 +1416,249 @@ declare const datePicker: import("tailwind-variants").TVReturnType<{
|
|
|
1371
1416
|
endContent: string;
|
|
1372
1417
|
input: string[];
|
|
1373
1418
|
}>>>;
|
|
1419
|
+
declare const dateInput: import("tailwind-variants").TVReturnType<{
|
|
1420
|
+
size: {
|
|
1421
|
+
sm: {
|
|
1422
|
+
innerContainer: string;
|
|
1423
|
+
};
|
|
1424
|
+
md: {
|
|
1425
|
+
innerContainer: string;
|
|
1426
|
+
};
|
|
1427
|
+
lg: {
|
|
1428
|
+
innerContainer: string;
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
}, {
|
|
1432
|
+
endContent: string;
|
|
1433
|
+
icon: string;
|
|
1434
|
+
clearButton: string;
|
|
1435
|
+
calendarButton: string;
|
|
1436
|
+
group: string;
|
|
1437
|
+
segment: string[];
|
|
1438
|
+
literal: string;
|
|
1439
|
+
base: never[];
|
|
1440
|
+
innerContainer: string[];
|
|
1441
|
+
}, undefined, {
|
|
1442
|
+
size: {
|
|
1443
|
+
sm: {
|
|
1444
|
+
input: string;
|
|
1445
|
+
startContent: string;
|
|
1446
|
+
endContent: string;
|
|
1447
|
+
};
|
|
1448
|
+
md: {
|
|
1449
|
+
input: string;
|
|
1450
|
+
startContent: string;
|
|
1451
|
+
endContent: string;
|
|
1452
|
+
};
|
|
1453
|
+
lg: {
|
|
1454
|
+
input: string;
|
|
1455
|
+
startContent: string;
|
|
1456
|
+
endContent: string;
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
hasStartContent: {
|
|
1460
|
+
true: {
|
|
1461
|
+
input: string;
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1464
|
+
hasEndContent: {
|
|
1465
|
+
true: {
|
|
1466
|
+
input: string;
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
hasChips: {
|
|
1470
|
+
true: {
|
|
1471
|
+
input: string[];
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
startContentPointerEvents: {
|
|
1475
|
+
auto: {
|
|
1476
|
+
startContent: string;
|
|
1477
|
+
};
|
|
1478
|
+
none: {
|
|
1479
|
+
startContent: string;
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
endContentPointerEvents: {
|
|
1483
|
+
auto: {
|
|
1484
|
+
endContent: string;
|
|
1485
|
+
};
|
|
1486
|
+
none: {
|
|
1487
|
+
endContent: string;
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
}, {
|
|
1491
|
+
base: string;
|
|
1492
|
+
innerContainer: string;
|
|
1493
|
+
startContent: string;
|
|
1494
|
+
endContent: string;
|
|
1495
|
+
input: string[];
|
|
1496
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
1497
|
+
size: {
|
|
1498
|
+
sm: {
|
|
1499
|
+
input: string;
|
|
1500
|
+
startContent: string;
|
|
1501
|
+
endContent: string;
|
|
1502
|
+
};
|
|
1503
|
+
md: {
|
|
1504
|
+
input: string;
|
|
1505
|
+
startContent: string;
|
|
1506
|
+
endContent: string;
|
|
1507
|
+
};
|
|
1508
|
+
lg: {
|
|
1509
|
+
input: string;
|
|
1510
|
+
startContent: string;
|
|
1511
|
+
endContent: string;
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
hasStartContent: {
|
|
1515
|
+
true: {
|
|
1516
|
+
input: string;
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
hasEndContent: {
|
|
1520
|
+
true: {
|
|
1521
|
+
input: string;
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
hasChips: {
|
|
1525
|
+
true: {
|
|
1526
|
+
input: string[];
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
startContentPointerEvents: {
|
|
1530
|
+
auto: {
|
|
1531
|
+
startContent: string;
|
|
1532
|
+
};
|
|
1533
|
+
none: {
|
|
1534
|
+
startContent: string;
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1537
|
+
endContentPointerEvents: {
|
|
1538
|
+
auto: {
|
|
1539
|
+
endContent: string;
|
|
1540
|
+
};
|
|
1541
|
+
none: {
|
|
1542
|
+
endContent: string;
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
}, {
|
|
1546
|
+
base: string;
|
|
1547
|
+
innerContainer: string;
|
|
1548
|
+
startContent: string;
|
|
1549
|
+
endContent: string;
|
|
1550
|
+
input: string[];
|
|
1551
|
+
}, undefined, {
|
|
1552
|
+
size: {
|
|
1553
|
+
sm: {
|
|
1554
|
+
input: string;
|
|
1555
|
+
startContent: string;
|
|
1556
|
+
endContent: string;
|
|
1557
|
+
};
|
|
1558
|
+
md: {
|
|
1559
|
+
input: string;
|
|
1560
|
+
startContent: string;
|
|
1561
|
+
endContent: string;
|
|
1562
|
+
};
|
|
1563
|
+
lg: {
|
|
1564
|
+
input: string;
|
|
1565
|
+
startContent: string;
|
|
1566
|
+
endContent: string;
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
hasStartContent: {
|
|
1570
|
+
true: {
|
|
1571
|
+
input: string;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
hasEndContent: {
|
|
1575
|
+
true: {
|
|
1576
|
+
input: string;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
hasChips: {
|
|
1580
|
+
true: {
|
|
1581
|
+
input: string[];
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
startContentPointerEvents: {
|
|
1585
|
+
auto: {
|
|
1586
|
+
startContent: string;
|
|
1587
|
+
};
|
|
1588
|
+
none: {
|
|
1589
|
+
startContent: string;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
endContentPointerEvents: {
|
|
1593
|
+
auto: {
|
|
1594
|
+
endContent: string;
|
|
1595
|
+
};
|
|
1596
|
+
none: {
|
|
1597
|
+
endContent: string;
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
}, {
|
|
1601
|
+
base: string;
|
|
1602
|
+
innerContainer: string;
|
|
1603
|
+
startContent: string;
|
|
1604
|
+
endContent: string;
|
|
1605
|
+
input: string[];
|
|
1606
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
1607
|
+
size: {
|
|
1608
|
+
sm: {
|
|
1609
|
+
input: string;
|
|
1610
|
+
startContent: string;
|
|
1611
|
+
endContent: string;
|
|
1612
|
+
};
|
|
1613
|
+
md: {
|
|
1614
|
+
input: string;
|
|
1615
|
+
startContent: string;
|
|
1616
|
+
endContent: string;
|
|
1617
|
+
};
|
|
1618
|
+
lg: {
|
|
1619
|
+
input: string;
|
|
1620
|
+
startContent: string;
|
|
1621
|
+
endContent: string;
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
hasStartContent: {
|
|
1625
|
+
true: {
|
|
1626
|
+
input: string;
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
hasEndContent: {
|
|
1630
|
+
true: {
|
|
1631
|
+
input: string;
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
hasChips: {
|
|
1635
|
+
true: {
|
|
1636
|
+
input: string[];
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
startContentPointerEvents: {
|
|
1640
|
+
auto: {
|
|
1641
|
+
startContent: string;
|
|
1642
|
+
};
|
|
1643
|
+
none: {
|
|
1644
|
+
startContent: string;
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
endContentPointerEvents: {
|
|
1648
|
+
auto: {
|
|
1649
|
+
endContent: string;
|
|
1650
|
+
};
|
|
1651
|
+
none: {
|
|
1652
|
+
endContent: string;
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
}, {
|
|
1656
|
+
base: string;
|
|
1657
|
+
innerContainer: string;
|
|
1658
|
+
startContent: string;
|
|
1659
|
+
endContent: string;
|
|
1660
|
+
input: string[];
|
|
1661
|
+
}>>>;
|
|
1374
1662
|
declare const autocomplete: import("tailwind-variants").TVReturnType<{
|
|
1375
1663
|
size: {
|
|
1376
1664
|
sm: {};
|
|
@@ -2049,5 +2337,7 @@ export type SwitchVariants = VariantProps<typeof switchInput>;
|
|
|
2049
2337
|
export type SwitchSlots = keyof ReturnType<typeof switchInput>;
|
|
2050
2338
|
export type DatePickerVariants = VariantProps<typeof datePicker>;
|
|
2051
2339
|
export type DatePickerSlots = keyof ReturnType<typeof datePicker>;
|
|
2052
|
-
export
|
|
2340
|
+
export type DateInputVariants = VariantProps<typeof dateInput>;
|
|
2341
|
+
export type DateInputSlots = keyof ReturnType<typeof dateInput>;
|
|
2342
|
+
export { label, formDescription, formFeedback, input, inputOtp, textarea, checkbox, radio, select, autocomplete, nativeSelect, checkboxGroup, radioGroup, switchInput, datePicker, dateInput };
|
|
2053
2343
|
//# sourceMappingURL=forms.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../src/components/forms/forms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAGjD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;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