@thecb/components 9.3.4-beta.1 → 9.3.4-beta.2

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.3.4-beta.1",
3
+ "version": "9.3.4-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -79,7 +79,7 @@ const InnerRadioSection = ({
79
79
  ref={sectionRefs.current[sectionIndex]}
80
80
  onBlur={() => !section.disabled && setFocused(null)}
81
81
  onFocus={() => !section.disabled && setFocused(section.id)}
82
- onKeyDown={onKeyDown} // DIFFERENT
82
+ onKeyDown={onKeyDown}
83
83
  hoverStyles={themeValues.focusStyles}
84
84
  animate={openSection === section.id ? "open" : "closed"}
85
85
  initial={initiallyOpen ? "open" : "closed"}
@@ -89,8 +89,8 @@ const InnerRadioSection = ({
89
89
  aria-checked={openSection === section.id}
90
90
  aria-disabled={section.disabled}
91
91
  aria-required={section.required}
92
- aria-labelledby={ariaLabelledBy} // THIS PROP NOT PASSED ON GROUPED MODEL - check if you can add it without consequence
93
- aria-describedby={ariaDescribedBy} // THIS PROP NOT PASSED ON GROUPED MODEL - check if you can add it without consequence
92
+ aria-labelledby={ariaLabelledBy}
93
+ aria-describedby={ariaDescribedBy}
94
94
  >
95
95
  <Stack childGap="0">
96
96
  <Box
@@ -1,9 +1,9 @@
1
- import { WHITE, GREY_CHATEAU, ATHENS_GREY } from "../../../constants/colors";
1
+ import { WHITE, GHOST_GREY, ATHENS_GREY } from "../../../constants/colors";
2
2
 
3
3
  const headingBackgroundColor = `${WHITE}`;
4
4
  const headingDisabledColor = `${ATHENS_GREY}`;
5
5
  const bodyBackgroundColor = "#eeeeee";
6
- const borderColor = `${GREY_CHATEAU}`;
6
+ const borderColor = `${GHOST_GREY}`;
7
7
  const focusStyles = `outline: none;`;
8
8
 
9
9
  export const fallbackValues = {
@@ -154,7 +154,7 @@ const RadioSection = ({
154
154
  groupedSections.indexOf(sectionGroup) !==
155
155
  groupedSections.length - 1 && (
156
156
  <SolidDivider
157
- borderSize="1px"
157
+ borderSize="2px" // Resulting line is 2px thick due to border from other element
158
158
  color={themeValues.borderColor}
159
159
  />
160
160
  )}
@@ -1,9 +1,9 @@
1
- import { WHITE, GREY_CHATEAU, ATHENS_GREY } from "../../../constants/colors";
1
+ import { WHITE, GHOST_GREY, ATHENS_GREY } from "../../../constants/colors";
2
2
 
3
3
  const headingBackgroundColor = `${WHITE}`;
4
4
  const headingDisabledColor = `${ATHENS_GREY}`;
5
5
  const bodyBackgroundColor = "#eeeeee";
6
- const borderColor = `${GREY_CHATEAU}`;
6
+ const borderColor = `${GHOST_GREY}`;
7
7
  const focusStyles = `outline: none;`;
8
8
 
9
9
  export const fallbackValues = {
@@ -1,5 +1,4 @@
1
1
  import * as colors from "./colors";
2
2
  import * as fontWeights from "./style_constants";
3
- import * as keyboard from "./keyboard";
4
3
 
5
- export { colors, fontWeights, keyboard };
4
+ export { colors, fontWeights };