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

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 CHANGED
@@ -22539,17 +22539,6 @@ var ENTER = 13;
22539
22539
  var ESCAPE = 27;
22540
22540
  var SPACEBAR = 32;
22541
22541
 
22542
- var keyboard = /*#__PURE__*/Object.freeze({
22543
- __proto__: null,
22544
- ARROW_LEFT: ARROW_LEFT,
22545
- ARROW_UP: ARROW_UP,
22546
- ARROW_RIGHT: ARROW_RIGHT,
22547
- ARROW_DOWN: ARROW_DOWN,
22548
- ENTER: ENTER,
22549
- ESCAPE: ESCAPE,
22550
- SPACEBAR: SPACEBAR
22551
- });
22552
-
22553
22542
  var CheckboxContainer = styled__default.div.withConfig({
22554
22543
  displayName: "Checkbox__CheckboxContainer",
22555
22544
  componentId: "sc-36kqbv-0"
@@ -38953,8 +38942,7 @@ var NavTabs = function NavTabs(_ref) {
38953
38942
  var index$5 = /*#__PURE__*/Object.freeze({
38954
38943
  __proto__: null,
38955
38944
  colors: colors,
38956
- fontWeights: style_constants,
38957
- keyboard: keyboard
38945
+ fontWeights: style_constants
38958
38946
  });
38959
38947
 
38960
38948
  var shineFrames = styled.keyframes(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
@@ -48776,7 +48764,7 @@ var RadioGroup = function RadioGroup(_ref) {
48776
48764
  var headingBackgroundColor$1 = "".concat(WHITE);
48777
48765
  var headingDisabledColor = "".concat(ATHENS_GREY);
48778
48766
  var bodyBackgroundColor$1 = "#eeeeee";
48779
- var borderColor$6 = "".concat(GREY_CHATEAU);
48767
+ var borderColor$6 = "".concat(GHOST_GREY);
48780
48768
  var focusStyles = "outline: none;";
48781
48769
  var fallbackValues$Q = {
48782
48770
  headingBackgroundColor: headingBackgroundColor$1,
@@ -48789,7 +48777,7 @@ var fallbackValues$Q = {
48789
48777
  var headingBackgroundColor$2 = "".concat(WHITE);
48790
48778
  var headingDisabledColor$1 = "".concat(ATHENS_GREY);
48791
48779
  var bodyBackgroundColor$2 = "#eeeeee";
48792
- var borderColor$7 = "".concat(GREY_CHATEAU);
48780
+ var borderColor$7 = "".concat(GHOST_GREY);
48793
48781
  var focusStyles$1 = "outline: none;";
48794
48782
  var fallbackValues$R = {
48795
48783
  headingBackgroundColor: headingBackgroundColor$2,
@@ -48868,8 +48856,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
48868
48856
  onFocus: function onFocus() {
48869
48857
  return !section.disabled && setFocused(section.id);
48870
48858
  },
48871
- onKeyDown: onKeyDown // DIFFERENT
48872
- ,
48859
+ onKeyDown: onKeyDown,
48873
48860
  hoverStyles: themeValues.focusStyles,
48874
48861
  animate: openSection === section.id ? "open" : "closed",
48875
48862
  initial: initiallyOpen ? "open" : "closed",
@@ -48879,9 +48866,8 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
48879
48866
  "aria-checked": openSection === section.id,
48880
48867
  "aria-disabled": section.disabled,
48881
48868
  "aria-required": section.required,
48882
- "aria-labelledby": ariaLabelledBy // THIS PROP NOT PASSED ON GROUPED MODEL - check if you can add it without consequence
48883
- ,
48884
- "aria-describedby": ariaDescribedBy // THIS PROP NOT PASSED ON GROUPED MODEL - check if you can add it without consequence
48869
+ "aria-labelledby": ariaLabelledBy,
48870
+ "aria-describedby": ariaDescribedBy
48885
48871
  }, /*#__PURE__*/React__default.createElement(Stack, {
48886
48872
  childGap: "0"
48887
48873
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -49083,7 +49069,8 @@ var RadioSection = function RadioSection(_ref) {
49083
49069
  openSection: openSection,
49084
49070
  toggleOpenSection: toggleOpenSection
49085
49071
  }), sectionGroup.indexOf(section) === sectionGroup.length - 1 && groupedSections.indexOf(sectionGroup) !== groupedSections.length - 1 && /*#__PURE__*/React__default.createElement(SolidDivider$1, {
49086
- borderSize: "1px",
49072
+ borderSize: "1px" // Resulting line is 2px thick due to border from other element
49073
+ ,
49087
49074
  color: themeValues.borderColor
49088
49075
  }));
49089
49076
  });