@thecb/components 9.2.4-beta.3 → 9.2.4-beta.4

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": "9.2.4-beta.3",
3
+ "version": "9.2.4-beta.4",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -123,9 +123,10 @@ const RadioSection = ({
123
123
  key={`item-${section.id}`}
124
124
  extraStyles={borderStyles}
125
125
  role="radio"
126
+ aria-label={section.title}
126
127
  aria-checked={openSection === section.id}
127
128
  aria-disabled={section.disabled}
128
- required={section?.required}
129
+ required={section?.required || isRequired}
129
130
  >
130
131
  <Stack childGap="0">
131
132
  <Box
@@ -179,7 +180,7 @@ const RadioSection = ({
179
180
  : () => toggleOpenSection(section.id)
180
181
  }
181
182
  tabIndex="-1"
182
- required={section?.required}
183
+ required={section?.required || isRequired}
183
184
  />
184
185
  </Box>
185
186
  )}
@@ -52,7 +52,12 @@ const sections = [
52
52
  rightIcons: cardIcons,
53
53
  required: true
54
54
  },
55
- { id: "bar", title: "Bar", content: <div>Content 1</div>, required: true },
55
+ {
56
+ id: "new-bank-account-section",
57
+ title: "New Bank Account",
58
+ content: <div>Content 1</div>,
59
+ required: true
60
+ },
56
61
  { id: "baz", title: "Baz", content: <div>Content 2</div> }
57
62
  ];
58
63