@iress-oss/ids-mcp-server 6.0.0-alpha.26 → 6.0.0-alpha.30

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 (102) hide show
  1. package/README.md +2 -0
  2. package/package.json +12 -11
  3. package/generated/docs/components_components-alert-docs.md +0 -1599
  4. package/generated/docs/components_components-autocomplete-docs.md +0 -5431
  5. package/generated/docs/components_components-autocomplete-recipes-docs.md +0 -107
  6. package/generated/docs/components_components-button-docs.md +0 -2835
  7. package/generated/docs/components_components-buttongroup-docs.md +0 -1030
  8. package/generated/docs/components_components-card-docs.md +0 -5728
  9. package/generated/docs/components_components-checkbox-docs.md +0 -1481
  10. package/generated/docs/components_components-checkboxgroup-docs.md +0 -1270
  11. package/generated/docs/components_components-checkboxgroup-recipes-docs.md +0 -145
  12. package/generated/docs/components_components-col-docs.md +0 -701
  13. package/generated/docs/components_components-container-docs.md +0 -183
  14. package/generated/docs/components_components-divider-docs.md +0 -250
  15. package/generated/docs/components_components-expander-docs.md +0 -446
  16. package/generated/docs/components_components-field-docs.md +0 -4029
  17. package/generated/docs/components_components-filter-docs.md +0 -5405
  18. package/generated/docs/components_components-hide-docs.md +0 -1352
  19. package/generated/docs/components_components-icon-docs.md +0 -2021
  20. package/generated/docs/components_components-image-docs.md +0 -844
  21. package/generated/docs/components_components-inline-docs.md +0 -1666
  22. package/generated/docs/components_components-input-docs.md +0 -2520
  23. package/generated/docs/components_components-input-recipes-docs.md +0 -1097
  24. package/generated/docs/components_components-inputcurrency-docs.md +0 -1667
  25. package/generated/docs/components_components-inputcurrency-recipes-docs.md +0 -1209
  26. package/generated/docs/components_components-introduction-docs.md +0 -441
  27. package/generated/docs/components_components-label-docs.md +0 -348
  28. package/generated/docs/components_components-link-docs.md +0 -504
  29. package/generated/docs/components_components-menu-docs.md +0 -2928
  30. package/generated/docs/components_components-menu-menuitem-docs.md +0 -2009
  31. package/generated/docs/components_components-modal-docs.md +0 -2980
  32. package/generated/docs/components_components-panel-docs.md +0 -328
  33. package/generated/docs/components_components-pill-docs.md +0 -147
  34. package/generated/docs/components_components-placeholder-docs.md +0 -76
  35. package/generated/docs/components_components-popover-docs.md +0 -2169
  36. package/generated/docs/components_components-popover-recipes-docs.md +0 -1337
  37. package/generated/docs/components_components-progress-docs.md +0 -242
  38. package/generated/docs/components_components-provider-docs.md +0 -139
  39. package/generated/docs/components_components-radio-docs.md +0 -73
  40. package/generated/docs/components_components-radiogroup-docs.md +0 -1315
  41. package/generated/docs/components_components-readonly-docs.md +0 -462
  42. package/generated/docs/components_components-row-docs.md +0 -1784
  43. package/generated/docs/components_components-select-docs.md +0 -7087
  44. package/generated/docs/components_components-skeleton-docs.md +0 -452
  45. package/generated/docs/components_components-skeleton-recipes-docs.md +0 -444
  46. package/generated/docs/components_components-skiplink-docs.md +0 -243
  47. package/generated/docs/components_components-slideout-docs.md +0 -2137
  48. package/generated/docs/components_components-slider-docs.md +0 -1470
  49. package/generated/docs/components_components-spinner-docs.md +0 -341
  50. package/generated/docs/components_components-stack-docs.md +0 -731
  51. package/generated/docs/components_components-styled-docs.md +0 -2173
  52. package/generated/docs/components_components-table-docs.md +0 -4308
  53. package/generated/docs/components_components-tabset-docs.md +0 -1049
  54. package/generated/docs/components_components-tabset-tab-docs.md +0 -350
  55. package/generated/docs/components_components-tag-docs.md +0 -743
  56. package/generated/docs/components_components-text-docs.md +0 -683
  57. package/generated/docs/components_components-toaster-docs.md +0 -550
  58. package/generated/docs/components_components-toggle-docs.md +0 -568
  59. package/generated/docs/components_components-tooltip-docs.md +0 -580
  60. package/generated/docs/components_components-validationmessage-docs.md +0 -661
  61. package/generated/docs/components_contact-us-docs.md +0 -9
  62. package/generated/docs/components_foundations-accessibility-docs.md +0 -33
  63. package/generated/docs/components_foundations-consistency-docs.md +0 -44
  64. package/generated/docs/components_foundations-content-docs.md +0 -18
  65. package/generated/docs/components_foundations-iconography-docs.md +0 -793
  66. package/generated/docs/components_foundations-introduction-docs.md +0 -16
  67. package/generated/docs/components_foundations-principles-docs.md +0 -60
  68. package/generated/docs/components_foundations-responsive-layout-docs.md +0 -2826
  69. package/generated/docs/components_foundations-user-experience-docs.md +0 -53
  70. package/generated/docs/components_foundations-visual-design-docs.md +0 -39
  71. package/generated/docs/components_foundations-z-index-stacking-docs.md +0 -248
  72. package/generated/docs/components_frequently-asked-questions-docs.md +0 -44
  73. package/generated/docs/components_get-started-develop-docs.md +0 -47
  74. package/generated/docs/components_get-started-using-storybook-docs.md +0 -55
  75. package/generated/docs/components_introduction-docs.md +0 -85
  76. package/generated/docs/components_patterns-form-docs.md +0 -35579
  77. package/generated/docs/components_patterns-form-recipes-docs.md +0 -3104
  78. package/generated/docs/components_patterns-introduction-docs.md +0 -31
  79. package/generated/docs/components_patterns-loading-docs.md +0 -3428
  80. package/generated/docs/components_patterns-shadow-docs.md +0 -149
  81. package/generated/docs/components_resources-code-katas-docs.md +0 -25
  82. package/generated/docs/components_resources-introduction-docs.md +0 -28
  83. package/generated/docs/components_resources-mcp-server-docs.md +0 -23
  84. package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +0 -250
  85. package/generated/docs/components_sandbox-docs.md +0 -4
  86. package/generated/docs/components_styling-props-accessibility-docs.md +0 -137
  87. package/generated/docs/components_styling-props-colour-docs.md +0 -278
  88. package/generated/docs/components_styling-props-layout-docs.md +0 -1029
  89. package/generated/docs/components_styling-props-radius-docs.md +0 -63
  90. package/generated/docs/components_styling-props-reference-docs.md +0 -335
  91. package/generated/docs/components_styling-props-sizing-docs.md +0 -133
  92. package/generated/docs/components_styling-props-spacing-docs.md +0 -1688
  93. package/generated/docs/components_styling-props-typography-docs.md +0 -218
  94. package/generated/docs/components_versions-docs.md +0 -14
  95. package/generated/docs/guidelines.md +0 -4024
  96. package/generated/docs/introduction-docs.md +0 -37
  97. package/generated/docs/tokens_colour-docs.md +0 -1094
  98. package/generated/docs/tokens_introduction-docs.md +0 -180
  99. package/generated/docs/tokens_radius-docs.md +0 -75
  100. package/generated/docs/tokens_sandbox-docs.md +0 -4
  101. package/generated/docs/tokens_spacing-docs.md +0 -57
  102. package/generated/docs/tokens_typography-docs.md +0 -287
@@ -1,444 +0,0 @@
1
- Recipes
2
- =======
3
-
4
- `IressCard`
5
- -----------
6
-
7
- A common use case of the skeleton component is within a card component. Below are some examples of how you might use `IressSkeleton` within `IressCard`.
8
-
9
- [](./iframe.html?id=components-skeleton-recipes--card)
10
-
11
- Toggle load
12
-
13
- Hide codedrawOpen in CodeSandbox
14
-
15
- import { useState } from 'react';
16
- import {
17
- IressButton,
18
- IressCard,
19
- IressSkeleton,
20
- IressStack,
21
- IressText,
22
- } from '@/main';
23
- const CARD\_LINE\_SIZES \= \['100%', '91%', '95%', '89%', '83%'\];
24
- const CardLoading \= () \=> (
25
- <IressCard
26
- heading\={<IressSkeleton textStyle\="typography.heading.4" width\="75%" />}
27
- media\={<IressSkeleton mode\="rect" height\="200" />}
28
- stretch
29
- \>
30
- <IressStack gap\="md"\>
31
- <IressStack gap\="xs"\>
32
- {CARD\_LINE\_SIZES.map((size) \=> (
33
- <IressSkeleton key\={\`${size}\-1\`} width\={size} />
34
- ))}
35
- </IressStack\>
36
- <IressStack gap\="xs"\>
37
- {CARD\_LINE\_SIZES.map((size) \=> (
38
- <IressSkeleton key\={\`${size}\-2\`} width\={size} />
39
- ))}
40
- </IressStack\>
41
- </IressStack\>
42
- </IressCard\>
43
- );
44
- const CardItem \= () \=> (
45
- <IressCard
46
- heading\={<h4\>This is the card heading</h4\>}
47
- media\={
48
- <img
49
- src\="https://www.iress.com/media/images/media-contact.width-600.png"
50
- alt\=""
51
- />
52
- }
53
- \>
54
- <IressText element\="p"\>
55
- Non cupiditate, libero ex, voluptates ea ipsum deleniti sequi sed eveniet ab enim sunt itaque qui ullam, adipisci quo expedita laboriosam deserunt? </IressText\>
56
- <IressText element\="p"\>
57
- Impedit, quasi voluptas quae quibusdam officiis corporis. Distinctio et aspernatur quo atque non enim, recusandae at, eum dicta ullam commodi modi debitis. </IressText\>
58
- </IressCard\>
59
- );
60
- export const SkeletonCard \= () \=> {
61
- const \[loading, setLoading\] \= useState(true);
62
- return (
63
- <IressStack gap\="md"\>
64
- <IressButton onClick\={() \=> setLoading(!loading)}\>
65
- Toggle load </IressButton\>
66
- {loading && <CardLoading />}
67
- {!loading && <CardItem />}
68
- </IressStack\>
69
- );
70
- };
71
-
72
- ```
73
-
74
- #### Props
75
-
76
- | Name | Description | Default | Control |
77
- | --- | --- | --- | --- |
78
- | alignSelf |
79
- The **`align-self`** CSS property overrides a flex item's alignment set by its flex container's `align-items` property.
80
-
81
- This is useful when you want a single flex item to have a different alignment than the others in the flex container.
82
-
83
- undefined | "stretch" | "center" | "start" | "end" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "stretch" | "center" | "start" | "end">>
84
-
85
- | \- | alignSelfChoose option...undefinedstretchcenterstartendPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "stretch" | "center" | "start" | "end">> |
86
- | bg |
87
-
88
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
89
-
90
- We recommend using the following token values for best background contrast:
91
-
92
- * `colour.primary.fill` for primary backgrounds that need to stand out
93
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
94
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
95
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
96
- * `colour.system.danger.fill` for error backgrounds that need to stand out
97
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
98
- * `colour.system.success.fill` for success backgrounds that need to stand out
99
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
100
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
101
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
102
- * `colour.system.info.fill` for info backgrounds that need to stand out
103
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
104
-
105
- undefined"alt""text""colour.neutral.10""colour.neutral.20""colour.neutral.30""colour.neutral.40""colour.neutral.50"Show 64 more...
106
-
107
-
108
-
109
- | \- | bgChoose option...undefinedalttextcolour.neutral.10colour.neutral.20colour.neutral.30colour.neutral.40colour.neutral.50colour.neutral.60colour.neutral.70colour.neutral.80colour.neutral.90colour.primary.fillcolour.primary.fillHovercolour.primary.onFillcolour.primary.surfacecolour.primary.surfaceHovercolour.primary.textcolour.accent.fillcolour.accent.fillHovercolour.accent.onFillcolour.accent.surfacecolour.accent.surfaceHovercolour.accent.textcolour.system.success.fillcolour.system.success.fillHovercolour.system.success.onFillcolour.system.success.surfacecolour.system.success.surfaceHovercolour.system.success.textcolour.system.danger.fillcolour.system.danger.fillHovercolour.system.danger.onFillcolour.system.danger.surfacecolour.system.danger.surfaceHovercolour.system.danger.textcolour.system.warning.fillcolour.system.warning.onFillcolour.system.warning.fillHovercolour.system.warning.surfacecolour.system.warning.textcolour.system.warning.surfaceHovercolour.system.info.fillcolour.system.info.onFillcolour.system.info.fillHovercolour.system.info.surfacecolour.system.info.textcolour.system.info.surfaceHovercolour.data.subtle.10colour.data.subtle.20colour.data.subtle.30colour.data.subtle.40colour.data.subtle.50colour.data.subtle.60colour.data.subtle.70colour.data.subtle.80colour.data.subtle.90colour.data.bold.10colour.data.bold.20colour.data.bold.30colour.data.bold.40colour.data.bold.50colour.data.bold.60colour.data.bold.70colour.data.bold.80colour.data.bold.90colour.globalInteractions.backdropcolour.globalInteractions.focusRingtransparentpagemutedcolorPalette |
110
- | borderRadius |
111
-
112
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
113
-
114
- undefined | "none" | "radius.0" | "radius.1" | "radius.2" | "radius.3" | "radius.4" | "radius.system.button" | "radius.system.form" | "radius.system.layout" | "radius.system.pill" | "radius.system.tag" | "50%" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", RadiusToken>>
115
-
116
- | \- | borderRadiusChoose option...undefinednoneradius.0radius.1radius.2radius.3radius.4radius.system.buttonradius.system.formradius.system.layoutradius.system.pillradius.system.tag50%Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", RadiusToken>> |
117
- | color |
118
-
119
- The **`color`** CSS property sets the foreground color value of an element's text and text decorations using the colour tokens from the design system. It also sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`.
120
-
121
- We recommend using the following token values for best color contrast:
122
-
123
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
124
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
125
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
126
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
127
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
128
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
129
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
130
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
131
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
132
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
133
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
134
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
135
-
136
- undefined"alt""text""colour.neutral.10""colour.neutral.20""colour.neutral.30""colour.neutral.40""colour.neutral.50"Show 64 more...
137
-
138
-
139
-
140
- | \- | colorChoose option...undefinedalttextcolour.neutral.10colour.neutral.20colour.neutral.30colour.neutral.40colour.neutral.50colour.neutral.60colour.neutral.70colour.neutral.80colour.neutral.90colour.primary.fillcolour.primary.fillHovercolour.primary.onFillcolour.primary.surfacecolour.primary.surfaceHovercolour.primary.textcolour.accent.fillcolour.accent.fillHovercolour.accent.onFillcolour.accent.surfacecolour.accent.surfaceHovercolour.accent.textcolour.system.success.fillcolour.system.success.fillHovercolour.system.success.onFillcolour.system.success.surfacecolour.system.success.surfaceHovercolour.system.success.textcolour.system.danger.fillcolour.system.danger.fillHovercolour.system.danger.onFillcolour.system.danger.surfacecolour.system.danger.surfaceHovercolour.system.danger.textcolour.system.warning.fillcolour.system.warning.onFillcolour.system.warning.fillHovercolour.system.warning.surfacecolour.system.warning.textcolour.system.warning.surfaceHovercolour.system.info.fillcolour.system.info.onFillcolour.system.info.fillHovercolour.system.info.surfacecolour.system.info.textcolour.system.info.surfaceHovercolour.data.subtle.10colour.data.subtle.20colour.data.subtle.30colour.data.subtle.40colour.data.subtle.50colour.data.subtle.60colour.data.subtle.70colour.data.subtle.80colour.data.subtle.90colour.data.bold.10colour.data.bold.20colour.data.bold.30colour.data.bold.40colour.data.bold.50colour.data.bold.60colour.data.bold.70colour.data.bold.80colour.data.bold.90colour.globalInteractions.backdropcolour.globalInteractions.focusRingtransparentpagemutedcolorPalette |
141
- | flex |
142
-
143
- The `flex` prop is used to set the flex grow property of an element. It allows the element to grow and fill available space in a flex container.
144
-
145
- In the design system, we only allow `1` as a value to ensure consistent behavior across components, ensuring that flex items expand in a predictable way and preventing layout inconsistencies between implementations.
146
-
147
- undefined"1"
148
-
149
-
150
-
151
- | \- |
152
-
153
- flex1undefined
154
-
155
- |
156
- | focusable |
157
-
158
- The `focusable` prop is used to apply the focus ring when focused. It can be set to `true` to apply focus styles on focus, or `'within'` to apply focus styles when the element or any of its children are focused.
159
-
160
- undefined"true""within"
161
-
162
-
163
-
164
- | \- |
165
-
166
- focusableundefinedtruewithin
167
-
168
- |
169
- | height |
170
-
171
- Sets the height of the skeleton bones. If no unit is specified it will default to pixels. Not allowed when in `text` mode.
172
-
173
- undefinedstring
174
-
175
-
176
-
177
- | \- |
178
-
179
- heightundefinedstring
180
-
181
- |
182
- | hideBelow |
183
-
184
- Set **`hideBelow`** to hide an element completely using `display: none`. It can be combined with `hideFrom` to create complex responsive visibility rules.
185
-
186
- Hide below a specific breakpoint: `hideBelow: 'lg'`
187
-
188
- Notes:
189
-
190
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
191
- * Consider if you can conditionally render the element instead of hiding it using the `useBreakpoint` hook.
192
-
193
- undefined"xs""sm""md""lg""xl""xxl"
194
-
195
-
196
-
197
- | \- | hideBelowChoose option...undefinedxssmmdlgxlxxl |
198
- | hideFrom |
199
-
200
- Set **`hideFrom`** to hide an element completely using `display: none`. It can be combined with `hideBelow` to create complex responsive visibility rules.
201
-
202
- Hide on all breakpoints: `hideFrom: true` Hide on specific breakpoints: `hideFrom: 'lg'`
203
-
204
- Notes:
205
-
206
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
207
- * Consider if you can conditionally render the element instead of hiding it using the `useBreakpoint` hook.
208
-
209
- undefined"xs""sm""md""lg""xl""xxl"
210
-
211
-
212
-
213
- | \- | hideFromChoose option...undefinedxssmmdlgxlxxl |
214
- | m |
215
-
216
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
217
-
218
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
219
-
220
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
221
-
222
- | \- | mChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
223
- | maxWidth |
224
-
225
- The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`.
226
-
227
- undefined"container.xs""container.sm""container.md""container.lg""container.xl""container.xxl""input.2"Show 27 more...
228
-
229
-
230
-
231
- | \- | maxWidthChoose option...undefinedcontainer.xscontainer.smcontainer.mdcontainer.lgcontainer.xlcontainer.xxlinput.2input.4input.6input.8input.10input.12input.16input.25%input.50%input.75%input.100%input.height1/122/123/124/125/126/127/128/129/1210/1211/1212/12overlay.smoverlay.mdoverlay.lgtypography.base |
232
- | mb |
233
-
234
- The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
235
-
236
- It uses the spacing tokens in the design system.
237
-
238
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
239
-
240
- | \- | mbChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
241
- | ml |
242
-
243
- The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
244
-
245
- It uses the spacing tokens in the design system.
246
-
247
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
248
-
249
- | \- | mlChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
250
- | mode |
251
-
252
- Mode of the skeleton. `rect` and `circle` must have `width` and `height` specified. `text` works with `textStyle`.
253
-
254
- undefined"text""circle""rect"
255
-
256
-
257
-
258
- |
259
-
260
- text
261
-
262
- |
263
-
264
- modeundefinedtextcirclerect
265
-
266
- |
267
- | mr |
268
-
269
- The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
270
-
271
- It uses the spacing tokens in the design system.
272
-
273
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
274
-
275
- | \- | mrChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
276
- | mt |
277
-
278
- The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
279
-
280
- It uses the spacing tokens in the design system.
281
-
282
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
283
-
284
- | \- | mtChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
285
- | mx |
286
-
287
- The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
288
-
289
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
290
-
291
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
292
-
293
- | \- | mxChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
294
- | my |
295
-
296
- The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
297
-
298
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
299
-
300
- undefined | "none" | "auto" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | "-spacing.0" | "-spacing.1" | "-spacing.2" | "-spacing.3" | "-spacing.4" | "-spacing.5" | "-spacing.6" | "-spacing.7" | "-spacing.8" | "-spacing.10" | "-none" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>>
301
-
302
- | \- | myChoose option...undefinednoneautoxssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10\-spacing.0\-spacing.1\-spacing.2\-spacing.3\-spacing.4\-spacing.5\-spacing.6\-spacing.7\-spacing.8\-spacing.10\-none\-xs\-sm\-md\-lg\-xlPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "auto" | SpacingToken>> |
303
- | noGutter |
304
-
305
- The **`noGutter`** property is used to remove the bottom margin from the last child of a component. This is useful when you want to avoid extra spacing at the end of a layout.
306
-
307
- undefinedfalsetrue
308
-
309
-
310
-
311
- | \- |
312
-
313
- noGutterundefinedfalsetrue
314
-
315
- |
316
- | p |
317
-
318
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
319
-
320
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
321
-
322
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
323
-
324
- | \- | pChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
325
- | pb |
326
-
327
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
328
-
329
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
330
-
331
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
332
-
333
- | \- | pbChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
334
- | pl |
335
-
336
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
337
-
338
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
339
-
340
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
341
-
342
- | \- | plChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
343
- | pr |
344
-
345
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
346
-
347
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
348
-
349
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
350
-
351
- | \- | prChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
352
- | pt |
353
-
354
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
355
-
356
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
357
-
358
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
359
-
360
- | \- | ptChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
361
- | px |
362
-
363
- The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
364
-
365
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
366
-
367
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
368
-
369
- | \- | pxChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
370
- | py |
371
-
372
- The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
373
-
374
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
375
-
376
- undefined | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.10" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>>
377
-
378
- | \- | pyChoose option...undefinednonexssmmdlgxlspacing.0spacing.1spacing.2spacing.3spacing.4spacing.5spacing.6spacing.7spacing.8spacing.10Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", PositiveSpacingToken>> |
379
- | scrollable |
380
-
381
- The **`scrollable`** property enables scrolling behavior for an element when its content overflows its bounds. It sets the `overflow` CSS property to `auto`, allowing scrollbars to appear as needed. The scrollbar has been styled to match the design system. You can set the value to `true` to enable scrolling on both axes, or specify `'x'` or `'y'` to restrict scrolling to a single axis.
382
-
383
- undefined"true""x""y"
384
-
385
-
386
-
387
- | \- |
388
-
389
- scrollableundefinedtruexy
390
-
391
- |
392
- | srOnly |
393
-
394
- Set **`srOnly`** to hide an element visually but still make it accessible to screen readers. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
395
-
396
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
397
-
398
- undefined | false | true | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", boolean>>
399
-
400
- | \- |
401
-
402
- srOnlyundefinedfalsetruePartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", boolean>>
403
-
404
- |
405
- | stretch |
406
-
407
- The **`stretch`** property is used to stretch an element to fill the available space in its parent container. It sets the `height` property to `100%` and `alignSelf` to `stretch`, allowing the element to expand and contract based on the size of its parent.
408
-
409
- undefinedfalsetrue
410
-
411
-
412
-
413
- | \- |
414
-
415
- stretchundefinedfalsetrue
416
-
417
- |
418
- | textAlign |
419
-
420
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
421
-
422
- undefined | "inherit" | "center" | "right" | "left" | "justify" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "inherit" | "center" | "right" | "left" | "justify">>
423
-
424
- | \- | textAlignChoose option...undefinedinheritcenterrightleftjustifyPartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "inherit" | "center" | "right" | "left" | "justify">> |
425
- | textStyle |
426
-
427
- Use `textStyle` to specify what the Skeleton should emulate. If set to `h1` a non-break space with the same font-size and line-height of a h1 will be rendered.
428
-
429
- undefined | "inherit" | "typography.heading.1" | "typography.heading.2" | "typography.heading.3" | "typography.heading.4" | "typography.heading.5" | "typography.body.sm" | "typography.body.sm.regular" | "typography.body.sm.medium" | "typography.body.sm.strong" | "typography.body.sm.em" | "typography.body.md.regular" | "typography.body.md" | "typography.body.md.medium" | "typography.body.md.strong" | "typography.body.md.em" | "typography.code" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "inherit" | "typography.heading.1" | "typography.heading.2" | "typography.heading.3" | "typography.heading.4" | "typography.heading.5" | ... 10 more ... | "typography.code">>
430
-
431
- | \- | textStyleChoose option...undefinedinherittypography.heading.1typography.heading.2typography.heading.3typography.heading.4typography.heading.5typography.body.smtypography.body.sm.regulartypography.body.sm.mediumtypography.body.sm.strongtypography.body.sm.emtypography.body.md.regulartypography.body.mdtypography.body.md.mediumtypography.body.md.strongtypography.body.md.emtypography.codePartial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "inherit" | "typography.heading.1" | "typography.heading.2" | "typography.heading.3" | "typography.heading.4" | "typography.heading.5" | ... 10 more ... | "typography.code">> |
432
- | width |
433
-
434
- Sets the width of the skeleton bones. If no unit is specified it will default to pixels.
435
-
436
- undefinedstring
437
-
438
-
439
-
440
- | \- |
441
-
442
- widthundefinedstring
443
-
444
- |