@snack-uikit/icons 0.27.3 → 0.27.4-preview-78285a66.0

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 (31) hide show
  1. package/dist/cjs/components/interface-icons/index.d.ts +2 -0
  2. package/dist/cjs/components/interface-icons/index.js +16 -2
  3. package/dist/cjs/components/interface-icons/scalableLeft/ScalableLeftS.d.ts +9 -0
  4. package/dist/cjs/components/interface-icons/scalableLeft/ScalableLeftS.js +76 -0
  5. package/dist/cjs/components/interface-icons/scalableLeft/ScalableLeftXs.d.ts +9 -0
  6. package/dist/cjs/components/interface-icons/scalableLeft/ScalableLeftXs.js +76 -0
  7. package/dist/cjs/components/interface-icons/scalableLeft/index.d.ts +8 -0
  8. package/dist/cjs/components/interface-icons/scalableLeft/index.js +38 -0
  9. package/dist/cjs/components/interface-icons/scalableRight/ScalableRightS.d.ts +9 -0
  10. package/dist/cjs/components/interface-icons/scalableRight/ScalableRightS.js +76 -0
  11. package/dist/cjs/components/interface-icons/scalableRight/ScalableRightXs.d.ts +9 -0
  12. package/dist/cjs/components/interface-icons/scalableRight/ScalableRightXs.js +76 -0
  13. package/dist/cjs/components/interface-icons/scalableRight/index.d.ts +8 -0
  14. package/dist/cjs/components/interface-icons/scalableRight/index.js +38 -0
  15. package/dist/cjs/sprite/svg/sprite.symbol.svg +1 -1
  16. package/dist/esm/components/interface-icons/index.d.ts +2 -0
  17. package/dist/esm/components/interface-icons/index.js +2 -0
  18. package/dist/esm/components/interface-icons/scalableLeft/ScalableLeftS.d.ts +9 -0
  19. package/dist/esm/components/interface-icons/scalableLeft/ScalableLeftS.js +29 -0
  20. package/dist/esm/components/interface-icons/scalableLeft/ScalableLeftXs.d.ts +9 -0
  21. package/dist/esm/components/interface-icons/scalableLeft/ScalableLeftXs.js +29 -0
  22. package/dist/esm/components/interface-icons/scalableLeft/index.d.ts +8 -0
  23. package/dist/esm/components/interface-icons/scalableLeft/index.js +22 -0
  24. package/dist/esm/components/interface-icons/scalableRight/ScalableRightS.d.ts +9 -0
  25. package/dist/esm/components/interface-icons/scalableRight/ScalableRightS.js +29 -0
  26. package/dist/esm/components/interface-icons/scalableRight/ScalableRightXs.d.ts +9 -0
  27. package/dist/esm/components/interface-icons/scalableRight/ScalableRightXs.js +29 -0
  28. package/dist/esm/components/interface-icons/scalableRight/index.d.ts +8 -0
  29. package/dist/esm/components/interface-icons/scalableRight/index.js +22 -0
  30. package/dist/esm/sprite/svg/sprite.symbol.svg +1 -1
  31. package/package.json +2 -2
@@ -41,6 +41,8 @@ export { default as PlaySVG } from './play';
41
41
  export { default as PlusSVG } from './plus';
42
42
  export { default as QuestionSVG } from './question';
43
43
  export { default as ResizeSVG } from './resize';
44
+ export { default as ScalableLeftSVG } from './scalableLeft';
45
+ export { default as ScalableRightSVG } from './scalableRight';
44
46
  export { default as SearchSVG } from './search';
45
47
  export { default as SettingsSVG } from './settings';
46
48
  export { default as StarSVG } from './star';
@@ -8,8 +8,8 @@ var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
8
8
  Object.defineProperty(exports, "__esModule", {
9
9
  value: true
10
10
  });
11
- exports.TrashSVG = exports.ThemeContrastSVG = exports.StopSVG = exports.StarFilledSVG = exports.StarSVG = exports.SettingsSVG = exports.SearchSVG = exports.ResizeSVG = exports.QuestionSVG = exports.PlusSVG = exports.PlaySVG = exports.PlaceholderSVG = exports.PinnedSVG = exports.PauseSVG = exports.NightSVG = exports.MoreSVG = exports.MinusSVG = exports.LaptopPhoneSVG = exports.KebabSVG = exports.InfoFilledSVG = exports.HomeSVG = exports.HeartFilledSVG = exports.HeartSVG = exports.FunctionSettingsSVG = exports.FolderOpenSVG = exports.FolderSVG = exports.FilterSVG = exports.FileSVG = exports.EyeClosedSVG = exports.EyeSVG = exports.EmailSVG = exports.DragDropSVG = exports.DownloadSVG = exports.DaySVG = exports.CrossFilledSVG = exports.CrossSVG = exports.CopySVG = exports.ChevronUpSVG = exports.ChevronRightSVG = exports.ChevronLeftSVG = exports.ChevronDownSVG = exports.CheckFilledSVG = exports.CheckSVG = exports.CalendarSVG = exports.ArrowUpSVG = exports.ArrowRightSVG = exports.ArrowLinksSVG = exports.ArrowLeftSVG = exports.ArrowDownSVG = exports.AlarmFilledSVG = void 0;
12
- exports.WatchSVG = exports.WarningSVG = exports.UploadSVG = exports.UpdateSVG = exports.UnPinnedSVG = void 0;
11
+ exports.StopSVG = exports.StarFilledSVG = exports.StarSVG = exports.SettingsSVG = exports.SearchSVG = exports.ScalableRightSVG = exports.ScalableLeftSVG = exports.ResizeSVG = exports.QuestionSVG = exports.PlusSVG = exports.PlaySVG = exports.PlaceholderSVG = exports.PinnedSVG = exports.PauseSVG = exports.NightSVG = exports.MoreSVG = exports.MinusSVG = exports.LaptopPhoneSVG = exports.KebabSVG = exports.InfoFilledSVG = exports.HomeSVG = exports.HeartFilledSVG = exports.HeartSVG = exports.FunctionSettingsSVG = exports.FolderOpenSVG = exports.FolderSVG = exports.FilterSVG = exports.FileSVG = exports.EyeClosedSVG = exports.EyeSVG = exports.EmailSVG = exports.DragDropSVG = exports.DownloadSVG = exports.DaySVG = exports.CrossFilledSVG = exports.CrossSVG = exports.CopySVG = exports.ChevronUpSVG = exports.ChevronRightSVG = exports.ChevronLeftSVG = exports.ChevronDownSVG = exports.CheckFilledSVG = exports.CheckSVG = exports.CalendarSVG = exports.ArrowUpSVG = exports.ArrowRightSVG = exports.ArrowLinksSVG = exports.ArrowLeftSVG = exports.ArrowDownSVG = exports.AlarmFilledSVG = void 0;
12
+ exports.WatchSVG = exports.WarningSVG = exports.UploadSVG = exports.UpdateSVG = exports.UnPinnedSVG = exports.TrashSVG = exports.ThemeContrastSVG = void 0;
13
13
  var alarmFilled_1 = require("./alarmFilled");
14
14
  Object.defineProperty(exports, "AlarmFilledSVG", {
15
15
  enumerable: true,
@@ -311,6 +311,20 @@ Object.defineProperty(exports, "ResizeSVG", {
311
311
  return __importDefault(resize_1).default;
312
312
  }
313
313
  });
314
+ var scalableLeft_1 = require("./scalableLeft");
315
+ Object.defineProperty(exports, "ScalableLeftSVG", {
316
+ enumerable: true,
317
+ get: function () {
318
+ return __importDefault(scalableLeft_1).default;
319
+ }
320
+ });
321
+ var scalableRight_1 = require("./scalableRight");
322
+ Object.defineProperty(exports, "ScalableRightSVG", {
323
+ enumerable: true,
324
+ get: function () {
325
+ return __importDefault(scalableRight_1).default;
326
+ }
327
+ });
314
328
  var search_1 = require("./search");
315
329
  Object.defineProperty(exports, "SearchSVG", {
316
330
  enumerable: true,
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
4
+ className?: string;
5
+ size?: number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgScalableLeftS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgScalableLeftS;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
20
+ Object.defineProperty(o, "default", {
21
+ enumerable: true,
22
+ value: v
23
+ });
24
+ } : function (o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = void 0 && (void 0).__importStar || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
35
+ var t = {};
36
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
37
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
38
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39
+ }
40
+ return t;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", {
43
+ value: true
44
+ });
45
+ const jsx_runtime_1 = require("react/jsx-runtime");
46
+ // DO NOT EDIT IT MANUALLY
47
+ const React = __importStar(require("react"));
48
+ const SvgScalableLeftS = React.forwardRef((_a, ref) => {
49
+ var {
50
+ size = 24
51
+ } = _a,
52
+ props = __rest(_a, ["size"]);
53
+ props.width = undefined;
54
+ props.height = undefined;
55
+ const testId = '-scalable-left-s';
56
+ const isCustomSize = typeof size === 'number';
57
+ if (isCustomSize) {
58
+ if (!props.style) props.style = {};
59
+ props.style.width = size + 'px';
60
+ props.style.height = size + 'px';
61
+ }
62
+ return (0, jsx_runtime_1.jsx)("svg", Object.assign({
63
+ ref: ref,
64
+ xmlns: 'http://www.w3.org/2000/svg',
65
+ width: 24,
66
+ height: 24,
67
+ fill: 'currentColor',
68
+ viewBox: '0 0 24 24',
69
+ "data-test-id": 'icon' + testId
70
+ }, props, {
71
+ children: (0, jsx_runtime_1.jsx)("use", {
72
+ href: '#snack-uikit-' + testId.substring(1)
73
+ })
74
+ }));
75
+ });
76
+ exports.default = SvgScalableLeftS;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
4
+ className?: string;
5
+ size?: number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgScalableLeftXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgScalableLeftXs;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
20
+ Object.defineProperty(o, "default", {
21
+ enumerable: true,
22
+ value: v
23
+ });
24
+ } : function (o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = void 0 && (void 0).__importStar || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
35
+ var t = {};
36
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
37
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
38
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39
+ }
40
+ return t;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", {
43
+ value: true
44
+ });
45
+ const jsx_runtime_1 = require("react/jsx-runtime");
46
+ // DO NOT EDIT IT MANUALLY
47
+ const React = __importStar(require("react"));
48
+ const SvgScalableLeftXs = React.forwardRef((_a, ref) => {
49
+ var {
50
+ size = 24
51
+ } = _a,
52
+ props = __rest(_a, ["size"]);
53
+ props.width = undefined;
54
+ props.height = undefined;
55
+ const testId = '-scalable-left-xs';
56
+ const isCustomSize = typeof size === 'number';
57
+ if (isCustomSize) {
58
+ if (!props.style) props.style = {};
59
+ props.style.width = size + 'px';
60
+ props.style.height = size + 'px';
61
+ }
62
+ return (0, jsx_runtime_1.jsx)("svg", Object.assign({
63
+ ref: ref,
64
+ xmlns: 'http://www.w3.org/2000/svg',
65
+ width: 24,
66
+ height: 24,
67
+ fill: 'currentColor',
68
+ viewBox: '0 0 24 24',
69
+ "data-test-id": 'icon' + testId
70
+ }, props, {
71
+ children: (0, jsx_runtime_1.jsx)("use", {
72
+ href: '#snack-uikit-' + testId.substring(1)
73
+ })
74
+ }));
75
+ });
76
+ exports.default = SvgScalableLeftXs;
@@ -0,0 +1,8 @@
1
+ import { SVGProps } from 'react';
2
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
3
+ className?: string;
4
+ size?: number;
5
+ style?: React.CSSProperties;
6
+ }
7
+ declare const ScalableLeftSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default ScalableLeftSVG;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
4
+ var t = {};
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
8
+ }
9
+ return t;
10
+ };
11
+ var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
12
+ return mod && mod.__esModule ? mod : {
13
+ "default": mod
14
+ };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", {
17
+ value: true
18
+ });
19
+ const jsx_runtime_1 = require("react/jsx-runtime");
20
+ const ScalableLeftS_1 = __importDefault(require("./ScalableLeftS"));
21
+ const ScalableLeftXs_1 = __importDefault(require("./ScalableLeftXs"));
22
+ const react_1 = require("react");
23
+ const ScalableLeftSVG = (0, react_1.forwardRef)((_a, ref) => {
24
+ var {
25
+ size = 24
26
+ } = _a,
27
+ props = __rest(_a, ["size"]);
28
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
29
+ // @ts-ignore
30
+ return Number(size) >= 20 ? (0, jsx_runtime_1.jsx)(ScalableLeftS_1.default, Object.assign({
31
+ ref: ref,
32
+ size: size
33
+ }, props)) : (0, jsx_runtime_1.jsx)(ScalableLeftXs_1.default, Object.assign({
34
+ ref: ref,
35
+ size: size
36
+ }, props));
37
+ });
38
+ exports.default = ScalableLeftSVG;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
4
+ className?: string;
5
+ size?: number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgScalableRightS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgScalableRightS;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
20
+ Object.defineProperty(o, "default", {
21
+ enumerable: true,
22
+ value: v
23
+ });
24
+ } : function (o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = void 0 && (void 0).__importStar || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
35
+ var t = {};
36
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
37
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
38
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39
+ }
40
+ return t;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", {
43
+ value: true
44
+ });
45
+ const jsx_runtime_1 = require("react/jsx-runtime");
46
+ // DO NOT EDIT IT MANUALLY
47
+ const React = __importStar(require("react"));
48
+ const SvgScalableRightS = React.forwardRef((_a, ref) => {
49
+ var {
50
+ size = 24
51
+ } = _a,
52
+ props = __rest(_a, ["size"]);
53
+ props.width = undefined;
54
+ props.height = undefined;
55
+ const testId = '-scalable-right-s';
56
+ const isCustomSize = typeof size === 'number';
57
+ if (isCustomSize) {
58
+ if (!props.style) props.style = {};
59
+ props.style.width = size + 'px';
60
+ props.style.height = size + 'px';
61
+ }
62
+ return (0, jsx_runtime_1.jsx)("svg", Object.assign({
63
+ ref: ref,
64
+ xmlns: 'http://www.w3.org/2000/svg',
65
+ width: 24,
66
+ height: 24,
67
+ fill: 'currentColor',
68
+ viewBox: '0 0 24 24',
69
+ "data-test-id": 'icon' + testId
70
+ }, props, {
71
+ children: (0, jsx_runtime_1.jsx)("use", {
72
+ href: '#snack-uikit-' + testId.substring(1)
73
+ })
74
+ }));
75
+ });
76
+ exports.default = SvgScalableRightS;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
4
+ className?: string;
5
+ size?: number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgScalableRightXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgScalableRightXs;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = {
8
+ enumerable: true,
9
+ get: function () {
10
+ return m[k];
11
+ }
12
+ };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ } : function (o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ });
19
+ var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
20
+ Object.defineProperty(o, "default", {
21
+ enumerable: true,
22
+ value: v
23
+ });
24
+ } : function (o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = void 0 && (void 0).__importStar || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
35
+ var t = {};
36
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
37
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
38
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39
+ }
40
+ return t;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", {
43
+ value: true
44
+ });
45
+ const jsx_runtime_1 = require("react/jsx-runtime");
46
+ // DO NOT EDIT IT MANUALLY
47
+ const React = __importStar(require("react"));
48
+ const SvgScalableRightXs = React.forwardRef((_a, ref) => {
49
+ var {
50
+ size = 24
51
+ } = _a,
52
+ props = __rest(_a, ["size"]);
53
+ props.width = undefined;
54
+ props.height = undefined;
55
+ const testId = '-scalable-right-xs';
56
+ const isCustomSize = typeof size === 'number';
57
+ if (isCustomSize) {
58
+ if (!props.style) props.style = {};
59
+ props.style.width = size + 'px';
60
+ props.style.height = size + 'px';
61
+ }
62
+ return (0, jsx_runtime_1.jsx)("svg", Object.assign({
63
+ ref: ref,
64
+ xmlns: 'http://www.w3.org/2000/svg',
65
+ width: 24,
66
+ height: 24,
67
+ fill: 'currentColor',
68
+ viewBox: '0 0 24 24',
69
+ "data-test-id": 'icon' + testId
70
+ }, props, {
71
+ children: (0, jsx_runtime_1.jsx)("use", {
72
+ href: '#snack-uikit-' + testId.substring(1)
73
+ })
74
+ }));
75
+ });
76
+ exports.default = SvgScalableRightXs;
@@ -0,0 +1,8 @@
1
+ import { SVGProps } from 'react';
2
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
3
+ className?: string;
4
+ size?: number;
5
+ style?: React.CSSProperties;
6
+ }
7
+ declare const ScalableRightSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default ScalableRightSVG;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
4
+ var t = {};
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
8
+ }
9
+ return t;
10
+ };
11
+ var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
12
+ return mod && mod.__esModule ? mod : {
13
+ "default": mod
14
+ };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", {
17
+ value: true
18
+ });
19
+ const jsx_runtime_1 = require("react/jsx-runtime");
20
+ const ScalableRightS_1 = __importDefault(require("./ScalableRightS"));
21
+ const ScalableRightXs_1 = __importDefault(require("./ScalableRightXs"));
22
+ const react_1 = require("react");
23
+ const ScalableRightSVG = (0, react_1.forwardRef)((_a, ref) => {
24
+ var {
25
+ size = 24
26
+ } = _a,
27
+ props = __rest(_a, ["size"]);
28
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
29
+ // @ts-ignore
30
+ return Number(size) >= 20 ? (0, jsx_runtime_1.jsx)(ScalableRightS_1.default, Object.assign({
31
+ ref: ref,
32
+ size: size
33
+ }, props)) : (0, jsx_runtime_1.jsx)(ScalableRightXs_1.default, Object.assign({
34
+ ref: ref,
35
+ size: size
36
+ }, props));
37
+ });
38
+ exports.default = ScalableRightSVG;