@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.
Files changed (102) hide show
  1. package/dist/Avatar/index.js +38 -37
  2. package/dist/Badge/index.js +40 -39
  3. package/dist/BolioUIProvider/index.js +44 -43
  4. package/dist/Breadcrumbs/index.js +37 -36
  5. package/dist/Button/index.js +44 -43
  6. package/dist/ButtonDropdown/index.js +90 -78
  7. package/dist/ButtonDropdown/styles.d.ts +1 -0
  8. package/dist/ButtonGroup/index.js +38 -35
  9. package/dist/Capacity/index.js +33 -32
  10. package/dist/Card/Card.d.ts +1 -0
  11. package/dist/Card/index.js +69 -58
  12. package/dist/Checkbox/index.js +194 -175
  13. package/dist/Code/index.js +33 -32
  14. package/dist/Collapse/index.js +33 -32
  15. package/dist/Container/index.js +29 -29
  16. package/dist/CssBaseline/index.js +29 -29
  17. package/dist/Description/index.js +33 -32
  18. package/dist/Display/index.js +33 -32
  19. package/dist/Divider/index.js +33 -32
  20. package/dist/Dot/Dot.d.ts +1 -0
  21. package/dist/Dot/index.js +43 -40
  22. package/dist/Drawer/index.js +33 -32
  23. package/dist/Fieldset/index.js +33 -32
  24. package/dist/Grid/index.js +33 -32
  25. package/dist/Image/index.js +33 -32
  26. package/dist/Input/InputProps.d.ts +1 -0
  27. package/dist/Input/index.js +83 -72
  28. package/dist/Input/styles.d.ts +2 -0
  29. package/dist/Keyboard/index.js +33 -32
  30. package/dist/Link/index.js +33 -32
  31. package/dist/Loading/index.js +33 -32
  32. package/dist/MdxWidgets/index.js +29 -29
  33. package/dist/Modal/index.js +44 -43
  34. package/dist/Note/index.js +33 -32
  35. package/dist/Page/index.js +33 -32
  36. package/dist/Pagination/index.js +33 -32
  37. package/dist/Popover/index.js +33 -32
  38. package/dist/Progress/index.js +33 -32
  39. package/dist/Radio/index.js +33 -32
  40. package/dist/Rating/index.js +33 -32
  41. package/dist/Row/index.js +29 -29
  42. package/dist/Section/index.js +33 -32
  43. package/dist/Select/index.js +99 -96
  44. package/dist/Select/styles.d.ts +5 -4
  45. package/dist/Slider/index.js +33 -32
  46. package/dist/Snippet/index.js +33 -32
  47. package/dist/Spacer/index.js +33 -32
  48. package/dist/Spinner/index.js +33 -32
  49. package/dist/Table/index.js +33 -32
  50. package/dist/Tabs/index.js +36 -35
  51. package/dist/Tag/index.js +33 -32
  52. package/dist/Text/index.js +33 -32
  53. package/dist/Textarea/index.js +68 -57
  54. package/dist/Themes/index.js +29 -29
  55. package/dist/Toggle/index.js +40 -39
  56. package/dist/Tooltip/index.js +33 -32
  57. package/dist/index.js +333 -277
  58. package/dist/use-all-themes/index.js +29 -29
  59. package/dist/use-media-query/index.js +29 -29
  60. package/dist/use-scale/index.js +33 -32
  61. package/dist/use-theme/index.js +29 -29
  62. package/esm/Avatar/Avatar.js +5 -5
  63. package/esm/Badge/Badge.js +7 -7
  64. package/esm/Badge/stories.js +1 -1
  65. package/esm/Breadcrumbs/Breadcrumbs.js +4 -4
  66. package/esm/Button/Button.js +3 -3
  67. package/esm/Button/styles.js +8 -8
  68. package/esm/ButtonDropdown/ButtonDropdown.js +13 -13
  69. package/esm/ButtonDropdown/ButtonDropdownItem.js +3 -3
  70. package/esm/ButtonDropdown/Icon.js +1 -1
  71. package/esm/ButtonDropdown/styles.d.ts +1 -0
  72. package/esm/ButtonDropdown/styles.js +40 -29
  73. package/esm/ButtonGroup/ButtonGroup.js +5 -3
  74. package/esm/Capacity/stories.js +40 -10
  75. package/esm/Card/Card.d.ts +1 -0
  76. package/esm/Card/Card.js +8 -7
  77. package/esm/Card/stories.js +56 -7
  78. package/esm/Card/styles.js +28 -19
  79. package/esm/Checkbox/Checkbox.js +6 -6
  80. package/esm/Checkbox/CheckboxIcon.js +34 -16
  81. package/esm/Dot/Dot.d.ts +1 -0
  82. package/esm/Dot/Dot.js +10 -8
  83. package/esm/Input/Input.js +15 -15
  84. package/esm/Input/InputProps.d.ts +1 -0
  85. package/esm/Input/styles.d.ts +2 -0
  86. package/esm/Input/styles.js +28 -14
  87. package/esm/Select/Select.js +10 -15
  88. package/esm/Select/SelectDropdown.js +4 -4
  89. package/esm/Select/SelectIconClear.js +7 -7
  90. package/esm/Select/SelectMultipleValue.js +4 -4
  91. package/esm/Select/SelectOption.js +6 -6
  92. package/esm/Select/styles.d.ts +5 -4
  93. package/esm/Select/styles.js +35 -28
  94. package/esm/Tabs/TabsItem.js +3 -3
  95. package/esm/Textarea/Textarea.js +7 -11
  96. package/esm/Themes/Presets/Dark.js +16 -16
  97. package/esm/Themes/Presets/Default.js +12 -12
  98. package/esm/Themes/Presets/Shared.js +1 -1
  99. package/esm/Toggle/Toggle.js +7 -7
  100. package/esm/use-scale/utils.js +4 -3
  101. package/examples/create-redwoodjs/.redwood/README.md +44 -0
  102. package/package.json +19 -19
@@ -263,7 +263,7 @@ var defaultLayout = {
263
263
  pageWidthWithMargin: '930pt',
264
264
  breakpointMobile: defaultBreakpoints.xs.max,
265
265
  breakpointTablet: defaultBreakpoints.sm.max,
266
- radius: '6px',
266
+ radius: '10px',
267
267
  unit: '16px'
268
268
  };
269
269
 
@@ -278,32 +278,32 @@ var palette$1 = {
278
278
  accents_6: '#444',
279
279
  accents_7: '#333',
280
280
  accents_8: '#111',
281
- selection: '#cee4fe',
281
+ selection: 'rgba(206,228,254, 0.5)',
282
282
  code: '#C25FFF',
283
- border: '#999',
283
+ border: '#eaeaea',
284
284
  primary: '#0072F6',
285
- primaryLight: '#96C1F3',
286
- primaryLighter: '#CEE4FF',
285
+ primaryLight: '#CEE4FF',
286
+ primaryLighter: '#96C1F3',
287
287
  primaryDark: '#00254E',
288
288
  secondary: '#7828C9',
289
- secondaryLighter: '#D1B1F1',
290
289
  secondaryLight: '#EADCF9',
290
+ secondaryLighter: '#D1B1F1',
291
291
  secondaryDark: '#290E45',
292
292
  error: '#F31261',
293
- errorLight: '#FAA8C6',
294
- errorLighter: '#FDD8E6',
293
+ errorLight: '#FDD8E6',
294
+ errorLighter: '#FAA8C6',
295
295
  errorDark: '#4E041F',
296
296
  success: '#17C965',
297
- successLight: '#ADF5CD',
298
- successLighter: '#DAFBE9',
297
+ successLight: '#DAFBE9',
298
+ successLighter: '#ADF5CD',
299
299
  successDark: '#06371C',
300
300
  warning: '#F5A525',
301
- warningLight: '#FBDBA8',
302
- warningLighter: '#FDEFD9',
301
+ warningLight: '#FDEFD9',
302
+ warningLighter: '#FBDBA8',
303
303
  warningDark: '#4E3105',
304
304
  info: '#06B7DC',
305
- infoLighter: '#A5EEFE',
306
305
  infoLight: '#D7F8FF',
306
+ infoLighter: '#A5EEFE',
307
307
  infoDark: '#053B49',
308
308
  purple: '#f81ce5',
309
309
  alert: '#ff0080',
@@ -345,37 +345,37 @@ var palette = {
345
345
  accents_6: '#999',
346
346
  accents_7: '#eaeaea',
347
347
  accents_8: '#fafafa',
348
- selection: '#f81ce5',
348
+ selection: 'rgba(248,28,229, 0.5)',
349
349
  code: '#C25FFF',
350
- border: '#444',
350
+ border: '#333',
351
351
  primary: '#0072F6',
352
- primaryLight: '#96C1F3',
353
- primaryLighter: '#CEE4FF',
352
+ primaryLight: '#CEE4FF',
353
+ primaryLighter: '#96C1F3',
354
354
  primaryDark: '#00254E',
355
355
  secondary: '#7828C9',
356
- secondaryLighter: '#D1B1F1',
357
356
  secondaryLight: '#EADCF9',
357
+ secondaryLighter: '#D1B1F1',
358
358
  secondaryDark: '#290E45',
359
359
  error: '#F31261',
360
- errorLight: '#FAA8C6',
361
- errorLighter: '#FDD8E6',
360
+ errorLight: '#FDD8E6',
361
+ errorLighter: '#FAA8C6',
362
362
  errorDark: '#4E041F',
363
363
  success: '#17C965',
364
- successLight: '#ADF5CD',
365
- successLighter: '#DAFBE9',
364
+ successLight: '#DAFBE9',
365
+ successLighter: '#ADF5CD',
366
366
  successDark: '#06371C',
367
367
  warning: '#F5A525',
368
- warningLight: '#FBDBA8',
369
- warningLighter: '#FDEFD9',
368
+ warningLight: '#FDEFD9',
369
+ warningLighter: '#FBDBA8',
370
370
  warningDark: '#4E3105',
371
371
  info: '#06B7DC',
372
- infoLighter: '#A5EEFE',
373
372
  infoLight: '#D7F8FF',
373
+ infoLighter: '#A5EEFE',
374
374
  infoDark: '#053B49',
375
375
  purple: '#f81ce5',
376
376
  alert: '#ff0080',
377
377
  link: '#3291ff',
378
- pre: '#363450'
378
+ pre: '#111'
379
379
  };
380
380
  var expressiveness = {
381
381
  linkStyle: 'none',
@@ -383,9 +383,9 @@ var expressiveness = {
383
383
  dropdownBoxShadow: '0 0 0 1px #333',
384
384
  scrollerStart: 'rgba(255, 255, 255, 1)',
385
385
  scrollerEnd: 'rgba(255, 255, 255, 0)',
386
- shadowSmall: '0 0 0 1px #333',
387
- shadowMedium: '0 0 0 1px #333',
388
- shadowLarge: '0 0 0 1px #333',
386
+ shadowSmall: '0 5px 10px rgba(255, 255, 255, 0.12)',
387
+ shadowMedium: '0 8px 30px rgba(255, 255, 255, 0.12)',
388
+ shadowLarge: '0 30px 60px rgba(255, 255, 255, 0.12)',
389
389
  portalOpacity: 0.75
390
390
  };
391
391
  var font = defaultFont;
@@ -538,9 +538,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
538
538
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
539
539
  var key = _step2.value;
540
540
  var value = props[key];
541
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
542
- // scaleProps[key as keyof ScaleProps] = value as any
543
- // }
541
+
542
+ if (typeof value !== 'undefined') {
543
+ scaleProps[key] = value;
544
+ }
544
545
  }
545
546
  } catch (err) {
546
547
  _iterator2.e(err);
@@ -285,7 +285,7 @@ var defaultLayout = {
285
285
  pageWidthWithMargin: '930pt',
286
286
  breakpointMobile: defaultBreakpoints.xs.max,
287
287
  breakpointTablet: defaultBreakpoints.sm.max,
288
- radius: '6px',
288
+ radius: '10px',
289
289
  unit: '16px'
290
290
  };
291
291
 
@@ -300,32 +300,32 @@ var palette$1 = {
300
300
  accents_6: '#444',
301
301
  accents_7: '#333',
302
302
  accents_8: '#111',
303
- selection: '#cee4fe',
303
+ selection: 'rgba(206,228,254, 0.5)',
304
304
  code: '#C25FFF',
305
- border: '#999',
305
+ border: '#eaeaea',
306
306
  primary: '#0072F6',
307
- primaryLight: '#96C1F3',
308
- primaryLighter: '#CEE4FF',
307
+ primaryLight: '#CEE4FF',
308
+ primaryLighter: '#96C1F3',
309
309
  primaryDark: '#00254E',
310
310
  secondary: '#7828C9',
311
- secondaryLighter: '#D1B1F1',
312
311
  secondaryLight: '#EADCF9',
312
+ secondaryLighter: '#D1B1F1',
313
313
  secondaryDark: '#290E45',
314
314
  error: '#F31261',
315
- errorLight: '#FAA8C6',
316
- errorLighter: '#FDD8E6',
315
+ errorLight: '#FDD8E6',
316
+ errorLighter: '#FAA8C6',
317
317
  errorDark: '#4E041F',
318
318
  success: '#17C965',
319
- successLight: '#ADF5CD',
320
- successLighter: '#DAFBE9',
319
+ successLight: '#DAFBE9',
320
+ successLighter: '#ADF5CD',
321
321
  successDark: '#06371C',
322
322
  warning: '#F5A525',
323
- warningLight: '#FBDBA8',
324
- warningLighter: '#FDEFD9',
323
+ warningLight: '#FDEFD9',
324
+ warningLighter: '#FBDBA8',
325
325
  warningDark: '#4E3105',
326
326
  info: '#06B7DC',
327
- infoLighter: '#A5EEFE',
328
327
  infoLight: '#D7F8FF',
328
+ infoLighter: '#A5EEFE',
329
329
  infoDark: '#053B49',
330
330
  purple: '#f81ce5',
331
331
  alert: '#ff0080',
@@ -367,37 +367,37 @@ var palette = {
367
367
  accents_6: '#999',
368
368
  accents_7: '#eaeaea',
369
369
  accents_8: '#fafafa',
370
- selection: '#f81ce5',
370
+ selection: 'rgba(248,28,229, 0.5)',
371
371
  code: '#C25FFF',
372
- border: '#444',
372
+ border: '#333',
373
373
  primary: '#0072F6',
374
- primaryLight: '#96C1F3',
375
- primaryLighter: '#CEE4FF',
374
+ primaryLight: '#CEE4FF',
375
+ primaryLighter: '#96C1F3',
376
376
  primaryDark: '#00254E',
377
377
  secondary: '#7828C9',
378
- secondaryLighter: '#D1B1F1',
379
378
  secondaryLight: '#EADCF9',
379
+ secondaryLighter: '#D1B1F1',
380
380
  secondaryDark: '#290E45',
381
381
  error: '#F31261',
382
- errorLight: '#FAA8C6',
383
- errorLighter: '#FDD8E6',
382
+ errorLight: '#FDD8E6',
383
+ errorLighter: '#FAA8C6',
384
384
  errorDark: '#4E041F',
385
385
  success: '#17C965',
386
- successLight: '#ADF5CD',
387
- successLighter: '#DAFBE9',
386
+ successLight: '#DAFBE9',
387
+ successLighter: '#ADF5CD',
388
388
  successDark: '#06371C',
389
389
  warning: '#F5A525',
390
- warningLight: '#FBDBA8',
391
- warningLighter: '#FDEFD9',
390
+ warningLight: '#FDEFD9',
391
+ warningLighter: '#FBDBA8',
392
392
  warningDark: '#4E3105',
393
393
  info: '#06B7DC',
394
- infoLighter: '#A5EEFE',
395
394
  infoLight: '#D7F8FF',
395
+ infoLighter: '#A5EEFE',
396
396
  infoDark: '#053B49',
397
397
  purple: '#f81ce5',
398
398
  alert: '#ff0080',
399
399
  link: '#3291ff',
400
- pre: '#363450'
400
+ pre: '#111'
401
401
  };
402
402
  var expressiveness = {
403
403
  linkStyle: 'none',
@@ -405,9 +405,9 @@ var expressiveness = {
405
405
  dropdownBoxShadow: '0 0 0 1px #333',
406
406
  scrollerStart: 'rgba(255, 255, 255, 1)',
407
407
  scrollerEnd: 'rgba(255, 255, 255, 0)',
408
- shadowSmall: '0 0 0 1px #333',
409
- shadowMedium: '0 0 0 1px #333',
410
- shadowLarge: '0 0 0 1px #333',
408
+ shadowSmall: '0 5px 10px rgba(255, 255, 255, 0.12)',
409
+ shadowMedium: '0 8px 30px rgba(255, 255, 255, 0.12)',
410
+ shadowLarge: '0 30px 60px rgba(255, 255, 255, 0.12)',
411
411
  portalOpacity: 0.75
412
412
  };
413
413
  var font = defaultFont;
@@ -1019,11 +1019,11 @@ var SelectDropdown = /*#__PURE__*/React__default["default"].forwardRef(function
1019
1019
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1020
1020
  ref: internalDropdownRef,
1021
1021
  style: dropdownStyle,
1022
- className: styledJsx_cjs.style.dynamic([["2782510679", [theme.layout.radius, theme.expressiveness.shadowLarge, theme.palette.background]]]) + " " + (classes || "")
1022
+ className: styledJsx_cjs.style.dynamic([["2113247935", [theme.layout.radius, theme.expressiveness.shadowLarge, theme.palette.accents_2]]]) + " " + (classes || "")
1023
1023
  }, children, /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1024
- id: "2782510679",
1025
- dynamic: [theme.layout.radius, theme.expressiveness.shadowLarge, theme.palette.background]
1026
- }, ".select-dropdown.__jsx-style-dynamic-selector{border-radius:".concat(theme.layout.radius, ";box-shadow:").concat(theme.expressiveness.shadowLarge, ";background-color:").concat(theme.palette.background, ";max-height:17em;overflow-y:auto;overflow-anchor:none;padding:0.38em 0;-webkit-scroll-behavior:smooth;-moz-scroll-behavior:smooth;-ms-scroll-behavior:smooth;scroll-behavior:smooth;}"))));
1024
+ id: "2113247935",
1025
+ dynamic: [theme.layout.radius, theme.expressiveness.shadowLarge, theme.palette.accents_2]
1026
+ }, ".select-dropdown.__jsx-style-dynamic-selector{border-radius:".concat(theme.layout.radius, ";box-shadow:").concat(theme.expressiveness.shadowLarge, ";background-color:").concat(theme.palette.accents_2, ";max-height:17em;overflow-y:auto;overflow-anchor:none;padding:0.38em 0;-webkit-scroll-behavior:smooth;-moz-scroll-behavior:smooth;-ms-scroll-behavior:smooth;scroll-behavior:smooth;}"))));
1027
1027
  });
1028
1028
  SelectDropdown.displayName = 'BolioUISelectDropdown';
1029
1029
  var SelectDropdown$1 = SelectDropdown;
@@ -1104,9 +1104,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
1104
1104
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1105
1105
  var key = _step2.value;
1106
1106
  var value = props[key];
1107
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
1108
- // scaleProps[key as keyof ScaleProps] = value as any
1109
- // }
1107
+
1108
+ if (typeof value !== 'undefined') {
1109
+ scaleProps[key] = value;
1110
+ }
1110
1111
  }
1111
1112
  } catch (err) {
1112
1113
  _iterator2.e(err);
@@ -1405,7 +1406,7 @@ function SelectIconClear(_ref) {
1405
1406
 
1406
1407
  return /*#__PURE__*/React__default["default"].createElement("div", {
1407
1408
  onClick: clickHandler,
1408
- className: styledJsx_cjs.style.dynamic([["1984024521", [theme.palette.accents_3, theme.palette.foreground]]]) + " " + "clear-icon"
1409
+ className: styledJsx_cjs.style.dynamic([["3218630561", [theme.palette.accents_5, theme.palette.foreground]]]) + " " + "clear-icon"
1409
1410
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
1410
1411
  viewBox: "0 0 24 24",
1411
1412
  stroke: "currentColor",
@@ -1414,17 +1415,17 @@ function SelectIconClear(_ref) {
1414
1415
  strokeLinejoin: "round",
1415
1416
  fill: "none",
1416
1417
  shapeRendering: "geometricPrecision",
1417
- className: styledJsx_cjs.style.dynamic([["1984024521", [theme.palette.accents_3, theme.palette.foreground]]])
1418
+ className: styledJsx_cjs.style.dynamic([["3218630561", [theme.palette.accents_5, theme.palette.foreground]]])
1418
1419
  }, /*#__PURE__*/React__default["default"].createElement("path", {
1419
1420
  d: "M18 6L6 18",
1420
- className: styledJsx_cjs.style.dynamic([["1984024521", [theme.palette.accents_3, theme.palette.foreground]]])
1421
+ className: styledJsx_cjs.style.dynamic([["3218630561", [theme.palette.accents_5, theme.palette.foreground]]])
1421
1422
  }), /*#__PURE__*/React__default["default"].createElement("path", {
1422
1423
  d: "M6 6l12 12",
1423
- className: styledJsx_cjs.style.dynamic([["1984024521", [theme.palette.accents_3, theme.palette.foreground]]])
1424
+ className: styledJsx_cjs.style.dynamic([["3218630561", [theme.palette.accents_5, theme.palette.foreground]]])
1424
1425
  })), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1425
- id: "1984024521",
1426
- dynamic: [theme.palette.accents_3, theme.palette.foreground]
1427
- }, ".clear-icon.__jsx-style-dynamic-selector{padding:0 0 0 0.5em;margin:0;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;height:100%;cursor:pointer;box-sizing:border-box;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s;color:".concat(theme.palette.accents_3, ";visibility:visible;opacity:1;}.clear-icon.__jsx-style-dynamic-selector:hover{color:").concat(theme.palette.foreground, ";}svg.__jsx-style-dynamic-selector{color:currentColor;width:1em;height:1em;}")));
1426
+ id: "3218630561",
1427
+ dynamic: [theme.palette.accents_5, theme.palette.foreground]
1428
+ }, ".clear-icon.__jsx-style-dynamic-selector{padding:0 0 0 0.5em;margin:0;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;height:100%;cursor:pointer;box-sizing:border-box;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s;color:".concat(theme.palette.accents_5, ";visibility:visible;opacity:1;}.clear-icon.__jsx-style-dynamic-selector:hover{color:").concat(theme.palette.foreground, ";}svg.__jsx-style-dynamic-selector{color:currentColor;width:1em;height:1em;}")));
1428
1429
  }
1429
1430
 
1430
1431
  var MemoSelectIconClear = /*#__PURE__*/React__default["default"].memo(SelectIconClear);
@@ -1436,13 +1437,13 @@ function SelectMultipleValue(_ref) {
1436
1437
  children = _ref.children;
1437
1438
  var theme = useTheme();
1438
1439
  return /*#__PURE__*/React__default["default"].createElement(Grid$1, null, /*#__PURE__*/React__default["default"].createElement("div", {
1439
- className: styledJsx_cjs.style.dynamic([["1576722377", [theme.layout.radius, theme.palette.accents_2, disabled ? theme.palette.accents_4 : theme.palette.accents_6]]]) + " " + "item"
1440
+ className: styledJsx_cjs.style.dynamic([["81854150", [theme.layout.radius, theme.palette.accents_3, disabled ? theme.palette.accents_5 : theme.palette.accents_7]]]) + " " + "item"
1440
1441
  }, children, !!onClear && /*#__PURE__*/React__default["default"].createElement(SelectClearIcon, {
1441
1442
  onClick: onClear
1442
1443
  })), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1443
- id: "1576722377",
1444
- dynamic: [theme.layout.radius, theme.palette.accents_2, disabled ? theme.palette.accents_4 : theme.palette.accents_6]
1445
- }, ".item.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;justify-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0 0.5em;font-size:var(--select-font-size);height:calc(var(--select-font-size) * 2);border-radius:".concat(theme.layout.radius, ";background-color:").concat(theme.palette.accents_2, ";color:").concat(disabled ? theme.palette.accents_4 : theme.palette.accents_6, ";}.item.__jsx-style-dynamic-selector>div:not(.clear-icon),.item.__jsx-style-dynamic-selector>div:not(.clear-icon):hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}")));
1444
+ id: "81854150",
1445
+ dynamic: [theme.layout.radius, theme.palette.accents_3, disabled ? theme.palette.accents_5 : theme.palette.accents_7]
1446
+ }, ".item.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;justify-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0 0.5em;font-size:var(--select-font-size);height:calc(var(--select-font-size) * 2);border-radius:".concat(theme.layout.radius, ";background-color:").concat(theme.palette.accents_3, ";color:").concat(disabled ? theme.palette.accents_5 : theme.palette.accents_7, ";}.item.__jsx-style-dynamic-selector>div:not(.clear-icon),.item.__jsx-style-dynamic-selector>div:not(.clear-icon):hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}")));
1446
1447
  }
1447
1448
 
1448
1449
  SelectMultipleValue.displayName = 'BolioUISelectMultipleValue';
@@ -1450,46 +1451,53 @@ SelectMultipleValue.displayName = 'BolioUISelectMultipleValue';
1450
1451
  var getColors = function getColors(palette, status) {
1451
1452
  var colors = {
1452
1453
  "default": {
1453
- border: palette.border,
1454
- borderActive: palette.foreground,
1455
- iconBorder: palette.accents_5,
1456
- placeholderColor: palette.accents_3
1454
+ color: palette.foreground,
1455
+ bgColor: palette.accents_2,
1456
+ borderColor: palette.accents_3,
1457
+ hoverBgColor: palette.accents_2,
1458
+ hoverBorder: palette.accents_6
1457
1459
  },
1458
1460
  primary: {
1459
- border: palette.primary,
1460
- borderActive: palette.primary,
1461
- iconBorder: palette.primary,
1462
- placeholderColor: palette.accents_3
1461
+ color: palette.primaryDark,
1462
+ bgColor: palette.primaryLighter,
1463
+ borderColor: palette.primaryDark,
1464
+ hoverBgColor: palette.primaryLight,
1465
+ hoverBorder: palette.primary
1463
1466
  },
1464
1467
  secondary: {
1465
- border: palette.secondary,
1466
- borderActive: palette.secondary,
1467
- iconBorder: palette.secondary,
1468
- placeholderColor: palette.accents_3
1468
+ color: palette.secondaryDark,
1469
+ bgColor: palette.secondaryLighter,
1470
+ borderColor: palette.secondaryDark,
1471
+ hoverBgColor: palette.secondaryLight,
1472
+ hoverBorder: palette.secondary
1469
1473
  },
1470
1474
  success: {
1471
- border: palette.success,
1472
- borderActive: palette.success,
1473
- iconBorder: palette.success,
1474
- placeholderColor: palette.accents_3
1475
+ color: palette.successDark,
1476
+ bgColor: palette.successLighter,
1477
+ borderColor: palette.successDark,
1478
+ hoverBgColor: palette.successLight,
1479
+ hoverBorder: palette.success
1475
1480
  },
1476
1481
  warning: {
1477
- border: palette.warning,
1478
- borderActive: palette.warning,
1479
- iconBorder: palette.warning,
1480
- placeholderColor: palette.accents_3
1482
+ color: palette.warningDark,
1483
+ bgColor: palette.warningLighter,
1484
+ borderColor: palette.warningDark,
1485
+ hoverBgColor: palette.warningLight,
1486
+ hoverBorder: palette.warning
1481
1487
  },
1482
1488
  error: {
1483
- border: palette.error,
1484
- borderActive: palette.error,
1485
- iconBorder: palette.error,
1486
- placeholderColor: palette.error
1489
+ color: palette.errorDark,
1490
+ bgColor: palette.errorLighter,
1491
+ borderColor: palette.errorDark,
1492
+ hoverBgColor: palette.errorLight,
1493
+ hoverBorder: palette.error
1487
1494
  },
1488
1495
  info: {
1489
- border: palette.info,
1490
- borderActive: palette.info,
1491
- iconBorder: palette.info,
1492
- placeholderColor: palette.accents_3
1496
+ color: palette.infoDark,
1497
+ bgColor: palette.infoLighter,
1498
+ borderColor: palette.infoDark,
1499
+ hoverBgColor: palette.infoLight,
1500
+ hoverBorder: palette.info
1493
1501
  }
1494
1502
  };
1495
1503
  if (!status) return colors["default"];
@@ -1616,14 +1624,9 @@ var SelectComponent = /*#__PURE__*/React__default["default"].forwardRef(function
1616
1624
  if (!Array.isArray(value)) return !value;
1617
1625
  return value.length === 0;
1618
1626
  }, [value]);
1619
-
1620
- var _useMemo = React.useMemo(function () {
1627
+ var colors = React.useMemo(function () {
1621
1628
  return getColors(theme.palette, type);
1622
- }, [theme.palette, type]),
1623
- border = _useMemo.border,
1624
- borderActive = _useMemo.borderActive,
1625
- iconBorder = _useMemo.iconBorder,
1626
- placeholderColor = _useMemo.placeholderColor;
1629
+ }, [theme.palette, type]);
1627
1630
 
1628
1631
  var updateVisible = function updateVisible(next) {
1629
1632
  onDropdownVisibleChange(next);
@@ -1731,7 +1734,7 @@ var SelectComponent = /*#__PURE__*/React__default["default"].forwardRef(function
1731
1734
  onClick: clickHandler,
1732
1735
  onMouseDown: mouseDownHandler
1733
1736
  }, props, {
1734
- className: styledJsx_cjs.style.dynamic([["3089088549", [disabled ? 'not-allowed' : 'pointer', border, theme.layout.radius, disabled ? theme.palette.accents_1 : theme.palette.background, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : borderActive, disabled ? theme.palette.accents_5 : borderActive, disabled ? theme.palette.accents_4 : theme.palette.foreground, placeholderColor, theme.layout.gapQuarter, visible ? '180' : '0', iconBorder]]]) + " " + (props && props.className != null && props.className || classes || "")
1737
+ className: styledJsx_cjs.style.dynamic([["601947340", [disabled ? 'not-allowed' : 'pointer', colors.borderColor, theme.layout.radius, disabled ? theme.palette.accents_3 : colors.bgColor, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : colors.hoverBorder, disabled ? theme.palette.border : colors.hoverBgColor, disabled ? theme.palette.accents_5 : colors.color, disabled ? theme.palette.accents_4 : colors.color, colors.color, SCALES.font(0.775), theme.layout.gapQuarter, visible ? '180' : '0', colors.color]]]) + " " + (props && props.className != null && props.className || classes || "")
1735
1738
  }), /*#__PURE__*/React__default["default"].createElement(SelectInput$1, {
1736
1739
  ref: inputRef,
1737
1740
  visible: visible,
@@ -1740,11 +1743,11 @@ var SelectComponent = /*#__PURE__*/React__default["default"].forwardRef(function
1740
1743
  return setSelectFocus(true);
1741
1744
  }
1742
1745
  }), isEmpty && /*#__PURE__*/React__default["default"].createElement("span", {
1743
- className: styledJsx_cjs.style.dynamic([["3089088549", [disabled ? 'not-allowed' : 'pointer', border, theme.layout.radius, disabled ? theme.palette.accents_1 : theme.palette.background, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : borderActive, disabled ? theme.palette.accents_5 : borderActive, disabled ? theme.palette.accents_4 : theme.palette.foreground, placeholderColor, theme.layout.gapQuarter, visible ? '180' : '0', iconBorder]]]) + " " + "value placeholder"
1746
+ className: styledJsx_cjs.style.dynamic([["601947340", [disabled ? 'not-allowed' : 'pointer', colors.borderColor, theme.layout.radius, disabled ? theme.palette.accents_3 : colors.bgColor, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : colors.hoverBorder, disabled ? theme.palette.border : colors.hoverBgColor, disabled ? theme.palette.accents_5 : colors.color, disabled ? theme.palette.accents_4 : colors.color, colors.color, SCALES.font(0.775), theme.layout.gapQuarter, visible ? '180' : '0', colors.color]]]) + " " + "value placeholder"
1744
1747
  }, /*#__PURE__*/React__default["default"].createElement(Ellipsis$1, {
1745
1748
  height: "var(--select-height)"
1746
1749
  }, placeholder)), value && !multiple && /*#__PURE__*/React__default["default"].createElement("span", {
1747
- className: styledJsx_cjs.style.dynamic([["3089088549", [disabled ? 'not-allowed' : 'pointer', border, theme.layout.radius, disabled ? theme.palette.accents_1 : theme.palette.background, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : borderActive, disabled ? theme.palette.accents_5 : borderActive, disabled ? theme.palette.accents_4 : theme.palette.foreground, placeholderColor, theme.layout.gapQuarter, visible ? '180' : '0', iconBorder]]]) + " " + "value"
1750
+ className: styledJsx_cjs.style.dynamic([["601947340", [disabled ? 'not-allowed' : 'pointer', colors.borderColor, theme.layout.radius, disabled ? theme.palette.accents_3 : colors.bgColor, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : colors.hoverBorder, disabled ? theme.palette.border : colors.hoverBgColor, disabled ? theme.palette.accents_5 : colors.color, disabled ? theme.palette.accents_4 : colors.color, colors.color, SCALES.font(0.775), theme.layout.gapQuarter, visible ? '180' : '0', colors.color]]]) + " " + "value"
1748
1751
  }, selectedChild), value && multiple && /*#__PURE__*/React__default["default"].createElement(Grid$1.Container, {
1749
1752
  gap: 0.5
1750
1753
  }, selectedChild), /*#__PURE__*/React__default["default"].createElement(SelectDropdown$1, {
@@ -1755,13 +1758,13 @@ var SelectComponent = /*#__PURE__*/React__default["default"].forwardRef(function
1755
1758
  disableMatchWidth: disableMatchWidth,
1756
1759
  getPopupContainer: getPopupContainer
1757
1760
  }, children), !pure && /*#__PURE__*/React__default["default"].createElement("div", {
1758
- className: styledJsx_cjs.style.dynamic([["3089088549", [disabled ? 'not-allowed' : 'pointer', border, theme.layout.radius, disabled ? theme.palette.accents_1 : theme.palette.background, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : borderActive, disabled ? theme.palette.accents_5 : borderActive, disabled ? theme.palette.accents_4 : theme.palette.foreground, placeholderColor, theme.layout.gapQuarter, visible ? '180' : '0', iconBorder]]]) + " " + "icon"
1761
+ className: styledJsx_cjs.style.dynamic([["601947340", [disabled ? 'not-allowed' : 'pointer', colors.borderColor, theme.layout.radius, disabled ? theme.palette.accents_3 : colors.bgColor, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : colors.hoverBorder, disabled ? theme.palette.border : colors.hoverBgColor, disabled ? theme.palette.accents_5 : colors.color, disabled ? theme.palette.accents_4 : colors.color, colors.color, SCALES.font(0.775), theme.layout.gapQuarter, visible ? '180' : '0', colors.color]]]) + " " + "icon"
1759
1762
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
1760
- className: styledJsx_cjs.style.dynamic([["3089088549", [disabled ? 'not-allowed' : 'pointer', border, theme.layout.radius, disabled ? theme.palette.accents_1 : theme.palette.background, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : borderActive, disabled ? theme.palette.accents_5 : borderActive, disabled ? theme.palette.accents_4 : theme.palette.foreground, placeholderColor, theme.layout.gapQuarter, visible ? '180' : '0', iconBorder]]])
1763
+ className: styledJsx_cjs.style.dynamic([["601947340", [disabled ? 'not-allowed' : 'pointer', colors.borderColor, theme.layout.radius, disabled ? theme.palette.accents_3 : colors.bgColor, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : colors.hoverBorder, disabled ? theme.palette.border : colors.hoverBgColor, disabled ? theme.palette.accents_5 : colors.color, disabled ? theme.palette.accents_4 : colors.color, colors.color, SCALES.font(0.775), theme.layout.gapQuarter, visible ? '180' : '0', colors.color]]])
1761
1764
  })), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1762
- id: "3089088549",
1763
- dynamic: [disabled ? 'not-allowed' : 'pointer', border, theme.layout.radius, disabled ? theme.palette.accents_1 : theme.palette.background, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : borderActive, disabled ? theme.palette.accents_5 : borderActive, disabled ? theme.palette.accents_4 : theme.palette.foreground, placeholderColor, theme.layout.gapQuarter, visible ? '180' : '0', iconBorder]
1764
- }, ".select.__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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;position:relative;cursor:".concat(disabled ? 'not-allowed' : 'pointer', ";max-width:90vw;overflow:hidden;-webkit-transition:border 150ms ease-in 0s,color 200ms ease-out 0s, box-shadow 200ms ease 0s;transition:border 150ms ease-in 0s,color 200ms ease-out 0s, box-shadow 200ms ease 0s;border:1px solid ").concat(border, ";border-radius:").concat(theme.layout.radius, ";background-color:").concat(disabled ? theme.palette.accents_1 : theme.palette.background, ";--select-font-size:").concat(SCALES.font(0.875), ";--select-height:").concat(SCALES.height(2.25), ";min-width:11.5em;width:").concat(SCALES.width(1, 'initial'), ";height:var(--select-height);padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0.334), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0.667), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.multiple.__jsx-style-dynamic-selector{height:auto;min-height:var(--select-height);padding:").concat(SCALES.pt(0.334), " ").concat(SCALES.pr(0.334), " ").concat(SCALES.pb(0.334), " ").concat(SCALES.pl(0.667), ";}.select.active.__jsx-style-dynamic-selector,.select.__jsx-style-dynamic-selector:hover{border-color:").concat(disabled ? theme.palette.border : borderActive, ";}.select.active.icon.__jsx-style-dynamic-selector,.select.__jsx-style-dynamic-selector:hover .icon.__jsx-style-dynamic-selector{color:").concat(disabled ? theme.palette.accents_5 : borderActive, ";}.value.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:1;-ms-flex:1;flex:1;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0;margin-right:1.25em;font-size:var(--select-font-size);color:").concat(disabled ? theme.palette.accents_4 : theme.palette.foreground, ";width:calc(100% - 1.25em);}.value.__jsx-style-dynamic-selector>div,.value.__jsx-style-dynamic-selector>div:hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}.placeholder.__jsx-style-dynamic-selector{color:").concat(placeholderColor, ";}.icon.__jsx-style-dynamic-selector{position:absolute;right:").concat(theme.layout.gapQuarter, ";font-size:var(--select-font-size);top:50%;bottom:0;-webkit-transform:translateY(-50%) rotate(").concat(visible ? '180' : '0', "deg);-ms-transform:translateY(-50%) rotate(").concat(visible ? '180' : '0', "deg);transform:translateY(-50%) rotate(").concat(visible ? '180' : '0', "deg);pointer-events:none;-webkit-transition:-webkit-transform 200ms ease;-webkit-transition:transform 200ms ease;transition:transform 200ms ease;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:").concat(iconBorder, ";}"))));
1765
+ id: "601947340",
1766
+ dynamic: [disabled ? 'not-allowed' : 'pointer', colors.borderColor, theme.layout.radius, disabled ? theme.palette.accents_3 : colors.bgColor, SCALES.font(0.875), SCALES.height(2.25), SCALES.width(1, 'initial'), SCALES.pt(0), SCALES.pr(0.334), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), SCALES.pt(0.334), SCALES.pr(0.334), SCALES.pb(0.334), SCALES.pl(0.667), disabled ? theme.palette.border : colors.hoverBorder, disabled ? theme.palette.border : colors.hoverBgColor, disabled ? theme.palette.accents_5 : colors.color, disabled ? theme.palette.accents_4 : colors.color, colors.color, SCALES.font(0.775), theme.layout.gapQuarter, visible ? '180' : '0', colors.color]
1767
+ }, ".select.__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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;position:relative;cursor:".concat(disabled ? 'not-allowed' : 'pointer', ";max-width:90vw;overflow:hidden;-webkit-transition:border 150ms ease-in 0s,color 200ms ease-out 0s, box-shadow 200ms ease 0s;transition:border 150ms ease-in 0s,color 200ms ease-out 0s, box-shadow 200ms ease 0s;border:1px solid ").concat(colors.borderColor, ";border-radius:").concat(theme.layout.radius, ";background-color:").concat(disabled ? theme.palette.accents_3 : colors.bgColor, ";--select-font-size:").concat(SCALES.font(0.875), ";--select-height:").concat(SCALES.height(2.25), ";min-width:11.5em;width:").concat(SCALES.width(1, 'initial'), ";height:var(--select-height);padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0.334), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0.667), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.multiple.__jsx-style-dynamic-selector{height:auto;min-height:var(--select-height);padding:").concat(SCALES.pt(0.334), " ").concat(SCALES.pr(0.334), " ").concat(SCALES.pb(0.334), " ").concat(SCALES.pl(0.667), ";}.select.active.__jsx-style-dynamic-selector,.select.__jsx-style-dynamic-selector:hover{border-color:").concat(disabled ? theme.palette.border : colors.hoverBorder, ";background-color:").concat(disabled ? theme.palette.border : colors.hoverBgColor, ";}.select.active.icon.__jsx-style-dynamic-selector,.select.__jsx-style-dynamic-selector:hover .icon.__jsx-style-dynamic-selector{color:").concat(disabled ? theme.palette.accents_5 : colors.color, ";}.value.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:1;-ms-flex:1;flex:1;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0;margin-right:1.25em;font-size:var(--select-font-size);color:").concat(disabled ? theme.palette.accents_4 : colors.color, ";width:calc(100% - 1.25em);}.value.__jsx-style-dynamic-selector>div,.value.__jsx-style-dynamic-selector>div:hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}.placeholder.__jsx-style-dynamic-selector{color:").concat(colors.color, ";font-size:").concat(SCALES.font(0.775), ";}.icon.__jsx-style-dynamic-selector{position:absolute;right:").concat(theme.layout.gapQuarter, ";font-size:var(--select-font-size);top:50%;bottom:0;-webkit-transform:translateY(-50%) rotate(").concat(visible ? '180' : '0', "deg);-ms-transform:translateY(-50%) rotate(").concat(visible ? '180' : '0', "deg);transform:translateY(-50%) rotate(").concat(visible ? '180' : '0', "deg);pointer-events:none;-webkit-transition:-webkit-transform 200ms ease;-webkit-transition:transform 200ms ease;transition:transform 200ms ease;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:").concat(colors.color, ";}"))));
1765
1768
  });
1766
1769
  SelectComponent.defaultProps = defaultProps;
1767
1770
  SelectComponent.displayName = 'BolioUISelect';
@@ -1822,8 +1825,8 @@ function SelectOptionComponent(_ref) {
1822
1825
  return value.includes("".concat(identValue));
1823
1826
  }, [identValue, value]);
1824
1827
  var bgColor = React.useMemo(function () {
1825
- if (isDisabled) return theme.palette.accents_1;
1826
- return selected ? theme.palette.accents_2 : theme.palette.background;
1828
+ if (isDisabled) return theme.palette.accents_3;
1829
+ return selected ? theme.palette.accents_3 : theme.palette.accents_2;
1827
1830
  }, [selected, isDisabled, theme.palette]);
1828
1831
  var hoverBgColor = React.useMemo(function () {
1829
1832
  if (isDisabled || isLabel || selected) return bgColor;
@@ -1846,13 +1849,13 @@ function SelectOptionComponent(_ref) {
1846
1849
  return /*#__PURE__*/React__default["default"].createElement("div", _extends({
1847
1850
  onClick: clickHandler
1848
1851
  }, props, {
1849
- className: styledJsx_cjs.style.dynamic([["1707413548", [bgColor, color, isDisabled ? 'not-allowed' : 'pointer', SCALES.font(0.75), SCALES.width(1, '100%'), SCALES.height(2.25), SCALES.pt(0), SCALES.pr(0.667), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hoverBgColor, theme.palette.accents_7, theme.palette.border, SCALES.width(1, '100%'), SCALES.height(1, 0), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0.5), SCALES.mr(0), SCALES.mb(0.5), SCALES.ml(0), theme.palette.accents_7, theme.palette.border, SCALES.font(0.875), SCALES.width(1, '100%')]]]) + " " + (props && props.className != null && props.className || classes || "")
1852
+ className: styledJsx_cjs.style.dynamic([["345093284", [bgColor, color, isDisabled ? 'not-allowed' : 'pointer', SCALES.font(0.75), SCALES.width(1, '100%'), SCALES.height(2.25), SCALES.pt(0), SCALES.pr(0.667), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hoverBgColor, theme.palette.accents_7, theme.palette.accents_3, SCALES.width(1, '100%'), SCALES.height(1, 0), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0.5), SCALES.mr(0), SCALES.mb(0.5), SCALES.ml(0), theme.palette.accents_7, theme.palette.accents_3, SCALES.font(0.875), SCALES.width(1, '100%')]]]) + " " + (props && props.className != null && props.className || classes || "")
1850
1853
  }), /*#__PURE__*/React__default["default"].createElement(Ellipsis$1, {
1851
1854
  height: SCALES.height(2.25)
1852
1855
  }, children), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
1853
- id: "1707413548",
1854
- dynamic: [bgColor, color, isDisabled ? 'not-allowed' : 'pointer', SCALES.font(0.75), SCALES.width(1, '100%'), SCALES.height(2.25), SCALES.pt(0), SCALES.pr(0.667), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hoverBgColor, theme.palette.accents_7, theme.palette.border, SCALES.width(1, '100%'), SCALES.height(1, 0), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0.5), SCALES.mr(0), SCALES.mb(0.5), SCALES.ml(0), theme.palette.accents_7, theme.palette.border, SCALES.font(0.875), SCALES.width(1, '100%')]
1855
- }, ".option.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;max-width:100%;box-sizing:border-box;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:normal;background-color:".concat(bgColor, ";color:").concat(color, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;cursor:").concat(isDisabled ? 'not-allowed' : 'pointer', ";-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;--select-font-size:").concat(SCALES.font(0.75), ";font-size:var(--select-font-size);width:").concat(SCALES.width(1, '100%'), ";height:").concat(SCALES.height(2.25), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0.667), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0.667), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.option.__jsx-style-dynamic-selector:hover{background-color:").concat(hoverBgColor, ";color:").concat(theme.palette.accents_7, ";}.divider.__jsx-style-dynamic-selector{line-height:0;overflow:hidden;border-top:1px solid ").concat(theme.palette.border, ";width:").concat(SCALES.width(1, '100%'), ";height:").concat(SCALES.height(1, 0), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0.5), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0.5), " ").concat(SCALES.ml(0), ";}.label.__jsx-style-dynamic-selector{color:").concat(theme.palette.accents_7, ";border-bottom:1px solid ").concat(theme.palette.border, ";text-transform:capitalize;cursor:default;font-size:").concat(SCALES.font(0.875), ";width:").concat(SCALES.width(1, '100%'), ";font-weight:500;}")));
1856
+ id: "345093284",
1857
+ dynamic: [bgColor, color, isDisabled ? 'not-allowed' : 'pointer', SCALES.font(0.75), SCALES.width(1, '100%'), SCALES.height(2.25), SCALES.pt(0), SCALES.pr(0.667), SCALES.pb(0), SCALES.pl(0.667), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), hoverBgColor, theme.palette.accents_7, theme.palette.accents_3, SCALES.width(1, '100%'), SCALES.height(1, 0), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0.5), SCALES.mr(0), SCALES.mb(0.5), SCALES.ml(0), theme.palette.accents_7, theme.palette.accents_3, SCALES.font(0.875), SCALES.width(1, '100%')]
1858
+ }, ".option.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;max-width:100%;box-sizing:border-box;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:normal;background-color:".concat(bgColor, ";color:").concat(color, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;cursor:").concat(isDisabled ? 'not-allowed' : 'pointer', ";-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;--select-font-size:").concat(SCALES.font(0.75), ";font-size:var(--select-font-size);width:").concat(SCALES.width(1, '100%'), ";height:").concat(SCALES.height(2.25), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0.667), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0.667), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.option.__jsx-style-dynamic-selector:hover{background-color:").concat(hoverBgColor, ";color:").concat(theme.palette.accents_7, ";}.divider.__jsx-style-dynamic-selector{line-height:0;overflow:hidden;border-top:1px solid ").concat(theme.palette.accents_3, ";width:").concat(SCALES.width(1, '100%'), ";height:").concat(SCALES.height(1, 0), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0.5), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0.5), " ").concat(SCALES.ml(0), ";}.label.__jsx-style-dynamic-selector{color:").concat(theme.palette.accents_7, ";border-bottom:1px solid ").concat(theme.palette.accents_3, ";text-transform:capitalize;cursor:default;font-size:").concat(SCALES.font(0.875), ";width:").concat(SCALES.width(1, '100%'), ";font-weight:500;}")));
1856
1859
  }
1857
1860
 
1858
1861
  SelectOptionComponent.displayName = 'BolioUISelectOption';
@@ -1,8 +1,9 @@
1
1
  import { BolioUIThemesPalette } from "../Themes/Presets";
2
2
  export declare type SelectColor = {
3
- border: string;
4
- borderActive: string;
5
- iconBorder: string;
6
- placeholderColor: string;
3
+ color: string;
4
+ bgColor: string;
5
+ borderColor: string;
6
+ hoverBgColor: string;
7
+ hoverBorder: string;
7
8
  };
8
9
  export declare const getColors: (palette: BolioUIThemesPalette, status?: "success" | "primary" | "secondary" | "error" | "warning" | "info" | "default" | undefined) => SelectColor;