@salutejs/sdds-dfa 0.165.1-canary.32.11735924898.0 → 0.166.0-canary.1500.11737623495.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -538,6 +538,7 @@ true: PolymorphicClassName;
538
538
  text?: string | undefined;
539
539
  contentLeft?: ReactNode;
540
540
  contentRight?: ReactNode;
541
+ maxWidth?: Property.Width<string | number> | undefined;
541
542
  size?: string | undefined;
542
543
  view?: string | undefined;
543
544
  } & {
@@ -550,6 +551,7 @@ transparent?: false | undefined;
550
551
  text?: string | undefined;
551
552
  contentLeft?: ReactNode;
552
553
  contentRight?: ReactNode;
554
+ maxWidth?: Property.Width<string | number> | undefined;
553
555
  size?: string | undefined;
554
556
  view?: string | undefined;
555
557
  } & {
@@ -562,6 +564,7 @@ clear?: false | undefined;
562
564
  text?: string | undefined;
563
565
  contentLeft?: ReactNode;
564
566
  contentRight?: ReactNode;
567
+ maxWidth?: Property.Width<string | number> | undefined;
565
568
  size?: string | undefined;
566
569
  view?: string | undefined;
567
570
  } & {
@@ -31,6 +31,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
31
31
  text?: string | undefined;
32
32
  contentLeft?: import("react").ReactNode;
33
33
  contentRight?: import("react").ReactNode;
34
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
34
35
  size?: string | undefined;
35
36
  view?: string | undefined;
36
37
  } & {
@@ -43,6 +44,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
43
44
  text?: string | undefined;
44
45
  contentLeft?: import("react").ReactNode;
45
46
  contentRight?: import("react").ReactNode;
47
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
46
48
  size?: string | undefined;
47
49
  view?: string | undefined;
48
50
  } & {
@@ -55,6 +57,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
55
57
  text?: string | undefined;
56
58
  contentLeft?: import("react").ReactNode;
57
59
  contentRight?: import("react").ReactNode;
60
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
58
61
  size?: string | undefined;
59
62
  view?: string | undefined;
60
63
  } & {
@@ -23,6 +23,9 @@ declare const HorizontalTabItem: React.FunctionComponent<import("@salutejs/plasm
23
23
  pilled: {
24
24
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
25
  };
26
+ truncate: {
27
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
28
+ };
26
29
  }> & ((import("@salutejs/plasma-new-hope/styled-components").BaseTabItemProps & {
27
30
  orientation?: "horizontal" | undefined;
28
31
  contentLeft?: React.ReactNode;
@@ -70,6 +73,9 @@ declare const VerticalTabItem: React.FunctionComponent<import("@salutejs/plasma-
70
73
  disabled: {
71
74
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
72
75
  };
76
+ truncate: {
77
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
78
+ };
73
79
  }> & ((import("@salutejs/plasma-new-hope/styled-components").BaseTabItemProps & {
74
80
  orientation: "vertical";
75
81
  contentLeft?: React.ReactNode;
@@ -27,5 +27,8 @@ export declare const config: {
27
27
  pilled: {
28
28
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
29
29
  };
30
+ truncate: {
31
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
32
+ };
30
33
  };
31
34
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.config = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
9
9
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
10
  var config = exports.config = {
11
11
  defaults: {
@@ -35,6 +35,9 @@ var config = exports.config = {
35
35
  },
36
36
  pilled: {
37
37
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n "])), _styledComponents.tabsTokens.itemPilledBorderRadius)
38
+ },
39
+ truncate: {
40
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral([""])))
38
41
  }
39
42
  }
40
43
  };
@@ -16,5 +16,8 @@ export declare const config: {
16
16
  disabled: {
17
17
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
18
  };
19
+ truncate: {
20
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
+ };
19
22
  };
20
23
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.config = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
9
9
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
10
  var config = exports.config = {
11
11
  defaults: {
@@ -24,6 +24,9 @@ var config = exports.config = {
24
24
  },
25
25
  disabled: {
26
26
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.tabsTokens.disabledOpacity)
27
+ },
28
+ truncate: {
29
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral([""])))
27
30
  }
28
31
  }
29
32
  };
@@ -1,4 +1,4 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
2
2
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
3
  import { css, tabsTokens } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export var config = {
@@ -29,6 +29,9 @@ export var config = {
29
29
  },
30
30
  pilled: {
31
31
  "true": /*#__PURE__*/css(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n "])), tabsTokens.itemPilledBorderRadius)
32
+ },
33
+ truncate: {
34
+ "true": /*#__PURE__*/css(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral([""])))
32
35
  }
33
36
  }
34
37
  };
@@ -1,4 +1,4 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
2
2
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
3
  import { css, tabsTokens } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export var config = {
@@ -18,6 +18,9 @@ export var config = {
18
18
  },
19
19
  disabled: {
20
20
  "true": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), tabsTokens.disabledOpacity)
21
+ },
22
+ truncate: {
23
+ "true": /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral([""])))
21
24
  }
22
25
  }
23
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-dfa",
3
- "version": "0.165.1-canary.32.11735924898.0",
3
+ "version": "0.166.0-canary.1500.11737623495.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS DFA web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "directory": "packages/sdds-dfa"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.185.1-canary.32.11735924898.0",
23
- "@salutejs/sdds-themes": "0.27.1-canary.32.11735924898.0"
22
+ "@salutejs/plasma-new-hope": "0.186.0-canary.1500.11737623495.0",
23
+ "@salutejs/sdds-themes": "0.27.0-dev.0"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.13.1",
@@ -36,11 +36,11 @@
36
36
  "@babel/preset-react": "7.24.1",
37
37
  "@babel/preset-typescript": "7.24.1",
38
38
  "@microsoft/api-extractor": "7.38.3",
39
- "@salutejs/plasma-colors": "0.13.1-canary.32.11735924898.0",
40
- "@salutejs/plasma-core": "1.185.1-canary.32.11735924898.0",
41
- "@salutejs/plasma-cy-utils": "0.116.1-canary.32.11735924898.0",
42
- "@salutejs/plasma-icons": "1.208.1-canary.32.11735924898.0",
43
- "@salutejs/plasma-sb-utils": "0.183.1-canary.32.11735924898.0",
39
+ "@salutejs/plasma-colors": "0.13.0",
40
+ "@salutejs/plasma-core": "1.185.0-dev.0",
41
+ "@salutejs/plasma-cy-utils": "0.116.0-dev.0",
42
+ "@salutejs/plasma-icons": "1.208.0-dev.0",
43
+ "@salutejs/plasma-sb-utils": "0.183.0-dev.0",
44
44
  "@storybook/addon-docs": "7.6.17",
45
45
  "@storybook/addon-essentials": "7.6.17",
46
46
  "@storybook/addons": "7.6.17",
@@ -95,5 +95,5 @@
95
95
  "Anton Vinogradov"
96
96
  ],
97
97
  "sideEffects": false,
98
- "gitHead": "90400d0f4ad7f940d51945e38d514c063070e59d"
98
+ "gitHead": "a5648157bd13c25fc7371b273155cad10d77fdd3"
99
99
  }
@@ -538,6 +538,7 @@ true: PolymorphicClassName;
538
538
  text?: string | undefined;
539
539
  contentLeft?: ReactNode;
540
540
  contentRight?: ReactNode;
541
+ maxWidth?: Property.Width<string | number> | undefined;
541
542
  size?: string | undefined;
542
543
  view?: string | undefined;
543
544
  } & {
@@ -550,6 +551,7 @@ transparent?: false | undefined;
550
551
  text?: string | undefined;
551
552
  contentLeft?: ReactNode;
552
553
  contentRight?: ReactNode;
554
+ maxWidth?: Property.Width<string | number> | undefined;
553
555
  size?: string | undefined;
554
556
  view?: string | undefined;
555
557
  } & {
@@ -562,6 +564,7 @@ clear?: false | undefined;
562
564
  text?: string | undefined;
563
565
  contentLeft?: ReactNode;
564
566
  contentRight?: ReactNode;
567
+ maxWidth?: Property.Width<string | number> | undefined;
565
568
  size?: string | undefined;
566
569
  view?: string | undefined;
567
570
  } & {