@thecb/components 7.10.1-beta.6 → 7.10.1-beta.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.10.1-beta.6",
3
+ "version": "7.10.1-beta.8",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -42,7 +42,7 @@ const RadioSection = ({
42
42
  staggeredAnimation = false,
43
43
  initiallyOpen = true,
44
44
  openHeight = "auto",
45
- ariaDescribedby
45
+ ariaDescribedBy
46
46
  }) => {
47
47
  const handleKeyDown = (id, e) => {
48
48
  if (e?.keyCode === 13) {
@@ -119,9 +119,7 @@ const RadioSection = ({
119
119
  <Stack childGap="0">
120
120
  <Box
121
121
  padding={
122
- section.hideRadioButton
123
- ? "1.5rem"
124
- : "1.25rem 1.5rem 1.25rem 1.25rem"
122
+ section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem"
125
123
  }
126
124
  background={
127
125
  section.disabled
@@ -162,7 +160,7 @@ const RadioSection = ({
162
160
  name={
163
161
  createIdFromString(section.title) || section.id
164
162
  }
165
- ariaDescribedby={ariaDescribedby}
163
+ ariaDescribedBy={ariaDescribedBy}
166
164
  radioOn={openSection === section.id}
167
165
  radioFocused={focused === section.id}
168
166
  toggleRadio={