@snack-uikit/icons 0.26.5-preview-76bcef09.0 → 0.27.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 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.27.0 (2025-06-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * **FF-6683:** add data-test-id prop ([b228869](https://github.com/cloud-ru-tech/snack-uikit/commit/b2288696c849582c9f298045bcc6fc0785df41aa))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.26.4 (2025-06-16)
7
18
 
8
19
  **Note:** Version bump only for package @snack-uikit/icons
@@ -6,11 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.Sprite = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const react_1 = require("react");
9
- const utils_1 = require("@snack-uikit/utils");
10
9
  exports.Sprite = (0, react_1.memo)(function Sprite(props) {
11
- if (!(0, utils_1.isBrowser)()) {
12
- return null;
13
- }
14
10
  return (0, jsx_runtime_1.jsx)("div", {
15
11
  "data-test-id": props['data-test-id'],
16
12
  style: {
@@ -1,9 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { memo } from 'react';
3
- import { isBrowser } from '@snack-uikit/utils';
4
3
  export const Sprite = memo(function Sprite(props) {
5
- if (!isBrowser()) {
6
- return null;
7
- }
8
4
  return (_jsx("div", { "data-test-id": props['data-test-id'], style: { display: 'none' }, dangerouslySetInnerHTML: { __html: props.content } }));
9
5
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Icons",
7
- "version": "0.26.5-preview-76bcef09.0",
7
+ "version": "0.27.0",
8
8
  "sideEffects": [
9
9
  "*.svg",
10
10
  "*.css",
@@ -56,5 +56,5 @@
56
56
  "svg-sprite": "2.0.2",
57
57
  "svgo": "3.1.0"
58
58
  },
59
- "gitHead": "f319535e21d641f07f7f7f20ae249d94b7586544"
59
+ "gitHead": "2bb3c9e0c3ff3a3c0af4aec92b62bee5ab387456"
60
60
  }
package/src/Sprite.tsx CHANGED
@@ -1,17 +1,11 @@
1
1
  import { memo } from 'react';
2
2
 
3
- import { isBrowser } from '@snack-uikit/utils';
4
-
5
3
  type SpriteProps = {
6
4
  content: string;
7
5
  'data-test-id'?: string;
8
6
  };
9
7
 
10
8
  export const Sprite = memo(function Sprite(props: SpriteProps) {
11
- if (!isBrowser()) {
12
- return null;
13
- }
14
-
15
9
  return (
16
10
  <div
17
11
  data-test-id={props['data-test-id']}