@salutejs/sdds-dfa 0.161.0-canary.1500.11610401138.0 → 0.161.0-canary.1506.11620814697.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/api/sdds-dfa.api.md +5 -5
  2. package/components/Autocomplete/Autocomplete.config.js +4 -4
  3. package/components/Badge/Badge.d.ts +0 -3
  4. package/components/Calendar/CalendarBase.config.js +5 -5
  5. package/components/Calendar/CalendarDouble.config.js +5 -5
  6. package/components/Combobox/Combobox.config.js +4 -4
  7. package/components/DatePicker/DatePicker.config.js +5 -5
  8. package/components/Dropdown/Dropdown.config.js +1 -1
  9. package/components/Notification/Notification.config.d.ts +4 -0
  10. package/components/Notification/Notification.config.js +8 -4
  11. package/components/Select/Select.d.ts +2 -2
  12. package/components/Tabs/TabItem.d.ts +0 -6
  13. package/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  14. package/components/Tabs/horizontal/HorizontalTabItem.config.js +1 -4
  15. package/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  16. package/components/Tabs/vertical/VerticalTabItem.config.js +1 -4
  17. package/components/Toast/Toast.config.d.ts +4 -0
  18. package/components/Toast/Toast.config.js +8 -4
  19. package/components/Toast/Toast.d.ts +3 -0
  20. package/es/components/Autocomplete/Autocomplete.config.js +4 -4
  21. package/es/components/Calendar/CalendarBase.config.js +5 -5
  22. package/es/components/Calendar/CalendarDouble.config.js +5 -5
  23. package/es/components/Combobox/Combobox.config.js +4 -4
  24. package/es/components/DatePicker/DatePicker.config.js +5 -5
  25. package/es/components/Dropdown/Dropdown.config.js +1 -1
  26. package/es/components/Notification/Notification.config.js +8 -4
  27. package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +1 -4
  28. package/es/components/Tabs/vertical/VerticalTabItem.config.js +1 -4
  29. package/es/components/Toast/Toast.config.js +8 -4
  30. package/package.json +3 -3
  31. package/temp/sdds-dfa.api.md +5 -5
@@ -14,7 +14,7 @@ export var config = {
14
14
  xs: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 10rem;\n ", ": 0.5rem;\n\n ", ": 1rem;\n ", ": 0.5rem;\n ", ": 0.25rem 0.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n "])), tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight)
15
15
  },
16
16
  view: {
17
- "default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n "])), tokens.dividerColor)
17
+ "default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-tertiary);\n "])), tokens.itemBackgroundHover, tokens.dividerColor)
18
18
  }
19
19
  }
20
20
  };
@@ -1,9 +1,10 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
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, notificationTokens } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export var config = {
5
5
  defaults: {
6
- view: 'default'
6
+ view: 'default',
7
+ closeIconType: 'default'
7
8
  },
8
9
  variations: {
9
10
  view: {
@@ -13,9 +14,12 @@ export var config = {
13
14
  horizontal: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 25rem;\n ", ": 1rem 0.5rem 1rem 0.875rem;\n "])), notificationTokens.width, notificationTokens.horizontalLayoutPadding),
14
15
  vertical: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 15rem;\n ", ": 0.375rem;\n "])), notificationTokens.width, notificationTokens.padding)
15
16
  },
17
+ closeIconType: {
18
+ "default": /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 1.5rem;\n "])), notificationTokens.closeIconButtonSize, notificationTokens.closeIconSize)
19
+ },
16
20
  size: {
17
- xs: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0rem;\n "])), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft),
18
- xxs: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.8125rem;\n ", ": 1rem;\n\n ", ": 0.5625rem 1rem 1rem 1rem;\n ", ": 0.1875rem;\n\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 2rem;\n "])), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft)
21
+ xs: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0rem;\n "])), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft),
22
+ xxs: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.8125rem;\n ", ": 1rem;\n\n ", ": 0.5625rem 1rem 1rem 1rem;\n ", ": 0.1875rem;\n\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 2rem;\n "])), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft)
19
23
  }
20
24
  }
21
25
  };
@@ -1,4 +1,4 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
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,9 +29,6 @@ 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([""])))
35
32
  }
36
33
  }
37
34
  };
@@ -1,4 +1,4 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
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,9 +18,6 @@ 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([""])))
24
21
  }
25
22
  }
26
23
  };
@@ -1,10 +1,11 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
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, toastTokens } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export var config = {
5
5
  defaults: {
6
6
  view: 'default',
7
- size: 'm'
7
+ size: 'm',
8
+ closeIconType: 'default'
8
9
  },
9
10
  variations: {
10
11
  view: {
@@ -13,10 +14,13 @@ export var config = {
13
14
  light: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-surface-solid-primary-brightness);\n\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-light-text-secondary);\n "])), toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover)
14
15
  },
15
16
  size: {
16
- m: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": calc(100vw - 5rem);\n ", ": 0.5625rem 0.75rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.125rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.5rem;\n "])), toastTokens.borderRadius, toastTokens.maxWidth, toastTokens.padding, toastTokens.fontFamily, toastTokens.fontSize, toastTokens.fontStyle, toastTokens.fontWeight, toastTokens.letterSpacing, toastTokens.lineHeight, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
17
+ m: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": calc(100vw - 5rem);\n ", ": 0.5625rem 0.75rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.125rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.5rem;\n "])), toastTokens.borderRadius, toastTokens.maxWidth, toastTokens.padding, toastTokens.fontFamily, toastTokens.fontSize, toastTokens.fontStyle, toastTokens.fontWeight, toastTokens.letterSpacing, toastTokens.lineHeight, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
18
+ },
19
+ closeIconType: {
20
+ "default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.5rem;\n "])), toastTokens.closeIconButtonSize, toastTokens.closeIconSize)
17
21
  },
18
22
  pilled: {
19
- "true": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.25rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.375rem;\n "])), toastTokens.pilledBorderRadius, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
23
+ "true": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n\n ", ": -0.0625rem 0.375rem -0.0625rem -0.25rem;\n ", ": -0.0625rem -0.25rem -0.0625rem 0.375rem;\n "])), toastTokens.pilledBorderRadius, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
20
24
  }
21
25
  }
22
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-dfa",
3
- "version": "0.161.0-canary.1500.11610401138.0",
3
+ "version": "0.161.0-canary.1506.11620814697.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,7 +19,7 @@
19
19
  "directory": "packages/sdds-dfa"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.182.0-canary.1500.11610401138.0",
22
+ "@salutejs/plasma-new-hope": "0.182.0-canary.1506.11620814697.0",
23
23
  "@salutejs/sdds-themes": "0.26.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -95,5 +95,5 @@
95
95
  "Anton Vinogradov"
96
96
  ],
97
97
  "sideEffects": false,
98
- "gitHead": "eb3290efd3e0dfc5541cbcacecd8280fd5d5fee4"
98
+ "gitHead": "cc800da5c6a46264abeeeb5b2fc1824413310da8"
99
99
  }
@@ -528,7 +528,6 @@ true: PolymorphicClassName;
528
528
  text?: string | undefined;
529
529
  contentLeft?: ReactNode;
530
530
  contentRight?: ReactNode;
531
- maxWidth?: string | undefined;
532
531
  size?: string | undefined;
533
532
  view?: string | undefined;
534
533
  } & {
@@ -541,7 +540,6 @@ transparent?: false | undefined;
541
540
  text?: string | undefined;
542
541
  contentLeft?: ReactNode;
543
542
  contentRight?: ReactNode;
544
- maxWidth?: string | undefined;
545
543
  size?: string | undefined;
546
544
  view?: string | undefined;
547
545
  } & {
@@ -554,7 +552,6 @@ clear?: false | undefined;
554
552
  text?: string | undefined;
555
553
  contentLeft?: ReactNode;
556
554
  contentRight?: ReactNode;
557
- maxWidth?: string | undefined;
558
555
  size?: string | undefined;
559
556
  view?: string | undefined;
560
557
  } & {
@@ -3250,7 +3247,7 @@ accent: PolymorphicClassName;
3250
3247
  chipView?: string | undefined;
3251
3248
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3252
3249
  target?: "button-like" | undefined;
3253
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3250
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3254
3251
  contentLeft?: undefined;
3255
3252
  labelPlacement?: undefined;
3256
3253
  placeholder?: undefined;
@@ -3288,7 +3285,7 @@ accent: PolymorphicClassName;
3288
3285
  chipView?: string | undefined;
3289
3286
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3290
3287
  target?: "button-like" | undefined;
3291
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3288
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3292
3289
  contentLeft?: undefined;
3293
3290
  labelPlacement?: undefined;
3294
3291
  placeholder?: undefined;
@@ -5071,6 +5068,9 @@ light: PolymorphicClassName;
5071
5068
  size: {
5072
5069
  m: PolymorphicClassName;
5073
5070
  };
5071
+ closeIconType: {
5072
+ default: PolymorphicClassName;
5073
+ };
5074
5074
  pilled: {
5075
5075
  true: PolymorphicClassName;
5076
5076
  };