@dashforge/tw 1.1.1 → 1.3.0
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/CHANGELOG.md +141 -0
- package/README.md +45 -0
- package/dist/index.esm.js +4443 -667
- package/dist/src/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/src/components/Accordion/accordion.types.d.ts +7 -0
- package/dist/src/components/Accordion/accordion.types.d.ts.map +1 -1
- package/dist/src/components/Alert/Alert.d.ts +1 -1
- package/dist/src/components/Alert/Alert.d.ts.map +1 -1
- package/dist/src/components/Alert/alert.types.d.ts +17 -0
- package/dist/src/components/Alert/alert.types.d.ts.map +1 -1
- package/dist/src/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/src/components/AppShell/appShell.types.d.ts +7 -0
- package/dist/src/components/AppShell/appShell.types.d.ts.map +1 -1
- package/dist/src/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/dist/src/components/Autocomplete/autocomplete.types.d.ts +47 -1
- package/dist/src/components/Autocomplete/autocomplete.types.d.ts.map +1 -1
- package/dist/src/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/src/components/Avatar/avatar.types.d.ts +17 -1
- package/dist/src/components/Avatar/avatar.types.d.ts.map +1 -1
- package/dist/src/components/Badge/Badge.d.ts.map +1 -1
- package/dist/src/components/Badge/badge.types.d.ts +27 -2
- package/dist/src/components/Badge/badge.types.d.ts.map +1 -1
- package/dist/src/components/Box/Box.d.ts.map +1 -1
- package/dist/src/components/Box/box.types.d.ts +64 -1
- package/dist/src/components/Box/box.types.d.ts.map +1 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/src/components/Breadcrumbs/breadcrumbs.types.d.ts +26 -1
- package/dist/src/components/Breadcrumbs/breadcrumbs.types.d.ts.map +1 -1
- package/dist/src/components/Button/Button.d.ts.map +1 -1
- package/dist/src/components/Button/button.types.d.ts +53 -1
- package/dist/src/components/Button/button.types.d.ts.map +1 -1
- package/dist/src/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/src/components/Calendar/calendar.types.d.ts +16 -0
- package/dist/src/components/Calendar/calendar.types.d.ts.map +1 -1
- package/dist/src/components/Card/Card.d.ts.map +1 -1
- package/dist/src/components/Card/card.types.d.ts +17 -0
- package/dist/src/components/Card/card.types.d.ts.map +1 -1
- package/dist/src/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/src/components/Checkbox/checkbox.types.d.ts +19 -1
- package/dist/src/components/Checkbox/checkbox.types.d.ts.map +1 -1
- package/dist/src/components/Chip/Chip.d.ts.map +1 -1
- package/dist/src/components/Chip/chip.types.d.ts +40 -1
- package/dist/src/components/Chip/chip.types.d.ts.map +1 -1
- package/dist/src/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/src/components/ConfirmDialog/confirmDialog.types.d.ts +30 -2
- package/dist/src/components/ConfirmDialog/confirmDialog.types.d.ts.map +1 -1
- package/dist/src/components/Container/Container.d.ts.map +1 -1
- package/dist/src/components/Container/container.types.d.ts +29 -1
- package/dist/src/components/Container/container.types.d.ts.map +1 -1
- package/dist/src/components/DataGrid/DataGrid.d.ts +1 -1
- package/dist/src/components/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/src/components/DataGrid/dataGrid.types.d.ts +124 -10
- package/dist/src/components/DataGrid/dataGrid.types.d.ts.map +1 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/src/components/DatePicker/datePicker.types.d.ts +18 -0
- package/dist/src/components/DatePicker/datePicker.types.d.ts.map +1 -1
- package/dist/src/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/src/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/src/components/DateRangePicker/dateRangePicker.types.d.ts +18 -0
- package/dist/src/components/DateRangePicker/dateRangePicker.types.d.ts.map +1 -1
- package/dist/src/components/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/dist/src/components/DateTimePicker/DateTimePicker.d.ts.map +1 -1
- package/dist/src/components/DateTimePicker/dateTimePicker.types.d.ts +20 -0
- package/dist/src/components/DateTimePicker/dateTimePicker.types.d.ts.map +1 -1
- package/dist/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/src/components/Dialog/dialog.types.d.ts +25 -1
- package/dist/src/components/Dialog/dialog.types.d.ts.map +1 -1
- package/dist/src/components/Divider/Divider.d.ts.map +1 -1
- package/dist/src/components/Divider/divider.types.d.ts +37 -1
- package/dist/src/components/Divider/divider.types.d.ts.map +1 -1
- package/dist/src/components/Drawer/Drawer.d.ts +21 -0
- package/dist/src/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/src/components/Drawer/drawer.types.d.ts +311 -0
- package/dist/src/components/Drawer/drawer.types.d.ts.map +1 -0
- package/dist/src/components/Drawer/drawer.variants.d.ts +177 -0
- package/dist/src/components/Drawer/drawer.variants.d.ts.map +1 -0
- package/dist/src/components/Grid/Grid.d.ts.map +1 -1
- package/dist/src/components/Grid/grid.types.d.ts +16 -0
- package/dist/src/components/Grid/grid.types.d.ts.map +1 -1
- package/dist/src/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/src/components/IconButton/iconButton.types.d.ts +40 -1
- package/dist/src/components/IconButton/iconButton.types.d.ts.map +1 -1
- package/dist/src/components/Image/Image.d.ts +27 -0
- package/dist/src/components/Image/Image.d.ts.map +1 -0
- package/dist/src/components/Image/image.types.d.ts +126 -0
- package/dist/src/components/Image/image.types.d.ts.map +1 -0
- package/dist/src/components/Image/image.variants.d.ts +149 -0
- package/dist/src/components/Image/image.variants.d.ts.map +1 -0
- package/dist/src/components/LeftNav/LeftNav.d.ts.map +1 -1
- package/dist/src/components/LeftNav/leftNav.types.d.ts +26 -6
- package/dist/src/components/LeftNav/leftNav.types.d.ts.map +1 -1
- package/dist/src/components/Link/Link.d.ts +15 -0
- package/dist/src/components/Link/Link.d.ts.map +1 -0
- package/dist/src/components/Link/link.types.d.ts +169 -0
- package/dist/src/components/Link/link.types.d.ts.map +1 -0
- package/dist/src/components/Link/link.variants.d.ts +107 -0
- package/dist/src/components/Link/link.variants.d.ts.map +1 -0
- package/dist/src/components/Menu/Menu.d.ts +1 -1
- package/dist/src/components/Menu/Menu.d.ts.map +1 -1
- package/dist/src/components/Menu/menu.types.d.ts +20 -0
- package/dist/src/components/Menu/menu.types.d.ts.map +1 -1
- package/dist/src/components/NumberField/NumberField.d.ts.map +1 -1
- package/dist/src/components/NumberField/numberField.types.d.ts +47 -1
- package/dist/src/components/NumberField/numberField.types.d.ts.map +1 -1
- package/dist/src/components/OTPField/OTPField.d.ts.map +1 -1
- package/dist/src/components/OTPField/otpField.types.d.ts +35 -1
- package/dist/src/components/OTPField/otpField.types.d.ts.map +1 -1
- package/dist/src/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/src/components/Pagination/pagination.types.d.ts +26 -1
- package/dist/src/components/Pagination/pagination.types.d.ts.map +1 -1
- package/dist/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/src/components/Popover/popover.types.d.ts +29 -0
- package/dist/src/components/Popover/popover.types.d.ts.map +1 -1
- package/dist/src/components/Progress/Progress.d.ts +20 -0
- package/dist/src/components/Progress/Progress.d.ts.map +1 -0
- package/dist/src/components/Progress/progress.types.d.ts +200 -0
- package/dist/src/components/Progress/progress.types.d.ts.map +1 -0
- package/dist/src/components/Progress/progress.variants.d.ts +224 -0
- package/dist/src/components/Progress/progress.variants.d.ts.map +1 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/src/components/RadioGroup/radioGroup.types.d.ts +25 -1
- package/dist/src/components/RadioGroup/radioGroup.types.d.ts.map +1 -1
- package/dist/src/components/Select/Select.d.ts +14 -0
- package/dist/src/components/Select/Select.d.ts.map +1 -0
- package/dist/src/components/Select/select.types.d.ts +272 -0
- package/dist/src/components/Select/select.types.d.ts.map +1 -0
- package/dist/src/components/Select/select.variants.d.ts +204 -0
- package/dist/src/components/Select/select.variants.d.ts.map +1 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/src/components/Skeleton/skeleton.types.d.ts +25 -1
- package/dist/src/components/Skeleton/skeleton.types.d.ts.map +1 -1
- package/dist/src/components/Slider/Slider.d.ts +15 -0
- package/dist/src/components/Slider/Slider.d.ts.map +1 -0
- package/dist/src/components/Slider/slider.types.d.ts +279 -0
- package/dist/src/components/Slider/slider.types.d.ts.map +1 -0
- package/dist/src/components/Slider/slider.variants.d.ts +313 -0
- package/dist/src/components/Slider/slider.variants.d.ts.map +1 -0
- package/dist/src/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/dist/src/components/Snackbar/snackbar.types.d.ts +29 -5
- package/dist/src/components/Snackbar/snackbar.types.d.ts.map +1 -1
- package/dist/src/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/src/components/Spinner/spinner.types.d.ts +22 -2
- package/dist/src/components/Spinner/spinner.types.d.ts.map +1 -1
- package/dist/src/components/Stack/Stack.d.ts.map +1 -1
- package/dist/src/components/Stack/stack.types.d.ts +53 -2
- package/dist/src/components/Stack/stack.types.d.ts.map +1 -1
- package/dist/src/components/Stack/stack.variants.d.ts +23 -0
- package/dist/src/components/Stack/stack.variants.d.ts.map +1 -1
- package/dist/src/components/Stepper/Step.d.ts +30 -0
- package/dist/src/components/Stepper/Step.d.ts.map +1 -0
- package/dist/src/components/Stepper/Stepper.d.ts +15 -0
- package/dist/src/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/src/components/Stepper/StepperContext.d.ts +8 -0
- package/dist/src/components/Stepper/StepperContext.d.ts.map +1 -0
- package/dist/src/components/Stepper/stepper.types.d.ts +358 -0
- package/dist/src/components/Stepper/stepper.types.d.ts.map +1 -0
- package/dist/src/components/Stepper/stepper.variants.d.ts +253 -0
- package/dist/src/components/Stepper/stepper.variants.d.ts.map +1 -0
- package/dist/src/components/Stepper/useStep.d.ts +53 -0
- package/dist/src/components/Stepper/useStep.d.ts.map +1 -0
- package/dist/src/components/Switch/Switch.d.ts.map +1 -1
- package/dist/src/components/Switch/switch.types.d.ts +44 -1
- package/dist/src/components/Switch/switch.types.d.ts.map +1 -1
- package/dist/src/components/Table/Table.d.ts +1 -1
- package/dist/src/components/Table/Table.d.ts.map +1 -1
- package/dist/src/components/Table/table.types.d.ts +103 -8
- package/dist/src/components/Table/table.types.d.ts.map +1 -1
- package/dist/src/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/src/components/Tabs/tabs.types.d.ts +26 -1
- package/dist/src/components/Tabs/tabs.types.d.ts.map +1 -1
- package/dist/src/components/TextField/TextField.d.ts.map +1 -1
- package/dist/src/components/TextField/textField.types.d.ts +30 -1
- package/dist/src/components/TextField/textField.types.d.ts.map +1 -1
- package/dist/src/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/src/components/Textarea/textarea.types.d.ts +51 -1
- package/dist/src/components/Textarea/textarea.types.d.ts.map +1 -1
- package/dist/src/components/TimePicker/TimePicker.d.ts +1 -1
- package/dist/src/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/src/components/TimePicker/timePicker.types.d.ts +18 -0
- package/dist/src/components/TimePicker/timePicker.types.d.ts.map +1 -1
- package/dist/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/src/components/Tooltip/tooltip.types.d.ts +30 -0
- package/dist/src/components/Tooltip/tooltip.types.d.ts.map +1 -1
- package/dist/src/components/TopBar/TopBar.d.ts.map +1 -1
- package/dist/src/components/TopBar/topBar.types.d.ts +25 -1
- package/dist/src/components/TopBar/topBar.types.d.ts.map +1 -1
- package/dist/src/components/Typography/Typography.d.ts.map +1 -1
- package/dist/src/components/Typography/typography.types.d.ts +47 -1
- package/dist/src/components/Typography/typography.types.d.ts.map +1 -1
- package/dist/src/components/Typography/typography.variants.d.ts +2 -2
- package/dist/src/components/Typography/typography.variants.d.ts.map +1 -1
- package/dist/src/hooks/useStandaloneFieldWarning.d.ts +38 -0
- package/dist/src/hooks/useStandaloneFieldWarning.d.ts.map +1 -0
- package/dist/src/index.d.ts +66 -42
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +5 -4
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
2
|
+
/**
|
|
3
|
+
* Tailwind-variants recipe for `<Stepper>` — declarative multi-step
|
|
4
|
+
* navigation with per-step config carried by `<Step>` children.
|
|
5
|
+
*
|
|
6
|
+
* Slots:
|
|
7
|
+
* - `root` — outer wrapper (strip + content + footer are direct children).
|
|
8
|
+
* - `strip` — the indicator strip (a flex/grid row for horizontal, a column stack for vertical).
|
|
9
|
+
* - `step` — each rendered step item (indicator + label group).
|
|
10
|
+
* - `indicator` — the round dot that carries the step number, check, alert, or `icon`.
|
|
11
|
+
* - `labelGroup` — vertical stack holding label + helper + optional caption.
|
|
12
|
+
* - `label` — the step's short title.
|
|
13
|
+
* - `helperText` — the secondary line below the label.
|
|
14
|
+
* - `optionalTag` — the italic "Optional" (or consumer-supplied node) tag below the label.
|
|
15
|
+
* - `connector` — the line drawn between two adjacent indicators.
|
|
16
|
+
* - `content` — the panel that renders the current step's children.
|
|
17
|
+
* - `footer` — reserved slot for consumer-authored Back / Next controls.
|
|
18
|
+
*
|
|
19
|
+
* State axes (data-* attributes on the `step` slot):
|
|
20
|
+
* - `data-state="pending"|"current"|"completed"|"invalid"|"skipped"`.
|
|
21
|
+
* Consumers can theme with `[data-state='invalid']` selectors in `slotProps`.
|
|
22
|
+
*/
|
|
23
|
+
export declare const stepperVariants: import("tailwind-variants").TVReturnType<{
|
|
24
|
+
color: {
|
|
25
|
+
primary: {
|
|
26
|
+
indicator: string[];
|
|
27
|
+
connector: string;
|
|
28
|
+
};
|
|
29
|
+
secondary: {
|
|
30
|
+
indicator: string[];
|
|
31
|
+
connector: string;
|
|
32
|
+
};
|
|
33
|
+
success: {
|
|
34
|
+
indicator: string[];
|
|
35
|
+
connector: string;
|
|
36
|
+
};
|
|
37
|
+
warning: {
|
|
38
|
+
indicator: string[];
|
|
39
|
+
connector: string;
|
|
40
|
+
};
|
|
41
|
+
danger: {
|
|
42
|
+
indicator: string[];
|
|
43
|
+
connector: string;
|
|
44
|
+
};
|
|
45
|
+
neutral: {
|
|
46
|
+
indicator: string[];
|
|
47
|
+
connector: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
sm: {
|
|
52
|
+
indicator: string;
|
|
53
|
+
label: string;
|
|
54
|
+
helperText: string;
|
|
55
|
+
};
|
|
56
|
+
md: {
|
|
57
|
+
indicator: string;
|
|
58
|
+
label: string;
|
|
59
|
+
helperText: string;
|
|
60
|
+
};
|
|
61
|
+
lg: {
|
|
62
|
+
indicator: string;
|
|
63
|
+
label: string;
|
|
64
|
+
helperText: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
orientation: {
|
|
68
|
+
horizontal: {
|
|
69
|
+
root: string;
|
|
70
|
+
strip: string;
|
|
71
|
+
connector: string;
|
|
72
|
+
};
|
|
73
|
+
vertical: {
|
|
74
|
+
root: string;
|
|
75
|
+
strip: string;
|
|
76
|
+
step: string;
|
|
77
|
+
connector: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
labelPlacement: {
|
|
81
|
+
end: {};
|
|
82
|
+
below: {
|
|
83
|
+
step: string;
|
|
84
|
+
labelGroup: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
root: string;
|
|
89
|
+
strip: string;
|
|
90
|
+
step: string;
|
|
91
|
+
indicator: string[];
|
|
92
|
+
labelGroup: string;
|
|
93
|
+
label: string[];
|
|
94
|
+
helperText: string;
|
|
95
|
+
optionalTag: string;
|
|
96
|
+
connector: string;
|
|
97
|
+
content: string;
|
|
98
|
+
footer: string;
|
|
99
|
+
}, undefined, {
|
|
100
|
+
color: {
|
|
101
|
+
primary: {
|
|
102
|
+
indicator: string[];
|
|
103
|
+
connector: string;
|
|
104
|
+
};
|
|
105
|
+
secondary: {
|
|
106
|
+
indicator: string[];
|
|
107
|
+
connector: string;
|
|
108
|
+
};
|
|
109
|
+
success: {
|
|
110
|
+
indicator: string[];
|
|
111
|
+
connector: string;
|
|
112
|
+
};
|
|
113
|
+
warning: {
|
|
114
|
+
indicator: string[];
|
|
115
|
+
connector: string;
|
|
116
|
+
};
|
|
117
|
+
danger: {
|
|
118
|
+
indicator: string[];
|
|
119
|
+
connector: string;
|
|
120
|
+
};
|
|
121
|
+
neutral: {
|
|
122
|
+
indicator: string[];
|
|
123
|
+
connector: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
size: {
|
|
127
|
+
sm: {
|
|
128
|
+
indicator: string;
|
|
129
|
+
label: string;
|
|
130
|
+
helperText: string;
|
|
131
|
+
};
|
|
132
|
+
md: {
|
|
133
|
+
indicator: string;
|
|
134
|
+
label: string;
|
|
135
|
+
helperText: string;
|
|
136
|
+
};
|
|
137
|
+
lg: {
|
|
138
|
+
indicator: string;
|
|
139
|
+
label: string;
|
|
140
|
+
helperText: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
orientation: {
|
|
144
|
+
horizontal: {
|
|
145
|
+
root: string;
|
|
146
|
+
strip: string;
|
|
147
|
+
connector: string;
|
|
148
|
+
};
|
|
149
|
+
vertical: {
|
|
150
|
+
root: string;
|
|
151
|
+
strip: string;
|
|
152
|
+
step: string;
|
|
153
|
+
connector: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
labelPlacement: {
|
|
157
|
+
end: {};
|
|
158
|
+
below: {
|
|
159
|
+
step: string;
|
|
160
|
+
labelGroup: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}, {
|
|
164
|
+
root: string;
|
|
165
|
+
strip: string;
|
|
166
|
+
step: string;
|
|
167
|
+
indicator: string[];
|
|
168
|
+
labelGroup: string;
|
|
169
|
+
label: string[];
|
|
170
|
+
helperText: string;
|
|
171
|
+
optionalTag: string;
|
|
172
|
+
connector: string;
|
|
173
|
+
content: string;
|
|
174
|
+
footer: string;
|
|
175
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
176
|
+
color: {
|
|
177
|
+
primary: {
|
|
178
|
+
indicator: string[];
|
|
179
|
+
connector: string;
|
|
180
|
+
};
|
|
181
|
+
secondary: {
|
|
182
|
+
indicator: string[];
|
|
183
|
+
connector: string;
|
|
184
|
+
};
|
|
185
|
+
success: {
|
|
186
|
+
indicator: string[];
|
|
187
|
+
connector: string;
|
|
188
|
+
};
|
|
189
|
+
warning: {
|
|
190
|
+
indicator: string[];
|
|
191
|
+
connector: string;
|
|
192
|
+
};
|
|
193
|
+
danger: {
|
|
194
|
+
indicator: string[];
|
|
195
|
+
connector: string;
|
|
196
|
+
};
|
|
197
|
+
neutral: {
|
|
198
|
+
indicator: string[];
|
|
199
|
+
connector: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
size: {
|
|
203
|
+
sm: {
|
|
204
|
+
indicator: string;
|
|
205
|
+
label: string;
|
|
206
|
+
helperText: string;
|
|
207
|
+
};
|
|
208
|
+
md: {
|
|
209
|
+
indicator: string;
|
|
210
|
+
label: string;
|
|
211
|
+
helperText: string;
|
|
212
|
+
};
|
|
213
|
+
lg: {
|
|
214
|
+
indicator: string;
|
|
215
|
+
label: string;
|
|
216
|
+
helperText: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
orientation: {
|
|
220
|
+
horizontal: {
|
|
221
|
+
root: string;
|
|
222
|
+
strip: string;
|
|
223
|
+
connector: string;
|
|
224
|
+
};
|
|
225
|
+
vertical: {
|
|
226
|
+
root: string;
|
|
227
|
+
strip: string;
|
|
228
|
+
step: string;
|
|
229
|
+
connector: string;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
labelPlacement: {
|
|
233
|
+
end: {};
|
|
234
|
+
below: {
|
|
235
|
+
step: string;
|
|
236
|
+
labelGroup: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
}, {
|
|
240
|
+
root: string;
|
|
241
|
+
strip: string;
|
|
242
|
+
step: string;
|
|
243
|
+
indicator: string[];
|
|
244
|
+
labelGroup: string;
|
|
245
|
+
label: string[];
|
|
246
|
+
helperText: string;
|
|
247
|
+
optionalTag: string;
|
|
248
|
+
connector: string;
|
|
249
|
+
content: string;
|
|
250
|
+
footer: string;
|
|
251
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
252
|
+
export type StepperVariants = VariantProps<typeof stepperVariants>;
|
|
253
|
+
//# sourceMappingURL=stepper.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepper.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/Stepper/stepper.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqI1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { UseStepReturn } from './stepper.types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Access the Stepper state + navigation API from any component rendered
|
|
4
|
+
* inside a `<Stepper>` tree.
|
|
5
|
+
*
|
|
6
|
+
* The canonical use is inside the current step's children — a "Next" /
|
|
7
|
+
* "Back" footer, a review summary showing the visible sequence, or an
|
|
8
|
+
* error-routing Alert that turns each entry in `errors` into a clickable
|
|
9
|
+
* link that calls `goToStep(name)`.
|
|
10
|
+
*
|
|
11
|
+
* Throws (dev only) when called outside a Stepper. In production the
|
|
12
|
+
* hook returns a null-safe stub so a stale reference doesn't crash the
|
|
13
|
+
* app — but the consumer's navigation buttons will be no-ops. Fix the
|
|
14
|
+
* placement.
|
|
15
|
+
*
|
|
16
|
+
* @throws Error in dev if used outside `<Stepper>`.
|
|
17
|
+
*
|
|
18
|
+
* @example Custom footer
|
|
19
|
+
* ```tsx
|
|
20
|
+
* function StepFooter() {
|
|
21
|
+
* const step = useStep();
|
|
22
|
+
* return (
|
|
23
|
+
* <Stack direction="row" justify="between">
|
|
24
|
+
* <Button variant="outline" onClick={step.goBack} disabled={step.isFirstStep}>
|
|
25
|
+
* Back
|
|
26
|
+
* </Button>
|
|
27
|
+
* <Button onClick={step.goNext} disabled={!step.canGoNext}>
|
|
28
|
+
* {step.isLastStep ? 'Confirm' : 'Next'}
|
|
29
|
+
* </Button>
|
|
30
|
+
* </Stack>
|
|
31
|
+
* );
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @example Error routing on the review step
|
|
36
|
+
* ```tsx
|
|
37
|
+
* function ReviewErrors() {
|
|
38
|
+
* const { errors, goToStep } = useStep();
|
|
39
|
+
* if (errors.length === 0) return null;
|
|
40
|
+
* return (
|
|
41
|
+
* <Alert color="danger" title="Fix these issues before submitting">
|
|
42
|
+
* {errors.map((e) => (
|
|
43
|
+
* <Link key={e.step} onClick={() => goToStep(e.step)}>
|
|
44
|
+
* {e.label}
|
|
45
|
+
* </Link>
|
|
46
|
+
* ))}
|
|
47
|
+
* </Alert>
|
|
48
|
+
* );
|
|
49
|
+
* }
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare function useStep(): UseStepReturn;
|
|
53
|
+
//# sourceMappingURL=useStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStep.d.ts","sourceRoot":"","sources":["../../../../src/components/Stepper/useStep.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,wBAAgB,OAAO,IAAI,aAAa,CA8BvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,kDAoJxC"}
|
|
@@ -2,6 +2,19 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { AccessRequirement } from '@dashforge/rbac';
|
|
3
3
|
import type { Engine } from '@dashforge/ui-core';
|
|
4
4
|
import type { SwitchVariants } from './switch.variants.js';
|
|
5
|
+
/**
|
|
6
|
+
* Subset of `<Switch>` props theme-configurable via
|
|
7
|
+
* `theme.components.Switch.defaults` (Option C).
|
|
8
|
+
*/
|
|
9
|
+
export type SwitchVariantProps = Pick<SwitchVariants, 'size'>;
|
|
10
|
+
declare module '@dashforge/tw-tokens' {
|
|
11
|
+
interface TWComponentDefaults {
|
|
12
|
+
Switch?: {
|
|
13
|
+
defaults?: Partial<SwitchVariantProps>;
|
|
14
|
+
slotProps?: SwitchSlotProps;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
}
|
|
5
18
|
export interface SwitchSlotProps {
|
|
6
19
|
root?: {
|
|
7
20
|
className?: string;
|
|
@@ -29,19 +42,49 @@ export interface SwitchSlotProps {
|
|
|
29
42
|
* `name` / `rules` / `visibleWhen` / `access` semantics, same
|
|
30
43
|
* validation gating. Renders through Radix `Switch.Root` + `Switch.Thumb`.
|
|
31
44
|
*/
|
|
32
|
-
export interface SwitchProps
|
|
45
|
+
export interface SwitchProps {
|
|
46
|
+
/**
|
|
47
|
+
* Density tier — drives track width + thumb size + label font-size.
|
|
48
|
+
* @default 'md'
|
|
49
|
+
*/
|
|
50
|
+
size?: SwitchVariants['size'];
|
|
51
|
+
/** Bridge field name (required when used inside `DashFormProvider`). */
|
|
33
52
|
name: string;
|
|
53
|
+
/** Inline label rendered next to the switch. Clicking the label toggles the state. */
|
|
34
54
|
label?: ReactNode;
|
|
55
|
+
/** RHF validation rules — opaque to this component, forwarded to the bridge. */
|
|
35
56
|
rules?: unknown;
|
|
57
|
+
/**
|
|
58
|
+
* Engine-reactive visibility predicate. When the predicate returns
|
|
59
|
+
* `false`, the component renders `null`.
|
|
60
|
+
*/
|
|
36
61
|
visibleWhen?: (engine: Engine) => boolean;
|
|
62
|
+
/** Controlled checked state. */
|
|
37
63
|
checked?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Uncontrolled initial checked state.
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
38
68
|
defaultChecked?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Disable the switch — ORed with RBAC `denied:disable`.
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
39
73
|
disabled?: boolean;
|
|
74
|
+
/** Helper line below the control. Auto-replaced by bridge error when invalid. */
|
|
40
75
|
helperText?: ReactNode;
|
|
76
|
+
/**
|
|
77
|
+
* Explicit error semaphore. Overrides the bridge's auto-detected error.
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
41
80
|
error?: boolean;
|
|
81
|
+
/** RBAC access requirement. See [Access Control](/tw/docs/access-control/overview). */
|
|
42
82
|
access?: AccessRequirement;
|
|
83
|
+
/** Root-level Tailwind class override — wins over variant classes via `cn()`. */
|
|
43
84
|
sx?: string;
|
|
85
|
+
/** Per-slot overrides — see `SwitchSlotProps`. */
|
|
44
86
|
slotProps?: SwitchSlotProps;
|
|
87
|
+
/** Fires after bridge update (form mode) or after uncontrolled state change. */
|
|
45
88
|
onCheckedChange?: (checked: boolean) => void;
|
|
46
89
|
}
|
|
47
90
|
//# sourceMappingURL=switch.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,OAAO,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjC,KAAK,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/B,KAAK,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/B,UAAU,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACpC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"switch.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KA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CAAC;IAElB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,iFAAiF;IACjF,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,uFAAuF;IACvF,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,iFAAiF;IACjF,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,kDAAkD;IAClD,SAAS,CAAC,EAAE,eAAe,CAAC;IAE5B,gFAAgF;IAChF,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C"}
|
|
@@ -20,5 +20,5 @@ import type { TableProps } from './table.types.js';
|
|
|
20
20
|
* `labels={{ searchPlaceholder: t('...'), ... }}` for internal default
|
|
21
21
|
* strings.
|
|
22
22
|
*/
|
|
23
|
-
export declare function Table<T extends object>(
|
|
23
|
+
export declare function Table<T extends object>(_props: TableProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
24
24
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,UAAU,EAKX,MAAM,kBAAkB,CAAC;AAqC1B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,kDAmY5D"}
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { AccessRequirement } from '@dashforge/rbac';
|
|
3
3
|
import type { TableVariants } from './table.variants.js';
|
|
4
|
+
/**
|
|
5
|
+
* Subset of `<Table>` props theme-configurable via
|
|
6
|
+
* `theme.components.Table.defaults` (Option C).
|
|
7
|
+
*/
|
|
8
|
+
export type TableVariantProps = Pick<TableVariants, 'variant' | 'size' | 'density' | 'stickyHeader'>;
|
|
9
|
+
declare module '@dashforge/tw-tokens' {
|
|
10
|
+
interface TWComponentDefaults {
|
|
11
|
+
Table?: {
|
|
12
|
+
defaults?: Partial<TableVariantProps>;
|
|
13
|
+
slotProps?: TableSlotProps;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
4
17
|
/**
|
|
5
18
|
* Type-level dotted path through an object's nested structure.
|
|
6
19
|
*
|
|
@@ -339,8 +352,27 @@ export interface TableExpandableConfig<T> {
|
|
|
339
352
|
* directly). All internal label strings configurable via `labels`
|
|
340
353
|
* prop with English defaults.
|
|
341
354
|
*/
|
|
342
|
-
export interface TableProps<T extends object>
|
|
355
|
+
export interface TableProps<T extends object> {
|
|
356
|
+
/**
|
|
357
|
+
* Overall visual treatment — `plain`, `lines` (default), `striped`,
|
|
358
|
+
* `bordered`, or `card` (rounded surface with elevation).
|
|
359
|
+
* @default 'lines'
|
|
360
|
+
*/
|
|
361
|
+
variant?: TableVariants['variant'];
|
|
362
|
+
/**
|
|
363
|
+
* Text-size + padding density.
|
|
364
|
+
* @default 'md'
|
|
365
|
+
*/
|
|
366
|
+
size?: TableVariants['size'];
|
|
367
|
+
/**
|
|
368
|
+
* Row height — independent from `size` (density is a spacing axis,
|
|
369
|
+
* size is a typography axis).
|
|
370
|
+
* @default 'comfortable'
|
|
371
|
+
*/
|
|
372
|
+
density?: TableVariants['density'];
|
|
373
|
+
/** Source rows to render. Order is display order (before sort). */
|
|
343
374
|
rows: T[];
|
|
375
|
+
/** Column definitions — see `TableColumn<T>` for the full shape. */
|
|
344
376
|
cols: TableColumn<T>[];
|
|
345
377
|
/**
|
|
346
378
|
* Stable row-id resolver — the React key + the identity used by
|
|
@@ -362,38 +394,101 @@ export interface TableProps<T extends object> extends Pick<TableVariants, 'varia
|
|
|
362
394
|
* makes this prop required for the same reason.)
|
|
363
395
|
*/
|
|
364
396
|
getRowId?: (row: T, index: number) => string;
|
|
397
|
+
/**
|
|
398
|
+
* Controlled sort model — an ordered array of `{ field, direction }`
|
|
399
|
+
* items (multi-sort). Pass with `onSortChange` to lift state up.
|
|
400
|
+
* Omit for uncontrolled (Table owns the sort state internally).
|
|
401
|
+
*/
|
|
365
402
|
sortModel?: TableSortModel;
|
|
403
|
+
/** Called when the user cycles a column header (single-sort) or shift-clicks (multi-sort). */
|
|
366
404
|
onSortChange?: (model: TableSortModel) => void;
|
|
367
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* Default sort applied when uncontrolled — mirrors
|
|
407
|
+
* `defaultChecked` / `defaultValue` semantics.
|
|
408
|
+
*/
|
|
368
409
|
defaultSortModel?: TableSortModel;
|
|
410
|
+
/**
|
|
411
|
+
* Render the search input above the table. When `false`, the
|
|
412
|
+
* toolbar row collapses to zero height.
|
|
413
|
+
* @default false
|
|
414
|
+
*/
|
|
369
415
|
enableSearch?: boolean;
|
|
416
|
+
/** Controlled search query. Pass with `onSearchQueryChange`. */
|
|
370
417
|
searchQuery?: string;
|
|
418
|
+
/** Called on every keystroke in the search input (post-debounce). */
|
|
371
419
|
onSearchQueryChange?: (q: string) => void;
|
|
420
|
+
/**
|
|
421
|
+
* Placeholder text of the search input.
|
|
422
|
+
* @default 'Search…' (from `labels`)
|
|
423
|
+
*/
|
|
372
424
|
searchPlaceholder?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Debounce window for `onSearchQueryChange`, in milliseconds.
|
|
427
|
+
* @default 200
|
|
428
|
+
*/
|
|
373
429
|
searchDebounceMs?: number;
|
|
430
|
+
/**
|
|
431
|
+
* Controlled per-column filter model — array of active filter
|
|
432
|
+
* clauses (per-column UI shipped in 0.8.0-beta; set
|
|
433
|
+
* `cols[i].filterable=true` to expose the header menu).
|
|
434
|
+
*/
|
|
374
435
|
filterModel?: TableFilterModel;
|
|
436
|
+
/** Called when the user adds / removes / edits a per-column filter clause. */
|
|
375
437
|
onFilterChange?: (model: TableFilterModel) => void;
|
|
438
|
+
/**
|
|
439
|
+
* Row selection mode — `none` (default), `single`, `multiple`.
|
|
440
|
+
* @default 'none'
|
|
441
|
+
*/
|
|
376
442
|
rowSelection?: TableRowSelectionMode;
|
|
443
|
+
/** Controlled selected-row ids. Pass with `onSelectionChange`. */
|
|
377
444
|
selectedRowIds?: string[];
|
|
445
|
+
/** Called when the selection changes (checkbox click, shift-range, select-all). */
|
|
378
446
|
onSelectionChange?: (ids: string[]) => void;
|
|
379
|
-
/** Sticky bulk
|
|
447
|
+
/** Sticky bulk-action footer (visible only when selection > 0). */
|
|
380
448
|
bulkActions?: (selectedRows: T[]) => ReactNode;
|
|
449
|
+
/**
|
|
450
|
+
* Enables the expandable-row column — `render(row)` returns the
|
|
451
|
+
* detail JSX, and `expandedRowIds` + `onExpandChange` control state.
|
|
452
|
+
*/
|
|
381
453
|
expandable?: TableExpandableConfig<T>;
|
|
454
|
+
/** Per-row action slot — receives the row, returns JSX rendered on hover. */
|
|
382
455
|
rowActions?: (row: T) => ReactNode;
|
|
456
|
+
/**
|
|
457
|
+
* When `true`, render `loadingRowCount` skeleton rows instead of
|
|
458
|
+
* the data.
|
|
459
|
+
* @default false
|
|
460
|
+
*/
|
|
383
461
|
loading?: boolean;
|
|
384
|
-
/**
|
|
462
|
+
/**
|
|
463
|
+
* Number of skeleton rows shown while `loading=true`.
|
|
464
|
+
* @default 5
|
|
465
|
+
*/
|
|
385
466
|
loadingRowCount?: number;
|
|
467
|
+
/** Rendered when `rows.length === 0`. Falls back to a labeled "No data" state. */
|
|
386
468
|
emptyState?: ReactNode;
|
|
387
|
-
/**
|
|
469
|
+
/**
|
|
470
|
+
* Pin `<thead>` during vertical scroll (`position: sticky; top: 0`).
|
|
471
|
+
* @default true
|
|
472
|
+
*/
|
|
388
473
|
stickyHeader?: boolean;
|
|
389
|
-
/** Optional caption
|
|
474
|
+
/** Optional caption — screen readers announce it as the table's name. */
|
|
390
475
|
caption?: ReactNode;
|
|
391
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* Render the caption visually too. When `false`, the caption is
|
|
478
|
+
* `sr-only`.
|
|
479
|
+
* @default false
|
|
480
|
+
*/
|
|
392
481
|
showCaption?: boolean;
|
|
393
|
-
/**
|
|
482
|
+
/**
|
|
483
|
+
* Table-level RBAC. `hide` returns `null`; `disable` greys the
|
|
484
|
+
* whole table; `readonly` disables interaction but keeps content.
|
|
485
|
+
*/
|
|
394
486
|
access?: AccessRequirement;
|
|
487
|
+
/** i18n string overrides — see `TableLabels` for the full shape. */
|
|
395
488
|
labels?: TableLabels;
|
|
489
|
+
/** Escape hatch for utility classes — appended to the root. Wins over variant classes via `tailwind-merge`. */
|
|
396
490
|
sx?: string;
|
|
491
|
+
/** Per-slot className overrides — see `TableSlotProps`. */
|
|
397
492
|
slotProps?: TableSlotProps;
|
|
398
493
|
}
|
|
399
494
|
//# sourceMappingURL=table.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/table.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"table.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/table.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;GAGG;AACH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qB,CAAC;IAErC,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B,mFAAmF;IACnF,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAE5C,mEAAmE;IACnE,WAAW,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,EAAE,KAAK,SAAS,CAAC;IAG/C;;;OAGG;IACH,UAAU,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAGtC,6EAA6E;IAC7E,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;IAGnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kFAAkF;IAClF,UAAU,CAAC,EAAE,SAAS,CAAC;IAGvB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,yEAAyE;IACzE,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAGtB;;;OAGG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAG3B,oEAAoE;IACpE,MAAM,CAAC,EAAE,WAAW,CAAC;IAGrB,+GAA+G;IAC/G,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,2DAA2D;IAC3D,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,2CA8EpC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { TabsVariants } from './tabs.variants.js';
|
|
3
|
+
/**
|
|
4
|
+
* Subset of `<Tabs>` props theme-configurable via
|
|
5
|
+
* `theme.components.Tabs.defaults` (Option C).
|
|
6
|
+
*/
|
|
7
|
+
export type TabsVariantProps = Pick<TabsVariants, 'variant' | 'orientation'>;
|
|
3
8
|
export interface TabsSlotProps {
|
|
4
9
|
root?: {
|
|
5
10
|
className?: string;
|
|
@@ -14,6 +19,14 @@ export interface TabsSlotProps {
|
|
|
14
19
|
className?: string;
|
|
15
20
|
};
|
|
16
21
|
}
|
|
22
|
+
declare module '@dashforge/tw-tokens' {
|
|
23
|
+
interface TWComponentDefaults {
|
|
24
|
+
Tabs?: {
|
|
25
|
+
defaults?: Partial<TabsVariantProps>;
|
|
26
|
+
slotProps?: TabsSlotProps;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
17
30
|
/**
|
|
18
31
|
* Single tab item — paired `{ value, label, content }`. The `value`
|
|
19
32
|
* is the canonical id (selected via the `value` / `defaultValue`
|
|
@@ -39,7 +52,19 @@ export interface TabItem {
|
|
|
39
52
|
* Supports controlled (`value` + `onValueChange`) and uncontrolled
|
|
40
53
|
* (`defaultValue`) modes — the `value` prop wins when both are set.
|
|
41
54
|
*/
|
|
42
|
-
export interface TabsProps
|
|
55
|
+
export interface TabsProps {
|
|
56
|
+
/**
|
|
57
|
+
* Visual style of the trigger strip — `underline` shows a bottom
|
|
58
|
+
* border under the active tab, `pill` renders active tabs as pills.
|
|
59
|
+
* @default 'underline'
|
|
60
|
+
*/
|
|
61
|
+
variant?: TabsVariants['variant'];
|
|
62
|
+
/**
|
|
63
|
+
* Trigger strip axis. `vertical` orientation also switches arrow-key
|
|
64
|
+
* navigation direction.
|
|
65
|
+
* @default 'horizontal'
|
|
66
|
+
*/
|
|
67
|
+
orientation?: TabsVariants['orientation'];
|
|
43
68
|
/** Tab items array. */
|
|
44
69
|
items: TabItem[];
|
|
45
70
|
/** Controlled active value. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,IAAI,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,OAAO,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjC,OAAO,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAClC;AAED;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,yBAAyB;IACzB,OAAO,EAAE,SAAS,CAAC;IACnB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"tabs.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,aAAa,CAAC,CAAC;AAE7E,MAAM,WAAW,aAAa;IAC5B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CAAC,EAAE,aAAa,CAAC;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,kDAwN9C"}
|