@telus-uds/components-base 1.12.1 → 1.13.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/CHANGELOG.md +20 -2
- package/component-docs.json +740 -33
- package/lib/Button/ButtonGroup.js +7 -0
- package/lib/Carousel/Carousel.js +69 -12
- package/lib/Carousel/CarouselContext.js +17 -11
- package/lib/Carousel/CarouselFirstFocus/CarouselFirstFocus.js +73 -0
- package/lib/Carousel/CarouselTabs/CarouselTabs.js +70 -0
- package/lib/Carousel/CarouselTabs/CarouselTabsPanel.js +95 -0
- package/lib/Carousel/CarouselTabs/CarouselTabsPanelItem.js +148 -0
- package/lib/Carousel/CarouselTabs/index.js +13 -0
- package/lib/Carousel/CarouselThumbnail.js +99 -0
- package/lib/Carousel/CarouselThumbnailNavigation.js +87 -0
- package/lib/Carousel/dictionary.js +4 -2
- package/lib/Carousel/index.js +10 -1
- package/lib/Checkbox/CheckboxGroup.js +7 -0
- package/lib/Link/InlinePressable.js +1 -8
- package/lib/Link/LinkBase.js +5 -6
- package/lib/Radio/RadioGroup.js +8 -0
- package/lib/RadioCard/RadioCardGroup.js +7 -0
- package/lib/SkipLink/SkipLink.js +216 -0
- package/lib/SkipLink/index.js +13 -0
- package/lib/ThemeProvider/ThemeProvider.js +6 -1
- package/lib/ToggleSwitch/ToggleSwitchGroup.js +7 -0
- package/lib/index.js +9 -0
- package/lib-module/Button/ButtonGroup.js +7 -0
- package/lib-module/Carousel/Carousel.js +66 -11
- package/lib-module/Carousel/CarouselContext.js +17 -11
- package/lib-module/Carousel/CarouselFirstFocus/CarouselFirstFocus.js +51 -0
- package/lib-module/Carousel/CarouselTabs/CarouselTabs.js +50 -0
- package/lib-module/Carousel/CarouselTabs/CarouselTabsPanel.js +76 -0
- package/lib-module/Carousel/CarouselTabs/CarouselTabsPanelItem.js +126 -0
- package/lib-module/Carousel/CarouselTabs/index.js +2 -0
- package/lib-module/Carousel/CarouselThumbnail.js +85 -0
- package/lib-module/Carousel/CarouselThumbnailNavigation.js +66 -0
- package/lib-module/Carousel/dictionary.js +4 -2
- package/lib-module/Carousel/index.js +2 -1
- package/lib-module/Checkbox/CheckboxGroup.js +7 -0
- package/lib-module/Link/InlinePressable.js +1 -8
- package/lib-module/Link/LinkBase.js +5 -6
- package/lib-module/Radio/RadioGroup.js +8 -0
- package/lib-module/RadioCard/RadioCardGroup.js +7 -0
- package/lib-module/SkipLink/SkipLink.js +188 -0
- package/lib-module/SkipLink/index.js +2 -0
- package/lib-module/ThemeProvider/ThemeProvider.js +5 -1
- package/lib-module/ToggleSwitch/ToggleSwitchGroup.js +7 -0
- package/lib-module/index.js +1 -0
- package/package.json +46 -47
- package/src/Button/ButtonGroup.jsx +6 -0
- package/src/Carousel/Carousel.jsx +68 -10
- package/src/Carousel/CarouselContext.jsx +22 -9
- package/src/Carousel/CarouselFirstFocus/CarouselFirstFocus.jsx +49 -0
- package/src/Carousel/CarouselTabs/CarouselTabs.jsx +37 -0
- package/src/Carousel/CarouselTabs/CarouselTabsPanel.jsx +69 -0
- package/src/Carousel/CarouselTabs/CarouselTabsPanelItem.jsx +119 -0
- package/src/Carousel/CarouselTabs/index.js +3 -0
- package/src/Carousel/CarouselThumbnail.jsx +77 -0
- package/src/Carousel/CarouselThumbnailNavigation.jsx +53 -0
- package/src/Carousel/dictionary.js +4 -2
- package/src/Carousel/index.js +1 -0
- package/src/Checkbox/CheckboxGroup.jsx +7 -0
- package/src/Link/InlinePressable.jsx +2 -8
- package/src/Link/LinkBase.jsx +7 -16
- package/src/Radio/RadioGroup.jsx +7 -0
- package/src/RadioCard/RadioCardGroup.jsx +6 -0
- package/src/SkipLink/SkipLink.jsx +179 -0
- package/src/SkipLink/index.js +3 -0
- package/src/ThemeProvider/ThemeProvider.jsx +7 -1
- package/src/ToggleSwitch/ToggleSwitchGroup.jsx +6 -0
- package/src/index.js +1 -0
package/component-docs.json
CHANGED
|
@@ -87,7 +87,35 @@
|
|
|
87
87
|
"showPreviousNextNavigation": "show",
|
|
88
88
|
"showPanelNavigation": "show",
|
|
89
89
|
"spaceBetweenSlideAndPreviousNextNavigation": "size",
|
|
90
|
-
"spaceBetweenSlideAndPanelNavigation": "size"
|
|
90
|
+
"spaceBetweenSlideAndPanelNavigation": "size",
|
|
91
|
+
"thumbnailBorderColor": "color",
|
|
92
|
+
"thumbnailBorderRadius": "radius",
|
|
93
|
+
"thumbnailBorderWidth": "border",
|
|
94
|
+
"thumbnailContainerPaddingTop": "size",
|
|
95
|
+
"thumbnailMargin": "size",
|
|
96
|
+
"thumbnailPadding": "size",
|
|
97
|
+
"thumbnailSelectedBorderColor": "color",
|
|
98
|
+
"thumbnailSelectedBorderWidth": "border",
|
|
99
|
+
"thumbnailSize": "size"
|
|
100
|
+
},
|
|
101
|
+
"CarouselTabsPanelItem": {
|
|
102
|
+
"paddingLeft": "size",
|
|
103
|
+
"paddingRight": "size",
|
|
104
|
+
"paddingTop": "size",
|
|
105
|
+
"paddingBottom": "size",
|
|
106
|
+
"borderBottomColor": "color",
|
|
107
|
+
"borderBottomWidth": "border",
|
|
108
|
+
"borderBottomStyle": "borderStyle",
|
|
109
|
+
"flex": "integer",
|
|
110
|
+
"alignItems": "flexAlign",
|
|
111
|
+
"justifyContent": "flexJustifyContent",
|
|
112
|
+
"color": "color",
|
|
113
|
+
"fontSize": "fontSize",
|
|
114
|
+
"fontScaleCap": "fontSize",
|
|
115
|
+
"lineHeight": "lineHeight",
|
|
116
|
+
"letterSpacing": "letterSpacing",
|
|
117
|
+
"fontWeight": "fontWeight",
|
|
118
|
+
"fontName": "fontName"
|
|
91
119
|
},
|
|
92
120
|
"Checkbox": {
|
|
93
121
|
"containerBackgroundColor": "color",
|
|
@@ -617,6 +645,17 @@
|
|
|
617
645
|
"showStepName": "show",
|
|
618
646
|
"showStepTrackerLabel": "show"
|
|
619
647
|
},
|
|
648
|
+
"SkipLink": {
|
|
649
|
+
"backgroundColor": "color",
|
|
650
|
+
"color": "color",
|
|
651
|
+
"outlineColor": "color",
|
|
652
|
+
"outlineOffset": "border",
|
|
653
|
+
"outlineStyle": "borderStyle",
|
|
654
|
+
"outlineWidth": "border",
|
|
655
|
+
"paddingHorizontal": "size",
|
|
656
|
+
"paddingVertical": "size",
|
|
657
|
+
"borderRadius": "radius"
|
|
658
|
+
},
|
|
620
659
|
"Tabs": {
|
|
621
660
|
"nextIcon": "icon",
|
|
622
661
|
"previousIcon": "icon",
|
|
@@ -900,6 +939,43 @@
|
|
|
900
939
|
"type": "state"
|
|
901
940
|
}
|
|
902
941
|
},
|
|
942
|
+
"CarouselTabsPanelItem": {
|
|
943
|
+
"focus": {
|
|
944
|
+
"description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
945
|
+
"values": [
|
|
946
|
+
true
|
|
947
|
+
],
|
|
948
|
+
"type": "state"
|
|
949
|
+
},
|
|
950
|
+
"hover": {
|
|
951
|
+
"description": "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
952
|
+
"values": [
|
|
953
|
+
true
|
|
954
|
+
],
|
|
955
|
+
"type": "state"
|
|
956
|
+
},
|
|
957
|
+
"pressed": {
|
|
958
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
959
|
+
"values": [
|
|
960
|
+
true
|
|
961
|
+
],
|
|
962
|
+
"type": "state"
|
|
963
|
+
},
|
|
964
|
+
"inactive": {
|
|
965
|
+
"description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
|
|
966
|
+
"values": [
|
|
967
|
+
true
|
|
968
|
+
],
|
|
969
|
+
"type": "state"
|
|
970
|
+
},
|
|
971
|
+
"selected": {
|
|
972
|
+
"description": "Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.",
|
|
973
|
+
"values": [
|
|
974
|
+
true
|
|
975
|
+
],
|
|
976
|
+
"type": "state"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
903
979
|
"Checkbox": {
|
|
904
980
|
"checked": {
|
|
905
981
|
"description": "Corresponds to a selected state for a checkbox or radio",
|
|
@@ -1554,6 +1630,15 @@
|
|
|
1554
1630
|
],
|
|
1555
1631
|
"type": "state"
|
|
1556
1632
|
}
|
|
1633
|
+
},
|
|
1634
|
+
"SkipLink": {
|
|
1635
|
+
"focus": {
|
|
1636
|
+
"description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1637
|
+
"values": [
|
|
1638
|
+
true
|
|
1639
|
+
],
|
|
1640
|
+
"type": "state"
|
|
1641
|
+
}
|
|
1557
1642
|
}
|
|
1558
1643
|
}
|
|
1559
1644
|
},
|
|
@@ -6769,6 +6854,69 @@
|
|
|
6769
6854
|
}
|
|
6770
6855
|
}
|
|
6771
6856
|
},
|
|
6857
|
+
"SkipLink": {
|
|
6858
|
+
"docs": {
|
|
6859
|
+
"description": "A generic Skip link component, unstyled by default.\nA Skip link component help keyboard-only users, screen reader users to skip\nsections and navigate to the content they want.\n\n## Component API\n\nFor common uses, pass a `href` that is a # link to a DOM id that can be skipped to (web only).\n\nThe element with this ID should be focusable, e.g. `<Box nativeID=\"skip-target\" focusable>`.\n\nOther custom behaviour may be set by passing an `onPress` function, and routers may be integrated\nin the same way as other navigation-related components by passing a `LinkRouter`; but a # anchor\nhref on web and/or a `targetRef` for cross-platform applications is the recommended approach.\n\n## Visible styling\n\nWhen focused, the skip link shows as a visible element similar to a simplified ButtonLink using\nUDS theming. The `tokens` prop may be used to override these styles.\n\nTo control the background of a skip link, the following tokens can be used:\n\n- `backgroundColor`\n*\nIn order to control the color of the skip link text, the following tokens can be used:\n\n- `color`\n\n### Padding\n\nThe following padding tokens can be used:\n\n- `paddingHorizontal`\n- `paddingVertical`\n\n### Outline\n\nThe following tokens to control the outline:\n\n- `outlineColor`\n- `outlineOffset`\n- `outlineStyle`\n- `outlineWidth`\n\n## Usability and A11y guidelines\n\n- The skip link component is visually hidden until a keyboard press activates it.\n- Usually, you should place the skip link immediately after the opening <body> tag.\n- This lets users bypass top-level navigation links and jump to the main content on a page.\n- Also consider using SkipLink before a complex feature containing many focusable elements.\n\n## Accessibility\n\nSkip link supports all the common a11y and link props.",
|
|
6860
|
+
"props": {
|
|
6861
|
+
"children": {
|
|
6862
|
+
"type": {
|
|
6863
|
+
"name": "node"
|
|
6864
|
+
},
|
|
6865
|
+
"required": false,
|
|
6866
|
+
"description": "The text content shown or read out when the SkipLink is focused, usually a string."
|
|
6867
|
+
},
|
|
6868
|
+
"href": {
|
|
6869
|
+
"type": {
|
|
6870
|
+
"name": "string"
|
|
6871
|
+
},
|
|
6872
|
+
"required": false,
|
|
6873
|
+
"description": "The target to skip to. Usually an anchor link to a section id (e.g. href=\"#main-section\")."
|
|
6874
|
+
},
|
|
6875
|
+
"tokens": {
|
|
6876
|
+
"type": {
|
|
6877
|
+
"name": "custom",
|
|
6878
|
+
"raw": {
|
|
6879
|
+
"backgroundColor": "color",
|
|
6880
|
+
"color": "color",
|
|
6881
|
+
"outlineColor": "color",
|
|
6882
|
+
"outlineOffset": "border",
|
|
6883
|
+
"outlineStyle": "borderStyle",
|
|
6884
|
+
"outlineWidth": "border",
|
|
6885
|
+
"paddingHorizontal": "size",
|
|
6886
|
+
"paddingVertical": "size",
|
|
6887
|
+
"borderRadius": "radius"
|
|
6888
|
+
}
|
|
6889
|
+
},
|
|
6890
|
+
"required": false,
|
|
6891
|
+
"description": ""
|
|
6892
|
+
},
|
|
6893
|
+
"variant": {
|
|
6894
|
+
"type": {
|
|
6895
|
+
"name": "objectOf",
|
|
6896
|
+
"value": {
|
|
6897
|
+
"name": "union",
|
|
6898
|
+
"value": [
|
|
6899
|
+
{
|
|
6900
|
+
"name": "string"
|
|
6901
|
+
},
|
|
6902
|
+
{
|
|
6903
|
+
"name": "number"
|
|
6904
|
+
},
|
|
6905
|
+
{
|
|
6906
|
+
"name": "bool"
|
|
6907
|
+
}
|
|
6908
|
+
]
|
|
6909
|
+
}
|
|
6910
|
+
},
|
|
6911
|
+
"required": false,
|
|
6912
|
+
"description": ""
|
|
6913
|
+
}
|
|
6914
|
+
},
|
|
6915
|
+
"attributes": {
|
|
6916
|
+
"acceptsRNA11yProps": false
|
|
6917
|
+
}
|
|
6918
|
+
}
|
|
6919
|
+
},
|
|
6772
6920
|
"Spacer": {
|
|
6773
6921
|
"docs": {
|
|
6774
6922
|
"description": "An empty element used to create a gap between components that is sized according to the theme spacing scale,\npassing its `space` prop ({@link SpacingValue}) to `useSpacingScale`.\n\n## Simple spacing\n\nFor most simple uses, pass a number to Spacer's `space` prop referring to an index in the theme's\nspacing scale. For example, for a spacer of the theme's smallest non-zero spacing size:\n\n```jsx\n<Spacer space={1} />\n```\n\n## Responsive spacing\n\nDifferent spacing scale sizes may be chosen for different viewports by passing `space` a {@link SpacingObject}\nusing keys for the viewports at and above which certain spacing indexes should apply.\n\nThis can be useful when a Spacer is inside a layout with a shape that changes between viewports.\n\nFor example, a spacer might need no width below 'md' viewport because the items it separates will be on separate lines,\nbut may need a visible size above that viewport, and a wider size at the highest viewport:\n\n```jsx\n<Spacer space={{ xs: 0, md: 2, xl: 3 }} />\n```\n\nNote that themes may also define viewport-specific behaviour for indexes on the spacing scale. These viewport\nprops should only be used where necessary to achieve a certain responsive layoutm and shouldn't be used to replace\nor deviate from responsive spacing behaviour in a theme that is intended to apply universally.\n\n## More options\n\nSee `useSpacingScale` hook for more options that may be used with the `space` prop.\n\n## Accessibility\n\nSpacer has no content and is ignored by tools such as screen readers. Use `Divider` for\nseparations between elements that may be treated as semantically meaningful on web.",
|
|
@@ -7496,11 +7644,16 @@
|
|
|
7496
7644
|
"forceAbsoluteFontSizing": {
|
|
7497
7645
|
"name": "bool",
|
|
7498
7646
|
"required": false
|
|
7647
|
+
},
|
|
7648
|
+
"contentMaxWidth": {
|
|
7649
|
+
"name": "custom",
|
|
7650
|
+
"raw": "responsiveProps.getTypeOptionallyByViewport(PropTypes.number)",
|
|
7651
|
+
"required": false
|
|
7499
7652
|
}
|
|
7500
7653
|
}
|
|
7501
7654
|
},
|
|
7502
7655
|
"required": false,
|
|
7503
|
-
"description": "An object containing options allowing to customize the theming experience:\n\n- `forceAbsoluteFontSizing`: available on web only; when set to true, allows\n using absolute font sizing (in pixels, doesn't scale) instead of the\n relative sizing (in `rem`, scales depending on the browser settings)"
|
|
7656
|
+
"description": "An object containing options allowing to customize the theming experience:\n\n- `forceAbsoluteFontSizing`: available on web only; when set to true, allows\n using absolute font sizing (in pixels, doesn't scale) instead of the\n relative sizing (in `rem`, scales depending on the browser settings)\n- `contentMaxWidth`: allows configuration of the content max width to be used in components\n such as Footnote and Notification to avoid content to stretch width more then the page's width"
|
|
7504
7657
|
},
|
|
7505
7658
|
"children": {
|
|
7506
7659
|
"type": {
|
|
@@ -8138,6 +8291,27 @@
|
|
|
8138
8291
|
"required": false,
|
|
8139
8292
|
"description": "If true, the buttons cannot be interacted with, elements are set as `disabled` and if the\ntheme supports `inactive` appearances rules, these are applied."
|
|
8140
8293
|
},
|
|
8294
|
+
"hintPosition": {
|
|
8295
|
+
"defaultValue": {
|
|
8296
|
+
"value": "'inline'",
|
|
8297
|
+
"computed": false
|
|
8298
|
+
},
|
|
8299
|
+
"type": {
|
|
8300
|
+
"name": "enum",
|
|
8301
|
+
"value": [
|
|
8302
|
+
{
|
|
8303
|
+
"value": "'inline'",
|
|
8304
|
+
"computed": false
|
|
8305
|
+
},
|
|
8306
|
+
{
|
|
8307
|
+
"value": "'below'",
|
|
8308
|
+
"computed": false
|
|
8309
|
+
}
|
|
8310
|
+
]
|
|
8311
|
+
},
|
|
8312
|
+
"required": false,
|
|
8313
|
+
"description": "Position of the hint relative to label. Use `below` to display a larger hint below the label."
|
|
8314
|
+
},
|
|
8141
8315
|
"accessibilityRole": {
|
|
8142
8316
|
"defaultValue": {
|
|
8143
8317
|
"value": "maxValues === 1\n? 'radiogroup' // radiogroup is cross-platform; only web aria has generic groups\n: Platform.select({ web: 'group', default: 'none' })",
|
|
@@ -8523,6 +8697,13 @@
|
|
|
8523
8697
|
"required": false,
|
|
8524
8698
|
"description": "Minimal part of slide width must be swiped for changing index.\nOtherwise animation restore current slide. Default value 0.2 means that 20% must be swiped for change index"
|
|
8525
8699
|
},
|
|
8700
|
+
"title": {
|
|
8701
|
+
"defaultValue": {
|
|
8702
|
+
"value": "'carousel'",
|
|
8703
|
+
"computed": false
|
|
8704
|
+
},
|
|
8705
|
+
"required": false
|
|
8706
|
+
},
|
|
8526
8707
|
"springConfig": {
|
|
8527
8708
|
"defaultValue": {
|
|
8528
8709
|
"value": "undefined",
|
|
@@ -8534,9 +8715,37 @@
|
|
|
8534
8715
|
"required": false,
|
|
8535
8716
|
"description": "Carousel uses `Animated.spring` to animate slide changes, use this option to pass custom animation configuration"
|
|
8536
8717
|
},
|
|
8718
|
+
"thumbnails": {
|
|
8719
|
+
"defaultValue": {
|
|
8720
|
+
"value": "undefined",
|
|
8721
|
+
"computed": true
|
|
8722
|
+
},
|
|
8723
|
+
"type": {
|
|
8724
|
+
"name": "arrayOf",
|
|
8725
|
+
"value": {
|
|
8726
|
+
"name": "shape",
|
|
8727
|
+
"value": {
|
|
8728
|
+
"accessibilityLabel": {
|
|
8729
|
+
"name": "string",
|
|
8730
|
+
"required": false
|
|
8731
|
+
},
|
|
8732
|
+
"alt": {
|
|
8733
|
+
"name": "string",
|
|
8734
|
+
"required": false
|
|
8735
|
+
},
|
|
8736
|
+
"src": {
|
|
8737
|
+
"name": "string",
|
|
8738
|
+
"required": false
|
|
8739
|
+
}
|
|
8740
|
+
}
|
|
8741
|
+
}
|
|
8742
|
+
},
|
|
8743
|
+
"required": false,
|
|
8744
|
+
"description": "An array of objects containing information on the thumbnails to be rendered as navigation panel"
|
|
8745
|
+
},
|
|
8537
8746
|
"panelNavigation": {
|
|
8538
8747
|
"defaultValue": {
|
|
8539
|
-
"value": "<CarouselStepTracker
|
|
8748
|
+
"value": "thumbnails ? (\n <CarouselThumbnailNavigation thumbnails={thumbnails} />\n) : (\n <CarouselStepTracker />\n)",
|
|
8540
8749
|
"computed": false
|
|
8541
8750
|
},
|
|
8542
8751
|
"type": {
|
|
@@ -8634,27 +8843,23 @@
|
|
|
8634
8843
|
"required": false,
|
|
8635
8844
|
"description": "HTML tag to use for the Carousel item's immediate parent. Defaults to `'ul'` so that\nassistive technology tools know to intepret the carousel as a list.\n\nNote that if the immediate Carousel children do not all render as `'li'` elements,\nthis should be changed (e.g. pass tag=\"div\") because only 'li' is a valid child of 'ul'."
|
|
8636
8845
|
},
|
|
8637
|
-
"
|
|
8846
|
+
"accessibilityLabel": {
|
|
8638
8847
|
"defaultValue": {
|
|
8639
|
-
"value": "
|
|
8640
|
-
"computed":
|
|
8848
|
+
"value": "title",
|
|
8849
|
+
"computed": true
|
|
8641
8850
|
},
|
|
8642
8851
|
"type": {
|
|
8643
8852
|
"name": "string"
|
|
8644
8853
|
},
|
|
8645
8854
|
"required": false,
|
|
8646
|
-
"description": "Provide custom
|
|
8855
|
+
"description": "Provide custom accessibilityLabel for Carousel container"
|
|
8647
8856
|
},
|
|
8648
|
-
"
|
|
8857
|
+
"accessibilityLiveRegion": {
|
|
8649
8858
|
"defaultValue": {
|
|
8650
|
-
"value": "'
|
|
8859
|
+
"value": "'polite'",
|
|
8651
8860
|
"computed": false
|
|
8652
8861
|
},
|
|
8653
|
-
"
|
|
8654
|
-
"name": "string"
|
|
8655
|
-
},
|
|
8656
|
-
"required": false,
|
|
8657
|
-
"description": "Provide custom accessibilityLabel for Carousel container"
|
|
8862
|
+
"required": false
|
|
8658
8863
|
},
|
|
8659
8864
|
"tokens": {
|
|
8660
8865
|
"type": {
|
|
@@ -8665,7 +8870,16 @@
|
|
|
8665
8870
|
"showPreviousNextNavigation": "show",
|
|
8666
8871
|
"showPanelNavigation": "show",
|
|
8667
8872
|
"spaceBetweenSlideAndPreviousNextNavigation": "size",
|
|
8668
|
-
"spaceBetweenSlideAndPanelNavigation": "size"
|
|
8873
|
+
"spaceBetweenSlideAndPanelNavigation": "size",
|
|
8874
|
+
"thumbnailBorderColor": "color",
|
|
8875
|
+
"thumbnailBorderRadius": "radius",
|
|
8876
|
+
"thumbnailBorderWidth": "border",
|
|
8877
|
+
"thumbnailContainerPaddingTop": "size",
|
|
8878
|
+
"thumbnailMargin": "size",
|
|
8879
|
+
"thumbnailPadding": "size",
|
|
8880
|
+
"thumbnailSelectedBorderColor": "color",
|
|
8881
|
+
"thumbnailSelectedBorderWidth": "border",
|
|
8882
|
+
"thumbnailSize": "size"
|
|
8669
8883
|
}
|
|
8670
8884
|
},
|
|
8671
8885
|
"required": false,
|
|
@@ -8717,6 +8931,20 @@
|
|
|
8717
8931
|
"required": false,
|
|
8718
8932
|
"description": "Called when active index changed\nThis function is also provided with a parameter indicating changed index (either 1, or -1)\nUse it as follows:\n```js\n const onIndexChangedCallback = React.useCallback((changedIndex) => {\n console.log(changedIndex)\n }, []) // pass local dependencies as per your component\n <Carousel\n onIndexChanged={onIndexChangedCallback}\n >\n <Carousel.Item>First Slide</Carousel.Item>\n </Carousel>\n```\nCaution: Always consider wrapping your callback for `onIndexChanged` in `useCallback` in order to avoid bugs and performance issues"
|
|
8719
8933
|
},
|
|
8934
|
+
"skipLinkHref": {
|
|
8935
|
+
"type": {
|
|
8936
|
+
"name": "string"
|
|
8937
|
+
},
|
|
8938
|
+
"required": false,
|
|
8939
|
+
"description": "If this is a complex carousel with a lot of focusable content, pass a href for a skip link. Typically, this will be an anchor link\nwith the ID of a focusable element immediately after the Carousel, e.g. `'#section-2-heading'`."
|
|
8940
|
+
},
|
|
8941
|
+
"refocus": {
|
|
8942
|
+
"type": {
|
|
8943
|
+
"name": "bool"
|
|
8944
|
+
},
|
|
8945
|
+
"required": false,
|
|
8946
|
+
"description": "If true, whenever a new slide comes into view, the focus of the Carousel switches to the start.\n\nPass this as true when using carousel items that contain interactive content, so a user can easily tab into that content.\n\nIf skipLinkHref is passed, the focus target will be the SkipLink; if not, it'll be an empty element before the slide content."
|
|
8947
|
+
},
|
|
8720
8948
|
"onAnimationStart": {
|
|
8721
8949
|
"type": {
|
|
8722
8950
|
"name": "func"
|
|
@@ -8759,6 +8987,13 @@
|
|
|
8759
8987
|
},
|
|
8760
8988
|
"required": false,
|
|
8761
8989
|
"description": "Use this to override the default text for panel navigation"
|
|
8990
|
+
},
|
|
8991
|
+
"accessibilityRole": {
|
|
8992
|
+
"type": {
|
|
8993
|
+
"name": "string"
|
|
8994
|
+
},
|
|
8995
|
+
"required": false,
|
|
8996
|
+
"description": "Provide custom accessibilityRole for Carousel container"
|
|
8762
8997
|
}
|
|
8763
8998
|
},
|
|
8764
8999
|
"attributes": {
|
|
@@ -8897,37 +9132,395 @@
|
|
|
8897
9132
|
}
|
|
8898
9133
|
}
|
|
8899
9134
|
},
|
|
8900
|
-
"
|
|
9135
|
+
"CarouselTabs": {
|
|
8901
9136
|
"docs": {
|
|
8902
9137
|
"description": "",
|
|
8903
9138
|
"props": {
|
|
8904
|
-
"
|
|
9139
|
+
"refocus": {
|
|
9140
|
+
"defaultValue": {
|
|
9141
|
+
"value": "true",
|
|
9142
|
+
"computed": false
|
|
9143
|
+
},
|
|
8905
9144
|
"type": {
|
|
8906
|
-
"name": "
|
|
8907
|
-
"value": {
|
|
8908
|
-
"name": "element"
|
|
8909
|
-
}
|
|
9145
|
+
"name": "bool"
|
|
8910
9146
|
},
|
|
8911
|
-
"required":
|
|
8912
|
-
"description": ""
|
|
9147
|
+
"required": false,
|
|
9148
|
+
"description": "If true, whenever a new slide comes into view, the focus of the Carousel switches to the start.\n\nPass this as true when using carousel items that contain interactive content, so a user can easily tab into that content.\n\nIf skipLinkHref is passed, the focus target will be the SkipLink; if not, it'll be an empty element before the slide content."
|
|
8913
9149
|
},
|
|
8914
|
-
"
|
|
9150
|
+
"items": {
|
|
8915
9151
|
"type": {
|
|
8916
|
-
"name": "
|
|
9152
|
+
"name": "arrayOf",
|
|
9153
|
+
"value": {
|
|
9154
|
+
"name": "shape",
|
|
9155
|
+
"value": {
|
|
9156
|
+
"title": {
|
|
9157
|
+
"name": "string",
|
|
9158
|
+
"required": true
|
|
9159
|
+
},
|
|
9160
|
+
"content": {
|
|
9161
|
+
"name": "node",
|
|
9162
|
+
"required": true
|
|
9163
|
+
}
|
|
9164
|
+
}
|
|
9165
|
+
}
|
|
8917
9166
|
},
|
|
8918
|
-
"required":
|
|
8919
|
-
"description": ""
|
|
9167
|
+
"required": false,
|
|
9168
|
+
"description": "An array of objects where title is the string shown in the slide's tab and content is the JSX for the slide itself"
|
|
8920
9169
|
},
|
|
8921
|
-
"
|
|
9170
|
+
"tokens": {
|
|
8922
9171
|
"type": {
|
|
8923
|
-
"name": "
|
|
9172
|
+
"name": "custom",
|
|
9173
|
+
"raw": {
|
|
9174
|
+
"nextIcon": "icon",
|
|
9175
|
+
"previousIcon": "icon",
|
|
9176
|
+
"showPreviousNextNavigation": "show",
|
|
9177
|
+
"showPanelNavigation": "show",
|
|
9178
|
+
"spaceBetweenSlideAndPreviousNextNavigation": "size",
|
|
9179
|
+
"spaceBetweenSlideAndPanelNavigation": "size",
|
|
9180
|
+
"thumbnailBorderColor": "color",
|
|
9181
|
+
"thumbnailBorderRadius": "radius",
|
|
9182
|
+
"thumbnailBorderWidth": "border",
|
|
9183
|
+
"thumbnailContainerPaddingTop": "size",
|
|
9184
|
+
"thumbnailMargin": "size",
|
|
9185
|
+
"thumbnailPadding": "size",
|
|
9186
|
+
"thumbnailSelectedBorderColor": "color",
|
|
9187
|
+
"thumbnailSelectedBorderWidth": "border",
|
|
9188
|
+
"thumbnailSize": "size"
|
|
9189
|
+
}
|
|
8924
9190
|
},
|
|
8925
|
-
"required":
|
|
9191
|
+
"required": false,
|
|
8926
9192
|
"description": ""
|
|
8927
9193
|
},
|
|
8928
|
-
"
|
|
9194
|
+
"variant": {
|
|
8929
9195
|
"type": {
|
|
8930
|
-
"name": "
|
|
9196
|
+
"name": "objectOf",
|
|
9197
|
+
"value": {
|
|
9198
|
+
"name": "union",
|
|
9199
|
+
"value": [
|
|
9200
|
+
{
|
|
9201
|
+
"name": "string"
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
"name": "number"
|
|
9205
|
+
},
|
|
9206
|
+
{
|
|
9207
|
+
"name": "bool"
|
|
9208
|
+
}
|
|
9209
|
+
]
|
|
9210
|
+
}
|
|
9211
|
+
},
|
|
9212
|
+
"required": false,
|
|
9213
|
+
"description": ""
|
|
9214
|
+
},
|
|
9215
|
+
"children": {
|
|
9216
|
+
"type": {
|
|
9217
|
+
"name": "union",
|
|
9218
|
+
"value": [
|
|
9219
|
+
{
|
|
9220
|
+
"name": "arrayOf",
|
|
9221
|
+
"value": {
|
|
9222
|
+
"name": "node"
|
|
9223
|
+
}
|
|
9224
|
+
},
|
|
9225
|
+
{
|
|
9226
|
+
"name": "node"
|
|
9227
|
+
}
|
|
9228
|
+
]
|
|
9229
|
+
},
|
|
9230
|
+
"required": true,
|
|
9231
|
+
"description": "Slides to render in Carousel. Wrap individual slides in `Carousel.Item`"
|
|
9232
|
+
},
|
|
9233
|
+
"itemLabel": {
|
|
9234
|
+
"type": {
|
|
9235
|
+
"name": "string"
|
|
9236
|
+
},
|
|
9237
|
+
"required": false,
|
|
9238
|
+
"description": "Lowercase language-appropriate user-facing description of what each Carousel slide represents.\nThis is used when generating item labels. For example, if a carousel contains offers,\npass itemLabel=\"summer offer\" (or copy=\"fr\" and an appropriate French translation) to genereate\naccessible labels such as \"Summer offer 1 of 3\" and \"Show summer offer 2 of 3\"."
|
|
9239
|
+
},
|
|
9240
|
+
"previousNextNavigationPosition": {
|
|
9241
|
+
"type": {
|
|
9242
|
+
"name": "enum",
|
|
9243
|
+
"value": [
|
|
9244
|
+
{
|
|
9245
|
+
"value": "'inside'",
|
|
9246
|
+
"computed": false
|
|
9247
|
+
},
|
|
9248
|
+
{
|
|
9249
|
+
"value": "'outside'",
|
|
9250
|
+
"computed": false
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
"value": "'edge'",
|
|
9254
|
+
"computed": false
|
|
9255
|
+
}
|
|
9256
|
+
]
|
|
9257
|
+
},
|
|
9258
|
+
"required": false,
|
|
9259
|
+
"description": "`inside` renders the previous and next buttons inside the slide\n`outside` renders the previous and next buttons outside the slide\n`edge` renders the previous and next buttons at the edge of the slide"
|
|
9260
|
+
},
|
|
9261
|
+
"previousNextIconSize": {
|
|
9262
|
+
"type": {
|
|
9263
|
+
"name": "enum",
|
|
9264
|
+
"value": [
|
|
9265
|
+
{
|
|
9266
|
+
"value": "'default'",
|
|
9267
|
+
"computed": false
|
|
9268
|
+
},
|
|
9269
|
+
{
|
|
9270
|
+
"value": "'small'",
|
|
9271
|
+
"computed": false
|
|
9272
|
+
},
|
|
9273
|
+
{
|
|
9274
|
+
"value": "'large'",
|
|
9275
|
+
"computed": false
|
|
9276
|
+
}
|
|
9277
|
+
]
|
|
9278
|
+
},
|
|
9279
|
+
"required": false,
|
|
9280
|
+
"description": "Defines the size of the `IconButton` which is being used to render next and previous buttons"
|
|
9281
|
+
},
|
|
9282
|
+
"springConfig": {
|
|
9283
|
+
"type": {
|
|
9284
|
+
"name": "object"
|
|
9285
|
+
},
|
|
9286
|
+
"required": false,
|
|
9287
|
+
"description": "Carousel uses `Animated.spring` to animate slide changes, use this option to pass custom animation configuration"
|
|
9288
|
+
},
|
|
9289
|
+
"thumbnails": {
|
|
9290
|
+
"type": {
|
|
9291
|
+
"name": "arrayOf",
|
|
9292
|
+
"value": {
|
|
9293
|
+
"name": "shape",
|
|
9294
|
+
"value": {
|
|
9295
|
+
"accessibilityLabel": {
|
|
9296
|
+
"name": "string",
|
|
9297
|
+
"required": false
|
|
9298
|
+
},
|
|
9299
|
+
"alt": {
|
|
9300
|
+
"name": "string",
|
|
9301
|
+
"required": false
|
|
9302
|
+
},
|
|
9303
|
+
"src": {
|
|
9304
|
+
"name": "string",
|
|
9305
|
+
"required": false
|
|
9306
|
+
}
|
|
9307
|
+
}
|
|
9308
|
+
}
|
|
9309
|
+
},
|
|
9310
|
+
"required": false,
|
|
9311
|
+
"description": "An array of objects containing information on the thumbnails to be rendered as navigation panel"
|
|
9312
|
+
},
|
|
9313
|
+
"minDistanceForAction": {
|
|
9314
|
+
"type": {
|
|
9315
|
+
"name": "number"
|
|
9316
|
+
},
|
|
9317
|
+
"required": false,
|
|
9318
|
+
"description": "Minimal part of slide width must be swiped for changing index.\nOtherwise animation restore current slide. Default value 0.2 means that 20% must be swiped for change index"
|
|
9319
|
+
},
|
|
9320
|
+
"minDistanceToCapture": {
|
|
9321
|
+
"type": {
|
|
9322
|
+
"name": "number"
|
|
9323
|
+
},
|
|
9324
|
+
"required": false,
|
|
9325
|
+
"description": "Initiate animation after swipe this distance."
|
|
9326
|
+
},
|
|
9327
|
+
"onIndexChanged": {
|
|
9328
|
+
"type": {
|
|
9329
|
+
"name": "func"
|
|
9330
|
+
},
|
|
9331
|
+
"required": false,
|
|
9332
|
+
"description": "Called when active index changed\nThis function is also provided with a parameter indicating changed index (either 1, or -1)\nUse it as follows:\n```js\n const onIndexChangedCallback = React.useCallback((changedIndex) => {\n console.log(changedIndex)\n }, []) // pass local dependencies as per your component\n <Carousel\n onIndexChanged={onIndexChangedCallback}\n >\n <Carousel.Item>First Slide</Carousel.Item>\n </Carousel>\n```\nCaution: Always consider wrapping your callback for `onIndexChanged` in `useCallback` in order to avoid bugs and performance issues"
|
|
9333
|
+
},
|
|
9334
|
+
"skipLinkHref": {
|
|
9335
|
+
"type": {
|
|
9336
|
+
"name": "string"
|
|
9337
|
+
},
|
|
9338
|
+
"required": false,
|
|
9339
|
+
"description": "If this is a complex carousel with a lot of focusable content, pass a href for a skip link. Typically, this will be an anchor link\nwith the ID of a focusable element immediately after the Carousel, e.g. `'#section-2-heading'`."
|
|
9340
|
+
},
|
|
9341
|
+
"panelNavigation": {
|
|
9342
|
+
"type": {
|
|
9343
|
+
"name": "element"
|
|
9344
|
+
},
|
|
9345
|
+
"required": false,
|
|
9346
|
+
"description": "Use this to render a custom panel navigation element instead of the default StepTracker's based navigation\nYou can make use of `useCarousel` within your custom panel navigation component to hook into various Carousel states such as:\n- activeIndex: index of current slide\n- totalItems: total number of slides\nUse it as follows:\n```js\n <Carousel\n panelNavigation={<CustomPanelNavigation />}\n >\n <Carousel.Item>First Slide</Carousel.Item>\n </Carousel>\n```"
|
|
9347
|
+
},
|
|
9348
|
+
"onAnimationStart": {
|
|
9349
|
+
"type": {
|
|
9350
|
+
"name": "func"
|
|
9351
|
+
},
|
|
9352
|
+
"required": false,
|
|
9353
|
+
"description": "When slide animation start\nThis function is also provided with a parameter indicating the current slide index before animation starts\nUse it as follows:\n```js\n const onAnimationStartCallback = React.useCallback((currentIndex) => {\n console.log(currentIndex)\n }, []) // pass local dependencies as per your component\n <Carousel\n onAnimationStart={onAnimationStartCallback}\n >\n <Carousel.Item>First Slide</Carousel.Item>\n </Carousel>\n```\nCaution: Always consider wrapping your callback for `onAnimationStart` in `useCallback` in order to avoid bugs and performance issues"
|
|
9354
|
+
},
|
|
9355
|
+
"onAnimationEnd": {
|
|
9356
|
+
"type": {
|
|
9357
|
+
"name": "func"
|
|
9358
|
+
},
|
|
9359
|
+
"required": false,
|
|
9360
|
+
"description": "When slide animation end with parameter of current index (after animation ends)\nThis function is also provided with a parameter indicating the updated slide index after animation ends\nUse it as follows:\n```js\n const onAnimationEndCallback = React.useCallback((changedIndex) => {\n console.log(changedIndex)\n }, []) // pass local dependencies as per your component\n <Carousel\n onAnimationEnd={onAnimationEndCallback}\n >\n <Carousel.Item>First Slide</Carousel.Item>\n </Carousel>\n```\nCaution: Always consider wrapping your callback for `onAnimationEnd` in `useCallback` in order to avoid bugs and performance issues"
|
|
9361
|
+
},
|
|
9362
|
+
"panelNavigationTextDictionary": {
|
|
9363
|
+
"type": {
|
|
9364
|
+
"name": "shape",
|
|
9365
|
+
"value": {
|
|
9366
|
+
"en": {
|
|
9367
|
+
"name": "shape",
|
|
9368
|
+
"value": {
|
|
9369
|
+
"stepTrackerLabel": {
|
|
9370
|
+
"name": "string",
|
|
9371
|
+
"required": true
|
|
9372
|
+
}
|
|
9373
|
+
},
|
|
9374
|
+
"required": false
|
|
9375
|
+
},
|
|
9376
|
+
"fr": {
|
|
9377
|
+
"name": "shape",
|
|
9378
|
+
"value": {
|
|
9379
|
+
"stepTrackerLabel": {
|
|
9380
|
+
"name": "string",
|
|
9381
|
+
"required": true
|
|
9382
|
+
}
|
|
9383
|
+
},
|
|
9384
|
+
"required": false
|
|
9385
|
+
}
|
|
9386
|
+
}
|
|
9387
|
+
},
|
|
9388
|
+
"required": false,
|
|
9389
|
+
"description": "Use this to override the default text for panel navigation"
|
|
9390
|
+
},
|
|
9391
|
+
"accessibilityRole": {
|
|
9392
|
+
"type": {
|
|
9393
|
+
"name": "string"
|
|
9394
|
+
},
|
|
9395
|
+
"required": false,
|
|
9396
|
+
"description": "Provide custom accessibilityRole for Carousel container"
|
|
9397
|
+
},
|
|
9398
|
+
"accessibilityLabel": {
|
|
9399
|
+
"type": {
|
|
9400
|
+
"name": "string"
|
|
9401
|
+
},
|
|
9402
|
+
"required": false,
|
|
9403
|
+
"description": "Provide custom accessibilityLabel for Carousel container"
|
|
9404
|
+
},
|
|
9405
|
+
"tag": {
|
|
9406
|
+
"type": {
|
|
9407
|
+
"name": "enum",
|
|
9408
|
+
"value": [
|
|
9409
|
+
{
|
|
9410
|
+
"value": "'h1'",
|
|
9411
|
+
"computed": false
|
|
9412
|
+
},
|
|
9413
|
+
{
|
|
9414
|
+
"value": "'h2'",
|
|
9415
|
+
"computed": false
|
|
9416
|
+
},
|
|
9417
|
+
{
|
|
9418
|
+
"value": "'h3'",
|
|
9419
|
+
"computed": false
|
|
9420
|
+
},
|
|
9421
|
+
{
|
|
9422
|
+
"value": "'h4'",
|
|
9423
|
+
"computed": false
|
|
9424
|
+
},
|
|
9425
|
+
{
|
|
9426
|
+
"value": "'h5'",
|
|
9427
|
+
"computed": false
|
|
9428
|
+
},
|
|
9429
|
+
{
|
|
9430
|
+
"value": "'h6'",
|
|
9431
|
+
"computed": false
|
|
9432
|
+
},
|
|
9433
|
+
{
|
|
9434
|
+
"value": "'article'",
|
|
9435
|
+
"computed": false
|
|
9436
|
+
},
|
|
9437
|
+
{
|
|
9438
|
+
"value": "'aside'",
|
|
9439
|
+
"computed": false
|
|
9440
|
+
},
|
|
9441
|
+
{
|
|
9442
|
+
"value": "'blockquote'",
|
|
9443
|
+
"computed": false
|
|
9444
|
+
},
|
|
9445
|
+
{
|
|
9446
|
+
"value": "'footer'",
|
|
9447
|
+
"computed": false
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
"value": "'figure'",
|
|
9451
|
+
"computed": false
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
"value": "'form'",
|
|
9455
|
+
"computed": false
|
|
9456
|
+
},
|
|
9457
|
+
{
|
|
9458
|
+
"value": "'header'",
|
|
9459
|
+
"computed": false
|
|
9460
|
+
},
|
|
9461
|
+
{
|
|
9462
|
+
"value": "'ul'",
|
|
9463
|
+
"computed": false
|
|
9464
|
+
},
|
|
9465
|
+
{
|
|
9466
|
+
"value": "'li'",
|
|
9467
|
+
"computed": false
|
|
9468
|
+
},
|
|
9469
|
+
{
|
|
9470
|
+
"value": "'main'",
|
|
9471
|
+
"computed": false
|
|
9472
|
+
},
|
|
9473
|
+
{
|
|
9474
|
+
"value": "'nav'",
|
|
9475
|
+
"computed": false
|
|
9476
|
+
},
|
|
9477
|
+
{
|
|
9478
|
+
"value": "'section'",
|
|
9479
|
+
"computed": false
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"value": "'label'",
|
|
9483
|
+
"computed": false
|
|
9484
|
+
}
|
|
9485
|
+
]
|
|
9486
|
+
},
|
|
9487
|
+
"required": false,
|
|
9488
|
+
"description": "HTML tag to use for the Carousel item's immediate parent. Defaults to `'ul'` so that\nassistive technology tools know to intepret the carousel as a list.\n\nNote that if the immediate Carousel children do not all render as `'li'` elements,\nthis should be changed (e.g. pass tag=\"div\") because only 'li' is a valid child of 'ul'."
|
|
9489
|
+
}
|
|
9490
|
+
},
|
|
9491
|
+
"attributes": {
|
|
9492
|
+
"acceptsRNA11yProps": false
|
|
9493
|
+
}
|
|
9494
|
+
}
|
|
9495
|
+
},
|
|
9496
|
+
"CarouselProvider": {
|
|
9497
|
+
"docs": {
|
|
9498
|
+
"description": "",
|
|
9499
|
+
"props": {
|
|
9500
|
+
"refocus": {
|
|
9501
|
+
"defaultValue": {
|
|
9502
|
+
"value": "false",
|
|
9503
|
+
"computed": false
|
|
9504
|
+
},
|
|
9505
|
+
"type": {
|
|
9506
|
+
"name": "bool"
|
|
9507
|
+
},
|
|
9508
|
+
"required": false,
|
|
9509
|
+
"description": ""
|
|
9510
|
+
},
|
|
9511
|
+
"children": {
|
|
9512
|
+
"type": {
|
|
9513
|
+
"name": "arrayOf",
|
|
9514
|
+
"value": {
|
|
9515
|
+
"name": "element"
|
|
9516
|
+
}
|
|
9517
|
+
},
|
|
9518
|
+
"required": true,
|
|
9519
|
+
"description": ""
|
|
9520
|
+
},
|
|
9521
|
+
"activeIndex": {
|
|
9522
|
+
"type": {
|
|
9523
|
+
"name": "number"
|
|
8931
9524
|
},
|
|
8932
9525
|
"required": true,
|
|
8933
9526
|
"description": ""
|
|
@@ -8946,6 +9539,13 @@
|
|
|
8946
9539
|
"required": true,
|
|
8947
9540
|
"description": ""
|
|
8948
9541
|
},
|
|
9542
|
+
"itemLabel": {
|
|
9543
|
+
"type": {
|
|
9544
|
+
"name": "string"
|
|
9545
|
+
},
|
|
9546
|
+
"required": true,
|
|
9547
|
+
"description": ""
|
|
9548
|
+
},
|
|
8949
9549
|
"themeTokens": {
|
|
8950
9550
|
"type": {
|
|
8951
9551
|
"name": "custom",
|
|
@@ -8955,11 +9555,34 @@
|
|
|
8955
9555
|
"showPreviousNextNavigation": "show",
|
|
8956
9556
|
"showPanelNavigation": "show",
|
|
8957
9557
|
"spaceBetweenSlideAndPreviousNextNavigation": "size",
|
|
8958
|
-
"spaceBetweenSlideAndPanelNavigation": "size"
|
|
9558
|
+
"spaceBetweenSlideAndPanelNavigation": "size",
|
|
9559
|
+
"thumbnailBorderColor": "color",
|
|
9560
|
+
"thumbnailBorderRadius": "radius",
|
|
9561
|
+
"thumbnailBorderWidth": "border",
|
|
9562
|
+
"thumbnailContainerPaddingTop": "size",
|
|
9563
|
+
"thumbnailMargin": "size",
|
|
9564
|
+
"thumbnailPadding": "size",
|
|
9565
|
+
"thumbnailSelectedBorderColor": "color",
|
|
9566
|
+
"thumbnailSelectedBorderWidth": "border",
|
|
9567
|
+
"thumbnailSize": "size"
|
|
8959
9568
|
}
|
|
8960
9569
|
},
|
|
8961
9570
|
"required": false,
|
|
8962
9571
|
"description": ""
|
|
9572
|
+
},
|
|
9573
|
+
"totalItems": {
|
|
9574
|
+
"type": {
|
|
9575
|
+
"name": "number"
|
|
9576
|
+
},
|
|
9577
|
+
"required": true,
|
|
9578
|
+
"description": ""
|
|
9579
|
+
},
|
|
9580
|
+
"width": {
|
|
9581
|
+
"type": {
|
|
9582
|
+
"name": "number"
|
|
9583
|
+
},
|
|
9584
|
+
"required": true,
|
|
9585
|
+
"description": ""
|
|
8963
9586
|
}
|
|
8964
9587
|
},
|
|
8965
9588
|
"attributes": {
|
|
@@ -9004,6 +9627,27 @@
|
|
|
9004
9627
|
"required": false,
|
|
9005
9628
|
"description": "Array of objects containing specifics for each Checkbox to be rendered in the group."
|
|
9006
9629
|
},
|
|
9630
|
+
"hintPosition": {
|
|
9631
|
+
"defaultValue": {
|
|
9632
|
+
"value": "'inline'",
|
|
9633
|
+
"computed": false
|
|
9634
|
+
},
|
|
9635
|
+
"type": {
|
|
9636
|
+
"name": "enum",
|
|
9637
|
+
"value": [
|
|
9638
|
+
{
|
|
9639
|
+
"value": "'inline'",
|
|
9640
|
+
"computed": false
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
"value": "'below'",
|
|
9644
|
+
"computed": false
|
|
9645
|
+
}
|
|
9646
|
+
]
|
|
9647
|
+
},
|
|
9648
|
+
"required": false,
|
|
9649
|
+
"description": "Position of the hint relative to label. Use `below` to display a larger hint below the label."
|
|
9650
|
+
},
|
|
9007
9651
|
"tokens": {
|
|
9008
9652
|
"type": {
|
|
9009
9653
|
"name": "custom",
|
|
@@ -9703,6 +10347,27 @@
|
|
|
9703
10347
|
"required": false,
|
|
9704
10348
|
"description": "Array of objects containing specifics for each Radio to be rendered in the group."
|
|
9705
10349
|
},
|
|
10350
|
+
"hintPosition": {
|
|
10351
|
+
"defaultValue": {
|
|
10352
|
+
"value": "'inline'",
|
|
10353
|
+
"computed": false
|
|
10354
|
+
},
|
|
10355
|
+
"type": {
|
|
10356
|
+
"name": "enum",
|
|
10357
|
+
"value": [
|
|
10358
|
+
{
|
|
10359
|
+
"value": "'inline'",
|
|
10360
|
+
"computed": false
|
|
10361
|
+
},
|
|
10362
|
+
{
|
|
10363
|
+
"value": "'below'",
|
|
10364
|
+
"computed": false
|
|
10365
|
+
}
|
|
10366
|
+
]
|
|
10367
|
+
},
|
|
10368
|
+
"required": false,
|
|
10369
|
+
"description": "Position of the hint relative to label. Use `below` to display a larger hint below the label."
|
|
10370
|
+
},
|
|
9706
10371
|
"tokens": {
|
|
9707
10372
|
"type": {
|
|
9708
10373
|
"name": "custom",
|
|
@@ -9922,6 +10587,27 @@
|
|
|
9922
10587
|
"required": false,
|
|
9923
10588
|
"description": "Array of objects containing specifics for each RadioCard to be rendered in the group."
|
|
9924
10589
|
},
|
|
10590
|
+
"hintPosition": {
|
|
10591
|
+
"defaultValue": {
|
|
10592
|
+
"value": "'inline'",
|
|
10593
|
+
"computed": false
|
|
10594
|
+
},
|
|
10595
|
+
"type": {
|
|
10596
|
+
"name": "enum",
|
|
10597
|
+
"value": [
|
|
10598
|
+
{
|
|
10599
|
+
"value": "'inline'",
|
|
10600
|
+
"computed": false
|
|
10601
|
+
},
|
|
10602
|
+
{
|
|
10603
|
+
"value": "'below'",
|
|
10604
|
+
"computed": false
|
|
10605
|
+
}
|
|
10606
|
+
]
|
|
10607
|
+
},
|
|
10608
|
+
"required": false,
|
|
10609
|
+
"description": "Position of the hint relative to label. Use `below` to display a larger hint below the label."
|
|
10610
|
+
},
|
|
9925
10611
|
"tokens": {
|
|
9926
10612
|
"type": {
|
|
9927
10613
|
"name": "custom",
|
|
@@ -10691,6 +11377,27 @@
|
|
|
10691
11377
|
},
|
|
10692
11378
|
"required": false
|
|
10693
11379
|
},
|
|
11380
|
+
"hintPosition": {
|
|
11381
|
+
"defaultValue": {
|
|
11382
|
+
"value": "'inline'",
|
|
11383
|
+
"computed": false
|
|
11384
|
+
},
|
|
11385
|
+
"type": {
|
|
11386
|
+
"name": "enum",
|
|
11387
|
+
"value": [
|
|
11388
|
+
{
|
|
11389
|
+
"value": "'inline'",
|
|
11390
|
+
"computed": false
|
|
11391
|
+
},
|
|
11392
|
+
{
|
|
11393
|
+
"value": "'below'",
|
|
11394
|
+
"computed": false
|
|
11395
|
+
}
|
|
11396
|
+
]
|
|
11397
|
+
},
|
|
11398
|
+
"required": false,
|
|
11399
|
+
"description": "Position of the hint relative to label. Use `below` to display a larger hint below the label."
|
|
11400
|
+
},
|
|
10694
11401
|
"accessibilityRole": {
|
|
10695
11402
|
"defaultValue": {
|
|
10696
11403
|
"value": "maxValues === 1\n? 'radiogroup' // radiogroup is cross-platform; only web aria has generic groups\n: Platform.select({ web: 'group', default: 'none' })",
|