@smart-react-components/ui 2.1.0-alpha-7 → 2.1.0-alpha-9

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.
@@ -114,7 +114,7 @@ const InputColorPicker = react_1.default.forwardRef((props, forwardRef) => {
114
114
  (0, useChangeEffect_1.default)(() => {
115
115
  updateInput(props.value ? (0, color_1.getColor)(props.value) : null);
116
116
  }, [props.value]);
117
- return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { cursorKey: "selectBox", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled }),
117
+ return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { cursorKey: "selectBox", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, palette: props.palette }),
118
118
  props.label && react_1.default.createElement("span", null, props.label),
119
119
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
120
120
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
@@ -60,7 +60,7 @@ const InputDatePicker = react_1.default.forwardRef((props, forwardRef) => {
60
60
  var _a, _b;
61
61
  ref.current.value = (_b = (_a = props.value) === null || _a === void 0 ? void 0 : _a.toDateString()) !== null && _b !== void 0 ? _b : '';
62
62
  }, [props.value]);
63
- return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { cursorKey: "selectBox", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled }),
63
+ return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { cursorKey: "selectBox", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, palette: props.palette }),
64
64
  props.label && react_1.default.createElement("span", null, props.label),
65
65
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
66
66
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
@@ -59,7 +59,7 @@ const InputFile = react_1.default.forwardRef((props, forwardRef) => {
59
59
  }
60
60
  props.setValue(value);
61
61
  };
62
- return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { cursorKey: "inputFile", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled }),
62
+ return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { cursorKey: "inputFile", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, palette: props.palette }),
63
63
  props.label && react_1.default.createElement("span", null, props.label),
64
64
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
65
65
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
@@ -68,7 +68,7 @@ const InputNumber = react_1.default.forwardRef((props, forwardRef) => {
68
68
  sizeXl: props.sizeXl,
69
69
  },
70
70
  });
71
- return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_flex_props_1.default, intrinsic_styled_margin_props_1.default]), { cursorKey: "input", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled }),
71
+ return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_flex_props_1.default, intrinsic_styled_margin_props_1.default]), { cursorKey: "input", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, palette: props.palette }),
72
72
  props.label && react_1.default.createElement("span", null, props.label),
73
73
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
74
74
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
package/Input/index.js CHANGED
@@ -49,7 +49,7 @@ const Input = react_1.default.forwardRef((props, forwardRef) => {
49
49
  sizeXl: props.sizeXl,
50
50
  },
51
51
  });
52
- return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_flex_props_1.default, intrinsic_styled_margin_props_1.default]), props.containerProps, { cursorKey: "input", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled }),
52
+ return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_flex_props_1.default, intrinsic_styled_margin_props_1.default]), props.containerProps, { cursorKey: "input", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, palette: props.palette }),
53
53
  props.label && react_1.default.createElement("span", null, props.label),
54
54
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
55
55
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
@@ -95,7 +95,7 @@ const SelectBox = react_1.default.forwardRef((props, forwardRef) => {
95
95
  }
96
96
  };
97
97
  return (react_1.default.createElement(Dropdown_1.default, { elementProps: props.elementProps, status: dropdownStatus, setStatus: setDropdownStatus },
98
- react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { as: "div", cursorKey: "selectBox", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, ref: formEl }),
98
+ react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { as: "div", cursorKey: "selectBox", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, ref: formEl, palette: props.palette }),
99
99
  props.label && react_1.default.createElement("span", null, props.label),
100
100
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
101
101
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
package/Select/index.js CHANGED
@@ -39,7 +39,7 @@ const Select = react_1.default.forwardRef((props, forwardRef) => {
39
39
  },
40
40
  });
41
41
  const waveEffectPalette = react_1.default.useMemo(() => (0, wave_effect_1.getWaveEffectPalette)(props, theme.$.vars.isDarkMode), [props.waveEffectPalette, props.palette, props.isOutline, props.isSoft, theme.$.vars.isDarkMode]);
42
- return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { as: "div", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled }),
42
+ return (react_1.default.createElement(FormBlockLabel_1.default, Object.assign({}, (0, element_props_1.default)(props, [intrinsic_styled_core_props_1.default]), { as: "div", formSize: props.size, formSizeSm: props.sizeSm, formSizeMd: props.sizeMd, formSizeLg: props.sizeLg, formSizeXl: props.sizeXl, isBlock: props.isBlock, isDisabled: props.isDisabled, palette: props.palette }),
43
43
  props.label && react_1.default.createElement("span", null, props.label),
44
44
  react_1.default.createElement(Div_1.default, { display: "flex", flex: "1 1 auto" },
45
45
  ((_a = leftAddon === null || leftAddon === void 0 ? void 0 : leftAddon.props) === null || _a === void 0 ? void 0 : _a.isSeparated) && leftAddon,
@@ -5,7 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Div_1 = __importDefault(require("@smart-react-components/core/Element/Div"));
7
7
  const styled_components_1 = __importDefault(require("styled-components"));
8
- exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasHover, isActive, isDisabled, isHovered, isOutline, isSoft, palette }) => `
8
+ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasHover, isActive, isDisabled, isHovered, isOutline, isSoft, palette }) => {
9
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103;
10
+ return `
9
11
  border-radius: ${theme.$.radius.dropdown};
10
12
  fill: currrentcolor;
11
13
  transition: 100ms 0s ease-in-out;
@@ -19,81 +21,82 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasH
19
21
  }
20
22
 
21
23
  ${isSoft
22
- ? `
24
+ ? `
23
25
  font-weight: ${theme.$.fontWeight.bold};
24
26
  `
25
- : ''}
27
+ : ''}
26
28
 
27
29
  ${!isActive
28
- ? `
29
- ${(hasHover || isHovered) && !theme.$.vars.isMobile
30
30
  ? `
31
+ ${(hasHover || isHovered) && !theme.$.vars.isMobile
32
+ ? `
31
33
  ${!isHovered ? '&:hover {' : ''}
32
34
  ${!isSoft
33
- ? `
34
- background: ${!isOutline ? theme.$.palette[palette].dynamic : theme.$.palette[palette].main};
35
- color: ${theme.$.palette[palette].font};
35
+ ? `
36
+ background: ${!isOutline ? ((_c = (_b = (_a = theme.$.palette[palette].dropdown) === null || _a === void 0 ? void 0 : _a.hover) === null || _b === void 0 ? void 0 : _b.background) !== null && _c !== void 0 ? _c : theme.$.palette[palette].dynamic) : ((_g = (_f = (_e = (_d = theme.$.palette[palette].dropdown) === null || _d === void 0 ? void 0 : _d.outline) === null || _e === void 0 ? void 0 : _e.hover) === null || _f === void 0 ? void 0 : _f.background) !== null && _g !== void 0 ? _g : theme.$.palette[palette].main)};
37
+ color: ${!isOutline ? ((_k = (_j = (_h = theme.$.palette[palette].dropdown) === null || _h === void 0 ? void 0 : _h.hover) === null || _j === void 0 ? void 0 : _j.font) !== null && _k !== void 0 ? _k : theme.$.palette[palette].font) : ((_p = (_o = (_m = (_l = theme.$.palette[palette].dropdown) === null || _l === void 0 ? void 0 : _l.outline) === null || _m === void 0 ? void 0 : _m.hover) === null || _o === void 0 ? void 0 : _o.font) !== null && _p !== void 0 ? _p : theme.$.palette[palette].font)};
36
38
 
37
39
  .svg,
38
40
  .svg .fill {
39
- fill: ${theme.$.palette[palette].font};
41
+ fill: ${!isOutline ? ((_s = (_r = (_q = theme.$.palette[palette].dropdown) === null || _q === void 0 ? void 0 : _q.hover) === null || _r === void 0 ? void 0 : _r.font) !== null && _s !== void 0 ? _s : theme.$.palette[palette].font) : ((_w = (_v = (_u = (_t = theme.$.palette[palette].dropdown) === null || _t === void 0 ? void 0 : _t.outline) === null || _u === void 0 ? void 0 : _u.hover) === null || _v === void 0 ? void 0 : _v.font) !== null && _w !== void 0 ? _w : theme.$.palette[palette].font)};
40
42
  }
41
43
 
42
44
  .svg .stroke {
43
- stroke: ${theme.$.palette[palette].font};
45
+ stroke: ${!isOutline ? ((_z = (_y = (_x = theme.$.palette[palette].dropdown) === null || _x === void 0 ? void 0 : _x.hover) === null || _y === void 0 ? void 0 : _y.font) !== null && _z !== void 0 ? _z : theme.$.palette[palette].font) : ((_3 = (_2 = (_1 = (_0 = theme.$.palette[palette].dropdown) === null || _0 === void 0 ? void 0 : _0.outline) === null || _1 === void 0 ? void 0 : _1.hover) === null || _2 === void 0 ? void 0 : _2.font) !== null && _3 !== void 0 ? _3 : theme.$.palette[palette].font)};
44
46
  }
45
47
  `
46
- : `
47
- background: ${!isOutline ? theme.$.palette[palette].softDynamic : theme.$.palette[palette].soft};
48
- color: ${theme.$.palette[palette].softFont};
48
+ : `
49
+ background: ${!isOutline ? ((_7 = (_6 = (_5 = (_4 = theme.$.palette[palette].dropdown) === null || _4 === void 0 ? void 0 : _4.soft) === null || _5 === void 0 ? void 0 : _5.hover) === null || _6 === void 0 ? void 0 : _6.background) !== null && _7 !== void 0 ? _7 : theme.$.palette[palette].softDynamic) : ((_12 = (_11 = (_10 = (_9 = (_8 = theme.$.palette[palette].dropdown) === null || _8 === void 0 ? void 0 : _8.soft) === null || _9 === void 0 ? void 0 : _9.outline) === null || _10 === void 0 ? void 0 : _10.hover) === null || _11 === void 0 ? void 0 : _11.background) !== null && _12 !== void 0 ? _12 : theme.$.palette[palette].soft)};
50
+ color: ${!isOutline ? ((_16 = (_15 = (_14 = (_13 = theme.$.palette[palette].dropdown) === null || _13 === void 0 ? void 0 : _13.soft) === null || _14 === void 0 ? void 0 : _14.hover) === null || _15 === void 0 ? void 0 : _15.font) !== null && _16 !== void 0 ? _16 : theme.$.palette[palette].softFont) : ((_21 = (_20 = (_19 = (_18 = (_17 = theme.$.palette[palette].dropdown) === null || _17 === void 0 ? void 0 : _17.soft) === null || _18 === void 0 ? void 0 : _18.outline) === null || _19 === void 0 ? void 0 : _19.hover) === null || _20 === void 0 ? void 0 : _20.font) !== null && _21 !== void 0 ? _21 : theme.$.palette[palette].softFont)};
49
51
 
50
52
  .svg,
51
53
  .svg .fill {
52
- fill: ${theme.$.palette[palette].softFont};
54
+ fill: ${!isOutline ? ((_25 = (_24 = (_23 = (_22 = theme.$.palette[palette].dropdown) === null || _22 === void 0 ? void 0 : _22.soft) === null || _23 === void 0 ? void 0 : _23.hover) === null || _24 === void 0 ? void 0 : _24.font) !== null && _25 !== void 0 ? _25 : theme.$.palette[palette].softFont) : ((_30 = (_29 = (_28 = (_27 = (_26 = theme.$.palette[palette].dropdown) === null || _26 === void 0 ? void 0 : _26.soft) === null || _27 === void 0 ? void 0 : _27.outline) === null || _28 === void 0 ? void 0 : _28.hover) === null || _29 === void 0 ? void 0 : _29.font) !== null && _30 !== void 0 ? _30 : theme.$.palette[palette].softFont)};
53
55
  }
54
56
 
55
57
  .svg .stroke {
56
- stroke: ${theme.$.palette[palette].softFont};
58
+ stroke: ${!isOutline ? ((_34 = (_33 = (_32 = (_31 = theme.$.palette[palette].dropdown) === null || _31 === void 0 ? void 0 : _31.soft) === null || _32 === void 0 ? void 0 : _32.hover) === null || _33 === void 0 ? void 0 : _33.font) !== null && _34 !== void 0 ? _34 : theme.$.palette[palette].softFont) : ((_39 = (_38 = (_37 = (_36 = (_35 = theme.$.palette[palette].dropdown) === null || _35 === void 0 ? void 0 : _35.soft) === null || _36 === void 0 ? void 0 : _36.outline) === null || _37 === void 0 ? void 0 : _37.hover) === null || _38 === void 0 ? void 0 : _38.font) !== null && _39 !== void 0 ? _39 : theme.$.palette[palette].softFont)};
57
59
  }
58
60
  `}
59
61
  ${!isHovered ? '}' : ''}
60
62
  `
61
- : ''}
63
+ : ''}
62
64
  `
63
- : `
65
+ : `
64
66
  ${!isSoft
65
- ? `
66
- background: ${!isOutline ? theme.$.palette[palette].dynamicest : theme.$.palette[palette].dynamicer};
67
- color: ${theme.$.palette[palette].font};
67
+ ? `
68
+ background: ${!isOutline ? ((_42 = (_41 = (_40 = theme.$.palette[palette].dropdown) === null || _40 === void 0 ? void 0 : _40.active) === null || _41 === void 0 ? void 0 : _41.background) !== null && _42 !== void 0 ? _42 : theme.$.palette[palette].dynamicest) : ((_46 = (_45 = (_44 = (_43 = theme.$.palette[palette].dropdown) === null || _43 === void 0 ? void 0 : _43.outline) === null || _44 === void 0 ? void 0 : _44.active) === null || _45 === void 0 ? void 0 : _45.background) !== null && _46 !== void 0 ? _46 : theme.$.palette[palette].dynamicer)};
69
+ color: ${!isOutline ? ((_49 = (_48 = (_47 = theme.$.palette[palette].dropdown) === null || _47 === void 0 ? void 0 : _47.active) === null || _48 === void 0 ? void 0 : _48.font) !== null && _49 !== void 0 ? _49 : theme.$.palette[palette].font) : ((_53 = (_52 = (_51 = (_50 = theme.$.palette[palette].dropdown) === null || _50 === void 0 ? void 0 : _50.outline) === null || _51 === void 0 ? void 0 : _51.active) === null || _52 === void 0 ? void 0 : _52.font) !== null && _53 !== void 0 ? _53 : theme.$.palette[palette].font)};
68
70
 
69
71
  .svg,
70
72
  .svg .fill {
71
- fill: ${theme.$.palette[palette].font};
73
+ fill: ${!isOutline ? ((_56 = (_55 = (_54 = theme.$.palette[palette].dropdown) === null || _54 === void 0 ? void 0 : _54.active) === null || _55 === void 0 ? void 0 : _55.font) !== null && _56 !== void 0 ? _56 : theme.$.palette[palette].font) : ((_60 = (_59 = (_58 = (_57 = theme.$.palette[palette].dropdown) === null || _57 === void 0 ? void 0 : _57.outline) === null || _58 === void 0 ? void 0 : _58.active) === null || _59 === void 0 ? void 0 : _59.font) !== null && _60 !== void 0 ? _60 : theme.$.palette[palette].font)};
72
74
  }
73
75
 
74
76
  .svg .stroke {
75
- stroke: ${theme.$.palette[palette].font};
77
+ stroke: ${!isOutline ? ((_63 = (_62 = (_61 = theme.$.palette[palette].dropdown) === null || _61 === void 0 ? void 0 : _61.active) === null || _62 === void 0 ? void 0 : _62.font) !== null && _63 !== void 0 ? _63 : theme.$.palette[palette].font) : ((_67 = (_66 = (_65 = (_64 = theme.$.palette[palette].dropdown) === null || _64 === void 0 ? void 0 : _64.outline) === null || _65 === void 0 ? void 0 : _65.active) === null || _66 === void 0 ? void 0 : _66.font) !== null && _67 !== void 0 ? _67 : theme.$.palette[palette].font)};
76
78
  }
77
79
  `
78
- : `
79
- background: ${!isOutline ? theme.$.palette[palette].softDynamicest : theme.$.palette[palette].softDynamicer};
80
- color: ${theme.$.palette[palette].softFont};
80
+ : `
81
+ background: ${!isOutline ? ((_71 = (_70 = (_69 = (_68 = theme.$.palette[palette].dropdown) === null || _68 === void 0 ? void 0 : _68.soft) === null || _69 === void 0 ? void 0 : _69.active) === null || _70 === void 0 ? void 0 : _70.background) !== null && _71 !== void 0 ? _71 : theme.$.palette[palette].softDynamicest) : ((_76 = (_75 = (_74 = (_73 = (_72 = theme.$.palette[palette].dropdown) === null || _72 === void 0 ? void 0 : _72.soft) === null || _73 === void 0 ? void 0 : _73.outline) === null || _74 === void 0 ? void 0 : _74.active) === null || _75 === void 0 ? void 0 : _75.background) !== null && _76 !== void 0 ? _76 : theme.$.palette[palette].softDynamicer)};
82
+ color: ${!isOutline ? ((_80 = (_79 = (_78 = (_77 = theme.$.palette[palette].dropdown) === null || _77 === void 0 ? void 0 : _77.soft) === null || _78 === void 0 ? void 0 : _78.active) === null || _79 === void 0 ? void 0 : _79.font) !== null && _80 !== void 0 ? _80 : theme.$.palette[palette].softFont) : ((_85 = (_84 = (_83 = (_82 = (_81 = theme.$.palette[palette].dropdown) === null || _81 === void 0 ? void 0 : _81.soft) === null || _82 === void 0 ? void 0 : _82.outline) === null || _83 === void 0 ? void 0 : _83.active) === null || _84 === void 0 ? void 0 : _84.font) !== null && _85 !== void 0 ? _85 : theme.$.palette[palette].softFont)};
81
83
 
82
84
  .svg,
83
85
  .svg .fill {
84
- fill: ${theme.$.palette[palette].softFont};
86
+ fill: ${!isOutline ? ((_89 = (_88 = (_87 = (_86 = theme.$.palette[palette].dropdown) === null || _86 === void 0 ? void 0 : _86.soft) === null || _87 === void 0 ? void 0 : _87.active) === null || _88 === void 0 ? void 0 : _88.font) !== null && _89 !== void 0 ? _89 : theme.$.palette[palette].softFont) : ((_94 = (_93 = (_92 = (_91 = (_90 = theme.$.palette[palette].dropdown) === null || _90 === void 0 ? void 0 : _90.soft) === null || _91 === void 0 ? void 0 : _91.outline) === null || _92 === void 0 ? void 0 : _92.active) === null || _93 === void 0 ? void 0 : _93.font) !== null && _94 !== void 0 ? _94 : theme.$.palette[palette].softFont)};
85
87
  }
86
88
 
87
89
  .svg .stroke {
88
- stroke: ${theme.$.palette[palette].softFont};
90
+ stroke: ${!isOutline ? ((_98 = (_97 = (_96 = (_95 = theme.$.palette[palette].dropdown) === null || _95 === void 0 ? void 0 : _95.soft) === null || _96 === void 0 ? void 0 : _96.active) === null || _97 === void 0 ? void 0 : _97.font) !== null && _98 !== void 0 ? _98 : theme.$.palette[palette].softFont) : ((_103 = (_102 = (_101 = (_100 = (_99 = theme.$.palette[palette].dropdown) === null || _99 === void 0 ? void 0 : _99.soft) === null || _100 === void 0 ? void 0 : _100.outline) === null || _101 === void 0 ? void 0 : _101.active) === null || _102 === void 0 ? void 0 : _102.font) !== null && _103 !== void 0 ? _103 : theme.$.palette[palette].softFont)};
89
91
  }
90
92
  `}
91
93
  `}
92
94
 
93
95
  ${isDisabled
94
- ? `
96
+ ? `
95
97
  opacity: ${theme.$.opacity.dropdownDisabled};
96
98
  pointer-events: none;
97
99
  `
98
- : ''}
99
- `);
100
+ : ''}
101
+ `;
102
+ });
@@ -15,9 +15,11 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
15
15
  padding: ${t.$.size.dropdown[v].padding.y} ${t.$.size.dropdown[v].padding.x};
16
16
  }
17
17
  `,
18
- })(({ theme, isOutline, isSoft, palette }) => `
18
+ })(({ theme, isOutline, isSoft, palette }) => {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13;
20
+ return `
19
21
  border-radius: ${theme.$.radius.dropdown};
20
- box-shadow: 0 0 10px 1px ${theme.$.color.dynamic.shadow};
22
+ box-shadow: 0 0 10px 1px ${(_b = (_a = theme.$.palette[palette].dropdown) === null || _a === void 0 ? void 0 : _a.shadow) !== null && _b !== void 0 ? _b : theme.$.color.dynamic.shadow};
21
23
  font-family: ${theme.$.fontFamily.dropdown};
22
24
  height: inherit;
23
25
  overflow: auto;
@@ -31,14 +33,15 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
31
33
  }
32
34
 
33
35
  ${!isOutline
34
- ? `
35
- background: ${!isSoft ? theme.$.palette[palette].main : theme.$.palette[palette].soft};
36
- color: ${!isSoft ? theme.$.palette[palette].font : theme.$.palette[palette].softFont};
37
- fill: ${!isSoft ? theme.$.palette[palette].font : theme.$.palette[palette].softFont};
36
+ ? `
37
+ background: ${!isSoft ? ((_d = (_c = theme.$.palette[palette].dropdown) === null || _c === void 0 ? void 0 : _c.background) !== null && _d !== void 0 ? _d : theme.$.palette[palette].main) : ((_g = (_f = (_e = theme.$.palette[palette].dropdown) === null || _e === void 0 ? void 0 : _e.soft) === null || _f === void 0 ? void 0 : _f.background) !== null && _g !== void 0 ? _g : theme.$.palette[palette].soft)};
38
+ color: ${!isSoft ? ((_j = (_h = theme.$.palette[palette].dropdown) === null || _h === void 0 ? void 0 : _h.font) !== null && _j !== void 0 ? _j : theme.$.palette[palette].font) : ((_m = (_l = (_k = theme.$.palette[palette].dropdown) === null || _k === void 0 ? void 0 : _k.soft) === null || _l === void 0 ? void 0 : _l.font) !== null && _m !== void 0 ? _m : theme.$.palette[palette].softFont)};
39
+ fill: ${!isSoft ? ((_p = (_o = theme.$.palette[palette].dropdown) === null || _o === void 0 ? void 0 : _o.font) !== null && _p !== void 0 ? _p : theme.$.palette[palette].font) : ((_s = (_r = (_q = theme.$.palette[palette].dropdown) === null || _q === void 0 ? void 0 : _q.soft) === null || _r === void 0 ? void 0 : _r.font) !== null && _s !== void 0 ? _s : theme.$.palette[palette].softFont)};
38
40
  `
39
- : `
40
- background: ${theme.$.color.dynamic.background};
41
- color: ${theme.$.color.dynamic.font};
42
- fill: ${theme.$.color.dynamic.font};
41
+ : `
42
+ background: ${!isSoft ? ((_v = (_u = (_t = theme.$.palette[palette].dropdown) === null || _t === void 0 ? void 0 : _t.outline) === null || _u === void 0 ? void 0 : _u.background) !== null && _v !== void 0 ? _v : theme.$.color.dynamic.background) : ((_z = (_y = (_x = (_w = theme.$.palette[palette].dropdown) === null || _w === void 0 ? void 0 : _w.soft) === null || _x === void 0 ? void 0 : _x.outline) === null || _y === void 0 ? void 0 : _y.background) !== null && _z !== void 0 ? _z : theme.$.color.dynamic.background)};
43
+ color: ${!isSoft ? ((_2 = (_1 = (_0 = theme.$.palette[palette].dropdown) === null || _0 === void 0 ? void 0 : _0.outline) === null || _1 === void 0 ? void 0 : _1.font) !== null && _2 !== void 0 ? _2 : theme.$.color.dynamic.font) : ((_6 = (_5 = (_4 = (_3 = theme.$.palette[palette].dropdown) === null || _3 === void 0 ? void 0 : _3.soft) === null || _4 === void 0 ? void 0 : _4.outline) === null || _5 === void 0 ? void 0 : _5.font) !== null && _6 !== void 0 ? _6 : theme.$.color.dynamic.font)};
44
+ fill: ${!isSoft ? ((_9 = (_8 = (_7 = theme.$.palette[palette].dropdown) === null || _7 === void 0 ? void 0 : _7.outline) === null || _8 === void 0 ? void 0 : _8.font) !== null && _9 !== void 0 ? _9 : theme.$.color.dynamic.font) : ((_13 = (_12 = (_11 = (_10 = theme.$.palette[palette].dropdown) === null || _10 === void 0 ? void 0 : _10.soft) === null || _11 === void 0 ? void 0 : _11.outline) === null || _12 === void 0 ? void 0 : _12.font) !== null && _13 !== void 0 ? _13 : theme.$.color.dynamic.font)};
43
45
  `}
44
- `);
46
+ `;
47
+ });
@@ -1,9 +1,10 @@
1
1
  import { StyledProps } from '@smart-react-components/core/styled-props';
2
- import { ResponsiveProp, SizeProp } from '@smart-react-components/core/types';
2
+ import { PaletteProp, ResponsiveProp, SizeProp } from '@smart-react-components/core/types';
3
3
  interface Props extends StyledProps, ResponsiveProp<'formSize', SizeProp> {
4
4
  cursorKey?: string;
5
5
  isBlock: boolean;
6
6
  isDisabled: boolean;
7
+ palette: PaletteProp;
7
8
  }
8
9
  declare const _default: import("styled-components").StyledComponent<"label", any, StyledProps & Props, never>;
9
10
  export default _default;
@@ -28,22 +28,25 @@ exports.default = (0, styled_components_1.default)(Label_1.default).attrs(({ dis
28
28
  font-size: ${t.$.size.form.blockLabel[v].fontSize};
29
29
  }
30
30
  `,
31
- }))(({ theme, cursorKey, isBlock, isDisabled }) => `
31
+ }))(({ theme, cursorKey, isBlock, isDisabled, palette }) => {
32
+ var _a, _b, _c;
33
+ return `
32
34
  > span {
35
+ color: ${(_c = (_b = (_a = theme.$.palette[palette].form) === null || _a === void 0 ? void 0 : _a.blockLabel) === null || _b === void 0 ? void 0 : _b.font) !== null && _c !== void 0 ? _c : theme.$.color.dynamic.bodyFont};
33
36
  display: block;
34
37
  word-break: break-word;
35
38
  word-wrap: break-word;
36
39
  -webkit-tap-highlight-color: transparent;
37
40
 
38
41
  ${cursorKey
39
- ? `
42
+ ? `
40
43
  cursor: ${theme.$.cursor[cursorKey]};
41
44
  `
42
- : ''}
45
+ : ''}
43
46
  }
44
47
 
45
48
  ${!isBlock
46
- ? `
49
+ ? `
47
50
  display: flex;
48
51
 
49
52
  > span {
@@ -54,14 +57,15 @@ exports.default = (0, styled_components_1.default)(Label_1.default).attrs(({ dis
54
57
  align-self: flex-start;
55
58
  }
56
59
  `
57
- : ''}
60
+ : ''}
58
61
 
59
62
  ${isDisabled
60
- ? `
63
+ ? `
61
64
  > span {
62
65
  opacity: ${theme.$.opacity.formDisabled};
63
66
  pointer-events: none;
64
67
  }
65
68
  `
66
- : ''}
67
- `);
69
+ : ''}
70
+ `;
71
+ });
@@ -17,7 +17,9 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ class
17
17
  height: ${t.$.size.icon[v]};
18
18
  width: ${t.$.size.icon[v]};
19
19
  }
20
- ` })))(({ theme, addonPosition, cursorKey, hasBorder, isClickable, isDisabled, isFocused, isOutline, isReadOnly, isSeparated, isSoft, palette, shape }) => `
20
+ ` })))(({ theme, addonPosition, cursorKey, hasBorder, isClickable, isDisabled, isFocused, isOutline, isReadOnly, isSeparated, isSoft, palette, shape }) => {
21
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105;
22
+ return `
21
23
  align-items: center;
22
24
  box-sizing: border-box;
23
25
  display: inline-flex;
@@ -28,78 +30,104 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ class
28
30
  transition-property: background, border, color, fill;
29
31
 
30
32
  ${isSeparated
31
- ? `
33
+ ? `
32
34
  border-bottom-${types_1.OrderPosition[addonPosition].toLowerCase()}-radius: ${theme.$.radius.input[shape]};
33
35
  border-top-${types_1.OrderPosition[addonPosition].toLowerCase()}-radius: ${theme.$.radius.input[shape]};
34
36
 
35
37
  ${hasBorder
36
- ? `
38
+ ? `
37
39
  border: solid 1px;
38
40
  border-${types_1.OrderPosition[(0, props_1.getReverseOrderPosition)(addonPosition)].toLowerCase()}: 0;
39
41
  `
40
- : ''}
42
+ : ''}
41
43
  `
42
- : ''}
44
+ : ''}
43
45
 
44
46
  ${!isOutline
45
- ? `
46
- ${!isSoft
47
47
  ? `
48
- color: ${theme.$.palette[palette].font};
48
+ ${!isSoft
49
+ ? `
49
50
 
50
51
  ${!isFocused
51
- ? `
52
- background: ${theme.$.palette[palette].main};
53
- border-color: ${theme.$.palette[palette].dark};
52
+ ? `
53
+ background: ${(_c = (_b = (_a = theme.$.palette[palette].input) === null || _a === void 0 ? void 0 : _a.addon) === null || _b === void 0 ? void 0 : _b.background) !== null && _c !== void 0 ? _c : theme.$.palette[palette].main};
54
+ border-color: ${(_f = (_e = (_d = theme.$.palette[palette].input) === null || _d === void 0 ? void 0 : _d.addon) === null || _e === void 0 ? void 0 : _e.border) !== null && _f !== void 0 ? _f : theme.$.palette[palette].dark};
55
+ color: ${(_j = (_h = (_g = theme.$.palette[palette].input) === null || _g === void 0 ? void 0 : _g.addon) === null || _h === void 0 ? void 0 : _h.font) !== null && _j !== void 0 ? _j : theme.$.palette[palette].font};
54
56
  `
55
- : `
56
- background: ${theme.$.palette[palette].dynamicer};
57
- border-color: ${theme.$.palette[palette].dynamicest};
57
+ : `
58
+ background: ${(_o = (_m = (_l = (_k = theme.$.palette[palette].input) === null || _k === void 0 ? void 0 : _k.focused) === null || _l === void 0 ? void 0 : _l.addon) === null || _m === void 0 ? void 0 : _m.background) !== null && _o !== void 0 ? _o : theme.$.palette[palette].dynamicer};
59
+ border-color: ${(_s = (_r = (_q = (_p = theme.$.palette[palette].input) === null || _p === void 0 ? void 0 : _p.focused) === null || _q === void 0 ? void 0 : _q.addon) === null || _r === void 0 ? void 0 : _r.border) !== null && _s !== void 0 ? _s : theme.$.palette[palette].dynamicest};
60
+ color: ${(_w = (_v = (_u = (_t = theme.$.palette[palette].input) === null || _t === void 0 ? void 0 : _t.focused) === null || _u === void 0 ? void 0 : _u.addon) === null || _v === void 0 ? void 0 : _v.font) !== null && _w !== void 0 ? _w : theme.$.palette[palette].font};
58
61
  `}
59
62
  `
60
- : `
61
- color: ${theme.$.palette[palette].softFont};
62
-
63
+ : `
63
64
  ${!isFocused
65
+ ? `
66
+ background: ${(_0 = (_z = (_y = (_x = theme.$.palette[palette].input) === null || _x === void 0 ? void 0 : _x.soft) === null || _y === void 0 ? void 0 : _y.addon) === null || _z === void 0 ? void 0 : _z.background) !== null && _0 !== void 0 ? _0 : theme.$.palette[palette].soft};
67
+ border-color: ${(_4 = (_3 = (_2 = (_1 = theme.$.palette[palette].input) === null || _1 === void 0 ? void 0 : _1.soft) === null || _2 === void 0 ? void 0 : _2.addon) === null || _3 === void 0 ? void 0 : _3.border) !== null && _4 !== void 0 ? _4 : theme.$.palette[palette].softDynamic};
68
+ color: ${(_8 = (_7 = (_6 = (_5 = theme.$.palette[palette].input) === null || _5 === void 0 ? void 0 : _5.soft) === null || _6 === void 0 ? void 0 : _6.addon) === null || _7 === void 0 ? void 0 : _7.font) !== null && _8 !== void 0 ? _8 : theme.$.palette[palette].softFont};
69
+ `
70
+ : `
71
+ background: ${(_13 = (_12 = (_11 = (_10 = (_9 = theme.$.palette[palette].input) === null || _9 === void 0 ? void 0 : _9.soft) === null || _10 === void 0 ? void 0 : _10.focused) === null || _11 === void 0 ? void 0 : _11.addon) === null || _12 === void 0 ? void 0 : _12.background) !== null && _13 !== void 0 ? _13 : theme.$.palette[palette].softDynamicer};
72
+ border-color: ${(_18 = (_17 = (_16 = (_15 = (_14 = theme.$.palette[palette].input) === null || _14 === void 0 ? void 0 : _14.soft) === null || _15 === void 0 ? void 0 : _15.focused) === null || _16 === void 0 ? void 0 : _16.addon) === null || _17 === void 0 ? void 0 : _17.border) !== null && _18 !== void 0 ? _18 : theme.$.palette[palette].softDynamicest};
73
+ color: ${(_23 = (_22 = (_21 = (_20 = (_19 = theme.$.palette[palette].input) === null || _19 === void 0 ? void 0 : _19.soft) === null || _20 === void 0 ? void 0 : _20.focused) === null || _21 === void 0 ? void 0 : _21.addon) === null || _22 === void 0 ? void 0 : _22.font) !== null && _23 !== void 0 ? _23 : theme.$.palette[palette].softFont};
74
+ `}
75
+ `}
76
+ `
77
+ : `
78
+ ${!isSoft
64
79
  ? `
65
- background: ${theme.$.palette[palette].soft};
66
- border-color: ${theme.$.palette[palette].softDynamic};
80
+ ${!isFocused
81
+ ? `
82
+ background: ${(_27 = (_26 = (_25 = (_24 = theme.$.palette[palette].input) === null || _24 === void 0 ? void 0 : _24.outline) === null || _25 === void 0 ? void 0 : _25.addon) === null || _26 === void 0 ? void 0 : _26.background) !== null && _27 !== void 0 ? _27 : theme.$.color.dynamic.background};
83
+ border-color ${(_31 = (_30 = (_29 = (_28 = theme.$.palette[palette].input) === null || _28 === void 0 ? void 0 : _28.outline) === null || _29 === void 0 ? void 0 : _29.addon) === null || _30 === void 0 ? void 0 : _30.border) !== null && _31 !== void 0 ? _31 : theme.$.color.dynamic.accent};
84
+ color: ${(_35 = (_34 = (_33 = (_32 = theme.$.palette[palette].input) === null || _32 === void 0 ? void 0 : _32.outline) === null || _33 === void 0 ? void 0 : _33.addon) === null || _34 === void 0 ? void 0 : _34.font) !== null && _35 !== void 0 ? _35 : theme.$.color.dynamic.font};
67
85
  `
86
+ : `
87
+ background: ${(_40 = (_39 = (_38 = (_37 = (_36 = theme.$.palette[palette].input) === null || _36 === void 0 ? void 0 : _36.outline) === null || _37 === void 0 ? void 0 : _37.focused) === null || _38 === void 0 ? void 0 : _38.addon) === null || _39 === void 0 ? void 0 : _39.background) !== null && _40 !== void 0 ? _40 : theme.$.color.dynamic.background};
88
+ border-color ${(_45 = (_44 = (_43 = (_42 = (_41 = theme.$.palette[palette].input) === null || _41 === void 0 ? void 0 : _41.outline) === null || _42 === void 0 ? void 0 : _42.focused) === null || _43 === void 0 ? void 0 : _43.addon) === null || _44 === void 0 ? void 0 : _44.border) !== null && _45 !== void 0 ? _45 : theme.$.palette[palette].main};
89
+ color: ${(_50 = (_49 = (_48 = (_47 = (_46 = theme.$.palette[palette].input) === null || _46 === void 0 ? void 0 : _46.outline) === null || _47 === void 0 ? void 0 : _47.focused) === null || _48 === void 0 ? void 0 : _48.addon) === null || _49 === void 0 ? void 0 : _49.font) !== null && _50 !== void 0 ? _50 : theme.$.color.dynamic.font};
90
+ `}
91
+ `
68
92
  : `
69
- background: ${theme.$.palette[palette].softDynamicer};
70
- border-color: ${theme.$.palette[palette].softDynamicest};
93
+ ${!isFocused
94
+ ? `
95
+ background: ${(_55 = (_54 = (_53 = (_52 = (_51 = theme.$.palette[palette].input) === null || _51 === void 0 ? void 0 : _51.soft) === null || _52 === void 0 ? void 0 : _52.outline) === null || _53 === void 0 ? void 0 : _53.addon) === null || _54 === void 0 ? void 0 : _54.background) !== null && _55 !== void 0 ? _55 : theme.$.color.dynamic.background};
96
+ border-color ${(_60 = (_59 = (_58 = (_57 = (_56 = theme.$.palette[palette].input) === null || _56 === void 0 ? void 0 : _56.soft) === null || _57 === void 0 ? void 0 : _57.outline) === null || _58 === void 0 ? void 0 : _58.addon) === null || _59 === void 0 ? void 0 : _59.border) !== null && _60 !== void 0 ? _60 : theme.$.color.dynamic.accent};
97
+ color: ${(_65 = (_64 = (_63 = (_62 = (_61 = theme.$.palette[palette].input) === null || _61 === void 0 ? void 0 : _61.soft) === null || _62 === void 0 ? void 0 : _62.outline) === null || _63 === void 0 ? void 0 : _63.addon) === null || _64 === void 0 ? void 0 : _64.font) !== null && _65 !== void 0 ? _65 : theme.$.color.dynamic.font};
98
+ `
99
+ : `
100
+ background: ${(_71 = (_70 = (_69 = (_68 = (_67 = (_66 = theme.$.palette[palette].input) === null || _66 === void 0 ? void 0 : _66.soft) === null || _67 === void 0 ? void 0 : _67.outline) === null || _68 === void 0 ? void 0 : _68.focused) === null || _69 === void 0 ? void 0 : _69.addon) === null || _70 === void 0 ? void 0 : _70.background) !== null && _71 !== void 0 ? _71 : theme.$.color.dynamic.background};
101
+ border-color ${(_77 = (_76 = (_75 = (_74 = (_73 = (_72 = theme.$.palette[palette].input) === null || _72 === void 0 ? void 0 : _72.soft) === null || _73 === void 0 ? void 0 : _73.outline) === null || _74 === void 0 ? void 0 : _74.focused) === null || _75 === void 0 ? void 0 : _75.addon) === null || _76 === void 0 ? void 0 : _76.border) !== null && _77 !== void 0 ? _77 : theme.$.palette[palette].main};
102
+ color: ${(_83 = (_82 = (_81 = (_80 = (_79 = (_78 = theme.$.palette[palette].input) === null || _78 === void 0 ? void 0 : _78.soft) === null || _79 === void 0 ? void 0 : _79.outline) === null || _80 === void 0 ? void 0 : _80.focused) === null || _81 === void 0 ? void 0 : _81.addon) === null || _82 === void 0 ? void 0 : _82.font) !== null && _83 !== void 0 ? _83 : theme.$.color.dynamic.font};
71
103
  `}
72
104
  `}
73
- `
74
- : `
75
- background: ${theme.$.color.dynamic.background};
76
- border-color ${!isFocused ? theme.$.color.dynamic.accent : theme.$.palette[palette].main};
77
- color: ${theme.$.color.dynamic.font};
78
105
  `}
79
106
 
80
107
  ${(!isSeparated && isDisabled)
81
- ? `
108
+ ? `
82
109
  opacity: ${theme.$.opacity.formDisabled};
83
110
  pointer-events: none;
84
111
 
85
112
  ${isOutline
86
- ? `
87
- background: ${theme.$.color.dynamic.accent};
88
- color: ${theme.$.color.dynamic.gray};
113
+ ? `
114
+ background: ${!isSoft ? ((_88 = (_87 = (_86 = (_85 = (_84 = theme.$.palette[palette].input) === null || _84 === void 0 ? void 0 : _84.outline) === null || _85 === void 0 ? void 0 : _85.disabled) === null || _86 === void 0 ? void 0 : _86.addon) === null || _87 === void 0 ? void 0 : _87.background) !== null && _88 !== void 0 ? _88 : theme.$.color.dynamic.accent) : ((_94 = (_93 = (_92 = (_91 = (_90 = (_89 = theme.$.palette[palette].input) === null || _89 === void 0 ? void 0 : _89.soft) === null || _90 === void 0 ? void 0 : _90.outline) === null || _91 === void 0 ? void 0 : _91.disabled) === null || _92 === void 0 ? void 0 : _92.addon) === null || _93 === void 0 ? void 0 : _93.background) !== null && _94 !== void 0 ? _94 : theme.$.color.dynamic.accent)};
115
+ color: ${!isSoft ? ((_99 = (_98 = (_97 = (_96 = (_95 = theme.$.palette[palette].input) === null || _95 === void 0 ? void 0 : _95.outline) === null || _96 === void 0 ? void 0 : _96.disabled) === null || _97 === void 0 ? void 0 : _97.addon) === null || _98 === void 0 ? void 0 : _98.font) !== null && _99 !== void 0 ? _99 : theme.$.color.dynamic.gray) : ((_105 = (_104 = (_103 = (_102 = (_101 = (_100 = theme.$.palette[palette].input) === null || _100 === void 0 ? void 0 : _100.soft) === null || _101 === void 0 ? void 0 : _101.outline) === null || _102 === void 0 ? void 0 : _102.disabled) === null || _103 === void 0 ? void 0 : _103.addon) === null || _104 === void 0 ? void 0 : _104.font) !== null && _105 !== void 0 ? _105 : theme.$.color.dynamic.gray)};
89
116
  `
90
- : ''}
117
+ : ''}
91
118
  `
92
- : ''}
119
+ : ''}
93
120
 
94
121
  ${(isSeparated && isClickable)
95
- ? `
122
+ ? `
96
123
  cursor: ${theme.$.cursor.inputAddonClickable};
97
124
  `
98
- : ''}
125
+ : ''}
99
126
 
100
127
  ${(!isSeparated && !isReadOnly && !isDisabled && cursorKey)
101
- ? `
128
+ ? `
102
129
  cursor: ${theme.$.cursor[cursorKey]};
103
130
  `
104
- : ''}
105
- `);
131
+ : ''}
132
+ `;
133
+ });
@@ -25,7 +25,7 @@ exports.default = (0, styled_components_1.default)(Input_1.default).attrs(({ cla
25
25
  `
26
26
  : ''}
27
27
  `, isInput })))(({ theme, cursorKey, isDisabled, isFocused, isInput, isOutline, isSoft, palette }) => {
28
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
28
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50;
29
29
  return `
30
30
  border: 0;
31
31
  border-radius: 0;
@@ -48,63 +48,85 @@ exports.default = (0, styled_components_1.default)(Input_1.default).attrs(({ cla
48
48
  ${!isSoft
49
49
  ? `
50
50
  background: ${!isFocused ? ((_b = (_a = theme.$.palette[palette].input) === null || _a === void 0 ? void 0 : _a.background) !== null && _b !== void 0 ? _b : theme.$.palette[palette].main) : ((_e = (_d = (_c = theme.$.palette[palette].input) === null || _c === void 0 ? void 0 : _c.focused) === null || _d === void 0 ? void 0 : _d.background) !== null && _e !== void 0 ? _e : theme.$.palette[palette].dynamicer)};
51
- color: ${(_g = (_f = theme.$.palette[palette].input) === null || _f === void 0 ? void 0 : _f.font) !== null && _g !== void 0 ? _g : theme.$.palette[palette].font};
51
+ color: ${!isFocused ? ((_g = (_f = theme.$.palette[palette].input) === null || _f === void 0 ? void 0 : _f.font) !== null && _g !== void 0 ? _g : theme.$.palette[palette].font) : ((_k = (_j = (_h = theme.$.palette[palette].input) === null || _h === void 0 ? void 0 : _h.focused) === null || _j === void 0 ? void 0 : _j.font) !== null && _k !== void 0 ? _k : theme.$.palette[palette].font)};
52
52
  `
53
53
  : `
54
- background: ${!isFocused ? theme.$.palette[palette].soft : theme.$.palette[palette].softDynamicer};
55
- color: ${theme.$.palette[palette].softFont};
54
+ background: ${!isFocused ? ((_o = (_m = (_l = theme.$.palette[palette].input) === null || _l === void 0 ? void 0 : _l.soft) === null || _m === void 0 ? void 0 : _m.background) !== null && _o !== void 0 ? _o : theme.$.palette[palette].soft) : ((_s = (_r = (_q = (_p = theme.$.palette[palette].input) === null || _p === void 0 ? void 0 : _p.soft) === null || _q === void 0 ? void 0 : _q.focused) === null || _r === void 0 ? void 0 : _r.background) !== null && _s !== void 0 ? _s : theme.$.palette[palette].softDynamicer)};
55
+ color: ${!isFocused ? ((_v = (_u = (_t = theme.$.palette[palette].input) === null || _t === void 0 ? void 0 : _t.soft) === null || _u === void 0 ? void 0 : _u.font) !== null && _v !== void 0 ? _v : theme.$.palette[palette].softFont) : ((_z = (_y = (_x = (_w = theme.$.palette[palette].input) === null || _w === void 0 ? void 0 : _w.soft) === null || _x === void 0 ? void 0 : _x.focused) === null || _y === void 0 ? void 0 : _y.font) !== null && _z !== void 0 ? _z : theme.$.palette[palette].softFont)};
56
56
  `}
57
57
 
58
58
  ${!isInput
59
59
  ? `
60
60
  ${InputPlaceholder_1.default} {
61
- color: ${(!isSoft && ((_j = (_h = theme.$.palette[palette].input) === null || _h === void 0 ? void 0 : _h.placeholder) === null || _j === void 0 ? void 0 : _j.font)) ? (_l = (_k = theme.$.palette[palette].input) === null || _k === void 0 ? void 0 : _k.placeholder) === null || _l === void 0 ? void 0 : _l.font : (0, color_1.getColor)(!isSoft ? theme.$.palette[palette].font : theme.$.palette[palette].softFont).alpha(theme.$.opacity.inputPlaceholder).rgb().toString()};
61
+ ${!isSoft
62
+ ? `
63
+ color: ${((_1 = (_0 = theme.$.palette[palette].input) === null || _0 === void 0 ? void 0 : _0.placeholder) === null || _1 === void 0 ? void 0 : _1.font) ? (_3 = (_2 = theme.$.palette[palette].input) === null || _2 === void 0 ? void 0 : _2.placeholder) === null || _3 === void 0 ? void 0 : _3.font : (0, color_1.getColor)(theme.$.palette[palette].font).alpha(theme.$.opacity.inputPlaceholder).rgb().toString()};
64
+ `
65
+ : `
66
+ color: ${((_6 = (_5 = (_4 = theme.$.palette[palette].input) === null || _4 === void 0 ? void 0 : _4.soft) === null || _5 === void 0 ? void 0 : _5.placeholder) === null || _6 === void 0 ? void 0 : _6.font) ? (_9 = (_8 = (_7 = theme.$.palette[palette].input) === null || _7 === void 0 ? void 0 : _7.soft) === null || _8 === void 0 ? void 0 : _8.placeholder) === null || _9 === void 0 ? void 0 : _9.font : (0, color_1.getColor)(theme.$.palette[palette].softFont).alpha(theme.$.opacity.inputPlaceholder).rgb().toString()};
67
+ `}
62
68
  }
63
69
  `
64
70
  : `
65
71
  ${dom_1.placeholder.map(item => {
66
- var _a, _b, _c, _d;
72
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
67
73
  return `
68
74
  &${item} {
69
- color: ${(!isSoft && ((_b = (_a = theme.$.palette[palette].input) === null || _a === void 0 ? void 0 : _a.placeholder) === null || _b === void 0 ? void 0 : _b.font)) ? (_d = (_c = theme.$.palette[palette].input) === null || _c === void 0 ? void 0 : _c.placeholder) === null || _d === void 0 ? void 0 : _d.font : (0, color_1.getColor)(!isSoft ? theme.$.palette[palette].font : theme.$.palette[palette].softFont).alpha(theme.$.opacity.inputPlaceholder).rgb().toString()};
75
+ ${!isSoft
76
+ ? `
77
+ color: ${((_b = (_a = theme.$.palette[palette].input) === null || _a === void 0 ? void 0 : _a.placeholder) === null || _b === void 0 ? void 0 : _b.font) ? (_d = (_c = theme.$.palette[palette].input) === null || _c === void 0 ? void 0 : _c.placeholder) === null || _d === void 0 ? void 0 : _d.font : (0, color_1.getColor)(theme.$.palette[palette].font).alpha(theme.$.opacity.inputPlaceholder).rgb().toString()};
78
+ `
79
+ : `
80
+ color: ${((_g = (_f = (_e = theme.$.palette[palette].input) === null || _e === void 0 ? void 0 : _e.soft) === null || _f === void 0 ? void 0 : _f.placeholder) === null || _g === void 0 ? void 0 : _g.font) ? (_k = (_j = (_h = theme.$.palette[palette].input) === null || _h === void 0 ? void 0 : _h.soft) === null || _j === void 0 ? void 0 : _j.placeholder) === null || _k === void 0 ? void 0 : _k.font : (0, color_1.getColor)(theme.$.palette[palette].softFont).alpha(theme.$.opacity.inputPlaceholder).rgb().toString()};
81
+ `}
70
82
  opacity: 1;
71
- }
83
+ }
72
84
  `;
73
85
  }).join(' ')}
74
86
  `}
75
87
  `
76
88
  : `
77
- background: ${theme.$.color.dynamic.background};
78
- color: ${theme.$.color.dynamic.font};
89
+ ${!isSoft
90
+ ? `
91
+ background: ${(_12 = (_11 = (_10 = theme.$.palette[palette].input) === null || _10 === void 0 ? void 0 : _10.outline) === null || _11 === void 0 ? void 0 : _11.background) !== null && _12 !== void 0 ? _12 : theme.$.color.dynamic.background};
92
+ color: ${(_15 = (_14 = (_13 = theme.$.palette[palette].input) === null || _13 === void 0 ? void 0 : _13.outline) === null || _14 === void 0 ? void 0 : _14.font) !== null && _15 !== void 0 ? _15 : theme.$.color.dynamic.font};
93
+ `
94
+ : `
95
+ background: ${(_19 = (_18 = (_17 = (_16 = theme.$.palette[palette].input) === null || _16 === void 0 ? void 0 : _16.soft) === null || _17 === void 0 ? void 0 : _17.outline) === null || _18 === void 0 ? void 0 : _18.background) !== null && _19 !== void 0 ? _19 : theme.$.color.dynamic.background};
96
+ color: ${(_23 = (_22 = (_21 = (_20 = theme.$.palette[palette].input) === null || _20 === void 0 ? void 0 : _20.soft) === null || _21 === void 0 ? void 0 : _21.outline) === null || _22 === void 0 ? void 0 : _22.font) !== null && _23 !== void 0 ? _23 : theme.$.color.dynamic.font};
97
+ `}
79
98
 
80
99
  ${!isInput
81
100
  ? `
82
101
  ${!isDisabled
83
102
  ? `
84
103
  ${InputPlaceholder_1.default} {
85
- color: ${theme.$.color.dynamic.accent};
104
+ color: ${!isSoft ? ((_27 = (_26 = (_25 = (_24 = theme.$.palette[palette].input) === null || _24 === void 0 ? void 0 : _24.outline) === null || _25 === void 0 ? void 0 : _25.placeholder) === null || _26 === void 0 ? void 0 : _26.font) !== null && _27 !== void 0 ? _27 : theme.$.color.dynamic.accent) : ((_32 = (_31 = (_30 = (_29 = (_28 = theme.$.palette[palette].input) === null || _28 === void 0 ? void 0 : _28.soft) === null || _29 === void 0 ? void 0 : _29.outline) === null || _30 === void 0 ? void 0 : _30.placeholder) === null || _31 === void 0 ? void 0 : _31.font) !== null && _32 !== void 0 ? _32 : theme.$.color.dynamic.accent)};
86
105
  }
87
106
  `
88
107
  : ''}
89
108
  `
90
109
  : `
91
- ${dom_1.placeholder.map(item => `
110
+ ${dom_1.placeholder.map(item => {
111
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
112
+ return `
92
113
  &${item} {
93
114
  opacity: 1;
94
115
 
95
116
  ${!isDisabled
96
- ? `
97
- color: ${theme.$.color.dynamic.accent};
117
+ ? `
118
+ color: ${!isSoft ? ((_d = (_c = (_b = (_a = theme.$.palette[palette].input) === null || _a === void 0 ? void 0 : _a.outline) === null || _b === void 0 ? void 0 : _b.placeholder) === null || _c === void 0 ? void 0 : _c.font) !== null && _d !== void 0 ? _d : theme.$.color.dynamic.accent) : ((_j = (_h = (_g = (_f = (_e = theme.$.palette[palette].input) === null || _e === void 0 ? void 0 : _e.soft) === null || _f === void 0 ? void 0 : _f.outline) === null || _g === void 0 ? void 0 : _g.placeholder) === null || _h === void 0 ? void 0 : _h.font) !== null && _j !== void 0 ? _j : theme.$.color.dynamic.accent)};
98
119
  `
99
- : ''}
120
+ : ''}
100
121
 
101
122
  ${(!isOutline && isSoft)
102
- ? `
123
+ ? `
103
124
  font-weight: ${theme.$.fontWeight.bold};
104
125
  `
105
- : ''}
126
+ : ''}
106
127
  }
107
- `).join(' ')}
128
+ `;
129
+ }).join(' ')}
108
130
  `}
109
131
  `}
110
132
 
@@ -115,8 +137,8 @@ exports.default = (0, styled_components_1.default)(Input_1.default).attrs(({ cla
115
137
 
116
138
  ${isDisabled && isOutline
117
139
  ? `
118
- background: ${theme.$.color.dynamic.accent};
119
- color: ${theme.$.color.dynamic.gray};
140
+ background: ${!isSoft ? ((_36 = (_35 = (_34 = (_33 = theme.$.palette[palette].input) === null || _33 === void 0 ? void 0 : _33.outline) === null || _34 === void 0 ? void 0 : _34.disabled) === null || _35 === void 0 ? void 0 : _35.background) !== null && _36 !== void 0 ? _36 : theme.$.color.dynamic.accent) : ((_41 = (_40 = (_39 = (_38 = (_37 = theme.$.palette[palette].input) === null || _37 === void 0 ? void 0 : _37.soft) === null || _38 === void 0 ? void 0 : _38.outline) === null || _39 === void 0 ? void 0 : _39.disabled) === null || _40 === void 0 ? void 0 : _40.background) !== null && _41 !== void 0 ? _41 : theme.$.color.dynamic.accent)};
141
+ color: ${!isSoft ? ((_45 = (_44 = (_43 = (_42 = theme.$.palette[palette].input) === null || _42 === void 0 ? void 0 : _42.outline) === null || _43 === void 0 ? void 0 : _43.disabled) === null || _44 === void 0 ? void 0 : _44.font) !== null && _45 !== void 0 ? _45 : theme.$.color.dynamic.gray) : ((_50 = (_49 = (_48 = (_47 = (_46 = theme.$.palette[palette].input) === null || _46 === void 0 ? void 0 : _46.soft) === null || _47 === void 0 ? void 0 : _47.outline) === null || _48 === void 0 ? void 0 : _48.disabled) === null || _49 === void 0 ? void 0 : _49.font) !== null && _50 !== void 0 ? _50 : theme.$.color.dynamic.gray)};
120
142
  `
121
143
  : ''}
122
144
 
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Div_1 = __importDefault(require("@smart-react-components/core/Element/Div"));
7
7
  const styled_components_1 = __importDefault(require("styled-components"));
8
8
  exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasBorder, hasSeparatedLeftAddon, hasSeparatedRightAddon, isDisabled, isFocused, isOutline, isSoft, palette, shape }) => {
9
- var _a, _b, _c, _d, _e;
9
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
10
10
  return `
11
11
  border: ${hasBorder ? 'solid 1px' : '0'};
12
12
  border-radius: ${theme.$.radius.input[shape]};
@@ -24,16 +24,16 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasB
24
24
  border-color: ${!isFocused ? ((_b = (_a = theme.$.palette[palette].input) === null || _a === void 0 ? void 0 : _a.border) !== null && _b !== void 0 ? _b : theme.$.palette[palette].dark) : ((_e = (_d = (_c = theme.$.palette[palette].input) === null || _c === void 0 ? void 0 : _c.focused) === null || _d === void 0 ? void 0 : _d.border) !== null && _e !== void 0 ? _e : theme.$.palette[palette].dynamicest)};
25
25
  `
26
26
  : `
27
- border-color: ${!isFocused ? theme.$.palette[palette].softDynamic : theme.$.palette[palette].softDynamicest};
27
+ border-color: ${!isFocused ? ((_h = (_g = (_f = theme.$.palette[palette].input) === null || _f === void 0 ? void 0 : _f.soft) === null || _g === void 0 ? void 0 : _g.border) !== null && _h !== void 0 ? _h : theme.$.palette[palette].softDynamic) : ((_o = (_m = (_l = (_k = (_j = theme.$.palette[palette]) === null || _j === void 0 ? void 0 : _j.input) === null || _k === void 0 ? void 0 : _k.soft) === null || _l === void 0 ? void 0 : _l.focused) === null || _m === void 0 ? void 0 : _m.border) !== null && _o !== void 0 ? _o : theme.$.palette[palette].softDynamicest)};
28
28
  `}
29
29
  `
30
30
  : `
31
31
  ${!isFocused
32
32
  ? `
33
- border-color: ${theme.$.color.dynamic.accent};
33
+ border-color: ${!isSoft ? ((_r = (_q = (_p = theme.$.palette[palette].input) === null || _p === void 0 ? void 0 : _p.outline) === null || _q === void 0 ? void 0 : _q.border) !== null && _r !== void 0 ? _r : theme.$.color.dynamic.accent) : ((_v = (_u = (_t = (_s = theme.$.palette[palette].input) === null || _s === void 0 ? void 0 : _s.soft) === null || _t === void 0 ? void 0 : _t.outline) === null || _u === void 0 ? void 0 : _u.border) !== null && _v !== void 0 ? _v : theme.$.color.dynamic.accent)};
34
34
  `
35
35
  : `
36
- border-color: ${!isSoft ? theme.$.palette[palette].main : theme.$.palette[palette].soft};
36
+ border-color: ${!isSoft ? ((_z = (_y = (_x = (_w = theme.$.palette[palette].input) === null || _w === void 0 ? void 0 : _w.outline) === null || _x === void 0 ? void 0 : _x.focused) === null || _y === void 0 ? void 0 : _y.border) !== null && _z !== void 0 ? _z : theme.$.palette[palette].main) : ((_4 = (_3 = (_2 = (_1 = (_0 = theme.$.palette[palette].input) === null || _0 === void 0 ? void 0 : _0.soft) === null || _1 === void 0 ? void 0 : _1.outline) === null || _2 === void 0 ? void 0 : _2.focused) === null || _3 === void 0 ? void 0 : _3.border) !== null && _4 !== void 0 ? _4 : theme.$.palette[palette].soft)};
37
37
  `}
38
38
  `}
39
39
 
@@ -19,45 +19,47 @@ exports.Percentage = styled_components_1.default.div `
19
19
  flex: 0 0 auto;
20
20
  position: relative;
21
21
  `;
22
- exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasStripedAnimation, height, isFilled, isNested, isStriped, palette, stripedAnimationDuration, transitionDuration, transitionTimingFunction }) => `
22
+ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasStripedAnimation, height, isFilled, isNested, isStriped, palette, stripedAnimationDuration, transitionDuration, transitionTimingFunction }) => {
23
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
24
+ return `
23
25
  align-items: center;
24
- color: ${theme.$.palette[palette].main};
26
+ color: ${(_b = (_a = theme.$.palette[palette].progressBar) === null || _a === void 0 ? void 0 : _a.background) !== null && _b !== void 0 ? _b : theme.$.palette[palette].main};
25
27
  display: flex;
26
- fill: ${theme.$.palette[palette].main};
28
+ fill: ${(_d = (_c = theme.$.palette[palette].progressBar) === null || _c === void 0 ? void 0 : _c.background) !== null && _d !== void 0 ? _d : theme.$.palette[palette].main};
27
29
  overflow: hidden;
28
30
  position: relative;
29
31
 
30
32
  ${exports.Bar} {
31
- background: ${theme.$.palette[palette].main};
32
- color: ${theme.$.palette[palette].font};
33
- fill: ${theme.$.palette[palette].font};
33
+ background: ${(_f = (_e = theme.$.palette[palette].progressBar) === null || _e === void 0 ? void 0 : _e.background) !== null && _f !== void 0 ? _f : theme.$.palette[palette].main};
34
+ color: ${(_h = (_g = theme.$.palette[palette].progressBar) === null || _g === void 0 ? void 0 : _g.font) !== null && _h !== void 0 ? _h : theme.$.palette[palette].font};
35
+ fill: ${(_k = (_j = theme.$.palette[palette].progressBar) === null || _j === void 0 ? void 0 : _j.font) !== null && _k !== void 0 ? _k : theme.$.palette[palette].font};
34
36
  transition: width ${transitionDuration}ms 0s ${transitionTimingFunction};
35
37
 
36
38
  ${isNested
37
- ? `
38
- background: ${(0, color_1.getColor)(theme.$.color.light.background).alpha(.3).rgb().toString()};
39
+ ? `
40
+ background: ${((_m = (_l = theme.$.palette[palette].progressBar) === null || _l === void 0 ? void 0 : _l.nested) === null || _m === void 0 ? void 0 : _m.background) ? (_p = (_o = theme.$.palette[palette].progressBar) === null || _o === void 0 ? void 0 : _o.nested) === null || _p === void 0 ? void 0 : _p.background : (0, color_1.getColor)(theme.$.color.light.background).alpha(.3).rgb().toString()};
39
41
  `
40
- : `
42
+ : `
41
43
  border-radius: .125rem;
42
44
  `}
43
45
  }
44
46
 
45
47
  ${isFilled
46
- ? `
47
- background: ${theme.$.color.dynamic.gray};
48
+ ? `
49
+ background: ${(_s = (_r = (_q = theme.$.palette[palette].progressBar) === null || _q === void 0 ? void 0 : _q.filled) === null || _r === void 0 ? void 0 : _r.background) !== null && _s !== void 0 ? _s : theme.$.color.dynamic.gray};
48
50
  `
49
- : ''}
51
+ : ''}
50
52
 
51
53
  ${isNested
52
- ? `
54
+ ? `
53
55
  flex: 1 1 auto;
54
56
  `
55
- : `
57
+ : `
56
58
  border-radius: .125rem;
57
59
  `}
58
60
 
59
61
  ${isStriped
60
- ? `
62
+ ? `
61
63
  &,
62
64
  ${exports.Bar} {
63
65
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
@@ -65,7 +67,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasS
65
67
  }
66
68
 
67
69
  ${hasStripedAnimation
68
- ? `
70
+ ? `
69
71
  &,
70
72
  ${exports.Bar} {
71
73
  animation: src-progress-bar-stripes ${stripedAnimationDuration}ms 0s ${transitionTimingFunction} infinite;
@@ -81,7 +83,8 @@ exports.default = (0, styled_components_1.default)(Div_1.default)(({ theme, hasS
81
83
  }
82
84
  }
83
85
  `
84
- : ''}
86
+ : ''}
85
87
  `
86
- : ''}
87
- `);
88
+ : ''}
89
+ `;
90
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-react-components/ui",
3
- "version": "2.1.0-alpha-7",
3
+ "version": "2.1.0-alpha-9",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "description": "SRC UI includes React and Styled components.",
@@ -64,9 +64,9 @@
64
64
  "test": "jest"
65
65
  },
66
66
  "devDependencies": {
67
- "@smart-react-components/core": "2.1.0-alpha-6",
68
- "@smart-react-components/router": "2.1.0-alpha-4",
69
- "@smart-react-components/transition": "2.1.0-alpha-4",
67
+ "@smart-react-components/core": "2.1.0-alpha-9",
68
+ "@smart-react-components/router": "2.1.0-alpha-6",
69
+ "@smart-react-components/transition": "2.1.0-alpha-6",
70
70
  "@testing-library/react": "13.4.0",
71
71
  "@types/jest": "29.0.1",
72
72
  "@types/react": "18.0.19",
@@ -83,9 +83,9 @@
83
83
  "typescript": "4.8.3"
84
84
  },
85
85
  "peerDependencies": {
86
- "@smart-react-components/core": "^2.1.0-alpha-6",
87
- "@smart-react-components/router": "^2.1.0-alpha-4",
88
- "@smart-react-components/transition": "^2.1.0-alpha-4",
86
+ "@smart-react-components/core": "^2.1.0-alpha-9",
87
+ "@smart-react-components/router": "^2.1.0-alpha-6",
88
+ "@smart-react-components/transition": "^2.1.0-alpha-6",
89
89
  "react": "^18.2.0",
90
90
  "react-dom": "^18.2.0",
91
91
  "styled-components": "^5.3.5"