@telus-uds/components-base 1.0.1 → 1.1.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.
- package/.storybook/main.js +4 -0
- package/.storybook/preview.js +37 -0
- package/.ultra.cache.json +1 -1
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/babel.config.js +9 -16
- package/component-docs.json +10313 -0
- package/generate-component-docs.js +56 -0
- package/lib/List/List.js +1 -2
- package/lib/List/ListItem.js +14 -27
- package/lib/List/index.js +15 -0
- package/lib/Pagination/PageButton.js +1 -7
- package/lib/StackView/StackWrap.js +9 -5
- package/lib/index.js +15 -1
- package/lib/utils/a11y/propTypes.js +61 -0
- package/lib/utils/a11y/propTypes.native.js +47 -0
- package/lib/utils/propTypes.js +7 -89
- package/package.json +9 -5
- package/release-context.json +4 -4
- package/src/List/List.jsx +1 -3
- package/src/List/ListItem.jsx +11 -26
- package/src/List/index.js +5 -0
- package/src/Pagination/PageButton.jsx +2 -6
- package/src/StackView/StackWrap.jsx +7 -6
- package/src/index.js +1 -1
- package/src/utils/a11y/propTypes.js +61 -0
- package/src/utils/a11y/propTypes.native.js +39 -0
- package/src/utils/propTypes.js +1 -110
- package/stories/A11yText/A11yText.stories.jsx +1 -1
- package/stories/ActivityIndicator/ActivityIndicator.stories.jsx +1 -1
- package/stories/Box/Box.stories.jsx +1 -1
- package/stories/Button/Button.stories.jsx +1 -1
- package/stories/Button/ButtonGroup.stories.jsx +1 -1
- package/stories/Button/ButtonLink.stories.jsx +1 -1
- package/stories/Card/Card.stories.jsx +1 -1
- package/stories/Checkbox/Checkbox.stories.jsx +1 -1
- package/stories/Divider/Divider.stories.jsx +1 -1
- package/stories/ExpandCollapse/ExpandCollapse.stories.jsx +1 -1
- package/stories/Feedback/Feedback.stories.jsx +1 -1
- package/stories/FlexGrid/01 FlexGrid.stories.jsx +1 -1
- package/stories/FlexGrid/02 Row.stories.jsx +1 -1
- package/stories/FlexGrid/03 Col.stories.jsx +1 -1
- package/stories/Icon/Icon.stories.jsx +1 -1
- package/stories/IconButton/IconButton.stories.jsx +1 -1
- package/stories/InputLabel/InputLabel.stories.jsx +1 -1
- package/stories/Link/ChevronLink.stories.jsx +1 -1
- package/stories/Link/Link.stories.jsx +1 -1
- package/stories/Link/TextButton.stories.jsx +1 -1
- package/stories/List/List.stories.jsx +1 -1
- package/stories/Modal/Modal.stories.jsx +1 -1
- package/stories/Notification/Notification.stories.jsx +1 -1
- package/stories/Pagination/Pagination.stories.jsx +1 -1
- package/stories/Progress/Progress.stories.jsx +1 -1
- package/stories/Radio/Radio.stories.jsx +1 -1
- package/stories/RadioCard/RadioCard.stories.jsx +1 -1
- package/stories/Search/Search.stories.jsx +1 -1
- package/stories/Select/Select.stories.jsx +1 -1
- package/stories/SideNav/SideNav.stories.jsx +1 -1
- package/stories/SideNav/SideNavItem.stories.jsx +1 -1
- package/stories/SideNav/SideNavItemsGroup.stories.jsx +1 -1
- package/stories/Skeleton/Skeleton.stories.jsx +1 -1
- package/stories/Spacer/Spacer.stories.jsx +1 -1
- package/stories/StackView/StackView.stories.jsx +1 -1
- package/stories/StackView/StackWrap.stories.jsx +1 -1
- package/stories/StepTracker/StepTracker.stories.jsx +1 -1
- package/stories/Tabs/Tabs.stories.jsx +1 -1
- package/stories/Tags/Tags.stories.jsx +1 -1
- package/stories/TextInput/TextArea.stories.jsx +1 -1
- package/stories/TextInput/TextInput.stories.jsx +1 -1
- package/stories/ToggleSwitch/ToggleSwitch.stories.jsx +1 -1
- package/stories/Tooltip/Tooltip.stories.jsx +1 -1
- package/stories/TooltipButton/TooltipButton.stories.jsx +1 -1
- package/stories/Typography/Typography.stories.jsx +1 -1
- package/stories/supports.jsx +2 -3
package/src/List/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
copyPropTypes,
|
|
9
9
|
getTokensPropType,
|
|
10
10
|
hrefAttrsProp,
|
|
11
|
+
linkProps,
|
|
11
12
|
selectTokens,
|
|
12
13
|
variantProp
|
|
13
14
|
} from '../utils'
|
|
@@ -57,12 +58,7 @@ const PageButton = forwardRef(
|
|
|
57
58
|
PageButton.displayName = 'PageButton'
|
|
58
59
|
|
|
59
60
|
PageButton.propTypes = {
|
|
60
|
-
|
|
61
|
-
// crashes a Docusaurus props table, but only in production, not in development
|
|
62
|
-
onPress: PropTypes.func,
|
|
63
|
-
href: PropTypes.string,
|
|
64
|
-
// If the above is fixed, the above can be replaced with this which includes full a11y etc:
|
|
65
|
-
// ...linkProps.types,
|
|
61
|
+
...linkProps.types,
|
|
66
62
|
label: PropTypes.string,
|
|
67
63
|
isActive: PropTypes.bool,
|
|
68
64
|
copy: copyPropTypes,
|
|
@@ -4,6 +4,12 @@ import { Platform } from 'react-native'
|
|
|
4
4
|
import StackWrapBox from './StackWrapBox'
|
|
5
5
|
import StackWrapGap from './StackWrapGap'
|
|
6
6
|
|
|
7
|
+
// In Jest/CI/SSR, global CSS isn't always available and doesn't always have .supports method
|
|
8
|
+
const cssSupports = (...args) =>
|
|
9
|
+
typeof window !== 'undefined' &&
|
|
10
|
+
typeof window.CSS?.supports === 'function' &&
|
|
11
|
+
window.CSS.supports(...args)
|
|
12
|
+
|
|
7
13
|
// CSS.supports needs an example of the type of value you intend to use.
|
|
8
14
|
// Will be an integer appended `px` after hooks and JSX styles are resolved.
|
|
9
15
|
const exampleGapValue = '1px'
|
|
@@ -20,12 +26,7 @@ const StackWrap = forwardRef((props, ref) => {
|
|
|
20
26
|
// Don't apply separate gap if `null` or `undefined`, so can be unset in Storybook etc
|
|
21
27
|
const gap = props.gap ?? space
|
|
22
28
|
|
|
23
|
-
const canUseCSSGap =
|
|
24
|
-
Platform.OS === 'web' &&
|
|
25
|
-
gap === space &&
|
|
26
|
-
// In Jest/CI, global CSS isn't always available and doesn't always have .supports method
|
|
27
|
-
typeof CSS?.supports === 'function' &&
|
|
28
|
-
CSS.supports('gap', exampleGapValue)
|
|
29
|
+
const canUseCSSGap = Platform.OS === 'web' && gap === space && cssSupports('gap', exampleGapValue)
|
|
29
30
|
|
|
30
31
|
return canUseCSSGap ? (
|
|
31
32
|
// If possible, use the cleaner implementation that applies CSS `gap` styles to the container.
|
package/src/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export * from './Icon'
|
|
|
17
17
|
export { default as IconButton } from './IconButton'
|
|
18
18
|
export { default as InputLabel } from './InputLabel'
|
|
19
19
|
export * from './Link'
|
|
20
|
-
export { default as List } from './List'
|
|
20
|
+
export { default as List, ListItem, ListBase } from './List'
|
|
21
21
|
export { default as Modal } from './Modal'
|
|
22
22
|
export { default as Notification } from './Notification'
|
|
23
23
|
export { default as Pagination } from './Pagination'
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import PropTypes from 'prop-types'
|
|
2
|
+
|
|
3
|
+
import nativePropTypes from './propTypes.native'
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
...nativePropTypes,
|
|
7
|
+
// React Native Web adds many a11y props that alias aria-* attributes
|
|
8
|
+
// Types based on https://necolas.github.io/react-native-web/docs/accessibility/
|
|
9
|
+
accessibilityActiveDescendant: PropTypes.string,
|
|
10
|
+
accessibilityAtomic: PropTypes.bool,
|
|
11
|
+
accessibilityAutoComplete: PropTypes.string,
|
|
12
|
+
accessibilityBusy: PropTypes.bool,
|
|
13
|
+
accessibilityChecked: PropTypes.oneOf([true, false, 'mixed']),
|
|
14
|
+
accessibilityColumnCount: PropTypes.number,
|
|
15
|
+
accessibilityColumnIndex: PropTypes.number,
|
|
16
|
+
accessibilityColumnSpan: PropTypes.number,
|
|
17
|
+
accessibilityControls: PropTypes.oneOfType([
|
|
18
|
+
PropTypes.string,
|
|
19
|
+
PropTypes.arrayOf(PropTypes.string)
|
|
20
|
+
]),
|
|
21
|
+
accessibilityCurrent: PropTypes.oneOf([true, false, 'page', 'step', 'location', 'date', 'time']),
|
|
22
|
+
accessibilityDescribedBy: PropTypes.oneOfType([
|
|
23
|
+
PropTypes.string,
|
|
24
|
+
PropTypes.arrayOf(PropTypes.string)
|
|
25
|
+
]),
|
|
26
|
+
accessibilityDetails: PropTypes.string,
|
|
27
|
+
accessibilityDisabled: PropTypes.bool,
|
|
28
|
+
accessibilityErrorMessage: PropTypes.string,
|
|
29
|
+
accessibilityExpanded: PropTypes.bool,
|
|
30
|
+
accessibilityFlowTo: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),
|
|
31
|
+
accessibilityHasPopup: PropTypes.string,
|
|
32
|
+
accessibilityHidden: PropTypes.bool,
|
|
33
|
+
accessibilityInvalid: PropTypes.bool,
|
|
34
|
+
accessibilityKeyShortcuts: PropTypes.string,
|
|
35
|
+
accessibilityLabelledBy: PropTypes.oneOfType([
|
|
36
|
+
PropTypes.string,
|
|
37
|
+
PropTypes.arrayOf(PropTypes.string)
|
|
38
|
+
]),
|
|
39
|
+
accessibilityLevel: PropTypes.number,
|
|
40
|
+
accessibilityModal: PropTypes.bool,
|
|
41
|
+
accessibilityMultiline: PropTypes.bool,
|
|
42
|
+
accessibilityMultiSelectable: PropTypes.bool,
|
|
43
|
+
accessibilityOrientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
44
|
+
accessibilityOwns: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),
|
|
45
|
+
accessibilityPlaceholder: PropTypes.string,
|
|
46
|
+
accessibilityPosInSet: PropTypes.number,
|
|
47
|
+
accessibilityPressed: PropTypes.bool,
|
|
48
|
+
accessibilityReadOnly: PropTypes.bool,
|
|
49
|
+
accessibilityRequired: PropTypes.bool,
|
|
50
|
+
accessibilityRoleDescription: PropTypes.string,
|
|
51
|
+
accessibilityRowCount: PropTypes.number,
|
|
52
|
+
accessibilityRowIndex: PropTypes.number,
|
|
53
|
+
accessibilityRowSpan: PropTypes.number,
|
|
54
|
+
accessibilitySelected: PropTypes.bool,
|
|
55
|
+
accessibilitySetSize: PropTypes.number,
|
|
56
|
+
accessibilitySort: PropTypes.oneOf(['ascending', 'descending', 'none', 'other']),
|
|
57
|
+
accessibilityValueMax: PropTypes.number,
|
|
58
|
+
accessibilityValueMin: PropTypes.number,
|
|
59
|
+
accessibilityValueNow: PropTypes.number,
|
|
60
|
+
accessibilityValueText: PropTypes.string
|
|
61
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import PropTypes from 'prop-types'
|
|
2
|
+
|
|
3
|
+
// React Native exports a11y prop definitions as TypeScript Interfaces, but no longer exports PropTypes
|
|
4
|
+
// so we have to define them ourselves.
|
|
5
|
+
export default {
|
|
6
|
+
accessible: PropTypes.bool,
|
|
7
|
+
focusable: PropTypes.bool,
|
|
8
|
+
|
|
9
|
+
accessibilityElementsHidden: PropTypes.bool,
|
|
10
|
+
accessibilityHint: PropTypes.string, // react-native-web ignores `accessibilityHint`
|
|
11
|
+
accessibilityIgnoresInvertColors: PropTypes.bool,
|
|
12
|
+
accessibilityLabel: PropTypes.string,
|
|
13
|
+
accessibilityRole: PropTypes.string,
|
|
14
|
+
accessibilityActions: PropTypes.arrayOf(
|
|
15
|
+
PropTypes.shape({
|
|
16
|
+
name: PropTypes.string.isRequired,
|
|
17
|
+
label: PropTypes.string
|
|
18
|
+
})
|
|
19
|
+
),
|
|
20
|
+
accessibilityLiveRegion: PropTypes.oneOf(['none', 'polite', 'assertive']),
|
|
21
|
+
accessibilityState: PropTypes.shape({
|
|
22
|
+
disabled: PropTypes.bool,
|
|
23
|
+
selected: PropTypes.bool,
|
|
24
|
+
checked: PropTypes.oneOf([true, false, 'mixed']),
|
|
25
|
+
busy: PropTypes.bool,
|
|
26
|
+
expanded: PropTypes.bool
|
|
27
|
+
}),
|
|
28
|
+
accessibilityValue: PropTypes.shape({
|
|
29
|
+
min: PropTypes.number,
|
|
30
|
+
max: PropTypes.number,
|
|
31
|
+
now: PropTypes.number,
|
|
32
|
+
text: PropTypes.string
|
|
33
|
+
}),
|
|
34
|
+
accessibilityViewIsModal: PropTypes.bool,
|
|
35
|
+
importantForAccessibility: PropTypes.oneOf(['auto', 'yes', 'no', 'no-hide-descendants']),
|
|
36
|
+
onAccessibilityAction: PropTypes.func,
|
|
37
|
+
onAccessibilityEscape: PropTypes.func,
|
|
38
|
+
onAccessibilityTap: PropTypes.func
|
|
39
|
+
}
|
package/src/utils/propTypes.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types'
|
|
2
2
|
import { Linking, Platform } from 'react-native'
|
|
3
3
|
import { components as tokenKeys } from '@telus-uds/system-theme-tokens'
|
|
4
|
+
import a11yPropTypes from './a11y/propTypes'
|
|
4
5
|
|
|
5
6
|
export const paddingProp = {
|
|
6
7
|
propType: PropTypes.shape({
|
|
@@ -202,116 +203,6 @@ function getPropSelector(propTypes, regexp) {
|
|
|
202
203
|
)
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
// React Native exports a11y prop definitions as TypeScript Interfaces, but no longer exports PropTypes
|
|
206
|
-
// so we have to define them ourselves.
|
|
207
|
-
const a11yPropTypes = {
|
|
208
|
-
accessible: PropTypes.bool,
|
|
209
|
-
focusable: PropTypes.bool,
|
|
210
|
-
|
|
211
|
-
accessibilityElementsHidden: PropTypes.bool,
|
|
212
|
-
accessibilityHint: PropTypes.string, // react-native-web ignores `accessibilityHint`
|
|
213
|
-
accessibilityIgnoresInvertColors: PropTypes.bool,
|
|
214
|
-
accessibilityLabel: PropTypes.string,
|
|
215
|
-
accessibilityRole: PropTypes.string,
|
|
216
|
-
accessibilityActions: PropTypes.arrayOf(
|
|
217
|
-
PropTypes.shape({
|
|
218
|
-
name: PropTypes.string.isRequired,
|
|
219
|
-
label: PropTypes.string
|
|
220
|
-
})
|
|
221
|
-
),
|
|
222
|
-
accessibilityLiveRegion: PropTypes.oneOf(['none', 'polite', 'assertive']),
|
|
223
|
-
accessibilityState: PropTypes.shape({
|
|
224
|
-
disabled: PropTypes.bool,
|
|
225
|
-
selected: PropTypes.bool,
|
|
226
|
-
checked: PropTypes.oneOf([true, false, 'mixed']),
|
|
227
|
-
busy: PropTypes.bool,
|
|
228
|
-
expanded: PropTypes.bool
|
|
229
|
-
}),
|
|
230
|
-
accessibilityValue: PropTypes.shape({
|
|
231
|
-
min: PropTypes.number,
|
|
232
|
-
max: PropTypes.number,
|
|
233
|
-
now: PropTypes.number,
|
|
234
|
-
text: PropTypes.string
|
|
235
|
-
}),
|
|
236
|
-
accessibilityViewIsModal: PropTypes.bool,
|
|
237
|
-
importantForAccessibility: PropTypes.oneOf(['auto', 'yes', 'no', 'no-hide-descendants']),
|
|
238
|
-
onAccessibilityAction: PropTypes.func,
|
|
239
|
-
onAccessibilityEscape: PropTypes.func,
|
|
240
|
-
onAccessibilityTap: PropTypes.func,
|
|
241
|
-
...Platform.select({
|
|
242
|
-
web: {
|
|
243
|
-
// React Native Web adds many a11y props that alias aria-* attributes
|
|
244
|
-
// Types based on https://necolas.github.io/react-native-web/docs/accessibility/
|
|
245
|
-
accessibilityActiveDescendant: PropTypes.string,
|
|
246
|
-
accessibilityAtomic: PropTypes.bool,
|
|
247
|
-
accessibilityAutoComplete: PropTypes.string,
|
|
248
|
-
accessibilityBusy: PropTypes.bool,
|
|
249
|
-
accessibilityChecked: PropTypes.oneOf([true, false, 'mixed']),
|
|
250
|
-
accessibilityColumnCount: PropTypes.number,
|
|
251
|
-
accessibilityColumnIndex: PropTypes.number,
|
|
252
|
-
accessibilityColumnSpan: PropTypes.number,
|
|
253
|
-
accessibilityControls: PropTypes.oneOfType([
|
|
254
|
-
PropTypes.string,
|
|
255
|
-
PropTypes.arrayOf(PropTypes.string)
|
|
256
|
-
]),
|
|
257
|
-
accessibilityCurrent: PropTypes.oneOf([
|
|
258
|
-
true,
|
|
259
|
-
false,
|
|
260
|
-
'page',
|
|
261
|
-
'step',
|
|
262
|
-
'location',
|
|
263
|
-
'date',
|
|
264
|
-
'time'
|
|
265
|
-
]),
|
|
266
|
-
accessibilityDescribedBy: PropTypes.oneOfType([
|
|
267
|
-
PropTypes.string,
|
|
268
|
-
PropTypes.arrayOf(PropTypes.string)
|
|
269
|
-
]),
|
|
270
|
-
accessibilityDetails: PropTypes.string,
|
|
271
|
-
accessibilityDisabled: PropTypes.bool,
|
|
272
|
-
accessibilityErrorMessage: PropTypes.string,
|
|
273
|
-
accessibilityExpanded: PropTypes.bool,
|
|
274
|
-
accessibilityFlowTo: PropTypes.oneOfType([
|
|
275
|
-
PropTypes.string,
|
|
276
|
-
PropTypes.arrayOf(PropTypes.string)
|
|
277
|
-
]),
|
|
278
|
-
accessibilityHasPopup: PropTypes.string,
|
|
279
|
-
accessibilityHidden: PropTypes.bool,
|
|
280
|
-
accessibilityInvalid: PropTypes.bool,
|
|
281
|
-
accessibilityKeyShortcuts: PropTypes.string,
|
|
282
|
-
accessibilityLabelledBy: PropTypes.oneOfType([
|
|
283
|
-
PropTypes.string,
|
|
284
|
-
PropTypes.arrayOf(PropTypes.string)
|
|
285
|
-
]),
|
|
286
|
-
accessibilityLevel: PropTypes.number,
|
|
287
|
-
accessibilityModal: PropTypes.bool,
|
|
288
|
-
accessibilityMultiline: PropTypes.bool,
|
|
289
|
-
accessibilityMultiSelectable: PropTypes.bool,
|
|
290
|
-
accessibilityOrientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
291
|
-
accessibilityOwns: PropTypes.oneOfType([
|
|
292
|
-
PropTypes.string,
|
|
293
|
-
PropTypes.arrayOf(PropTypes.string)
|
|
294
|
-
]),
|
|
295
|
-
accessibilityPlaceholder: PropTypes.string,
|
|
296
|
-
accessibilityPosInSet: PropTypes.number,
|
|
297
|
-
accessibilityPressed: PropTypes.bool,
|
|
298
|
-
accessibilityReadOnly: PropTypes.bool,
|
|
299
|
-
accessibilityRequired: PropTypes.bool,
|
|
300
|
-
accessibilityRoleDescription: PropTypes.string,
|
|
301
|
-
accessibilityRowCount: PropTypes.number,
|
|
302
|
-
accessibilityRowIndex: PropTypes.number,
|
|
303
|
-
accessibilityRowSpan: PropTypes.number,
|
|
304
|
-
accessibilitySelected: PropTypes.bool,
|
|
305
|
-
accessibilitySetSize: PropTypes.number,
|
|
306
|
-
accessibilitySort: PropTypes.oneOf(['ascending', 'descending', 'none', 'other']),
|
|
307
|
-
accessibilityValueMax: PropTypes.number,
|
|
308
|
-
accessibilityValueMin: PropTypes.number,
|
|
309
|
-
accessibilityValueNow: PropTypes.number,
|
|
310
|
-
accessibilityValueText: PropTypes.string
|
|
311
|
-
}
|
|
312
|
-
})
|
|
313
|
-
}
|
|
314
|
-
|
|
315
206
|
export const a11yProps = {
|
|
316
207
|
/**
|
|
317
208
|
* Proptypes for recognised React Native accessiblity (a11y) props.
|
|
@@ -6,7 +6,7 @@ import { Container, EachParentType, parentTypesParams } from '../supports'
|
|
|
6
6
|
import { useMultipleInputValues } from '../../src/utils'
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
|
-
title: '
|
|
9
|
+
title: 'ExpandCollapse',
|
|
10
10
|
component: ExpandCollapse,
|
|
11
11
|
args: {
|
|
12
12
|
children: () => {}
|
|
@@ -5,7 +5,7 @@ import { ChevronLink } from '../../src'
|
|
|
5
5
|
import { Container, EachParentType, parentTypesParams, useVariants } from '../supports'
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
|
-
title: '
|
|
8
|
+
title: 'ChevronLink',
|
|
9
9
|
component: ChevronLink,
|
|
10
10
|
args: {
|
|
11
11
|
href: 'https://example.com'
|
|
@@ -8,7 +8,7 @@ import { Link, Typography, variantProp } from '../../src'
|
|
|
8
8
|
import { Container, EachIcon, EachParentType, parentTypesParams, useVariants } from '../supports'
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
|
-
title: '
|
|
11
|
+
title: 'Link',
|
|
12
12
|
component: Link,
|
|
13
13
|
args: {
|
|
14
14
|
href: `https://telus.com/?unvisited:${Date.now()}`,
|
|
@@ -10,7 +10,7 @@ import { TextButton, variantProp } from '../../src'
|
|
|
10
10
|
import { Container, EachParentType, useVariants, parentTypesParams } from '../supports'
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
|
-
title: '
|
|
13
|
+
title: 'TextButton',
|
|
14
14
|
component: TextButton,
|
|
15
15
|
args: {
|
|
16
16
|
// eslint-disable-next-line no-console
|
|
@@ -5,7 +5,7 @@ import { Progress, StackView, Typography } from '../../src'
|
|
|
5
5
|
import { Container, EachParentType, parentTypesParams } from '../supports'
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
|
-
title: '
|
|
8
|
+
title: 'Progress',
|
|
9
9
|
component: Progress.Bar,
|
|
10
10
|
args: { accessibilityLabel: 'Progress Bar' }
|
|
11
11
|
}
|