@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/dist/index.esm.js
CHANGED
|
@@ -22531,17 +22531,6 @@ var ENTER = 13;
|
|
|
22531
22531
|
var ESCAPE = 27;
|
|
22532
22532
|
var SPACEBAR = 32;
|
|
22533
22533
|
|
|
22534
|
-
var keyboard = /*#__PURE__*/Object.freeze({
|
|
22535
|
-
__proto__: null,
|
|
22536
|
-
ARROW_LEFT: ARROW_LEFT,
|
|
22537
|
-
ARROW_UP: ARROW_UP,
|
|
22538
|
-
ARROW_RIGHT: ARROW_RIGHT,
|
|
22539
|
-
ARROW_DOWN: ARROW_DOWN,
|
|
22540
|
-
ENTER: ENTER,
|
|
22541
|
-
ESCAPE: ESCAPE,
|
|
22542
|
-
SPACEBAR: SPACEBAR
|
|
22543
|
-
});
|
|
22544
|
-
|
|
22545
22534
|
var CheckboxContainer = styled.div.withConfig({
|
|
22546
22535
|
displayName: "Checkbox__CheckboxContainer",
|
|
22547
22536
|
componentId: "sc-36kqbv-0"
|
|
@@ -38945,8 +38934,7 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
38945
38934
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
38946
38935
|
__proto__: null,
|
|
38947
38936
|
colors: colors,
|
|
38948
|
-
fontWeights: style_constants
|
|
38949
|
-
keyboard: keyboard
|
|
38937
|
+
fontWeights: style_constants
|
|
38950
38938
|
});
|
|
38951
38939
|
|
|
38952
38940
|
var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
@@ -48768,7 +48756,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48768
48756
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
48769
48757
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
48770
48758
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
48771
|
-
var borderColor$6 = "".concat(
|
|
48759
|
+
var borderColor$6 = "".concat(GHOST_GREY);
|
|
48772
48760
|
var focusStyles = "outline: none;";
|
|
48773
48761
|
var fallbackValues$Q = {
|
|
48774
48762
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
@@ -48781,7 +48769,7 @@ var fallbackValues$Q = {
|
|
|
48781
48769
|
var headingBackgroundColor$2 = "".concat(WHITE);
|
|
48782
48770
|
var headingDisabledColor$1 = "".concat(ATHENS_GREY);
|
|
48783
48771
|
var bodyBackgroundColor$2 = "#eeeeee";
|
|
48784
|
-
var borderColor$7 = "".concat(
|
|
48772
|
+
var borderColor$7 = "".concat(GHOST_GREY);
|
|
48785
48773
|
var focusStyles$1 = "outline: none;";
|
|
48786
48774
|
var fallbackValues$R = {
|
|
48787
48775
|
headingBackgroundColor: headingBackgroundColor$2,
|
|
@@ -48860,8 +48848,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48860
48848
|
onFocus: function onFocus() {
|
|
48861
48849
|
return !section.disabled && setFocused(section.id);
|
|
48862
48850
|
},
|
|
48863
|
-
onKeyDown: onKeyDown
|
|
48864
|
-
,
|
|
48851
|
+
onKeyDown: onKeyDown,
|
|
48865
48852
|
hoverStyles: themeValues.focusStyles,
|
|
48866
48853
|
animate: openSection === section.id ? "open" : "closed",
|
|
48867
48854
|
initial: initiallyOpen ? "open" : "closed",
|
|
@@ -48871,9 +48858,8 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48871
48858
|
"aria-checked": openSection === section.id,
|
|
48872
48859
|
"aria-disabled": section.disabled,
|
|
48873
48860
|
"aria-required": section.required,
|
|
48874
|
-
"aria-labelledby": ariaLabelledBy
|
|
48875
|
-
|
|
48876
|
-
"aria-describedby": ariaDescribedBy // THIS PROP NOT PASSED ON GROUPED MODEL - check if you can add it without consequence
|
|
48861
|
+
"aria-labelledby": ariaLabelledBy,
|
|
48862
|
+
"aria-describedby": ariaDescribedBy
|
|
48877
48863
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48878
48864
|
childGap: "0"
|
|
48879
48865
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -49075,7 +49061,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49075
49061
|
openSection: openSection,
|
|
49076
49062
|
toggleOpenSection: toggleOpenSection
|
|
49077
49063
|
}), sectionGroup.indexOf(section) === sectionGroup.length - 1 && groupedSections.indexOf(sectionGroup) !== groupedSections.length - 1 && /*#__PURE__*/React.createElement(SolidDivider$1, {
|
|
49078
|
-
borderSize: "
|
|
49064
|
+
borderSize: "2px" // Resulting line is 2px thick due to border from other element
|
|
49065
|
+
,
|
|
49079
49066
|
color: themeValues.borderColor
|
|
49080
49067
|
}));
|
|
49081
49068
|
});
|