@snack-uikit/icons 0.25.0 → 0.25.2-preview-bc9ca5dd.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.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/components/interface-icons/dragDrop/DragDropS.d.ts +9 -0
- package/dist/cjs/components/interface-icons/dragDrop/DragDropS.js +76 -0
- package/dist/cjs/components/interface-icons/dragDrop/DragDropXs.d.ts +9 -0
- package/dist/cjs/components/interface-icons/dragDrop/DragDropXs.js +76 -0
- package/dist/cjs/components/interface-icons/dragDrop/index.d.ts +8 -0
- package/dist/cjs/components/interface-icons/dragDrop/index.js +38 -0
- package/dist/cjs/components/interface-icons/index.d.ts +3 -1
- package/dist/cjs/components/interface-icons/index.js +19 -5
- package/dist/{esm/components/interface-icons/drag/DragXs.d.ts → cjs/components/interface-icons/pause/PauseS.d.ts} +2 -2
- package/dist/cjs/components/interface-icons/{drag/DragXs.js → pause/PauseS.js} +3 -3
- package/dist/cjs/components/interface-icons/pause/PauseXs.d.ts +9 -0
- package/dist/cjs/components/interface-icons/pause/PauseXs.js +76 -0
- package/dist/cjs/components/interface-icons/pause/index.d.ts +8 -0
- package/dist/cjs/components/interface-icons/pause/index.js +38 -0
- package/dist/cjs/components/interface-icons/{drag/DragS.d.ts → play/PlayS.d.ts} +2 -2
- package/dist/cjs/components/interface-icons/{drag/DragS.js → play/PlayS.js} +3 -3
- package/dist/cjs/components/interface-icons/{drag/DragXs.d.ts → play/PlayXs.d.ts} +2 -2
- package/dist/cjs/components/interface-icons/play/PlayXs.js +76 -0
- package/dist/cjs/components/interface-icons/{drag → play}/index.d.ts +2 -2
- package/dist/cjs/components/interface-icons/{drag → play}/index.js +6 -6
- package/dist/cjs/sprite/svg/sprite.symbol.svg +1 -1
- package/dist/esm/components/interface-icons/dragDrop/DragDropS.d.ts +9 -0
- package/dist/esm/components/interface-icons/dragDrop/DragDropS.js +29 -0
- package/dist/esm/components/interface-icons/dragDrop/DragDropXs.d.ts +9 -0
- package/dist/esm/components/interface-icons/dragDrop/DragDropXs.js +29 -0
- package/dist/esm/components/interface-icons/dragDrop/index.d.ts +8 -0
- package/dist/esm/components/interface-icons/dragDrop/index.js +22 -0
- package/dist/esm/components/interface-icons/index.d.ts +3 -1
- package/dist/esm/components/interface-icons/index.js +3 -1
- package/dist/esm/components/interface-icons/pause/PauseS.d.ts +9 -0
- package/dist/esm/components/interface-icons/{drag/DragXs.js → pause/PauseS.js} +3 -3
- package/dist/esm/components/interface-icons/pause/PauseXs.d.ts +9 -0
- package/dist/esm/components/interface-icons/pause/PauseXs.js +29 -0
- package/dist/esm/components/interface-icons/pause/index.d.ts +8 -0
- package/dist/esm/components/interface-icons/pause/index.js +22 -0
- package/dist/esm/components/interface-icons/{drag/DragS.d.ts → play/PlayS.d.ts} +2 -2
- package/dist/esm/components/interface-icons/{drag/DragS.js → play/PlayS.js} +3 -3
- package/dist/esm/components/interface-icons/play/PlayXs.d.ts +9 -0
- package/dist/esm/components/interface-icons/play/PlayXs.js +29 -0
- package/dist/esm/components/interface-icons/{drag → play}/index.d.ts +2 -2
- package/dist/esm/components/interface-icons/{drag → play}/index.js +4 -4
- package/dist/esm/sprite/svg/sprite.symbol.svg +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.25.1 (2025-03-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **PDS-1765:** rename Drag icon to DragDrop ([833d950](https://github.com/cloud-ru-tech/snack-uikit/commit/833d950cf1b0fc203f3e0a5cf4186abf67b5c557))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 0.25.0 (2025-03-04)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -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 SvgDragDropS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default SvgDragDropS;
|
|
@@ -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 SvgDragDropS = 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 = '-drag-drop-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 = SvgDragDropS;
|
|
@@ -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 SvgDragDropXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default SvgDragDropXs;
|
|
@@ -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 SvgDragDropXs = 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 = '-drag-drop-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 = SvgDragDropXs;
|
|
@@ -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 DragDropSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
export default DragDropSVG;
|
|
@@ -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 DragDropS_1 = __importDefault(require("./DragDropS"));
|
|
21
|
+
const DragDropXs_1 = __importDefault(require("./DragDropXs"));
|
|
22
|
+
const react_1 = require("react");
|
|
23
|
+
const DragDropSVG = (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)(DragDropS_1.default, Object.assign({
|
|
31
|
+
ref: ref,
|
|
32
|
+
size: size
|
|
33
|
+
}, props)) : (0, jsx_runtime_1.jsx)(DragDropXs_1.default, Object.assign({
|
|
34
|
+
ref: ref,
|
|
35
|
+
size: size
|
|
36
|
+
}, props));
|
|
37
|
+
});
|
|
38
|
+
exports.default = DragDropSVG;
|
|
@@ -16,7 +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
|
|
19
|
+
export { default as DragDropSVG } from './dragDrop';
|
|
20
20
|
export { default as EmailSVG } from './email';
|
|
21
21
|
export { default as EyeSVG } from './eye';
|
|
22
22
|
export { default as EyeClosedSVG } from './eyeClosed';
|
|
@@ -34,8 +34,10 @@ export { default as LaptopPhoneSVG } from './laptopPhone';
|
|
|
34
34
|
export { default as MinusSVG } from './minus';
|
|
35
35
|
export { default as MoreSVG } from './more';
|
|
36
36
|
export { default as NightSVG } from './night';
|
|
37
|
+
export { default as PauseSVG } from './pause';
|
|
37
38
|
export { default as PinnedSVG } from './pinned';
|
|
38
39
|
export { default as PlaceholderSVG } from './placeholder';
|
|
40
|
+
export { default as PlaySVG } from './play';
|
|
39
41
|
export { default as PlusSVG } from './plus';
|
|
40
42
|
export { default as QuestionSVG } from './question';
|
|
41
43
|
export { default as ResizeSVG } from './resize';
|
|
@@ -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.
|
|
12
|
-
exports.WatchSVG = exports.WarningSVG = void 0;
|
|
11
|
+
exports.UnPinnedSVG = exports.TrashSVG = exports.ThemeContrastSVG = 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 = void 0;
|
|
13
13
|
var alarmFilled_1 = require("./alarmFilled");
|
|
14
14
|
Object.defineProperty(exports, "AlarmFilledSVG", {
|
|
15
15
|
enumerable: true,
|
|
@@ -136,11 +136,11 @@ Object.defineProperty(exports, "DownloadSVG", {
|
|
|
136
136
|
return __importDefault(download_1).default;
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
Object.defineProperty(exports, "
|
|
139
|
+
var dragDrop_1 = require("./dragDrop");
|
|
140
|
+
Object.defineProperty(exports, "DragDropSVG", {
|
|
141
141
|
enumerable: true,
|
|
142
142
|
get: function () {
|
|
143
|
-
return __importDefault(
|
|
143
|
+
return __importDefault(dragDrop_1).default;
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
var email_1 = require("./email");
|
|
@@ -262,6 +262,13 @@ Object.defineProperty(exports, "NightSVG", {
|
|
|
262
262
|
return __importDefault(night_1).default;
|
|
263
263
|
}
|
|
264
264
|
});
|
|
265
|
+
var pause_1 = require("./pause");
|
|
266
|
+
Object.defineProperty(exports, "PauseSVG", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function () {
|
|
269
|
+
return __importDefault(pause_1).default;
|
|
270
|
+
}
|
|
271
|
+
});
|
|
265
272
|
var pinned_1 = require("./pinned");
|
|
266
273
|
Object.defineProperty(exports, "PinnedSVG", {
|
|
267
274
|
enumerable: true,
|
|
@@ -276,6 +283,13 @@ Object.defineProperty(exports, "PlaceholderSVG", {
|
|
|
276
283
|
return __importDefault(placeholder_1).default;
|
|
277
284
|
}
|
|
278
285
|
});
|
|
286
|
+
var play_1 = require("./play");
|
|
287
|
+
Object.defineProperty(exports, "PlaySVG", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () {
|
|
290
|
+
return __importDefault(play_1).default;
|
|
291
|
+
}
|
|
292
|
+
});
|
|
279
293
|
var plus_1 = require("./plus");
|
|
280
294
|
Object.defineProperty(exports, "PlusSVG", {
|
|
281
295
|
enumerable: true,
|
|
@@ -5,5 +5,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
style?: React.CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const SvgPauseS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default SvgPauseS;
|
|
@@ -45,14 +45,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
45
45
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
46
46
|
// DO NOT EDIT IT MANUALLY
|
|
47
47
|
const React = __importStar(require("react"));
|
|
48
|
-
const
|
|
48
|
+
const SvgPauseS = React.forwardRef((_a, ref) => {
|
|
49
49
|
var {
|
|
50
50
|
size = 24
|
|
51
51
|
} = _a,
|
|
52
52
|
props = __rest(_a, ["size"]);
|
|
53
53
|
props.width = undefined;
|
|
54
54
|
props.height = undefined;
|
|
55
|
-
const testId = '-
|
|
55
|
+
const testId = '-pause-s';
|
|
56
56
|
const isCustomSize = typeof size === 'number';
|
|
57
57
|
if (isCustomSize) {
|
|
58
58
|
if (!props.style) props.style = {};
|
|
@@ -73,4 +73,4 @@ const SvgDragXs = React.forwardRef((_a, ref) => {
|
|
|
73
73
|
})
|
|
74
74
|
}));
|
|
75
75
|
});
|
|
76
|
-
exports.default =
|
|
76
|
+
exports.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,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 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;
|
|
@@ -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,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 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;
|
|
@@ -5,5 +5,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
style?: React.CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const SvgPlayS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default SvgPlayS;
|
|
@@ -45,14 +45,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
45
45
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
46
46
|
// DO NOT EDIT IT MANUALLY
|
|
47
47
|
const React = __importStar(require("react"));
|
|
48
|
-
const
|
|
48
|
+
const SvgPlayS = React.forwardRef((_a, ref) => {
|
|
49
49
|
var {
|
|
50
50
|
size = 24
|
|
51
51
|
} = _a,
|
|
52
52
|
props = __rest(_a, ["size"]);
|
|
53
53
|
props.width = undefined;
|
|
54
54
|
props.height = undefined;
|
|
55
|
-
const testId = '-
|
|
55
|
+
const testId = '-play-s';
|
|
56
56
|
const isCustomSize = typeof size === 'number';
|
|
57
57
|
if (isCustomSize) {
|
|
58
58
|
if (!props.style) props.style = {};
|
|
@@ -73,4 +73,4 @@ const SvgDragS = React.forwardRef((_a, ref) => {
|
|
|
73
73
|
})
|
|
74
74
|
}));
|
|
75
75
|
});
|
|
76
|
-
exports.default =
|
|
76
|
+
exports.default = SvgPlayS;
|
|
@@ -5,5 +5,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
style?: React.CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const SvgPlayXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default SvgPlayXs;
|
|
@@ -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 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;
|
|
@@ -4,5 +4,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
|
|
|
4
4
|
size?: number;
|
|
5
5
|
style?: React.CSSProperties;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const PlaySVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
export default PlaySVG;
|
|
@@ -17,22 +17,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17
17
|
value: true
|
|
18
18
|
});
|
|
19
19
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
20
|
-
const
|
|
21
|
-
const
|
|
20
|
+
const PlayS_1 = __importDefault(require("./PlayS"));
|
|
21
|
+
const PlayXs_1 = __importDefault(require("./PlayXs"));
|
|
22
22
|
const react_1 = require("react");
|
|
23
|
-
const
|
|
23
|
+
const PlaySVG = (0, react_1.forwardRef)((_a, ref) => {
|
|
24
24
|
var {
|
|
25
25
|
size = 24
|
|
26
26
|
} = _a,
|
|
27
27
|
props = __rest(_a, ["size"]);
|
|
28
28
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
return Number(size) >= 20 ? (0, jsx_runtime_1.jsx)(
|
|
30
|
+
return Number(size) >= 20 ? (0, jsx_runtime_1.jsx)(PlayS_1.default, Object.assign({
|
|
31
31
|
ref: ref,
|
|
32
32
|
size: size
|
|
33
|
-
}, props)) : (0, jsx_runtime_1.jsx)(
|
|
33
|
+
}, props)) : (0, jsx_runtime_1.jsx)(PlayXs_1.default, Object.assign({
|
|
34
34
|
ref: ref,
|
|
35
35
|
size: size
|
|
36
36
|
}, props));
|
|
37
37
|
});
|
|
38
|
-
exports.default =
|
|
38
|
+
exports.default = PlaySVG;
|