@cloud-ru/uikit-product-site-section 1.7.1 → 1.7.2-preview-dc72cc0f.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/README.md CHANGED
@@ -327,7 +327,7 @@
327
327
  | layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
328
328
  | title | `string` | - | Название секции |
329
329
  | subtitle | `string` | - | Подзаголовок секции |
330
- | titleLink | `PickLinkProps<(<T extends ElementType = "a">({ text, className, textMode, size, purpose, appearance, insideText, truncateVariant, as, ...rest }: LinkProps<T>) => Element), "onClick" \| "appearance" \| "href" \| "target" \| "textMode">` | - | Ссылка в названии |
330
+ | titleLink | `PickLinkProps<"a", "onClick" \| "appearance" \| "href" \| "target" \| "textMode">` | - | Ссылка в названии |
331
331
  | description | `string` | - | Описание секции |
332
332
  | titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
333
333
  | titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
@@ -1,5 +1,5 @@
1
1
  import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
- import { Link, PickLinkProps } from '@snack-uikit/link';
2
+ import { PickLinkProps } from '@snack-uikit/link';
3
3
  import { SectionTag, Size } from './types';
4
4
  export type SectionTitleProps = WithLayoutType<{
5
5
  /** Название секции */
@@ -7,7 +7,7 @@ export type SectionTitleProps = WithLayoutType<{
7
7
  /** Подзаголовок секции */
8
8
  subtitle?: string;
9
9
  /** Ссылка в названии */
10
- titleLink?: PickLinkProps<typeof Link, 'href' | 'onClick' | 'target' | 'appearance' | 'textMode'>;
10
+ titleLink?: PickLinkProps<'a', 'href' | 'onClick' | 'target' | 'appearance' | 'textMode'>;
11
11
  /** Описание секции */
12
12
  description?: string;
13
13
  /** Размер шрифтов заголовка и подзаголовка */
@@ -1,5 +1,5 @@
1
1
  import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
2
- import { Link, PickLinkProps } from '@snack-uikit/link';
2
+ import { PickLinkProps } from '@snack-uikit/link';
3
3
  import { SectionTag, Size } from './types';
4
4
  export type SectionTitleProps = WithLayoutType<{
5
5
  /** Название секции */
@@ -7,7 +7,7 @@ export type SectionTitleProps = WithLayoutType<{
7
7
  /** Подзаголовок секции */
8
8
  subtitle?: string;
9
9
  /** Ссылка в названии */
10
- titleLink?: PickLinkProps<typeof Link, 'href' | 'onClick' | 'target' | 'appearance' | 'textMode'>;
10
+ titleLink?: PickLinkProps<'a', 'href' | 'onClick' | 'target' | 'appearance' | 'textMode'>;
11
11
  /** Описание секции */
12
12
  description?: string;
13
13
  /** Размер шрифтов заголовка и подзаголовка */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloud-ru/uikit-product-site-section",
3
3
  "title": "Site Section",
4
- "version": "1.7.1",
4
+ "version": "1.7.2-preview-dc72cc0f.0",
5
5
  "sideEffects": [
6
6
  "*.css",
7
7
  "*.woff",
@@ -37,20 +37,20 @@
37
37
  "scripts": {},
38
38
  "dependencies": {
39
39
  "@cloud-ru/uikit-product-icons": "17.5.1",
40
- "@cloud-ru/uikit-product-mobile-fields": "2.2.2",
41
- "@cloud-ru/uikit-product-site-cards": "1.3.2",
42
- "@cloud-ru/uikit-product-site-case-card": "1.2.3",
40
+ "@cloud-ru/uikit-product-mobile-fields": "2.2.3-preview-dc72cc0f.0",
41
+ "@cloud-ru/uikit-product-site-cards": "1.3.3-preview-dc72cc0f.0",
42
+ "@cloud-ru/uikit-product-site-case-card": "1.2.4-preview-dc72cc0f.0",
43
43
  "@cloud-ru/uikit-product-site-grid": "1.1.3",
44
44
  "@cloud-ru/uikit-product-site-layout": "1.1.3",
45
45
  "@cloud-ru/uikit-product-site-media": "1.1.13",
46
46
  "@cloud-ru/uikit-product-site-rich-text": "1.1.3",
47
47
  "@cloud-ru/uikit-product-site-table": "1.1.5",
48
48
  "@cloud-ru/uikit-product-utils": "9.1.0",
49
- "@snack-uikit/accordion": "0.11.23",
49
+ "@snack-uikit/accordion": "0.11.26",
50
50
  "@snack-uikit/button": "0.19.7",
51
- "@snack-uikit/card": "0.20.20",
51
+ "@snack-uikit/card": "0.20.23",
52
52
  "@snack-uikit/carousel": "0.6.11",
53
- "@snack-uikit/link": "0.17.20",
53
+ "@snack-uikit/link": "0.18.3",
54
54
  "@snack-uikit/pagination": "0.10.24",
55
55
  "@snack-uikit/tabs": "0.9.3",
56
56
  "@snack-uikit/typography": "0.8.4",
@@ -67,5 +67,5 @@
67
67
  "@cloud-ru/uikit-product-locale": "*",
68
68
  "@snack-uikit/figma-tokens": "*"
69
69
  },
70
- "gitHead": "7e5052322e20a0a7fcd9dc03ff788a9ccf2167d4"
70
+ "gitHead": "629defe3f47127f01232590d57648264bd71df37"
71
71
  }
@@ -15,7 +15,7 @@ export type SectionTitleProps = WithLayoutType<{
15
15
  /** Подзаголовок секции */
16
16
  subtitle?: string;
17
17
  /** Ссылка в названии */
18
- titleLink?: PickLinkProps<typeof Link, 'href' | 'onClick' | 'target' | 'appearance' | 'textMode'>;
18
+ titleLink?: PickLinkProps<'a', 'href' | 'onClick' | 'target' | 'appearance' | 'textMode'>;
19
19
  /** Описание секции */
20
20
  description?: string;
21
21
  /** Размер шрифтов заголовка и подзаголовка */