@telus-uds/components-base 1.11.0 → 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.
Files changed (132) hide show
  1. package/CHANGELOG.md +36 -2
  2. package/component-docs.json +796 -33
  3. package/lib/BaseProvider/index.js +7 -2
  4. package/lib/Button/ButtonBase.js +18 -14
  5. package/lib/Button/ButtonGroup.js +7 -0
  6. package/lib/Carousel/Carousel.js +83 -58
  7. package/lib/Carousel/CarouselContext.js +22 -8
  8. package/lib/Carousel/CarouselFirstFocus/CarouselFirstFocus.js +73 -0
  9. package/lib/Carousel/CarouselStepTracker/CarouselStepTracker.js +56 -0
  10. package/lib/Carousel/CarouselStepTracker/index.js +13 -0
  11. package/lib/Carousel/CarouselTabs/CarouselTabs.js +70 -0
  12. package/lib/Carousel/CarouselTabs/CarouselTabsPanel.js +95 -0
  13. package/lib/Carousel/CarouselTabs/CarouselTabsPanelItem.js +148 -0
  14. package/lib/Carousel/CarouselTabs/index.js +13 -0
  15. package/lib/Carousel/CarouselThumbnail.js +99 -0
  16. package/lib/Carousel/CarouselThumbnailNavigation.js +87 -0
  17. package/lib/Carousel/dictionary.js +4 -2
  18. package/lib/Carousel/index.js +10 -1
  19. package/lib/Checkbox/Checkbox.js +7 -3
  20. package/lib/Checkbox/CheckboxGroup.js +8 -1
  21. package/lib/Feedback/Feedback.js +18 -10
  22. package/lib/Icon/IconText.js +5 -0
  23. package/lib/InputLabel/InputLabel.js +11 -5
  24. package/lib/Link/InlinePressable.js +1 -8
  25. package/lib/Link/LinkBase.js +12 -9
  26. package/lib/List/ListItem.js +7 -3
  27. package/lib/Notification/Notification.js +7 -2
  28. package/lib/Pagination/Pagination.js +7 -3
  29. package/lib/Radio/RadioGroup.js +8 -0
  30. package/lib/RadioCard/RadioCard.js +6 -1
  31. package/lib/RadioCard/RadioCardGroup.js +7 -0
  32. package/lib/Select/Select.js +7 -3
  33. package/lib/SkipLink/SkipLink.js +216 -0
  34. package/lib/SkipLink/index.js +13 -0
  35. package/lib/StepTracker/Step.js +8 -4
  36. package/lib/StepTracker/StepTracker.js +7 -3
  37. package/lib/Tabs/TabsItem.js +4 -0
  38. package/lib/TextInput/TextInputBase.js +7 -3
  39. package/lib/ThemeProvider/ThemeProvider.js +25 -3
  40. package/lib/ThemeProvider/utils/styles.js +8 -1
  41. package/lib/ThemeProvider/utils/theme-tokens.js +1 -1
  42. package/lib/ToggleSwitch/ToggleSwitchGroup.js +7 -0
  43. package/lib/Typography/Typography.js +6 -2
  44. package/lib/index.js +9 -0
  45. package/lib/utils/index.js +9 -0
  46. package/lib-module/BaseProvider/index.js +7 -2
  47. package/lib-module/Button/ButtonBase.js +7 -3
  48. package/lib-module/Button/ButtonGroup.js +7 -0
  49. package/lib-module/Carousel/Carousel.js +80 -57
  50. package/lib-module/Carousel/CarouselContext.js +21 -8
  51. package/lib-module/Carousel/CarouselFirstFocus/CarouselFirstFocus.js +51 -0
  52. package/lib-module/Carousel/CarouselStepTracker/CarouselStepTracker.js +42 -0
  53. package/lib-module/Carousel/CarouselStepTracker/index.js +2 -0
  54. package/lib-module/Carousel/CarouselTabs/CarouselTabs.js +50 -0
  55. package/lib-module/Carousel/CarouselTabs/CarouselTabsPanel.js +76 -0
  56. package/lib-module/Carousel/CarouselTabs/CarouselTabsPanelItem.js +126 -0
  57. package/lib-module/Carousel/CarouselTabs/index.js +2 -0
  58. package/lib-module/Carousel/CarouselThumbnail.js +85 -0
  59. package/lib-module/Carousel/CarouselThumbnailNavigation.js +66 -0
  60. package/lib-module/Carousel/dictionary.js +4 -2
  61. package/lib-module/Carousel/index.js +2 -1
  62. package/lib-module/Checkbox/Checkbox.js +8 -4
  63. package/lib-module/Checkbox/CheckboxGroup.js +8 -1
  64. package/lib-module/Feedback/Feedback.js +19 -11
  65. package/lib-module/Icon/IconText.js +5 -0
  66. package/lib-module/InputLabel/InputLabel.js +12 -6
  67. package/lib-module/Link/InlinePressable.js +1 -8
  68. package/lib-module/Link/LinkBase.js +13 -10
  69. package/lib-module/List/ListItem.js +8 -4
  70. package/lib-module/Notification/Notification.js +8 -3
  71. package/lib-module/Pagination/Pagination.js +8 -4
  72. package/lib-module/Radio/RadioGroup.js +8 -0
  73. package/lib-module/RadioCard/RadioCard.js +7 -2
  74. package/lib-module/RadioCard/RadioCardGroup.js +7 -0
  75. package/lib-module/Select/Select.js +8 -4
  76. package/lib-module/SkipLink/SkipLink.js +188 -0
  77. package/lib-module/SkipLink/index.js +2 -0
  78. package/lib-module/StepTracker/Step.js +9 -5
  79. package/lib-module/StepTracker/StepTracker.js +8 -4
  80. package/lib-module/Tabs/TabsItem.js +5 -1
  81. package/lib-module/TextInput/TextInputBase.js +8 -4
  82. package/lib-module/ThemeProvider/ThemeProvider.js +24 -3
  83. package/lib-module/ThemeProvider/utils/styles.js +8 -1
  84. package/lib-module/ThemeProvider/utils/theme-tokens.js +1 -1
  85. package/lib-module/ToggleSwitch/ToggleSwitchGroup.js +7 -0
  86. package/lib-module/Typography/Typography.js +7 -3
  87. package/lib-module/index.js +1 -0
  88. package/lib-module/utils/index.js +1 -0
  89. package/package.json +46 -47
  90. package/src/BaseProvider/index.jsx +6 -3
  91. package/src/Button/ButtonBase.jsx +8 -3
  92. package/src/Button/ButtonGroup.jsx +6 -0
  93. package/src/Carousel/Carousel.jsx +91 -64
  94. package/src/Carousel/CarouselContext.jsx +29 -5
  95. package/src/Carousel/CarouselFirstFocus/CarouselFirstFocus.jsx +49 -0
  96. package/src/Carousel/CarouselStepTracker/CarouselStepTracker.jsx +36 -0
  97. package/src/Carousel/CarouselStepTracker/index.js +3 -0
  98. package/src/Carousel/CarouselTabs/CarouselTabs.jsx +37 -0
  99. package/src/Carousel/CarouselTabs/CarouselTabsPanel.jsx +69 -0
  100. package/src/Carousel/CarouselTabs/CarouselTabsPanelItem.jsx +119 -0
  101. package/src/Carousel/CarouselTabs/index.js +3 -0
  102. package/src/Carousel/CarouselThumbnail.jsx +77 -0
  103. package/src/Carousel/CarouselThumbnailNavigation.jsx +53 -0
  104. package/src/Carousel/dictionary.js +4 -2
  105. package/src/Carousel/index.js +1 -0
  106. package/src/Checkbox/Checkbox.jsx +14 -11
  107. package/src/Checkbox/CheckboxGroup.jsx +8 -1
  108. package/src/Feedback/Feedback.jsx +14 -7
  109. package/src/Icon/IconText.jsx +2 -0
  110. package/src/InputLabel/InputLabel.jsx +13 -12
  111. package/src/Link/InlinePressable.jsx +2 -8
  112. package/src/Link/LinkBase.jsx +17 -20
  113. package/src/List/ListItem.jsx +9 -4
  114. package/src/Notification/Notification.jsx +5 -3
  115. package/src/Pagination/Pagination.jsx +6 -4
  116. package/src/Radio/RadioGroup.jsx +7 -0
  117. package/src/RadioCard/RadioCard.jsx +3 -2
  118. package/src/RadioCard/RadioCardGroup.jsx +6 -0
  119. package/src/Select/Select.jsx +12 -3
  120. package/src/SkipLink/SkipLink.jsx +179 -0
  121. package/src/SkipLink/index.js +3 -0
  122. package/src/StepTracker/Step.jsx +12 -4
  123. package/src/StepTracker/StepTracker.jsx +11 -10
  124. package/src/Tabs/TabsItem.jsx +3 -2
  125. package/src/TextInput/TextInputBase.jsx +11 -3
  126. package/src/ThemeProvider/ThemeProvider.jsx +22 -3
  127. package/src/ThemeProvider/utils/styles.js +9 -1
  128. package/src/ThemeProvider/utils/theme-tokens.js +1 -1
  129. package/src/ToggleSwitch/ToggleSwitchGroup.jsx +6 -0
  130. package/src/Typography/Typography.jsx +11 -12
  131. package/src/index.js +1 -0
  132. package/src/utils/index.js +1 -0
@@ -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
  },
@@ -1888,6 +1973,13 @@
1888
1973
  "docs": {
1889
1974
  "description": "",
1890
1975
  "props": {
1976
+ "children": {
1977
+ "type": {
1978
+ "name": "node"
1979
+ },
1980
+ "required": true,
1981
+ "description": ""
1982
+ },
1891
1983
  "defaultTheme": {
1892
1984
  "type": {
1893
1985
  "name": "custom",
@@ -1896,11 +1988,17 @@
1896
1988
  "required": false,
1897
1989
  "description": ""
1898
1990
  },
1899
- "children": {
1991
+ "themeOptions": {
1900
1992
  "type": {
1901
- "name": "node"
1993
+ "name": "shape",
1994
+ "value": {
1995
+ "forceAbsoluteFontSizing": {
1996
+ "name": "bool",
1997
+ "required": false
1998
+ }
1999
+ }
1902
2000
  },
1903
- "required": true,
2001
+ "required": false,
1904
2002
  "description": ""
1905
2003
  }
1906
2004
  },
@@ -6756,6 +6854,69 @@
6756
6854
  }
6757
6855
  }
6758
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
+ },
6759
6920
  "Spacer": {
6760
6921
  "docs": {
6761
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.",
@@ -7472,6 +7633,28 @@
7472
7633
  "docs": {
7473
7634
  "description": "",
7474
7635
  "props": {
7636
+ "themeOptions": {
7637
+ "defaultValue": {
7638
+ "value": "{ forceAbsoluteFontSizing: true }",
7639
+ "computed": false
7640
+ },
7641
+ "type": {
7642
+ "name": "shape",
7643
+ "value": {
7644
+ "forceAbsoluteFontSizing": {
7645
+ "name": "bool",
7646
+ "required": false
7647
+ },
7648
+ "contentMaxWidth": {
7649
+ "name": "custom",
7650
+ "raw": "responsiveProps.getTypeOptionallyByViewport(PropTypes.number)",
7651
+ "required": false
7652
+ }
7653
+ }
7654
+ },
7655
+ "required": false,
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"
7657
+ },
7475
7658
  "children": {
7476
7659
  "type": {
7477
7660
  "name": "node"
@@ -8108,6 +8291,27 @@
8108
8291
  "required": false,
8109
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."
8110
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
+ },
8111
8315
  "accessibilityRole": {
8112
8316
  "defaultValue": {
8113
8317
  "value": "maxValues === 1\n? 'radiogroup' // radiogroup is cross-platform; only web aria has generic groups\n: Platform.select({ web: 'group', default: 'none' })",
@@ -8493,6 +8697,13 @@
8493
8697
  "required": false,
8494
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"
8495
8699
  },
8700
+ "title": {
8701
+ "defaultValue": {
8702
+ "value": "'carousel'",
8703
+ "computed": false
8704
+ },
8705
+ "required": false
8706
+ },
8496
8707
  "springConfig": {
8497
8708
  "defaultValue": {
8498
8709
  "value": "undefined",
@@ -8504,6 +8715,45 @@
8504
8715
  "required": false,
8505
8716
  "description": "Carousel uses `Animated.spring` to animate slide changes, use this option to pass custom animation configuration"
8506
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
+ },
8746
+ "panelNavigation": {
8747
+ "defaultValue": {
8748
+ "value": "thumbnails ? (\n <CarouselThumbnailNavigation thumbnails={thumbnails} />\n) : (\n <CarouselStepTracker />\n)",
8749
+ "computed": false
8750
+ },
8751
+ "type": {
8752
+ "name": "element"
8753
+ },
8754
+ "required": false,
8755
+ "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```"
8756
+ },
8507
8757
  "tag": {
8508
8758
  "defaultValue": {
8509
8759
  "value": "'ul'",
@@ -8593,27 +8843,23 @@
8593
8843
  "required": false,
8594
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'."
8595
8845
  },
8596
- "accessibilityRole": {
8846
+ "accessibilityLabel": {
8597
8847
  "defaultValue": {
8598
- "value": "'adjustable'",
8599
- "computed": false
8848
+ "value": "title",
8849
+ "computed": true
8600
8850
  },
8601
8851
  "type": {
8602
8852
  "name": "string"
8603
8853
  },
8604
8854
  "required": false,
8605
- "description": "Provide custom accessibilityRole for Carousel container"
8855
+ "description": "Provide custom accessibilityLabel for Carousel container"
8606
8856
  },
8607
- "accessibilityLabel": {
8857
+ "accessibilityLiveRegion": {
8608
8858
  "defaultValue": {
8609
- "value": "'carousel'",
8859
+ "value": "'polite'",
8610
8860
  "computed": false
8611
8861
  },
8612
- "type": {
8613
- "name": "string"
8614
- },
8615
- "required": false,
8616
- "description": "Provide custom accessibilityLabel for Carousel container"
8862
+ "required": false
8617
8863
  },
8618
8864
  "tokens": {
8619
8865
  "type": {
@@ -8624,7 +8870,16 @@
8624
8870
  "showPreviousNextNavigation": "show",
8625
8871
  "showPanelNavigation": "show",
8626
8872
  "spaceBetweenSlideAndPreviousNextNavigation": "size",
8627
- "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"
8628
8883
  }
8629
8884
  },
8630
8885
  "required": false,
@@ -8676,12 +8931,19 @@
8676
8931
  "required": false,
8677
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"
8678
8933
  },
8679
- "onRenderPanelNavigation": {
8934
+ "skipLinkHref": {
8680
8935
  "type": {
8681
- "name": "func"
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"
8682
8944
  },
8683
8945
  "required": false,
8684
- "description": "Use this to render a custom panel navigation element instead of dots navigation\nThis function is also provided with an object with the following properties\nactiveIndex: index of current slide\ntotalItems: total number of slides\nUse it as follows:\n```js\n <Carousel\n onRenderPanelNavigation={({ totalItems, activeIndex }) => <Text>Showing {activeIndex + 1}</Text>}\n >\n <Carousel.Item>First Slide</Carousel.Item>\n </Carousel>\n```"
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."
8685
8947
  },
8686
8948
  "onAnimationStart": {
8687
8949
  "type": {
@@ -8725,6 +8987,13 @@
8725
8987
  },
8726
8988
  "required": false,
8727
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"
8728
8997
  }
8729
8998
  },
8730
8999
  "attributes": {
@@ -8863,35 +9132,393 @@
8863
9132
  }
8864
9133
  }
8865
9134
  },
8866
- "CarouselProvider": {
9135
+ "CarouselTabs": {
8867
9136
  "docs": {
8868
9137
  "description": "",
8869
9138
  "props": {
8870
- "children": {
9139
+ "refocus": {
9140
+ "defaultValue": {
9141
+ "value": "true",
9142
+ "computed": false
9143
+ },
8871
9144
  "type": {
8872
- "name": "arrayOf",
8873
- "value": {
8874
- "name": "element"
8875
- }
9145
+ "name": "bool"
8876
9146
  },
8877
- "required": true,
8878
- "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."
8879
9149
  },
8880
- "activeIndex": {
9150
+ "items": {
8881
9151
  "type": {
8882
- "name": "number"
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
+ }
8883
9166
  },
8884
- "required": true,
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"
9169
+ },
9170
+ "tokens": {
9171
+ "type": {
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
+ }
9190
+ },
9191
+ "required": false,
8885
9192
  "description": ""
8886
9193
  },
8887
- "totalItems": {
9194
+ "variant": {
9195
+ "type": {
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": {
8888
9314
  "type": {
8889
9315
  "name": "number"
8890
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
+ },
8891
9518
  "required": true,
8892
9519
  "description": ""
8893
9520
  },
8894
- "width": {
9521
+ "activeIndex": {
8895
9522
  "type": {
8896
9523
  "name": "number"
8897
9524
  },
@@ -8904,6 +9531,58 @@
8904
9531
  },
8905
9532
  "required": true,
8906
9533
  "description": ""
9534
+ },
9535
+ "getCopyWithPlaceholders": {
9536
+ "type": {
9537
+ "name": "func"
9538
+ },
9539
+ "required": true,
9540
+ "description": ""
9541
+ },
9542
+ "itemLabel": {
9543
+ "type": {
9544
+ "name": "string"
9545
+ },
9546
+ "required": true,
9547
+ "description": ""
9548
+ },
9549
+ "themeTokens": {
9550
+ "type": {
9551
+ "name": "custom",
9552
+ "raw": {
9553
+ "nextIcon": "icon",
9554
+ "previousIcon": "icon",
9555
+ "showPreviousNextNavigation": "show",
9556
+ "showPanelNavigation": "show",
9557
+ "spaceBetweenSlideAndPreviousNextNavigation": "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"
9568
+ }
9569
+ },
9570
+ "required": false,
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": ""
8907
9586
  }
8908
9587
  },
8909
9588
  "attributes": {
@@ -8913,7 +9592,7 @@
8913
9592
  },
8914
9593
  "CheckboxGroup": {
8915
9594
  "docs": {
8916
- "description": "A group of Checkboxs that behave as a fieldset. Use when users select any number of choices from options.\n\n## Component API\n\nUse the `items` prop to pass an array of objects describing each Checkbox in the group:\n\n - `label`: main text passed to CheckboxGroup's `label` prop\n - `id`: identifier used to store which CheckboxGroup is selected (uses `label` if undefinded)\n - `onChange`: optional function called on selection, in addition to updating the group's selection state\n\n### Controlled version\n\nIf the selection state is controlled from outside, it needs to receive `checkedId` and `onChange` props.\n\n### Uncontrolled version\n\nIf the CheckboxGroup manages its own state, you can use `initialCheckedId` prop to provide the initial value.\nWhenever the radio card gets toggled, it calls the `onChange` callback with the new value (string).\n\n### Use in forms\n\nFor web forms, the `name` prop may be used to define the name of the group's `fieldset` and input elements.\n\n### Validation\n\nValidation state may be set by passing 'error' or 'success' to the `validation` prop.\n\n## A11y guidelines\n\nCheckboxGroup accepts all the common accessibility props, and controls the accessibility state\nof children like Checkbox and Feedback based on current state.\n\n@example\n```jsx\n<CheckboxGroup\n initialCheckedId=\"check1\"\n items={[\n { label: 'Checkbox 1', id: 'check1' },\n { label: 'Checkbox 2', id: 'check2' },\n { label: 'Checkbox 3', id: 'check3' }\n ]}\n legend=\"Checkboxes\"\n hint=\"Choose from these options\"\n/>\n```",
9595
+ "description": "A group of Checkboxs that behave as a fieldset. Use when users select any number of choices from options.\n\n## Component API\n\nUse the `items` prop to pass an array of objects describing each Checkbox in the group:\n\n - `label`: main text passed to CheckboxGroup's `label` prop\n - `id`: identifier used to store which CheckboxGroup is selected (uses `label` if undefinded)\n - `onChange`: optional function called on selection, in addition to updating the group's selection state\n\n### Controlled version\n\nIf the selection state is controlled from outside, it needs to receive `checkedId` and `onChange` props.\n\n### Uncontrolled version\n\nIf the CheckboxGroup manages its own state, you can use `initialCheckedId` prop to provide the initial value.\nWhenever the radio card gets toggled, it calls the `onChange` callback with the new value (string).\n\n### Use in forms\n\nFor web forms, the `name` prop may be used to define the name of the group's `fieldset` and input elements.\n\n### Validation\n\nValidation state may be set by passing 'error' or 'success' to the `validation` prop.\n\n## A11y guidelines\n\nCheckboxGroup accepts all the common accessibility props, and controls the accessibility state\nof children like Checkbox and Feedback based on current state.\n\n@example\n```jsx\n<CheckboxGroup\n initialCheckedIds=\"check1\"\n items={[\n { label: 'Checkbox 1', id: 'check1' },\n { label: 'Checkbox 2', id: 'check2' },\n { label: 'Checkbox 3', id: 'check3' }\n ]}\n legend=\"Checkboxes\"\n hint=\"Choose from these options\"\n/>\n```",
8917
9596
  "props": {
8918
9597
  "items": {
8919
9598
  "defaultValue": {
@@ -8948,6 +9627,27 @@
8948
9627
  "required": false,
8949
9628
  "description": "Array of objects containing specifics for each Checkbox to be rendered in the group."
8950
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
+ },
8951
9651
  "tokens": {
8952
9652
  "type": {
8953
9653
  "name": "custom",
@@ -9647,6 +10347,27 @@
9647
10347
  "required": false,
9648
10348
  "description": "Array of objects containing specifics for each Radio to be rendered in the group."
9649
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
+ },
9650
10371
  "tokens": {
9651
10372
  "type": {
9652
10373
  "name": "custom",
@@ -9866,6 +10587,27 @@
9866
10587
  "required": false,
9867
10588
  "description": "Array of objects containing specifics for each RadioCard to be rendered in the group."
9868
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
+ },
9869
10611
  "tokens": {
9870
10612
  "type": {
9871
10613
  "name": "custom",
@@ -10635,6 +11377,27 @@
10635
11377
  },
10636
11378
  "required": false
10637
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
+ },
10638
11401
  "accessibilityRole": {
10639
11402
  "defaultValue": {
10640
11403
  "value": "maxValues === 1\n? 'radiogroup' // radiogroup is cross-platform; only web aria has generic groups\n: Platform.select({ web: 'group', default: 'none' })",