@salutejs/sdds-finportal 0.155.0-canary.1500.11610401138.0 → 0.155.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-finportal.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-finportal.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-finportal",
3
- "version": "0.155.0-canary.1500.11610401138.0",
3
+ "version": "0.155.0-canary.1506.11620814697.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS FinPortal 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-finportal"
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": {
@@ -94,5 +94,5 @@
94
94
  "Vasiliy Loginevskiy"
95
95
  ],
96
96
  "sideEffects": false,
97
- "gitHead": "eb3290efd3e0dfc5541cbcacecd8280fd5d5fee4"
97
+ "gitHead": "cc800da5c6a46264abeeeb5b2fc1824413310da8"
98
98
  }
@@ -569,7 +569,6 @@ true: PolymorphicClassName;
569
569
  text?: string | undefined;
570
570
  contentLeft?: ReactNode;
571
571
  contentRight?: ReactNode;
572
- maxWidth?: string | undefined;
573
572
  size?: string | undefined;
574
573
  view?: string | undefined;
575
574
  } & {
@@ -582,7 +581,6 @@ transparent?: false | undefined;
582
581
  text?: string | undefined;
583
582
  contentLeft?: ReactNode;
584
583
  contentRight?: ReactNode;
585
- maxWidth?: string | undefined;
586
584
  size?: string | undefined;
587
585
  view?: string | undefined;
588
586
  } & {
@@ -595,7 +593,6 @@ clear?: false | undefined;
595
593
  text?: string | undefined;
596
594
  contentLeft?: ReactNode;
597
595
  contentRight?: ReactNode;
598
- maxWidth?: string | undefined;
599
596
  size?: string | undefined;
600
597
  view?: string | undefined;
601
598
  } & {
@@ -3346,7 +3343,7 @@ accent: PolymorphicClassName;
3346
3343
  chipView?: string | undefined;
3347
3344
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3348
3345
  target?: "button-like" | undefined;
3349
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3346
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3350
3347
  contentLeft?: undefined;
3351
3348
  labelPlacement?: undefined;
3352
3349
  placeholder?: undefined;
@@ -3384,7 +3381,7 @@ accent: PolymorphicClassName;
3384
3381
  chipView?: string | undefined;
3385
3382
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3386
3383
  target?: "button-like" | undefined;
3387
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3384
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3388
3385
  contentLeft?: undefined;
3389
3386
  labelPlacement?: undefined;
3390
3387
  placeholder?: undefined;
@@ -5193,6 +5190,9 @@ light: PolymorphicClassName;
5193
5190
  size: {
5194
5191
  m: PolymorphicClassName;
5195
5192
  };
5193
+ closeIconType: {
5194
+ default: PolymorphicClassName;
5195
+ };
5196
5196
  pilled: {
5197
5197
  true: PolymorphicClassName;
5198
5198
  };