@stokr/components-library 2.3.65-beta.12 → 2.3.65-beta.13

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.
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Textarea = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _Textarea = require("./Textarea.styles");
9
+ const _excluded = ["id", "name", "placeholder", "value", "error", "touched", "readOnly", "disabled", "rows", "minHeight", "wrapperStyle", "onChange", "onBlur", "onFocus"];
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
13
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
14
+ const Textarea = _ref => {
15
+ let {
16
+ id,
17
+ name,
18
+ placeholder,
19
+ value,
20
+ error,
21
+ touched,
22
+ readOnly,
23
+ disabled,
24
+ rows,
25
+ minHeight,
26
+ wrapperStyle,
27
+ onChange,
28
+ onBlur,
29
+ onFocus
30
+ } = _ref,
31
+ restProps = _objectWithoutProperties(_ref, _excluded);
32
+ const handleChange = e => {
33
+ onChange === null || onChange === void 0 || onChange(e);
34
+ };
35
+ const handleBlur = e => {
36
+ onBlur === null || onBlur === void 0 || onBlur(e);
37
+ };
38
+ const handleFocus = e => {
39
+ onFocus === null || onFocus === void 0 || onFocus(e);
40
+ };
41
+ return /*#__PURE__*/_react.default.createElement(_Textarea.TextareaWrapper, {
42
+ style: wrapperStyle
43
+ }, /*#__PURE__*/_react.default.createElement(_Textarea.StyledTextarea, _extends({
44
+ id: id,
45
+ name: name,
46
+ value: value,
47
+ onChange: handleChange,
48
+ onBlur: handleBlur,
49
+ onFocus: handleFocus,
50
+ readOnly: readOnly,
51
+ placeholder: placeholder,
52
+ disabled: disabled,
53
+ rows: rows,
54
+ minHeight: minHeight,
55
+ error: error && touched
56
+ }, restProps)));
57
+ };
58
+ exports.Textarea = Textarea;
59
+ var _default = exports.default = Textarea;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TextareaWrapper = exports.StyledTextarea = void 0;
7
+ var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
+ var _theme = _interopRequireDefault(require("../../styles/theme"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
+ const TextareaWrapper = exports.TextareaWrapper = _styledComponents.default.div.withConfig({
12
+ displayName: "Textareastyles__TextareaWrapper",
13
+ componentId: "sc-xnx9ic-0"
14
+ })(["position:relative;display:block;"]);
15
+ const StyledTextarea = exports.StyledTextarea = _styledComponents.default.textarea.withConfig({
16
+ displayName: "Textareastyles__StyledTextarea",
17
+ componentId: "sc-xnx9ic-1"
18
+ })(["font-family:'Open sans';display:block;width:100%;min-height:", ";font-weight:400;font-size:12px;line-height:18px;letter-spacing:0.6px;padding:12px 16px;box-shadow:none;outline:0;border:1px solid ", ";border-radius:4px;color:", ";background-color:transparent;transition:border-color 0.2s;resize:vertical;&:focus,&:hover{border-color:", ";}&::placeholder{color:", ";opacity:1;text-transform:uppercase;font-weight:400;font-size:11px;letter-spacing:2px;}", " ", ""], props => props.minHeight || '100px', _theme.default.cLightGrey, _theme.default.cBlack, _theme.default.cGrey2, _theme.default.cGrey2, props => props.disabled && (0, _styledComponents.css)(["color:", ";cursor:not-allowed;&:focus,&:hover{border-color:", ";}"], _theme.default.cGrey2, _theme.default.cLightGrey), props => props.error && (0, _styledComponents.css)(["border-color:", ";&:focus,&:hover{border-color:", ";}"], _theme.default.cWarning, _theme.default.cWarning));
@@ -13,11 +13,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
13
13
  const CardContainer = _styledComponents.default.div.withConfig({
14
14
  displayName: "PaymentDetailsCard__CardContainer",
15
15
  componentId: "sc-e830fo-0"
16
- })(["background:", ";border-radius:15px;border:1px solid ", ";padding:20px 32px;"], _colors.default.white, _colors.default.lightGrey);
16
+ })(["background:", ";border-radius:10px;border:1px solid ", ";padding:20px 32px;"], _colors.default.white, _colors.default.lightGrey);
17
17
  const CardTitle = _styledComponents.default.div.withConfig({
18
18
  displayName: "PaymentDetailsCard__CardTitle",
19
19
  componentId: "sc-e830fo-1"
20
- })(["font-size:16px;font-weight:600;margin-bottom:20px;color:", ";"], _colors.default.black);
20
+ })(["font-size:12px;letter-spacing:0.6px;font-weight:600;color:", ";background:#f1f5f9;padding:12px 24px;margin:-20px -32px 20px -32px;border-radius:9px 9px 0 0;border-bottom:1px solid ", ";"], _colors.default.futureBlack, _colors.default.lightGrey);
21
21
  const AmountSection = _styledComponents.default.div.withConfig({
22
22
  displayName: "PaymentDetailsCard__AmountSection",
23
23
  componentId: "sc-e830fo-2"
@@ -25,7 +25,7 @@ const AmountSection = _styledComponents.default.div.withConfig({
25
25
  const AmountLabel = _styledComponents.default.div.withConfig({
26
26
  displayName: "PaymentDetailsCard__AmountLabel",
27
27
  componentId: "sc-e830fo-3"
28
- })(["font-size:14px;font-weight:300;line-height:20px;letter-spacing:0.08px;margin-bottom:12px;color:", ";"], _colors.default.grey2);
28
+ })(["font-size:11px;font-weight:400;line-height:20px;text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;color:", ";"], _colors.default.futureBlack);
29
29
  const AmountDisplay = _styledComponents.default.div.withConfig({
30
30
  displayName: "PaymentDetailsCard__AmountDisplay",
31
31
  componentId: "sc-e830fo-4"
@@ -41,7 +41,7 @@ const CurrencyIcon = _styledComponents.default.img.withConfig({
41
41
  const AmountValue = _styledComponents.default.div.withConfig({
42
42
  displayName: "PaymentDetailsCard__AmountValue",
43
43
  componentId: "sc-e830fo-7"
44
- })(["font-size:34px;font-weight:800;text-transform:uppercase;line-height:40px;letter-spacing:1.5px;word-wrap:break-word;"]);
44
+ })(["font-size:34px;font-weight:600;text-transform:uppercase;line-height:40px;letter-spacing:1.5px;word-wrap:break-word;color:", ";"], _colors.default.futureBlack);
45
45
  const Separator = _styledComponents.default.hr.withConfig({
46
46
  displayName: "PaymentDetailsCard__Separator",
47
47
  componentId: "sc-e830fo-8"
@@ -53,19 +53,19 @@ const DetailsSection = _styledComponents.default.div.withConfig({
53
53
  const DetailRow = _styledComponents.default.div.withConfig({
54
54
  displayName: "PaymentDetailsCard__DetailRow",
55
55
  componentId: "sc-e830fo-10"
56
- })(["display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;&:last-child{margin-bottom:0;}"]);
56
+ })(["display:flex;justify-content:space-between;align-items:flex-start;padding:10px 0;border-bottom:1px solid #f1f5f9;&:first-child{padding-top:0;}&:last-child{padding:10px 0 0 0;border-bottom:none;}"]);
57
57
  const DetailLabel = _styledComponents.default.div.withConfig({
58
58
  displayName: "PaymentDetailsCard__DetailLabel",
59
59
  componentId: "sc-e830fo-11"
60
- })(["display:flex;align-items:center;gap:10px;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0.1px;"]);
60
+ })(["display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;line-height:20px;letter-spacing:0.5px;color:#56606f;i{font-size:14px;}"]);
61
61
  const DetailValue = _styledComponents.default.div.withConfig({
62
62
  displayName: "PaymentDetailsCard__DetailValue",
63
63
  componentId: "sc-e830fo-12"
64
- })(["font-size:16px;font-weight:700;line-height:24px;letter-spacing:0.1px;word-wrap:break-word;text-align:right;max-width:60%;color:", ";"], _colors.default.black);
64
+ })(["font-size:14px;font-weight:600;line-height:20px;letter-spacing:0.5px;word-wrap:break-word;text-align:right;max-width:60%;color:", ";"], _colors.default.black);
65
65
  const PlaceholderValue = _styledComponents.default.span.withConfig({
66
66
  displayName: "PaymentDetailsCard__PlaceholderValue",
67
67
  componentId: "sc-e830fo-13"
68
- })(["color:", ";font-weight:400;"], _colors.default.grey2);
68
+ })(["color:#62748e;font-weight:300;font-size:14px;letter-spacing:0.5px;"]);
69
69
  const InfoSectionContainer = _styledComponents.default.div.withConfig({
70
70
  displayName: "PaymentDetailsCard__InfoSectionContainer",
71
71
  componentId: "sc-e830fo-14"
@@ -7,11 +7,10 @@ exports.default = exports.StatusTag = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _InfoIcon = _interopRequireDefault(require("../InfoIcon/InfoIcon"));
9
9
  var _Icon = require("../Icon/Icon.style");
10
- var _checkIcon = require("../../static/images/check-icon.svg");
11
- var _crossIcon = require("../../static/images/cross-icon.svg");
12
- var _sentIcon = require("../../static/images/sent-icon.svg");
13
- var _documentIcon = require("../../static/images/document-icon.svg");
14
10
  var _transferIcon = require("../../static/images/transfer-icon.svg");
11
+ var _checkmarkCircleIcon = require("../../static/images/checkmark-circle-icon.svg");
12
+ var _closeCircleIcon = require("../../static/images/close-circle-icon.svg");
13
+ var _docIcon = require("../../static/images/doc-icon.svg");
15
14
  var _colors = _interopRequireDefault(require("../../styles/colors"));
16
15
  var _StatusTag = require("./StatusTag.styles");
17
16
  const _excluded = ["variant", "icon", "text", "tooltip", "tooltipProps", "iconColor", "hoverColor", "disableHoverColor", "colorActive", "minWidth", "className", "containerStyle", "iconStyle", "textStyle", "onClick", "center"];
@@ -19,57 +18,28 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
19
18
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
20
19
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
21
20
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
22
- const PaidIcon = _ref => {
23
- let {
24
- iconColor,
25
- hoverColor,
26
- disableHoverColor,
27
- colorActive
28
- } = _ref;
29
- return /*#__PURE__*/_react.default.createElement(_StatusTag.PaidIconWrapper, {
30
- iconColor: iconColor,
31
- hoverColor: hoverColor,
32
- disableHoverColor: disableHoverColor,
33
- colorActive: colorActive
34
- }, /*#__PURE__*/_react.default.createElement(_checkIcon.ReactComponent, null));
35
- };
36
- const DeclinedIcon = _ref2 => {
37
- let {
38
- iconColor,
39
- hoverColor,
40
- disableHoverColor,
41
- colorActive
42
- } = _ref2;
43
- return /*#__PURE__*/_react.default.createElement(_StatusTag.DeclinedIconWrapper, {
44
- iconColor: iconColor,
45
- hoverColor: hoverColor,
46
- disableHoverColor: disableHoverColor,
47
- colorActive: colorActive
48
- }, /*#__PURE__*/_react.default.createElement(_crossIcon.ReactComponent, null));
49
- };
50
-
51
21
  // Variant configuration - maps variant to icon and colors only
52
22
  const variantConfig = {
53
23
  pending: {
54
- icon: /*#__PURE__*/_react.default.createElement(_Icon.Icon, {
55
- icon: _Icon.iconsMap.inProgress,
56
- size: 12
24
+ icon: /*#__PURE__*/_react.default.createElement(_docIcon.ReactComponent, {
25
+ width: 12,
26
+ height: 12
57
27
  }),
58
- iconColor: _colors.default.grey2,
59
- hoverColor: _colors.default.warningOrange,
60
- disableHoverColor: false
28
+ iconColor: '#021128',
29
+ hoverColor: '#021128',
30
+ disableHoverColor: true
61
31
  },
62
32
  initiated: {
63
- icon: /*#__PURE__*/_react.default.createElement(_sentIcon.ReactComponent, {
64
- width: 12,
65
- height: 12
33
+ icon: /*#__PURE__*/_react.default.createElement(_Icon.Icon, {
34
+ icon: _Icon.iconsMap.inProgress,
35
+ size: 11
66
36
  }),
67
- iconColor: _colors.default.grey2,
68
- hoverColor: _colors.default.blue,
37
+ iconColor: '#032F78',
38
+ hoverColor: '#032F78',
69
39
  disableHoverColor: false
70
40
  },
71
41
  confirmed: {
72
- icon: /*#__PURE__*/_react.default.createElement(_documentIcon.ReactComponent, {
42
+ icon: /*#__PURE__*/_react.default.createElement(_checkmarkCircleIcon.ReactComponent, {
73
43
  width: 12,
74
44
  height: 12
75
45
  }),
@@ -78,34 +48,26 @@ const variantConfig = {
78
48
  disableHoverColor: false
79
49
  },
80
50
  declined: {
81
- icon: (iconColor, hoverColor, disableHoverColor, colorActive) => /*#__PURE__*/_react.default.createElement(DeclinedIcon, {
82
- iconColor: iconColor,
83
- hoverColor: hoverColor,
84
- disableHoverColor: disableHoverColor,
85
- colorActive: colorActive
51
+ icon: /*#__PURE__*/_react.default.createElement(_closeCircleIcon.ReactComponent, {
52
+ width: 12,
53
+ height: 12
86
54
  }),
87
- iconColor: _colors.default.grey2,
55
+ iconColor: _colors.default.darkRed,
88
56
  hoverColor: _colors.default.darkRed,
89
- disableHoverColor: false
57
+ disableHoverColor: false,
58
+ useStroke: true
90
59
  },
91
60
  paid: {
92
- // icon: (iconColor, hoverColor, disableHoverColor) => (
93
- // <PaidIcon
94
- // iconColor={iconColor}
95
- // hoverColor={hoverColor}
96
- // disableHoverColor={disableHoverColor}
97
- // />
98
- // ),
99
61
  icon: /*#__PURE__*/_react.default.createElement(_transferIcon.ReactComponent, {
100
62
  width: 14,
101
63
  height: 14
102
64
  }),
103
- iconColor: _colors.default.grey2,
104
- hoverColor: _colors.default.freshGreen,
65
+ iconColor: '#3D9626',
66
+ hoverColor: '#3D9626',
105
67
  disableHoverColor: false
106
68
  }
107
69
  };
108
- const StatusTag = _ref3 => {
70
+ const StatusTag = _ref => {
109
71
  var _variantData$disableH;
110
72
  let {
111
73
  variant,
@@ -124,8 +86,8 @@ const StatusTag = _ref3 => {
124
86
  textStyle,
125
87
  onClick,
126
88
  center
127
- } = _ref3,
128
- props = _objectWithoutProperties(_ref3, _excluded);
89
+ } = _ref,
90
+ props = _objectWithoutProperties(_ref, _excluded);
129
91
  // If variant is provided, use its configuration (but allow overrides)
130
92
  const variantData = variant ? variantConfig[variant] : null;
131
93
 
@@ -134,18 +96,12 @@ const StatusTag = _ref3 => {
134
96
  const finalHoverColor = hoverColor !== undefined ? hoverColor : variantData === null || variantData === void 0 ? void 0 : variantData.hoverColor;
135
97
  const finalDisableHoverColor = disableHoverColor !== undefined ? disableHoverColor : (_variantData$disableH = variantData === null || variantData === void 0 ? void 0 : variantData.disableHoverColor) !== null && _variantData$disableH !== void 0 ? _variantData$disableH : false;
136
98
 
137
- // Determine which icon to use - handle function icons (for paid/declined)
99
+ // Determine which icon to use
138
100
  let finalIcon = null;
139
101
  if (icon) {
140
102
  finalIcon = icon;
141
103
  } else if (variantData !== null && variantData !== void 0 && variantData.icon) {
142
- if (typeof variantData.icon === 'function') {
143
- // Icon is a function (paid/declined) - pass color props
144
- finalIcon = variantData.icon(finalIconColor, finalHoverColor, finalDisableHoverColor, colorActive);
145
- } else {
146
- // Icon is a React element (pending/initiated/confirmed)
147
- finalIcon = variantData.icon;
148
- }
104
+ finalIcon = variantData.icon;
149
105
  }
150
106
  const content = /*#__PURE__*/_react.default.createElement(_StatusTag.StatusTagContainer, _extends({
151
107
  className: className,
@@ -160,8 +116,8 @@ const StatusTag = _ref3 => {
160
116
  hoverColor: finalHoverColor,
161
117
  disableHoverColor: finalDisableHoverColor,
162
118
  colorActive: colorActive,
163
- style: iconStyle,
164
- isCustomIcon: typeof (variantData === null || variantData === void 0 ? void 0 : variantData.icon) === 'function'
119
+ useStroke: variantData === null || variantData === void 0 ? void 0 : variantData.useStroke,
120
+ style: iconStyle
165
121
  }, finalIcon), text && /*#__PURE__*/_react.default.createElement(_StatusTag.StatusText, {
166
122
  style: textStyle,
167
123
  hoverColor: finalHoverColor,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.StatusText = exports.StatusTagWrapper = exports.StatusTagContainer = exports.PaidIconWrapper = exports.IconWrapper = exports.DeclinedIconWrapper = void 0;
6
+ exports.StatusText = exports.StatusTagWrapper = exports.StatusTagContainer = exports.IconWrapper = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _colors = _interopRequireDefault(require("../../styles/colors"));
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -18,20 +18,8 @@ const StatusTagWrapper = exports.StatusTagWrapper = _styledComponents.default.di
18
18
  const IconWrapper = exports.IconWrapper = _styledComponents.default.div.withConfig({
19
19
  displayName: "StatusTagstyles__IconWrapper",
20
20
  componentId: "sc-24azs1-2"
21
- })(["display:flex;align-items:center;justify-content:center;flex-shrink:0;width:12px;height:12px;color:", ";transition:color 0.2s ease;svg{width:100%;height:100%;display:block;}", " ", ""], props => props.colorActive && props.hoverColor ? props.hoverColor : props.iconColor || _colors.default.grey2, props => !props.isCustomIcon && "\n svg path,\n svg circle,\n svg rect,\n svg line {\n ".concat(!props.disableHoverColor ? "fill: currentColor;" : '', "\n }\n "), props => !props.disableHoverColor && !props.colorActive && props.hoverColor && "\n ".concat(StatusTagContainer, ":hover & {\n color: ").concat(props.hoverColor, ";\n }\n "));
21
+ })(["display:flex;align-items:center;justify-content:center;flex-shrink:0;width:12px;height:12px;color:", ";transition:color 0.2s ease;svg{width:100%;height:100%;display:block;}svg path,svg circle,svg rect,svg line{", "}", ""], props => props.colorActive && props.hoverColor ? props.hoverColor : props.iconColor || _colors.default.grey2, props => props.useStroke ? "\n stroke: currentColor;\n fill: none;\n " : "\n fill: currentColor;\n ", props => !props.disableHoverColor && !props.colorActive && props.hoverColor && "\n ".concat(StatusTagContainer, ":hover & {\n color: ").concat(props.hoverColor, ";\n }\n "));
22
22
  const StatusText = exports.StatusText = _styledComponents.default.span.withConfig({
23
23
  displayName: "StatusTagstyles__StatusText",
24
24
  componentId: "sc-24azs1-3"
25
- })(["font-size:12px;font-weight:600;line-height:18px;color:", ";letter-spacing:0.6px;transition:color 0.2s ease;", ""], props => props.colorActive && props.hoverColor ? props.hoverColor : _colors.default.black, props => !props.disableHoverColor && !props.colorActive && props.hoverColor && "\n ".concat(StatusTagContainer, ":hover & {\n color: ").concat(props.hoverColor, ";\n }\n "));
26
-
27
- // Paid icon wrapper (check + green circle)
28
- const PaidIconWrapper = exports.PaidIconWrapper = _styledComponents.default.div.withConfig({
29
- displayName: "StatusTagstyles__PaidIconWrapper",
30
- componentId: "sc-24azs1-4"
31
- })(["width:12px;height:12px;border-radius:50%;background-color:", ";display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background-color 0.2s ease;svg{width:8px;height:8px;}svg path{stroke:", ";}", ""], props => props.colorActive && props.hoverColor ? props.hoverColor : props.iconColor || _colors.default.grey2, _colors.default.white, props => !props.disableHoverColor && !props.colorActive && props.hoverColor && "\n ".concat(StatusTagContainer, ":hover & {\n background-color: ").concat(props.hoverColor, ";\n }\n "));
32
-
33
- // Declined icon wrapper (cross + red circle)
34
- const DeclinedIconWrapper = exports.DeclinedIconWrapper = _styledComponents.default.div.withConfig({
35
- displayName: "StatusTagstyles__DeclinedIconWrapper",
36
- componentId: "sc-24azs1-5"
37
- })(["width:12px;height:12px;border-radius:50%;background-color:", ";display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background-color 0.2s ease;svg{width:6px;height:6px;}svg path{stroke:", ";}", ""], props => props.colorActive && props.hoverColor ? props.hoverColor : props.iconColor || _colors.default.grey2, _colors.default.white, props => !props.disableHoverColor && !props.colorActive && props.hoverColor && "\n ".concat(StatusTagContainer, ":hover & {\n background-color: ").concat(props.hoverColor, ";\n }\n "));
25
+ })(["font-size:12px;font-weight:600;line-height:18px;color:", ";letter-spacing:0.6px;transition:color 0.2s ease;", ""], props => props.colorActive && props.hoverColor ? props.hoverColor : _colors.default.black, props => !props.disableHoverColor && !props.colorActive && props.hoverColor && "\n ".concat(StatusTagContainer, ":hover & {\n color: ").concat(props.hoverColor, ";\n }\n "));
package/dist/index.js CHANGED
@@ -443,6 +443,28 @@ Object.keys(_InputWithButton).forEach(function (key) {
443
443
  }
444
444
  });
445
445
  });
446
+ var _Textarea = require("./components/Input/Textarea");
447
+ Object.keys(_Textarea).forEach(function (key) {
448
+ if (key === "default" || key === "__esModule") return;
449
+ if (key in exports && exports[key] === _Textarea[key]) return;
450
+ Object.defineProperty(exports, key, {
451
+ enumerable: true,
452
+ get: function () {
453
+ return _Textarea[key];
454
+ }
455
+ });
456
+ });
457
+ var _TableFilterDropdown = require("./components/Input/TableFilterDropdown");
458
+ Object.keys(_TableFilterDropdown).forEach(function (key) {
459
+ if (key === "default" || key === "__esModule") return;
460
+ if (key in exports && exports[key] === _TableFilterDropdown[key]) return;
461
+ Object.defineProperty(exports, key, {
462
+ enumerable: true,
463
+ get: function () {
464
+ return _TableFilterDropdown[key];
465
+ }
466
+ });
467
+ });
446
468
  var _InvestCalculator = require("./components/InvestCalculator/InvestCalculator");
447
469
  Object.keys(_InvestCalculator).forEach(function (key) {
448
470
  if (key === "default" || key === "__esModule") return;
@@ -0,0 +1,4 @@
1
+ <svg width="800" height="800" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.8086 9.70558C18.1983 9.31421 18.1969 8.68105 17.8056 8.29137C17.4142 7.90169 16.781 7.90305 16.3913 8.29442L10.6215 14.0892L7.30211 10.816C6.90886 10.4283 6.27571 10.4327 5.88793 10.8259C5.50015 11.2192 5.50459 11.8524 5.89784 12.2401L9.92581 16.212C10.3177 16.5985 10.9482 16.5956 11.3366 16.2056L17.8086 9.70558Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z" fill="currentColor"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="800" height="800" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 9L11.9999 11.9999M11.9999 11.9999L14.9999 14.9999M11.9999 11.9999L9 14.9999M11.9999 11.9999L14.9999 9M12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M6 1C4.34314 1 3 2.34315 3 4V20C3 21.6569 4.34315 23 6 23H19C20.6569 23 22 21.6569 22 20V10C22 9.73478 21.8946 9.48043 21.7071 9.29289L13.7071 1.29292C13.6114 1.19722 13.4983 1.1229 13.3753 1.07308C13.2572 1.02527 13.1299 1 13 1H6ZM12 3H6C5.44771 3 5 3.44771 5 4V20C5 20.5523 5.44772 21 6 21H19C19.5523 21 20 20.5523 20 20V11H13C12.4477 11 12 10.5523 12 10V3ZM18.5858 9.00003L14 4.41424V9.00003H18.5858Z" fill="#000000"/>
4
+ </svg>
@@ -53,6 +53,7 @@ const colors = exports.colors = {
53
53
  midRed: '#e3210d',
54
54
  warningYellow: '#facc33',
55
55
  darkRed: '#D2200D',
56
- warningOrange: '#EB8003'
56
+ warningOrange: '#EB8003',
57
+ futureBlack: '#021128'
57
58
  };
58
59
  var _default = exports.default = colors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "2.3.65-beta.12",
3
+ "version": "2.3.65-beta.13",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",