@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/dist/index.cjs.js +8 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -21
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/InnerRadioSection.js +3 -3
- package/src/components/molecules/radio-section/InnerRadioSection.theme.js +2 -2
- package/src/components/molecules/radio-section/RadioSection.js +1 -1
- package/src/components/molecules/radio-section/RadioSection.theme.js +2 -2
- package/src/constants/index.js +1 -2
package/package.json
CHANGED
|
@@ -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}
|
|
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}
|
|
93
|
-
aria-describedby={ariaDescribedBy}
|
|
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,
|
|
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 = `${
|
|
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="
|
|
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,
|
|
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 = `${
|
|
6
|
+
const borderColor = `${GHOST_GREY}`;
|
|
7
7
|
const focusStyles = `outline: none;`;
|
|
8
8
|
|
|
9
9
|
export const fallbackValues = {
|
package/src/constants/index.js
CHANGED