@vectara/vectara-ui 13.11.0 → 13.11.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.
@@ -35,7 +35,7 @@ export const VuiCard = (_a) => {
35
35
  "vuiCard__body--scrollable": isScrollable
36
36
  });
37
37
  if (isExpandable) {
38
- return (_jsxs("div", Object.assign({ className: classes }, rest, { children: [header && (_jsx("button", Object.assign({ className: "vuiCard__expandableButton", onClick: onToggleExpansion, id: buttonId, "aria-controls": bodyId, "aria-expanded": isExpanded, type: "button" }, { children: _jsxs(VuiFlexContainer, Object.assign({ alignItems: "center", justifyContent: "start", spacing: "xs" }, { children: [_jsx(VuiIcon, Object.assign({ size: "m", color: "neutral", className: "vuiCard__expandableIcon" }, { children: isExpanded ? _jsx(BiChevronDown, {}) : _jsx(BiChevronRight, {}) })), _jsx(VuiFlexItem, Object.assign({ className: "vuiCard__expandableHeader", grow: 1 }, { children: header }))] })) }))), isExpanded && body && (_jsx("div", Object.assign({ className: bodyClasses, id: bodyId, "aria-labelledby": buttonId }, { children: body })))] })));
38
+ return (_jsxs("div", Object.assign({ className: classes }, rest, { children: [header && (_jsx("button", Object.assign({ className: "vuiCard__expandableButton", onClick: onToggleExpansion, "data-testid": "cardToggleExpansionButton", id: buttonId, "aria-controls": bodyId, "aria-expanded": isExpanded, type: "button" }, { children: _jsxs(VuiFlexContainer, Object.assign({ alignItems: "center", justifyContent: "start", spacing: "xs" }, { children: [_jsx(VuiIcon, Object.assign({ size: "m", color: "neutral", className: "vuiCard__expandableIcon" }, { children: isExpanded ? _jsx(BiChevronDown, {}) : _jsx(BiChevronRight, {}) })), _jsx(VuiFlexItem, Object.assign({ className: "vuiCard__expandableHeader", grow: 1 }, { children: header }))] })) }))), isExpanded && body && (_jsx("div", Object.assign({ className: bodyClasses, id: bodyId, "aria-labelledby": buttonId }, { children: body })))] })));
39
39
  }
40
40
  const headerContent = header && _jsx("div", Object.assign({ className: "vuiCard__header" }, { children: header }));
41
41
  const bodyContent = body && _jsx("div", Object.assign({ className: bodyClasses }, { children: body }));
@@ -18,5 +18,5 @@ import { VuiText } from "../../typography/Text";
18
18
  export const VuiSuperRadioButton = (_a) => {
19
19
  var { label, description, value, checked, onChange, groupName } = _a, rest = __rest(_a, ["label", "description", "value", "checked", "onChange", "groupName"]);
20
20
  const id = createId();
21
- return (_jsx("label", Object.assign({ className: "vuiSuperRadioButton", htmlFor: id }, { children: _jsxs(VuiFlexContainer, Object.assign({ spacing: "l", alignItems: "center" }, { children: [_jsx(VuiFlexItem, Object.assign({ grow: false, shrink: 1 }, { children: _jsx("input", Object.assign({ id: id, name: groupName, type: "radio", checked: checked, onChange: () => onChange(value) }, rest)) })), _jsxs(VuiFlexItem, Object.assign({ grow: false, shrink: 1 }, { children: [_jsx(VuiText, { children: _jsx("p", Object.assign({ className: "vuiSuperRadioButton__text" }, { children: label })) }), description && (_jsxs(_Fragment, { children: [_jsx(VuiSpacer, { size: "xxs" }), _jsx(VuiText, Object.assign({ size: "xs" }, { children: _jsx("p", Object.assign({ className: "vuiSuperRadioButton__text vuiSuperRadioButton__description" }, { children: description })) }))] }))] }))] })) })));
21
+ return (_jsx("label", Object.assign({ className: "vuiSuperRadioButton", htmlFor: id }, { children: _jsxs(VuiFlexContainer, Object.assign({ spacing: "l", alignItems: "center" }, { children: [_jsx(VuiFlexItem, Object.assign({ grow: false, shrink: 0 }, { children: _jsx("input", Object.assign({ id: id, name: groupName, type: "radio", checked: checked, onChange: () => onChange(value) }, rest)) })), _jsxs(VuiFlexItem, Object.assign({ grow: false, shrink: 1 }, { children: [_jsx(VuiText, { children: _jsx("p", Object.assign({ className: "vuiSuperRadioButton__text" }, { children: label })) }), description && (_jsxs(_Fragment, { children: [_jsx(VuiSpacer, { size: "xxs" }), _jsx(VuiText, Object.assign({ size: "xs" }, { children: _jsx("p", Object.assign({ className: "vuiSuperRadioButton__text vuiSuperRadioButton__description" }, { children: description })) }))] }))] }))] })) })));
22
22
  };
@@ -73,7 +73,7 @@ $size: (
73
73
  }
74
74
 
75
75
  .vuiModalContent__inner {
76
- padding: $sizeS $sizeM $sizeXxl;
76
+ padding: 0 $sizeM $sizeL;
77
77
  }
78
78
 
79
79
  // Color
@@ -3874,7 +3874,7 @@ h2.react-datepicker__current-month {
3874
3874
  }
3875
3875
 
3876
3876
  .vuiModalContent__inner {
3877
- padding: 12px 16px 40px;
3877
+ padding: 0 16px 24px;
3878
3878
  }
3879
3879
 
3880
3880
  .vuiModal--primary .vuiModalHeader .vuiIcon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectara/vectara-ui",
3
- "version": "13.11.0",
3
+ "version": "13.11.2",
4
4
  "homepage": "./",
5
5
  "description": "Vectara's design system, codified as a React and Sass component library",
6
6
  "author": "Vectara",