@bolio-ui/core 1.0.6 → 1.0.8
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/Avatar/index.js +38 -37
- package/dist/Badge/index.js +40 -39
- package/dist/BolioUIProvider/index.js +44 -43
- package/dist/Breadcrumbs/index.js +37 -36
- package/dist/Button/index.js +44 -43
- package/dist/ButtonDropdown/index.js +90 -78
- package/dist/ButtonDropdown/styles.d.ts +1 -0
- package/dist/ButtonGroup/index.js +38 -35
- package/dist/Capacity/index.js +33 -32
- package/dist/Card/Card.d.ts +1 -0
- package/dist/Card/index.js +69 -58
- package/dist/Checkbox/index.js +194 -175
- package/dist/Code/index.js +33 -32
- package/dist/Collapse/index.js +33 -32
- package/dist/Container/index.js +29 -29
- package/dist/CssBaseline/index.js +29 -29
- package/dist/Description/index.js +33 -32
- package/dist/Display/index.js +33 -32
- package/dist/Divider/index.js +33 -32
- package/dist/Dot/Dot.d.ts +1 -0
- package/dist/Dot/index.js +43 -40
- package/dist/Drawer/index.js +33 -32
- package/dist/Fieldset/index.js +33 -32
- package/dist/Grid/index.js +33 -32
- package/dist/Image/index.js +33 -32
- package/dist/Input/InputProps.d.ts +1 -0
- package/dist/Input/index.js +83 -72
- package/dist/Input/styles.d.ts +2 -0
- package/dist/Keyboard/index.js +33 -32
- package/dist/Link/index.js +33 -32
- package/dist/Loading/index.js +33 -32
- package/dist/MdxWidgets/index.js +29 -29
- package/dist/Modal/index.js +44 -43
- package/dist/Note/index.js +33 -32
- package/dist/Page/index.js +33 -32
- package/dist/Pagination/index.js +33 -32
- package/dist/Popover/index.js +33 -32
- package/dist/Progress/index.js +33 -32
- package/dist/Radio/index.js +33 -32
- package/dist/Rating/index.js +33 -32
- package/dist/Row/index.js +29 -29
- package/dist/Section/index.js +33 -32
- package/dist/Select/index.js +99 -96
- package/dist/Select/styles.d.ts +5 -4
- package/dist/Slider/index.js +33 -32
- package/dist/Snippet/index.js +33 -32
- package/dist/Spacer/index.js +33 -32
- package/dist/Spinner/index.js +33 -32
- package/dist/Table/index.js +33 -32
- package/dist/Tabs/index.js +36 -35
- package/dist/Tag/index.js +33 -32
- package/dist/Text/index.js +33 -32
- package/dist/Textarea/index.js +68 -57
- package/dist/Themes/index.js +29 -29
- package/dist/Toggle/index.js +40 -39
- package/dist/Tooltip/index.js +33 -32
- package/dist/index.js +333 -277
- package/dist/use-all-themes/index.js +29 -29
- package/dist/use-media-query/index.js +29 -29
- package/dist/use-scale/index.js +33 -32
- package/dist/use-theme/index.js +29 -29
- package/esm/Avatar/Avatar.js +5 -5
- package/esm/Badge/Badge.js +7 -7
- package/esm/Badge/stories.js +1 -1
- package/esm/Breadcrumbs/Breadcrumbs.js +4 -4
- package/esm/Button/Button.js +3 -3
- package/esm/Button/styles.js +8 -8
- package/esm/ButtonDropdown/ButtonDropdown.js +13 -13
- package/esm/ButtonDropdown/ButtonDropdownItem.js +3 -3
- package/esm/ButtonDropdown/Icon.js +1 -1
- package/esm/ButtonDropdown/styles.d.ts +1 -0
- package/esm/ButtonDropdown/styles.js +40 -29
- package/esm/ButtonGroup/ButtonGroup.js +5 -3
- package/esm/Capacity/stories.js +40 -10
- package/esm/Card/Card.d.ts +1 -0
- package/esm/Card/Card.js +8 -7
- package/esm/Card/stories.js +56 -7
- package/esm/Card/styles.js +28 -19
- package/esm/Checkbox/Checkbox.js +6 -6
- package/esm/Checkbox/CheckboxIcon.js +34 -16
- package/esm/Dot/Dot.d.ts +1 -0
- package/esm/Dot/Dot.js +10 -8
- package/esm/Input/Input.js +15 -15
- package/esm/Input/InputProps.d.ts +1 -0
- package/esm/Input/styles.d.ts +2 -0
- package/esm/Input/styles.js +28 -14
- package/esm/Select/Select.js +10 -15
- package/esm/Select/SelectDropdown.js +4 -4
- package/esm/Select/SelectIconClear.js +7 -7
- package/esm/Select/SelectMultipleValue.js +4 -4
- package/esm/Select/SelectOption.js +6 -6
- package/esm/Select/styles.d.ts +5 -4
- package/esm/Select/styles.js +35 -28
- package/esm/Tabs/TabsItem.js +3 -3
- package/esm/Textarea/Textarea.js +7 -11
- package/esm/Themes/Presets/Dark.js +16 -16
- package/esm/Themes/Presets/Default.js +12 -12
- package/esm/Themes/Presets/Shared.js +1 -1
- package/esm/Toggle/Toggle.js +7 -7
- package/esm/use-scale/utils.js +4 -3
- package/examples/create-redwoodjs/.redwood/README.md +44 -0
- package/package.json +19 -19
|
@@ -268,7 +268,7 @@ var defaultLayout = {
|
|
|
268
268
|
pageWidthWithMargin: '930pt',
|
|
269
269
|
breakpointMobile: defaultBreakpoints.xs.max,
|
|
270
270
|
breakpointTablet: defaultBreakpoints.sm.max,
|
|
271
|
-
radius: '
|
|
271
|
+
radius: '10px',
|
|
272
272
|
unit: '16px'
|
|
273
273
|
};
|
|
274
274
|
|
|
@@ -283,32 +283,32 @@ var palette$1 = {
|
|
|
283
283
|
accents_6: '#444',
|
|
284
284
|
accents_7: '#333',
|
|
285
285
|
accents_8: '#111',
|
|
286
|
-
selection: '
|
|
286
|
+
selection: 'rgba(206,228,254, 0.5)',
|
|
287
287
|
code: '#C25FFF',
|
|
288
|
-
border: '#
|
|
288
|
+
border: '#eaeaea',
|
|
289
289
|
primary: '#0072F6',
|
|
290
|
-
primaryLight: '#
|
|
291
|
-
primaryLighter: '#
|
|
290
|
+
primaryLight: '#CEE4FF',
|
|
291
|
+
primaryLighter: '#96C1F3',
|
|
292
292
|
primaryDark: '#00254E',
|
|
293
293
|
secondary: '#7828C9',
|
|
294
|
-
secondaryLighter: '#D1B1F1',
|
|
295
294
|
secondaryLight: '#EADCF9',
|
|
295
|
+
secondaryLighter: '#D1B1F1',
|
|
296
296
|
secondaryDark: '#290E45',
|
|
297
297
|
error: '#F31261',
|
|
298
|
-
errorLight: '#
|
|
299
|
-
errorLighter: '#
|
|
298
|
+
errorLight: '#FDD8E6',
|
|
299
|
+
errorLighter: '#FAA8C6',
|
|
300
300
|
errorDark: '#4E041F',
|
|
301
301
|
success: '#17C965',
|
|
302
|
-
successLight: '#
|
|
303
|
-
successLighter: '#
|
|
302
|
+
successLight: '#DAFBE9',
|
|
303
|
+
successLighter: '#ADF5CD',
|
|
304
304
|
successDark: '#06371C',
|
|
305
305
|
warning: '#F5A525',
|
|
306
|
-
warningLight: '#
|
|
307
|
-
warningLighter: '#
|
|
306
|
+
warningLight: '#FDEFD9',
|
|
307
|
+
warningLighter: '#FBDBA8',
|
|
308
308
|
warningDark: '#4E3105',
|
|
309
309
|
info: '#06B7DC',
|
|
310
|
-
infoLighter: '#A5EEFE',
|
|
311
310
|
infoLight: '#D7F8FF',
|
|
311
|
+
infoLighter: '#A5EEFE',
|
|
312
312
|
infoDark: '#053B49',
|
|
313
313
|
purple: '#f81ce5',
|
|
314
314
|
alert: '#ff0080',
|
|
@@ -350,37 +350,37 @@ var palette = {
|
|
|
350
350
|
accents_6: '#999',
|
|
351
351
|
accents_7: '#eaeaea',
|
|
352
352
|
accents_8: '#fafafa',
|
|
353
|
-
selection: '
|
|
353
|
+
selection: 'rgba(248,28,229, 0.5)',
|
|
354
354
|
code: '#C25FFF',
|
|
355
|
-
border: '#
|
|
355
|
+
border: '#333',
|
|
356
356
|
primary: '#0072F6',
|
|
357
|
-
primaryLight: '#
|
|
358
|
-
primaryLighter: '#
|
|
357
|
+
primaryLight: '#CEE4FF',
|
|
358
|
+
primaryLighter: '#96C1F3',
|
|
359
359
|
primaryDark: '#00254E',
|
|
360
360
|
secondary: '#7828C9',
|
|
361
|
-
secondaryLighter: '#D1B1F1',
|
|
362
361
|
secondaryLight: '#EADCF9',
|
|
362
|
+
secondaryLighter: '#D1B1F1',
|
|
363
363
|
secondaryDark: '#290E45',
|
|
364
364
|
error: '#F31261',
|
|
365
|
-
errorLight: '#
|
|
366
|
-
errorLighter: '#
|
|
365
|
+
errorLight: '#FDD8E6',
|
|
366
|
+
errorLighter: '#FAA8C6',
|
|
367
367
|
errorDark: '#4E041F',
|
|
368
368
|
success: '#17C965',
|
|
369
|
-
successLight: '#
|
|
370
|
-
successLighter: '#
|
|
369
|
+
successLight: '#DAFBE9',
|
|
370
|
+
successLighter: '#ADF5CD',
|
|
371
371
|
successDark: '#06371C',
|
|
372
372
|
warning: '#F5A525',
|
|
373
|
-
warningLight: '#
|
|
374
|
-
warningLighter: '#
|
|
373
|
+
warningLight: '#FDEFD9',
|
|
374
|
+
warningLighter: '#FBDBA8',
|
|
375
375
|
warningDark: '#4E3105',
|
|
376
376
|
info: '#06B7DC',
|
|
377
|
-
infoLighter: '#A5EEFE',
|
|
378
377
|
infoLight: '#D7F8FF',
|
|
378
|
+
infoLighter: '#A5EEFE',
|
|
379
379
|
infoDark: '#053B49',
|
|
380
380
|
purple: '#f81ce5',
|
|
381
381
|
alert: '#ff0080',
|
|
382
382
|
link: '#3291ff',
|
|
383
|
-
pre: '#
|
|
383
|
+
pre: '#111'
|
|
384
384
|
};
|
|
385
385
|
var expressiveness = {
|
|
386
386
|
linkStyle: 'none',
|
|
@@ -388,9 +388,9 @@ var expressiveness = {
|
|
|
388
388
|
dropdownBoxShadow: '0 0 0 1px #333',
|
|
389
389
|
scrollerStart: 'rgba(255, 255, 255, 1)',
|
|
390
390
|
scrollerEnd: 'rgba(255, 255, 255, 0)',
|
|
391
|
-
shadowSmall: '0
|
|
392
|
-
shadowMedium: '0
|
|
393
|
-
shadowLarge: '0
|
|
391
|
+
shadowSmall: '0 5px 10px rgba(255, 255, 255, 0.12)',
|
|
392
|
+
shadowMedium: '0 8px 30px rgba(255, 255, 255, 0.12)',
|
|
393
|
+
shadowLarge: '0 30px 60px rgba(255, 255, 255, 0.12)',
|
|
394
394
|
portalOpacity: 0.75
|
|
395
395
|
};
|
|
396
396
|
var font = defaultFont;
|
|
@@ -525,58 +525,69 @@ var getColor = function getColor(palette, type) {
|
|
|
525
525
|
var disabled = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
526
526
|
var colors = {
|
|
527
527
|
"default": {
|
|
528
|
-
color: palette.
|
|
529
|
-
bgColor: palette.
|
|
528
|
+
color: palette.foreground,
|
|
529
|
+
bgColor: palette.accents_2,
|
|
530
|
+
borderColor: palette.accents_2,
|
|
530
531
|
borderLeftColor: palette.accents_2,
|
|
531
|
-
hoverBgColor: palette.
|
|
532
|
+
hoverBgColor: palette.accents_2,
|
|
532
533
|
hoverBorder: palette.accents_2
|
|
533
534
|
},
|
|
534
535
|
primary: {
|
|
535
|
-
color: palette.
|
|
536
|
-
bgColor: palette.
|
|
536
|
+
color: palette.primaryDark,
|
|
537
|
+
bgColor: palette.primaryLighter,
|
|
538
|
+
borderColor: palette.primaryDark,
|
|
537
539
|
borderLeftColor: palette.primaryDark,
|
|
538
|
-
hoverBgColor: palette.
|
|
539
|
-
hoverBorder: palette.
|
|
540
|
+
hoverBgColor: palette.primaryLight,
|
|
541
|
+
hoverBorder: palette.primary
|
|
540
542
|
},
|
|
541
543
|
secondary: {
|
|
542
|
-
color: palette.
|
|
543
|
-
bgColor: palette.
|
|
544
|
+
color: palette.secondaryDark,
|
|
545
|
+
bgColor: palette.secondaryLighter,
|
|
546
|
+
borderColor: palette.secondaryDark,
|
|
544
547
|
borderLeftColor: palette.secondaryDark,
|
|
545
|
-
hoverBgColor: palette.
|
|
546
|
-
hoverBorder: palette.
|
|
548
|
+
hoverBgColor: palette.secondaryLight,
|
|
549
|
+
hoverBorder: palette.secondary
|
|
547
550
|
},
|
|
548
551
|
success: {
|
|
549
|
-
color: palette.
|
|
550
|
-
bgColor: palette.
|
|
552
|
+
color: palette.successDark,
|
|
553
|
+
bgColor: palette.successLighter,
|
|
554
|
+
borderColor: palette.successDark,
|
|
551
555
|
borderLeftColor: palette.successDark,
|
|
552
|
-
hoverBgColor: palette.
|
|
553
|
-
hoverBorder: palette.
|
|
556
|
+
hoverBgColor: palette.successLight,
|
|
557
|
+
hoverBorder: palette.success
|
|
554
558
|
},
|
|
555
559
|
warning: {
|
|
556
|
-
color: palette.
|
|
557
|
-
bgColor: palette.
|
|
560
|
+
color: palette.warningDark,
|
|
561
|
+
bgColor: palette.warningLighter,
|
|
562
|
+
borderColor: palette.warningDark,
|
|
558
563
|
borderLeftColor: palette.warningDark,
|
|
559
|
-
hoverBgColor: palette.
|
|
560
|
-
hoverBorder: palette.
|
|
564
|
+
hoverBgColor: palette.warningLight,
|
|
565
|
+
hoverBorder: palette.warning
|
|
561
566
|
},
|
|
562
567
|
error: {
|
|
563
|
-
color: palette.
|
|
564
|
-
bgColor: palette.
|
|
568
|
+
color: palette.errorDark,
|
|
569
|
+
bgColor: palette.errorLighter,
|
|
570
|
+
borderColor: palette.errorDark,
|
|
565
571
|
borderLeftColor: palette.errorDark,
|
|
566
|
-
hoverBgColor: palette.
|
|
567
|
-
hoverBorder: palette.
|
|
572
|
+
hoverBgColor: palette.errorLight,
|
|
573
|
+
hoverBorder: palette.error
|
|
568
574
|
},
|
|
569
575
|
info: {
|
|
570
|
-
color: palette.
|
|
571
|
-
bgColor: palette.
|
|
576
|
+
color: palette.infoDark,
|
|
577
|
+
bgColor: palette.infoLighter,
|
|
578
|
+
borderColor: palette.infoDark,
|
|
572
579
|
borderLeftColor: palette.infoDark,
|
|
573
|
-
hoverBgColor: palette.
|
|
574
|
-
hoverBorder: palette.
|
|
580
|
+
hoverBgColor: palette.infoLight,
|
|
581
|
+
hoverBorder: palette.info
|
|
575
582
|
}
|
|
576
583
|
};
|
|
577
584
|
if (disabled) return _objectSpread2(_objectSpread2({}, colors["default"]), {}, {
|
|
578
|
-
|
|
579
|
-
|
|
585
|
+
color: palette.accents_5,
|
|
586
|
+
bgColor: palette.accents_3,
|
|
587
|
+
borderColor: palette.accents_4,
|
|
588
|
+
borderLeftColor: palette.accents_4,
|
|
589
|
+
hoverBgColor: palette.accents_3,
|
|
590
|
+
hoverBorder: palette.accents_3
|
|
580
591
|
});
|
|
581
592
|
return type ? colors[type] : colors["default"];
|
|
582
593
|
};
|
|
@@ -592,7 +603,7 @@ function ButtonDropdownIcon(_ref) {
|
|
|
592
603
|
viewBox: "0 0 24 24",
|
|
593
604
|
width: height,
|
|
594
605
|
height: height,
|
|
595
|
-
strokeWidth: "1",
|
|
606
|
+
strokeWidth: "1.5",
|
|
596
607
|
strokeLinecap: "round",
|
|
597
608
|
strokeLinejoin: "round",
|
|
598
609
|
fill: "none",
|
|
@@ -740,9 +751,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
|
|
|
740
751
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
741
752
|
var key = _step2.value;
|
|
742
753
|
var value = props[key];
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
754
|
+
|
|
755
|
+
if (typeof value !== 'undefined') {
|
|
756
|
+
scaleProps[key] = value;
|
|
757
|
+
}
|
|
746
758
|
}
|
|
747
759
|
} catch (err) {
|
|
748
760
|
_iterator2.e(err);
|
|
@@ -998,11 +1010,11 @@ function ButtonDropdownItem(_ref) {
|
|
|
998
1010
|
return /*#__PURE__*/React__default["default"].createElement("button", _extends({
|
|
999
1011
|
onClick: clickHandler
|
|
1000
1012
|
}, props, {
|
|
1001
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1013
|
+
className: styledJsx_cjs.style.dynamic([["313713234", [cursor, colors.bgColor, colors.color, colors.hoverBorder, colors.hoverBgColor]]]) + " " + (props && props.className != null && props.className || className || "")
|
|
1002
1014
|
}), loading ? /*#__PURE__*/React__default["default"].createElement(Loading$1, null) : children, /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
|
|
1003
|
-
id: "
|
|
1015
|
+
id: "313713234",
|
|
1004
1016
|
dynamic: [cursor, colors.bgColor, colors.color, colors.hoverBorder, colors.hoverBgColor]
|
|
1005
|
-
}, "button.__jsx-style-dynamic-selector{position:relative;-webkit-appearance:button;text-rendering:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;vertical-align:middle;text-align:center;cursor:".concat(cursor, ";box-sizing:border-box;margin:0;border:none;background-color:").concat(colors.bgColor, ";color:").concat(colors.color, ";width:100%;height:var(--bolio-ui-dropdown-height);min-width:var(--bolio-ui-dropdown-min-width);padding:var(--bolio-ui-dropdown-padding);font-size:var(--bolio-ui-dropdown-font-size);}button.__jsx-style-dynamic-selector:hover{border-color:").concat(colors.hoverBorder, ";background-color:").concat(colors.hoverBgColor, ";}")));
|
|
1017
|
+
}, "button.__jsx-style-dynamic-selector{position:relative;-webkit-appearance:button;text-rendering:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;vertical-align:middle;text-align:center;cursor:".concat(cursor, ";box-sizing:border-box;margin:0;border:none;background-color:").concat(colors.bgColor, ";color:").concat(colors.color, ";width:100%;height:var(--bolio-ui-dropdown-height);min-width:var(--bolio-ui-dropdown-min-width);padding:var(--bolio-ui-dropdown-padding);font-size:var(--bolio-ui-dropdown-font-size);font-weight:bold;}button.__jsx-style-dynamic-selector:hover{border-color:").concat(colors.hoverBorder, ";background-color:").concat(colors.hoverBgColor, ";}")));
|
|
1006
1018
|
}
|
|
1007
1019
|
|
|
1008
1020
|
ButtonDropdownItem.displayName = 'BolioUIButtonDropdownItem';
|
|
@@ -1060,9 +1072,9 @@ function ButtonDropdownComponent(_ref) {
|
|
|
1060
1072
|
loading: loading
|
|
1061
1073
|
};
|
|
1062
1074
|
var bgColor = React.useMemo(function () {
|
|
1063
|
-
if (disabled || loading) return theme.palette.
|
|
1075
|
+
if (disabled || loading) return theme.palette.accents_3;
|
|
1064
1076
|
return visible ? colors.hoverBgColor : colors.bgColor;
|
|
1065
|
-
}, [disabled, loading, theme.palette.
|
|
1077
|
+
}, [disabled, loading, theme.palette.accents_3, visible, colors.hoverBgColor, colors.bgColor]);
|
|
1066
1078
|
var paddingLeft = auto ? SCALES.pl(1.15) : SCALES.pl(1.375),
|
|
1067
1079
|
paddingRight = auto ? SCALES.pr(1.15) : SCALES.pr(1.375);
|
|
1068
1080
|
useClickAway$1(ref, function () {
|
|
@@ -1074,31 +1086,31 @@ function ButtonDropdownComponent(_ref) {
|
|
|
1074
1086
|
ref: ref,
|
|
1075
1087
|
onClick: stopPropagation
|
|
1076
1088
|
}, props, {
|
|
1077
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1089
|
+
className: styledJsx_cjs.style.dynamic([["1128620377", [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + (props && props.className != null && props.className || useClasses$1('btn-dropdown', className) || "")
|
|
1078
1090
|
}), mainItemChildren, /*#__PURE__*/React__default["default"].createElement("details", {
|
|
1079
1091
|
open: visible,
|
|
1080
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1092
|
+
className: styledJsx_cjs.style.dynamic([["1128620377", [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]])
|
|
1081
1093
|
}, /*#__PURE__*/React__default["default"].createElement("summary", {
|
|
1082
1094
|
onClick: clickHandler,
|
|
1083
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1095
|
+
className: styledJsx_cjs.style.dynamic([["1128620377", [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]])
|
|
1084
1096
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1085
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1097
|
+
className: styledJsx_cjs.style.dynamic([["1128620377", [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + "dropdown-box"
|
|
1086
1098
|
}, icon ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1087
1099
|
style: {
|
|
1088
|
-
color: colors.color,
|
|
1100
|
+
color: disabled || loading ? theme.palette.error : colors.color,
|
|
1089
1101
|
height: SCALES.height(2.5),
|
|
1090
1102
|
width: SCALES.height(2.5)
|
|
1091
1103
|
},
|
|
1092
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1104
|
+
className: styledJsx_cjs.style.dynamic([["1128620377", [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + "dropdown-icon"
|
|
1093
1105
|
}, icon) : /*#__PURE__*/React__default["default"].createElement(ButtonDropdownIcon, {
|
|
1094
|
-
color: colors.color,
|
|
1106
|
+
color: disabled || loading ? theme.palette.accents_4 : colors.color,
|
|
1095
1107
|
height: SCALES.height(2.5)
|
|
1096
1108
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1097
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1109
|
+
className: styledJsx_cjs.style.dynamic([["1128620377", [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + "content"
|
|
1098
1110
|
}, itemChildrenWithoutMain)), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
|
|
1099
|
-
id: "
|
|
1100
|
-
dynamic: [
|
|
1101
|
-
}, ".btn-dropdown.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;position:relative;box-sizing:border-box;border:1px solid ".concat(
|
|
1111
|
+
id: "1128620377",
|
|
1112
|
+
dynamic: [colors.borderColor, theme.layout.radius, SCALES.height(2.5), auto ? 'min-content' : SCALES.width(10.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.font(0.875), colors.hoverBorder, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius, SCALES.height(2.5), colors.color, bgColor, SCALES.height(2.5), colors.borderLeftColor, disabled || loading ? 'not-allowed' : 'pointer', colors.hoverBorder, colors.hoverBgColor, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]
|
|
1113
|
+
}, ".btn-dropdown.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;position:relative;box-sizing:border-box;border:1px solid ".concat(colors.borderColor, ";border-radius:").concat(theme.layout.radius, ";--bolio-ui-dropdown-height:").concat(SCALES.height(2.5), ";--bolio-ui-dropdown-min-width:").concat(auto ? 'min-content' : SCALES.width(10.5), ";--bolio-ui-dropdown-padding:").concat(SCALES.pt(0), " ").concat(paddingRight, " ").concat(SCALES.pb(0), " ").concat(paddingLeft, ";--bolio-ui-dropdown-font-size:").concat(SCALES.font(0.875), ";}.btn-dropdown.__jsx-style-dynamic-selector:hover{border:1px solid ").concat(colors.hoverBorder, ";}.btn-dropdown.__jsx-style-dynamic-selector>button{border-top-left-radius:").concat(theme.layout.radius, ";border-bottom-left-radius:").concat(theme.layout.radius, ";}details.__jsx-style-dynamic-selector{border-top-right-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";overflow:hidden;}.dropdown-box.__jsx-style-dynamic-selector{height:").concat(SCALES.height(2.5), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;}summary.__jsx-style-dynamic-selector{box-sizing:border-box;-webkit-tap-highlight-color:transparent;list-style:none;outline:none;color:").concat(colors.color, ";background-color:").concat(bgColor, ";height:").concat(SCALES.height(2.5), ";cursor:").concat(disabled || loading ? 'not-allowed' : 'pointer', ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;padding:0 1px;-webkit-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;transition:background 0.2s ease 0s,border-color 0.2s ease 0s;}summary.__jsx-style-dynamic-selector:hover{border-color:").concat(colors.hoverBorder, ";background-color:").concat(colors.hoverBgColor, ";}.content.__jsx-style-dynamic-selector{position:absolute;right:0;left:0;z-index:90;width:100%;border-radius:").concat(theme.layout.radius, ";box-shadow:").concat(theme.expressiveness.shadowSmall, ";-webkit-transform:translateY(").concat(theme.layout.gapHalf, ");-ms-transform:translateY(").concat(theme.layout.gapHalf, ");transform:translateY(").concat(theme.layout.gapHalf, ");background-color:").concat(theme.palette.background, ";}.content.__jsx-style-dynamic-selector>button:first-of-type{border-top-left-radius:").concat(theme.layout.radius, ";border-top-right-radius:").concat(theme.layout.radius, ";}.content.__jsx-style-dynamic-selector>button:last-of-type{border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";}.dropdown-icon.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:scale(0.6);-ms-transform:scale(0.6);transform:scale(0.6);}"))));
|
|
1102
1114
|
}
|
|
1103
1115
|
|
|
1104
1116
|
ButtonDropdownComponent.displayName = 'BolioUIButtonDropdown';
|
|
@@ -226,7 +226,7 @@ var defaultLayout = {
|
|
|
226
226
|
pageWidthWithMargin: '930pt',
|
|
227
227
|
breakpointMobile: defaultBreakpoints.xs.max,
|
|
228
228
|
breakpointTablet: defaultBreakpoints.sm.max,
|
|
229
|
-
radius: '
|
|
229
|
+
radius: '10px',
|
|
230
230
|
unit: '16px'
|
|
231
231
|
};
|
|
232
232
|
|
|
@@ -241,32 +241,32 @@ var palette$1 = {
|
|
|
241
241
|
accents_6: '#444',
|
|
242
242
|
accents_7: '#333',
|
|
243
243
|
accents_8: '#111',
|
|
244
|
-
selection: '
|
|
244
|
+
selection: 'rgba(206,228,254, 0.5)',
|
|
245
245
|
code: '#C25FFF',
|
|
246
|
-
border: '#
|
|
246
|
+
border: '#eaeaea',
|
|
247
247
|
primary: '#0072F6',
|
|
248
|
-
primaryLight: '#
|
|
249
|
-
primaryLighter: '#
|
|
248
|
+
primaryLight: '#CEE4FF',
|
|
249
|
+
primaryLighter: '#96C1F3',
|
|
250
250
|
primaryDark: '#00254E',
|
|
251
251
|
secondary: '#7828C9',
|
|
252
|
-
secondaryLighter: '#D1B1F1',
|
|
253
252
|
secondaryLight: '#EADCF9',
|
|
253
|
+
secondaryLighter: '#D1B1F1',
|
|
254
254
|
secondaryDark: '#290E45',
|
|
255
255
|
error: '#F31261',
|
|
256
|
-
errorLight: '#
|
|
257
|
-
errorLighter: '#
|
|
256
|
+
errorLight: '#FDD8E6',
|
|
257
|
+
errorLighter: '#FAA8C6',
|
|
258
258
|
errorDark: '#4E041F',
|
|
259
259
|
success: '#17C965',
|
|
260
|
-
successLight: '#
|
|
261
|
-
successLighter: '#
|
|
260
|
+
successLight: '#DAFBE9',
|
|
261
|
+
successLighter: '#ADF5CD',
|
|
262
262
|
successDark: '#06371C',
|
|
263
263
|
warning: '#F5A525',
|
|
264
|
-
warningLight: '#
|
|
265
|
-
warningLighter: '#
|
|
264
|
+
warningLight: '#FDEFD9',
|
|
265
|
+
warningLighter: '#FBDBA8',
|
|
266
266
|
warningDark: '#4E3105',
|
|
267
267
|
info: '#06B7DC',
|
|
268
|
-
infoLighter: '#A5EEFE',
|
|
269
268
|
infoLight: '#D7F8FF',
|
|
269
|
+
infoLighter: '#A5EEFE',
|
|
270
270
|
infoDark: '#053B49',
|
|
271
271
|
purple: '#f81ce5',
|
|
272
272
|
alert: '#ff0080',
|
|
@@ -308,37 +308,37 @@ var palette = {
|
|
|
308
308
|
accents_6: '#999',
|
|
309
309
|
accents_7: '#eaeaea',
|
|
310
310
|
accents_8: '#fafafa',
|
|
311
|
-
selection: '
|
|
311
|
+
selection: 'rgba(248,28,229, 0.5)',
|
|
312
312
|
code: '#C25FFF',
|
|
313
|
-
border: '#
|
|
313
|
+
border: '#333',
|
|
314
314
|
primary: '#0072F6',
|
|
315
|
-
primaryLight: '#
|
|
316
|
-
primaryLighter: '#
|
|
315
|
+
primaryLight: '#CEE4FF',
|
|
316
|
+
primaryLighter: '#96C1F3',
|
|
317
317
|
primaryDark: '#00254E',
|
|
318
318
|
secondary: '#7828C9',
|
|
319
|
-
secondaryLighter: '#D1B1F1',
|
|
320
319
|
secondaryLight: '#EADCF9',
|
|
320
|
+
secondaryLighter: '#D1B1F1',
|
|
321
321
|
secondaryDark: '#290E45',
|
|
322
322
|
error: '#F31261',
|
|
323
|
-
errorLight: '#
|
|
324
|
-
errorLighter: '#
|
|
323
|
+
errorLight: '#FDD8E6',
|
|
324
|
+
errorLighter: '#FAA8C6',
|
|
325
325
|
errorDark: '#4E041F',
|
|
326
326
|
success: '#17C965',
|
|
327
|
-
successLight: '#
|
|
328
|
-
successLighter: '#
|
|
327
|
+
successLight: '#DAFBE9',
|
|
328
|
+
successLighter: '#ADF5CD',
|
|
329
329
|
successDark: '#06371C',
|
|
330
330
|
warning: '#F5A525',
|
|
331
|
-
warningLight: '#
|
|
332
|
-
warningLighter: '#
|
|
331
|
+
warningLight: '#FDEFD9',
|
|
332
|
+
warningLighter: '#FBDBA8',
|
|
333
333
|
warningDark: '#4E3105',
|
|
334
334
|
info: '#06B7DC',
|
|
335
|
-
infoLighter: '#A5EEFE',
|
|
336
335
|
infoLight: '#D7F8FF',
|
|
336
|
+
infoLighter: '#A5EEFE',
|
|
337
337
|
infoDark: '#053B49',
|
|
338
338
|
purple: '#f81ce5',
|
|
339
339
|
alert: '#ff0080',
|
|
340
340
|
link: '#3291ff',
|
|
341
|
-
pre: '#
|
|
341
|
+
pre: '#111'
|
|
342
342
|
};
|
|
343
343
|
var expressiveness = {
|
|
344
344
|
linkStyle: 'none',
|
|
@@ -346,9 +346,9 @@ var expressiveness = {
|
|
|
346
346
|
dropdownBoxShadow: '0 0 0 1px #333',
|
|
347
347
|
scrollerStart: 'rgba(255, 255, 255, 1)',
|
|
348
348
|
scrollerEnd: 'rgba(255, 255, 255, 0)',
|
|
349
|
-
shadowSmall: '0
|
|
350
|
-
shadowMedium: '0
|
|
351
|
-
shadowLarge: '0
|
|
349
|
+
shadowSmall: '0 5px 10px rgba(255, 255, 255, 0.12)',
|
|
350
|
+
shadowMedium: '0 8px 30px rgba(255, 255, 255, 0.12)',
|
|
351
|
+
shadowLarge: '0 30px 60px rgba(255, 255, 255, 0.12)',
|
|
352
352
|
portalOpacity: 0.75
|
|
353
353
|
};
|
|
354
354
|
var font = defaultFont;
|
|
@@ -544,9 +544,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
|
|
|
544
544
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
545
545
|
var key = _step2.value;
|
|
546
546
|
var value = props[key];
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
547
|
+
|
|
548
|
+
if (typeof value !== 'undefined') {
|
|
549
|
+
scaleProps[key] = value;
|
|
550
|
+
}
|
|
550
551
|
}
|
|
551
552
|
} catch (err) {
|
|
552
553
|
_iterator2.e(err);
|
|
@@ -724,11 +725,13 @@ var getGroupBorderColors = function getGroupBorderColors(palette, props) {
|
|
|
724
725
|
type = props.type;
|
|
725
726
|
if (!ghost && type !== 'default') return palette.background;
|
|
726
727
|
var colors = {
|
|
727
|
-
|
|
728
|
-
|
|
728
|
+
// default: palette.accents_3,
|
|
729
|
+
primary: palette.primary,
|
|
729
730
|
secondary: palette.secondary,
|
|
731
|
+
success: palette.success,
|
|
732
|
+
warning: palette.warning,
|
|
730
733
|
error: palette.error,
|
|
731
|
-
|
|
734
|
+
info: palette.info
|
|
732
735
|
};
|
|
733
736
|
var withoutLightType = type === null || type === void 0 ? void 0 : type.replace('-light', '');
|
|
734
737
|
return colors[withoutLightType] || colors["default"];
|
package/dist/Capacity/index.js
CHANGED
|
@@ -226,7 +226,7 @@ var defaultLayout = {
|
|
|
226
226
|
pageWidthWithMargin: '930pt',
|
|
227
227
|
breakpointMobile: defaultBreakpoints.xs.max,
|
|
228
228
|
breakpointTablet: defaultBreakpoints.sm.max,
|
|
229
|
-
radius: '
|
|
229
|
+
radius: '10px',
|
|
230
230
|
unit: '16px'
|
|
231
231
|
};
|
|
232
232
|
|
|
@@ -241,32 +241,32 @@ var palette$1 = {
|
|
|
241
241
|
accents_6: '#444',
|
|
242
242
|
accents_7: '#333',
|
|
243
243
|
accents_8: '#111',
|
|
244
|
-
selection: '
|
|
244
|
+
selection: 'rgba(206,228,254, 0.5)',
|
|
245
245
|
code: '#C25FFF',
|
|
246
|
-
border: '#
|
|
246
|
+
border: '#eaeaea',
|
|
247
247
|
primary: '#0072F6',
|
|
248
|
-
primaryLight: '#
|
|
249
|
-
primaryLighter: '#
|
|
248
|
+
primaryLight: '#CEE4FF',
|
|
249
|
+
primaryLighter: '#96C1F3',
|
|
250
250
|
primaryDark: '#00254E',
|
|
251
251
|
secondary: '#7828C9',
|
|
252
|
-
secondaryLighter: '#D1B1F1',
|
|
253
252
|
secondaryLight: '#EADCF9',
|
|
253
|
+
secondaryLighter: '#D1B1F1',
|
|
254
254
|
secondaryDark: '#290E45',
|
|
255
255
|
error: '#F31261',
|
|
256
|
-
errorLight: '#
|
|
257
|
-
errorLighter: '#
|
|
256
|
+
errorLight: '#FDD8E6',
|
|
257
|
+
errorLighter: '#FAA8C6',
|
|
258
258
|
errorDark: '#4E041F',
|
|
259
259
|
success: '#17C965',
|
|
260
|
-
successLight: '#
|
|
261
|
-
successLighter: '#
|
|
260
|
+
successLight: '#DAFBE9',
|
|
261
|
+
successLighter: '#ADF5CD',
|
|
262
262
|
successDark: '#06371C',
|
|
263
263
|
warning: '#F5A525',
|
|
264
|
-
warningLight: '#
|
|
265
|
-
warningLighter: '#
|
|
264
|
+
warningLight: '#FDEFD9',
|
|
265
|
+
warningLighter: '#FBDBA8',
|
|
266
266
|
warningDark: '#4E3105',
|
|
267
267
|
info: '#06B7DC',
|
|
268
|
-
infoLighter: '#A5EEFE',
|
|
269
268
|
infoLight: '#D7F8FF',
|
|
269
|
+
infoLighter: '#A5EEFE',
|
|
270
270
|
infoDark: '#053B49',
|
|
271
271
|
purple: '#f81ce5',
|
|
272
272
|
alert: '#ff0080',
|
|
@@ -308,37 +308,37 @@ var palette = {
|
|
|
308
308
|
accents_6: '#999',
|
|
309
309
|
accents_7: '#eaeaea',
|
|
310
310
|
accents_8: '#fafafa',
|
|
311
|
-
selection: '
|
|
311
|
+
selection: 'rgba(248,28,229, 0.5)',
|
|
312
312
|
code: '#C25FFF',
|
|
313
|
-
border: '#
|
|
313
|
+
border: '#333',
|
|
314
314
|
primary: '#0072F6',
|
|
315
|
-
primaryLight: '#
|
|
316
|
-
primaryLighter: '#
|
|
315
|
+
primaryLight: '#CEE4FF',
|
|
316
|
+
primaryLighter: '#96C1F3',
|
|
317
317
|
primaryDark: '#00254E',
|
|
318
318
|
secondary: '#7828C9',
|
|
319
|
-
secondaryLighter: '#D1B1F1',
|
|
320
319
|
secondaryLight: '#EADCF9',
|
|
320
|
+
secondaryLighter: '#D1B1F1',
|
|
321
321
|
secondaryDark: '#290E45',
|
|
322
322
|
error: '#F31261',
|
|
323
|
-
errorLight: '#
|
|
324
|
-
errorLighter: '#
|
|
323
|
+
errorLight: '#FDD8E6',
|
|
324
|
+
errorLighter: '#FAA8C6',
|
|
325
325
|
errorDark: '#4E041F',
|
|
326
326
|
success: '#17C965',
|
|
327
|
-
successLight: '#
|
|
328
|
-
successLighter: '#
|
|
327
|
+
successLight: '#DAFBE9',
|
|
328
|
+
successLighter: '#ADF5CD',
|
|
329
329
|
successDark: '#06371C',
|
|
330
330
|
warning: '#F5A525',
|
|
331
|
-
warningLight: '#
|
|
332
|
-
warningLighter: '#
|
|
331
|
+
warningLight: '#FDEFD9',
|
|
332
|
+
warningLighter: '#FBDBA8',
|
|
333
333
|
warningDark: '#4E3105',
|
|
334
334
|
info: '#06B7DC',
|
|
335
|
-
infoLighter: '#A5EEFE',
|
|
336
335
|
infoLight: '#D7F8FF',
|
|
336
|
+
infoLighter: '#A5EEFE',
|
|
337
337
|
infoDark: '#053B49',
|
|
338
338
|
purple: '#f81ce5',
|
|
339
339
|
alert: '#ff0080',
|
|
340
340
|
link: '#3291ff',
|
|
341
|
-
pre: '#
|
|
341
|
+
pre: '#111'
|
|
342
342
|
};
|
|
343
343
|
var expressiveness = {
|
|
344
344
|
linkStyle: 'none',
|
|
@@ -346,9 +346,9 @@ var expressiveness = {
|
|
|
346
346
|
dropdownBoxShadow: '0 0 0 1px #333',
|
|
347
347
|
scrollerStart: 'rgba(255, 255, 255, 1)',
|
|
348
348
|
scrollerEnd: 'rgba(255, 255, 255, 0)',
|
|
349
|
-
shadowSmall: '0
|
|
350
|
-
shadowMedium: '0
|
|
351
|
-
shadowLarge: '0
|
|
349
|
+
shadowSmall: '0 5px 10px rgba(255, 255, 255, 0.12)',
|
|
350
|
+
shadowMedium: '0 8px 30px rgba(255, 255, 255, 0.12)',
|
|
351
|
+
shadowLarge: '0 30px 60px rgba(255, 255, 255, 0.12)',
|
|
352
352
|
portalOpacity: 0.75
|
|
353
353
|
};
|
|
354
354
|
var font = defaultFont;
|
|
@@ -565,9 +565,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
|
|
|
565
565
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
566
566
|
var key = _step2.value;
|
|
567
567
|
var value = props[key];
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
568
|
+
|
|
569
|
+
if (typeof value !== 'undefined') {
|
|
570
|
+
scaleProps[key] = value;
|
|
571
|
+
}
|
|
571
572
|
}
|
|
572
573
|
} catch (err) {
|
|
573
574
|
_iterator2.e(err);
|