@bolio-ui/core 1.0.7 → 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 +31 -31
- package/dist/Badge/index.js +33 -33
- package/dist/BolioUIProvider/index.js +37 -37
- package/dist/Breadcrumbs/index.js +30 -30
- package/dist/Button/index.js +37 -37
- package/dist/ButtonDropdown/index.js +83 -72
- package/dist/ButtonDropdown/styles.d.ts +1 -0
- package/dist/ButtonGroup/index.js +31 -29
- package/dist/Capacity/index.js +26 -26
- package/dist/Card/Card.d.ts +1 -0
- package/dist/Card/index.js +62 -52
- package/dist/Checkbox/index.js +187 -169
- package/dist/Code/index.js +26 -26
- package/dist/Collapse/index.js +26 -26
- package/dist/Container/index.js +26 -26
- package/dist/CssBaseline/index.js +26 -26
- package/dist/Description/index.js +26 -26
- package/dist/Display/index.js +26 -26
- package/dist/Divider/index.js +26 -26
- package/dist/Dot/index.js +26 -26
- package/dist/Drawer/index.js +26 -26
- package/dist/Fieldset/index.js +26 -26
- package/dist/Grid/index.js +26 -26
- package/dist/Image/index.js +26 -26
- package/dist/Input/InputProps.d.ts +1 -0
- package/dist/Input/index.js +75 -65
- package/dist/Input/styles.d.ts +2 -0
- package/dist/Keyboard/index.js +26 -26
- package/dist/Link/index.js +26 -26
- package/dist/Loading/index.js +26 -26
- package/dist/MdxWidgets/index.js +26 -26
- package/dist/Modal/index.js +37 -37
- package/dist/Note/index.js +26 -26
- package/dist/Page/index.js +26 -26
- package/dist/Pagination/index.js +26 -26
- package/dist/Popover/index.js +26 -26
- package/dist/Progress/index.js +26 -26
- package/dist/Radio/index.js +26 -26
- package/dist/Rating/index.js +26 -26
- package/dist/Row/index.js +26 -26
- package/dist/Section/index.js +26 -26
- package/dist/Select/index.js +92 -90
- package/dist/Select/styles.d.ts +5 -4
- package/dist/Slider/index.js +26 -26
- package/dist/Snippet/index.js +26 -26
- package/dist/Spacer/index.js +26 -26
- package/dist/Spinner/index.js +26 -26
- package/dist/Table/index.js +26 -26
- package/dist/Tabs/index.js +29 -29
- package/dist/Tag/index.js +26 -26
- package/dist/Text/index.js +26 -26
- package/dist/Textarea/index.js +60 -50
- package/dist/Themes/index.js +26 -26
- package/dist/Toggle/index.js +33 -33
- package/dist/Tooltip/index.js +26 -26
- package/dist/index.js +315 -262
- package/dist/use-all-themes/index.js +26 -26
- package/dist/use-media-query/index.js +26 -26
- package/dist/use-scale/index.js +26 -26
- package/dist/use-theme/index.js +26 -26
- 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/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 +27 -13
- 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 +14 -14
- package/esm/Themes/Presets/Default.js +11 -11
- package/esm/Themes/Presets/Shared.js +1 -1
- package/esm/Toggle/Toggle.js +7 -7
- package/package.json +1 -1
package/dist/Input/index.js
CHANGED
|
@@ -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
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,32 +350,32 @@ 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
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',
|
|
@@ -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;
|
|
@@ -634,37 +634,51 @@ var getColors = function getColors(palette, status) {
|
|
|
634
634
|
var colors = {
|
|
635
635
|
"default": {
|
|
636
636
|
color: palette.foreground,
|
|
637
|
+
bgColor: palette.accents_2,
|
|
637
638
|
borderColor: palette.accents_3,
|
|
638
|
-
|
|
639
|
+
hoverBgColor: palette.accents_2,
|
|
640
|
+
hoverBorder: palette.accents_6
|
|
639
641
|
},
|
|
640
642
|
primary: {
|
|
641
|
-
color: palette.
|
|
642
|
-
|
|
643
|
+
color: palette.primaryDark,
|
|
644
|
+
bgColor: palette.primaryLighter,
|
|
645
|
+
borderColor: palette.primaryDark,
|
|
646
|
+
hoverBgColor: palette.primaryLight,
|
|
643
647
|
hoverBorder: palette.primary
|
|
644
648
|
},
|
|
645
649
|
secondary: {
|
|
646
|
-
color: palette.
|
|
647
|
-
|
|
650
|
+
color: palette.secondaryDark,
|
|
651
|
+
bgColor: palette.secondaryLighter,
|
|
652
|
+
borderColor: palette.secondaryDark,
|
|
653
|
+
hoverBgColor: palette.secondaryLight,
|
|
648
654
|
hoverBorder: palette.secondary
|
|
649
655
|
},
|
|
650
656
|
success: {
|
|
651
|
-
color: palette.
|
|
652
|
-
|
|
657
|
+
color: palette.successDark,
|
|
658
|
+
bgColor: palette.successLighter,
|
|
659
|
+
borderColor: palette.successDark,
|
|
660
|
+
hoverBgColor: palette.successLight,
|
|
653
661
|
hoverBorder: palette.success
|
|
654
662
|
},
|
|
655
663
|
warning: {
|
|
656
|
-
color: palette.
|
|
657
|
-
|
|
664
|
+
color: palette.warningDark,
|
|
665
|
+
bgColor: palette.warningLighter,
|
|
666
|
+
borderColor: palette.warningDark,
|
|
667
|
+
hoverBgColor: palette.warningLight,
|
|
658
668
|
hoverBorder: palette.warning
|
|
659
669
|
},
|
|
660
670
|
error: {
|
|
661
|
-
color: palette.
|
|
662
|
-
|
|
671
|
+
color: palette.errorDark,
|
|
672
|
+
bgColor: palette.errorLighter,
|
|
673
|
+
borderColor: palette.errorDark,
|
|
674
|
+
hoverBgColor: palette.errorLight,
|
|
663
675
|
hoverBorder: palette.error
|
|
664
676
|
},
|
|
665
677
|
info: {
|
|
666
|
-
color: palette.
|
|
667
|
-
|
|
678
|
+
color: palette.infoDark,
|
|
679
|
+
bgColor: palette.infoLighter,
|
|
680
|
+
borderColor: palette.infoDark,
|
|
681
|
+
hoverBgColor: palette.infoLight,
|
|
668
682
|
hoverBorder: palette.info
|
|
669
683
|
}
|
|
670
684
|
};
|
|
@@ -892,7 +906,7 @@ var withScale$1 = withScale;
|
|
|
892
906
|
|
|
893
907
|
var useScale = useScale$1;
|
|
894
908
|
|
|
895
|
-
var _excluded$2 = ["label", "labelRight", "type", "htmlType", "icon", "iconRight", "iconClickable", "onIconClick", "initialValue", "onChange", "readOnly", "value", "onClearClick", "clearable", "className", "onBlur", "onFocus", "autoComplete", "placeholder", "children", "disabled", "rounded", "backgroundColor", "borderColor"];
|
|
909
|
+
var _excluded$2 = ["label", "labelRight", "type", "htmlType", "icon", "iconRight", "iconClickable", "onIconClick", "initialValue", "onChange", "readOnly", "value", "onClearClick", "clearable", "className", "onBlur", "onFocus", "autoComplete", "placeholder", "children", "disabled", "rounded", "backgroundColor", "borderColor", "hoverBorder"];
|
|
896
910
|
|
|
897
911
|
var simulateChangeEvent = function simulateChangeEvent(el, event) {
|
|
898
912
|
return _objectSpread2(_objectSpread2({}, event), {}, {
|
|
@@ -926,6 +940,7 @@ var InputComponent = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
926
940
|
rounded = _ref.rounded,
|
|
927
941
|
backgroundColor = _ref.backgroundColor,
|
|
928
942
|
borderColor = _ref.borderColor,
|
|
943
|
+
hoverBorder = _ref.hoverBorder,
|
|
929
944
|
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
930
945
|
|
|
931
946
|
var theme = useTheme();
|
|
@@ -956,14 +971,13 @@ var InputComponent = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
956
971
|
}, [label, labelRight]);
|
|
957
972
|
var iconClasses = React.useMemo(function () {
|
|
958
973
|
return iconRight ? 'right-icon' : icon ? 'left-icon' : '';
|
|
959
|
-
}, [icon, iconRight]);
|
|
974
|
+
}, [icon, iconRight]); // const {
|
|
975
|
+
// color,
|
|
976
|
+
// borderColor: borderColorThemed,
|
|
977
|
+
// hoverBorder
|
|
978
|
+
// } = useMemo(() => getColors(theme.palette, type), [theme.palette, type])
|
|
960
979
|
|
|
961
|
-
var
|
|
962
|
-
return getColors(theme.palette, type);
|
|
963
|
-
}, [theme.palette, type]),
|
|
964
|
-
color = _useMemo.color,
|
|
965
|
-
borderColorThemed = _useMemo.borderColor,
|
|
966
|
-
hoverBorder = _useMemo.hoverBorder;
|
|
980
|
+
var colors = getColors(theme.palette, type);
|
|
967
981
|
|
|
968
982
|
var changeHandler = function changeHandler(event) {
|
|
969
983
|
if (disabled || readOnly) return;
|
|
@@ -1018,11 +1032,11 @@ var InputComponent = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
1018
1032
|
var inputProps = _objectSpread2(_objectSpread2({}, props), controlledValue);
|
|
1019
1033
|
|
|
1020
1034
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1021
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1035
|
+
className: styledJsx_cjs.style.dynamic([["1821647879", [SCALES.height(2.25), SCALES.font(0.875), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.width(1, 'initial'), rounded ? '25px' : theme.layout.radius, borderColor ? borderColor : colors.borderColor, backgroundColor ? backgroundColor : colors.bgColor, hoverBorder ? hoverBorder : colors.hoverBorder, backgroundColor ? backgroundColor : colors.hoverBgColor, theme.palette.accents_2, colors.hoverBorder, SCALES.font(0.875), colors.color, theme.palette.accents_3, theme.palette.background, colors.color]]]) + " " + "with-label"
|
|
1022
1036
|
}, children && /*#__PURE__*/React__default["default"].createElement(InputBlockLabel$1, null, children), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1023
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1037
|
+
className: styledJsx_cjs.style.dynamic([["1821647879", [SCALES.height(2.25), SCALES.font(0.875), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.width(1, 'initial'), rounded ? '25px' : theme.layout.radius, borderColor ? borderColor : colors.borderColor, backgroundColor ? backgroundColor : colors.bgColor, hoverBorder ? hoverBorder : colors.hoverBorder, backgroundColor ? backgroundColor : colors.hoverBgColor, theme.palette.accents_2, colors.hoverBorder, SCALES.font(0.875), colors.color, theme.palette.accents_3, theme.palette.background, colors.color]]]) + " " + (useClasses$1('input-container', className) || "")
|
|
1024
1038
|
}, label && /*#__PURE__*/React__default["default"].createElement(InputLabel$1, null, label), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1025
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1039
|
+
className: styledJsx_cjs.style.dynamic([["1821647879", [SCALES.height(2.25), SCALES.font(0.875), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.width(1, 'initial'), rounded ? '25px' : theme.layout.radius, borderColor ? borderColor : colors.borderColor, backgroundColor ? backgroundColor : colors.bgColor, hoverBorder ? hoverBorder : colors.hoverBorder, backgroundColor ? backgroundColor : colors.hoverBgColor, theme.palette.accents_2, colors.hoverBorder, SCALES.font(0.875), colors.color, theme.palette.accents_3, theme.palette.background, colors.color]]]) + " " + (useClasses$1('input-wrapper', {
|
|
1026
1040
|
hover: hover,
|
|
1027
1041
|
disabled: disabled
|
|
1028
1042
|
}, labelClasses) || "")
|
|
@@ -1039,7 +1053,7 @@ var InputComponent = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
1039
1053
|
onChange: changeHandler,
|
|
1040
1054
|
autoComplete: autoComplete
|
|
1041
1055
|
}, inputProps, {
|
|
1042
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1056
|
+
className: styledJsx_cjs.style.dynamic([["1821647879", [SCALES.height(2.25), SCALES.font(0.875), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.width(1, 'initial'), rounded ? '25px' : theme.layout.radius, borderColor ? borderColor : colors.borderColor, backgroundColor ? backgroundColor : colors.bgColor, hoverBorder ? hoverBorder : colors.hoverBorder, backgroundColor ? backgroundColor : colors.hoverBgColor, theme.palette.accents_2, colors.hoverBorder, SCALES.font(0.875), colors.color, theme.palette.accents_3, theme.palette.background, colors.color]]]) + " " + (inputProps && inputProps.className != null && inputProps.className || useClasses$1({
|
|
1043
1057
|
disabled: disabled
|
|
1044
1058
|
}, iconClasses) || "")
|
|
1045
1059
|
})), clearable && /*#__PURE__*/React__default["default"].createElement(InputClearIcon, {
|
|
@@ -1051,9 +1065,9 @@ var InputComponent = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
1051
1065
|
}, iconProps))), labelRight && /*#__PURE__*/React__default["default"].createElement(InputLabel$1, {
|
|
1052
1066
|
isRight: true
|
|
1053
1067
|
}, labelRight)), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
|
|
1054
|
-
id: "
|
|
1055
|
-
dynamic: [SCALES.height(2.25), SCALES.font(0.875), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.width(1, 'initial'), rounded ? '25px' : theme.layout.radius, borderColor ? borderColor :
|
|
1056
|
-
}, ".with-label.__jsx-style-dynamic-selector{display:inline-block;box-sizing:border-box;-webkit-box-align:center;--input-height:".concat(SCALES.height(2.25), ";font-size:").concat(SCALES.font(0.875), ";width:").concat(SCALES.width(1, 'initial'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.input-container.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:").concat(SCALES.width(1, 'initial'), ";height:var(--input-height);}.input-wrapper.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:").concat(rounded ? '25px' : theme.layout.radius, ";border:1px solid ").concat(borderColor ? borderColor :
|
|
1068
|
+
id: "1821647879",
|
|
1069
|
+
dynamic: [SCALES.height(2.25), SCALES.font(0.875), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.width(1, 'initial'), rounded ? '25px' : theme.layout.radius, borderColor ? borderColor : colors.borderColor, backgroundColor ? backgroundColor : colors.bgColor, hoverBorder ? hoverBorder : colors.hoverBorder, backgroundColor ? backgroundColor : colors.hoverBgColor, theme.palette.accents_2, colors.hoverBorder, SCALES.font(0.875), colors.color, theme.palette.accents_3, theme.palette.background, colors.color]
|
|
1070
|
+
}, ".with-label.__jsx-style-dynamic-selector{display:inline-block;box-sizing:border-box;-webkit-box-align:center;--input-height:".concat(SCALES.height(2.25), ";font-size:").concat(SCALES.font(0.875), ";width:").concat(SCALES.width(1, 'initial'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.input-container.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:").concat(SCALES.width(1, 'initial'), ";height:var(--input-height);}.input-wrapper.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:").concat(rounded ? '25px' : theme.layout.radius, ";border:1px solid ").concat(borderColor ? borderColor : colors.borderColor, ";-webkit-transition:border 0.2s ease 0s,color 0.2s ease 0s;transition:border 0.2s ease 0s,color 0.2s ease 0s;background:").concat(backgroundColor ? backgroundColor : colors.bgColor, ";}.input-wrapper.active.__jsx-style-dynamic-selector,.input-wrapper.__jsx-style-dynamic-selector:hover{border:1px solid ").concat(hoverBorder ? hoverBorder : colors.hoverBorder, ";background:").concat(backgroundColor ? backgroundColor : colors.hoverBgColor, ";}.input-wrapper.left-label.__jsx-style-dynamic-selector{border-top-left-radius:0;border-bottom-left-radius:0;}.input-wrapper.right-label.__jsx-style-dynamic-selector{border-top-right-radius:0;border-bottom-right-radius:0;}.input-wrapper.disabled.__jsx-style-dynamic-selector{background-color:").concat(theme.palette.accents_2, ";cursor:not-allowed;}input.disabled.__jsx-style-dynamic-selector{cursor:not-allowed;}.input-wrapper.hover.__jsx-style-dynamic-selector{border-color:").concat(colors.hoverBorder, ";}input.__jsx-style-dynamic-selector{margin:0.25em 0.625em;padding:0 4px;box-shadow:none;font-size:").concat(SCALES.font(0.875), ";background-color:transparent;border:none;color:").concat(colors.color, ";outline:none;border-radius:0;width:100%;min-width:0;-webkit-appearance:none;}input.left-icon.__jsx-style-dynamic-selector{margin-left:0;}input.right-icon.__jsx-style-dynamic-selector{margin-right:0;}.__jsx-style-dynamic-selector::-webkit-input-placeholder,.__jsx-style-dynamic-selector::-moz-placeholder,.__jsx-style-dynamic-selector:-ms-input-placeholder,.__jsx-style-dynamic-selector::-webkit-input-placeholder{color:").concat(theme.palette.accents_3, ";}.__jsx-style-dynamic-selector::-moz-placeholder,.__jsx-style-dynamic-selector::-moz-placeholder,.__jsx-style-dynamic-selector:-ms-input-placeholder,.__jsx-style-dynamic-selector::-webkit-input-placeholder{color:").concat(theme.palette.accents_3, ";}.__jsx-style-dynamic-selector:-ms-input-placeholder,.__jsx-style-dynamic-selector::-moz-placeholder,.__jsx-style-dynamic-selector:-ms-input-placeholder,.__jsx-style-dynamic-selector::-webkit-input-placeholder{color:").concat(theme.palette.accents_3, ";}.__jsx-style-dynamic-selector::placeholder,.__jsx-style-dynamic-selector::-moz-placeholder,.__jsx-style-dynamic-selector:-ms-input-placeholder,.__jsx-style-dynamic-selector::-webkit-input-placeholder{color:").concat(theme.palette.accents_3, ";}.__jsx-style-dynamic-selector::-ms-reveal{display:none !important;}input.__jsx-style-dynamic-selector:-webkit-autofill,input.__jsx-style-dynamic-selector:-webkit-autofill.__jsx-style-dynamic-selector:hover,input.__jsx-style-dynamic-selector:-webkit-autofill.__jsx-style-dynamic-selector:active,input.__jsx-style-dynamic-selector:-webkit-autofill.__jsx-style-dynamic-selector:focus{-webkit-box-shadow:0 0 0 30px ").concat(theme.palette.background, " inset !important;-webkit-text-fill-color:").concat(colors.color, " !important;}")));
|
|
1057
1071
|
});
|
|
1058
1072
|
InputComponent.defaultProps = defaultProps;
|
|
1059
1073
|
InputComponent.displayName = 'BolioUIInput';
|
|
@@ -1121,13 +1135,9 @@ var TextareaComponent = /*#__PURE__*/React__default["default"].forwardRef(functi
|
|
|
1121
1135
|
hover = _useState4[0],
|
|
1122
1136
|
setHover = _useState4[1];
|
|
1123
1137
|
|
|
1124
|
-
var
|
|
1138
|
+
var colors = React.useMemo(function () {
|
|
1125
1139
|
return getColors(theme.palette, type);
|
|
1126
|
-
}, [theme.palette, type])
|
|
1127
|
-
color = _useMemo.color,
|
|
1128
|
-
borderColor = _useMemo.borderColor,
|
|
1129
|
-
hoverBorder = _useMemo.hoverBorder;
|
|
1130
|
-
|
|
1140
|
+
}, [theme.palette, type]);
|
|
1131
1141
|
var classes = useClasses$1('wrapper', {
|
|
1132
1142
|
hover: hover,
|
|
1133
1143
|
disabled: disabled
|
|
@@ -1163,7 +1173,7 @@ var TextareaComponent = /*#__PURE__*/React__default["default"].forwardRef(functi
|
|
|
1163
1173
|
var textareaProps = _objectSpread2(_objectSpread2({}, props), controlledValue);
|
|
1164
1174
|
|
|
1165
1175
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1166
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1176
|
+
className: styledJsx_cjs.style.dynamic([["2097224582", [theme.layout.radius, colors.borderColor, colors.color, SCALES.font(0.875), SCALES.height(1, 'auto'), SCALES.width(1, 'initial'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), colors.hoverBorder, colors.hoverBgColor, theme.palette.accents_2, theme.palette.accents_3, colors.bgColor, theme.font.sans, SCALES.pt(0.5), SCALES.pr(0.5), SCALES.pb(0.5), SCALES.pl(0.5), resize, theme.layout.radius, colors.hoverBorder, colors.hoverBgColor, theme.palette.background]]]) + " " + (classes || "")
|
|
1167
1177
|
}, /*#__PURE__*/React__default["default"].createElement("textarea", _extends({
|
|
1168
1178
|
ref: textareaRef,
|
|
1169
1179
|
disabled: disabled,
|
|
@@ -1173,11 +1183,11 @@ var TextareaComponent = /*#__PURE__*/React__default["default"].forwardRef(functi
|
|
|
1173
1183
|
onBlur: blurHandler,
|
|
1174
1184
|
onChange: changeHandler
|
|
1175
1185
|
}, textareaProps, {
|
|
1176
|
-
className: styledJsx_cjs.style.dynamic([["
|
|
1186
|
+
className: styledJsx_cjs.style.dynamic([["2097224582", [theme.layout.radius, colors.borderColor, colors.color, SCALES.font(0.875), SCALES.height(1, 'auto'), SCALES.width(1, 'initial'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), colors.hoverBorder, colors.hoverBgColor, theme.palette.accents_2, theme.palette.accents_3, colors.bgColor, theme.font.sans, SCALES.pt(0.5), SCALES.pr(0.5), SCALES.pb(0.5), SCALES.pl(0.5), resize, theme.layout.radius, colors.hoverBorder, colors.hoverBgColor, theme.palette.background]]]) + " " + (textareaProps && textareaProps.className != null && textareaProps.className || "")
|
|
1177
1187
|
})), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
|
|
1178
|
-
id: "
|
|
1179
|
-
dynamic: [theme.layout.radius, borderColor, color, SCALES.font(0.875), SCALES.height(1, 'auto'), SCALES.width(1, 'initial'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hoverBorder, theme.palette.
|
|
1180
|
-
}, ".wrapper.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:".concat(theme.layout.radius, ";border:1px solid ").concat(borderColor, ";color:").concat(color, ";-webkit-transition:border 0.2s ease 0s,color 0.2s ease 0s;transition:border 0.2s ease 0s,color 0.2s ease 0s;min-width:12.5rem;max-width:95vw;--textarea-font-size:").concat(SCALES.font(0.875), ";--textarea-height:").concat(SCALES.height(1, 'auto'), ";width:").concat(SCALES.width(1, 'initial'), ";height:var(--textarea-height);margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.wrapper.hover.__jsx-style-dynamic-selector{border-color:").concat(hoverBorder, ";}.wrapper.disabled.__jsx-style-dynamic-selector{background-color:").concat(theme.palette.
|
|
1188
|
+
id: "2097224582",
|
|
1189
|
+
dynamic: [theme.layout.radius, colors.borderColor, colors.color, SCALES.font(0.875), SCALES.height(1, 'auto'), SCALES.width(1, 'initial'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), colors.hoverBorder, colors.hoverBgColor, theme.palette.accents_2, theme.palette.accents_3, colors.bgColor, theme.font.sans, SCALES.pt(0.5), SCALES.pr(0.5), SCALES.pb(0.5), SCALES.pl(0.5), resize, theme.layout.radius, colors.hoverBorder, colors.hoverBgColor, theme.palette.background]
|
|
1190
|
+
}, ".wrapper.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:".concat(theme.layout.radius, ";border:1px solid ").concat(colors.borderColor, ";color:").concat(colors.color, ";-webkit-transition:border 0.2s ease 0s,color 0.2s ease 0s;transition:border 0.2s ease 0s,color 0.2s ease 0s;min-width:12.5rem;max-width:95vw;--textarea-font-size:").concat(SCALES.font(0.875), ";--textarea-height:").concat(SCALES.height(1, 'auto'), ";width:").concat(SCALES.width(1, 'initial'), ";height:var(--textarea-height);margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.wrapper.hover.__jsx-style-dynamic-selector{border-color:").concat(colors.hoverBorder, ";background-color:").concat(colors.hoverBgColor, ";}.wrapper.disabled.__jsx-style-dynamic-selector{background-color:").concat(theme.palette.accents_2, ";border-color:").concat(theme.palette.accents_3, ";cursor:not-allowed;}textarea.__jsx-style-dynamic-selector{background-color:").concat(colors.bgColor, ";box-shadow:none;display:block;font-family:").concat(theme.font.sans, ";font-size:var(--textarea-font-size);width:100%;border:none;outline:none;padding:").concat(SCALES.pt(0.5), " ").concat(SCALES.pr(0.5), " ").concat(SCALES.pb(0.5), " ").concat(SCALES.pl(0.5), ";resize:").concat(resize, ";border-radius:").concat(theme.layout.radius, ";}.disabled.__jsx-style-dynamic-selector>textarea.__jsx-style-dynamic-selector{cursor:not-allowed;}textarea.active.__jsx-style-dynamic-selector,textarea.__jsx-style-dynamic-selector:hover{border-color:").concat(colors.hoverBorder, ";background:").concat(colors.hoverBgColor, ";}textarea.__jsx-style-dynamic-selector:-webkit-autofill,textarea.__jsx-style-dynamic-selector:-webkit-autofill.__jsx-style-dynamic-selector:hover,textarea.__jsx-style-dynamic-selector:-webkit-autofill.__jsx-style-dynamic-selector:active,textarea.__jsx-style-dynamic-selector:-webkit-autofill.__jsx-style-dynamic-selector:focus{-webkit-box-shadow:0 0 0 30px ").concat(theme.palette.background, " inset !important;}")));
|
|
1181
1191
|
});
|
|
1182
1192
|
TextareaComponent.displayName = 'BolioUITextarea';
|
|
1183
1193
|
var Textarea = withScale$1(TextareaComponent);
|
package/dist/Input/styles.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BolioUIThemesPalette } from "../Themes/Presets";
|
|
2
2
|
export declare type InputColor = {
|
|
3
3
|
color: string;
|
|
4
|
+
bgColor: string;
|
|
4
5
|
borderColor: string;
|
|
6
|
+
hoverBgColor: string;
|
|
5
7
|
hoverBorder: string;
|
|
6
8
|
};
|
|
7
9
|
export declare const getColors: (palette: BolioUIThemesPalette, status?: "success" | "primary" | "secondary" | "error" | "warning" | "info" | "default" | undefined) => InputColor;
|
package/dist/Keyboard/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
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,32 +308,32 @@ 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
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',
|
|
@@ -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;
|
package/dist/Link/index.js
CHANGED
|
@@ -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
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,32 +350,32 @@ 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
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',
|
|
@@ -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;
|