@chotot/clad-ui 3.0.0-next.1 → 3.0.0-next.3

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.
Files changed (79) hide show
  1. package/README.md +43 -1
  2. package/ai/clad-ui-helper.js +267 -0
  3. package/ai/knowledge-base/README.md +154 -0
  4. package/ai/knowledge-base/clad-ui-database.json +9378 -0
  5. package/ai/knowledge-base/component-categories.json +616 -0
  6. package/ai/knowledge-base/components/metadata/charts-axis.json +31 -0
  7. package/ai/knowledge-base/components/metadata/charts-barchart.json +57 -0
  8. package/ai/knowledge-base/components/metadata/charts-basechart.tsx.json +31 -0
  9. package/ai/knowledge-base/components/metadata/charts-chartshared.json +31 -0
  10. package/ai/knowledge-base/components/metadata/charts-linechart.json +189 -0
  11. package/ai/knowledge-base/components/metadata/charts-piechart.json +57 -0
  12. package/ai/knowledge-base/components/metadata/components-announcer.json +215 -0
  13. package/ai/knowledge-base/components/metadata/components-badge.json +168 -0
  14. package/ai/knowledge-base/components/metadata/components-box.json +348 -0
  15. package/ai/knowledge-base/components/metadata/components-breadcrumbs.json +75 -0
  16. package/ai/knowledge-base/components/metadata/components-button.json +187 -0
  17. package/ai/knowledge-base/components/metadata/components-checkbox.json +161 -0
  18. package/ai/knowledge-base/components/metadata/components-chip.json +266 -0
  19. package/ai/knowledge-base/components/metadata/components-currencyinput.json +136 -0
  20. package/ai/knowledge-base/components/metadata/components-datepicker.json +87 -0
  21. package/ai/knowledge-base/components/metadata/components-dropdown.json +282 -0
  22. package/ai/knowledge-base/components/metadata/components-grid.json +92 -0
  23. package/ai/knowledge-base/components/metadata/components-input.json +432 -0
  24. package/ai/knowledge-base/components/metadata/components-pagination.json +111 -0
  25. package/ai/knowledge-base/components/metadata/components-popover.json +63 -0
  26. package/ai/knowledge-base/components/metadata/components-radiobutton.json +170 -0
  27. package/ai/knowledge-base/components/metadata/components-rowitem.json +281 -0
  28. package/ai/knowledge-base/components/metadata/components-shapeicon.json +139 -0
  29. package/ai/knowledge-base/components/metadata/components-slider.json +177 -0
  30. package/ai/knowledge-base/components/metadata/components-snack.json +181 -0
  31. package/ai/knowledge-base/components/metadata/components-tabs.json +169 -0
  32. package/ai/knowledge-base/components/metadata/components-textarea.json +285 -0
  33. package/ai/knowledge-base/components/metadata/components-textlabel.json +129 -0
  34. package/ai/knowledge-base/components/metadata/components-toggleswitch.json +134 -0
  35. package/ai/knowledge-base/components/metadata/components-tooltip.json +291 -0
  36. package/ai/knowledge-base/components/metadata/patterns-drawer.json +310 -0
  37. package/ai/knowledge-base/components/metadata/patterns-emptystate.json +106 -0
  38. package/ai/knowledge-base/components/metadata/patterns-inputgroup.json +105 -0
  39. package/ai/knowledge-base/components/metadata/patterns-legacydialog.json +177 -0
  40. package/ai/knowledge-base/components/metadata/patterns-legacypopup.json +236 -0
  41. package/ai/knowledge-base/components/metadata/patterns-multisearchdropdown.json +249 -0
  42. package/ai/knowledge-base/components/metadata/patterns-popup.json +268 -0
  43. package/ai/knowledge-base/components/metadata/patterns-rangeinput.json +105 -0
  44. package/ai/knowledge-base/components/metadata/patterns-searchbar.json +150 -0
  45. package/ai/knowledge-base/components/metadata/patterns-searchinput.json +312 -0
  46. package/ai/knowledge-base/components/metadata/patterns-tagcloud.json +244 -0
  47. package/ai/knowledge-base/components/metadata/summaries.json +610 -0
  48. package/ai/knowledge-base/design-tokens/tokens.json +483 -0
  49. package/ai/knowledge-base/patterns/documentation.json +131 -0
  50. package/ai/knowledge-base/prompts/common-system-prompt.md +592 -0
  51. package/ai/knowledge-base/prompts/figma-system-prompt.md +396 -0
  52. package/ai/knowledge-base/search-index/icons/asset-icons.json +1 -0
  53. package/ai/knowledge-base/search-index/icons/collection.json +5 -0
  54. package/ai/knowledge-base/search-index/icons/system-icons.json +1 -0
  55. package/ai/knowledge-base/search-index/search-index.json +899 -0
  56. package/ai/knowledge-base/validation-rules/component-rules.json +658 -0
  57. package/ai/skill/SKILL.md +103 -0
  58. package/dist/clad-ui.es.js +1110 -1098
  59. package/dist/components/Chip/Chip.d.ts +1 -1
  60. package/dist/components/Chip/Chip.d.ts.map +1 -1
  61. package/dist/components/Chip/Chip.styles.d.ts.map +1 -1
  62. package/dist/components/Input/Input.styles.d.ts.map +1 -1
  63. package/dist/components/RowItem/RowItem.styles.d.ts.map +1 -1
  64. package/dist/components/Snack/Snack.d.ts +9 -0
  65. package/dist/components/Snack/Snack.d.ts.map +1 -1
  66. package/dist/components/Snack/Snack.styles.d.ts +7 -1
  67. package/dist/components/Snack/Snack.styles.d.ts.map +1 -1
  68. package/dist/components/TextArea/TextArea.styles.d.ts.map +1 -1
  69. package/dist/patterns/Drawer/Drawer.d.ts +19 -10
  70. package/dist/patterns/Drawer/Drawer.d.ts.map +1 -1
  71. package/dist/patterns/Drawer/Drawer.styles.d.ts +1 -1
  72. package/dist/patterns/Drawer/Drawer.styles.d.ts.map +1 -1
  73. package/dist/patterns/MultiSearchDropdown/MultiSearchDropdown.d.ts.map +1 -1
  74. package/dist/patterns/MultiSearchDropdown/MultiSearchDropdown.styles.d.ts.map +1 -1
  75. package/dist/theme-chotot.css +1 -1
  76. package/dist/theme-job.css +1 -1
  77. package/dist/theme-pty.css +1 -1
  78. package/dist/theme-veh.css +1 -1
  79. package/package.json +8 -2
@@ -0,0 +1,616 @@
1
+ {
2
+ "components": [
3
+ {
4
+ "id": "components-announcer",
5
+ "name": "Announcer",
6
+ "category": "components",
7
+ "status": "stable",
8
+ "description": "Announcer box is used to displayed system messages, which can be dismissed.",
9
+ "hasStories": true,
10
+ "version": "2.0.0",
11
+ "filePath": "packages/clad-ui/components/Announcer/Announcer.tsx",
12
+ "storyPath": "packages/clad-ui/components/Announcer/Announcer.stories.tsx"
13
+ },
14
+ {
15
+ "id": "components-badge",
16
+ "name": "Badge",
17
+ "category": "components",
18
+ "status": "stable",
19
+ "description": "Size of Badge",
20
+ "hasStories": true,
21
+ "version": "2.0.0",
22
+ "filePath": "packages/clad-ui/components/Badge/Badge.tsx",
23
+ "storyPath": "packages/clad-ui/components/Badge/Badge.stories.tsx"
24
+ },
25
+ {
26
+ "id": "components-box",
27
+ "name": "Box",
28
+ "category": "components",
29
+ "status": "stable",
30
+ "description": "Element or component to be rendered as",
31
+ "hasStories": true,
32
+ "version": "2.0.0",
33
+ "filePath": "packages/clad-ui/components/Box/Box.tsx",
34
+ "storyPath": "packages/clad-ui/components/Box/Box.stories.tsx"
35
+ },
36
+ {
37
+ "id": "components-breadcrumbs",
38
+ "name": "Breadcrumbs",
39
+ "category": "components",
40
+ "status": "stable",
41
+ "description": "Breadcrumbs className",
42
+ "hasStories": true,
43
+ "version": "2.0.0",
44
+ "filePath": "packages/clad-ui/components/Breadcrumbs/Breadcrumbs.tsx",
45
+ "storyPath": "packages/clad-ui/components/Breadcrumbs/Breadcrumbs.stories.tsx"
46
+ },
47
+ {
48
+ "id": "components-breadcrumbs",
49
+ "name": "Breadcrumbs",
50
+ "category": "components",
51
+ "status": "stable",
52
+ "description": " component",
53
+ "hasStories": true,
54
+ "version": "2.0.0",
55
+ "filePath": "packages/clad-ui/components/Breadcrumbs/BreadcrumbItem.tsx",
56
+ "storyPath": "packages/clad-ui/components/Breadcrumbs/Breadcrumbs.stories.tsx"
57
+ },
58
+ {
59
+ "id": "components-button",
60
+ "name": "Button",
61
+ "category": "components",
62
+ "status": "stable",
63
+ "description": "Icons as interactive buttons / links. It has the same props list as [Button component](/docs/components-shapeicon--docs)",
64
+ "hasStories": true,
65
+ "version": "2.0.0",
66
+ "filePath": "packages/clad-ui/components/Button/IconButton.tsx",
67
+ "storyPath": "packages/clad-ui/components/Button/Button.stories.tsx"
68
+ },
69
+ {
70
+ "id": "components-button",
71
+ "name": "Button",
72
+ "category": "components",
73
+ "status": "stable",
74
+ "description": "Different looks of button",
75
+ "hasStories": true,
76
+ "version": "2.0.0",
77
+ "filePath": "packages/clad-ui/components/Button/GhostButton.tsx",
78
+ "storyPath": "packages/clad-ui/components/Button/Button.stories.tsx"
79
+ },
80
+ {
81
+ "id": "components-button",
82
+ "name": "Button",
83
+ "category": "components",
84
+ "status": "stable",
85
+ "description": " component",
86
+ "hasStories": true,
87
+ "version": "2.0.0",
88
+ "filePath": "packages/clad-ui/components/Button/ButtonLink.tsx",
89
+ "storyPath": "packages/clad-ui/components/Button/Button.stories.tsx"
90
+ },
91
+ {
92
+ "id": "components-button",
93
+ "name": "Button",
94
+ "category": "components",
95
+ "status": "stable",
96
+ "description": "Color selection for button color prop",
97
+ "hasStories": true,
98
+ "version": "2.0.0",
99
+ "filePath": "packages/clad-ui/components/Button/Button.tsx",
100
+ "storyPath": "packages/clad-ui/components/Button/Button.stories.tsx"
101
+ },
102
+ {
103
+ "id": "components-checkbox",
104
+ "name": "Checkbox",
105
+ "category": "components",
106
+ "status": "stable",
107
+ "description": "Checkbox id",
108
+ "hasStories": true,
109
+ "version": "2.0.0",
110
+ "filePath": "packages/clad-ui/components/Checkbox/Checkbox.tsx",
111
+ "storyPath": "packages/clad-ui/components/Checkbox/Checkbox.stories.tsx"
112
+ },
113
+ {
114
+ "id": "components-chip",
115
+ "name": "Chip",
116
+ "category": "components",
117
+ "status": "stable",
118
+ "description": "Whether this chip is active or not",
119
+ "hasStories": true,
120
+ "version": "2.0.0",
121
+ "filePath": "packages/clad-ui/components/Chip/Chip.tsx",
122
+ "storyPath": "packages/clad-ui/components/Chip/Chip.stories.tsx"
123
+ },
124
+ {
125
+ "id": "components-currencyinput",
126
+ "name": "CurrencyInput",
127
+ "category": "components",
128
+ "status": "stable",
129
+ "description": "Callback when user input. Return formatted value. eg: 1.200,25",
130
+ "hasStories": true,
131
+ "version": "2.0.0",
132
+ "filePath": "packages/clad-ui/components/CurrencyInput/CurrencyInput.tsx",
133
+ "storyPath": "packages/clad-ui/components/CurrencyInput/CurrencyInput.stories.tsx"
134
+ },
135
+ {
136
+ "id": "components-datepicker",
137
+ "name": "DatePicker",
138
+ "category": "components",
139
+ "status": "stable",
140
+ "description": "The current date time value to be displayed in the date picker.",
141
+ "hasStories": true,
142
+ "version": "2.0.0",
143
+ "filePath": "packages/clad-ui/components/DatePicker/DateTimePicker.tsx",
144
+ "storyPath": "packages/clad-ui/components/DatePicker/DatePicker.stories.tsx"
145
+ },
146
+ {
147
+ "id": "components-datepicker",
148
+ "name": "DatePicker",
149
+ "category": "components",
150
+ "status": "stable",
151
+ "description": "The current date value to be displayed in the date picker.",
152
+ "hasStories": true,
153
+ "version": "2.0.0",
154
+ "filePath": "packages/clad-ui/components/DatePicker/DatePicker.tsx",
155
+ "storyPath": "packages/clad-ui/components/DatePicker/DatePicker.stories.tsx"
156
+ },
157
+ {
158
+ "id": "components-dropdown",
159
+ "name": "Dropdown",
160
+ "category": "components",
161
+ "status": "stable",
162
+ "description": "Custom class to override dropdown's style.",
163
+ "hasStories": true,
164
+ "version": "2.0.0",
165
+ "filePath": "packages/clad-ui/components/Dropdown/Dropdown.tsx",
166
+ "storyPath": "packages/clad-ui/components/Dropdown/Dropdown.stories.tsx"
167
+ },
168
+ {
169
+ "id": "components-grid",
170
+ "name": "Grid",
171
+ "category": "components",
172
+ "status": "stable",
173
+ "description": "Based on Bootstrap Grid system.",
174
+ "hasStories": false,
175
+ "version": "2.0.0",
176
+ "filePath": "packages/clad-ui/components/Grid/Grid.tsx"
177
+ },
178
+ {
179
+ "id": "components-grid",
180
+ "name": "Grid",
181
+ "category": "components",
182
+ "status": "stable",
183
+ "description": "Col component mimic flexbox item",
184
+ "hasStories": false,
185
+ "version": "2.0.0",
186
+ "filePath": "packages/clad-ui/components/Grid/Col.tsx"
187
+ },
188
+ {
189
+ "id": "components-input",
190
+ "name": "Input",
191
+ "category": "components",
192
+ "status": "stable",
193
+ "description": "Input name",
194
+ "hasStories": true,
195
+ "version": "2.0.0",
196
+ "filePath": "packages/clad-ui/components/Input/Input.tsx",
197
+ "storyPath": "packages/clad-ui/components/Input/Input.stories.tsx"
198
+ },
199
+ {
200
+ "id": "components-pagination",
201
+ "name": "Pagination",
202
+ "category": "components",
203
+ "status": "stable",
204
+ "description": "Additional className",
205
+ "hasStories": true,
206
+ "version": "2.0.0",
207
+ "filePath": "packages/clad-ui/components/Pagination/Pagination.tsx",
208
+ "storyPath": "packages/clad-ui/components/Pagination/Pagination.stories.tsx"
209
+ },
210
+ {
211
+ "id": "components-pagination",
212
+ "name": "Pagination",
213
+ "category": "components",
214
+ "status": "stable",
215
+ "description": "Page number",
216
+ "hasStories": true,
217
+ "version": "2.0.0",
218
+ "filePath": "packages/clad-ui/components/Pagination/PageItem.tsx",
219
+ "storyPath": "packages/clad-ui/components/Pagination/Pagination.stories.tsx"
220
+ },
221
+ {
222
+ "id": "components-popover",
223
+ "name": "Popover",
224
+ "category": "components",
225
+ "status": "stable",
226
+ "description": "The `anchorEl` is used to set the position of the popover.",
227
+ "hasStories": true,
228
+ "version": "2.0.0",
229
+ "filePath": "packages/clad-ui/components/Popover/Popover.tsx",
230
+ "storyPath": "packages/clad-ui/components/Popover/Popover.stories.tsx"
231
+ },
232
+ {
233
+ "id": "components-popover",
234
+ "name": "Popover",
235
+ "category": "components",
236
+ "status": "stable",
237
+ "description": " component",
238
+ "hasStories": true,
239
+ "version": "2.0.0",
240
+ "filePath": "packages/clad-ui/components/Popover/Popover.styles.tsx",
241
+ "storyPath": "packages/clad-ui/components/Popover/Popover.stories.tsx"
242
+ },
243
+ {
244
+ "id": "components-radiobutton",
245
+ "name": "RadioButton",
246
+ "category": "components",
247
+ "status": "stable",
248
+ "description": "Radio button id",
249
+ "hasStories": true,
250
+ "version": "2.0.0",
251
+ "filePath": "packages/clad-ui/components/RadioButton/RadioButton.tsx",
252
+ "storyPath": "packages/clad-ui/components/RadioButton/RadioButton.stories.tsx"
253
+ },
254
+ {
255
+ "id": "components-rowitem",
256
+ "name": "RowItem",
257
+ "category": "components",
258
+ "status": "stable",
259
+ "description": "Name of the checkbox/radio option.",
260
+ "hasStories": true,
261
+ "version": "2.0.0",
262
+ "filePath": "packages/clad-ui/components/RowItem/RowItem.tsx",
263
+ "storyPath": "packages/clad-ui/components/RowItem/RowItem.stories.tsx"
264
+ },
265
+ {
266
+ "id": "components-shapeicon",
267
+ "name": "ShapeIcon",
268
+ "category": "components",
269
+ "status": "stable",
270
+ "description": "Copyright 2020, ChoTot Ltd. Licensed under the Apache License, Version 2.0.",
271
+ "hasStories": true,
272
+ "version": "2.0.0",
273
+ "filePath": "packages/clad-ui/components/ShapeIcon/ShapeIcon.tsx",
274
+ "storyPath": "packages/clad-ui/components/ShapeIcon/ShapeIcon.stories.tsx"
275
+ },
276
+ {
277
+ "id": "components-slider",
278
+ "name": "Slider",
279
+ "category": "components",
280
+ "status": "stable",
281
+ "description": "Slider id",
282
+ "hasStories": true,
283
+ "version": "2.0.0",
284
+ "filePath": "packages/clad-ui/components/Slider/Slider.tsx",
285
+ "storyPath": "packages/clad-ui/components/Slider/Slider.stories.tsx"
286
+ },
287
+ {
288
+ "id": "components-snack",
289
+ "name": "Snack",
290
+ "category": "components",
291
+ "status": "stable",
292
+ "description": "Snack content",
293
+ "hasStories": true,
294
+ "version": "2.0.0",
295
+ "filePath": "packages/clad-ui/components/Snack/Snack.tsx",
296
+ "storyPath": "packages/clad-ui/components/Snack/Snack.stories.tsx"
297
+ },
298
+ {
299
+ "id": "components-tabs",
300
+ "name": "Tabs",
301
+ "category": "components",
302
+ "status": "beta",
303
+ "description": "`Tab` children.",
304
+ "hasStories": true,
305
+ "version": "2.0.0",
306
+ "filePath": "packages/clad-ui/components/Tabs/Tabs.tsx",
307
+ "storyPath": "packages/clad-ui/components/Tabs/Tabs.stories.tsx"
308
+ },
309
+ {
310
+ "id": "components-tabs",
311
+ "name": "Tabs",
312
+ "category": "components",
313
+ "status": "stable",
314
+ "description": "Ref to the DOM node.",
315
+ "hasStories": true,
316
+ "version": "2.0.0",
317
+ "filePath": "packages/clad-ui/components/Tabs/Tab.tsx",
318
+ "storyPath": "packages/clad-ui/components/Tabs/Tabs.stories.tsx"
319
+ },
320
+ {
321
+ "id": "components-textarea",
322
+ "name": "TextArea",
323
+ "category": "components",
324
+ "status": "stable",
325
+ "description": "TextArea name",
326
+ "hasStories": true,
327
+ "version": "2.0.0",
328
+ "filePath": "packages/clad-ui/components/TextArea/TextArea.tsx",
329
+ "storyPath": "packages/clad-ui/components/TextArea/TextArea.stories.tsx"
330
+ },
331
+ {
332
+ "id": "components-textlabel",
333
+ "name": "TextLabel",
334
+ "category": "components",
335
+ "status": "stable",
336
+ "description": "Size of Text Label",
337
+ "hasStories": true,
338
+ "version": "2.0.0",
339
+ "filePath": "packages/clad-ui/components/TextLabel/TextLabel.tsx",
340
+ "storyPath": "packages/clad-ui/components/TextLabel/TextLabel.stories.tsx"
341
+ },
342
+ {
343
+ "id": "components-toggleswitch",
344
+ "name": "ToggleSwitch",
345
+ "category": "components",
346
+ "status": "stable",
347
+ "description": "Checkbox id",
348
+ "hasStories": true,
349
+ "version": "2.0.0",
350
+ "filePath": "packages/clad-ui/components/ToggleSwitch/ToggleSwitch.tsx",
351
+ "storyPath": "packages/clad-ui/components/ToggleSwitch/ToggleSwitch.stories.tsx"
352
+ },
353
+ {
354
+ "id": "components-tooltip",
355
+ "name": "Tooltip",
356
+ "category": "components",
357
+ "status": "stable",
358
+ "description": "String or element that the Tooltip wraps",
359
+ "hasStories": true,
360
+ "version": "2.0.0",
361
+ "filePath": "packages/clad-ui/components/Tooltip/Tooltip.tsx",
362
+ "storyPath": "packages/clad-ui/components/Tooltip/Tooltip.stories.tsx"
363
+ }
364
+ ],
365
+ "patterns": [
366
+ {
367
+ "id": "patterns-drawer",
368
+ "name": "Drawer",
369
+ "category": "patterns",
370
+ "status": "stable",
371
+ "description": "className (can be used to add more styles to mainIcon by targeting `main-icon` class in case of using a custom string)",
372
+ "hasStories": true,
373
+ "version": "2.0.0",
374
+ "filePath": "packages/clad-ui/patterns/Drawer/Drawer.tsx",
375
+ "storyPath": "packages/clad-ui/patterns/Drawer/Drawer.stories.tsx"
376
+ },
377
+ {
378
+ "id": "patterns-emptystate",
379
+ "name": "EmptyState",
380
+ "category": "patterns",
381
+ "status": "stable",
382
+ "description": "Type of Empty State",
383
+ "hasStories": true,
384
+ "version": "2.0.0",
385
+ "filePath": "packages/clad-ui/patterns/EmptyState/EmptyState.tsx",
386
+ "storyPath": "packages/clad-ui/patterns/EmptyState/EmptyState.stories.tsx"
387
+ },
388
+ {
389
+ "id": "patterns-inputgroup",
390
+ "name": "InputGroup",
391
+ "category": "patterns",
392
+ "status": "stable",
393
+ "description": "Input group content",
394
+ "hasStories": true,
395
+ "version": "2.0.0",
396
+ "filePath": "packages/clad-ui/patterns/InputGroup/InputGroup.tsx",
397
+ "storyPath": "packages/clad-ui/patterns/InputGroup/InputGroup.stories.js"
398
+ },
399
+ {
400
+ "id": "patterns-legacydialog",
401
+ "name": "LegacyDialog",
402
+ "category": "patterns",
403
+ "status": "stable",
404
+ "description": "Dialog className (can be used to add more styles to mainIcon by targeting `main-icon` class in case of using a custom string)",
405
+ "hasStories": true,
406
+ "version": "2.0.0",
407
+ "filePath": "packages/clad-ui/patterns/LegacyDialog/LegacyDialog.tsx",
408
+ "storyPath": "packages/clad-ui/patterns/LegacyDialog/LegacyDialog.stories.js"
409
+ },
410
+ {
411
+ "id": "patterns-legacypopup",
412
+ "name": "LegacyPopup",
413
+ "category": "patterns",
414
+ "status": "stable",
415
+ "description": "Popup title",
416
+ "hasStories": true,
417
+ "version": "2.0.0",
418
+ "filePath": "packages/clad-ui/patterns/LegacyPopup/LegacyPopup.tsx",
419
+ "storyPath": "packages/clad-ui/patterns/LegacyPopup/LegacyPopup.stories.js"
420
+ },
421
+ {
422
+ "id": "patterns-multisearchdropdown",
423
+ "name": "MultiSearchDropdown",
424
+ "category": "patterns",
425
+ "status": "stable",
426
+ "description": "The id attribute of this component",
427
+ "hasStories": true,
428
+ "version": "2.0.0",
429
+ "filePath": "packages/clad-ui/patterns/MultiSearchDropdown/MultiSearchDropdown.tsx",
430
+ "storyPath": "packages/clad-ui/patterns/MultiSearchDropdown/MultiSearchDropdown.stories.tsx"
431
+ },
432
+ {
433
+ "id": "patterns-popup",
434
+ "name": "Popup",
435
+ "category": "patterns",
436
+ "status": "stable",
437
+ "description": "Dialog className (can be used to add more styles to mainIcon by targeting `main-icon` class in case of using a custom string)",
438
+ "hasStories": true,
439
+ "version": "2.0.0",
440
+ "filePath": "packages/clad-ui/patterns/Popup/Popup.tsx",
441
+ "storyPath": "packages/clad-ui/patterns/Popup/Popup.stories.tsx"
442
+ },
443
+ {
444
+ "id": "patterns-rangeinput",
445
+ "name": "RangeInput",
446
+ "category": "patterns",
447
+ "status": "stable",
448
+ "description": "Input group content",
449
+ "hasStories": true,
450
+ "version": "2.0.0",
451
+ "filePath": "packages/clad-ui/patterns/RangeInput/RangeInput.tsx",
452
+ "storyPath": "packages/clad-ui/patterns/RangeInput/RangeInput.stories.tsx"
453
+ },
454
+ {
455
+ "id": "patterns-searchbar",
456
+ "name": "Searchbar",
457
+ "category": "patterns",
458
+ "status": "stable",
459
+ "description": "Ref to the DOM node.",
460
+ "hasStories": true,
461
+ "version": "2.0.0",
462
+ "filePath": "packages/clad-ui/patterns/Searchbar/Searchbar.tsx",
463
+ "storyPath": "packages/clad-ui/patterns/Searchbar/Searchbar.stories.tsx"
464
+ },
465
+ {
466
+ "id": "patterns-searchinput",
467
+ "name": "SearchInput",
468
+ "category": "patterns",
469
+ "status": "stable",
470
+ "description": "Value data for this component, the text always reflects the input value, while selected is the selected option from the dropdown menu.",
471
+ "hasStories": true,
472
+ "version": "2.0.0",
473
+ "filePath": "packages/clad-ui/patterns/SearchInput/SearchInput.tsx",
474
+ "storyPath": "packages/clad-ui/patterns/SearchInput/SearchInput.stories.tsx"
475
+ },
476
+ {
477
+ "id": "patterns-tagcloud",
478
+ "name": "TagCloud",
479
+ "category": "patterns",
480
+ "status": "stable",
481
+ "description": " component",
482
+ "hasStories": true,
483
+ "version": "2.0.0",
484
+ "filePath": "packages/clad-ui/patterns/TagCloud/TagCloudSingleActive.tsx",
485
+ "storyPath": "packages/clad-ui/patterns/TagCloud/TagCloud.stories.tsx"
486
+ },
487
+ {
488
+ "id": "patterns-tagcloud",
489
+ "name": "TagCloud",
490
+ "category": "patterns",
491
+ "status": "stable",
492
+ "description": " component",
493
+ "hasStories": true,
494
+ "version": "2.0.0",
495
+ "filePath": "packages/clad-ui/patterns/TagCloud/TagCloudMultiActive.tsx",
496
+ "storyPath": "packages/clad-ui/patterns/TagCloud/TagCloud.stories.tsx"
497
+ },
498
+ {
499
+ "id": "patterns-tagcloud",
500
+ "name": "TagCloud",
501
+ "category": "patterns",
502
+ "status": "stable",
503
+ "description": "Tag Cloud change event, value is stored in target.value",
504
+ "hasStories": true,
505
+ "version": "2.0.0",
506
+ "filePath": "packages/clad-ui/patterns/TagCloud/TagCloud.tsx",
507
+ "storyPath": "packages/clad-ui/patterns/TagCloud/TagCloud.stories.tsx"
508
+ }
509
+ ],
510
+ "charts": [
511
+ {
512
+ "id": "charts-axis",
513
+ "name": "Axis",
514
+ "category": "charts",
515
+ "status": "stable",
516
+ "description": " component",
517
+ "hasStories": false,
518
+ "version": "2.0.0",
519
+ "filePath": "packages/charts/components/Axis/IncrementAxis.tsx"
520
+ },
521
+ {
522
+ "id": "charts-axis",
523
+ "name": "Axis",
524
+ "category": "charts",
525
+ "status": "stable",
526
+ "description": " component",
527
+ "hasStories": false,
528
+ "version": "2.0.0",
529
+ "filePath": "packages/charts/components/Axis/DetailRangeAxis.tsx"
530
+ },
531
+ {
532
+ "id": "charts-axis",
533
+ "name": "Axis",
534
+ "category": "charts",
535
+ "status": "stable",
536
+ "description": " component",
537
+ "hasStories": false,
538
+ "version": "2.0.0",
539
+ "filePath": "packages/charts/components/Axis/BaseAxis.tsx"
540
+ },
541
+ {
542
+ "id": "charts-barchart",
543
+ "name": "BarChart",
544
+ "category": "charts",
545
+ "status": "stable",
546
+ "description": " component",
547
+ "hasStories": true,
548
+ "version": "2.0.0",
549
+ "filePath": "packages/charts/components/BarChart/BarChart.tsx",
550
+ "storyPath": "packages/charts/components/BarChart/BarChart.stories.js"
551
+ },
552
+ {
553
+ "id": "charts-basechart.tsx",
554
+ "name": "BaseChart.tsx",
555
+ "category": "charts",
556
+ "status": "stable",
557
+ "description": "return x1 y1 x2 y2 of chart rectangle, along with the padding",
558
+ "hasStories": false,
559
+ "version": "2.0.0",
560
+ "filePath": "packages/charts/components/BaseChart.tsx"
561
+ },
562
+ {
563
+ "id": "charts-chartshared",
564
+ "name": "ChartShared",
565
+ "category": "charts",
566
+ "status": "stable",
567
+ "description": " component",
568
+ "hasStories": false,
569
+ "version": "2.0.0",
570
+ "filePath": "packages/charts/components/ChartShared/HoveringPoint.tsx"
571
+ },
572
+ {
573
+ "id": "charts-chartshared",
574
+ "name": "ChartShared",
575
+ "category": "charts",
576
+ "status": "stable",
577
+ "description": " component",
578
+ "hasStories": false,
579
+ "version": "2.0.0",
580
+ "filePath": "packages/charts/components/ChartShared/ChartTooltip.tsx"
581
+ },
582
+ {
583
+ "id": "charts-linechart",
584
+ "name": "LineChart",
585
+ "category": "charts",
586
+ "status": "stable",
587
+ "description": " component",
588
+ "hasStories": true,
589
+ "version": "2.0.0",
590
+ "filePath": "packages/charts/components/LineChart/LineChart.tsx",
591
+ "storyPath": "packages/charts/components/LineChart/LineChart.stories.js"
592
+ },
593
+ {
594
+ "id": "charts-piechart",
595
+ "name": "PieChart",
596
+ "category": "charts",
597
+ "status": "stable",
598
+ "description": " component",
599
+ "hasStories": true,
600
+ "version": "2.0.0",
601
+ "filePath": "packages/charts/components/PieChart/PieChart.tsx",
602
+ "storyPath": "packages/charts/components/PieChart/PieChart.stories.js"
603
+ },
604
+ {
605
+ "id": "charts-piechart",
606
+ "name": "PieChart",
607
+ "category": "charts",
608
+ "status": "stable",
609
+ "description": " component",
610
+ "hasStories": true,
611
+ "version": "2.0.0",
612
+ "filePath": "packages/charts/components/PieChart/LabelStack.tsx",
613
+ "storyPath": "packages/charts/components/PieChart/PieChart.stories.js"
614
+ }
615
+ ]
616
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "metadata": {
3
+ "id": "charts-axis",
4
+ "name": "Axis",
5
+ "category": "charts",
6
+ "status": "stable",
7
+ "description": " component",
8
+ "hasStories": false,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/charts/components/Axis/BaseAxis.tsx",
11
+ "stability": "stable"
12
+ },
13
+ "usage": {
14
+ "importPath": "import { Axis } from '@chotot/charts';",
15
+ "basicExample": "<Axis>Content</Axis>",
16
+ "commonPatterns": []
17
+ },
18
+ "props": [],
19
+ "variants": [],
20
+ "accessibility": {
21
+ "ariaLabels": [],
22
+ "keyboardNavigation": [],
23
+ "screenReaderSupport": ""
24
+ },
25
+ "relatedComponents": [],
26
+ "designTokens": {
27
+ "colors": [],
28
+ "spacing": [],
29
+ "typography": []
30
+ }
31
+ }