@snack-uikit/icons 0.19.2 → 0.20.1-preview-3f90b7f1.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 (112) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +44 -0
  3. package/dist/Sprite.d.ts +6 -0
  4. package/dist/Sprite.js +18 -0
  5. package/dist/components/index.d.ts +1 -0
  6. package/dist/components/index.js +1 -0
  7. package/dist/components/interface-icons/alarmFilled/AlarmFilledS.js +2 -2
  8. package/dist/components/interface-icons/alarmFilled/AlarmFilledXs.js +2 -2
  9. package/dist/components/interface-icons/arrowDown/ArrowDownS.js +2 -2
  10. package/dist/components/interface-icons/arrowDown/ArrowDownXs.js +2 -2
  11. package/dist/components/interface-icons/arrowLeft/ArrowLeftS.d.ts +9 -0
  12. package/dist/components/interface-icons/arrowLeft/ArrowLeftS.js +27 -0
  13. package/dist/components/interface-icons/arrowLeft/ArrowLeftXs.d.ts +9 -0
  14. package/dist/components/interface-icons/arrowLeft/ArrowLeftXs.js +27 -0
  15. package/dist/components/interface-icons/arrowLeft/index.d.ts +8 -0
  16. package/dist/components/interface-icons/arrowLeft/index.js +19 -0
  17. package/dist/components/interface-icons/arrowLinks/ArrowLinksS.js +2 -2
  18. package/dist/components/interface-icons/arrowLinks/ArrowLinksXs.js +2 -2
  19. package/dist/components/interface-icons/arrowRight/ArrowRightS.d.ts +9 -0
  20. package/dist/components/interface-icons/arrowRight/ArrowRightS.js +27 -0
  21. package/dist/components/interface-icons/arrowRight/ArrowRightXs.d.ts +9 -0
  22. package/dist/components/interface-icons/arrowRight/ArrowRightXs.js +27 -0
  23. package/dist/components/interface-icons/arrowRight/index.d.ts +8 -0
  24. package/dist/components/interface-icons/arrowRight/index.js +19 -0
  25. package/dist/components/interface-icons/arrowUp/ArrowUpS.js +2 -2
  26. package/dist/components/interface-icons/arrowUp/ArrowUpXs.js +2 -2
  27. package/dist/components/interface-icons/calendar/CalendarS.js +2 -2
  28. package/dist/components/interface-icons/calendar/CalendarXs.js +2 -2
  29. package/dist/components/interface-icons/check/CheckS.js +2 -2
  30. package/dist/components/interface-icons/check/CheckXs.js +2 -2
  31. package/dist/components/interface-icons/checkFilled/CheckFilledS.js +2 -2
  32. package/dist/components/interface-icons/checkFilled/CheckFilledXs.js +2 -2
  33. package/dist/components/interface-icons/chevronDown/ChevronDownS.js +2 -2
  34. package/dist/components/interface-icons/chevronDown/ChevronDownXs.js +2 -2
  35. package/dist/components/interface-icons/chevronLeft/ChevronLeftS.js +2 -2
  36. package/dist/components/interface-icons/chevronLeft/ChevronLeftXs.js +2 -2
  37. package/dist/components/interface-icons/chevronRight/ChevronRightS.js +2 -2
  38. package/dist/components/interface-icons/chevronRight/ChevronRightXs.js +2 -2
  39. package/dist/components/interface-icons/chevronUp/ChevronUpS.js +2 -2
  40. package/dist/components/interface-icons/chevronUp/ChevronUpXs.js +2 -2
  41. package/dist/components/interface-icons/copy/CopyS.js +2 -2
  42. package/dist/components/interface-icons/copy/CopyXs.js +2 -2
  43. package/dist/components/interface-icons/cross/CrossS.js +2 -2
  44. package/dist/components/interface-icons/cross/CrossXs.js +2 -2
  45. package/dist/components/interface-icons/crossFilled/CrossFilledS.js +2 -2
  46. package/dist/components/interface-icons/crossFilled/CrossFilledXs.js +2 -2
  47. package/dist/components/interface-icons/day/DayS.js +2 -2
  48. package/dist/components/interface-icons/download/DownloadS.js +2 -2
  49. package/dist/components/interface-icons/download/DownloadXs.js +2 -2
  50. package/dist/components/interface-icons/email/EmailS.js +2 -2
  51. package/dist/components/interface-icons/eye/EyeS.js +2 -2
  52. package/dist/components/interface-icons/eye/EyeXs.js +2 -2
  53. package/dist/components/interface-icons/eyeClosed/EyeClosedS.js +2 -2
  54. package/dist/components/interface-icons/eyeClosed/EyeClosedXs.js +2 -2
  55. package/dist/components/interface-icons/file/FileS.js +2 -2
  56. package/dist/components/interface-icons/file/FileXs.js +2 -2
  57. package/dist/components/interface-icons/filter/FilterS.js +2 -2
  58. package/dist/components/interface-icons/folder/FolderS.js +2 -2
  59. package/dist/components/interface-icons/folder/FolderXs.js +2 -2
  60. package/dist/components/interface-icons/folderOpen/FolderOpenS.js +2 -2
  61. package/dist/components/interface-icons/folderOpen/FolderOpenXs.js +2 -2
  62. package/dist/components/interface-icons/heart/HeartS.js +2 -2
  63. package/dist/components/interface-icons/heartFilled/HeartFilledS.js +2 -2
  64. package/dist/components/interface-icons/heartFilled/HeartFilledXs.js +2 -2
  65. package/dist/components/interface-icons/home/HomeS.js +2 -2
  66. package/dist/components/interface-icons/home/HomeXs.js +2 -2
  67. package/dist/components/interface-icons/index.d.ts +2 -0
  68. package/dist/components/interface-icons/index.js +2 -0
  69. package/dist/components/interface-icons/infoFilled/InfoFilledS.js +2 -2
  70. package/dist/components/interface-icons/infoFilled/InfoFilledXs.js +2 -2
  71. package/dist/components/interface-icons/kebab/KebabS.js +2 -2
  72. package/dist/components/interface-icons/kebab/KebabXs.js +2 -2
  73. package/dist/components/interface-icons/minus/MinusS.js +2 -2
  74. package/dist/components/interface-icons/minus/MinusXs.js +2 -2
  75. package/dist/components/interface-icons/more/MoreS.js +2 -2
  76. package/dist/components/interface-icons/more/MoreXs.js +2 -2
  77. package/dist/components/interface-icons/night/NightS.js +2 -2
  78. package/dist/components/interface-icons/pinned/PinnedS.js +2 -2
  79. package/dist/components/interface-icons/pinned/PinnedXs.js +2 -2
  80. package/dist/components/interface-icons/placeholder/PlaceholderS.js +2 -2
  81. package/dist/components/interface-icons/placeholder/PlaceholderXs.js +2 -2
  82. package/dist/components/interface-icons/plus/PlusS.js +2 -2
  83. package/dist/components/interface-icons/plus/PlusXs.js +2 -2
  84. package/dist/components/interface-icons/question/QuestionS.js +2 -2
  85. package/dist/components/interface-icons/question/QuestionXs.js +2 -2
  86. package/dist/components/interface-icons/resize/ResizeS.js +2 -2
  87. package/dist/components/interface-icons/resize/ResizeXs.js +2 -2
  88. package/dist/components/interface-icons/search/SearchS.js +2 -2
  89. package/dist/components/interface-icons/search/SearchXs.js +2 -2
  90. package/dist/components/interface-icons/settings/SettingsS.js +2 -2
  91. package/dist/components/interface-icons/settings/SettingsXs.js +2 -2
  92. package/dist/components/interface-icons/star/StarS.js +2 -2
  93. package/dist/components/interface-icons/star/StarXs.js +2 -2
  94. package/dist/components/interface-icons/starFilled/StarFilledS.js +2 -2
  95. package/dist/components/interface-icons/starFilled/StarFilledXs.js +2 -2
  96. package/dist/components/interface-icons/trash/TrashS.js +2 -2
  97. package/dist/components/interface-icons/unPinned/UnPinnedS.js +2 -2
  98. package/dist/components/interface-icons/unPinned/UnPinnedXs.js +2 -2
  99. package/dist/components/interface-icons/update/UpdateS.js +2 -2
  100. package/dist/components/interface-icons/upload/UploadS.js +2 -2
  101. package/dist/components/interface-icons/upload/UploadXs.js +2 -2
  102. package/dist/components/interface-icons/warning/WarningS.js +2 -2
  103. package/dist/components/interface-icons/warning/WarningXs.js +2 -2
  104. package/dist/constants.d.ts +1 -0
  105. package/dist/constants.js +1 -0
  106. package/dist/index.d.ts +4 -1
  107. package/dist/index.js +4 -1
  108. package/dist/sprite/svg/sprite.symbol.svg +1 -0
  109. package/package.json +15 -7
  110. package/src/Sprite.tsx +24 -0
  111. package/src/constants.ts +1 -0
  112. package/src/index.ts +4 -1
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.20.0 (2024-01-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **FF-4133:** add arrowLeft and arrowRight icons ([86d9c14](https://github.com/cloud-ru-tech/snack-uikit/commit/86d9c1488685409f3bda2df63793c201b38acbb4))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.19.2 (2023-12-18)
7
18
 
8
19
 
package/README.md CHANGED
@@ -3,6 +3,50 @@
3
3
  ## Installation
4
4
  `npm i @snack-uikit/icons`
5
5
 
6
+ ## Как подключить иконки в проект
7
+
8
+ 1. Подключите `svg-inline-loader` в конфигурацию webpack-a:
9
+
10
+ ```typescript
11
+ import { SVG_SPRITE_WEBPACK_REG_EXP } from '@snack-uikit/icons';
12
+
13
+ export default {
14
+ module: {
15
+ rules: [
16
+ {
17
+ test: SVG_SPRITE_WEBPACK_REG_EXP, // /\.symbol.svg$/,
18
+ use: 'svg-inline-loader'
19
+ },
20
+ ],
21
+ },
22
+ ...
23
+ };
24
+ ```
25
+
26
+ 2. Подключите спрайт с иконками в проект
27
+
28
+ ```typescript jsx
29
+ import { Sprite, SpriteSVG } from '@snack-uikit/icons';
30
+
31
+ function App () {
32
+ return (
33
+ <>
34
+ <Sprite content={SpriteSVG} />
35
+ </>
36
+ );
37
+ }
38
+ ```
39
+
40
+ 3. Используйте иконки как обычные реакт-компоненты:
41
+
42
+ ```typescript jsx
43
+ import { ChevronLeftSVG } from '@snack-uikit/icons';
44
+
45
+ function MyComponent () {
46
+ return <div><ChevronLeftSVG /></div>
47
+ }
48
+ ```
49
+
6
50
  ## Как добавить новую иконку
7
51
 
8
52
  1. Добавьте новый svg-файл в соответсвующую коллекцию иконок в папке svgs (это может быть новый размер иконки). Далее все нужные файлы сгенерятся автоматически во время релиза пакета.
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare function SpriteInner({ content }: {
3
+ content: string;
4
+ }): null;
5
+ export declare const Sprite: import("react").MemoExoticComponent<typeof SpriteInner>;
6
+ export {};
package/dist/Sprite.js ADDED
@@ -0,0 +1,18 @@
1
+ import { useLayoutEffect, useState, memo } from 'react';
2
+ // via external object - <object data={Sprite} aria-label={'sprite'}/>
3
+ // but need to provide a link inside icons
4
+ function SpriteInner({ content }) {
5
+ const [div] = useState(() => document.createElement('div'));
6
+ useLayoutEffect(() => {
7
+ div.style.display = 'none';
8
+ document.body.prepend(div);
9
+ return () => {
10
+ document.body.removeChild(div);
11
+ };
12
+ }, []);
13
+ useLayoutEffect(() => {
14
+ div.innerHTML = content;
15
+ }, [content]);
16
+ return null;
17
+ }
18
+ export const Sprite = memo(SpriteInner);
@@ -0,0 +1 @@
1
+ export * from './interface-icons';
@@ -0,0 +1 @@
1
+ export * from './interface-icons';
@@ -14,7 +14,7 @@ const SvgAlarmFilledS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-alarm-filled-s';
17
+ const testId = '-alarm-filled-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgAlarmFilledS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { d: 'M11.36 3.281a8.397 8.397 0 0 0-3.22.879c-2.805 1.379-4.618 4.072-4.867 7.23-.138 1.749.34 3.688 1.28 5.203a9.064 9.064 0 0 0 2.854 2.854c1.515.94 3.454 1.418 5.203 1.28 2.157-.17 4.066-1.043 5.57-2.547 1.504-1.504 2.377-3.413 2.547-5.57.214-2.713-.977-5.533-3.073-7.281-1.792-1.493-3.976-2.204-6.294-2.048m1.345 3.53a.835.835 0 0 1 .378.463c.064.214-.321 5.61-.414 5.787a.814.814 0 0 1-.669.419.814.814 0 0 1-.669-.419c-.093-.177-.478-5.573-.414-5.787a.749.749 0 0 1 .543-.519c.221-.057 1.106-.018 1.245.056m-.262 8.539c.527.267.704.889.406 1.422a1.075 1.075 0 0 1-.692.489 1.008 1.008 0 0 1-1.013-.501c-.108-.192-.124-.258-.123-.52.001-.228.021-.338.086-.46a.995.995 0 0 1 1.336-.43' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgAlarmFilledS;
@@ -14,7 +14,7 @@ const SvgAlarmFilledXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-alarm-filled-xs';
17
+ const testId = '-alarm-filled-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgAlarmFilledXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { d: 'M7.48 1.269c-1.389.143-2.48.556-3.533 1.339-.373.277-1.058.956-1.324 1.312-1.585 2.124-1.815 4.895-.599 7.213.336.641.653 1.065 1.215 1.628.563.562.987.879 1.628 1.215a6.745 6.745 0 0 0 6.266 0c.641-.336 1.065-.653 1.628-1.215.698-.698 1.136-1.35 1.488-2.214a6.754 6.754 0 0 0-.273-5.68c-.333-.635-.651-1.063-1.202-1.616-1.068-1.072-2.307-1.699-3.814-1.931-.268-.041-1.247-.074-1.48-.051M8.508 3.8a.726.726 0 0 1 .479.685c.001.4-.242 3.612-.283 3.753-.084.284-.395.509-.704.509-.309 0-.62-.225-.704-.509-.042-.142-.284-3.355-.283-3.759a.724.724 0 0 1 .47-.677c.15-.055.87-.056 1.025-.002m-.161 6.266a.998.998 0 0 1 .588.597c.045.122.054.196.047.391-.007.208-.021.265-.096.419-.102.207-.27.369-.486.469-.125.058-.184.069-.4.069-.216 0-.275-.011-.4-.069a1.005 1.005 0 0 1-.486-.47c-.083-.168-.087-.193-.087-.472 0-.268.006-.305.073-.432.142-.27.358-.45.634-.527.172-.048.435-.037.613.025' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgAlarmFilledXs;
@@ -14,7 +14,7 @@ const SvgArrowDownS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-arrow-down-s';
17
+ const testId = '-arrow-down-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgArrowDownS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M11.82 5.276a.729.729 0 0 0-.538.515c-.028.099-.042 1.87-.042 5.268v5.12l-1.93-1.927c-1.365-1.363-1.965-1.936-2.05-1.958-.182-.048-.474-.03-.604.038-.222.116-.416.413-.416.637.001.33-.039.286 2.693 3.024 1.434 1.437 2.653 2.637 2.708 2.666a.79.79 0 0 0 .563.061c.159-.042.424-.293 2.789-2.653 1.437-1.434 2.637-2.653 2.666-2.708a.77.77 0 0 0-.31-1.025c-.134-.069-.425-.089-.609-.04-.085.022-.685.595-2.05 1.958l-1.93 1.927v-5.12c0-3.398-.014-5.169-.042-5.268a.8.8 0 0 0-.353-.448.951.951 0 0 0-.545-.067' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgArrowDownS;
@@ -14,7 +14,7 @@ const SvgArrowDownXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-arrow-down-xs';
17
+ const testId = '-arrow-down-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgArrowDownXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M7.691 2.318a.825.825 0 0 0-.374.386l-.063.136v4.173l-.001 4.173-1.406-1.405C4.78 8.716 4.411 8.363 4.32 8.322c-.161-.072-.475-.075-.629-.004A.78.78 0 0 0 3.254 9c0 .329-.079.239 2.221 2.539C7.774 13.838 7.662 13.741 8 13.741c.338 0 .226.097 2.524-2.202 1.492-1.493 2.101-2.12 2.144-2.206a.857.857 0 0 0 .073-.297.525.525 0 0 0-.054-.322.824.824 0 0 0-.378-.396c-.154-.071-.468-.068-.629.004-.091.041-.46.394-1.527 1.459l-1.406 1.405-.001-4.173V2.84l-.063-.136a.825.825 0 0 0-.374-.386.962.962 0 0 0-.618 0' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgArrowDownXs;
@@ -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?: string | number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgArrowLeftS: ({ size, ...props }: ISvgIconProps) => React.ReactElement | null;
9
+ export default SvgArrowLeftS;
@@ -0,0 +1,27 @@
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
+ const SvgArrowLeftS = (_a) => {
14
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
+ props.width = undefined;
16
+ props.height = undefined;
17
+ const testId = '-arrow-left-s';
18
+ const isCustomSize = typeof size === 'number';
19
+ if (isCustomSize) {
20
+ if (!props.style)
21
+ props.style = {};
22
+ props.style.width = size + 'px';
23
+ props.style.height = size + 'px';
24
+ }
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
+ };
27
+ export default SvgArrowLeftS;
@@ -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?: string | number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgArrowLeftXs: ({ size, ...props }: ISvgIconProps) => React.ReactElement | null;
9
+ export default SvgArrowLeftXs;
@@ -0,0 +1,27 @@
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
+ const SvgArrowLeftXs = (_a) => {
14
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
+ props.width = undefined;
16
+ props.height = undefined;
17
+ const testId = '-arrow-left-xs';
18
+ const isCustomSize = typeof size === 'number';
19
+ if (isCustomSize) {
20
+ if (!props.style)
21
+ props.style = {};
22
+ props.style.width = size + 'px';
23
+ props.style.height = size + 'px';
24
+ }
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
+ };
27
+ export default SvgArrowLeftXs;
@@ -0,0 +1,8 @@
1
+ import { SVGProps } from 'react';
2
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
3
+ className?: string;
4
+ size?: string | number;
5
+ style?: React.CSSProperties;
6
+ }
7
+ declare const ArrowLeftSVG: ({ size, ...props }: ISvgIconProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default ArrowLeftSVG;
@@ -0,0 +1,19 @@
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 './ArrowLeftS';
14
+ import { default as XsSVG } from './ArrowLeftXs';
15
+ const ArrowLeftSVG = (_a) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ return Number(size) >= 20 ? _jsx(SSVG, Object.assign({ size: size }, props)) : _jsx(XsSVG, Object.assign({ size: size }, props));
18
+ };
19
+ export default ArrowLeftSVG;
@@ -14,7 +14,7 @@ const SvgArrowLinksS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-arrow-links-s';
17
+ const testId = '-arrow-links-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgArrowLinksS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M8.805 8.28c-.391.092-.633.519-.524.924.059.218.288.453.5.511.107.03.856.045 2.279.045h2.119l-2.426 2.43c-2.184 2.186-2.432 2.448-2.473 2.605a.75.75 0 0 0 .925.925c.157-.041.419-.289 2.605-2.473l2.43-2.426v2.119c0 1.423.015 2.172.045 2.279.059.213.293.441.513.5.4.108.812-.12.92-.51.027-.097.042-1.237.042-3.24 0-2.7-.008-3.11-.062-3.24a.734.734 0 0 0-.398-.413c-.151-.07-.327-.074-3.26-.071-1.705.002-3.161.018-3.235.035' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgArrowLinksS;
@@ -14,7 +14,7 @@ const SvgArrowLinksXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-arrow-links-xs';
17
+ const testId = '-arrow-links-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgArrowLinksXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M7.813 4.265 4.76 4.28l-.107.058a.751.751 0 0 0 .051 1.347l.136.062 2.173.007 2.172.008L6.78 8.167C4.145 10.804 4.257 10.678 4.258 11c0 .413.33.743.742.743.323 0 .196.112 2.833-2.523l2.405-2.405.008 2.172.007 2.173.062.136c.274.606 1.143.587 1.381-.031.049-.127.051-.247.051-3.278 0-2.534-.007-3.166-.035-3.246-.048-.136-.249-.352-.389-.42a.81.81 0 0 0-.286-.064c-.094-.004-1.544-.001-3.224.008' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgArrowLinksXs;
@@ -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?: string | number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgArrowRightS: ({ size, ...props }: ISvgIconProps) => React.ReactElement | null;
9
+ export default SvgArrowRightS;
@@ -0,0 +1,27 @@
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
+ const SvgArrowRightS = (_a) => {
14
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
+ props.width = undefined;
16
+ props.height = undefined;
17
+ const testId = '-arrow-right-s';
18
+ const isCustomSize = typeof size === 'number';
19
+ if (isCustomSize) {
20
+ if (!props.style)
21
+ props.style = {};
22
+ props.style.width = size + 'px';
23
+ props.style.height = size + 'px';
24
+ }
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
+ };
27
+ export default SvgArrowRightS;
@@ -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?: string | number;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const SvgArrowRightXs: ({ size, ...props }: ISvgIconProps) => React.ReactElement | null;
9
+ export default SvgArrowRightXs;
@@ -0,0 +1,27 @@
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
+ const SvgArrowRightXs = (_a) => {
14
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
+ props.width = undefined;
16
+ props.height = undefined;
17
+ const testId = '-arrow-right-xs';
18
+ const isCustomSize = typeof size === 'number';
19
+ if (isCustomSize) {
20
+ if (!props.style)
21
+ props.style = {};
22
+ props.style.width = size + 'px';
23
+ props.style.height = size + 'px';
24
+ }
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
+ };
27
+ export default SvgArrowRightXs;
@@ -0,0 +1,8 @@
1
+ import { SVGProps } from 'react';
2
+ export interface ISvgIconProps extends SVGProps<SVGSVGElement> {
3
+ className?: string;
4
+ size?: string | number;
5
+ style?: React.CSSProperties;
6
+ }
7
+ declare const ArrowRightSVG: ({ size, ...props }: ISvgIconProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default ArrowRightSVG;
@@ -0,0 +1,19 @@
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 './ArrowRightS';
14
+ import { default as XsSVG } from './ArrowRightXs';
15
+ const ArrowRightSVG = (_a) => {
16
+ var { size = 24 } = _a, props = __rest(_a, ["size"]);
17
+ return Number(size) >= 20 ? _jsx(SSVG, Object.assign({ size: size }, props)) : _jsx(XsSVG, Object.assign({ size: size }, props));
18
+ };
19
+ export default ArrowRightSVG;
@@ -14,7 +14,7 @@ const SvgArrowUpS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-arrow-up-s';
17
+ const testId = '-arrow-up-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgArrowUpS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M11.9 5.259a1.795 1.795 0 0 1-.16.04c-.184.039-5.356 5.216-5.445 5.449-.213.557.321 1.127.91.972.157-.041.379-.25 2.105-1.973l1.93-1.926v5.12c0 3.611.013 5.166.045 5.278.059.213.293.441.513.5.4.108.812-.12.92-.51.028-.099.042-1.87.042-5.268v-5.12l1.93 1.926c1.726 1.723 1.948 1.932 2.105 1.973a.75.75 0 0 0 .925-.925c-.041-.158-.305-.434-2.653-2.788-1.434-1.437-2.652-2.636-2.707-2.665-.106-.055-.392-.107-.46-.083' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgArrowUpS;
@@ -14,7 +14,7 @@ const SvgArrowUpXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-arrow-up-xs';
17
+ const testId = '-arrow-up-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgArrowUpXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M7.68 2.322c-.093.041-.594.528-2.205 2.139C3.681 6.254 3.38 6.567 3.322 6.693a.736.736 0 0 0 .159.84.691.691 0 0 0 .519.208c.329 0 .292.031 1.847-1.522l1.406-1.405.001 4.173v4.173l.063.136a.727.727 0 0 0 .683.445c.292 0 .53-.146.673-.415l.06-.113.007-4.199.007-4.199 1.407 1.405C11.708 7.772 11.671 7.741 12 7.741c.406 0 .711-.29.741-.705.025-.351.127-.232-2.215-2.575C8.914 2.85 8.413 2.363 8.32 2.322A.732.732 0 0 0 8 2.268a.732.732 0 0 0-.32.054' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgArrowUpXs;
@@ -14,7 +14,7 @@ const SvgCalendarS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-calendar-s';
17
+ const testId = '-calendar-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgCalendarS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M6.82 2.276a.729.729 0 0 0-.538.515c-.023.082-.042.438-.042.792v.643l-.451.045c-.746.073-1.221.291-1.724.793a2.742 2.742 0 0 0-.696 1.116l-.109.32v11l.109.32c.151.445.362.783.695 1.116.333.333.671.544 1.116.695l.32.109h13l.32-.109a2.736 2.736 0 0 0 1.116-.695c.333-.333.544-.671.695-1.116l.109-.32v-11l-.109-.32a2.742 2.742 0 0 0-.696-1.116c-.503-.502-.978-.72-1.724-.793l-.451-.045v-.643c0-.704-.031-.879-.186-1.063-.149-.177-.321-.253-.574-.253-.253 0-.425.076-.574.253-.155.185-.186.359-.186 1.07v.65H7.76v-.65c0-.711-.031-.885-.186-1.07a.777.777 0 0 0-.754-.244M6.24 5.91c.001.328.158.625.396.748.538.278 1.123-.111 1.124-.748v-.15h8.48v.15c.001.572.447.948.962.809.332-.089.557-.417.558-.813v-.155l.29.015a1.24 1.24 0 0 1 1.077.706c.086.174.094.247.105.978l.013.79H4.76v-.735c0-.806.027-.948.236-1.233.243-.33.584-.505.994-.509l.25-.003zm12.991 7.64-.011 3.79-.093.189c-.132.268-.416.534-.674.63-.213.08-.297.081-6.453.081-6.156 0-6.24-.001-6.453-.081-.258-.096-.542-.362-.674-.63l-.093-.189-.011-3.79-.01-3.79h14.482z' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgCalendarS;
@@ -14,7 +14,7 @@ const SvgCalendarXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-calendar-xs';
17
+ const testId = '-calendar-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgCalendarXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M4.68.33a.738.738 0 0 0-.365.377c-.059.126-.062.168-.07.846l-.009.714h-.761c-.865 0-.95.012-1.3.194a1.82 1.82 0 0 0-.849 1.019l-.059.187v8.666l.059.187c.153.484.56.924 1.026 1.109.331.132.194.129 5.648.129s5.317.003 5.648-.129a1.866 1.866 0 0 0 1.026-1.096l.059-.173.007-4.273c.008-4.683.015-4.471-.149-4.818a1.8 1.8 0 0 0-.807-.829c-.312-.159-.413-.173-1.259-.173h-.761l-.009-.714c-.008-.678-.011-.72-.07-.846A.71.71 0 0 0 11 .267a.71.71 0 0 0-.685.44c-.059.126-.062.168-.07.846l-.009.714H5.764l-.009-.714c-.008-.678-.011-.72-.07-.846A.71.71 0 0 0 5 .267a.666.666 0 0 0-.32.063m-.431 3.644c.019.254.081.407.218.545a.74.74 0 0 0 1.066 0c.137-.138.199-.291.218-.545l.017-.214h4.464l.017.214c.019.254.081.407.218.545a.74.74 0 0 0 1.066 0c.137-.138.199-.291.218-.545l.017-.214h.661c.661 0 .661 0 .736.064l.075.065.007 1.189.008 1.189-5.248-.007-5.247-.007V3.889l.075-.065c.075-.064.075-.064.736-.064h.661zm8.998 5.957c-.007 2.089-.009 2.172-.058 2.226a.368.368 0 0 1-.146.083c-.132.036-9.954.036-10.086 0a.368.368 0 0 1-.146-.083c-.049-.054-.051-.137-.058-2.226L2.746 7.76h10.508z' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgCalendarXs;
@@ -14,7 +14,7 @@ const SvgCheckS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-check-s';
17
+ const testId = '-check-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgCheckS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M15.819 8.276a.944.944 0 0 0-.186.067c-.035.02-1.274 1.233-2.754 2.694l-2.689 2.657-.222-.237c-.697-.744-1.565-1.594-1.677-1.642-.374-.16-.794.014-.975.405-.197.424-.132.523 1.268 1.962 1.113 1.143 1.2 1.223 1.392 1.277a.71.71 0 0 0 .596-.07c.161-.106 6.028-5.913 6.085-6.024.189-.366.052-.846-.292-1.022a.953.953 0 0 0-.546-.067' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgCheckS;
@@ -14,7 +14,7 @@ const SvgCheckXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-check-xs';
17
+ const testId = '-check-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgCheckXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M11.113 5.149a.805.805 0 0 0-.24.087c-.062.037-.959.914-1.993 1.949L7.001 9.066l-.921-.915c-.6-.597-.957-.933-1.027-.966-.155-.072-.47-.068-.616.008-.351.184-.505.532-.398.902.045.157.058.171 1.263 1.381.67.672 1.26 1.249 1.311 1.282a.765.765 0 0 0 .694.051c.062-.025.833-.777 2.34-2.283 2.051-2.05 2.252-2.258 2.3-2.387a.725.725 0 0 0-.164-.773.723.723 0 0 0-.67-.217' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgCheckXs;
@@ -14,7 +14,7 @@ const SvgCheckFilledS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-check-filled-s';
17
+ const testId = '-check-filled-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgCheckFilledS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { d: 'M11.36 3.281a8.397 8.397 0 0 0-3.22.879c-2.805 1.379-4.618 4.072-4.867 7.23-.138 1.749.34 3.688 1.28 5.203a9.064 9.064 0 0 0 2.854 2.854c1.515.94 3.454 1.418 5.203 1.28 2.157-.17 4.066-1.043 5.57-2.547 1.504-1.504 2.377-3.413 2.547-5.57.214-2.713-.977-5.533-3.073-7.281-1.792-1.493-3.976-2.204-6.294-2.048m5.07 5.627c.221.178.309.352.308.612a.562.562 0 0 1-.125.4c-.198.286-5.948 5.929-6.123 6.009a.725.725 0 0 1-.627-.009c-.182-.089-2.395-2.356-2.511-2.573-.101-.187-.093-.52.018-.715.177-.315.626-.452.961-.294.077.037.517.457.988.944.466.483.862.878.879.878.016 0 1.225-1.18 2.686-2.623 1.698-1.677 2.714-2.652 2.816-2.702a.702.702 0 0 1 .73.073' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgCheckFilledS;
@@ -14,7 +14,7 @@ const SvgCheckFilledXs = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-check-filled-xs';
17
+ const testId = '-check-filled-xs';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgCheckFilledXs = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 16, height: 16, fill: 'currentColor', viewBox: '0 0 16 16', "data-test-id": testId }, props, { children: _jsx("path", { d: 'M7.48 1.269c-1.389.143-2.48.556-3.533 1.339-.373.277-1.058.956-1.324 1.312-1.585 2.124-1.815 4.895-.599 7.213.336.641.653 1.065 1.215 1.628.563.562.987.879 1.628 1.215a6.745 6.745 0 0 0 6.266 0c.641-.336 1.065-.653 1.628-1.215.698-.698 1.136-1.35 1.488-2.214a6.754 6.754 0 0 0-.273-5.68c-.333-.635-.651-1.063-1.202-1.616-1.068-1.072-2.307-1.699-3.814-1.931-.268-.041-1.247-.074-1.48-.051m4.09 3.937c.33.155.495.529.391.89l-.045.157-2.245 2.248c-1.515 1.517-2.279 2.264-2.351 2.298a.712.712 0 0 1-.523.04l-.17-.047-1.236-1.229c-.904-.9-1.254-1.265-1.305-1.363-.057-.109-.07-.17-.07-.333-.001-.172.01-.221.077-.343a.742.742 0 0 1 .883-.365c.154.045.175.063 1.091.976l.934.931L8.88 7.185c1.034-1.035 1.93-1.911 1.991-1.948a.754.754 0 0 1 .699-.031' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgCheckFilledXs;
@@ -14,7 +14,7 @@ const SvgChevronDownS = (_a) => {
14
14
  var { size = 24 } = _a, props = __rest(_a, ["size"]);
15
15
  props.width = undefined;
16
16
  props.height = undefined;
17
- const testId = 'icon-chevron-down-s';
17
+ const testId = '-chevron-down-s';
18
18
  const isCustomSize = typeof size === 'number';
19
19
  if (isCustomSize) {
20
20
  if (!props.style)
@@ -22,6 +22,6 @@ const SvgChevronDownS = (_a) => {
22
22
  props.style.width = size + 'px';
23
23
  props.style.height = size + 'px';
24
24
  }
25
- return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'M7.9 10.259a1.438 1.438 0 0 1-.147.037c-.236.052-.51.407-.512.664-.002.334-.018.316 2.192 2.533 1.159 1.162 2.153 2.137 2.208 2.166a.79.79 0 0 0 .563.061c.158-.042.386-.256 2.289-2.153 1.162-1.159 2.137-2.153 2.166-2.208a.77.77 0 0 0-.31-1.025c-.134-.069-.425-.089-.609-.04-.085.022-.653.564-1.93 1.838L12 13.939l-1.79-1.785c-.985-.982-1.826-1.803-1.87-1.825-.092-.045-.38-.091-.44-.07' }) })));
25
+ return (_jsx("svg", Object.assign({ 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) }) })));
26
26
  };
27
27
  export default SvgChevronDownS;