@stokr/components-library 2.3.65-beta.11 → 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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.MultiSelect = void 0;
6
+ exports.default = exports.OptionLabel = exports.MultiSelect = exports.CheckboxWrapperDiv = exports.CheckboxDiv = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _reactSelect = _interopRequireWildcard(require("react-select"));
@@ -28,15 +28,17 @@ const CountBadge = _styledComponents.default.span.withConfig({
28
28
  displayName: "MultiSelect__CountBadge",
29
29
  componentId: "sc-1udb3q8-0"
30
30
  })(["display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 6px;background-color:", ";color:", ";border-radius:10px;font-size:12px;font-weight:600;margin-left:8px;"], _colors.default.black, _colors.default.white);
31
- const CheckboxWrapper = _styledComponents.default.div.withConfig({
32
- displayName: "MultiSelect__CheckboxWrapper",
31
+
32
+ // Exported for reuse in TableFilterDropdown
33
+ const CheckboxWrapperDiv = exports.CheckboxWrapperDiv = _styledComponents.default.div.withConfig({
34
+ displayName: "MultiSelect__CheckboxWrapperDiv",
33
35
  componentId: "sc-1udb3q8-1"
34
36
  })(["display:flex;align-items:center;padding:16px 12px;cursor:pointer;transition:background-color 0.15s ease;&:hover{background-color:", ";}"], _colors.default.grey);
35
- const Checkbox = _styledComponents.default.div.withConfig({
36
- displayName: "MultiSelect__Checkbox",
37
+ const CheckboxDiv = exports.CheckboxDiv = _styledComponents.default.div.withConfig({
38
+ displayName: "MultiSelect__CheckboxDiv",
37
39
  componentId: "sc-1udb3q8-2"
38
40
  })(["width:14px;height:14px;border:1px solid ", ";border-radius:3px;margin-right:12px;display:flex;align-items:center;justify-content:center;background-color:", ";transition:all 0.15s ease;flex-shrink:0;svg{opacity:", ";transition:opacity 0.15s ease;width:8px;height:8px;}svg path{stroke:", ";}"], props => props.isSelected ? _colors.default.black : _colors.default.grey2, props => props.isSelected ? _colors.default.white : _colors.default.white, props => props.isSelected ? 1 : 0, _colors.default.blue);
39
- const OptionLabel = _styledComponents.default.span.withConfig({
41
+ const OptionLabel = exports.OptionLabel = _styledComponents.default.span.withConfig({
40
42
  displayName: "MultiSelect__OptionLabel",
41
43
  componentId: "sc-1udb3q8-3"
42
44
  })(["font-size:14px;color:", ";font-weight:400;letter-spacing:0.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;"], _colors.default.black);
@@ -53,9 +55,9 @@ const CheckboxOption = props => {
53
55
  innerRef,
54
56
  innerProps
55
57
  } = props;
56
- return /*#__PURE__*/_react.default.createElement(CheckboxWrapper, _extends({
58
+ return /*#__PURE__*/_react.default.createElement(CheckboxWrapperDiv, _extends({
57
59
  ref: innerRef
58
- }, innerProps), /*#__PURE__*/_react.default.createElement(Checkbox, {
60
+ }, innerProps), /*#__PURE__*/_react.default.createElement(CheckboxDiv, {
59
61
  isSelected: isSelected
60
62
  }, /*#__PURE__*/_react.default.createElement(_checkIcon.ReactComponent, null)), /*#__PURE__*/_react.default.createElement(OptionLabel, null, label));
61
63
  };
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.TableFilterDropdown = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactDom = require("react-dom");
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
11
+ var _colors = _interopRequireDefault(require("../../styles/colors"));
12
+ var _checkIcon = require("../../static/images/check-icon.svg");
13
+ var _filterIcon = require("../../static/images/filter-icon.svg");
14
+ var _MultiSelect = require("./MultiSelect");
15
+ const _excluded = ["label", "options", "value", "onChange", "icon", "minWidth", "maxWidth", "menuAlign", "menuTop"];
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
+ 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); }
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); }
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; }
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; }
21
+ // Trigger container - matches table header styling
22
+ const TriggerContainer = _styledComponents.default.div.withConfig({
23
+ displayName: "TableFilterDropdown__TriggerContainer",
24
+ componentId: "sc-z6x0ne-0"
25
+ })(["display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;user-select:none;white-space:nowrap;"]);
26
+ const IconWrapper = _styledComponents.default.div.withConfig({
27
+ displayName: "TableFilterDropdown__IconWrapper",
28
+ componentId: "sc-z6x0ne-1"
29
+ })(["display:flex;align-items:center;justify-content:center;width:16px;height:16px;position:relative;svg{width:14px;height:14px;}svg path,svg line,svg circle,svg rect{stroke:currentColor;}"]);
30
+
31
+ // Active indicator dot
32
+ const ActiveDot = _styledComponents.default.div.withConfig({
33
+ displayName: "TableFilterDropdown__ActiveDot",
34
+ componentId: "sc-z6x0ne-2"
35
+ })(["position:absolute;top:-2px;right:-2px;width:6px;height:6px;background-color:", ";border-radius:50%;"], _colors.default.blue);
36
+
37
+ // Dropdown container
38
+ const DropdownContainer = _styledComponents.default.div.withConfig({
39
+ displayName: "TableFilterDropdown__DropdownContainer",
40
+ componentId: "sc-z6x0ne-3"
41
+ })(["position:relative;display:inline-block;"]);
42
+
43
+ // Dropdown menu - now rendered via portal with fixed positioning
44
+ const DropdownMenu = _styledComponents.default.div.withConfig({
45
+ displayName: "TableFilterDropdown__DropdownMenu",
46
+ componentId: "sc-z6x0ne-4"
47
+ })(["position:fixed;z-index:10000;min-width:150px;max-width:300px;background-color:", ";border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.15);border:1px solid ", ";overflow:hidden;"], _colors.default.white, _colors.default.lightGrey);
48
+ const OptionsList = _styledComponents.default.div.withConfig({
49
+ displayName: "TableFilterDropdown__OptionsList",
50
+ componentId: "sc-z6x0ne-5"
51
+ })(["max-height:300px;overflow-y:auto;"]);
52
+ const TableFilterDropdown = _ref => {
53
+ let {
54
+ label,
55
+ options,
56
+ value = [],
57
+ onChange,
58
+ icon: CustomIcon,
59
+ minWidth,
60
+ maxWidth,
61
+ menuAlign = 'left',
62
+ menuTop = 8
63
+ } = _ref,
64
+ props = _objectWithoutProperties(_ref, _excluded);
65
+ const [isOpen, setIsOpen] = (0, _react.useState)(false);
66
+ const [menuPosition, setMenuPosition] = (0, _react.useState)({
67
+ top: 0,
68
+ left: 0
69
+ });
70
+ const containerRef = (0, _react.useRef)(null);
71
+ const triggerRef = (0, _react.useRef)(null);
72
+ const menuRef = (0, _react.useRef)(null);
73
+ const hasActiveFilters = value.length > 0;
74
+
75
+ // Calculate menu position based on trigger element
76
+ const updateMenuPosition = (0, _react.useCallback)(() => {
77
+ if (!triggerRef.current) return;
78
+ const triggerRect = triggerRef.current.getBoundingClientRect();
79
+ const menuWidth = minWidth || 150;
80
+ let left = triggerRect.left;
81
+ if (menuAlign === 'right') {
82
+ left = triggerRect.right - menuWidth;
83
+ }
84
+
85
+ // Ensure menu doesn't go off-screen horizontally
86
+ const viewportWidth = window.innerWidth;
87
+ if (left + menuWidth > viewportWidth - 10) {
88
+ left = viewportWidth - menuWidth - 10;
89
+ }
90
+ if (left < 10) {
91
+ left = 10;
92
+ }
93
+ setMenuPosition({
94
+ top: triggerRect.bottom + menuTop,
95
+ left: left
96
+ });
97
+ }, [menuAlign, menuTop, minWidth]);
98
+
99
+ // Update position when menu opens and on scroll/resize
100
+ (0, _react.useEffect)(() => {
101
+ if (isOpen) {
102
+ updateMenuPosition();
103
+ const handleScrollOrResize = () => {
104
+ updateMenuPosition();
105
+ };
106
+ window.addEventListener('scroll', handleScrollOrResize, true);
107
+ window.addEventListener('resize', handleScrollOrResize);
108
+ return () => {
109
+ window.removeEventListener('scroll', handleScrollOrResize, true);
110
+ window.removeEventListener('resize', handleScrollOrResize);
111
+ };
112
+ }
113
+ }, [isOpen, updateMenuPosition]);
114
+
115
+ // Close dropdown when clicking outside or pressing Escape
116
+ (0, _react.useEffect)(() => {
117
+ if (!isOpen) return;
118
+ const handleClickOutside = event => {
119
+ const clickedOutsideContainer = containerRef.current && !containerRef.current.contains(event.target);
120
+ const clickedOutsideMenu = menuRef.current && !menuRef.current.contains(event.target);
121
+ if (clickedOutsideContainer && clickedOutsideMenu) {
122
+ setIsOpen(false);
123
+ }
124
+ };
125
+ const handleEscape = event => {
126
+ if (event.key === 'Escape') {
127
+ setIsOpen(false);
128
+ }
129
+ };
130
+ document.addEventListener('mousedown', handleClickOutside);
131
+ document.addEventListener('keydown', handleEscape);
132
+ return () => {
133
+ document.removeEventListener('mousedown', handleClickOutside);
134
+ document.removeEventListener('keydown', handleEscape);
135
+ };
136
+ }, [isOpen]);
137
+ const handleTriggerClick = (0, _react.useCallback)(e => {
138
+ e.stopPropagation();
139
+ setIsOpen(prev => !prev);
140
+ }, []);
141
+ const handleOptionClick = (0, _react.useCallback)((optionValue, e) => {
142
+ e.stopPropagation();
143
+ const newValue = value.includes(optionValue) ? value.filter(v => v !== optionValue) : [...value, optionValue];
144
+ onChange === null || onChange === void 0 || onChange(newValue);
145
+ }, [value, onChange]);
146
+ const IconComponent = CustomIcon || _filterIcon.ReactComponent;
147
+
148
+ // Render menu in portal
149
+ const renderMenu = () => {
150
+ if (!isOpen) return null;
151
+ const menu = /*#__PURE__*/_react.default.createElement(DropdownMenu, {
152
+ ref: menuRef,
153
+ style: {
154
+ top: menuPosition.top,
155
+ left: menuPosition.left,
156
+ minWidth: minWidth || 150,
157
+ maxWidth: maxWidth || 300
158
+ }
159
+ }, /*#__PURE__*/_react.default.createElement(OptionsList, null, options.map(option => {
160
+ const isSelected = value.includes(option.value);
161
+ return /*#__PURE__*/_react.default.createElement(_MultiSelect.CheckboxWrapperDiv, {
162
+ key: option.value,
163
+ onClick: e => handleOptionClick(option.value, e)
164
+ }, /*#__PURE__*/_react.default.createElement(_MultiSelect.CheckboxDiv, {
165
+ isSelected: isSelected
166
+ }, /*#__PURE__*/_react.default.createElement(_checkIcon.ReactComponent, null)), /*#__PURE__*/_react.default.createElement(_MultiSelect.OptionLabel, null, option.label));
167
+ })));
168
+ return /*#__PURE__*/(0, _reactDom.createPortal)(menu, document.body);
169
+ };
170
+ return /*#__PURE__*/_react.default.createElement(DropdownContainer, _extends({
171
+ ref: containerRef
172
+ }, props), /*#__PURE__*/_react.default.createElement(TriggerContainer, {
173
+ ref: triggerRef,
174
+ onClick: handleTriggerClick,
175
+ "data-clickable": "true"
176
+ }, label && /*#__PURE__*/_react.default.createElement("span", null, label), /*#__PURE__*/_react.default.createElement(IconWrapper, null, /*#__PURE__*/_react.default.createElement(IconComponent, null), hasActiveFilters && /*#__PURE__*/_react.default.createElement(ActiveDot, null))), renderMenu());
177
+ };
178
+ exports.TableFilterDropdown = TableFilterDropdown;
179
+ TableFilterDropdown.propTypes = {
180
+ /** Label text displayed next to the filter icon */
181
+ label: _propTypes.default.string,
182
+ /** Array of options to display */
183
+ options: _propTypes.default.arrayOf(_propTypes.default.shape({
184
+ value: _propTypes.default.string.isRequired,
185
+ label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node]).isRequired
186
+ })).isRequired,
187
+ /** Array of selected values */
188
+ value: _propTypes.default.arrayOf(_propTypes.default.string),
189
+ /** Callback when selection changes: (newValues) => void */
190
+ onChange: _propTypes.default.func,
191
+ /** Custom icon component (defaults to FilterIcon) */
192
+ icon: _propTypes.default.elementType,
193
+ /** Minimum width of the dropdown menu */
194
+ minWidth: _propTypes.default.number,
195
+ /** Maximum width of the dropdown menu */
196
+ maxWidth: _propTypes.default.number,
197
+ /** Alignment of the dropdown menu */
198
+ menuAlign: _propTypes.default.oneOf(['left', 'right']),
199
+ /** Top offset for the dropdown menu in pixels (default: 8) */
200
+ menuTop: _propTypes.default.number
201
+ };
202
+ TableFilterDropdown.defaultProps = {
203
+ value: [],
204
+ onChange: () => {},
205
+ minWidth: 150,
206
+ maxWidth: 300,
207
+ menuAlign: 'left',
208
+ menuTop: 8
209
+ };
210
+ var _default = exports.default = TableFilterDropdown;
@@ -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"
@@ -123,7 +123,8 @@ const PaymentDetailsCard = _ref2 => {
123
123
  amountSection,
124
124
  details,
125
125
  infoSection,
126
- showSeparators = true
126
+ showSeparators = true,
127
+ containerStyle
127
128
  } = _ref2;
128
129
  // Render amount section
129
130
  const renderAmountSection = () => {
@@ -183,7 +184,9 @@ const PaymentDetailsCard = _ref2 => {
183
184
  if (!infoSection) return null;
184
185
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showSeparators && /*#__PURE__*/_react.default.createElement(Separator, null), /*#__PURE__*/_react.default.createElement(InfoSectionContainer, null, infoSection));
185
186
  };
186
- return /*#__PURE__*/_react.default.createElement(CardContainer, null, title && /*#__PURE__*/_react.default.createElement(CardTitle, null, title), renderAmountSection(), renderDetailsSection(), renderInfoSection());
187
+ return /*#__PURE__*/_react.default.createElement(CardContainer, {
188
+ style: containerStyle
189
+ }, title && /*#__PURE__*/_react.default.createElement(CardTitle, null, title), renderAmountSection(), renderDetailsSection(), renderInfoSection());
187
190
  };
188
191
  exports.PaymentDetailsCard = PaymentDetailsCard;
189
192
  var _default = exports.default = PaymentDetailsCard;
@@ -123,10 +123,13 @@ const SnackbarItem = _ref => {
123
123
  }
124
124
  };
125
125
  const displayIcon = icon !== undefined ? icon : defaultIcons[variant];
126
+ const isPermanent = duration === 'permanent' || duration === 0;
126
127
  return /*#__PURE__*/_react.default.createElement(_Snackbar.SnackbarWrapper, {
127
128
  $variant: variant,
128
129
  $isExiting: isExiting,
129
130
  $hasClick: !!onClick,
131
+ $duration: duration,
132
+ $isPermanent: isPermanent,
130
133
  onClick: onClick ? handleClick : undefined
131
134
  }, displayIcon && /*#__PURE__*/_react.default.createElement(_Snackbar.IconWrapper, {
132
135
  $variant: variant
@@ -14,6 +14,9 @@ const slideInLeft = (0, _styledComponents.keyframes)(["from{opacity:0;transform:
14
14
  const slideInUp = (0, _styledComponents.keyframes)(["from{opacity:0;transform:translateY(100%);}to{opacity:1;transform:translateY(0);}"]);
15
15
  const slideInDown = (0, _styledComponents.keyframes)(["from{opacity:0;transform:translateY(-100%);}to{opacity:1;transform:translateY(0);}"]);
16
16
 
17
+ // Progress bar animation - shrinks from 100% to 0%
18
+ const progressExpire = (0, _styledComponents.keyframes)(["from{width:100%;}to{width:0%;}"]);
19
+
17
20
  // Variant configurations
18
21
  const variantStyles = exports.variantStyles = {
19
22
  info: {
@@ -60,31 +63,37 @@ const SnackbarContainer = exports.SnackbarContainer = _styledComponents.default.
60
63
  const SnackbarWrapper = exports.SnackbarWrapper = _styledComponents.default.div.withConfig({
61
64
  displayName: "Snackbarstyles__SnackbarWrapper",
62
65
  componentId: "sc-xf2wxi-1"
63
- })(["display:flex;align-items:center;gap:12px;min-width:320px;max-width:480px;padding:12px 16px;background-color:", ";box-shadow:0 1px 2px -1px rgba(0,0,0,0.12);border-radius:6px;border:1px solid ", ";border-bottom:3px solid ", ";pointer-events:auto;animation:", " 0.3s ease-out forwards;", ""], _colors.default.white, _colors.default.grey, _ref3 => {
64
- var _variantStyles$$varia;
66
+ })(["position:relative;display:flex;align-items:center;gap:12px;min-width:320px;max-width:480px;padding:12px 16px;background-color:", ";box-shadow:0 1px 2px -1px rgba(0,0,0,0.12);border-radius:6px;border:1px solid ", ";pointer-events:auto;overflow:hidden;animation:", " 0.3s ease-out forwards;&::after{content:'';position:absolute;bottom:0;left:0;height:3px;background-color:", ";border-radius:0 0 0 6px;", "}", ""], _colors.default.white, _colors.default.grey, _ref3 => {
65
67
  let {
66
- $variant
68
+ $isExiting
67
69
  } = _ref3;
68
- return ((_variantStyles$$varia = variantStyles[$variant]) === null || _variantStyles$$varia === void 0 ? void 0 : _variantStyles$$varia.borderColor) || _colors.default.blue;
70
+ return $isExiting ? slideOut : 'none';
69
71
  }, _ref4 => {
72
+ var _variantStyles$$varia;
70
73
  let {
71
- $isExiting
74
+ $variant
72
75
  } = _ref4;
73
- return $isExiting ? slideOut : 'none';
76
+ return ((_variantStyles$$varia = variantStyles[$variant]) === null || _variantStyles$$varia === void 0 ? void 0 : _variantStyles$$varia.borderColor) || _colors.default.blue;
74
77
  }, _ref5 => {
75
78
  let {
76
- $hasClick
79
+ $duration,
80
+ $isPermanent
77
81
  } = _ref5;
82
+ return $isPermanent ? (0, _styledComponents.css)(["width:100%;"]) : (0, _styledComponents.css)(["animation:", " ", "ms linear forwards;"], progressExpire, $duration);
83
+ }, _ref6 => {
84
+ let {
85
+ $hasClick
86
+ } = _ref6;
78
87
  return $hasClick && (0, _styledComponents.css)(["cursor:pointer;&:hover{box-shadow:0 4px 24px rgba(0,0,0,0.16);}"]);
79
88
  });
80
89
  const IconWrapper = exports.IconWrapper = _styledComponents.default.div.withConfig({
81
90
  displayName: "Snackbarstyles__IconWrapper",
82
91
  componentId: "sc-xf2wxi-2"
83
- })(["flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:", ";svg{width:100%;height:100%;}"], _ref6 => {
92
+ })(["flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:", ";svg{width:100%;height:100%;}"], _ref7 => {
84
93
  var _variantStyles$$varia2;
85
94
  let {
86
95
  $variant
87
- } = _ref6;
96
+ } = _ref7;
88
97
  return ((_variantStyles$$varia2 = variantStyles[$variant]) === null || _variantStyles$$varia2 === void 0 ? void 0 : _variantStyles$$varia2.iconColor) || _colors.default.blue;
89
98
  });
90
99
  const Message = exports.Message = _styledComponents.default.div.withConfig({
@@ -7,65 +7,39 @@ 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
- const _excluded = ["variant", "icon", "text", "tooltip", "tooltipProps", "iconColor", "hoverColor", "disableHoverColor", "minWidth", "className", "containerStyle", "iconStyle", "textStyle", "onClick", "center"];
16
+ const _excluded = ["variant", "icon", "text", "tooltip", "tooltipProps", "iconColor", "hoverColor", "disableHoverColor", "colorActive", "minWidth", "className", "containerStyle", "iconStyle", "textStyle", "onClick", "center"];
18
17
  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
- } = _ref;
28
- return /*#__PURE__*/_react.default.createElement(_StatusTag.PaidIconWrapper, {
29
- iconColor: iconColor,
30
- hoverColor: hoverColor,
31
- disableHoverColor: disableHoverColor
32
- }, /*#__PURE__*/_react.default.createElement(_checkIcon.ReactComponent, null));
33
- };
34
- const DeclinedIcon = _ref2 => {
35
- let {
36
- iconColor,
37
- hoverColor,
38
- disableHoverColor
39
- } = _ref2;
40
- return /*#__PURE__*/_react.default.createElement(_StatusTag.DeclinedIconWrapper, {
41
- iconColor: iconColor,
42
- hoverColor: hoverColor,
43
- disableHoverColor: disableHoverColor
44
- }, /*#__PURE__*/_react.default.createElement(_crossIcon.ReactComponent, null));
45
- };
46
-
47
21
  // Variant configuration - maps variant to icon and colors only
48
22
  const variantConfig = {
49
23
  pending: {
50
- icon: /*#__PURE__*/_react.default.createElement(_Icon.Icon, {
51
- icon: _Icon.iconsMap.inProgress,
52
- size: 12
24
+ icon: /*#__PURE__*/_react.default.createElement(_docIcon.ReactComponent, {
25
+ width: 12,
26
+ height: 12
53
27
  }),
54
- iconColor: _colors.default.grey2,
55
- hoverColor: _colors.default.warningOrange,
56
- disableHoverColor: false
28
+ iconColor: '#021128',
29
+ hoverColor: '#021128',
30
+ disableHoverColor: true
57
31
  },
58
32
  initiated: {
59
- icon: /*#__PURE__*/_react.default.createElement(_sentIcon.ReactComponent, {
60
- width: 12,
61
- height: 12
33
+ icon: /*#__PURE__*/_react.default.createElement(_Icon.Icon, {
34
+ icon: _Icon.iconsMap.inProgress,
35
+ size: 11
62
36
  }),
63
- iconColor: _colors.default.grey2,
64
- hoverColor: _colors.default.blue,
37
+ iconColor: '#032F78',
38
+ hoverColor: '#032F78',
65
39
  disableHoverColor: false
66
40
  },
67
41
  confirmed: {
68
- icon: /*#__PURE__*/_react.default.createElement(_documentIcon.ReactComponent, {
42
+ icon: /*#__PURE__*/_react.default.createElement(_checkmarkCircleIcon.ReactComponent, {
69
43
  width: 12,
70
44
  height: 12
71
45
  }),
@@ -74,33 +48,26 @@ const variantConfig = {
74
48
  disableHoverColor: false
75
49
  },
76
50
  declined: {
77
- icon: (iconColor, hoverColor, disableHoverColor) => /*#__PURE__*/_react.default.createElement(DeclinedIcon, {
78
- iconColor: iconColor,
79
- hoverColor: hoverColor,
80
- disableHoverColor: disableHoverColor
51
+ icon: /*#__PURE__*/_react.default.createElement(_closeCircleIcon.ReactComponent, {
52
+ width: 12,
53
+ height: 12
81
54
  }),
82
- iconColor: _colors.default.grey2,
55
+ iconColor: _colors.default.darkRed,
83
56
  hoverColor: _colors.default.darkRed,
84
- disableHoverColor: false
57
+ disableHoverColor: false,
58
+ useStroke: true
85
59
  },
86
60
  paid: {
87
- // icon: (iconColor, hoverColor, disableHoverColor) => (
88
- // <PaidIcon
89
- // iconColor={iconColor}
90
- // hoverColor={hoverColor}
91
- // disableHoverColor={disableHoverColor}
92
- // />
93
- // ),
94
61
  icon: /*#__PURE__*/_react.default.createElement(_transferIcon.ReactComponent, {
95
62
  width: 14,
96
63
  height: 14
97
64
  }),
98
- iconColor: _colors.default.grey2,
99
- hoverColor: _colors.default.freshGreen,
65
+ iconColor: '#3D9626',
66
+ hoverColor: '#3D9626',
100
67
  disableHoverColor: false
101
68
  }
102
69
  };
103
- const StatusTag = _ref3 => {
70
+ const StatusTag = _ref => {
104
71
  var _variantData$disableH;
105
72
  let {
106
73
  variant,
@@ -111,6 +78,7 @@ const StatusTag = _ref3 => {
111
78
  iconColor,
112
79
  hoverColor,
113
80
  disableHoverColor,
81
+ colorActive,
114
82
  minWidth,
115
83
  className,
116
84
  containerStyle,
@@ -118,8 +86,8 @@ const StatusTag = _ref3 => {
118
86
  textStyle,
119
87
  onClick,
120
88
  center
121
- } = _ref3,
122
- props = _objectWithoutProperties(_ref3, _excluded);
89
+ } = _ref,
90
+ props = _objectWithoutProperties(_ref, _excluded);
123
91
  // If variant is provided, use its configuration (but allow overrides)
124
92
  const variantData = variant ? variantConfig[variant] : null;
125
93
 
@@ -128,18 +96,12 @@ const StatusTag = _ref3 => {
128
96
  const finalHoverColor = hoverColor !== undefined ? hoverColor : variantData === null || variantData === void 0 ? void 0 : variantData.hoverColor;
129
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;
130
98
 
131
- // Determine which icon to use - handle function icons (for paid/declined)
99
+ // Determine which icon to use
132
100
  let finalIcon = null;
133
101
  if (icon) {
134
102
  finalIcon = icon;
135
103
  } else if (variantData !== null && variantData !== void 0 && variantData.icon) {
136
- if (typeof variantData.icon === 'function') {
137
- // Icon is a function (paid/declined) - pass color props
138
- finalIcon = variantData.icon(finalIconColor, finalHoverColor, finalDisableHoverColor);
139
- } else {
140
- // Icon is a React element (pending/initiated/confirmed)
141
- finalIcon = variantData.icon;
142
- }
104
+ finalIcon = variantData.icon;
143
105
  }
144
106
  const content = /*#__PURE__*/_react.default.createElement(_StatusTag.StatusTagContainer, _extends({
145
107
  className: className,
@@ -153,10 +115,14 @@ const StatusTag = _ref3 => {
153
115
  iconColor: finalIconColor,
154
116
  hoverColor: finalHoverColor,
155
117
  disableHoverColor: finalDisableHoverColor,
156
- style: iconStyle,
157
- isCustomIcon: typeof (variantData === null || variantData === void 0 ? void 0 : variantData.icon) === 'function'
118
+ colorActive: colorActive,
119
+ useStroke: variantData === null || variantData === void 0 ? void 0 : variantData.useStroke,
120
+ style: iconStyle
158
121
  }, finalIcon), text && /*#__PURE__*/_react.default.createElement(_StatusTag.StatusText, {
159
- style: textStyle
122
+ style: textStyle,
123
+ hoverColor: finalHoverColor,
124
+ disableHoverColor: finalDisableHoverColor,
125
+ colorActive: colorActive
160
126
  }, text)));
161
127
 
162
128
  // Wrap with InfoIcon tooltip if tooltip is provided
@@ -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.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.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;"], _colors.default.black);
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.iconColor || _colors.default.grey2, _colors.default.white, props => !props.disableHoverColor && 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.iconColor || _colors.default.grey2, _colors.default.white, props => !props.disableHoverColor && 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 "));
@@ -48,7 +48,7 @@ const ConnectingLine = exports.ConnectingLine = _styledComponents.default.div.wi
48
48
  const StepContent = exports.StepContent = _styledComponents.default.div.withConfig({
49
49
  displayName: "Timelinestyles__StepContent",
50
50
  componentId: "sc-1anwsc5-5"
51
- })(["flex:1;padding-bottom:", ";display:flex;flex-direction:column;gap:4px;"], props => props.hasCaption ? '8px' : '0');
51
+ })(["flex:1;padding-bottom:8px;display:flex;flex-direction:column;gap:4px;"]);
52
52
  const StepHeader = exports.StepHeader = _styledComponents.default.div.withConfig({
53
53
  displayName: "Timelinestyles__StepHeader",
54
54
  componentId: "sc-1anwsc5-6"
@@ -70,7 +70,6 @@ const TimelineStep = _ref => {
70
70
  state: state,
71
71
  nextState: nextState
72
72
  })), /*#__PURE__*/_react.default.createElement(_Timeline.StepContent, {
73
- hasCaption: !!caption,
74
73
  style: contentStyle
75
74
  }, formattedDate && /*#__PURE__*/_react.default.createElement(_Timeline.StepDate, null, formattedDate), /*#__PURE__*/_react.default.createElement(_Timeline.StepHeader, null, /*#__PURE__*/_react.default.createElement(_Timeline.StepTitle, {
76
75
  state: state,
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>
@@ -0,0 +1,6 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.75 3.5H12.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
3
+ <path d="M3.5 7H10.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
4
+ <path d="M5.25 10.5H8.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
5
+ </svg>
6
+
@@ -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.11",
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",