@thecb/components 9.5.0-beta.7 → 9.5.0-beta.9

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.5.0-beta.7",
3
+ "version": "9.5.0-beta.9",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -196,7 +196,7 @@ const InnerRadioSection = ({
196
196
  animate="open"
197
197
  exit="closed"
198
198
  variants={wrapper}
199
- extraStyles={`transform-origin: 100% 0; border-top: 1px solid ${themeValues.borderColor}`}
199
+ extraStyles={`transform-origin: 100% 0; border-top: 0;`}
200
200
  >
201
201
  {section.content}
202
202
  </Motion>
@@ -149,12 +149,11 @@ const RadioSection = ({
149
149
  openSection={openSection}
150
150
  toggleOpenSection={toggleOpenSection}
151
151
  isLastGroupedItemInSection={
152
- sectionGroup.indexOf(section) === sectionGroup.length - 1
152
+ sectionIndex === sectionGroup.length - 1
153
153
  }
154
154
  />
155
- {sectionGroup.indexOf(section) === sectionGroup.length - 1 &&
156
- groupedSections.indexOf(sectionGroup) !==
157
- groupedSections.length - 1 && (
155
+ {sectionIndex === sectionGroup.length - 1 &&
156
+ sectionGroupIndex !== groupedSections.length - 1 && (
158
157
  <SolidDivider
159
158
  borderSize="1px"
160
159
  borderColor={MANATEE_GREY}