@snack-uikit/icons 0.25.0 → 0.25.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 (20) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/components/interface-icons/{drag/DragS.d.ts → dragDrop/DragDropS.d.ts} +2 -2
  3. package/dist/cjs/components/interface-icons/{drag/DragS.js → dragDrop/DragDropS.js} +3 -3
  4. package/dist/cjs/components/interface-icons/{drag/DragXs.d.ts → dragDrop/DragDropXs.d.ts} +2 -2
  5. package/dist/cjs/components/interface-icons/{drag/DragXs.js → dragDrop/DragDropXs.js} +3 -3
  6. package/dist/cjs/components/interface-icons/{drag → dragDrop}/index.d.ts +2 -2
  7. package/dist/cjs/components/interface-icons/{drag → dragDrop}/index.js +6 -6
  8. package/dist/cjs/components/interface-icons/index.d.ts +1 -1
  9. package/dist/cjs/components/interface-icons/index.js +4 -4
  10. package/dist/cjs/sprite/svg/sprite.symbol.svg +1 -1
  11. package/dist/esm/components/interface-icons/{drag/DragXs.d.ts → dragDrop/DragDropS.d.ts} +2 -2
  12. package/dist/esm/components/interface-icons/{drag/DragXs.js → dragDrop/DragDropS.js} +3 -3
  13. package/dist/esm/components/interface-icons/{drag/DragS.d.ts → dragDrop/DragDropXs.d.ts} +2 -2
  14. package/dist/esm/components/interface-icons/{drag/DragS.js → dragDrop/DragDropXs.js} +3 -3
  15. package/dist/esm/components/interface-icons/{drag → dragDrop}/index.d.ts +2 -2
  16. package/dist/esm/components/interface-icons/{drag → dragDrop}/index.js +4 -4
  17. package/dist/esm/components/interface-icons/index.d.ts +1 -1
  18. package/dist/esm/components/interface-icons/index.js +1 -1
  19. package/dist/esm/sprite/svg/sprite.symbol.svg +1 -1
  20. 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
 
@@ -5,5 +5,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
5
5
  size?: number;
6
6
  style?: React.CSSProperties;
7
7
  }
8
- declare const SvgDragS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
- export default SvgDragS;
8
+ declare const SvgDragDropS: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgDragDropS;
@@ -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 SvgDragS = React.forwardRef((_a, ref) => {
48
+ const SvgDragDropS = 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 = '-drag-s';
55
+ const testId = '-drag-drop-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 = SvgDragS;
76
+ exports.default = SvgDragDropS;
@@ -5,5 +5,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
5
5
  size?: number;
6
6
  style?: React.CSSProperties;
7
7
  }
8
- declare const SvgDragXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
- export default SvgDragXs;
8
+ declare const SvgDragDropXs: React.ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
9
+ export default SvgDragDropXs;
@@ -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 SvgDragXs = React.forwardRef((_a, ref) => {
48
+ const SvgDragDropXs = 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 = '-drag-xs';
55
+ const testId = '-drag-drop-xs';
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 = SvgDragXs;
76
+ exports.default = SvgDragDropXs;
@@ -4,5 +4,5 @@ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
4
4
  size?: number;
5
5
  style?: React.CSSProperties;
6
6
  }
7
- declare const DragSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
- export default DragSVG;
7
+ declare const DragDropSVG: import("react").ForwardRefExoticComponent<Omit<ISvgIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
8
+ export default DragDropSVG;
@@ -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 DragS_1 = __importDefault(require("./DragS"));
21
- const DragXs_1 = __importDefault(require("./DragXs"));
20
+ const DragDropS_1 = __importDefault(require("./DragDropS"));
21
+ const DragDropXs_1 = __importDefault(require("./DragDropXs"));
22
22
  const react_1 = require("react");
23
- const DragSVG = (0, react_1.forwardRef)((_a, ref) => {
23
+ const DragDropSVG = (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)(DragS_1.default, Object.assign({
30
+ return Number(size) >= 20 ? (0, jsx_runtime_1.jsx)(DragDropS_1.default, Object.assign({
31
31
  ref: ref,
32
32
  size: size
33
- }, props)) : (0, jsx_runtime_1.jsx)(DragXs_1.default, Object.assign({
33
+ }, props)) : (0, jsx_runtime_1.jsx)(DragDropXs_1.default, Object.assign({
34
34
  ref: ref,
35
35
  size: size
36
36
  }, props));
37
37
  });
38
- exports.default = DragSVG;
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 DragSVG } from './drag';
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';
@@ -8,7 +8,7 @@ var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
8
8
  Object.defineProperty(exports, "__esModule", {
9
9
  value: true
10
10
  });
11
- exports.UploadSVG = exports.UpdateSVG = exports.UnPinnedSVG = exports.TrashSVG = exports.ThemeContrastSVG = exports.StarFilledSVG = exports.StarSVG = exports.SettingsSVG = exports.SearchSVG = exports.ResizeSVG = exports.QuestionSVG = exports.PlusSVG = exports.PlaceholderSVG = exports.PinnedSVG = 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.DragSVG = 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;
11
+ exports.UploadSVG = exports.UpdateSVG = exports.UnPinnedSVG = exports.TrashSVG = exports.ThemeContrastSVG = exports.StarFilledSVG = exports.StarSVG = exports.SettingsSVG = exports.SearchSVG = exports.ResizeSVG = exports.QuestionSVG = exports.PlusSVG = exports.PlaceholderSVG = exports.PinnedSVG = 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
12
  exports.WatchSVG = exports.WarningSVG = void 0;
13
13
  var alarmFilled_1 = require("./alarmFilled");
14
14
  Object.defineProperty(exports, "AlarmFilledSVG", {
@@ -136,11 +136,11 @@ Object.defineProperty(exports, "DownloadSVG", {
136
136
  return __importDefault(download_1).default;
137
137
  }
138
138
  });
139
- var drag_1 = require("./drag");
140
- Object.defineProperty(exports, "DragSVG", {
139
+ var dragDrop_1 = require("./dragDrop");
140
+ Object.defineProperty(exports, "DragDropSVG", {
141
141
  enumerable: true,
142
142
  get: function () {
143
- return __importDefault(drag_1).default;
143
+ return __importDefault(dragDrop_1).default;
144
144
  }
145
145
  });
146
146
  var email_1 = require("./email");