@festo-ui/react 8.1.0 → 8.2.0-dev.576

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/lib/components/card/CardNotification.d.ts +2 -2
  2. package/lib/components/card/CardNotification.js +3 -3
  3. package/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.d.ts +2 -2
  4. package/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js +7 -7
  5. package/lib/forms/color-picker/ColorPicker.d.ts +2 -2
  6. package/lib/forms/color-picker/ColorPicker.js +38 -38
  7. package/lib/forms/date-picker/DatePicker.d.ts +2 -2
  8. package/lib/forms/date-picker/DatePicker.js +14 -13
  9. package/lib/forms/date-range-picker/DateRangePicker.d.ts +2 -2
  10. package/lib/forms/date-range-picker/DateRangePicker.js +17 -16
  11. package/lib/forms/select/internal/SelectButtonContent.js +2 -1
  12. package/lib/forms/time-picker/TimePicker.d.ts +4 -3
  13. package/lib/forms/time-picker/TimePicker.js +19 -18
  14. package/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.d.ts +4 -3
  15. package/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.js +12 -13
  16. package/node/lib/components/card/CardNotification.js +3 -3
  17. package/node/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js +6 -6
  18. package/node/lib/forms/color-picker/ColorPicker.js +40 -43
  19. package/node/lib/forms/date-picker/DatePicker.js +11 -10
  20. package/node/lib/forms/date-range-picker/DateRangePicker.js +13 -12
  21. package/node/lib/forms/select/internal/SelectButtonContent.js +2 -3
  22. package/node/lib/forms/time-picker/TimePicker.js +16 -17
  23. package/node/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.js +17 -20
  24. package/package.json +2 -1
  25. package/lib/components/icons/check-small.d.ts +0 -7
  26. package/lib/components/icons/check-small.js +0 -71
  27. package/lib/components/icons/close-small.d.ts +0 -7
  28. package/lib/components/icons/close-small.js +0 -69
  29. package/lib/components/icons/collapse.d.ts +0 -7
  30. package/lib/components/icons/collapse.js +0 -70
  31. package/lib/components/icons/expand.d.ts +0 -7
  32. package/lib/components/icons/expand.js +0 -70
  33. package/lib/components/icons/right-2.d.ts +0 -7
  34. package/lib/components/icons/right-2.js +0 -67
  35. package/lib/components/icons/warning.d.ts +0 -7
  36. package/lib/components/icons/warning.js +0 -70
  37. package/node/lib/components/icons/check-small.js +0 -77
  38. package/node/lib/components/icons/close-small.js +0 -75
  39. package/node/lib/components/icons/collapse.js +0 -76
  40. package/node/lib/components/icons/expand.js +0 -76
  41. package/node/lib/components/icons/right-2.js +0 -73
  42. package/node/lib/components/icons/warning.js +0 -76
@@ -5,16 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _classnames = _interopRequireDefault(require("classnames"));
8
- var _react = _interopRequireWildcard(require("react"));
8
+ var _react = require("react");
9
+ var _reactIcons = require("@festo-ui/react-icons");
9
10
  var _useForkRef = _interopRequireDefault(require("../../../helper/useForkRef.js"));
10
11
  var _LinkButton = _interopRequireDefault(require("../../../components/link-button/LinkButton.js"));
11
12
  var _TimePickerInput = _interopRequireDefault(require("./TimePickerInput.js"));
12
13
  var _useOnClickOutside = _interopRequireDefault(require("../../../helper/useOnClickOutside.js"));
13
- var _collapse = _interopRequireDefault(require("../../../components/icons/collapse.js"));
14
- var _expand = _interopRequireDefault(require("../../../components/icons/expand.js"));
15
14
  var _jsxRuntime = require("react/jsx-runtime");
16
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
19
16
  const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
20
17
  let {
@@ -37,7 +34,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
37
34
  const [innerDate, setInnerDate] = (0, _react.useState)(date);
38
35
  (0, _useOnClickOutside.default)(labelRef, () => onClose(innerDate), innerRef);
39
36
  const min = 0;
40
- const hourMax = timeFormat === '12' ? 12 : 23;
37
+ const hourMax = timeFormat === "12" ? 12 : 23;
41
38
  const minutesSecondsMax = 59;
42
39
  let innerMinuteStepSize = 1;
43
40
  if (minuteStepSize) {
@@ -51,8 +48,8 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
51
48
  });
52
49
  }, []);
53
50
  function handleKeyPress(e) {
54
- if (e.key === 'Escape' || e.key === 'Enter') {
55
- onClose(e.key === 'Enter' ? innerDate : undefined);
51
+ if (e.key === "Escape" || e.key === "Enter") {
52
+ onClose(e.key === "Enter" ? innerDate : undefined);
56
53
  }
57
54
  }
58
55
  function limitRange(newDate) {
@@ -114,7 +111,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
114
111
  setInnerDate(newDate);
115
112
  setTmpSeconds(newDate.getSeconds().toString());
116
113
  }
117
- const hours = timeFormat === '12' ? (innerDate.getHours() + 11) % 12 + 1 : innerDate.getHours();
114
+ const hours = timeFormat === "12" ? (innerDate.getHours() + 11) % 12 + 1 : innerDate.getHours();
118
115
  function toggleAmPm() {
119
116
  const newDate = new Date(innerDate);
120
117
  // Get the current hour in 24-hour format
@@ -129,7 +126,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
129
126
  setInnerDate(newDate);
130
127
  onDateChange(newDate);
131
128
  }
132
- const formatNumberWithLeadingZero = number => (number < 10 ? '0' : '') + number;
129
+ const formatNumberWithLeadingZero = number => (number < 10 ? "0" : "") + number;
133
130
  return (
134
131
  /*#__PURE__*/
135
132
  // should not be an issue with dialog
@@ -138,8 +135,8 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
138
135
  role: "dialog",
139
136
  style: style,
140
137
  ref: combinedRef,
141
- className: (0, _classnames.default)('fr-timepicker fwe-timepicker', {
142
- 'fwe-timepicker-am-pm': timeFormat === '12'
138
+ className: (0, _classnames.default)("fr-timepicker fwe-timepicker", {
139
+ "fwe-timepicker-am-pm": timeFormat === "12"
143
140
  }),
144
141
  onKeyDown: e => handleKeyPress(e),
145
142
  tabIndex: -1,
@@ -152,7 +149,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
152
149
  className: "fwe-dark",
153
150
  onClick: () => handleHourIncrement(1),
154
151
  iconOnly: true,
155
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_expand.default, {})
152
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconExpand, {})
156
153
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePickerInput.default, {
157
154
  "aria-label": "hours value",
158
155
  min: min,
@@ -165,7 +162,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
165
162
  className: "fwe-dark",
166
163
  onClick: () => handleHourIncrement(-1),
167
164
  iconOnly: true,
168
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_collapse.default, {})
165
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconCollapse, {})
169
166
  })]
170
167
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
171
168
  className: "fwe-timepicker-spinners-minutes",
@@ -174,7 +171,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
174
171
  className: "fwe-dark",
175
172
  onClick: () => handleMinuteIncrement(innerMinuteStepSize),
176
173
  iconOnly: true,
177
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_expand.default, {})
174
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconExpand, {})
178
175
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePickerInput.default, {
179
176
  "aria-label": "minutes value",
180
177
  min: min,
@@ -186,7 +183,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
186
183
  className: "fwe-dark",
187
184
  onClick: () => handleMinuteIncrement(-innerMinuteStepSize),
188
185
  iconOnly: true,
189
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_collapse.default, {})
186
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconCollapse, {})
190
187
  })]
191
188
  }), showSeconds && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
192
189
  className: "fwe-timepicker-spinners-seconds",
@@ -195,7 +192,7 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
195
192
  className: "fwe-dark",
196
193
  onClick: () => handleSecondIncrement(1),
197
194
  iconOnly: true,
198
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_expand.default, {})
195
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconExpand, {})
199
196
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePickerInput.default, {
200
197
  "aria-label": "seconds value",
201
198
  min: min,
@@ -207,14 +204,14 @@ const TimePickerDropdown = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
207
204
  className: "fwe-dark",
208
205
  onClick: () => handleSecondIncrement(-1),
209
206
  iconOnly: true,
210
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_collapse.default, {})
207
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconCollapse, {})
211
208
  })]
212
209
  })]
213
- }), timeFormat === '12' && /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
210
+ }), timeFormat === "12" && /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
214
211
  onClick: toggleAmPm,
215
212
  type: "button",
216
213
  className: "fwe-btn fwe-ml-m",
217
- children: innerDate.getHours() >= 12 ? 'PM' : 'AM'
214
+ children: innerDate.getHours() >= 12 ? "PM" : "AM"
218
215
  })]
219
216
  })
220
217
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "8.1.0",
3
+ "version": "8.2.0-dev.576",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "copyright": "Copyright (c) 2025 Festo SE & Co. KG. All rights reserved.",
6
6
  "license": "apache-2.0",
@@ -28,6 +28,7 @@
28
28
  "main": "./node/index.js",
29
29
  "types": "./index.d.ts",
30
30
  "dependencies": {
31
+ "@festo-ui/react-icons": "*",
31
32
  "@popperjs/core": "^2.11.0",
32
33
  "classnames": "^2.2.6",
33
34
  "flatpickr": "^4.6.9",
@@ -1,7 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export default function IconCheckSmall({ className, svgProps, festoColor, size, }: {
3
- className?: string;
4
- svgProps?: SVGProps<SVGSVGElement>;
5
- festoColor?: boolean;
6
- size?: 16 | 24 | 32 | 48 | 64 | 96 | 128;
7
- }): ReactElement<any, any> | null;
@@ -1,71 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export default function IconCheckSmall(_ref) {
3
- let {
4
- className,
5
- svgProps,
6
- festoColor,
7
- size = 16
8
- } = _ref;
9
- if (size < 24) {
10
- return /*#__PURE__*/_jsxs("svg", {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- viewBox: "0 0 16 16",
13
- width: size,
14
- height: size,
15
- ...svgProps,
16
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
17
- "aria-label": "check-small",
18
- children: [/*#__PURE__*/_jsx("path", {
19
- fill: "none",
20
- d: "M0 0h16v16H0z",
21
- "data-name": "white background"
22
- }), /*#__PURE__*/_jsx("path", {
23
- fill: festoColor ? '#0091dc' : 'currentColor',
24
- d: "M6.141 12.814 1.934 8.607l1.414-1.414 2.793 2.793 6.793-6.793 1.414 1.414z",
25
- "data-name": "content"
26
- })]
27
- });
28
- }
29
- if (size < 32 || size === 48) {
30
- return /*#__PURE__*/_jsxs("svg", {
31
- xmlns: "http://www.w3.org/2000/svg",
32
- viewBox: "0 0 24 24",
33
- width: size,
34
- height: size,
35
- ...svgProps,
36
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
37
- "aria-label": "check-small",
38
- children: [/*#__PURE__*/_jsx("path", {
39
- fill: "none",
40
- d: "M0 0h24v24H0z",
41
- "data-name": "white background"
42
- }), /*#__PURE__*/_jsx("path", {
43
- fill: festoColor ? '#0091dc' : 'currentColor',
44
- d: "m10.141 16.814-4.207-4.207 1.414-1.414 2.793 2.793 6.793-6.793 1.414 1.414z",
45
- "data-name": "content"
46
- })]
47
- });
48
- }
49
- if (size >= 32) {
50
- return /*#__PURE__*/_jsx("svg", {
51
- xmlns: "http://www.w3.org/2000/svg",
52
- viewBox: "0 0 32 32",
53
- width: size,
54
- height: size,
55
- ...svgProps,
56
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
57
- "aria-label": "check-small",
58
- children: /*#__PURE__*/_jsxs("g", {
59
- "data-name": "content",
60
- children: [/*#__PURE__*/_jsx("path", {
61
- fill: "none",
62
- d: "M0 0h32v32H0z"
63
- }), /*#__PURE__*/_jsx("path", {
64
- fill: festoColor ? '#0091dc' : 'currentColor',
65
- d: "m13.172 22.485-5.657-5.657 1.414-1.414 4.243 4.243 9.899-9.9 1.414 1.415z"
66
- })]
67
- })
68
- });
69
- }
70
- return null;
71
- }
@@ -1,7 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export default function IconCloseSmall({ className, svgProps, festoColor, size, }: {
3
- className?: string;
4
- svgProps?: SVGProps<SVGSVGElement>;
5
- festoColor?: boolean;
6
- size?: 16 | 24 | 32 | 48 | 64 | 96 | 128;
7
- }): ReactElement<any, any> | null;
@@ -1,69 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export default function IconCloseSmall(_ref) {
3
- let {
4
- className,
5
- svgProps,
6
- festoColor,
7
- size = 16
8
- } = _ref;
9
- if (size < 24) {
10
- return /*#__PURE__*/_jsxs("svg", {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- "data-name": "content",
13
- viewBox: "0 0 16 16",
14
- width: size,
15
- height: size,
16
- ...svgProps,
17
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
18
- "aria-label": "close-small",
19
- children: [/*#__PURE__*/_jsx("path", {
20
- fill: "none",
21
- d: "M0 0h16v16H0z",
22
- "data-name": "abb55ae8-ca55-470c-87c3-4b06738b4360"
23
- }), /*#__PURE__*/_jsx("path", {
24
- fill: festoColor ? '#0091dc' : 'currentColor',
25
- d: "M10.24 5.05 8 7.3 5.75 5.05l-.7.71L7.29 8l-2.24 2.25.7.7L8 8.71l2.24 2.24.71-.7L8.7 8l2.25-2.24z",
26
- "data-name": "b64b1ed2-b831-435c-9cee-b9964260209d"
27
- })]
28
- });
29
- }
30
- if (size < 32 || size === 48) {
31
- return /*#__PURE__*/_jsxs("svg", {
32
- xmlns: "http://www.w3.org/2000/svg",
33
- "data-name": "content",
34
- viewBox: "0 0 24 24",
35
- width: size,
36
- height: size,
37
- ...svgProps,
38
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
39
- "aria-label": "close-small",
40
- children: [/*#__PURE__*/_jsx("path", {
41
- fill: "none",
42
- d: "M0 0h24v24H0z"
43
- }), /*#__PURE__*/_jsx("path", {
44
- fill: festoColor ? '#0091dc' : 'currentColor',
45
- d: "M16.95 8.464 15.536 7.05 12 10.586 8.464 7.05 7.05 8.464 10.586 12 7.05 15.536l1.414 1.414L12 13.414l3.536 3.536 1.414-1.414L13.414 12z"
46
- })]
47
- });
48
- }
49
- if (size >= 32) {
50
- return /*#__PURE__*/_jsxs("svg", {
51
- xmlns: "http://www.w3.org/2000/svg",
52
- "data-name": "content",
53
- viewBox: "0 0 32 32",
54
- width: size,
55
- height: size,
56
- ...svgProps,
57
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
58
- "aria-label": "close-small",
59
- children: [/*#__PURE__*/_jsx("path", {
60
- fill: "none",
61
- d: "M0 0h32v32H0z"
62
- }), /*#__PURE__*/_jsx("path", {
63
- fill: festoColor ? '#0091dc' : 'currentColor',
64
- d: "M21.48 9.1 16 14.59 10.51 9.1 9.1 10.52 14.58 16 9.1 21.49l1.41 1.41L16 17.42l5.48 5.48 1.42-1.41L17.41 16l5.49-5.48z"
65
- })]
66
- });
67
- }
68
- return null;
69
- }
@@ -1,7 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export default function IconCollapse({ className, svgProps, festoColor, size, }: {
3
- className?: string;
4
- svgProps?: SVGProps<SVGSVGElement>;
5
- festoColor?: boolean;
6
- size?: 16 | 24 | 32 | 48 | 64 | 96 | 128;
7
- }): ReactElement<any, any> | null;
@@ -1,70 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export default function IconCollapse(_ref) {
3
- let {
4
- className,
5
- svgProps,
6
- festoColor,
7
- size = 16
8
- } = _ref;
9
- if (size < 24) {
10
- return /*#__PURE__*/_jsxs("svg", {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- viewBox: "0 0 16 16",
13
- width: size,
14
- height: size,
15
- ...svgProps,
16
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
17
- "aria-label": "collapse",
18
- children: [/*#__PURE__*/_jsx("path", {
19
- fill: "none",
20
- d: "M0 0h16v16H0z",
21
- "data-name": "white background"
22
- }), /*#__PURE__*/_jsx("path", {
23
- fill: festoColor ? '#0091dc' : 'currentColor',
24
- d: "M8 10.707 3.646 6.354l.708-.708L8 9.293l3.646-3.647.708.708z",
25
- "data-name": "content"
26
- })]
27
- });
28
- }
29
- if (size < 32 || size === 48) {
30
- return /*#__PURE__*/_jsxs("svg", {
31
- xmlns: "http://www.w3.org/2000/svg",
32
- viewBox: "0 0 24 24",
33
- width: size,
34
- height: size,
35
- ...svgProps,
36
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
37
- "aria-label": "collapse",
38
- children: [/*#__PURE__*/_jsx("path", {
39
- fill: "none",
40
- d: "M0 0h24v24H0z",
41
- "data-name": "white background"
42
- }), /*#__PURE__*/_jsx("path", {
43
- fill: festoColor ? '#0091dc' : 'currentColor',
44
- d: "M5.636 9.172 12 15.536l6.364-6.364-.707-.708L12 14.121 6.343 8.464z",
45
- "data-name": "content"
46
- })]
47
- });
48
- }
49
- if (size >= 32) {
50
- return /*#__PURE__*/_jsxs("svg", {
51
- xmlns: "http://www.w3.org/2000/svg",
52
- viewBox: "0 0 32 32",
53
- width: size,
54
- height: size,
55
- ...svgProps,
56
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
57
- "aria-label": "collapse",
58
- children: [/*#__PURE__*/_jsx("path", {
59
- fill: "none",
60
- d: "M0 0h32v32H0z",
61
- "data-name": "white background"
62
- }), /*#__PURE__*/_jsx("path", {
63
- fill: festoColor ? '#0091dc' : 'currentColor',
64
- d: "m16 22-8.707-8.707 1.414-1.414L16 19.172l7.293-7.293 1.414 1.414z",
65
- "data-name": "content"
66
- })]
67
- });
68
- }
69
- return null;
70
- }
@@ -1,7 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export default function IconExpand({ className, svgProps, festoColor, size, }: {
3
- className?: string;
4
- svgProps?: SVGProps<SVGSVGElement>;
5
- festoColor?: boolean;
6
- size?: 16 | 24 | 32 | 48 | 64 | 96 | 128;
7
- }): ReactElement<any, any> | null;
@@ -1,70 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export default function IconExpand(_ref) {
3
- let {
4
- className,
5
- svgProps,
6
- festoColor,
7
- size = 16
8
- } = _ref;
9
- if (size < 24) {
10
- return /*#__PURE__*/_jsxs("svg", {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- viewBox: "0 0 16 16",
13
- width: size,
14
- height: size,
15
- ...svgProps,
16
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
17
- "aria-label": "expand",
18
- children: [/*#__PURE__*/_jsx("path", {
19
- fill: "none",
20
- d: "M0 0h16v16H0z",
21
- "data-name": "white background"
22
- }), /*#__PURE__*/_jsx("path", {
23
- fill: festoColor ? '#0091dc' : 'currentColor',
24
- d: "M11.646 10.354 8 6.707l-3.646 3.647-.708-.708L8 5.293l4.354 4.353z",
25
- "data-name": "content"
26
- })]
27
- });
28
- }
29
- if (size < 32 || size === 48) {
30
- return /*#__PURE__*/_jsxs("svg", {
31
- xmlns: "http://www.w3.org/2000/svg",
32
- viewBox: "0 0 24 24",
33
- width: size,
34
- height: size,
35
- ...svgProps,
36
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
37
- "aria-label": "expand",
38
- children: [/*#__PURE__*/_jsx("path", {
39
- fill: "none",
40
- d: "M0 0h24v24H0z",
41
- "data-name": "white background"
42
- }), /*#__PURE__*/_jsx("path", {
43
- fill: festoColor ? '#0091dc' : 'currentColor',
44
- d: "M18.364 14.828 12 8.464l-6.364 6.364.707.708L12 9.879l5.657 5.657z",
45
- "data-name": "content"
46
- })]
47
- });
48
- }
49
- if (size >= 32) {
50
- return /*#__PURE__*/_jsxs("svg", {
51
- xmlns: "http://www.w3.org/2000/svg",
52
- viewBox: "0 0 32 32",
53
- width: size,
54
- height: size,
55
- ...svgProps,
56
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
57
- "aria-label": "expand",
58
- children: [/*#__PURE__*/_jsx("path", {
59
- fill: "none",
60
- d: "M0 0h32v32H0z",
61
- "data-name": "white background"
62
- }), /*#__PURE__*/_jsx("path", {
63
- fill: festoColor ? '#0091dc' : 'currentColor',
64
- d: "M23.293 21.354 16 14.061l-7.293 7.293-1.414-1.415L16 11.232l8.707 8.707z",
65
- "data-name": "content"
66
- })]
67
- });
68
- }
69
- return null;
70
- }
@@ -1,7 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export default function IconRight2({ className, svgProps, festoColor, size, }: {
3
- className?: string;
4
- svgProps?: SVGProps<SVGSVGElement>;
5
- festoColor?: boolean;
6
- size?: 16 | 24 | 32 | 48 | 64 | 96 | 128;
7
- }): ReactElement<any, any> | null;
@@ -1,67 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export default function IconRight2(_ref) {
3
- let {
4
- className,
5
- svgProps,
6
- festoColor,
7
- size = 16
8
- } = _ref;
9
- if (size < 24) {
10
- return /*#__PURE__*/_jsxs("svg", {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- "data-name": "white background",
13
- viewBox: "0 0 16 16",
14
- width: size,
15
- height: size,
16
- ...svgProps,
17
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
18
- "aria-label": "right-2",
19
- children: [/*#__PURE__*/_jsx("path", {
20
- fill: "none",
21
- d: "M0 16V0h16v16z"
22
- }), /*#__PURE__*/_jsx("path", {
23
- fill: festoColor ? '#0091dc' : 'currentColor',
24
- d: "m10.707 8-4.353 4.354-.708-.708L9.293 8 5.646 4.354l.708-.708z"
25
- })]
26
- });
27
- }
28
- if (size < 32 || size === 48) {
29
- return /*#__PURE__*/_jsxs("svg", {
30
- xmlns: "http://www.w3.org/2000/svg",
31
- "data-name": "white background",
32
- viewBox: "0 0 24 24",
33
- width: size,
34
- height: size,
35
- ...svgProps,
36
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
37
- "aria-label": "right-2",
38
- children: [/*#__PURE__*/_jsx("path", {
39
- fill: "none",
40
- d: "M0 24V0h24v24z"
41
- }), /*#__PURE__*/_jsx("path", {
42
- fill: festoColor ? '#0091dc' : 'currentColor',
43
- d: "M9.172 18.364 15.536 12 9.172 5.636l-.708.707L14.121 12l-5.657 5.657z"
44
- })]
45
- });
46
- }
47
- if (size >= 32) {
48
- return /*#__PURE__*/_jsxs("svg", {
49
- xmlns: "http://www.w3.org/2000/svg",
50
- "data-name": "white background",
51
- viewBox: "0 0 32 32",
52
- width: size,
53
- height: size,
54
- ...svgProps,
55
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
56
- "aria-label": "right-2",
57
- children: [/*#__PURE__*/_jsx("path", {
58
- fill: "none",
59
- d: "M0 32V0h32v32z"
60
- }), /*#__PURE__*/_jsx("path", {
61
- fill: festoColor ? '#0091dc' : 'currentColor',
62
- d: "m22 16-8.707 8.707-1.414-1.414L19.172 16l-7.293-7.293 1.414-1.414z"
63
- })]
64
- });
65
- }
66
- return null;
67
- }
@@ -1,7 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export default function IconWarning({ className, svgProps, festoColor, size, }: {
3
- className?: string;
4
- svgProps?: SVGProps<SVGSVGElement>;
5
- festoColor?: boolean;
6
- size?: 16 | 24 | 32 | 48 | 64 | 96 | 128;
7
- }): ReactElement<any, any> | null;
@@ -1,70 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export default function IconWarning(_ref) {
3
- let {
4
- className,
5
- svgProps,
6
- festoColor,
7
- size = 16
8
- } = _ref;
9
- if (size < 24) {
10
- return /*#__PURE__*/_jsxs("svg", {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- viewBox: "0 0 16 16",
13
- width: size,
14
- height: size,
15
- ...svgProps,
16
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
17
- "aria-label": "warning",
18
- children: [/*#__PURE__*/_jsx("path", {
19
- fill: "none",
20
- d: "M0 0h16v16H0z",
21
- "data-name": "white background"
22
- }), /*#__PURE__*/_jsx("path", {
23
- fill: festoColor ? '#ff9600' : 'currentColor',
24
- d: "M15.216 13.53 8.882 1.653a1 1 0 0 0-1.764 0L.784 13.53A1 1 0 0 0 1.667 15h12.666a1 1 0 0 0 .883-1.47M9 13H7v-2h2Zm0-3H7V5h2Z",
25
- "data-name": "content"
26
- })]
27
- });
28
- }
29
- if (size < 32 || size === 48) {
30
- return /*#__PURE__*/_jsxs("svg", {
31
- xmlns: "http://www.w3.org/2000/svg",
32
- viewBox: "0 0 24 24",
33
- width: size,
34
- height: size,
35
- ...svgProps,
36
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
37
- "aria-label": "warning",
38
- children: [/*#__PURE__*/_jsx("path", {
39
- fill: "none",
40
- d: "M0 0h24v24H0z",
41
- "data-name": "white background"
42
- }), /*#__PURE__*/_jsx("path", {
43
- fill: festoColor ? '#ff9600' : 'currentColor',
44
- d: "M22.4 19.86 13.273 2.743a1.441 1.441 0 0 0-2.544 0L1.6 19.86a1.44 1.44 0 0 0 1.272 2.12H21.13a1.44 1.44 0 0 0 1.272-2.12M11 7h2v8h-2Zm2.005 11.965h-2.01v-2.01h2.01Z",
45
- "data-name": "content"
46
- })]
47
- });
48
- }
49
- if (size >= 32) {
50
- return /*#__PURE__*/_jsxs("svg", {
51
- xmlns: "http://www.w3.org/2000/svg",
52
- viewBox: "0 0 32 32",
53
- width: size,
54
- height: size,
55
- ...svgProps,
56
- className: `fwe-svg-icon${className ? ` ${className}` : ''}`,
57
- "aria-label": "warning",
58
- children: [/*#__PURE__*/_jsx("path", {
59
- fill: "none",
60
- d: "M0 0h32v32H0z",
61
- "data-name": "white background"
62
- }), /*#__PURE__*/_jsx("path", {
63
- fill: festoColor ? '#ff9600' : 'currentColor',
64
- d: "M30.431 26.059 17.765 2.309a2 2 0 0 0-3.53 0L1.57 26.059A2 2 0 0 0 3.333 29h25.334a2 2 0 0 0 1.764-2.941M17 25h-2v-2h2Zm0-5h-2V10h2Z",
65
- "data-name": "content"
66
- })]
67
- });
68
- }
69
- return null;
70
- }