@iress-oss/ids-mcp-server 6.0.0-alpha.7 → 6.0.0-alpha.9

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 (55) hide show
  1. package/generated/docs/components_components-alert-docs.md +23 -23
  2. package/generated/docs/components_components-autocomplete-docs.md +30 -86
  3. package/generated/docs/components_components-button-docs.md +18 -18
  4. package/generated/docs/components_components-buttongroup-docs.md +2 -2
  5. package/generated/docs/components_components-card-docs.md +13 -13
  6. package/generated/docs/components_components-checkbox-docs.md +0 -14
  7. package/generated/docs/components_components-checkboxgroup-docs.md +13 -13
  8. package/generated/docs/components_components-col-docs.md +6 -6
  9. package/generated/docs/components_components-expander-docs.md +2 -2
  10. package/generated/docs/components_components-field-docs.md +4 -4
  11. package/generated/docs/components_components-filter-docs.md +35 -35
  12. package/generated/docs/components_components-hide-docs.md +7 -13
  13. package/generated/docs/components_components-icon-docs.md +25 -25
  14. package/generated/docs/components_components-inline-docs.md +7 -7
  15. package/generated/docs/components_components-input-docs.md +9 -9
  16. package/generated/docs/components_components-inputcurrency-docs.md +1 -1
  17. package/generated/docs/components_components-menu-docs.md +38 -38
  18. package/generated/docs/components_components-menu-menuitem-docs.md +2 -2
  19. package/generated/docs/components_components-modal-docs.md +7 -7
  20. package/generated/docs/components_components-panel-docs.md +10 -10
  21. package/generated/docs/components_components-popover-docs.md +63 -35
  22. package/generated/docs/components_components-popover-recipes-docs.md +18 -10
  23. package/generated/docs/components_components-radiogroup-docs.md +7 -23
  24. package/generated/docs/components_components-readonly-docs.md +2 -2
  25. package/generated/docs/components_components-richselect-docs.md +33 -35
  26. package/generated/docs/components_components-row-docs.md +2 -2
  27. package/generated/docs/components_components-select-docs.md +12 -12
  28. package/generated/docs/components_components-skiplink-docs.md +2 -2
  29. package/generated/docs/components_components-slideout-docs.md +19 -19
  30. package/generated/docs/components_components-slider-docs.md +4 -4
  31. package/generated/docs/components_components-stack-docs.md +6 -6
  32. package/generated/docs/components_components-styled-docs.md +477 -0
  33. package/generated/docs/components_components-table-docs.md +35 -35
  34. package/generated/docs/components_components-tabset-docs.md +7 -7
  35. package/generated/docs/components_components-tag-docs.md +3 -3
  36. package/generated/docs/components_components-text-docs.md +4 -0
  37. package/generated/docs/components_components-toggle-docs.md +4 -4
  38. package/generated/docs/components_components-validationmessage-docs.md +6 -6
  39. package/generated/docs/components_foundations-responsive-layout-docs.md +10 -10
  40. package/generated/docs/components_foundations-z-index-stacking-docs.md +3 -3
  41. package/generated/docs/components_introduction-docs.md +1 -1
  42. package/generated/docs/components_patterns-form-docs.md +144 -29
  43. package/generated/docs/components_patterns-form-recipes-docs.md +30 -30
  44. package/generated/docs/components_patterns-loading-docs.md +3 -9
  45. package/generated/docs/components_patterns-shadow-docs.md +2 -2
  46. package/generated/docs/components_sandbox-docs.md +1 -1
  47. package/generated/docs/components_styling-props-colour-docs.md +2 -0
  48. package/generated/docs/components_styling-props-reference-docs.md +6 -9
  49. package/generated/docs/components_styling-props-screen-readers-docs.md +40 -1
  50. package/generated/docs/components_styling-props-scrollable-docs.md +76 -0
  51. package/generated/docs/components_styling-props-sizing-docs.md +1 -1
  52. package/generated/docs/components_styling-props-spacing-docs.md +6 -6
  53. package/generated/docs/guidelines.md +13 -13
  54. package/generated/docs/tokens_sandbox-docs.md +3 -0
  55. package/package.json +8 -8
@@ -0,0 +1,477 @@
1
+ Styled
2
+ ======
3
+
4
+ Overview
5
+ --------
6
+
7
+ The `IressStyled` component provides an unopinionated wrapper that gives you direct access to all supported styling properties. Use it when you need custom styling without creating a dedicated component or writing custom CSS.
8
+
9
+ * * *
10
+
11
+ Updated
12
+
13
+ **Recently updated**
14
+
15
+ This component has been recently updated with new props. The props have been marked as beta. Please tell us if there are any issues.
16
+
17
+ [](./iframe.html?id=components-styled--default)
18
+
19
+ This is styled content using Panda CSS
20
+
21
+ Hide codedrawOpen in CodeSandbox
22
+
23
+ <IressStyled
24
+ bg\="colour.neutral.20"
25
+ borderRadius\="radius.050"
26
+ p\="spacing.4"
27
+ \>
28
+ This is styled content using Panda CSS
29
+ </IressStyled\>
30
+
31
+ ```
32
+
33
+ Props
34
+ -----
35
+
36
+ | Name | Description | Default | Control |
37
+ | --- | --- | --- | --- |
38
+ | bg |
39
+ string
40
+
41
+
42
+
43
+ | \- | colour.neutral.20 |
44
+ | borderRadius |
45
+
46
+ string
47
+
48
+
49
+
50
+ | \- | radius.050 |
51
+ | children |
52
+
53
+ Content to be styled.
54
+
55
+ ReactNode
56
+
57
+
58
+
59
+ | \- |
60
+
61
+ "This is styled content using Panda CSS"
62
+
63
+ |
64
+ | element |
65
+
66
+ The HTML element or custom component to render.
67
+
68
+ T
69
+
70
+
71
+
72
+ | \- | Set object |
73
+ | p |
74
+
75
+ string
76
+
77
+
78
+
79
+ | \- | spacing.4 |
80
+
81
+ Usage
82
+ -----
83
+
84
+ ### The `element` prop
85
+
86
+ With the `element` prop you can select which HTML element the component should render as. It renders as a `div` by default, but can be set to any standard HTML element like `section`, `article`, `aside`, `nav`, `main`, `header`, `footer`, or `span`.
87
+
88
+ This allows you to maintain proper semantic HTML structure while applying custom styling.
89
+
90
+ [](./iframe.html?id=components-styled--elements)
91
+
92
+ ### Section Element
93
+
94
+ This is rendered as a section element.
95
+
96
+ ### Article Element
97
+
98
+ This is rendered as an article element.
99
+
100
+ ### Aside Element
101
+
102
+ This is rendered as an aside element.
103
+
104
+ ### Nav Element
105
+
106
+ This is rendered as a nav element.
107
+
108
+ Hide codedrawOpen in CodeSandbox
109
+
110
+ <IressStack gap\="spacing.3"\>
111
+ <IressStyled
112
+ bg\="colour.neutral.20"
113
+ borderRadius\="radius.050"
114
+ element\="section"
115
+ p\="spacing.4"
116
+ \>
117
+ <IressText element\="h3"\>
118
+ Section Element </IressText\>
119
+ <IressText\>
120
+ This is rendered as a section element. </IressText\>
121
+ </IressStyled\>
122
+ <IressStyled
123
+ bg\="colour.neutral.20"
124
+ borderRadius\="radius.050"
125
+ element\="article"
126
+ p\="spacing.4"
127
+ \>
128
+ <IressText element\="h3"\>
129
+ Article Element </IressText\>
130
+ <IressText\>
131
+ This is rendered as an article element. </IressText\>
132
+ </IressStyled\>
133
+ <IressStyled
134
+ bg\="colour.neutral.20"
135
+ borderRadius\="radius.050"
136
+ element\="aside"
137
+ p\="spacing.4"
138
+ \>
139
+ <IressText element\="h3"\>
140
+ Aside Element </IressText\>
141
+ <IressText\>
142
+ This is rendered as an aside element. </IressText\>
143
+ </IressStyled\>
144
+ <IressStyled
145
+ bg\="colour.neutral.20"
146
+ borderRadius\="radius.050"
147
+ element\="nav"
148
+ p\="spacing.4"
149
+ \>
150
+ <IressText element\="h3"\>
151
+ Nav Element </IressText\>
152
+ <IressText\>
153
+ This is rendered as a nav element. </IressText\>
154
+ </IressStyled\>
155
+ </IressStack\>
156
+
157
+ ```
158
+
159
+ #### Props
160
+
161
+ | Name | Description | Default | Control |
162
+ | --- | --- | --- | --- |
163
+ | children |
164
+ Content to be styled.
165
+
166
+ ReactNode
167
+
168
+
169
+
170
+ | \- | \- |
171
+ | element |
172
+
173
+ The HTML element or custom component to render.
174
+
175
+ T
176
+
177
+
178
+
179
+ | \- | \- |
180
+
181
+ ### Styling props
182
+
183
+ You can apply any of the styling props supported by the design system.
184
+
185
+ [
186
+
187
+ View supported styling props
188
+
189
+ ](/?path=/docs/styling-props-reference--docs#reference)
190
+
191
+ #### Spacing
192
+
193
+ Use spacing tokens to control padding and margin. The spacing system provides consistent values from `spacing.0` to `spacing.10`.
194
+
195
+ [](./iframe.html?id=components-styled--spacing)
196
+
197
+ Small padding (spacing.2)
198
+
199
+ Medium padding (spacing.4)
200
+
201
+ Large padding (spacing.6)
202
+
203
+ With margin (spacing.4)
204
+
205
+ Hide codedrawOpen in CodeSandbox
206
+
207
+ <IressStack gap\="spacing.3"\>
208
+ <IressStyled
209
+ bg\="colour.neutral.20"
210
+ borderRadius\="radius.050"
211
+ p\="spacing.2"
212
+ \>
213
+ <IressText\>
214
+ Small padding (spacing.2) </IressText\>
215
+ </IressStyled\>
216
+ <IressStyled
217
+ bg\="colour.neutral.20"
218
+ borderRadius\="radius.050"
219
+ p\="spacing.4"
220
+ \>
221
+ <IressText\>
222
+ Medium padding (spacing.4) </IressText\>
223
+ </IressStyled\>
224
+ <IressStyled
225
+ bg\="colour.neutral.20"
226
+ borderRadius\="radius.050"
227
+ p\="spacing.6"
228
+ \>
229
+ <IressText\>
230
+ Large padding (spacing.6) </IressText\>
231
+ </IressStyled\>
232
+ <IressStyled
233
+ bg\="colour.system.info.surface"
234
+ borderRadius\="radius.050"
235
+ m\="spacing.4"
236
+ p\="spacing.4"
237
+ \>
238
+ <IressText\>
239
+ With margin (spacing.4) </IressText\>
240
+ </IressStyled\>
241
+ </IressStack\>
242
+
243
+ ```
244
+
245
+ #### Props
246
+
247
+ | Name | Description | Default | Control |
248
+ | --- | --- | --- | --- |
249
+ | children |
250
+ Content to be styled.
251
+
252
+ ReactNode
253
+
254
+
255
+
256
+ | \- | \- |
257
+ | element |
258
+
259
+ The HTML element or custom component to render.
260
+
261
+ T
262
+
263
+
264
+
265
+ | \- | Set object |
266
+ | margin |
267
+
268
+ \-
269
+
270
+ | \- | \- |
271
+ | padding |
272
+
273
+ \-
274
+
275
+ | \- | \- |
276
+
277
+ #### Colors
278
+
279
+ Apply design system color tokens to set background colors, text colors, and border colors. Use semantic color tokens like `colour.system.info.surface` for consistent theming.
280
+
281
+ [](./iframe.html?id=components-styled--colors)
282
+
283
+ Info color scheme
284
+
285
+ Success color scheme
286
+
287
+ Warning color scheme
288
+
289
+ Danger color scheme
290
+
291
+ Hide codedrawOpen in CodeSandbox
292
+
293
+ <IressStack gap\="spacing.3"\>
294
+ <IressStyled
295
+ bg\="colour.system.info.surface"
296
+ borderRadius\="radius.050"
297
+ color\="colour.system.info.text"
298
+ p\="spacing.4"
299
+ \>
300
+ <IressText\>
301
+ Info color scheme </IressText\>
302
+ </IressStyled\>
303
+ <IressStyled
304
+ bg\="colour.system.success.surface"
305
+ borderRadius\="radius.050"
306
+ color\="colour.system.success.text"
307
+ p\="spacing.4"
308
+ \>
309
+ <IressText\>
310
+ Success color scheme </IressText\>
311
+ </IressStyled\>
312
+ <IressStyled
313
+ bg\="colour.system.warning.surface"
314
+ borderRadius\="radius.050"
315
+ color\="colour.system.warning.text"
316
+ p\="spacing.4"
317
+ \>
318
+ <IressText\>
319
+ Warning color scheme </IressText\>
320
+ </IressStyled\>
321
+ <IressStyled
322
+ bg\="colour.system.danger.surface"
323
+ borderRadius\="radius.050"
324
+ color\="colour.system.danger.text"
325
+ p\="spacing.4"
326
+ \>
327
+ <IressText\>
328
+ Danger color scheme </IressText\>
329
+ </IressStyled\>
330
+ </IressStack\>
331
+
332
+ ```
333
+
334
+ #### Props
335
+
336
+ | Name | Description | Default | Control |
337
+ | --- | --- | --- | --- |
338
+ | backgroundColor |
339
+ \-
340
+
341
+ | \- | \- |
342
+ | children |
343
+
344
+ Content to be styled.
345
+
346
+ ReactNode
347
+
348
+
349
+
350
+ | \- | \- |
351
+ | color |
352
+
353
+ \-
354
+
355
+ | \- | \- |
356
+ | element |
357
+
358
+ The HTML element or custom component to render.
359
+
360
+ T
361
+
362
+
363
+
364
+ | \- | Set object |
365
+
366
+ #### Complex compositions
367
+
368
+ Combine multiple styling properties to create rich, semantic HTML structures. The component provides full access to Panda CSS props for maximum flexibility.
369
+
370
+ [](./iframe.html?id=components-styled--complex)
371
+
372
+ Complex Styled Component
373
+ ------------------------
374
+
375
+ The `IressStyled` component provides full access to Panda CSS styling props, allowing you to create complex layouts and designs without writing custom CSS.
376
+
377
+ This example demonstrates combining multiple styling properties to create a rich, semantic HTML structure with custom styling.
378
+
379
+ Hide codedrawOpen in CodeSandbox
380
+
381
+ <IressStyled
382
+ bg\="colour.neutral.10"
383
+ borderRadius\="radius.100"
384
+ layerStyle\="elevation.raised"
385
+ m\="auto"
386
+ maxWidth\="2/12"
387
+ p\="spacing.5"
388
+ \>
389
+ <IressStyled mb\="spacing.4"\>
390
+ <IressIcon
391
+ color\="colour.system.info.text"
392
+ name\="info"
393
+ textStyle\="typography.body.lg"
394
+ />
395
+ <IressText
396
+ element\="h2"
397
+ textStyle\="typography.heading.3"
398
+ \>
399
+ Complex Styled Component </IressText\>
400
+ </IressStyled\>
401
+ <IressText
402
+ element\="p"
403
+ mb\="spacing.3"
404
+ \>
405
+ The{' '}
406
+ <code\>
407
+ IressStyled </code\>
408
+ {' '}component provides full access to Panda CSS styling props, allowing you to create complex layouts and designs without writing custom CSS.
409
+ </IressText\>
410
+ <IressStyled
411
+ bg\="colour.neutral.20"
412
+ borderRadius\="radius.050"
413
+ p\="spacing.4"
414
+ \>
415
+ <IressText\>
416
+ This example demonstrates combining multiple styling properties to create a rich, semantic HTML structure with custom styling. </IressText\>
417
+ </IressStyled\>
418
+ </IressStyled\>
419
+
420
+ ```
421
+
422
+ #### Props
423
+
424
+ | Name | Description | Default | Control |
425
+ | --- | --- | --- | --- |
426
+ | backgroundColor |
427
+ \-
428
+
429
+ | \- | \- |
430
+ | borderRadius |
431
+
432
+ \-
433
+
434
+ | \- | \- |
435
+ | children |
436
+
437
+ Content to be styled.
438
+
439
+ ReactNode
440
+
441
+
442
+
443
+ | \- | \- |
444
+ | element |
445
+
446
+ The HTML element or custom component to render.
447
+
448
+ T
449
+
450
+
451
+
452
+ | \- | Set object |
453
+ | margin |
454
+
455
+ \-
456
+
457
+ | \- | \- |
458
+ | padding |
459
+
460
+ \-
461
+
462
+ | \- | \- |
463
+
464
+ When to use
465
+ -----------
466
+
467
+ * **Custom layouts**: When you need to create a unique layout that doesn't match existing components
468
+ * **Semantic HTML**: When you need to use specific HTML elements with custom styling
469
+ * **Quick prototyping**: For rapid development without creating dedicated styled components
470
+ * **One-off designs**: When a design pattern doesn't warrant creating a reusable component
471
+
472
+ When not to use
473
+ ---------------
474
+
475
+ * **Repeated patterns**: If you're using the same styling multiple times, create a dedicated component instead
476
+ * **Simple spacing**: Use layout components like `IressStack` or `IressInline` for simple spacing needs
477
+ * **Typography**: Use `IressText` for text styling with semantic elements