@cloud-ru/uikit-product-site-article 0.2.3 → 0.3.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 (27) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/components/ArticleLinks/ArticleLinks.d.ts +1 -1
  3. package/dist/cjs/components/ArticleRichText/ArticleRichText.d.ts +1 -1
  4. package/dist/cjs/components/ArticleTypography/ArticleTypography.d.ts +2 -2
  5. package/dist/cjs/components/DropdownShare/DropdownShare.js +1 -1
  6. package/dist/cjs/components/FooterArticle/FooterArticle.d.ts +1 -1
  7. package/dist/cjs/components/Highlight/Highlight.d.ts +1 -1
  8. package/dist/cjs/components/Highlight/styles.module.css +1 -0
  9. package/dist/cjs/components/ImageArticle/styles.module.css +3 -0
  10. package/dist/cjs/components/Products/Products.d.ts +1 -1
  11. package/dist/cjs/components/Quote/Quote.d.ts +1 -1
  12. package/dist/cjs/components/Quote/styles.module.css +1 -0
  13. package/dist/esm/components/ArticleLinks/ArticleLinks.d.ts +1 -1
  14. package/dist/esm/components/ArticleRichText/ArticleRichText.d.ts +1 -1
  15. package/dist/esm/components/ArticleTypography/ArticleTypography.d.ts +2 -2
  16. package/dist/esm/components/DropdownShare/DropdownShare.js +1 -1
  17. package/dist/esm/components/FooterArticle/FooterArticle.d.ts +1 -1
  18. package/dist/esm/components/Highlight/Highlight.d.ts +1 -1
  19. package/dist/esm/components/Highlight/styles.module.css +1 -0
  20. package/dist/esm/components/ImageArticle/styles.module.css +3 -0
  21. package/dist/esm/components/Products/Products.d.ts +1 -1
  22. package/dist/esm/components/Quote/Quote.d.ts +1 -1
  23. package/dist/esm/components/Quote/styles.module.css +1 -0
  24. package/package.json +2 -3
  25. package/src/components/Highlight/styles.module.scss +1 -0
  26. package/src/components/ImageArticle/styles.module.scss +4 -0
  27. package/src/components/Quote/styles.module.scss +1 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
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.3.0 (2025-12-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **SITE-10394:** add border radius ([5e950bc](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/5e950bce806fab0a3213eef811a7ebcb411f1860))
12
+
13
+
14
+
15
+
16
+
17
+ ## 0.2.4 (2025-11-13)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **PD-3377:** removed contributors ([121640f](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/121640f7b88b20a728a6ad2c39de8841532bb308))
23
+
24
+
25
+
26
+
27
+
6
28
  ## 0.2.3 (2025-11-12)
7
29
 
8
30
 
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
3
3
  export type ArticleLink = {
4
4
  id: string;
5
5
  text: string;
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  export type ArticleRichTextProps = WithLayoutType<{
3
3
  richText: string;
4
4
  }>;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
3
3
  export type ArticleTypographyProps = WithLayoutType<{
4
4
  className?: string;
5
5
  tag: 'span' | 'div' | 'p';
@@ -8,6 +8,6 @@ export type ArticleTypographyProps = WithLayoutType<{
8
8
  }>;
9
9
  export declare function ArticleTypography(props: ArticleTypographyProps): import("react").DetailedReactHTMLElement<{
10
10
  className: string;
11
- 'data-layout-type': import("@sbercloud/uikit-product-utils").LayoutType;
11
+ 'data-layout-type': import("@cloud-ru/uikit-product-utils").LayoutType;
12
12
  'data-type': "body" | "bodyBold" | "bodyLink";
13
13
  }, HTMLElement>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DropdownShare = DropdownShare;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const uikit_product_icons_1 = require("@sbercloud/uikit-product-icons");
5
+ const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
6
6
  const button_1 = require("@snack-uikit/button");
7
7
  const list_1 = require("@snack-uikit/list");
8
8
  const SHARE_OPTIONS_TYPE = {
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  import { DropdownShareOption } from '../DropdownShare';
3
3
  export type FooterArticleProps = WithLayoutType<{
4
4
  releaseDate: string;
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  export type HighlightProps = WithLayoutType<{
3
3
  richText: string;
4
4
  }>;
@@ -3,4 +3,5 @@
3
3
  background-color:var(--sys-neutral-background, #eeeff3);
4
4
  padding:24px;
5
5
  color:var(--sys-neutral-text-main, #41424e);
6
+ border-radius:4px;
6
7
  }
@@ -4,6 +4,9 @@
4
4
  flex-direction:column;
5
5
  gap:12px;
6
6
  }
7
+ .imageArticle img{
8
+ border-radius:4px;
9
+ }
7
10
 
8
11
  .description{
9
12
  color:var(--sys-neutral-text-support, #656774);
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
3
3
  export type ArticleProduct = {
4
4
  name: string;
5
5
  icon: string;
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  export type QuoteProps = WithLayoutType<{
3
3
  text: string;
4
4
  image?: string;
@@ -38,6 +38,7 @@
38
38
  border:var(--border-width-general-xs, 1px) solid var(--sys-neutral-decor-default, #dde0ea);
39
39
  width:48px;
40
40
  height:48px;
41
+ border-radius:4px;
41
42
  }
42
43
  .author .authorNameWrapper{
43
44
  display:flex;
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
3
3
  export type ArticleLink = {
4
4
  id: string;
5
5
  text: string;
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  export type ArticleRichTextProps = WithLayoutType<{
3
3
  richText: string;
4
4
  }>;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
3
3
  export type ArticleTypographyProps = WithLayoutType<{
4
4
  className?: string;
5
5
  tag: 'span' | 'div' | 'p';
@@ -8,6 +8,6 @@ export type ArticleTypographyProps = WithLayoutType<{
8
8
  }>;
9
9
  export declare function ArticleTypography(props: ArticleTypographyProps): import("react").DetailedReactHTMLElement<{
10
10
  className: string;
11
- 'data-layout-type': import("@sbercloud/uikit-product-utils").LayoutType;
11
+ 'data-layout-type': import("@cloud-ru/uikit-product-utils").LayoutType;
12
12
  'data-type': "body" | "bodyBold" | "bodyLink";
13
13
  }, HTMLElement>;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { LinkSVG, ShareSVG, TelegramSVG, VkSVG } from '@sbercloud/uikit-product-icons';
2
+ import { LinkSVG, ShareSVG, TelegramSVG, VkSVG } from '@cloud-ru/uikit-product-icons';
3
3
  import { ButtonFunction } from '@snack-uikit/button';
4
4
  import { Droplist } from '@snack-uikit/list';
5
5
  const SHARE_OPTIONS_TYPE = {
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  import { DropdownShareOption } from '../DropdownShare';
3
3
  export type FooterArticleProps = WithLayoutType<{
4
4
  releaseDate: string;
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  export type HighlightProps = WithLayoutType<{
3
3
  richText: string;
4
4
  }>;
@@ -3,4 +3,5 @@
3
3
  background-color:var(--sys-neutral-background, #eeeff3);
4
4
  padding:24px;
5
5
  color:var(--sys-neutral-text-main, #41424e);
6
+ border-radius:4px;
6
7
  }
@@ -4,6 +4,9 @@
4
4
  flex-direction:column;
5
5
  gap:12px;
6
6
  }
7
+ .imageArticle img{
8
+ border-radius:4px;
9
+ }
7
10
 
8
11
  .description{
9
12
  color:var(--sys-neutral-text-support, #656774);
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
3
3
  export type ArticleProduct = {
4
4
  name: string;
5
5
  icon: string;
@@ -1,4 +1,4 @@
1
- import { WithLayoutType } from '@sbercloud/uikit-product-utils';
1
+ import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
2
  export type QuoteProps = WithLayoutType<{
3
3
  text: string;
4
4
  image?: string;
@@ -38,6 +38,7 @@
38
38
  border:var(--border-width-general-xs, 1px) solid var(--sys-neutral-decor-default, #dde0ea);
39
39
  width:48px;
40
40
  height:48px;
41
+ border-radius:4px;
41
42
  }
42
43
  .author .authorNameWrapper{
43
44
  display:flex;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloud-ru/uikit-product-site-article",
3
3
  "title": "Site Article",
4
- "version": "0.2.3",
4
+ "version": "0.3.0",
5
5
  "sideEffects": [
6
6
  "*.css",
7
7
  "*.woff",
@@ -30,7 +30,6 @@
30
30
  "name": "Akhremenko Grigorii",
31
31
  "url": "https://github.com/AGrigorii"
32
32
  },
33
- "contributors": [],
34
33
  "license": "Apache-2.0",
35
34
  "publishConfig": {
36
35
  "access": "public"
@@ -45,5 +44,5 @@
45
44
  "@snack-uikit/utils": "4.0.0",
46
45
  "classnames": "2.5.1"
47
46
  },
48
- "gitHead": "9c11b1e33e716c874534a1c162266c8591f2ed03"
47
+ "gitHead": "fdcf94a6757e590c66ace1a43667bb29ce748d64"
49
48
  }
@@ -6,4 +6,5 @@
6
6
  background-color: var.$sys-neutral-background;
7
7
  padding: 24px;
8
8
  color: var.$sys-neutral-text-main;
9
+ border-radius: 4px;
9
10
  }
@@ -6,6 +6,10 @@
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  gap: 12px;
9
+
10
+ img {
11
+ border-radius: 4px;
12
+ }
9
13
  }
10
14
 
11
15
  .description {
@@ -45,6 +45,7 @@
45
45
  border: var.$border-width-general-xs solid var.$sys-neutral-decor-default;
46
46
  width: 48px;
47
47
  height: 48px;
48
+ border-radius: 4px;
48
49
  }
49
50
 
50
51
  .authorNameWrapper {