@thecb/components 9.3.4-beta.3 → 9.3.4-beta.5
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 +5 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/InnerRadioSection.theme.js +2 -2
- package/src/components/molecules/radio-section/RadioSection.js +2 -5
- package/src/components/molecules/radio-section/RadioSection.stories.js +0 -1
- package/src/components/molecules/radio-section/RadioSection.theme.js +2 -2
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WHITE,
|
|
1
|
+
import { WHITE, GREY_CHATEAU, 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 = `${GREY_CHATEAU}`;
|
|
7
7
|
const focusStyles = `outline: none;`;
|
|
8
8
|
|
|
9
9
|
export const fallbackValues = {
|
|
@@ -4,6 +4,7 @@ import { fallbackValues } from "./RadioSection.theme";
|
|
|
4
4
|
import SolidDivider from "../../atoms/solid-divider/SolidDivider";
|
|
5
5
|
import { Box, Stack } from "../../atoms/layouts";
|
|
6
6
|
import { createIdFromString, wrapIndex } from "../../../util/general";
|
|
7
|
+
import { MANATEE_GREY } from "../../../constants/colors";
|
|
7
8
|
import {
|
|
8
9
|
ARROW_DOWN,
|
|
9
10
|
ARROW_LEFT,
|
|
@@ -56,7 +57,6 @@ const RadioSection = ({
|
|
|
56
57
|
ariaDescribedBy,
|
|
57
58
|
isSectionRequired = false,
|
|
58
59
|
groupedSections,
|
|
59
|
-
bottomBorderSize = "2px",
|
|
60
60
|
...rest
|
|
61
61
|
}) => {
|
|
62
62
|
const [focused, setFocused] = useState(null);
|
|
@@ -154,10 +154,7 @@ const RadioSection = ({
|
|
|
154
154
|
{sectionGroup.indexOf(section) === sectionGroup.length - 1 &&
|
|
155
155
|
groupedSections.indexOf(sectionGroup) !==
|
|
156
156
|
groupedSections.length - 1 && (
|
|
157
|
-
<SolidDivider
|
|
158
|
-
borderSize={bottomBorderSize || "2px"}
|
|
159
|
-
color={themeValues.borderColor}
|
|
160
|
-
/>
|
|
157
|
+
<SolidDivider borderSize="2px" color={MANATEE_GREY} />
|
|
161
158
|
)}
|
|
162
159
|
</Fragment>
|
|
163
160
|
))
|
|
@@ -120,7 +120,6 @@ export const radioSection = () => {
|
|
|
120
120
|
staggeredAnimation={boolean("staggeredAnimation", false, "props")}
|
|
121
121
|
sections={sections}
|
|
122
122
|
isSectionRequired={true}
|
|
123
|
-
borderBottomSize="10px"
|
|
124
123
|
/>
|
|
125
124
|
<Box />
|
|
126
125
|
<Box padding="0 1rem" extraStyles="text-align: center;">
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WHITE,
|
|
1
|
+
import { WHITE, GREY_CHATEAU, 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 = `${GREY_CHATEAU}`;
|
|
7
7
|
const focusStyles = `outline: none;`;
|
|
8
8
|
|
|
9
9
|
export const fallbackValues = {
|