@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.
Files changed (97) hide show
  1. package/dist/Avatar/index.js +31 -31
  2. package/dist/Badge/index.js +33 -33
  3. package/dist/BolioUIProvider/index.js +37 -37
  4. package/dist/Breadcrumbs/index.js +30 -30
  5. package/dist/Button/index.js +37 -37
  6. package/dist/ButtonDropdown/index.js +83 -72
  7. package/dist/ButtonDropdown/styles.d.ts +1 -0
  8. package/dist/ButtonGroup/index.js +31 -29
  9. package/dist/Capacity/index.js +26 -26
  10. package/dist/Card/Card.d.ts +1 -0
  11. package/dist/Card/index.js +62 -52
  12. package/dist/Checkbox/index.js +187 -169
  13. package/dist/Code/index.js +26 -26
  14. package/dist/Collapse/index.js +26 -26
  15. package/dist/Container/index.js +26 -26
  16. package/dist/CssBaseline/index.js +26 -26
  17. package/dist/Description/index.js +26 -26
  18. package/dist/Display/index.js +26 -26
  19. package/dist/Divider/index.js +26 -26
  20. package/dist/Dot/index.js +26 -26
  21. package/dist/Drawer/index.js +26 -26
  22. package/dist/Fieldset/index.js +26 -26
  23. package/dist/Grid/index.js +26 -26
  24. package/dist/Image/index.js +26 -26
  25. package/dist/Input/InputProps.d.ts +1 -0
  26. package/dist/Input/index.js +75 -65
  27. package/dist/Input/styles.d.ts +2 -0
  28. package/dist/Keyboard/index.js +26 -26
  29. package/dist/Link/index.js +26 -26
  30. package/dist/Loading/index.js +26 -26
  31. package/dist/MdxWidgets/index.js +26 -26
  32. package/dist/Modal/index.js +37 -37
  33. package/dist/Note/index.js +26 -26
  34. package/dist/Page/index.js +26 -26
  35. package/dist/Pagination/index.js +26 -26
  36. package/dist/Popover/index.js +26 -26
  37. package/dist/Progress/index.js +26 -26
  38. package/dist/Radio/index.js +26 -26
  39. package/dist/Rating/index.js +26 -26
  40. package/dist/Row/index.js +26 -26
  41. package/dist/Section/index.js +26 -26
  42. package/dist/Select/index.js +92 -90
  43. package/dist/Select/styles.d.ts +5 -4
  44. package/dist/Slider/index.js +26 -26
  45. package/dist/Snippet/index.js +26 -26
  46. package/dist/Spacer/index.js +26 -26
  47. package/dist/Spinner/index.js +26 -26
  48. package/dist/Table/index.js +26 -26
  49. package/dist/Tabs/index.js +29 -29
  50. package/dist/Tag/index.js +26 -26
  51. package/dist/Text/index.js +26 -26
  52. package/dist/Textarea/index.js +60 -50
  53. package/dist/Themes/index.js +26 -26
  54. package/dist/Toggle/index.js +33 -33
  55. package/dist/Tooltip/index.js +26 -26
  56. package/dist/index.js +315 -262
  57. package/dist/use-all-themes/index.js +26 -26
  58. package/dist/use-media-query/index.js +26 -26
  59. package/dist/use-scale/index.js +26 -26
  60. package/dist/use-theme/index.js +26 -26
  61. package/esm/Avatar/Avatar.js +5 -5
  62. package/esm/Badge/Badge.js +7 -7
  63. package/esm/Badge/stories.js +1 -1
  64. package/esm/Breadcrumbs/Breadcrumbs.js +4 -4
  65. package/esm/Button/Button.js +3 -3
  66. package/esm/Button/styles.js +8 -8
  67. package/esm/ButtonDropdown/ButtonDropdown.js +13 -13
  68. package/esm/ButtonDropdown/ButtonDropdownItem.js +3 -3
  69. package/esm/ButtonDropdown/Icon.js +1 -1
  70. package/esm/ButtonDropdown/styles.d.ts +1 -0
  71. package/esm/ButtonDropdown/styles.js +40 -29
  72. package/esm/ButtonGroup/ButtonGroup.js +5 -3
  73. package/esm/Capacity/stories.js +40 -10
  74. package/esm/Card/Card.d.ts +1 -0
  75. package/esm/Card/Card.js +8 -7
  76. package/esm/Card/stories.js +56 -7
  77. package/esm/Card/styles.js +28 -19
  78. package/esm/Checkbox/Checkbox.js +6 -6
  79. package/esm/Checkbox/CheckboxIcon.js +34 -16
  80. package/esm/Input/Input.js +15 -15
  81. package/esm/Input/InputProps.d.ts +1 -0
  82. package/esm/Input/styles.d.ts +2 -0
  83. package/esm/Input/styles.js +27 -13
  84. package/esm/Select/Select.js +10 -15
  85. package/esm/Select/SelectDropdown.js +4 -4
  86. package/esm/Select/SelectIconClear.js +7 -7
  87. package/esm/Select/SelectMultipleValue.js +4 -4
  88. package/esm/Select/SelectOption.js +6 -6
  89. package/esm/Select/styles.d.ts +5 -4
  90. package/esm/Select/styles.js +35 -28
  91. package/esm/Tabs/TabsItem.js +3 -3
  92. package/esm/Textarea/Textarea.js +7 -11
  93. package/esm/Themes/Presets/Dark.js +14 -14
  94. package/esm/Themes/Presets/Default.js +11 -11
  95. package/esm/Themes/Presets/Shared.js +1 -1
  96. package/esm/Toggle/Toggle.js +7 -7
  97. package/package.json +1 -1
@@ -305,7 +305,7 @@ var defaultLayout = {
305
305
  pageWidthWithMargin: '930pt',
306
306
  breakpointMobile: defaultBreakpoints.xs.max,
307
307
  breakpointTablet: defaultBreakpoints.sm.max,
308
- radius: '6px',
308
+ radius: '10px',
309
309
  unit: '16px'
310
310
  };
311
311
 
@@ -320,32 +320,32 @@ var palette$1 = {
320
320
  accents_6: '#444',
321
321
  accents_7: '#333',
322
322
  accents_8: '#111',
323
- selection: '#cee4fe',
323
+ selection: 'rgba(206,228,254, 0.5)',
324
324
  code: '#C25FFF',
325
325
  border: '#eaeaea',
326
326
  primary: '#0072F6',
327
- primaryLight: '#96C1F3',
328
- primaryLighter: '#CEE4FF',
327
+ primaryLight: '#CEE4FF',
328
+ primaryLighter: '#96C1F3',
329
329
  primaryDark: '#00254E',
330
330
  secondary: '#7828C9',
331
- secondaryLighter: '#D1B1F1',
332
331
  secondaryLight: '#EADCF9',
332
+ secondaryLighter: '#D1B1F1',
333
333
  secondaryDark: '#290E45',
334
334
  error: '#F31261',
335
- errorLight: '#FAA8C6',
336
- errorLighter: '#FDD8E6',
335
+ errorLight: '#FDD8E6',
336
+ errorLighter: '#FAA8C6',
337
337
  errorDark: '#4E041F',
338
338
  success: '#17C965',
339
- successLight: '#ADF5CD',
340
- successLighter: '#DAFBE9',
339
+ successLight: '#DAFBE9',
340
+ successLighter: '#ADF5CD',
341
341
  successDark: '#06371C',
342
342
  warning: '#F5A525',
343
- warningLight: '#FBDBA8',
344
- warningLighter: '#FDEFD9',
343
+ warningLight: '#FDEFD9',
344
+ warningLighter: '#FBDBA8',
345
345
  warningDark: '#4E3105',
346
346
  info: '#06B7DC',
347
- infoLighter: '#A5EEFE',
348
347
  infoLight: '#D7F8FF',
348
+ infoLighter: '#A5EEFE',
349
349
  infoDark: '#053B49',
350
350
  purple: '#f81ce5',
351
351
  alert: '#ff0080',
@@ -387,32 +387,32 @@ var palette = {
387
387
  accents_6: '#999',
388
388
  accents_7: '#eaeaea',
389
389
  accents_8: '#fafafa',
390
- selection: '#f81ce5',
390
+ selection: 'rgba(248,28,229, 0.5)',
391
391
  code: '#C25FFF',
392
392
  border: '#333',
393
393
  primary: '#0072F6',
394
- primaryLight: '#96C1F3',
395
- primaryLighter: '#CEE4FF',
394
+ primaryLight: '#CEE4FF',
395
+ primaryLighter: '#96C1F3',
396
396
  primaryDark: '#00254E',
397
397
  secondary: '#7828C9',
398
- secondaryLighter: '#D1B1F1',
399
398
  secondaryLight: '#EADCF9',
399
+ secondaryLighter: '#D1B1F1',
400
400
  secondaryDark: '#290E45',
401
401
  error: '#F31261',
402
- errorLight: '#FAA8C6',
403
- errorLighter: '#FDD8E6',
402
+ errorLight: '#FDD8E6',
403
+ errorLighter: '#FAA8C6',
404
404
  errorDark: '#4E041F',
405
405
  success: '#17C965',
406
- successLight: '#ADF5CD',
407
- successLighter: '#DAFBE9',
406
+ successLight: '#DAFBE9',
407
+ successLighter: '#ADF5CD',
408
408
  successDark: '#06371C',
409
409
  warning: '#F5A525',
410
- warningLight: '#FBDBA8',
411
- warningLighter: '#FDEFD9',
410
+ warningLight: '#FDEFD9',
411
+ warningLighter: '#FBDBA8',
412
412
  warningDark: '#4E3105',
413
413
  info: '#06B7DC',
414
- infoLighter: '#A5EEFE',
415
414
  infoLight: '#D7F8FF',
415
+ infoLighter: '#A5EEFE',
416
416
  infoDark: '#053B49',
417
417
  purple: '#f81ce5',
418
418
  alert: '#ff0080',
@@ -425,9 +425,9 @@ var expressiveness = {
425
425
  dropdownBoxShadow: '0 0 0 1px #333',
426
426
  scrollerStart: 'rgba(255, 255, 255, 1)',
427
427
  scrollerEnd: 'rgba(255, 255, 255, 0)',
428
- shadowSmall: '0 0 0 1px #333',
429
- shadowMedium: '0 0 0 1px #333',
430
- shadowLarge: '0 0 0 1px #333',
428
+ shadowSmall: '0 5px 10px rgba(255, 255, 255, 0.12)',
429
+ shadowMedium: '0 8px 30px rgba(255, 255, 255, 0.12)',
430
+ shadowLarge: '0 30px 60px rgba(255, 255, 255, 0.12)',
431
431
  portalOpacity: 0.75
432
432
  };
433
433
  var font = defaultFont;
@@ -1031,9 +1031,9 @@ var getButtonColors = function getButtonColors(palette, props) {
1031
1031
  ghost = props.ghost;
1032
1032
  var colors = {
1033
1033
  "default": {
1034
- bg: palette.background,
1035
- border: palette.border,
1036
- color: palette.accents_5
1034
+ bg: palette.accents_2,
1035
+ border: palette.accents_2,
1036
+ color: palette.foreground
1037
1037
  },
1038
1038
  primary: {
1039
1039
  bg: palette.primary,
@@ -1072,9 +1072,9 @@ var getButtonColors = function getButtonColors(palette, props) {
1072
1072
  }
1073
1073
  };
1074
1074
  if (disabled) return {
1075
- bg: palette.accents_1,
1076
- border: palette.accents_2,
1077
- color: '#ccc'
1075
+ bg: palette.accents_3,
1076
+ border: palette.accents_3,
1077
+ color: palette.accents_5
1078
1078
  };
1079
1079
  /**
1080
1080
  * The '-light' type is the same color as the common type,
@@ -1187,7 +1187,7 @@ var getButtonHoverColors = function getButtonHoverColors(palette, props) {
1187
1187
  })
1188
1188
  };
1189
1189
  if (disabled) return {
1190
- bg: palette.accents_1,
1190
+ bg: palette.accents_2,
1191
1191
  border: palette.accents_2,
1192
1192
  color: '#ccc'
1193
1193
  };
@@ -1218,7 +1218,7 @@ var getButtonDripColor = function getButtonDripColor(palette, props) {
1218
1218
  var type = props.type;
1219
1219
  var isLightHover = type === null || type === void 0 ? void 0 : type.endsWith('light');
1220
1220
  var hoverColors = getButtonHoverColors(palette, props);
1221
- return isLightHover ? addColorAlpha(hoverColors.bg, 0.65) : addColorAlpha(palette.accents_2, 0.65);
1221
+ return isLightHover ? addColorAlpha(hoverColors.bg, 0.65) : addColorAlpha(palette.accents_3, 0.65);
1222
1222
  };
1223
1223
 
1224
1224
  var _excluded = ["children", "disabled", "type", "loading", "shadow", "ghost", "rounded", "effect", "onClick", "auto", "icon", "htmlType", "iconRight", "className"];
@@ -1337,7 +1337,7 @@ var ButtonComponent = /*#__PURE__*/React__default["default"].forwardRef(function
1337
1337
  disabled: disabled,
1338
1338
  onClick: clickHandler
1339
1339
  }, props, {
1340
- className: styledJsx_cjs.style.dynamic([["3337261033", [rounded ? '25px' : theme.layout.radius, SCALES.font(0.875), color, bg, border, cursor, events, shadow ? '0 4px 10px 0' + bg : 'none', SCALES.pl(0.75), SCALES.height(2.5), color, bg, auto ? 'min-content' : SCALES.width(10.5), auto ? 'auto' : 'initial', SCALES.height(2.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hover.color, hover.color, hover.bg, hover.border, cursor, events]]]) + " " + (props && props.className != null && props.className || useClasses$1('btn', className) || "")
1340
+ className: styledJsx_cjs.style.dynamic([["1204671885", [rounded ? '25px' : theme.layout.radius, SCALES.font(0.875), color, bg, border, cursor, events, shadow ? '0 4px 10px 0' + bg : 'none', SCALES.pl(0.75), SCALES.height(2.5), color, bg, auto ? 'min-content' : SCALES.width(10.5), auto ? 'auto' : 'initial', SCALES.height(2.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hover.color, hover.color, hover.bg, hover.border, cursor, events]]]) + " " + (props && props.className != null && props.className || useClasses$1('btn', className) || "")
1341
1341
  }), loading && /*#__PURE__*/React__default["default"].createElement(ButtonLoading, {
1342
1342
  color: color
1343
1343
  }), childrenWithIcon, dripShow && /*#__PURE__*/React__default["default"].createElement(ButtonDrip$1, {
@@ -1346,9 +1346,9 @@ var ButtonComponent = /*#__PURE__*/React__default["default"].forwardRef(function
1346
1346
  color: dripColor,
1347
1347
  onCompleted: dripCompletedHandle
1348
1348
  }), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1349
- id: "3337261033",
1349
+ id: "1204671885",
1350
1350
  dynamic: [rounded ? '25px' : theme.layout.radius, SCALES.font(0.875), color, bg, border, cursor, events, shadow ? '0 4px 10px 0' + bg : 'none', SCALES.pl(0.75), SCALES.height(2.5), color, bg, auto ? 'min-content' : SCALES.width(10.5), auto ? 'auto' : 'initial', SCALES.height(2.5), SCALES.pt(0), paddingRight, SCALES.pb(0), paddingLeft, SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hover.color, hover.color, hover.bg, hover.border, cursor, events]
1351
- }, ".btn.__jsx-style-dynamic-selector{box-sizing:border-box;display:inline-block;border-radius:".concat(rounded ? '25px' : theme.layout.radius, ";font-weight:500;font-size:").concat(SCALES.font(0.875), ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;text-transform:capitalize;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;white-space:nowrap;-webkit-transition:background-color 200ms ease 0ms,box-shadow 200ms ease 0ms, border 200ms ease 0ms,color 200ms ease 0ms;transition:background-color 200ms ease 0ms,box-shadow 200ms ease 0ms, border 200ms ease 0ms,color 200ms ease 0ms;position:relative;overflow:hidden;color:").concat(color, ";background-color:").concat(bg, ";border:1px solid ").concat(border, ";cursor:").concat(cursor, ";pointer-events:").concat(events, ";box-shadow:").concat(shadow ? '0 4px 10px 0' + bg : 'none', ";--bolio-ui-button-icon-padding:").concat(SCALES.pl(0.75), ";--bolio-ui-button-height:").concat(SCALES.height(2.5), ";--bolio-ui-button-color:").concat(color, ";--bolio-ui-button-bg:").concat(bg, ";min-width:").concat(auto ? 'min-content' : SCALES.width(10.5), ";width:").concat(auto ? 'auto' : 'initial', ";height:").concat(SCALES.height(2.5), ";padding:").concat(SCALES.pt(0), " ").concat(paddingRight, " ").concat(SCALES.pb(0), " ").concat(paddingLeft, ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.btn.__jsx-style-dynamic-selector:hover,.btn.__jsx-style-dynamic-selector:focus{color:").concat(hover.color, ";--bolio-ui-button-color:").concat(hover.color, ";background-color:").concat(hover.bg, ";cursor:").concat(cursor, ";pointer-events:").concat(events, ";}.btn.__jsx-style-dynamic-selector:active{-webkit-transform:scale(0.98,0.98);-ms-transform:scale(0.98,0.98);transform:scale(0.98,0.98);}.btn.__jsx-style-dynamic-selector .text{position:relative;z-index:1;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-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;text-align:center;line-height:inherit;}.btn.__jsx-style-dynamic-selector .text p,.btn.__jsx-style-dynamic-selector .text pre,.btn.__jsx-style-dynamic-selector .text div{margin:0;}")));
1351
+ }, ".btn.__jsx-style-dynamic-selector{box-sizing:border-box;display:inline-block;border-radius:".concat(rounded ? '25px' : theme.layout.radius, ";font-weight:bold;font-size:").concat(SCALES.font(0.875), ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;text-transform:capitalize;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;white-space:nowrap;-webkit-transition:background-color 200ms ease 0ms,box-shadow 200ms ease 0ms, border 200ms ease 0ms,color 200ms ease 0ms;transition:background-color 200ms ease 0ms,box-shadow 200ms ease 0ms, border 200ms ease 0ms,color 200ms ease 0ms;position:relative;overflow:hidden;color:").concat(color, ";background-color:").concat(bg, ";border:1px solid ").concat(border, ";cursor:").concat(cursor, ";pointer-events:").concat(events, ";box-shadow:").concat(shadow ? '0 4px 10px 0' + bg : 'none', ";--bolio-ui-button-icon-padding:").concat(SCALES.pl(0.75), ";--bolio-ui-button-height:").concat(SCALES.height(2.5), ";--bolio-ui-button-color:").concat(color, ";--bolio-ui-button-bg:").concat(bg, ";min-width:").concat(auto ? 'min-content' : SCALES.width(10.5), ";width:").concat(auto ? 'auto' : 'initial', ";height:").concat(SCALES.height(2.5), ";padding:").concat(SCALES.pt(0), " ").concat(paddingRight, " ").concat(SCALES.pb(0), " ").concat(paddingLeft, ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.btn.__jsx-style-dynamic-selector:hover,.btn.__jsx-style-dynamic-selector:focus{cursor:").concat(cursor, ";pointer-events:").concat(events, ";}.btn.__jsx-style-dynamic-selector:active{-webkit-transform:scale(0.98,0.98);-ms-transform:scale(0.98,0.98);transform:scale(0.98,0.98);}.btn.__jsx-style-dynamic-selector .text{position:relative;z-index:1;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-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;text-align:center;line-height:inherit;}.btn.__jsx-style-dynamic-selector .text p,.btn.__jsx-style-dynamic-selector .text pre,.btn.__jsx-style-dynamic-selector .text div{margin:0;}")));
1352
1352
  });
1353
1353
  ButtonComponent.defaultProps = defaultProps;
1354
1354
  ButtonComponent.displayName = 'BolioUIButton';
@@ -268,7 +268,7 @@ var defaultLayout = {
268
268
  pageWidthWithMargin: '930pt',
269
269
  breakpointMobile: defaultBreakpoints.xs.max,
270
270
  breakpointTablet: defaultBreakpoints.sm.max,
271
- radius: '6px',
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: '#cee4fe',
286
+ selection: 'rgba(206,228,254, 0.5)',
287
287
  code: '#C25FFF',
288
288
  border: '#eaeaea',
289
289
  primary: '#0072F6',
290
- primaryLight: '#96C1F3',
291
- primaryLighter: '#CEE4FF',
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: '#FAA8C6',
299
- errorLighter: '#FDD8E6',
298
+ errorLight: '#FDD8E6',
299
+ errorLighter: '#FAA8C6',
300
300
  errorDark: '#4E041F',
301
301
  success: '#17C965',
302
- successLight: '#ADF5CD',
303
- successLighter: '#DAFBE9',
302
+ successLight: '#DAFBE9',
303
+ successLighter: '#ADF5CD',
304
304
  successDark: '#06371C',
305
305
  warning: '#F5A525',
306
- warningLight: '#FBDBA8',
307
- warningLighter: '#FDEFD9',
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: '#f81ce5',
353
+ selection: 'rgba(248,28,229, 0.5)',
354
354
  code: '#C25FFF',
355
355
  border: '#333',
356
356
  primary: '#0072F6',
357
- primaryLight: '#96C1F3',
358
- primaryLighter: '#CEE4FF',
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: '#FAA8C6',
366
- errorLighter: '#FDD8E6',
365
+ errorLight: '#FDD8E6',
366
+ errorLighter: '#FAA8C6',
367
367
  errorDark: '#4E041F',
368
368
  success: '#17C965',
369
- successLight: '#ADF5CD',
370
- successLighter: '#DAFBE9',
369
+ successLight: '#DAFBE9',
370
+ successLighter: '#ADF5CD',
371
371
  successDark: '#06371C',
372
372
  warning: '#F5A525',
373
- warningLight: '#FBDBA8',
374
- warningLighter: '#FDEFD9',
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 0 0 1px #333',
392
- shadowMedium: '0 0 0 1px #333',
393
- shadowLarge: '0 0 0 1px #333',
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.accents_5,
529
- bgColor: palette.background,
528
+ color: palette.foreground,
529
+ bgColor: palette.accents_2,
530
+ borderColor: palette.accents_2,
530
531
  borderLeftColor: palette.accents_2,
531
- hoverBgColor: palette.accents_1,
532
+ hoverBgColor: palette.accents_2,
532
533
  hoverBorder: palette.accents_2
533
534
  },
534
535
  primary: {
535
- color: palette.background,
536
- bgColor: palette.primary,
536
+ color: palette.primaryDark,
537
+ bgColor: palette.primaryLighter,
538
+ borderColor: palette.primaryDark,
537
539
  borderLeftColor: palette.primaryDark,
538
- hoverBgColor: palette.primaryDark,
539
- hoverBorder: palette.primaryDark
540
+ hoverBgColor: palette.primaryLight,
541
+ hoverBorder: palette.primary
540
542
  },
541
543
  secondary: {
542
- color: palette.background,
543
- bgColor: palette.secondary,
544
+ color: palette.secondaryDark,
545
+ bgColor: palette.secondaryLighter,
546
+ borderColor: palette.secondaryDark,
544
547
  borderLeftColor: palette.secondaryDark,
545
- hoverBgColor: palette.secondaryDark,
546
- hoverBorder: palette.secondaryDark
548
+ hoverBgColor: palette.secondaryLight,
549
+ hoverBorder: palette.secondary
547
550
  },
548
551
  success: {
549
- color: palette.background,
550
- bgColor: palette.success,
552
+ color: palette.successDark,
553
+ bgColor: palette.successLighter,
554
+ borderColor: palette.successDark,
551
555
  borderLeftColor: palette.successDark,
552
- hoverBgColor: palette.successDark,
553
- hoverBorder: palette.successDark
556
+ hoverBgColor: palette.successLight,
557
+ hoverBorder: palette.success
554
558
  },
555
559
  warning: {
556
- color: palette.background,
557
- bgColor: palette.warning,
560
+ color: palette.warningDark,
561
+ bgColor: palette.warningLighter,
562
+ borderColor: palette.warningDark,
558
563
  borderLeftColor: palette.warningDark,
559
- hoverBgColor: palette.warningDark,
560
- hoverBorder: palette.warningDark
564
+ hoverBgColor: palette.warningLight,
565
+ hoverBorder: palette.warning
561
566
  },
562
567
  error: {
563
- color: palette.background,
564
- bgColor: palette.error,
568
+ color: palette.errorDark,
569
+ bgColor: palette.errorLighter,
570
+ borderColor: palette.errorDark,
565
571
  borderLeftColor: palette.errorDark,
566
- hoverBgColor: palette.errorDark,
567
- hoverBorder: palette.errorDark
572
+ hoverBgColor: palette.errorLight,
573
+ hoverBorder: palette.error
568
574
  },
569
575
  info: {
570
- color: palette.background,
571
- bgColor: palette.info,
576
+ color: palette.infoDark,
577
+ bgColor: palette.infoLighter,
578
+ borderColor: palette.infoDark,
572
579
  borderLeftColor: palette.infoDark,
573
- hoverBgColor: palette.infoDark,
574
- hoverBorder: palette.infoDark
580
+ hoverBgColor: palette.infoLight,
581
+ hoverBorder: palette.info
575
582
  }
576
583
  };
577
584
  if (disabled) return _objectSpread2(_objectSpread2({}, colors["default"]), {}, {
578
- bgColor: palette.accents_1,
579
- color: palette.accents_4
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",
@@ -999,11 +1010,11 @@ function ButtonDropdownItem(_ref) {
999
1010
  return /*#__PURE__*/React__default["default"].createElement("button", _extends({
1000
1011
  onClick: clickHandler
1001
1012
  }, props, {
1002
- className: styledJsx_cjs.style.dynamic([["3452455908", [cursor, colors.bgColor, colors.color, colors.hoverBorder, colors.hoverBgColor]]]) + " " + (props && props.className != null && props.className || className || "")
1013
+ className: styledJsx_cjs.style.dynamic([["313713234", [cursor, colors.bgColor, colors.color, colors.hoverBorder, colors.hoverBgColor]]]) + " " + (props && props.className != null && props.className || className || "")
1003
1014
  }), loading ? /*#__PURE__*/React__default["default"].createElement(Loading$1, null) : children, /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1004
- id: "3452455908",
1015
+ id: "313713234",
1005
1016
  dynamic: [cursor, colors.bgColor, colors.color, colors.hoverBorder, colors.hoverBgColor]
1006
- }, "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, ";}")));
1007
1018
  }
1008
1019
 
1009
1020
  ButtonDropdownItem.displayName = 'BolioUIButtonDropdownItem';
@@ -1061,9 +1072,9 @@ function ButtonDropdownComponent(_ref) {
1061
1072
  loading: loading
1062
1073
  };
1063
1074
  var bgColor = React.useMemo(function () {
1064
- if (disabled || loading) return theme.palette.accents_1;
1075
+ if (disabled || loading) return theme.palette.accents_3;
1065
1076
  return visible ? colors.hoverBgColor : colors.bgColor;
1066
- }, [disabled, loading, theme.palette.accents_1, visible, colors.hoverBgColor, colors.bgColor]);
1077
+ }, [disabled, loading, theme.palette.accents_3, visible, colors.hoverBgColor, colors.bgColor]);
1067
1078
  var paddingLeft = auto ? SCALES.pl(1.15) : SCALES.pl(1.375),
1068
1079
  paddingRight = auto ? SCALES.pr(1.15) : SCALES.pr(1.375);
1069
1080
  useClickAway$1(ref, function () {
@@ -1075,31 +1086,31 @@ function ButtonDropdownComponent(_ref) {
1075
1086
  ref: ref,
1076
1087
  onClick: stopPropagation
1077
1088
  }, props, {
1078
- className: styledJsx_cjs.style.dynamic([["2624345116", [theme.palette.border, 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), 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.shadowLarge, 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) || "")
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) || "")
1079
1090
  }), mainItemChildren, /*#__PURE__*/React__default["default"].createElement("details", {
1080
1091
  open: visible,
1081
- className: styledJsx_cjs.style.dynamic([["2624345116", [theme.palette.border, 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), 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.shadowLarge, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]])
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]]])
1082
1093
  }, /*#__PURE__*/React__default["default"].createElement("summary", {
1083
1094
  onClick: clickHandler,
1084
- className: styledJsx_cjs.style.dynamic([["2624345116", [theme.palette.border, 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), 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.shadowLarge, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]])
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]]])
1085
1096
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1086
- className: styledJsx_cjs.style.dynamic([["2624345116", [theme.palette.border, 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), 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.shadowLarge, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + "dropdown-box"
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"
1087
1098
  }, icon ? /*#__PURE__*/React__default["default"].createElement("span", {
1088
1099
  style: {
1089
- color: colors.color,
1100
+ color: disabled || loading ? theme.palette.error : colors.color,
1090
1101
  height: SCALES.height(2.5),
1091
1102
  width: SCALES.height(2.5)
1092
1103
  },
1093
- className: styledJsx_cjs.style.dynamic([["2624345116", [theme.palette.border, 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), 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.shadowLarge, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + "dropdown-icon"
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"
1094
1105
  }, icon) : /*#__PURE__*/React__default["default"].createElement(ButtonDropdownIcon, {
1095
- color: colors.color,
1106
+ color: disabled || loading ? theme.palette.accents_4 : colors.color,
1096
1107
  height: SCALES.height(2.5)
1097
1108
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
1098
- className: styledJsx_cjs.style.dynamic([["2624345116", [theme.palette.border, 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), 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.shadowLarge, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]]]) + " " + "content"
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"
1099
1110
  }, itemChildrenWithoutMain)), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1100
- id: "2624345116",
1101
- dynamic: [theme.palette.border, 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), 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.shadowLarge, theme.layout.gapHalf, theme.palette.background, theme.layout.radius, theme.layout.radius, theme.layout.radius, theme.layout.radius]
1102
- }, ".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(theme.palette.border, ";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>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), ";border-left:1px solid ").concat(colors.borderLeftColor, ";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.shadowLarge, ";-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);}"))));
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);}"))));
1103
1114
  }
1104
1115
 
1105
1116
  ButtonDropdownComponent.displayName = 'BolioUIButtonDropdown';
@@ -3,6 +3,7 @@ import { NormalTypes } from "../utils/prop-types";
3
3
  declare type ButtonDropdownColors = {
4
4
  color: string;
5
5
  bgColor: string;
6
+ borderColor: string;
6
7
  hoverBgColor: string;
7
8
  hoverBorder: string;
8
9
  borderLeftColor: string;
@@ -226,7 +226,7 @@ var defaultLayout = {
226
226
  pageWidthWithMargin: '930pt',
227
227
  breakpointMobile: defaultBreakpoints.xs.max,
228
228
  breakpointTablet: defaultBreakpoints.sm.max,
229
- radius: '6px',
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: '#cee4fe',
244
+ selection: 'rgba(206,228,254, 0.5)',
245
245
  code: '#C25FFF',
246
246
  border: '#eaeaea',
247
247
  primary: '#0072F6',
248
- primaryLight: '#96C1F3',
249
- primaryLighter: '#CEE4FF',
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: '#FAA8C6',
257
- errorLighter: '#FDD8E6',
256
+ errorLight: '#FDD8E6',
257
+ errorLighter: '#FAA8C6',
258
258
  errorDark: '#4E041F',
259
259
  success: '#17C965',
260
- successLight: '#ADF5CD',
261
- successLighter: '#DAFBE9',
260
+ successLight: '#DAFBE9',
261
+ successLighter: '#ADF5CD',
262
262
  successDark: '#06371C',
263
263
  warning: '#F5A525',
264
- warningLight: '#FBDBA8',
265
- warningLighter: '#FDEFD9',
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: '#f81ce5',
311
+ selection: 'rgba(248,28,229, 0.5)',
312
312
  code: '#C25FFF',
313
313
  border: '#333',
314
314
  primary: '#0072F6',
315
- primaryLight: '#96C1F3',
316
- primaryLighter: '#CEE4FF',
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: '#FAA8C6',
324
- errorLighter: '#FDD8E6',
323
+ errorLight: '#FDD8E6',
324
+ errorLighter: '#FAA8C6',
325
325
  errorDark: '#4E041F',
326
326
  success: '#17C965',
327
- successLight: '#ADF5CD',
328
- successLighter: '#DAFBE9',
327
+ successLight: '#DAFBE9',
328
+ successLighter: '#ADF5CD',
329
329
  successDark: '#06371C',
330
330
  warning: '#F5A525',
331
- warningLight: '#FBDBA8',
332
- warningLighter: '#FDEFD9',
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 0 0 1px #333',
350
- shadowMedium: '0 0 0 1px #333',
351
- shadowLarge: '0 0 0 1px #333',
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;
@@ -725,11 +725,13 @@ var getGroupBorderColors = function getGroupBorderColors(palette, props) {
725
725
  type = props.type;
726
726
  if (!ghost && type !== 'default') return palette.background;
727
727
  var colors = {
728
- "default": palette.border,
729
- success: palette.success,
728
+ // default: palette.accents_3,
729
+ primary: palette.primary,
730
730
  secondary: palette.secondary,
731
+ success: palette.success,
732
+ warning: palette.warning,
731
733
  error: palette.error,
732
- warning: palette.warning
734
+ info: palette.info
733
735
  };
734
736
  var withoutLightType = type === null || type === void 0 ? void 0 : type.replace('-light', '');
735
737
  return colors[withoutLightType] || colors["default"];