@snack-uikit/icons 0.24.3-preview-abb5f7dc.0 → 0.24.3
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.
- package/CHANGELOG.md +9 -0
- package/dist/cjs/components/interface-icons/index.d.ts +0 -2
- package/dist/cjs/components/interface-icons/index.js +1 -16
- package/dist/cjs/sprite/svg/sprite.symbol.svg +1 -1
- package/dist/esm/components/interface-icons/index.d.ts +0 -2
- package/dist/esm/components/interface-icons/index.js +0 -2
- package/dist/esm/sprite/svg/sprite.symbol.svg +1 -1
- package/package.json +3 -3
- package/dist/cjs/components/interface-icons/pause/PauseS.d.ts +0 -9
- package/dist/cjs/components/interface-icons/pause/PauseS.js +0 -76
- package/dist/cjs/components/interface-icons/pause/PauseXs.d.ts +0 -9
- package/dist/cjs/components/interface-icons/pause/PauseXs.js +0 -76
- package/dist/cjs/components/interface-icons/pause/index.d.ts +0 -8
- package/dist/cjs/components/interface-icons/pause/index.js +0 -38
- package/dist/cjs/components/interface-icons/play/PlayS.d.ts +0 -9
- package/dist/cjs/components/interface-icons/play/PlayS.js +0 -76
- package/dist/cjs/components/interface-icons/play/PlayXs.d.ts +0 -9
- package/dist/cjs/components/interface-icons/play/PlayXs.js +0 -76
- package/dist/cjs/components/interface-icons/play/index.d.ts +0 -8
- package/dist/cjs/components/interface-icons/play/index.js +0 -38
- package/dist/esm/components/interface-icons/pause/PauseS.d.ts +0 -9
- package/dist/esm/components/interface-icons/pause/PauseS.js +0 -29
- package/dist/esm/components/interface-icons/pause/PauseXs.d.ts +0 -9
- package/dist/esm/components/interface-icons/pause/PauseXs.js +0 -29
- package/dist/esm/components/interface-icons/pause/index.d.ts +0 -8
- package/dist/esm/components/interface-icons/pause/index.js +0 -22
- package/dist/esm/components/interface-icons/play/PlayS.d.ts +0 -9
- package/dist/esm/components/interface-icons/play/PlayS.js +0 -29
- package/dist/esm/components/interface-icons/play/PlayXs.d.ts +0 -9
- package/dist/esm/components/interface-icons/play/PlayXs.js +0 -29
- package/dist/esm/components/interface-icons/play/index.d.ts +0 -8
- package/dist/esm/components/interface-icons/play/index.js +0 -22
|
@@ -1,76 +0,0 @@
|
|
|
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 SvgPauseXs = 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 = '-pause-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 = SvgPauseXs;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 PauseS_1 = __importDefault(require("./PauseS"));
|
|
21
|
-
const PauseXs_1 = __importDefault(require("./PauseXs"));
|
|
22
|
-
const react_1 = require("react");
|
|
23
|
-
const PauseSVG = (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)(PauseS_1.default, Object.assign({
|
|
31
|
-
ref: ref,
|
|
32
|
-
size: size
|
|
33
|
-
}, props)) : (0, jsx_runtime_1.jsx)(PauseXs_1.default, Object.assign({
|
|
34
|
-
ref: ref,
|
|
35
|
-
size: size
|
|
36
|
-
}, props));
|
|
37
|
-
});
|
|
38
|
-
exports.default = PauseSVG;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,76 +0,0 @@
|
|
|
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 SvgPlayS = 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 = '-play-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 = SvgPlayS;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,76 +0,0 @@
|
|
|
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 SvgPlayXs = 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 = '-play-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 = SvgPlayXs;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 PlayS_1 = __importDefault(require("./PlayS"));
|
|
21
|
-
const PlayXs_1 = __importDefault(require("./PlayXs"));
|
|
22
|
-
const react_1 = require("react");
|
|
23
|
-
const PlaySVG = (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)(PlayS_1.default, Object.assign({
|
|
31
|
-
ref: ref,
|
|
32
|
-
size: size
|
|
33
|
-
}, props)) : (0, jsx_runtime_1.jsx)(PlayXs_1.default, Object.assign({
|
|
34
|
-
ref: ref,
|
|
35
|
-
size: size
|
|
36
|
-
}, props));
|
|
37
|
-
});
|
|
38
|
-
exports.default = PlaySVG;
|
|
@@ -1,9 +0,0 @@
|
|
|
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 SvgPauseS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
-
export default SvgPauseS;
|
|
@@ -1,29 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,22 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,22 +0,0 @@
|
|
|
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;
|