@snack-uikit/icons 0.24.3 → 0.25.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 (32) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/components/interface-icons/drag/DragS.d.ts +9 -0
  3. package/dist/cjs/components/interface-icons/drag/DragS.js +76 -0
  4. package/dist/cjs/components/interface-icons/drag/DragXs.d.ts +9 -0
  5. package/dist/cjs/components/interface-icons/drag/DragXs.js +76 -0
  6. package/dist/cjs/components/interface-icons/drag/index.d.ts +8 -0
  7. package/dist/cjs/components/interface-icons/drag/index.js +38 -0
  8. package/dist/cjs/components/interface-icons/functionSettings/FunctionSettingsS.d.ts +9 -0
  9. package/dist/cjs/components/interface-icons/functionSettings/FunctionSettingsS.js +76 -0
  10. package/dist/cjs/components/interface-icons/functionSettings/FunctionSettingsXs.d.ts +9 -0
  11. package/dist/cjs/components/interface-icons/functionSettings/FunctionSettingsXs.js +76 -0
  12. package/dist/cjs/components/interface-icons/functionSettings/index.d.ts +8 -0
  13. package/dist/cjs/components/interface-icons/functionSettings/index.js +38 -0
  14. package/dist/cjs/components/interface-icons/index.d.ts +2 -0
  15. package/dist/cjs/components/interface-icons/index.js +16 -1
  16. package/dist/cjs/sprite/svg/sprite.symbol.svg +1 -1
  17. package/dist/esm/components/interface-icons/drag/DragS.d.ts +9 -0
  18. package/dist/esm/components/interface-icons/drag/DragS.js +29 -0
  19. package/dist/esm/components/interface-icons/drag/DragXs.d.ts +9 -0
  20. package/dist/esm/components/interface-icons/drag/DragXs.js +29 -0
  21. package/dist/esm/components/interface-icons/drag/index.d.ts +8 -0
  22. package/dist/esm/components/interface-icons/drag/index.js +22 -0
  23. package/dist/esm/components/interface-icons/functionSettings/FunctionSettingsS.d.ts +9 -0
  24. package/dist/esm/components/interface-icons/functionSettings/FunctionSettingsS.js +29 -0
  25. package/dist/esm/components/interface-icons/functionSettings/FunctionSettingsXs.d.ts +9 -0
  26. package/dist/esm/components/interface-icons/functionSettings/FunctionSettingsXs.js +29 -0
  27. package/dist/esm/components/interface-icons/functionSettings/index.d.ts +8 -0
  28. package/dist/esm/components/interface-icons/functionSettings/index.js +22 -0
  29. package/dist/esm/components/interface-icons/index.d.ts +2 -0
  30. package/dist/esm/components/interface-icons/index.js +2 -0
  31. package/dist/esm/sprite/svg/sprite.symbol.svg +1 -1
  32. package/package.json +2 -2
@@ -0,0 +1,22 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ 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]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { default as SSVG } from './DragS';
14
+ import { default as XsSVG } from './DragXs';
15
+ import { forwardRef } from 'react';
16
+ const DragSVG = forwardRef((_a, ref) => {
17
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
18
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
19
+ // @ts-ignore
20
+ return Number(size) >= 20 ? _jsx(SSVG, Object.assign({ ref: ref, size: size }, props)) : _jsx(XsSVG, Object.assign({ ref: ref, size: size }, props));
21
+ });
22
+ export default DragSVG;
@@ -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 SvgFunctionSettingsS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgFunctionSettingsS;
@@ -0,0 +1,29 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ 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]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ // DO NOT EDIT IT MANUALLY
14
+ import * as React from 'react';
15
+ const SvgFunctionSettingsS = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-function-settings-s';
20
+ const isCustomSize = typeof size === 'number';
21
+ if (isCustomSize) {
22
+ if (!props.style)
23
+ props.style = {};
24
+ props.style.width = size + 'px';
25
+ props.style.height = size + 'px';
26
+ }
27
+ return (_jsx("svg", Object.assign({ ref: ref, xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": 'icon' + testId }, props, { children: _jsx("use", { href: '#snack-uikit-' + testId.substring(1) }) })));
28
+ });
29
+ export default SvgFunctionSettingsS;
@@ -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 SvgFunctionSettingsXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgFunctionSettingsXs;
@@ -0,0 +1,29 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ 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]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ // DO NOT EDIT IT MANUALLY
14
+ import * as React from 'react';
15
+ const SvgFunctionSettingsXs = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-function-settings-xs';
20
+ const isCustomSize = typeof size === 'number';
21
+ if (isCustomSize) {
22
+ if (!props.style)
23
+ props.style = {};
24
+ props.style.width = size + 'px';
25
+ props.style.height = size + 'px';
26
+ }
27
+ return (_jsx("svg", Object.assign({ ref: ref, xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": 'icon' + testId }, props, { children: _jsx("use", { href: '#snack-uikit-' + testId.substring(1) }) })));
28
+ });
29
+ export default SvgFunctionSettingsXs;
@@ -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 FunctionSettingsSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default FunctionSettingsSVG;
@@ -0,0 +1,22 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ 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]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { default as SSVG } from './FunctionSettingsS';
14
+ import { default as XsSVG } from './FunctionSettingsXs';
15
+ import { forwardRef } from 'react';
16
+ const FunctionSettingsSVG = forwardRef((_a, ref) => {
17
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
18
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
19
+ // @ts-ignore
20
+ return Number(size) >= 20 ? _jsx(SSVG, Object.assign({ ref: ref, size: size }, props)) : _jsx(XsSVG, Object.assign({ ref: ref, size: size }, props));
21
+ });
22
+ export default FunctionSettingsSVG;
@@ -16,6 +16,7 @@ export { default as CrossSVG } from './cross';
16
16
  export { default as CrossFilledSVG } from './crossFilled';
17
17
  export { default as DaySVG } from './day';
18
18
  export { default as DownloadSVG } from './download';
19
+ export { default as DragSVG } from './drag';
19
20
  export { default as EmailSVG } from './email';
20
21
  export { default as EyeSVG } from './eye';
21
22
  export { default as EyeClosedSVG } from './eyeClosed';
@@ -23,6 +24,7 @@ export { default as FileSVG } from './file';
23
24
  export { default as FilterSVG } from './filter';
24
25
  export { default as FolderSVG } from './folder';
25
26
  export { default as FolderOpenSVG } from './folderOpen';
27
+ export { default as FunctionSettingsSVG } from './functionSettings';
26
28
  export { default as HeartSVG } from './heart';
27
29
  export { default as HeartFilledSVG } from './heartFilled';
28
30
  export { default as HomeSVG } from './home';
@@ -16,6 +16,7 @@ export { default as CrossSVG } from './cross';
16
16
  export { default as CrossFilledSVG } from './crossFilled';
17
17
  export { default as DaySVG } from './day';
18
18
  export { default as DownloadSVG } from './download';
19
+ export { default as DragSVG } from './drag';
19
20
  export { default as EmailSVG } from './email';
20
21
  export { default as EyeSVG } from './eye';
21
22
  export { default as EyeClosedSVG } from './eyeClosed';
@@ -23,6 +24,7 @@ export { default as FileSVG } from './file';
23
24
  export { default as FilterSVG } from './filter';
24
25
  export { default as FolderSVG } from './folder';
25
26
  export { default as FolderOpenSVG } from './folderOpen';
27
+ export { default as FunctionSettingsSVG } from './functionSettings';
26
28
  export { default as HeartSVG } from './heart';
27
29
  export { default as HeartFilledSVG } from './heartFilled';
28
30
  export { default as HomeSVG } from './home';