dce-reactkit 3.0.0-beta.34 → 3.0.0-beta.35

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/cjs/index.js CHANGED
@@ -953,12 +953,12 @@ const RadioButton = (props) => {
953
953
  /*----------------------------------------*/
954
954
  /* Main UI */
955
955
  /*----------------------------------------*/
956
- return (React__default["default"].createElement("button", { type: "button", id: id, title: title, className: `btn btn-${selected ? selectedVariant : unselectedVariant}${selected ? ' selected' : ''}${small ? ' btn-sm' : ''} m-0${noMarginOnRight ? '' : ' mr-2'}`, "aria-label": `${ariaLabel}${selected ? ': currently selected' : ''}`, onClick: () => {
956
+ return (React__default["default"].createElement("button", { type: "button", id: id, title: title, className: `btn btn-${selected ? selectedVariant : unselectedVariant}${selected ? ' selected' : ''}${small ? ' btn-sm' : ''} m-0${noMarginOnRight ? '' : ' me-2'}`, "aria-label": `${ariaLabel}${selected ? ': currently selected' : ''}`, onClick: () => {
957
957
  if (!selected) {
958
958
  onSelected();
959
959
  }
960
960
  } },
961
- React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: selected ? freeSolidSvgIcons.faDotCircle : freeRegularSvgIcons.faCircle, className: "mr-1" }),
961
+ React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: selected ? freeSolidSvgIcons.faDotCircle : freeRegularSvgIcons.faCircle, className: "me-1" }),
962
962
  text));
963
963
  };
964
964
 
package/dist/esm/index.js CHANGED
@@ -945,12 +945,12 @@ const RadioButton = (props) => {
945
945
  /*----------------------------------------*/
946
946
  /* Main UI */
947
947
  /*----------------------------------------*/
948
- return (React.createElement("button", { type: "button", id: id, title: title, className: `btn btn-${selected ? selectedVariant : unselectedVariant}${selected ? ' selected' : ''}${small ? ' btn-sm' : ''} m-0${noMarginOnRight ? '' : ' mr-2'}`, "aria-label": `${ariaLabel}${selected ? ': currently selected' : ''}`, onClick: () => {
948
+ return (React.createElement("button", { type: "button", id: id, title: title, className: `btn btn-${selected ? selectedVariant : unselectedVariant}${selected ? ' selected' : ''}${small ? ' btn-sm' : ''} m-0${noMarginOnRight ? '' : ' me-2'}`, "aria-label": `${ariaLabel}${selected ? ': currently selected' : ''}`, onClick: () => {
949
949
  if (!selected) {
950
950
  onSelected();
951
951
  }
952
952
  } },
953
- React.createElement(FontAwesomeIcon, { icon: selected ? faDotCircle : faCircle$1, className: "mr-1" }),
953
+ React.createElement(FontAwesomeIcon, { icon: selected ? faDotCircle : faCircle$1, className: "me-1" }),
954
954
  text));
955
955
  };
956
956
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.0.0-beta.34",
3
+ "version": "3.0.0-beta.35",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -78,7 +78,7 @@ const RadioButton: React.FC<Props> = (props) => {
78
78
  type="button"
79
79
  id={id}
80
80
  title={title}
81
- className={`btn btn-${selected ? selectedVariant : unselectedVariant}${selected ? ' selected' : ''}${small ? ' btn-sm' : ''} m-0${noMarginOnRight ? '' : ' mr-2'}`}
81
+ className={`btn btn-${selected ? selectedVariant : unselectedVariant}${selected ? ' selected' : ''}${small ? ' btn-sm' : ''} m-0${noMarginOnRight ? '' : ' me-2'}`}
82
82
  aria-label={`${ariaLabel}${selected ? ': currently selected' : ''}`}
83
83
  onClick={() => {
84
84
  if (!selected) {
@@ -88,7 +88,7 @@ const RadioButton: React.FC<Props> = (props) => {
88
88
  >
89
89
  <FontAwesomeIcon
90
90
  icon={selected ? faDotCircle : faCircle}
91
- className="mr-1"
91
+ className="me-1"
92
92
  />
93
93
  {text}
94
94
  </button>