dce-reactkit 3.8.1 → 3.8.3

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
@@ -638,7 +638,7 @@ const Modal = (props) => {
638
638
  zIndex: baseZIndex + 2,
639
639
  // Override sizes for even larger for XL
640
640
  width: (size === ModalSize$1.ExtraLarge
641
- ? 'calc(100vw - 3rem)'
641
+ ? 'calc(100vw - 1rem)'
642
642
  : undefined),
643
643
  maxWidth: (size === ModalSize$1.ExtraLarge
644
644
  ? '80rem'
@@ -13356,7 +13356,7 @@ const MultiSwitch = (props) => {
13356
13356
  });
13357
13357
  // Constants
13358
13358
  const gutterRems = heightRem * 0.1;
13359
- const itemWidthRems = heightRem * 1.3;
13359
+ const itemWidthRems = heightRem * 2.2;
13360
13360
  const textFontSize = heightRem / 3.5;
13361
13361
  const iconFontSize = heightRem / 2;
13362
13362
  const borderWidthRems = 0.05;
package/dist/esm/index.js CHANGED
@@ -611,7 +611,7 @@ const Modal = (props) => {
611
611
  zIndex: baseZIndex + 2,
612
612
  // Override sizes for even larger for XL
613
613
  width: (size === ModalSize$1.ExtraLarge
614
- ? 'calc(100vw - 3rem)'
614
+ ? 'calc(100vw - 1rem)'
615
615
  : undefined),
616
616
  maxWidth: (size === ModalSize$1.ExtraLarge
617
617
  ? '80rem'
@@ -13329,7 +13329,7 @@ const MultiSwitch = (props) => {
13329
13329
  });
13330
13330
  // Constants
13331
13331
  const gutterRems = heightRem * 0.1;
13332
- const itemWidthRems = heightRem * 1.3;
13332
+ const itemWidthRems = heightRem * 2.2;
13333
13333
  const textFontSize = heightRem / 3.5;
13334
13334
  const iconFontSize = heightRem / 2;
13335
13335
  const borderWidthRems = 0.05;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.8.1",
3
+ "version": "3.8.3",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -440,7 +440,7 @@ const Modal: React.FC<ModalProps> = (props) => {
440
440
  // Override sizes for even larger for XL
441
441
  width: (
442
442
  size === ModalSize.ExtraLarge
443
- ? 'calc(100vw - 3rem)'
443
+ ? 'calc(100vw - 1rem)'
444
444
  : undefined
445
445
  ),
446
446
  maxWidth: (
@@ -153,7 +153,7 @@ const MultiSwitch: React.FC<Props> = (props) => {
153
153
 
154
154
  // Constants
155
155
  const gutterRems = heightRem * 0.1;
156
- const itemWidthRems = heightRem * 1.3;
156
+ const itemWidthRems = heightRem * 2.2;
157
157
  const textFontSize = heightRem / 3.5;
158
158
  const iconFontSize = heightRem / 2;
159
159
  const borderWidthRems = 0.05;