@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,57 @@
1
+ {
2
+ "metadata": {
3
+ "id": "charts-barchart",
4
+ "name": "BarChart",
5
+ "category": "charts",
6
+ "status": "stable",
7
+ "description": " component",
8
+ "hasStories": true,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/charts/components/BarChart/BarChart.tsx",
11
+ "storyPath": "packages/charts/components/BarChart/BarChart.stories.js",
12
+ "stability": "stable"
13
+ },
14
+ "usage": {
15
+ "importPath": "import { BarChart } from '@chotot/charts';",
16
+ "basicExample": "<BarChart>Content</BarChart>",
17
+ "commonPatterns": []
18
+ },
19
+ "props": [],
20
+ "variants": [
21
+ {
22
+ "name": "BarChartCombination",
23
+ "description": "BarChartCombination variant",
24
+ "props": {},
25
+ "example": "<BarChart>Content</BarChart>"
26
+ },
27
+ {
28
+ "name": "BarChartCombination",
29
+ "description": "BarChartCombination variant",
30
+ "props": {},
31
+ "example": "<BarChart>Content</BarChart>"
32
+ },
33
+ {
34
+ "name": "XLabels",
35
+ "description": "XLabels variant",
36
+ "props": {},
37
+ "example": "<BarChart>Content</BarChart>"
38
+ },
39
+ {
40
+ "name": "YLabels",
41
+ "description": "YLabels variant",
42
+ "props": {},
43
+ "example": "<BarChart>Content</BarChart>"
44
+ }
45
+ ],
46
+ "accessibility": {
47
+ "ariaLabels": [],
48
+ "keyboardNavigation": [],
49
+ "screenReaderSupport": ""
50
+ },
51
+ "relatedComponents": [],
52
+ "designTokens": {
53
+ "colors": [],
54
+ "spacing": [],
55
+ "typography": []
56
+ }
57
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "metadata": {
3
+ "id": "charts-basechart.tsx",
4
+ "name": "BaseChart.tsx",
5
+ "category": "charts",
6
+ "status": "stable",
7
+ "description": "return x1 y1 x2 y2 of chart rectangle, along with the padding",
8
+ "hasStories": false,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/charts/components/BaseChart.tsx",
11
+ "stability": "stable"
12
+ },
13
+ "usage": {
14
+ "importPath": "import { BaseChart.tsx } from '@chotot/charts';",
15
+ "basicExample": "<BaseChart.tsx>Content</BaseChart.tsx>",
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
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "metadata": {
3
+ "id": "charts-chartshared",
4
+ "name": "ChartShared",
5
+ "category": "charts",
6
+ "status": "stable",
7
+ "description": " component",
8
+ "hasStories": false,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/charts/components/ChartShared/ChartTooltip.tsx",
11
+ "stability": "stable"
12
+ },
13
+ "usage": {
14
+ "importPath": "import { ChartShared } from '@chotot/charts';",
15
+ "basicExample": "<ChartShared>Content</ChartShared>",
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
+ }
@@ -0,0 +1,189 @@
1
+ {
2
+ "metadata": {
3
+ "id": "charts-linechart",
4
+ "name": "LineChart",
5
+ "category": "charts",
6
+ "status": "stable",
7
+ "description": " component",
8
+ "hasStories": true,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/charts/components/LineChart/LineChart.tsx",
11
+ "storyPath": "packages/charts/components/LineChart/LineChart.stories.js",
12
+ "stability": "stable"
13
+ },
14
+ "usage": {
15
+ "importPath": "import { LineChart } from '@chotot/charts';",
16
+ "basicExample": "<LineChart>Content</LineChart>",
17
+ "commonPatterns": []
18
+ },
19
+ "props": [],
20
+ "variants": [
21
+ {
22
+ "name": "XLabels",
23
+ "description": "XLabels variant",
24
+ "props": {},
25
+ "example": "<LineChart>Content</LineChart>"
26
+ },
27
+ {
28
+ "name": "YLabels",
29
+ "description": "YLabels variant",
30
+ "props": {},
31
+ "example": "<LineChart>Content</LineChart>"
32
+ },
33
+ {
34
+ "name": "ChartWithPoints",
35
+ "description": "ChartWithPoints variant",
36
+ "props": {},
37
+ "example": "<LineChart>Content</LineChart>"
38
+ },
39
+ {
40
+ "name": "ChartWithPoints",
41
+ "description": "ChartWithPoints variant",
42
+ "props": {},
43
+ "example": "<LineChart>Content</LineChart>"
44
+ },
45
+ {
46
+ "name": "XLabels",
47
+ "description": "XLabels variant",
48
+ "props": {},
49
+ "example": "<LineChart>Content</LineChart>"
50
+ },
51
+ {
52
+ "name": "ChartWithLine",
53
+ "description": "ChartWithLine variant",
54
+ "props": {},
55
+ "example": "<LineChart>Content</LineChart>"
56
+ },
57
+ {
58
+ "name": "ChartWithLine",
59
+ "description": "ChartWithLine variant",
60
+ "props": {},
61
+ "example": "<LineChart>Content</LineChart>"
62
+ },
63
+ {
64
+ "name": "XLabels",
65
+ "description": "XLabels variant",
66
+ "props": {},
67
+ "example": "<LineChart>Content</LineChart>"
68
+ },
69
+ {
70
+ "name": "ChartWithArea",
71
+ "description": "ChartWithArea variant",
72
+ "props": {},
73
+ "example": "<LineChart>Content</LineChart>"
74
+ },
75
+ {
76
+ "name": "ChartWithArea",
77
+ "description": "ChartWithArea variant",
78
+ "props": {},
79
+ "example": "<LineChart>Content</LineChart>"
80
+ },
81
+ {
82
+ "name": "XLabels",
83
+ "description": "XLabels variant",
84
+ "props": {},
85
+ "example": "<LineChart>Content</LineChart>"
86
+ },
87
+ {
88
+ "name": "ChartWithGrid",
89
+ "description": "ChartWithGrid variant",
90
+ "props": {},
91
+ "example": "<LineChart>Content</LineChart>"
92
+ },
93
+ {
94
+ "name": "ChartWithGrid",
95
+ "description": "ChartWithGrid variant",
96
+ "props": {},
97
+ "example": "<LineChart>Content</LineChart>"
98
+ },
99
+ {
100
+ "name": "XLabels",
101
+ "description": "XLabels variant",
102
+ "props": {},
103
+ "example": "<LineChart>Content</LineChart>"
104
+ },
105
+ {
106
+ "name": "AutoAxisAndStep",
107
+ "description": "AutoAxisAndStep variant",
108
+ "props": {},
109
+ "example": "<LineChart>Content</LineChart>"
110
+ },
111
+ {
112
+ "name": "AutoAxisAndStep",
113
+ "description": "AutoAxisAndStep variant",
114
+ "props": {},
115
+ "example": "<LineChart>Content</LineChart>"
116
+ },
117
+ {
118
+ "name": "XLabels",
119
+ "description": "XLabels variant",
120
+ "props": {},
121
+ "example": "<LineChart>Content</LineChart>"
122
+ },
123
+ {
124
+ "name": "CustomAxisAndStep",
125
+ "description": "CustomAxisAndStep variant",
126
+ "props": {},
127
+ "example": "<LineChart>Content</LineChart>"
128
+ },
129
+ {
130
+ "name": "CustomAxisAndStep",
131
+ "description": "CustomAxisAndStep variant",
132
+ "props": {},
133
+ "example": "<LineChart>Content</LineChart>"
134
+ },
135
+ {
136
+ "name": "XLabels",
137
+ "description": "XLabels variant",
138
+ "props": {},
139
+ "example": "<LineChart>Content</LineChart>"
140
+ },
141
+ {
142
+ "name": "ChartWithTooltip",
143
+ "description": "ChartWithTooltip variant",
144
+ "props": {},
145
+ "example": "<LineChart>Content</LineChart>"
146
+ },
147
+ {
148
+ "name": "ChartWithTooltip",
149
+ "description": "ChartWithTooltip variant",
150
+ "props": {},
151
+ "example": "<LineChart>Content</LineChart>"
152
+ },
153
+ {
154
+ "name": "XLabels",
155
+ "description": "XLabels variant",
156
+ "props": {},
157
+ "example": "<LineChart>Content</LineChart>"
158
+ },
159
+ {
160
+ "name": "MultipleCharts",
161
+ "description": "MultipleCharts variant",
162
+ "props": {},
163
+ "example": "<LineChart>Content</LineChart>"
164
+ },
165
+ {
166
+ "name": "MultipleCharts",
167
+ "description": "MultipleCharts variant",
168
+ "props": {},
169
+ "example": "<LineChart>Content</LineChart>"
170
+ },
171
+ {
172
+ "name": "XLabels",
173
+ "description": "XLabels variant",
174
+ "props": {},
175
+ "example": "<LineChart>Content</LineChart>"
176
+ }
177
+ ],
178
+ "accessibility": {
179
+ "ariaLabels": [],
180
+ "keyboardNavigation": [],
181
+ "screenReaderSupport": ""
182
+ },
183
+ "relatedComponents": [],
184
+ "designTokens": {
185
+ "colors": [],
186
+ "spacing": [],
187
+ "typography": []
188
+ }
189
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "metadata": {
3
+ "id": "charts-piechart",
4
+ "name": "PieChart",
5
+ "category": "charts",
6
+ "status": "stable",
7
+ "description": " component",
8
+ "hasStories": true,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/charts/components/PieChart/LabelStack.tsx",
11
+ "storyPath": "packages/charts/components/PieChart/PieChart.stories.js",
12
+ "stability": "stable"
13
+ },
14
+ "usage": {
15
+ "importPath": "import { PieChart } from '@chotot/charts';",
16
+ "basicExample": "<PieChart>Content</PieChart>",
17
+ "commonPatterns": []
18
+ },
19
+ "props": [],
20
+ "variants": [
21
+ {
22
+ "name": "WithoutDetailColor",
23
+ "description": "Generating color set from primary color",
24
+ "props": {},
25
+ "example": "<PieChart>Content</PieChart>"
26
+ },
27
+ {
28
+ "name": "WithoutDetailColor",
29
+ "description": "Generating color set from primary color",
30
+ "props": {},
31
+ "example": "<PieChart>Content</PieChart>"
32
+ },
33
+ {
34
+ "name": "UpdateLabelsAndLines",
35
+ "description": "Generating color set from primary color",
36
+ "props": {},
37
+ "example": "<PieChart>Content</PieChart>"
38
+ },
39
+ {
40
+ "name": "UpdateLabelsAndLines",
41
+ "description": "Generating color set from primary color",
42
+ "props": {},
43
+ "example": "<PieChart>Content</PieChart>"
44
+ }
45
+ ],
46
+ "accessibility": {
47
+ "ariaLabels": [],
48
+ "keyboardNavigation": [],
49
+ "screenReaderSupport": ""
50
+ },
51
+ "relatedComponents": [],
52
+ "designTokens": {
53
+ "colors": [],
54
+ "spacing": [],
55
+ "typography": []
56
+ }
57
+ }
@@ -0,0 +1,215 @@
1
+ {
2
+ "metadata": {
3
+ "id": "components-announcer",
4
+ "name": "Announcer",
5
+ "category": "components",
6
+ "status": "stable",
7
+ "description": "Announcer box is used to displayed system messages, which can be dismissed.",
8
+ "hasStories": true,
9
+ "version": "2.0.0",
10
+ "filePath": "packages/clad-ui/components/Announcer/Announcer.tsx",
11
+ "storyPath": "packages/clad-ui/components/Announcer/Announcer.stories.tsx",
12
+ "stability": "stable"
13
+ },
14
+ "usage": {
15
+ "importPath": "import { Announcer } from 'clad-ui';",
16
+ "basicExample": "<Announcer>Content</Announcer>",
17
+ "commonPatterns": []
18
+ },
19
+ "props": [
20
+ {
21
+ "name": "open",
22
+ "type": "boolean",
23
+ "required": false,
24
+ "description": ""
25
+ },
26
+ {
27
+ "name": "onClose",
28
+ "type": "any",
29
+ "required": false,
30
+ "description": ""
31
+ },
32
+ {
33
+ "name": "onButtonClick",
34
+ "type": "object",
35
+ "required": false,
36
+ "description": ""
37
+ },
38
+ {
39
+ "name": "title",
40
+ "type": "string",
41
+ "required": false,
42
+ "description": ""
43
+ },
44
+ {
45
+ "name": "children",
46
+ "type": "object",
47
+ "required": false,
48
+ "description": ""
49
+ },
50
+ {
51
+ "name": "type",
52
+ "type": "\"info\" | \"warning\" | \"success\" | \"error\" | \"neutral\"",
53
+ "required": false,
54
+ "description": "",
55
+ "options": [
56
+ "info",
57
+ "warning",
58
+ "success",
59
+ "error",
60
+ "neutral"
61
+ ]
62
+ },
63
+ {
64
+ "name": "compact",
65
+ "type": "boolean",
66
+ "required": false,
67
+ "description": ""
68
+ },
69
+ {
70
+ "name": "btnLabel",
71
+ "type": "string",
72
+ "required": false,
73
+ "description": ""
74
+ },
75
+ {
76
+ "name": "dangerousHtml",
77
+ "type": "string",
78
+ "required": false,
79
+ "description": ""
80
+ },
81
+ {
82
+ "name": "icon",
83
+ "type": "object",
84
+ "required": false,
85
+ "description": ""
86
+ },
87
+ {
88
+ "name": "isLoading",
89
+ "type": "boolean",
90
+ "required": false,
91
+ "description": ""
92
+ }
93
+ ],
94
+ "variants": [
95
+ {
96
+ "name": "WithoutTitle",
97
+ "description": "Announcer won't have title if `title` prop is not found. Announcer's children will occupy the empty space.",
98
+ "props": {},
99
+ "example": "<Announcer>Content</Announcer>"
100
+ },
101
+ {
102
+ "name": "WithoutTitle",
103
+ "description": "Announcer won't have title if `title` prop is not found. Announcer's children will occupy the empty space.",
104
+ "props": {},
105
+ "example": "<Announcer>Content</Announcer>"
106
+ },
107
+ {
108
+ "name": "WithoutButton",
109
+ "description": "Announcer won't have action button at the bottom if `btnLabel` prop is not found. Announcer's children will occupy the empty space. On mobile viewport, if children's number of line is more than 4, it will be truncated into 2 with an expand button.",
110
+ "props": {},
111
+ "example": "<Announcer>Content</Announcer>"
112
+ },
113
+ {
114
+ "name": "WithoutButton",
115
+ "description": "Announcer won't have action button at the bottom if `btnLabel` prop is not found. Announcer's children will occupy the empty space. On mobile viewport, if children's number of line is more than 4, it will be truncated into 2 with an expand button.",
116
+ "props": {},
117
+ "example": "<Announcer>Content</Announcer>"
118
+ },
119
+ {
120
+ "name": "WithoutCloseButton",
121
+ "description": "Announcer won't have the close button at the top-right if the `onClose` prop is not a function.",
122
+ "props": {},
123
+ "example": "<Announcer>Content</Announcer>"
124
+ },
125
+ {
126
+ "name": "WithoutCloseButton",
127
+ "description": "Announcer won't have the close button at the top-right if the `onClose` prop is not a function.",
128
+ "props": {},
129
+ "example": "<Announcer>Content</Announcer>"
130
+ },
131
+ {
132
+ "name": "WithType",
133
+ "description": "Announcer comes with various different types. Each has an unique icon, a suitable theme color and serves different purposes.",
134
+ "props": {},
135
+ "example": "<Announcer>Content</Announcer>"
136
+ },
137
+ {
138
+ "name": "WithType",
139
+ "description": "Announcer comes with various different types. Each has an unique icon, a suitable theme color and serves different purposes.",
140
+ "props": {},
141
+ "example": "<Announcer>Content</Announcer>"
142
+ },
143
+ {
144
+ "name": "CustomIcon",
145
+ "description": "Use prop icon to override the default icon",
146
+ "props": {},
147
+ "example": "<Announcer>Content</Announcer>"
148
+ },
149
+ {
150
+ "name": "CustomIcon",
151
+ "description": "Use prop icon to override the default icon",
152
+ "props": {},
153
+ "example": "<Announcer>Content</Announcer>"
154
+ },
155
+ {
156
+ "name": "WithCompact",
157
+ "description": "Setting `compact` prop to turn Announcer to single line. Useful when Announcer description is short and action button is not required.",
158
+ "props": {},
159
+ "example": "<Announcer>Content</Announcer>"
160
+ },
161
+ {
162
+ "name": "WithCompact",
163
+ "description": "Setting `compact` prop to turn Announcer to single line. Useful when Announcer description is short and action button is not required.",
164
+ "props": {},
165
+ "example": "<Announcer>Content</Announcer>"
166
+ },
167
+ {
168
+ "name": "LoadingState",
169
+ "description": "Use `isLoading` prop to show skeleton loader",
170
+ "props": {},
171
+ "example": "<Announcer>Content</Announcer>"
172
+ },
173
+ {
174
+ "name": "LoadingState",
175
+ "description": "Use `isLoading` prop to show skeleton loader",
176
+ "props": {},
177
+ "example": "<Announcer>Content</Announcer>"
178
+ },
179
+ {
180
+ "name": "HtmlContentExample",
181
+ "description": "Announcer component has a special `dangerousHtml` prop which accepts HTML string which will be lightly sanitized (so it's still dangerous), automatically wrapped in `{__html}` and passed to `dangerouslySetInnerHTML` of the rendered styled container. Avoid passing user's input directly to this prop and the HTML string should be properly sanitized at server side.",
182
+ "props": {},
183
+ "example": "<Announcer>Content</Announcer>"
184
+ },
185
+ {
186
+ "name": "HtmlContentExample",
187
+ "description": "Announcer component has a special `dangerousHtml` prop which accepts HTML string which will be lightly sanitized (so it's still dangerous), automatically wrapped in `{__html}` and passed to `dangerouslySetInnerHTML` of the rendered styled container. Avoid passing user's input directly to this prop and the HTML string should be properly sanitized at server side.",
188
+ "props": {},
189
+ "example": "<Announcer>Content</Announcer>"
190
+ },
191
+ {
192
+ "name": "UsageGuide",
193
+ "description": "UsageGuide variant",
194
+ "props": {},
195
+ "example": "<Announcer>Content</Announcer>"
196
+ },
197
+ {
198
+ "name": "UsageGuide",
199
+ "description": "UsageGuide variant",
200
+ "props": {},
201
+ "example": "<Announcer>Content</Announcer>"
202
+ }
203
+ ],
204
+ "accessibility": {
205
+ "ariaLabels": [],
206
+ "keyboardNavigation": [],
207
+ "screenReaderSupport": ""
208
+ },
209
+ "relatedComponents": [],
210
+ "designTokens": {
211
+ "colors": [],
212
+ "spacing": [],
213
+ "typography": []
214
+ }
215
+ }