dasar-ui 1.5.0 → 1.9.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 +44 -0
- package/README.md +40 -34
- package/docs/_config.yml +3 -0
- package/docs/getting-started.md +89 -0
- package/docs/index.md +9 -0
- package/docs/installation.md +46 -0
- package/package.json +6 -5
- package/projects/dasar-ui/package.json +1 -1
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.ts +2 -2
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.spec.ts +8 -0
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.ts +2 -2
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.spec.ts +89 -0
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.ts +23 -0
- package/projects/dasar-ui/src/lib/models/theme.model.ts +64 -0
- package/projects/dasar-ui/src/lib/services/theme.service.spec.ts +65 -0
- package/projects/dasar-ui/src/lib/services/theme.service.ts +70 -0
- package/projects/dasar-ui/src/public-api.ts +1 -0
- package/projects/documentation/src/app/app.html +33 -6
- package/projects/documentation/src/app/app.ts +36 -2
- package/projects/documentation/src/app/components/doc-customize-modal.component.ts +56 -2
- package/projects/documentation/src/app/components/doc-markdown.component.ts +154 -0
- package/projects/documentation/src/app/layouts/doc.layout.ts +23 -3
- package/projects/documentation/src/app/pages/getting-started/getting-started.page.ts +21 -0
- package/projects/documentation/src/app/pages/installation/installation.page.ts +18 -0
- package/projects/documentation/src/app/pages/introduction/introduction.page.ts +18 -0
- package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.html +29 -0
- package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.ts +33 -0
- package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.html +13 -0
- package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.ts +30 -0
- package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.html +5 -0
- package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.ts +12 -0
- package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.html +20 -0
- package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.ts +12 -0
- package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.html +11 -0
- package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.ts +19 -0
- package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.html +7 -0
- package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.ts +12 -0
- package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.html +20 -0
- package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.ts +22 -0
- package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.html +9 -0
- package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.ts +16 -0
- package/projects/documentation/src/app/pages/list/examples/size/list-size.example.html +20 -0
- package/projects/documentation/src/app/pages/list/examples/size/list-size.example.ts +12 -0
- package/projects/documentation/src/app/pages/list/list.page.html +95 -0
- package/projects/documentation/src/app/pages/list/list.page.ts +238 -0
- package/projects/documentation/src/app/pages/modal/modal.page.ts +15 -6
- package/projects/documentation/src/app/pages/tabs/tabs.page.ts +7 -0
- package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.html +13 -0
- package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.ts +20 -0
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.html +8 -0
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.scss +4 -0
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.ts +11 -0
- package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.html +13 -0
- package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.ts +33 -0
- package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.html +6 -0
- package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.ts +20 -0
- package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.html +15 -0
- package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.ts +31 -0
- package/projects/documentation/src/app/pages/theming/theming-component-config.page.ts +52 -0
- package/projects/documentation/src/app/pages/theming/theming-css-variables.page.ts +71 -0
- package/projects/documentation/src/app/pages/theming/theming-tokens.page.ts +56 -0
- package/projects/documentation/src/app/pages/theming/theming.data.ts +947 -0
- package/projects/documentation/src/app/pages/theming/theming.page.html +56 -0
- package/projects/documentation/src/app/pages/theming/theming.page.ts +144 -0
- package/projects/documentation/src/app/routes/app.routes.ts +63 -15
- package/projects/documentation/src/app/services/doc-customize.service.ts +12 -0
- package/projects/documentation/src/styles.scss +12 -0
|
@@ -0,0 +1,947 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buttonMap,
|
|
3
|
+
calendarMap,
|
|
4
|
+
cardMap,
|
|
5
|
+
chipMap,
|
|
6
|
+
commonMap,
|
|
7
|
+
datepickerMap,
|
|
8
|
+
inputMap,
|
|
9
|
+
listMap,
|
|
10
|
+
menuMap,
|
|
11
|
+
modalMap,
|
|
12
|
+
overlayMap,
|
|
13
|
+
selectMap,
|
|
14
|
+
tableMap,
|
|
15
|
+
tabsMap,
|
|
16
|
+
} from 'dasar-ui';
|
|
17
|
+
import { DocApiProperty } from '../../layouts/doc.layout';
|
|
18
|
+
|
|
19
|
+
export interface ThemingTokenGroup {
|
|
20
|
+
component: string;
|
|
21
|
+
path: string;
|
|
22
|
+
map: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface ThemingTokenRow {
|
|
26
|
+
component: string;
|
|
27
|
+
token: string;
|
|
28
|
+
cssVar: string;
|
|
29
|
+
path: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const TOKEN_GROUPS: ThemingTokenGroup[] = [
|
|
33
|
+
{ component: 'common', path: 'tokens.light.common', map: commonMap },
|
|
34
|
+
{ component: 'button', path: 'tokens.light.button', map: buttonMap },
|
|
35
|
+
{ component: 'input', path: 'tokens.light.input', map: inputMap },
|
|
36
|
+
{ component: 'calendar', path: 'tokens.light.calendar', map: calendarMap },
|
|
37
|
+
{ component: 'datepicker', path: 'tokens.light.datepicker', map: datepickerMap },
|
|
38
|
+
{ component: 'chip', path: 'tokens.light.chip', map: chipMap },
|
|
39
|
+
{ component: 'select', path: 'tokens.light.select', map: selectMap },
|
|
40
|
+
{ component: 'card', path: 'tokens.light.card', map: cardMap },
|
|
41
|
+
{ component: 'menu', path: 'tokens.light.menu', map: menuMap },
|
|
42
|
+
{ component: 'table', path: 'tokens.light.table', map: tableMap },
|
|
43
|
+
{ component: 'list', path: 'tokens.light.list', map: listMap },
|
|
44
|
+
{ component: 'tabs', path: 'tokens.light.tabs', map: tabsMap },
|
|
45
|
+
{ component: 'overlay', path: 'tokens.light.overlay', map: overlayMap },
|
|
46
|
+
{ component: 'modal', path: 'tokens.light.modal', map: modalMap },
|
|
47
|
+
];
|
|
48
|
+
|
|
49
|
+
export const TOKEN_ROWS: ThemingTokenRow[] = TOKEN_GROUPS.flatMap((group) =>
|
|
50
|
+
Object.entries(group.map).map(([token, cssVar]) => ({
|
|
51
|
+
component: group.component,
|
|
52
|
+
token,
|
|
53
|
+
cssVar,
|
|
54
|
+
path: group.path,
|
|
55
|
+
})),
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
export const COMPONENT_CONFIG_DOCS: Record<string, DocApiProperty[]> = {
|
|
59
|
+
common: [
|
|
60
|
+
{
|
|
61
|
+
name: 'size',
|
|
62
|
+
type: "'xs' | 'sm' | 'md' | 'lg' | 'xl'",
|
|
63
|
+
defaultValue: '-',
|
|
64
|
+
description: 'Shared size default used by components that opt into the common config.',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'radius',
|
|
68
|
+
type: 'ScaleAttributeType',
|
|
69
|
+
defaultValue: '-',
|
|
70
|
+
description: 'Shared radius default used by components that opt into the common config.',
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
button: [
|
|
74
|
+
{
|
|
75
|
+
name: 'appearance',
|
|
76
|
+
type: "'solid' | 'subtle' | 'outline'",
|
|
77
|
+
defaultValue: "'solid'",
|
|
78
|
+
description: 'Fill style of the button.',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: 'variant',
|
|
82
|
+
type: "'primary' | 'secondary' | 'success' | 'warning' | 'danger' | ...",
|
|
83
|
+
defaultValue: "'primary'",
|
|
84
|
+
description: 'Color variant of the button.',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'radius',
|
|
88
|
+
type: 'DasarButtonRadiusType',
|
|
89
|
+
defaultValue: "'md'",
|
|
90
|
+
description: 'Corner radius of the button.',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'size',
|
|
94
|
+
type: 'DasarButtonSizeType',
|
|
95
|
+
defaultValue: "'md'",
|
|
96
|
+
description: 'Size of the button.',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'type',
|
|
100
|
+
type: "'button' | 'submit' | 'reset'",
|
|
101
|
+
defaultValue: "'button'",
|
|
102
|
+
description: 'Native button type.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'fullWidth',
|
|
106
|
+
type: 'boolean',
|
|
107
|
+
defaultValue: 'false',
|
|
108
|
+
description: 'Stretches the button to the container width.',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'iconOnly',
|
|
112
|
+
type: 'boolean',
|
|
113
|
+
defaultValue: 'false',
|
|
114
|
+
description: 'Square padding for icon-only buttons.',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'disabled',
|
|
118
|
+
type: 'boolean',
|
|
119
|
+
defaultValue: 'false',
|
|
120
|
+
description: 'Disables the button.',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'fluid',
|
|
124
|
+
type: 'boolean',
|
|
125
|
+
defaultValue: 'false',
|
|
126
|
+
description: 'Removes the fixed height so the button follows its content.',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'buttonStyle',
|
|
130
|
+
type: 'StyleType',
|
|
131
|
+
defaultValue: '-',
|
|
132
|
+
description: 'Inline style for the button element.',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'buttonClass',
|
|
136
|
+
type: 'ClassType',
|
|
137
|
+
defaultValue: '-',
|
|
138
|
+
description: 'Class for the button element.',
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
input: [
|
|
142
|
+
{
|
|
143
|
+
name: 'appearance',
|
|
144
|
+
type: 'DasarInputAppearanceType',
|
|
145
|
+
defaultValue: "'outline'",
|
|
146
|
+
description: 'Fill style of the input.',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'radius',
|
|
150
|
+
type: 'DasarInputRadiusType',
|
|
151
|
+
defaultValue: "'md'",
|
|
152
|
+
description: 'Corner radius of the input.',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'size',
|
|
156
|
+
type: 'DasarInputSizeType',
|
|
157
|
+
defaultValue: "'md'",
|
|
158
|
+
description: 'Size of the input.',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'type',
|
|
162
|
+
type: 'DasarInputType',
|
|
163
|
+
defaultValue: "'text'",
|
|
164
|
+
description: 'Native input type.',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'mask',
|
|
168
|
+
type: 'DasarInputMaskType',
|
|
169
|
+
defaultValue: '-',
|
|
170
|
+
description: 'Input mask preset.',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'label',
|
|
174
|
+
type: 'string',
|
|
175
|
+
defaultValue: "''",
|
|
176
|
+
description: 'Label above the input.',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'labelRight',
|
|
180
|
+
type: 'string',
|
|
181
|
+
defaultValue: "''",
|
|
182
|
+
description: 'Secondary label on the right side.',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'placeholder',
|
|
186
|
+
type: 'string',
|
|
187
|
+
defaultValue: "''",
|
|
188
|
+
description: 'Placeholder text.',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'hint',
|
|
192
|
+
type: 'string',
|
|
193
|
+
defaultValue: "''",
|
|
194
|
+
description: 'Hint text below the input.',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'fullWidth',
|
|
198
|
+
type: 'boolean',
|
|
199
|
+
defaultValue: 'false',
|
|
200
|
+
description: 'Stretches the input to the container width.',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: 'disabled',
|
|
204
|
+
type: 'boolean',
|
|
205
|
+
defaultValue: 'false',
|
|
206
|
+
description: 'Disables the input.',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'readonly',
|
|
210
|
+
type: 'boolean',
|
|
211
|
+
defaultValue: 'false',
|
|
212
|
+
description: 'Makes the input read-only.',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: 'error',
|
|
216
|
+
type: 'boolean',
|
|
217
|
+
defaultValue: 'false',
|
|
218
|
+
description: 'Error state styling.',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: 'fluid',
|
|
222
|
+
type: 'boolean',
|
|
223
|
+
defaultValue: 'false',
|
|
224
|
+
description: 'Removes the fixed height.',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: 'hideOverflow',
|
|
228
|
+
type: 'boolean',
|
|
229
|
+
defaultValue: 'false',
|
|
230
|
+
description: 'Clips overflowing content.',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'containerStyle / inputStyle / hostStyle / hintStyle',
|
|
234
|
+
type: 'StyleType',
|
|
235
|
+
defaultValue: '-',
|
|
236
|
+
description: 'Inline styles for the input parts.',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: 'containerClass / inputClass / hostClass / hintClass',
|
|
240
|
+
type: 'ClassType',
|
|
241
|
+
defaultValue: '-',
|
|
242
|
+
description: 'Classes for the input parts.',
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
numberInput: [
|
|
246
|
+
{
|
|
247
|
+
name: 'appearance',
|
|
248
|
+
type: 'DasarNumberInputAppearanceType',
|
|
249
|
+
defaultValue: "'outline'",
|
|
250
|
+
description: 'Fill style of the number input.',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'radius',
|
|
254
|
+
type: 'DasarNumberInputRadiusType',
|
|
255
|
+
defaultValue: "'md'",
|
|
256
|
+
description: 'Corner radius.',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: 'size',
|
|
260
|
+
type: 'DasarNumberInputSize',
|
|
261
|
+
defaultValue: "'md'",
|
|
262
|
+
description: 'Size of the number input.',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: 'label / labelRight / placeholder / hint',
|
|
266
|
+
type: 'string',
|
|
267
|
+
defaultValue: "''",
|
|
268
|
+
description: 'Text parts of the number input.',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'step / min / max',
|
|
272
|
+
type: 'number',
|
|
273
|
+
defaultValue: '-',
|
|
274
|
+
description: 'Step and range limits for the stepper buttons.',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'disabled / fullWidth / error',
|
|
278
|
+
type: 'boolean',
|
|
279
|
+
defaultValue: 'false',
|
|
280
|
+
description: 'State flags.',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'containerStyle / inputStyle / hintStyle',
|
|
284
|
+
type: 'StyleType',
|
|
285
|
+
defaultValue: '-',
|
|
286
|
+
description: 'Inline styles for the number input parts.',
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'containerClass / inputClass / hostClass / hintClass',
|
|
290
|
+
type: 'ClassType',
|
|
291
|
+
defaultValue: '-',
|
|
292
|
+
description: 'Classes for the number input parts.',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'hideOverflow',
|
|
296
|
+
type: 'boolean',
|
|
297
|
+
defaultValue: 'false',
|
|
298
|
+
description: 'Clips overflowing content.',
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
select: [
|
|
302
|
+
{
|
|
303
|
+
name: 'appearance',
|
|
304
|
+
type: 'DasarSelectAppearanceType',
|
|
305
|
+
defaultValue: "'outline'",
|
|
306
|
+
description: 'Fill style of the select trigger.',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: 'radius / size',
|
|
310
|
+
type: 'DasarSelectRadiusType / DasarSelectSizeType',
|
|
311
|
+
defaultValue: "'md' / 'md'",
|
|
312
|
+
description: 'Corner radius and size.',
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'options',
|
|
316
|
+
type: 'DasarSelectOption[]',
|
|
317
|
+
defaultValue: '[]',
|
|
318
|
+
description: 'Selectable options.',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
name: 'multipleType',
|
|
322
|
+
type: 'DasarSelectMultipleDisplayType',
|
|
323
|
+
defaultValue: '-',
|
|
324
|
+
description: 'How multiple selected values are displayed.',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: 'chipSize',
|
|
328
|
+
type: 'DasarSelectChipSizeType',
|
|
329
|
+
defaultValue: '-',
|
|
330
|
+
description: 'Size of the selected-value chips.',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: 'arrowIconName',
|
|
334
|
+
type: 'string',
|
|
335
|
+
defaultValue: '-',
|
|
336
|
+
description: 'Icon used for the dropdown arrow.',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: 'debounceTime',
|
|
340
|
+
type: 'number',
|
|
341
|
+
defaultValue: '-',
|
|
342
|
+
description: 'Debounce for the search input in milliseconds.',
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: 'label / labelRight / placeholder / hint',
|
|
346
|
+
type: 'string',
|
|
347
|
+
defaultValue: "''",
|
|
348
|
+
description: 'Text parts of the select.',
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: 'placement',
|
|
352
|
+
type: 'DasarPanelPlacement',
|
|
353
|
+
defaultValue: '-',
|
|
354
|
+
description: 'Dropdown panel placement.',
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: 'clearable / searchable / disabled / loading / error / fullWidth / hideOverflow',
|
|
358
|
+
type: 'boolean',
|
|
359
|
+
defaultValue: 'false',
|
|
360
|
+
description: 'State flags.',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
name: 'dropdownPanelStyle / containerStyle',
|
|
364
|
+
type: 'StyleType',
|
|
365
|
+
defaultValue: '-',
|
|
366
|
+
description: 'Inline styles for the panel and container.',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: 'dropdownPanelClass / containerClass / optionClass',
|
|
370
|
+
type: 'ClassType',
|
|
371
|
+
defaultValue: '-',
|
|
372
|
+
description: 'Classes for the panel, container and options.',
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
chip: [
|
|
376
|
+
{
|
|
377
|
+
name: 'appearance',
|
|
378
|
+
type: 'DasarChipAppearanceType',
|
|
379
|
+
defaultValue: "'solid'",
|
|
380
|
+
description: 'Fill style of the chip.',
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: 'variant',
|
|
384
|
+
type: 'DasarChipVariantType',
|
|
385
|
+
defaultValue: "'primary'",
|
|
386
|
+
description: 'Color variant of the chip.',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
name: 'size',
|
|
390
|
+
type: 'DasarButtonSizeType',
|
|
391
|
+
defaultValue: "'xs'",
|
|
392
|
+
description: 'Size of the chip.',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: 'radius',
|
|
396
|
+
type: 'DasarButtonRadiusType',
|
|
397
|
+
defaultValue: '-',
|
|
398
|
+
description: 'Corner radius of the chip.',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: 'label',
|
|
402
|
+
type: 'string',
|
|
403
|
+
defaultValue: "''",
|
|
404
|
+
description: 'Chip label. Content projection works as well.',
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: 'iconName / closeIconName',
|
|
408
|
+
type: 'string',
|
|
409
|
+
defaultValue: '-',
|
|
410
|
+
description: 'Leading icon and the remove icon.',
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
name: 'removable / disabled / fluid',
|
|
414
|
+
type: 'boolean',
|
|
415
|
+
defaultValue: 'false',
|
|
416
|
+
description: 'State flags.',
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
name: 'containerStyle / contentStyle / labelStyle',
|
|
420
|
+
type: 'StyleType',
|
|
421
|
+
defaultValue: '-',
|
|
422
|
+
description: 'Inline styles for the chip parts.',
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
name: 'containerClass / contentClass / labelClass',
|
|
426
|
+
type: 'ClassType',
|
|
427
|
+
defaultValue: '-',
|
|
428
|
+
description: 'Classes for the chip parts.',
|
|
429
|
+
},
|
|
430
|
+
],
|
|
431
|
+
calendar: [
|
|
432
|
+
{
|
|
433
|
+
name: 'appearance',
|
|
434
|
+
type: "'outline' | 'borderless'",
|
|
435
|
+
defaultValue: "'outline'",
|
|
436
|
+
description: 'Fill style of the calendar.',
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
name: 'variant',
|
|
440
|
+
type: "'dashboard' | 'dropdown'",
|
|
441
|
+
defaultValue: "'dashboard'",
|
|
442
|
+
description: 'Full calendar or compact dropdown calendar.',
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
name: 'size',
|
|
446
|
+
type: 'DasarCalendarSizeType',
|
|
447
|
+
defaultValue: "'md'",
|
|
448
|
+
description: 'Size of the calendar.',
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: 'radius',
|
|
452
|
+
type: 'DasarCalendarRadius',
|
|
453
|
+
defaultValue: '-',
|
|
454
|
+
description: 'Corner radius.',
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
name: 'locale',
|
|
458
|
+
type: 'string',
|
|
459
|
+
defaultValue: '-',
|
|
460
|
+
description: 'Locale for month and weekday names.',
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
name: 'weekdayFormat / headerFormat / valueFormat',
|
|
464
|
+
type: 'string',
|
|
465
|
+
defaultValue: '-',
|
|
466
|
+
description: 'Date format strings for the calendar parts.',
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
name: 'hideHeader / hideFullDate / fullWidth / disabled',
|
|
470
|
+
type: 'boolean',
|
|
471
|
+
defaultValue: 'false',
|
|
472
|
+
description: 'State flags.',
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: 'containerStyle / headerStyle',
|
|
476
|
+
type: 'StyleType',
|
|
477
|
+
defaultValue: '-',
|
|
478
|
+
description: 'Inline styles for the calendar parts.',
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'containerClass / headerClass',
|
|
482
|
+
type: 'ClassType',
|
|
483
|
+
defaultValue: '-',
|
|
484
|
+
description: 'Classes for the calendar parts.',
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
datepicker: [
|
|
488
|
+
{
|
|
489
|
+
name: 'appearance',
|
|
490
|
+
type: 'DasarDatepickerAppearance',
|
|
491
|
+
defaultValue: "'outline'",
|
|
492
|
+
description: 'Fill style of the trigger input.',
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
name: 'type',
|
|
496
|
+
type: 'DasarDatepickerType',
|
|
497
|
+
defaultValue: "'single'",
|
|
498
|
+
description: 'Single date or range selection.',
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
name: 'size / radius',
|
|
502
|
+
type: 'DasarDatepickerSize / DasarDatepickerRadius',
|
|
503
|
+
defaultValue: "'md' / 'md'",
|
|
504
|
+
description: 'Size and corner radius.',
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: 'displayFormat / valueFormat',
|
|
508
|
+
type: 'string',
|
|
509
|
+
defaultValue: '-',
|
|
510
|
+
description: 'Display format and emitted value format.',
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
name: 'placement',
|
|
514
|
+
type: 'DasarDatepickerPlacement',
|
|
515
|
+
defaultValue: '-',
|
|
516
|
+
description: 'Calendar dropdown placement.',
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
name: 'label / extraLabel / placeholder / hint',
|
|
520
|
+
type: 'string',
|
|
521
|
+
defaultValue: "''",
|
|
522
|
+
description: 'Text parts of the datepicker.',
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
name: 'locale',
|
|
526
|
+
type: 'string',
|
|
527
|
+
defaultValue: '-',
|
|
528
|
+
description: 'Locale for the calendar.',
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
name: 'fullWidth / clearable / disabled / fluid / error',
|
|
532
|
+
type: 'boolean',
|
|
533
|
+
defaultValue: 'false',
|
|
534
|
+
description: 'State flags.',
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
name: 'wrapperStyle / triggerStyle / labelWrapperStyle / hintWrapperStyle / containerStyle / dropdownStyle',
|
|
538
|
+
type: 'StyleType',
|
|
539
|
+
defaultValue: '-',
|
|
540
|
+
description: 'Inline styles for the datepicker parts.',
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
name: 'containerClass / wrapperClass / triggerClass / dropdownClass / labelWrapperClass / hintWrapperClass',
|
|
544
|
+
type: 'ClassType',
|
|
545
|
+
defaultValue: '-',
|
|
546
|
+
description: 'Classes for the datepicker parts.',
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
card: [
|
|
550
|
+
{
|
|
551
|
+
name: 'appearance',
|
|
552
|
+
type: "'outline' | 'borderless' | 'elevated'",
|
|
553
|
+
defaultValue: "'outline'",
|
|
554
|
+
description: 'Fill style of the card.',
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
name: 'spacing',
|
|
558
|
+
type: "'normal' | 'compact'",
|
|
559
|
+
defaultValue: "'normal'",
|
|
560
|
+
description: 'Padding density of the card.',
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
name: 'radius / size',
|
|
564
|
+
type: "ScaleAttributeType / 'sm' | 'md' | 'lg'",
|
|
565
|
+
defaultValue: "'md' / 'md'",
|
|
566
|
+
description: 'Corner radius and size.',
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
name: 'label',
|
|
570
|
+
type: 'string',
|
|
571
|
+
defaultValue: "''",
|
|
572
|
+
description: 'Card title.',
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
name: 'closable',
|
|
576
|
+
type: 'boolean',
|
|
577
|
+
defaultValue: 'false',
|
|
578
|
+
description: 'Shows a close button.',
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
name: 'fullWidth / fluid',
|
|
582
|
+
type: 'boolean',
|
|
583
|
+
defaultValue: 'false',
|
|
584
|
+
description: 'Width and height behavior flags.',
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'captionFluid / hideOverflow / headerFluid / actionFluid / bodyFluid',
|
|
588
|
+
type: 'boolean',
|
|
589
|
+
defaultValue: 'false',
|
|
590
|
+
description: 'Layout flags for the card slots.',
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
name: 'contentHeaderStyle / extraHeaderStyle / containerStyle / captionStyle / headerStyle / actionStyle / bodyStyle',
|
|
594
|
+
type: 'StyleType',
|
|
595
|
+
defaultValue: '-',
|
|
596
|
+
description: 'Inline styles for the card parts.',
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
name: 'contentHeaderClass / extraHeaderClass / containerClass / captionClass / actionClass / headerClass / bodyClass',
|
|
600
|
+
type: 'ClassType',
|
|
601
|
+
defaultValue: '-',
|
|
602
|
+
description: 'Classes for the card parts.',
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
modal: [
|
|
606
|
+
{
|
|
607
|
+
name: 'appearance',
|
|
608
|
+
type: 'DasarModalAppearance',
|
|
609
|
+
defaultValue: '-',
|
|
610
|
+
description: 'Fill style of the modal.',
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
name: 'spacing',
|
|
614
|
+
type: 'DasarModalSpacing',
|
|
615
|
+
defaultValue: '-',
|
|
616
|
+
description: 'Padding density of the modal.',
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
name: 'radius / size',
|
|
620
|
+
type: 'DasarModalRadius / DasarModalSize',
|
|
621
|
+
defaultValue: '-',
|
|
622
|
+
description: 'Corner radius and width preset.',
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
name: 'label',
|
|
626
|
+
type: 'string',
|
|
627
|
+
defaultValue: "''",
|
|
628
|
+
description: 'Modal title.',
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: 'width',
|
|
632
|
+
type: 'string',
|
|
633
|
+
defaultValue: '-',
|
|
634
|
+
description: 'Custom modal width, overrides the size preset.',
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
name: 'closable / closeOnOverlay / closeOnEscape',
|
|
638
|
+
type: 'boolean',
|
|
639
|
+
defaultValue: 'true',
|
|
640
|
+
description: 'Close behavior flags.',
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
name: 'headerFluid / bodyFluid / actionFluid / fullWidth',
|
|
644
|
+
type: 'boolean',
|
|
645
|
+
defaultValue: 'false',
|
|
646
|
+
description: 'Layout flags.',
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
name: 'overlayBlur / overlayBackground',
|
|
650
|
+
type: 'string',
|
|
651
|
+
defaultValue: 'null',
|
|
652
|
+
description:
|
|
653
|
+
'Backdrop blur and background. Null falls back to the overlay tokens and CSS defaults.',
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: 'containerStyle / headerStyle / closeStyle / bodyStyle / actionStyle',
|
|
657
|
+
type: 'StyleType',
|
|
658
|
+
defaultValue: '-',
|
|
659
|
+
description: 'Inline styles for the modal parts.',
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
name: 'containerClass / headerClass / closeClass / bodyClass / actionClass',
|
|
663
|
+
type: 'ClassType',
|
|
664
|
+
defaultValue: '-',
|
|
665
|
+
description: 'Classes for the modal parts.',
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
overlay: [
|
|
669
|
+
{
|
|
670
|
+
name: 'blur',
|
|
671
|
+
type: 'string',
|
|
672
|
+
defaultValue: 'null',
|
|
673
|
+
description: 'Backdrop blur. Null falls back to the overlay token and the 4px CSS default.',
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
name: 'background',
|
|
677
|
+
type: 'string',
|
|
678
|
+
defaultValue: 'null',
|
|
679
|
+
description:
|
|
680
|
+
'Backdrop background. Null falls back to the overlay token and the rgba(0, 0, 0, 0.45) CSS default.',
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
name: 'zIndex',
|
|
684
|
+
type: 'number',
|
|
685
|
+
defaultValue: '-',
|
|
686
|
+
description: 'Stacking order of the overlay.',
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
name: 'closeOnClick',
|
|
690
|
+
type: 'boolean',
|
|
691
|
+
defaultValue: 'true',
|
|
692
|
+
description: 'Closes the overlay when the backdrop is clicked.',
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
name: 'overlayStyle',
|
|
696
|
+
type: 'StyleType',
|
|
697
|
+
defaultValue: '-',
|
|
698
|
+
description: 'Inline style for the overlay.',
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
name: 'overlayClass',
|
|
702
|
+
type: 'ClassType',
|
|
703
|
+
defaultValue: '-',
|
|
704
|
+
description: 'Class for the overlay.',
|
|
705
|
+
},
|
|
706
|
+
],
|
|
707
|
+
icon: [
|
|
708
|
+
{
|
|
709
|
+
name: 'name',
|
|
710
|
+
type: 'string',
|
|
711
|
+
defaultValue: "''",
|
|
712
|
+
description: 'Icon name from the registry.',
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
name: 'size',
|
|
716
|
+
type: 'DasarIconSizeType',
|
|
717
|
+
defaultValue: "'md'",
|
|
718
|
+
description: 'Size of the icon.',
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: 'stroke',
|
|
722
|
+
type: 'number',
|
|
723
|
+
defaultValue: '-',
|
|
724
|
+
description: 'Stroke width of the icon paths.',
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: 'color',
|
|
728
|
+
type: 'string',
|
|
729
|
+
defaultValue: '-',
|
|
730
|
+
description: 'Icon color override.',
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
name: 'fluid',
|
|
734
|
+
type: 'boolean',
|
|
735
|
+
defaultValue: 'false',
|
|
736
|
+
description: 'Lets the icon fill its container.',
|
|
737
|
+
},
|
|
738
|
+
],
|
|
739
|
+
menu: [
|
|
740
|
+
{
|
|
741
|
+
name: 'placement',
|
|
742
|
+
type: 'DasarMenuPlacementType',
|
|
743
|
+
defaultValue: "'bottom-start'",
|
|
744
|
+
description: 'Dropdown panel placement.',
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
name: 'appearance',
|
|
748
|
+
type: 'DasarMenuAppearanceType',
|
|
749
|
+
defaultValue: "'outline'",
|
|
750
|
+
description: 'Fill style of the panel.',
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
name: 'radius / size',
|
|
754
|
+
type: 'DasarMenuRadiusType / DasarMenuSizeType',
|
|
755
|
+
defaultValue: "'md' / 'md'",
|
|
756
|
+
description: 'Corner radius and size.',
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: 'label',
|
|
760
|
+
type: 'string',
|
|
761
|
+
defaultValue: "''",
|
|
762
|
+
description: 'Trigger label when no trigger slot is provided.',
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
name: 'items',
|
|
766
|
+
type: 'DasarMenuItem[]',
|
|
767
|
+
defaultValue: '[]',
|
|
768
|
+
description: 'Menu items.',
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
name: 'disabled / fluid',
|
|
772
|
+
type: 'boolean',
|
|
773
|
+
defaultValue: 'false',
|
|
774
|
+
description: 'State flags.',
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
name: 'containerStyle / panelStyle / itemStyle',
|
|
778
|
+
type: 'StyleType',
|
|
779
|
+
defaultValue: '-',
|
|
780
|
+
description: 'Inline styles for the menu parts.',
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
name: 'containerClass / panelClass / itemClass',
|
|
784
|
+
type: 'ClassType',
|
|
785
|
+
defaultValue: '-',
|
|
786
|
+
description: 'Classes for the menu parts.',
|
|
787
|
+
},
|
|
788
|
+
],
|
|
789
|
+
table: [
|
|
790
|
+
{
|
|
791
|
+
name: 'data / columns',
|
|
792
|
+
type: 'any[] / DasarTableColumn[]',
|
|
793
|
+
defaultValue: '[]',
|
|
794
|
+
description: 'Rows and column definitions.',
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
name: 'appearance',
|
|
798
|
+
type: 'DasarTableAppearance',
|
|
799
|
+
defaultValue: "'outline'",
|
|
800
|
+
description: 'Fill style of the table container.',
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
name: 'spacing / size',
|
|
804
|
+
type: 'DasarTableSpacing / DasarTableSize',
|
|
805
|
+
defaultValue: "'normal' / 'md'",
|
|
806
|
+
description: 'Padding density and size.',
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
name: 'sortKey / sortDirection',
|
|
810
|
+
type: 'string | null / DasarTableSortDirection',
|
|
811
|
+
defaultValue: 'null',
|
|
812
|
+
description: 'Controlled sorting state.',
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
name: 'emptyTitle / emptyDescription / loadingText',
|
|
816
|
+
type: 'string',
|
|
817
|
+
defaultValue: '-',
|
|
818
|
+
description: 'Empty and loading state copy.',
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
name: 'fluid / striped / hoverable / loading / expandable',
|
|
822
|
+
type: 'boolean',
|
|
823
|
+
defaultValue: 'false',
|
|
824
|
+
description: 'State flags.',
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
name: 'containerStyle / wrapperStyle / tableStyle / headerStyle / bodyStyle / paginationStyle',
|
|
828
|
+
type: 'StyleType',
|
|
829
|
+
defaultValue: '-',
|
|
830
|
+
description: 'Inline styles for the table parts.',
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
name: 'containerClass / wrapperClass / tableClass / headerClass / bodyClass / paginationClass',
|
|
834
|
+
type: 'ClassType',
|
|
835
|
+
defaultValue: '-',
|
|
836
|
+
description: 'Classes for the table parts.',
|
|
837
|
+
},
|
|
838
|
+
],
|
|
839
|
+
tabs: [
|
|
840
|
+
{
|
|
841
|
+
name: 'appearance',
|
|
842
|
+
type: "'solid' | 'subtle' | 'outline'",
|
|
843
|
+
defaultValue: "'solid'",
|
|
844
|
+
description: 'Fill style of the tab list.',
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: 'radius',
|
|
848
|
+
type: 'DasarTabsRadiusType',
|
|
849
|
+
defaultValue: "'md'",
|
|
850
|
+
description: 'Corner radius of the tab list.',
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
name: 'size',
|
|
854
|
+
type: 'DasarTabsSizeType',
|
|
855
|
+
defaultValue: "'md'",
|
|
856
|
+
description: 'Size of the tabs.',
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
name: 'spacing',
|
|
860
|
+
type: "'normal' | 'compact'",
|
|
861
|
+
defaultValue: "'normal'",
|
|
862
|
+
description: 'Padding density of the tabs.',
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
name: 'fluid',
|
|
866
|
+
type: 'boolean',
|
|
867
|
+
defaultValue: 'false',
|
|
868
|
+
description: 'Stretches tabs to the container width.',
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
name: 'scrollLeftIconName / scrollRightIconName',
|
|
872
|
+
type: 'string',
|
|
873
|
+
defaultValue: '-',
|
|
874
|
+
description: 'Icons for the overflow scroll buttons.',
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
name: 'containerStyle / contentStyle / listStyle / scrollButtonStyle',
|
|
878
|
+
type: 'StyleType',
|
|
879
|
+
defaultValue: '-',
|
|
880
|
+
description: 'Inline styles for the tabs parts.',
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
name: 'containerClass / contentClass / listClass / scrollButtonClass',
|
|
884
|
+
type: 'ClassType',
|
|
885
|
+
defaultValue: '-',
|
|
886
|
+
description: 'Classes for the tabs parts.',
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
list: [
|
|
890
|
+
{
|
|
891
|
+
name: 'size',
|
|
892
|
+
type: "'sm' | 'md' | 'lg'",
|
|
893
|
+
defaultValue: "'md'",
|
|
894
|
+
description: 'Font size and item padding of the list.',
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
name: 'bordered',
|
|
898
|
+
type: 'boolean',
|
|
899
|
+
defaultValue: 'false',
|
|
900
|
+
description: 'Adds a border around the list container.',
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
name: 'showDivider',
|
|
904
|
+
type: 'boolean',
|
|
905
|
+
defaultValue: 'false',
|
|
906
|
+
description: 'Separates items with a divider line.',
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
name: 'hoverable',
|
|
910
|
+
type: 'boolean',
|
|
911
|
+
defaultValue: 'false',
|
|
912
|
+
description: 'Highlights an item on hover.',
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
name: 'clickable',
|
|
916
|
+
type: 'boolean',
|
|
917
|
+
defaultValue: 'false',
|
|
918
|
+
description: 'Pointer cursor and active background on items.',
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
name: 'containerStyle',
|
|
922
|
+
type: 'StyleType',
|
|
923
|
+
defaultValue: '-',
|
|
924
|
+
description: 'Inline style for the list container.',
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
name: 'containerClass',
|
|
928
|
+
type: 'ClassType',
|
|
929
|
+
defaultValue: '-',
|
|
930
|
+
description: 'Class for the list container.',
|
|
931
|
+
},
|
|
932
|
+
],
|
|
933
|
+
listItem: [
|
|
934
|
+
{
|
|
935
|
+
name: 'itemStyle',
|
|
936
|
+
type: 'StyleType',
|
|
937
|
+
defaultValue: '-',
|
|
938
|
+
description: 'Inline style for the list item.',
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
name: 'itemClass',
|
|
942
|
+
type: 'ClassType',
|
|
943
|
+
defaultValue: '-',
|
|
944
|
+
description: 'Class for the list item.',
|
|
945
|
+
},
|
|
946
|
+
],
|
|
947
|
+
};
|