@papillonarts/components 0.39.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/build/Legacy/Alert/Alert.type.d.ts.map +1 -1
  2. package/build/Legacy/Alert/Alert.type.js +3 -1
  3. package/build/Legacy/Alert/__tests__/Alert.doc.md +74 -41
  4. package/build/Legacy/Blankslate/__tests__/Blankslate.doc.md +60 -22
  5. package/build/Legacy/Breadcrumb/__tests__/Breadcrumb.doc.md +39 -13
  6. package/build/Legacy/Button/__tests__/Button.doc.md +339 -0
  7. package/build/Legacy/Dropdown/__tests__/Dropdown.doc.md +54 -0
  8. package/build/Legacy/ErrorBoundary/ErrorBoundary.type.d.ts.map +1 -1
  9. package/build/Legacy/ErrorBoundary/__tests__/ErrorBoundary.doc.md +33 -0
  10. package/build/Legacy/Form/Checkbox/__tests__/Checkbox.doc.md +87 -0
  11. package/build/Legacy/Form/Input/__tests__/Input.doc.md +84 -0
  12. package/build/Legacy/Form/Radio/__tests__/Radio.doc.md +66 -0
  13. package/build/Legacy/Grid/DisplayTable/__tests__/DisplayTable.doc.md +34 -0
  14. package/build/Legacy/Grid/FlexGrid/FlexGrid.js +2 -2
  15. package/build/Legacy/Grid/FlexGrid/__tests__/FlexGrid.doc.md +158 -0
  16. package/build/Legacy/Icon/__tests__/Icon.doc.md +58 -0
  17. package/build/Legacy/Label/__tests__/Label.doc.md +33 -0
  18. package/build/Legacy/Loader/__tests__/Loader.doc.md +61 -0
  19. package/build/Legacy/Markdown/__tests__/Markdown.doc.md +28 -13
  20. package/build/Legacy/Navigation/Menu/__tests__/Menu.doc.md +53 -0
  21. package/build/Legacy/Navigation/TabNav/__tests__/TabNav.doc.md +99 -0
  22. package/build/Legacy/Navigation/UnderlineNav/__tests__/UnderlineNav.doc.md +106 -0
  23. package/build/Legacy/Pagination/PreviousNext/__tests__/PreviousNext.doc.md +57 -0
  24. package/build/Legacy/Popover/__tests__/Popover.doc.md +260 -0
  25. package/build/Legacy/Progress/__tests__/Progress.doc.md +51 -0
  26. package/build/Legacy/Select/__tests__/Select.doc.md +54 -0
  27. package/build/Legacy/SelectMenu/__tests__/SelectMenu.doc.md +35 -0
  28. package/build/Legacy/Subhead/__tests__/Subhead.doc.md +43 -0
  29. package/build/Legacy/SyntaxHighlighter/__tests__/SyntaxHighlighter.doc.md +45 -21
  30. package/build/Legacy/Toast/__tests__/Toast.doc.md +73 -0
  31. package/build/Modern/Flash/__tests__/Flash.doc.md +151 -6
  32. package/build/Modern/Link/__tests__/Link.doc.md +91 -5
  33. package/build/Modern/Pagination/__tests__/Pagination.doc.md +89 -7
  34. package/package.json +4 -4
@@ -0,0 +1,339 @@
1
+ # Features
2
+
3
+ > Buttons are used for actions, like in forms, while textual hyperlinks are used for destinations, or moving from one page to another.
4
+
5
+ ```
6
+ Button all props and variants
7
+ ```
8
+
9
+ ## Props
10
+
11
+ ```typescript
12
+ export interface IButton {
13
+ dataTestId?: string
14
+ id?: string
15
+ className?: string
16
+ element?: string
17
+ href?: string
18
+ text: string
19
+ variant?: string
20
+ size?: string
21
+ state?: string
22
+ icon?: IIcon
23
+ onClick: (value?: string) => void
24
+ inputType?: string
25
+ autoFocus?: boolean
26
+ }
27
+ ```
28
+
29
+ ## Variants
30
+
31
+ ```
32
+ DefaultButton, DefaultSmallButton, DefaultLargeButton, DefaultInactiveButton, DefaultIconButtonLeftAligned, DefaultIconButtonRightAligned, DefaultLinkButton
33
+
34
+ PrimaryButton, PrimarySmallButton, PrimaryLargeButton, PrimaryInactiveButton, PrimaryIconButtonLeftAligned, PrimaryIconButtonRightAligned
35
+
36
+ DangerButton, DangerSmallButton, DangerLargeButton, DangerInactiveButton, DangerIconButtonLeftAligned, DangerIconButtonRightAligned
37
+
38
+ OutlineButton, OutlineSmallButton, OutlineLargeButton, OutlineInactiveButton, OutlineIconButtonLeftAligned, OutlineIconButtonRightAligned
39
+
40
+ BlueButton, BlueSmallButton, BlueLargeButton, BlueInactiveButton, BlueIconButtonLeftAligned, BlueIconButtonRightAligned
41
+
42
+ OrangeButton, OrangeSmallButton, OrangeLargeButton, OrangeInactiveButton, OrangeIconButtonLeftAligned, OrangeIconButtonRightAligned
43
+ ```
44
+
45
+ ### Default Normal
46
+
47
+ > Button default normal variant
48
+
49
+ ```tsx
50
+ <Button text="Default normal button" onClick={action('onClick')} />
51
+ ```
52
+
53
+ ### Default Small
54
+
55
+ > Button default small variant
56
+
57
+ ```tsx
58
+ <Button text="Default small button" size={ButtonSize.Small} onClick={action('onClick')} />
59
+ ```
60
+
61
+ ### Default Large
62
+
63
+ > Button default large variant
64
+
65
+ ```tsx
66
+ <Button text="Default large button" size={ButtonSize.Large} onClick={action('onClick')} />
67
+ ```
68
+
69
+ ### Default Inactive
70
+
71
+ > Button default inactive variant
72
+
73
+ ```tsx
74
+ <Button text="Default inactive button" state={ButtonState.Inactive} onClick={action('onClick')} />
75
+ ```
76
+
77
+ ### Default Icon Left Aligned
78
+
79
+ > Button default icon left aligned variant
80
+
81
+ ```tsx
82
+ <Button text="Default icon button" icon={plusIconLeftAligned} onClick={action('onClick')} />
83
+ ```
84
+
85
+ ### Default Icon Right Aligned
86
+
87
+ > Button default icon right aligned variant
88
+
89
+ ```tsx
90
+ <Button text="Default icon button" icon={plusIconRightAligned} onClick={action('onClick')} />
91
+ ```
92
+
93
+ ### Default Link
94
+
95
+ > Button default link variant
96
+
97
+ ```tsx
98
+ <Button element={ButtonElement.A} href="#url" text="Default link button" onClick={action('onClick')} />
99
+ ```
100
+
101
+ ### Primary
102
+
103
+ > Button primary variant
104
+
105
+ ```tsx
106
+ <Button text="Primary button" variant={ButtonVariant.Primary} onClick={action('onClick')} />
107
+ ```
108
+
109
+ ### Primary Small
110
+
111
+ > Button primary small variant
112
+
113
+ ```tsx
114
+ <Button text="Primary small button" variant={ButtonVariant.Primary} size={ButtonSize.Small} onClick={action('onClick')} />
115
+ ```
116
+
117
+ ### Primary Large
118
+
119
+ > Button primary large variant
120
+
121
+ ```tsx
122
+ <Button text="Primary large button" variant={ButtonVariant.Primary} size={ButtonSize.Large} onClick={action('onClick')} />
123
+ ```
124
+
125
+ ### Primary Inactive
126
+
127
+ > Button primary inactive variant
128
+
129
+ ```tsx
130
+ <Button text="Primary inactive button" variant={ButtonVariant.Primary} state={ButtonState.Inactive} onClick={action('onClick')} />
131
+ ```
132
+
133
+ ### Primary Icon Left aligned
134
+
135
+ > Button icon left aligned variant
136
+
137
+ ```tsx
138
+ <Button text="Primary icon button" variant={ButtonVariant.Primary} icon={plusIconLeftAligned} onClick={action('onClick')} />
139
+ ```
140
+
141
+ ### Primary Icon right aligned
142
+
143
+ > Button icon right aligned variant
144
+
145
+ ```tsx
146
+ <Button text="Primary icon button" variant={ButtonVariant.Primary} icon={plusIconRightAligned} onClick={action('onClick')} />
147
+ ```
148
+
149
+ ### Danger
150
+
151
+ > Button danger variant
152
+
153
+ ```tsx
154
+ <Button text="Danger button" variant={ButtonVariant.Danger} onClick={action('onClick')} />
155
+ ```
156
+
157
+ ### Danger Small
158
+
159
+ > Button danger small variant
160
+
161
+ ```tsx
162
+ <Button text="Danger small button" variant={ButtonVariant.Danger} size={ButtonSize.Small} onClick={action('onClick')} />
163
+ ```
164
+
165
+ ### Danger Large
166
+
167
+ > Button danger large variant
168
+
169
+ ```tsx
170
+ <Button text="Danger large button" variant={ButtonVariant.Danger} size={ButtonSize.Large} onClick={action('onClick')} />
171
+ ```
172
+
173
+ ### Danger Inactive
174
+
175
+ > Button danger inactive variant
176
+
177
+ ```tsx
178
+ <Button text="Danger inactive button" variant={ButtonVariant.Danger} state={ButtonState.Inactive} onClick={action('onClick')} />
179
+ ```
180
+
181
+ ### Danger Icon Left Aligned
182
+
183
+ > Button danger icon left aligned variant
184
+
185
+ ```tsx
186
+ <Button text="Danger icon button" variant={ButtonVariant.Danger} icon={plusIconLeftAligned} onClick={action('onClick')} />
187
+ ```
188
+
189
+ ### Danger Icon Right Aligned
190
+
191
+ > Button danger icon right aligned variant
192
+
193
+ ```tsx
194
+ <Button text="Danger icon button" variant={ButtonVariant.Danger} icon={plusIconRightAligned} onClick={action('onClick')} />
195
+ ```
196
+
197
+ ### Outline
198
+
199
+ > Button outline variant
200
+
201
+ ```tsx
202
+ <Button text="Outline button" variant={ButtonVariant.Outline} onClick={action('onClick')} />
203
+ ```
204
+
205
+ ### Outline Small
206
+
207
+ > Button outline small variant
208
+
209
+ ```tsx
210
+ <Button text="Outline small button" variant={ButtonVariant.Outline} size={ButtonSize.Small} onClick={action('onClick')} />
211
+ ```
212
+
213
+ ### Outline Large
214
+
215
+ > Button outline large variant
216
+
217
+ ```tsx
218
+ <Button text="Outline large button" variant={ButtonVariant.Outline} size={ButtonSize.Large} onClick={action('onClick')} />
219
+ ```
220
+
221
+ ### Outline Inactive
222
+
223
+ > Button outline inactive variant
224
+
225
+ ```tsx
226
+ <Button text="Outline inactive button" variant={ButtonVariant.Outline} state={ButtonState.Inactive} onClick={action('onClick')} />
227
+ ```
228
+
229
+ ### Outline Icon Left Aligned
230
+
231
+ > Button outline icon left aligned variant
232
+
233
+ ```tsx
234
+ <Button text="Outline icon button" variant={ButtonVariant.Outline} icon={plusIconLeftAligned} onClick={action('onClick')} />
235
+ ```
236
+
237
+ ### Outline Icon Right Aligned
238
+
239
+ > Button outline icon right aligned variant
240
+
241
+ ```tsx
242
+ <Button text="Outline icon button" variant={ButtonVariant.Outline} icon={plusIconRightAligned} onClick={action('onClick')} />
243
+ ```
244
+
245
+ ### Blue
246
+
247
+ > Button blue variant
248
+
249
+ ```tsx
250
+ <Button text="Blue button" variant={ButtonVariant.Blue} onClick={action('onClick')} />
251
+ ```
252
+
253
+ ### Blue small
254
+
255
+ > Button blue small variant
256
+
257
+ ```tsx
258
+ <Button text="Blue small button" variant={ButtonVariant.Blue} size={ButtonSize.Small} onClick={action('onClick')} />
259
+ ```
260
+
261
+ ### Blue Large
262
+
263
+ > Button blue large variant
264
+
265
+ ```tsx
266
+ <Button text="Blue large button" variant={ButtonVariant.Blue} size={ButtonSize.Large} onClick={action('onClick')} />
267
+ ```
268
+
269
+ ### Blue Inactive
270
+
271
+ > Button blue inactive variant
272
+
273
+ ```tsx
274
+ <Button text="Blue inactive button" variant={ButtonVariant.Blue} state={ButtonState.Inactive} onClick={action('onClick')} />
275
+ ```
276
+
277
+ ### Blue Icon Left Aligned
278
+
279
+ > Button blue icon left aligned variant
280
+
281
+ ```tsx
282
+ <Button text="Blue icon button" variant={ButtonVariant.Blue} icon={plusIconLeftAligned} onClick={action('onClick')} />
283
+ ```
284
+
285
+ ### Blue Icon Right Aligned
286
+
287
+ > Button blue icon right aligned variant
288
+
289
+ ```tsx
290
+ <Button text="Blue icon button" variant={ButtonVariant.Blue} icon={plusIconRightAligned} onClick={action('onClick')} />
291
+ ```
292
+
293
+ ### Orange
294
+
295
+ > Button orange variant
296
+
297
+ ```tsx
298
+ <Button text="Orange button" variant={ButtonVariant.Orange} onClick={action('onClick')} />
299
+ ```
300
+
301
+ ### Orange Small
302
+
303
+ > Button orange small variant
304
+
305
+ ```tsx
306
+ <Button text="Orange small button" variant={ButtonVariant.Orange} size={ButtonSize.Small} onClick={action('onClick')} />
307
+ ```
308
+
309
+ ### Orange Large
310
+
311
+ > Button orange large variant
312
+
313
+ ```tsx
314
+ <Button text="Orange large button" variant={ButtonVariant.Orange} size={ButtonSize.Large} onClick={action('onClick')} />
315
+ ```
316
+
317
+ ### Orange Inactive
318
+
319
+ > Button orange inactive variant
320
+
321
+ ```tsx
322
+ <Button text="Orange inactive button" variant={ButtonVariant.Orange} state={ButtonState.Inactive} onClick={action('onClick')} />
323
+ ```
324
+
325
+ ### Orange Icon Left Aligned
326
+
327
+ > Button orange icon left aligned variant
328
+
329
+ ```tsx
330
+ <Button text="Orange icon button" variant={ButtonVariant.Orange} icon={plusIconLeftAligned} onClick={action('onClick')} />
331
+ ```
332
+
333
+ ### Orange Icon Right Aligned
334
+
335
+ > Button orange icon right aligned variant
336
+
337
+ ```tsx
338
+ <Button text="Orange icon button" variant={ButtonVariant.Orange} icon={plusIconRightAligned} onClick={action('onClick')} />
339
+ ```
@@ -0,0 +1,54 @@
1
+ # Features
2
+
3
+ > Dropdowns are lightweight context menus for housing navigation and actions. They're great for instances where you don't need the full power (and code) of the select menu.
4
+
5
+ ```
6
+ Dropdown all props and variants
7
+ ```
8
+
9
+ ## Props
10
+
11
+ ```typescript
12
+ export interface IDropdown {
13
+ className?: string
14
+ summary: string
15
+ ariaAttr?: IAriaAttr
16
+ items: IItem[]
17
+ onClick: (value) => void
18
+ state?: string
19
+ }
20
+ ```
21
+
22
+ ## Variants
23
+
24
+ ```
25
+ Default
26
+
27
+ Active
28
+
29
+ Inactive
30
+ ```
31
+
32
+ ### Default
33
+
34
+ > Dropdown default variant
35
+
36
+ ```tsx
37
+ <Dropdown summary={summary} ariaAttr={ariaAttr} items={items} onClick={action('onClick')} />
38
+ ```
39
+
40
+ ### Active
41
+
42
+ > Dropdown active variant
43
+
44
+ ```tsx
45
+ <Dropdown summary={summary} ariaAttr={ariaAttr} items={items} onClick={action('onClick')} state={DropdownState.Active} />
46
+ ```
47
+
48
+ ### Inactive
49
+
50
+ > Dropdown inactive variant
51
+
52
+ ```tsx
53
+ <Dropdown summary={summary} ariaAttr={ariaAttr} items={items} onClick={action('onClick')} state={DropdownState.Inactive} />
54
+ ```
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundary.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/ErrorBoundary/ErrorBoundary.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B"}
1
+ {"version":3,"file":"ErrorBoundary.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/ErrorBoundary/ErrorBoundary.type.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B"}
@@ -0,0 +1,33 @@
1
+ # Features
2
+
3
+ > By default, if your application throws an error during rendering, React will remove its UI from the screen. To prevent this, you can wrap a part of your UI into an Error Boundary. An Error Boundary is a special component that lets you display some fallback UI instead of the part that crashed. For example, an error message.
4
+
5
+ > [Catching rendering errors with an error boundary](https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary)
6
+
7
+ ```
8
+ ErrorBoundary all props and variants
9
+ ```
10
+
11
+ ## Props
12
+
13
+ ```typescript
14
+ export interface IErrorBoundary {
15
+ children: React.ReactNode
16
+ }
17
+ ```
18
+
19
+ ## Variants
20
+
21
+ ```
22
+ Default
23
+ ```
24
+
25
+ ### Default
26
+
27
+ > ErrorBoundary default variant
28
+
29
+ ```tsx
30
+ <ErrorBoundary>
31
+ <div />
32
+ </ErrorBoundary>
33
+ ```
@@ -0,0 +1,87 @@
1
+ # Features
2
+
3
+ > Style individual form checkbox controls and utilize common layouts.
4
+
5
+ ```
6
+ Checkbox all props and variants
7
+ ```
8
+
9
+ ## Props
10
+
11
+ ```typescript
12
+ export interface ICheckbox {
13
+ dataTest?: string
14
+ className?: string
15
+ htmlFor?: string
16
+ ariaAttr: IAriaAttr
17
+ inputType?: string
18
+ isChecked?: boolean
19
+ text?: string
20
+ onChange: (value) => void
21
+ state?: string
22
+ }
23
+ ```
24
+
25
+ ## Variants
26
+
27
+ ```
28
+ IsChecked
29
+
30
+ IsCheckedActive
31
+
32
+ IsCheckedInactive
33
+
34
+ IsNotChecked
35
+
36
+ IsNotCheckedActive
37
+
38
+ IsNotCheckedInactive
39
+ ```
40
+
41
+ ### Is Checked
42
+
43
+ > Checkbox is checked variant
44
+
45
+ ```tsx
46
+ <Checkbox ariaAttr={ariaAttr} isChecked={true} onChange={action('onChange')} text={text.isChecked} />
47
+ ```
48
+
49
+ ### Is Checked Active
50
+
51
+ > Checkbox is checked active variant
52
+
53
+ ```tsx
54
+ <Checkbox ariaAttr={ariaAttr} isChecked={true} onChange={action('onChange')} text={text.isChecked} state={CheckboxState.Active} />
55
+ ```
56
+
57
+ ### Is Checked Inactive
58
+
59
+ > Checkbox is checked inactive variant
60
+
61
+ ```tsx
62
+ <Checkbox ariaAttr={ariaAttr} isChecked={true} onChange={action('onChange')} text={text.isChecked} state={CheckboxState.Inactive} />
63
+ ```
64
+
65
+ ### Is Not Checked
66
+
67
+ > Checkbox is not checked variant
68
+
69
+ ```tsx
70
+ <Checkbox ariaAttr={ariaAttr} isChecked={false} onChange={action('onChange')} text={text.isNotChecked} />
71
+ ```
72
+
73
+ ### Is Not Checked Active
74
+
75
+ > Checkbox is not checked active variant
76
+
77
+ ```tsx
78
+ <Checkbox ariaAttr={ariaAttr} isChecked={false} onChange={action('onChange')} text={text.isNotChecked} state={CheckboxState.Active} />
79
+ ```
80
+
81
+ ### Is Not Checked Inactive
82
+
83
+ > Checkbox is not checked inactive variant
84
+
85
+ ```tsx
86
+ <Checkbox ariaAttr={ariaAttr} isChecked={false} onChange={action('onChange')} text={text.isNotChecked} state={CheckboxState.Inactive} />
87
+ ```
@@ -0,0 +1,84 @@
1
+ # Features
2
+
3
+ > Style individual form input controls and utilize common layouts.
4
+
5
+ ```
6
+ Input all props and variants
7
+ ```
8
+
9
+ ## Props
10
+
11
+ ```typescript
12
+ export interface IInput {
13
+ dataTestId?: string
14
+ id?: string
15
+ className?: string
16
+ placeholder?: string
17
+ ariaAttr?: IAriaAttr
18
+ inputType?: string
19
+ value: string
20
+ onChange?: (value) => void
21
+ onKeyUp?: (value) => void
22
+ onFocus?: (value) => void
23
+ onBlur?: (value) => void
24
+ autoFocus?: boolean
25
+ state?: string
26
+ }
27
+ ```
28
+
29
+ ## Variants
30
+
31
+ ```
32
+ Default
33
+
34
+ Active
35
+
36
+ Inactive
37
+ ```
38
+
39
+ ### Default
40
+
41
+ > Input default variant
42
+
43
+ ```tsx
44
+ <Input
45
+ placeholder={placeholder}
46
+ ariaAttr={ariaAttr}
47
+ onChange={action('onChange')}
48
+ onKeyUp={action('onKeyUp')}
49
+ onFocus={action('onFocus')}
50
+ onBlur={action('onBlur')}
51
+ />
52
+ ```
53
+
54
+ ### Active
55
+
56
+ > Input active variant
57
+
58
+ ```tsx
59
+ <Input
60
+ placeholder={placeholder}
61
+ ariaAttr={ariaAttr}
62
+ onChange={action('onChange')}
63
+ onKeyUp={action('onKeyUp')}
64
+ onFocus={action('onFocus')}
65
+ onBlur={action('onBlur')}
66
+ state={InputState.Active}
67
+ />
68
+ ```
69
+
70
+ ### Inactive
71
+
72
+ > Input inactive variant
73
+
74
+ ```tsx
75
+ <Input
76
+ placeholder={placeholder}
77
+ ariaAttr={ariaAttr}
78
+ onChange={action('onChange')}
79
+ onKeyUp={action('onKeyUp')}
80
+ onFocus={action('onFocus')}
81
+ onBlur={action('onBlur')}
82
+ state={InputState.Inactive}
83
+ />
84
+ ```
@@ -0,0 +1,66 @@
1
+ # Features
2
+
3
+ > Style individual form radio controls and utilize common layouts.
4
+
5
+ ```
6
+ Radio all props and variants
7
+ ```
8
+
9
+ ## Props
10
+
11
+ ```typescript
12
+ export interface IRadio {
13
+ dataTest?: string
14
+ className?: string
15
+ htmlFor?: string
16
+ inputType?: string
17
+ name: string
18
+ isChecked?: boolean
19
+ text?: string
20
+ onChange: (value) => void
21
+ state?: string
22
+ }
23
+ ```
24
+
25
+ ## Variants
26
+
27
+ ```
28
+ Default
29
+
30
+ Active
31
+
32
+ Inactive
33
+ ```
34
+
35
+ ### Default
36
+
37
+ > Radio default variant
38
+
39
+ ```tsx
40
+ <Fragment>
41
+ <Radio name={name} onChange={action('onChange-white')} text="White" />
42
+ <Radio name={name} isChecked={true} onChange={action('onChange-black')} text="Black" />
43
+ </Fragment>
44
+ ```
45
+
46
+ ### Active
47
+
48
+ > Radio active variant
49
+
50
+ ```tsx
51
+ <Fragment>
52
+ <Radio name={name} onChange={action('onChange-white')} text="White" state={RadioState.Active} />
53
+ <Radio name={name} isChecked={true} onChange={action('onChange-black')} text="Black" state={RadioState.Active} />
54
+ </Fragment>
55
+ ```
56
+
57
+ ### Inactive
58
+
59
+ > Radio inactive variant
60
+
61
+ ```tsx
62
+ <Fragment>
63
+ <Radio name={name} onChange={action('onChange-white')} text="White" state={RadioState.Inactive} />
64
+ <Radio name={name} isChecked={true} onChange={action('onChange-black')} text="Black" state={RadioState.Inactive} />
65
+ </Fragment>
66
+ ```
@@ -0,0 +1,34 @@
1
+ # Features
2
+
3
+ > Using display table utilities with columns gives you some alternative layout options.
4
+
5
+ > A useful example is being able to keep the height of the container equal across a row when the length of content may differ.
6
+
7
+ ```
8
+ DisplayTable all props and variants
9
+ ```
10
+
11
+ ## Props
12
+
13
+ ```typescript
14
+ export interface IDisplayTable {
15
+ className: string
16
+ items: IItem[]
17
+ idIndex: number
18
+ isSelectedIndex: number
19
+ }
20
+ ```
21
+
22
+ ## Variants
23
+
24
+ ```
25
+ Default
26
+ ```
27
+
28
+ ### Default
29
+
30
+ > DisplayTable default variant
31
+
32
+ ```tsx
33
+ <DisplayTable items={items} idIndex={0} isSelectedIndex={1} />
34
+ ```
@@ -119,8 +119,8 @@ function FlexGrid(_ref) {
119
119
  className: (0, _classnames["default"])(_visibilityDisplay["default"]['d-flex'], _flexbox["default"]['flex-justify-between'], _layout["default"]['width-full']),
120
120
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
121
121
  className: (0, _classnames["default"])(_index["default"]['css-truncate'], _index["default"]['css-truncate-overflow']),
122
- children: (0, _string.getCapizalizedString)({
123
- string: name.toString(),
122
+ children: (0, _string.getCapitalizedString)({
123
+ input: name.toString(),
124
124
  separator: '-'
125
125
  })
126
126
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {