@snack-uikit/icons 0.25.2 → 0.26.1

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 (44) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/components/interface-icons/index.d.ts +3 -0
  3. package/dist/cjs/components/interface-icons/index.js +23 -2
  4. package/dist/cjs/components/interface-icons/pause/PauseS.d.ts +9 -0
  5. package/dist/cjs/components/interface-icons/pause/PauseS.js +76 -0
  6. package/dist/cjs/components/interface-icons/pause/PauseXs.d.ts +9 -0
  7. package/dist/cjs/components/interface-icons/pause/PauseXs.js +76 -0
  8. package/dist/cjs/components/interface-icons/pause/index.d.ts +8 -0
  9. package/dist/cjs/components/interface-icons/pause/index.js +38 -0
  10. package/dist/cjs/components/interface-icons/play/PlayS.d.ts +9 -0
  11. package/dist/cjs/components/interface-icons/play/PlayS.js +76 -0
  12. package/dist/cjs/components/interface-icons/play/PlayXs.d.ts +9 -0
  13. package/dist/cjs/components/interface-icons/play/PlayXs.js +76 -0
  14. package/dist/cjs/components/interface-icons/play/index.d.ts +8 -0
  15. package/dist/cjs/components/interface-icons/play/index.js +38 -0
  16. package/dist/cjs/components/interface-icons/stop/StopS.d.ts +9 -0
  17. package/dist/cjs/components/interface-icons/stop/StopS.js +76 -0
  18. package/dist/cjs/components/interface-icons/stop/StopXs.d.ts +9 -0
  19. package/dist/cjs/components/interface-icons/stop/StopXs.js +76 -0
  20. package/dist/cjs/components/interface-icons/stop/index.d.ts +8 -0
  21. package/dist/cjs/components/interface-icons/stop/index.js +38 -0
  22. package/dist/cjs/sprite/svg/sprite.symbol.svg +1 -1
  23. package/dist/esm/components/interface-icons/index.d.ts +3 -0
  24. package/dist/esm/components/interface-icons/index.js +3 -0
  25. package/dist/esm/components/interface-icons/pause/PauseS.d.ts +9 -0
  26. package/dist/esm/components/interface-icons/pause/PauseS.js +29 -0
  27. package/dist/esm/components/interface-icons/pause/PauseXs.d.ts +9 -0
  28. package/dist/esm/components/interface-icons/pause/PauseXs.js +29 -0
  29. package/dist/esm/components/interface-icons/pause/index.d.ts +8 -0
  30. package/dist/esm/components/interface-icons/pause/index.js +22 -0
  31. package/dist/esm/components/interface-icons/play/PlayS.d.ts +9 -0
  32. package/dist/esm/components/interface-icons/play/PlayS.js +29 -0
  33. package/dist/esm/components/interface-icons/play/PlayXs.d.ts +9 -0
  34. package/dist/esm/components/interface-icons/play/PlayXs.js +29 -0
  35. package/dist/esm/components/interface-icons/play/index.d.ts +8 -0
  36. package/dist/esm/components/interface-icons/play/index.js +22 -0
  37. package/dist/esm/components/interface-icons/stop/StopS.d.ts +9 -0
  38. package/dist/esm/components/interface-icons/stop/StopS.js +29 -0
  39. package/dist/esm/components/interface-icons/stop/StopXs.d.ts +9 -0
  40. package/dist/esm/components/interface-icons/stop/StopXs.js +29 -0
  41. package/dist/esm/components/interface-icons/stop/index.d.ts +8 -0
  42. package/dist/esm/components/interface-icons/stop/index.js +22 -0
  43. package/dist/esm/sprite/svg/sprite.symbol.svg +1 -1
  44. package/package.json +3 -3
@@ -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 SvgPauseS = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-pause-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 SvgPauseS;
@@ -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 SvgPauseXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgPauseXs;
@@ -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 SvgPauseXs = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-pause-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 SvgPauseXs;
@@ -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 PauseSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default PauseSVG;
@@ -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 './PauseS';
14
+ import { default as XsSVG } from './PauseXs';
15
+ import { forwardRef } from 'react';
16
+ const PauseSVG = 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 PauseSVG;
@@ -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 SvgPlayS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgPlayS;
@@ -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 SvgPlayS = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-play-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 SvgPlayS;
@@ -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 SvgPlayXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgPlayXs;
@@ -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 SvgPlayXs = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-play-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 SvgPlayXs;
@@ -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 PlaySVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default PlaySVG;
@@ -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 './PlayS';
14
+ import { default as XsSVG } from './PlayXs';
15
+ import { forwardRef } from 'react';
16
+ const PlaySVG = 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 PlaySVG;
@@ -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 SvgStopS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgStopS;
@@ -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 SvgStopS = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-stop-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 SvgStopS;
@@ -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 SvgStopXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgStopXs;
@@ -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 SvgStopXs = React.forwardRef((_a, ref) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ props.width = undefined;
18
+ props.height = undefined;
19
+ const testId = '-stop-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 SvgStopXs;
@@ -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 StopSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default StopSVG;
@@ -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 './StopS';
14
+ import { default as XsSVG } from './StopXs';
15
+ import { forwardRef } from 'react';
16
+ const StopSVG = 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 StopSVG;