@salutejs/plasma-new-hope 0.324.0-canary.1967.15065564602.0 → 0.324.0-canary.1970.15071087422.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 (114) hide show
  1. package/cjs/components/Notification/Notification.css +12 -12
  2. package/cjs/components/Notification/Notification.js +1 -3
  3. package/cjs/components/Notification/Notification.js.map +1 -1
  4. package/cjs/components/Notification/Notification.styles.js +47 -55
  5. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  6. package/cjs/components/Notification/{Notification.styles_1ogp4a2.css → Notification.styles_1yt699o.css} +1 -1
  7. package/cjs/components/Notification/Notification.types.js.map +1 -1
  8. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  9. package/cjs/components/Notification/variations/_layout/base.js +1 -1
  10. package/cjs/components/Notification/variations/_layout/base.js.map +1 -1
  11. package/cjs/components/Notification/variations/_layout/base_qkc3i4.css +1 -0
  12. package/cjs/components/PaginationDots/PaginationDot.js +58 -0
  13. package/cjs/components/PaginationDots/PaginationDot.js.map +1 -0
  14. package/cjs/components/PaginationDots/PaginationDot_baul9c.css +2 -0
  15. package/cjs/components/PaginationDots/PaginationDots.js +33 -0
  16. package/cjs/components/PaginationDots/PaginationDots.js.map +1 -0
  17. package/cjs/components/PaginationDots/PaginationDots_fm2ha5.css +2 -0
  18. package/cjs/components/PaginationDots/SmartPaginationDots.css +5 -0
  19. package/cjs/components/PaginationDots/SmartPaginationDots.js +46 -0
  20. package/cjs/components/PaginationDots/SmartPaginationDots.js.map +1 -0
  21. package/cjs/components/PaginationDots/usePaginationDots.js +40 -0
  22. package/cjs/components/PaginationDots/usePaginationDots.js.map +1 -0
  23. package/cjs/index.css +18 -12
  24. package/cjs/index.js +6 -0
  25. package/cjs/index.js.map +1 -1
  26. package/emotion/cjs/components/Notification/Notification.js +1 -3
  27. package/emotion/cjs/components/Notification/Notification.styles.js +36 -40
  28. package/emotion/cjs/components/Notification/variations/_layout/base.js +1 -1
  29. package/emotion/cjs/components/PaginationDots/PaginationDot.js +34 -0
  30. package/emotion/cjs/components/PaginationDots/PaginationDots.js +34 -0
  31. package/emotion/cjs/components/PaginationDots/SmartPaginationDots.js +42 -0
  32. package/emotion/cjs/components/PaginationDots/index.js +26 -0
  33. package/emotion/cjs/components/PaginationDots/usePaginationDots.js +38 -0
  34. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -3
  35. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -3
  36. package/emotion/cjs/index.js +11 -0
  37. package/emotion/es/components/Notification/Notification.js +1 -3
  38. package/emotion/es/components/Notification/Notification.styles.js +36 -40
  39. package/emotion/es/components/Notification/variations/_layout/base.js +1 -1
  40. package/emotion/es/components/PaginationDots/PaginationDot.js +27 -0
  41. package/emotion/es/components/PaginationDots/PaginationDots.js +27 -0
  42. package/emotion/es/components/PaginationDots/SmartPaginationDots.js +35 -0
  43. package/emotion/es/components/PaginationDots/index.js +3 -0
  44. package/emotion/es/components/PaginationDots/usePaginationDots.js +32 -0
  45. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -3
  46. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -3
  47. package/emotion/es/index.js +2 -1
  48. package/es/components/Notification/Notification.css +12 -12
  49. package/es/components/Notification/Notification.js +1 -3
  50. package/es/components/Notification/Notification.js.map +1 -1
  51. package/es/components/Notification/Notification.styles.js +47 -55
  52. package/es/components/Notification/Notification.styles.js.map +1 -1
  53. package/es/components/Notification/{Notification.styles_1ogp4a2.css → Notification.styles_1yt699o.css} +1 -1
  54. package/es/components/Notification/Notification.types.js.map +1 -1
  55. package/es/components/Notification/NotificationsProvider.css +11 -11
  56. package/es/components/Notification/variations/_layout/base.js +1 -1
  57. package/es/components/Notification/variations/_layout/base.js.map +1 -1
  58. package/es/components/Notification/variations/_layout/base_qkc3i4.css +1 -0
  59. package/es/components/PaginationDots/PaginationDot.js +53 -0
  60. package/es/components/PaginationDots/PaginationDot.js.map +1 -0
  61. package/es/components/PaginationDots/PaginationDot_baul9c.css +2 -0
  62. package/es/components/PaginationDots/PaginationDots.js +28 -0
  63. package/es/components/PaginationDots/PaginationDots.js.map +1 -0
  64. package/es/components/PaginationDots/PaginationDots_fm2ha5.css +2 -0
  65. package/es/components/PaginationDots/SmartPaginationDots.css +5 -0
  66. package/es/components/PaginationDots/SmartPaginationDots.js +38 -0
  67. package/es/components/PaginationDots/SmartPaginationDots.js.map +1 -0
  68. package/es/components/PaginationDots/usePaginationDots.js +36 -0
  69. package/es/components/PaginationDots/usePaginationDots.js.map +1 -0
  70. package/es/index.css +18 -12
  71. package/es/index.js +3 -0
  72. package/es/index.js.map +1 -1
  73. package/package.json +2 -2
  74. package/styled-components/cjs/components/Notification/Notification.js +1 -3
  75. package/styled-components/cjs/components/Notification/Notification.styles.js +25 -29
  76. package/styled-components/cjs/components/Notification/variations/_layout/base.js +1 -1
  77. package/styled-components/cjs/components/PaginationDots/PaginationDot.js +32 -0
  78. package/styled-components/cjs/components/PaginationDots/PaginationDots.js +23 -0
  79. package/styled-components/cjs/components/PaginationDots/SmartPaginationDots.js +42 -0
  80. package/styled-components/cjs/components/PaginationDots/index.js +26 -0
  81. package/styled-components/cjs/components/PaginationDots/usePaginationDots.js +38 -0
  82. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -3
  83. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -3
  84. package/styled-components/cjs/index.js +11 -0
  85. package/styled-components/es/components/Notification/Notification.js +1 -3
  86. package/styled-components/es/components/Notification/Notification.styles.js +25 -29
  87. package/styled-components/es/components/Notification/variations/_layout/base.js +1 -1
  88. package/styled-components/es/components/PaginationDots/PaginationDot.js +25 -0
  89. package/styled-components/es/components/PaginationDots/PaginationDots.js +17 -0
  90. package/styled-components/es/components/PaginationDots/SmartPaginationDots.js +35 -0
  91. package/styled-components/es/components/PaginationDots/index.js +3 -0
  92. package/styled-components/es/components/PaginationDots/usePaginationDots.js +32 -0
  93. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -3
  94. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -3
  95. package/styled-components/es/index.js +2 -1
  96. package/types/components/Notification/Notification.d.ts.map +1 -1
  97. package/types/components/Notification/Notification.styles.d.ts +1 -2
  98. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  99. package/types/components/Notification/Notification.types.d.ts +0 -5
  100. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  101. package/types/components/PaginationDots/PaginationDot.d.ts +20 -0
  102. package/types/components/PaginationDots/PaginationDot.d.ts.map +1 -0
  103. package/types/components/PaginationDots/PaginationDots.d.ts +14 -0
  104. package/types/components/PaginationDots/PaginationDots.d.ts.map +1 -0
  105. package/types/components/PaginationDots/SmartPaginationDots.d.ts +14 -0
  106. package/types/components/PaginationDots/SmartPaginationDots.d.ts.map +1 -0
  107. package/types/components/PaginationDots/index.d.ts +6 -0
  108. package/types/components/PaginationDots/index.d.ts.map +1 -0
  109. package/types/components/PaginationDots/usePaginationDots.d.ts +14 -0
  110. package/types/components/PaginationDots/usePaginationDots.d.ts.map +1 -0
  111. package/types/index.d.ts +1 -0
  112. package/types/index.d.ts.map +1 -1
  113. package/cjs/components/Notification/variations/_layout/base_1g9g70c.css +0 -1
  114. package/es/components/Notification/variations/_layout/base_1g9g70c.css +0 -1
@@ -1,3 +1,3 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { classes, tokens } from "../../Notification.tokens";
3
- export var base = /*#__PURE__*/css(".", classes.wrapper, "{padding:var(", tokens.padding, ");}.", classes.wrapper, ".", classes.horizontal, "{padding:var(", tokens.horizontalLayoutPadding, ");&.", classes.withoutCloseIcon, "{padding-right:var(", tokens.horizontalLayoutRightPaddingWithoutCloseIcon, ");}}.", classes.wrapper, ".", classes.horizontal, ".", classes.oneLine, "{padding:var(", tokens.paddingOneLineTextbox, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL3ZhcmlhdGlvbnMvX2xheW91dC9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL05vdGlmaWNhdGlvbi92YXJpYXRpb25zL19sYXlvdXQvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vTm90aWZpY2F0aW9uLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIC4ke2NsYXNzZXMud3JhcHBlcn0ge1xuICAgICAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMucGFkZGluZ30pO1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMud3JhcHBlcn0uJHtjbGFzc2VzLmhvcml6b250YWx9IHtcbiAgICAgICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLmhvcml6b250YWxMYXlvdXRQYWRkaW5nfSk7XG5cbiAgICAgICAgJi4ke2NsYXNzZXMud2l0aG91dENsb3NlSWNvbn0ge1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogdmFyKCR7dG9rZW5zLmhvcml6b250YWxMYXlvdXRSaWdodFBhZGRpbmdXaXRob3V0Q2xvc2VJY29ufSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAuJHtjbGFzc2VzLndyYXBwZXJ9LiR7Y2xhc3Nlcy5ob3Jpem9udGFsfS4ke2NsYXNzZXMub25lTGluZX0ge1xuICAgICAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMucGFkZGluZ09uZUxpbmVUZXh0Ym94fSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
3
+ export var base = /*#__PURE__*/css(".", classes.wrapper, "{width:var(", tokens.width, ");padding:var(", tokens.padding, ");}.", classes.wrapper, ".", classes.horizontal, "{padding:var(", tokens.horizontalLayoutPadding, ");&.", classes.withoutCloseIcon, "{padding-right:var(", tokens.horizontalLayoutRightPaddingWithoutCloseIcon, ");}}.", classes.wrapper, ".", classes.horizontal, ".", classes.oneLine, "{padding:var(", tokens.paddingOneLineTextbox, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL3ZhcmlhdGlvbnMvX2xheW91dC9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL05vdGlmaWNhdGlvbi92YXJpYXRpb25zL19sYXlvdXQvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vTm90aWZpY2F0aW9uLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIC4ke2NsYXNzZXMud3JhcHBlcn0ge1xuICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLndpZHRofSk7XG4gICAgICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wYWRkaW5nfSk7XG4gICAgfVxuXG4gICAgLiR7Y2xhc3Nlcy53cmFwcGVyfS4ke2NsYXNzZXMuaG9yaXpvbnRhbH0ge1xuICAgICAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuaG9yaXpvbnRhbExheW91dFBhZGRpbmd9KTtcbiAgICAgICAgJi4ke2NsYXNzZXMud2l0aG91dENsb3NlSWNvbn0ge1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogdmFyKCR7dG9rZW5zLmhvcml6b250YWxMYXlvdXRSaWdodFBhZGRpbmdXaXRob3V0Q2xvc2VJY29ufSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAuJHtjbGFzc2VzLndyYXBwZXJ9LiR7Y2xhc3Nlcy5ob3Jpem9udGFsfS4ke2NsYXNzZXMub25lTGluZX0ge1xuICAgICAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMucGFkZGluZ09uZUxpbmVUZXh0Ym94fSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -0,0 +1,27 @@
1
+ import _styled from "@emotion/styled/base";
2
+ /**
3
+ * Элемент пагинации точками.
4
+ * Стилизованный компонент, обладающий всеми свойствами ``div``.
5
+ */
6
+ export var DotBase = /*#__PURE__*/_styled("li", {
7
+ target: "e14yjkg31",
8
+ label: "plasma-new-hope__DotBase"
9
+ })("width:", function (_ref) {
10
+ var isActive = _ref.isActive;
11
+ return isActive ? '1.75rem' : '0.375rem';
12
+ }, ";height:0.375rem;border-radius:1rem;background:", function (_ref2) {
13
+ var isActive = _ref2.isActive;
14
+ return isActive ? 'var(--text-primary)' : 'var(--surface-transparent-tertiary)';
15
+ }, ";transition:width 0.1s ease-in-out,background 0.3s ease-in-out;font-size:0.5rem;&+&{margin-left:0.375rem;}&:focus{outline:0 none;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2N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cigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXMgZWFzZS1pbi1vdXQsIGJhY2tncm91bmQgMC4zcyBlYXNlLWluLW91dDtcbiAgICBmb250LXNpemU6IDAuNXJlbTtcblxuICAgICYgKyAmIHtcbiAgICAgICAgbWFyZ2luLWxlZnQ6IDAuMzc1cmVtO1xuICAgIH1cblxuICAgICY6Zm9jdXMge1xuICAgICAgICBvdXRsaW5lOiAwIG5vbmU7XG4gICAgfVxuYDtcblxuLyoqXG4gKiDQrdC70LXQvNC10L3RgiDQv9Cw0LPQuNC90LDRhtC40Lgg0YLQvtGH0LrQsNC80LguXG4gKiDQodGC0LjQu9C40LfQvtCy0LDQvdC90YvQuSDQutC+0LzQv9C+0L3QtdC90YIsINC+0LHQu9Cw0LTQsNGO0YnQuNC5INCy0YHQtdC80Lgg0YHQstC+0LnRgdGC0LLQsNC80LggYGBkaXZgYC5cbiAqL1xuZXhwb3J0IGNvbnN0IFBhZ2luYXRpb25Eb3QgPSBzdHlsZWQoRG90QmFzZSk8UGFnaW5hdGlvbkRvdFByb3BzPmBcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG5cbiAgICBiYWNrZ3JvdW5kOiAkeyh7IGlzQWN0aXZlIH0pID0+IChpc0FjdGl2ZSA/ICd2YXIoLS10ZXh0LWFjY2VudCknIDogJ3ZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpJyl9O1xuXG4gICAgJjpob3ZlciB7XG4gICAgICAgIGJhY2tncm91bmQ6IHZhcigtLXRleHQtYWNjZW50KTtcbiAgICB9XG5gO1xuIl19 */"));
16
+
17
+ /**
18
+ * Элемент пагинации точками.
19
+ * Стилизованный компонент, обладающий всеми свойствами ``div``.
20
+ */
21
+ export var PaginationDot = /*#__PURE__*/_styled(DotBase, {
22
+ target: "e14yjkg30",
23
+ label: "plasma-new-hope__PaginationDot"
24
+ })("cursor:pointer;background:", function (_ref3) {
25
+ var isActive = _ref3.isActive;
26
+ return isActive ? 'var(--text-accent)' : 'var(--surface-transparent-tertiary)';
27
+ }, ";&:hover{background:var(--text-accent);}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbkRvdHMvUGFnaW5hdGlvbkRvdC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0NnRSIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1BhZ2luYXRpb25Eb3RzL1BhZ2luYXRpb25Eb3QudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFBhZ2luYXRpb25Eb3RQcm9wcyBleHRlbmRzIFJlYWN0LkxpSFRNTEF0dHJpYnV0ZXM8SFRNTExJRWxlbWVudD4ge1xuICAgIC8qKlxuICAgICAqINCt0LvQtdC80LXQvdGCINCw0LrRgtC40LLQtdC9XG4gICAgICovXG4gICAgaXNBY3RpdmU6IGJvb2xlYW47XG59XG5cbi8qKlxuICog0K3Qu9C10LzQtdC90YIg0L/QsNCz0LjQvdCw0YbQuNC4INGC0L7Rh9C60LDQvNC4LlxuICog0KHRgtC40LvQuNC30L7QstCw0L3QvdGL0Lkg0LrQvtC80L/QvtC90LXQvdGCLCDQvtCx0LvQsNC00LDRjtGJ0LjQuSDQstGB0LXQvNC4INGB0LLQvtC50YHRgtCy0LDQvNC4IGBgZGl2YGAuXG4gKi9cbmV4cG9ydCBjb25zdCBEb3RCYXNlID0gc3R5bGVkLmxpPFBhZ2luYXRpb25Eb3RQcm9wcz5gXG4gICAgd2lkdGg6ICR7KHsgaXNB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aG92ZXIge1xuICAgICAgICBiYWNrZ3JvdW5kOiB2YXIoLS10ZXh0LWFjY2VudCk7XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -0,0 +1,27 @@
1
+ import _styled from "@emotion/styled/base";
2
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
+ /**
4
+ * Оборачивающий компонент для пагинации точками.
5
+ * Стилизованный компонент, обладающий всеми свойствами ``div``.
6
+ */
7
+ export var DotsBase = /*#__PURE__*/_styled("ul", {
8
+ target: "e126omqy1",
9
+ label: "plasma-new-hope__DotsBase"
10
+ })(process.env.NODE_ENV === "production" ? {
11
+ name: "1gpamx1",
12
+ styles: "display:flex;flex-wrap:wrap;align-self:center;align-items:center;margin:0;padding:0;list-style:none"
13
+ } : {
14
+ name: "1gpamx1",
15
+ styles: "display:flex;flex-wrap:wrap;align-self:center;align-items:center;margin:0;padding:0;list-style:none",
16
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbkRvdHMvUGFnaW5hdGlvbkRvdHMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1pQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1BhZ2luYXRpb25Eb3RzL1BhZ2luYXRpb25Eb3RzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiDQntCx0L7RgNCw0YfQuNCy0LDRjtGJ0LjQuSDQutC+0LzQv9C+0L3QtdC90YIg0LTQu9GPINC/0LDQs9C40L3QsNGG0LjQuCDRgtC+0YfQutCw0LzQuC5cbiAqINCh0YLQuNC70LjQt9C+0LLQsNC90L3Ri9C5INC60L7QvNC/0L7QvdC10L3Rgiwg0L7QsdC70LDQtNCw0Y7RidC40Lkg0LLRgdC10LzQuCDRgdCy0L7QudGB0YLQstCw0LzQuCBgYGRpdmBgLlxuICovXG5leHBvcnQgY29uc3QgRG90c0Jhc2UgPSBzdHlsZWQudWxgXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LXdyYXA6IHdyYXA7XG4gICAgYWxpZ24tc2VsZjogY2VudGVyO1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgbWFyZ2luOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgbGlzdC1zdHlsZTogbm9uZTtcbmA7XG5cbi8qKlxuICog0J7QsdC+0YDQsNGH0LjQstCw0Y7RidC40Lkg0LrQvtC80L/QvtC90LXQvdGCINC00LvRjyDQv9Cw0LPQuNC90LDRhtC40Lgg0YLQvtGH0LrQsNC80LguXG4gKiDQodGC0LjQu9C40LfQvtCy0LDQvdC90YvQuSDQutC+0LzQv9C+0L3QtdC90YIsINC+0LHQu9Cw0LTQsNGO0YnQuNC5INCy0YHQtdC80Lgg0YHQstC+0LnRgdGC0LLQsNC80LggYGBkaXZgYC5cbiAqL1xuZXhwb3J0IGNvbnN0IFBhZ2luYXRpb25Eb3RzID0gc3R5bGVkKERvdHNCYXNlKWBgO1xuIl19 */",
17
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
18
+ });
19
+
20
+ /**
21
+ * Оборачивающий компонент для пагинации точками.
22
+ * Стилизованный компонент, обладающий всеми свойствами ``div``.
23
+ */
24
+ export var PaginationDots = /*#__PURE__*/_styled(DotsBase, {
25
+ target: "e126omqy0",
26
+ label: "plasma-new-hope__PaginationDots"
27
+ })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4u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stGB0LXQvNC4INGB0LLQvtC50YHRgtCy0LDQvNC4IGBgZGl2YGAuXG4gKi9cbmV4cG9ydCBjb25zdCBQYWdpbmF0aW9uRG90cyA9IHN0eWxlZChEb3RzQmFzZSlgYDtcbiJdfQ== */");
@@ -0,0 +1,35 @@
1
+ var _excluded = ["items", "index", "visibleItems", "onIndexChange"];
2
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
+ import React from 'react';
5
+ import { usePaginationDots } from "./usePaginationDots";
6
+ import { PaginationDots } from "./PaginationDots";
7
+ import { PaginationDot } from "./PaginationDot";
8
+ /**
9
+ * Компонент для отображения точек пагинации
10
+ * с возможностью ограничения количества видимых элементов.
11
+ */
12
+ export var SmartPaginationDots = function SmartPaginationDots(_ref) {
13
+ var items = _ref.items,
14
+ index = _ref.index,
15
+ visibleItems = _ref.visibleItems,
16
+ onIndexChange = _ref.onIndexChange,
17
+ rest = _objectWithoutProperties(_ref, _excluded);
18
+ var _usePaginationDots = usePaginationDots({
19
+ items: items,
20
+ index: index,
21
+ visibleItems: visibleItems
22
+ }),
23
+ sliced = _usePaginationDots.sliced,
24
+ activeId = _usePaginationDots.activeId;
25
+ return /*#__PURE__*/React.createElement(PaginationDots, rest, sliced.map(function (_ref2, i) {
26
+ var id = _ref2.id;
27
+ return /*#__PURE__*/React.createElement(PaginationDot, {
28
+ key: "item:".concat(i),
29
+ isActive: id === activeId,
30
+ onClick: function onClick() {
31
+ return onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(i);
32
+ }
33
+ });
34
+ }));
35
+ };
@@ -0,0 +1,3 @@
1
+ export { SmartPaginationDots } from "./SmartPaginationDots";
2
+ export { PaginationDots } from "./PaginationDots";
3
+ export { PaginationDot } from "./PaginationDot";
@@ -0,0 +1,32 @@
1
+ import { useRef } from 'react';
2
+ export var usePaginationDots = function usePaginationDots(_ref) {
3
+ var items = _ref.items,
4
+ index = _ref.index,
5
+ _ref$visibleItems = _ref.visibleItems,
6
+ visibleItems = _ref$visibleItems === void 0 ? 7 : _ref$visibleItems;
7
+ var activeId = items[index].id;
8
+ var prevIndex = useRef(null);
9
+ var direction = 0;
10
+ if (prevIndex.current !== null) {
11
+ direction = index > prevIndex.current ? 1 : -1;
12
+ }
13
+ var start;
14
+ var end;
15
+ if (direction === 1) {
16
+ end = Math.min(Math.max(index + 2, visibleItems), items.length);
17
+ start = Math.max(end - visibleItems, 0);
18
+ } else if (direction === -1) {
19
+ start = Math.min(Math.max(index - 1, 0), items.length - visibleItems);
20
+ end = start + visibleItems;
21
+ } else {
22
+ start = Math.max(index - Math.floor(visibleItems / 2), 0);
23
+ end = Math.min(start + visibleItems, items.length);
24
+ start = end - visibleItems;
25
+ }
26
+ var sliced = items.slice(start, end);
27
+ prevIndex.current = index;
28
+ return {
29
+ sliced: sliced,
30
+ activeId: activeId
31
+ };
32
+ };
@@ -167,13 +167,12 @@ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
167
167
  placement?: NotificationPlacement;
168
168
  };
169
169
 
170
- const StoryLiveDemo = ({ timeout, placement, width, ...rest }: StoryLiveDemoProps) => {
170
+ const StoryLiveDemo = ({ timeout, placement, ...rest }: StoryLiveDemoProps) => {
171
171
  const count = useRef(0);
172
172
  const handleClick = useCallback(() => {
173
173
  addNotification(
174
174
  {
175
175
  icon: <IconDisclosureRight color="inherit" />,
176
- width,
177
176
  ...rest,
178
177
  ...getNotificationProps(count.current),
179
178
  },
@@ -211,7 +210,6 @@ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
211
210
  role: 'alert',
212
211
  layout: 'vertical',
213
212
  placement: 'bottom-right',
214
- width: '',
215
213
  },
216
214
  render: (args) => <StoryLiveDemo {...args} />,
217
215
  };
@@ -170,13 +170,12 @@ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
170
170
  placement?: NotificationPlacement;
171
171
  };
172
172
 
173
- const StoryLiveDemo = ({ timeout, placement, width, ...rest }: StoryLiveDemoProps) => {
173
+ const StoryLiveDemo = ({ timeout, placement, ...rest }: StoryLiveDemoProps) => {
174
174
  const count = useRef(0);
175
175
  const handleClick = useCallback(() => {
176
176
  addNotification(
177
177
  {
178
178
  icon: <IconDisclosureRight color="inherit" />,
179
- width,
180
179
  ...rest,
181
180
  ...getNotificationProps(count.current),
182
181
  },
@@ -214,7 +213,6 @@ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
214
213
  role: 'alert',
215
214
  layout: 'vertical',
216
215
  placement: 'bottom-right',
217
- width: '',
218
216
  },
219
217
  render: (args) => <StoryLiveDemo {...args} />,
220
218
  };
@@ -75,4 +75,5 @@ export * from "./components/Table";
75
75
  export * from "./components/LinkButton";
76
76
  export * from "./components/NumberFormat";
77
77
  export * from "./components/Toast/ToastNew";
78
- export * from "./components/Carousel";
78
+ export * from "./components/Carousel";
79
+ export * from "./components/PaginationDots";
@@ -1,6 +1,6 @@
1
1
  .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
2
 
3
- .base_1g9g70c_bg3tssa__c76a6dea .base_1g9g70c_notificationWrapper__c76a6dea{padding:var(--plasma-notification-padding);}.base_1g9g70c_bg3tssa__c76a6dea .base_1g9g70c_notificationWrapper__c76a6dea.base_1g9g70c_notificationLayoutHorizontal__c76a6dea{padding:var(--plasma-notification-horizontal-layout-padding);}.base_1g9g70c_bg3tssa__c76a6dea .base_1g9g70c_notificationWrapper__c76a6dea.base_1g9g70c_notificationLayoutHorizontal__c76a6dea.base_1g9g70c_notificationWithoutCloseIcon__c76a6dea{padding-right:var(--plasma-notification-horizontal-layout-right-padding-without-close-icon);}.base_1g9g70c_bg3tssa__c76a6dea .base_1g9g70c_notificationWrapper__c76a6dea.base_1g9g70c_notificationLayoutHorizontal__c76a6dea.base_1g9g70c_notificationOneLineTextbox__c76a6dea{padding:var(--plasma-notification-padding-one-line-textbox);}
3
+ .base_qkc3i4_bg3tssa__4791b7ea .base_qkc3i4_notificationWrapper__4791b7ea{width:var(--plasma-notification-width);padding:var(--plasma-notification-padding);}.base_qkc3i4_bg3tssa__4791b7ea .base_qkc3i4_notificationWrapper__4791b7ea.base_qkc3i4_notificationLayoutHorizontal__4791b7ea{padding:var(--plasma-notification-horizontal-layout-padding);}.base_qkc3i4_bg3tssa__4791b7ea .base_qkc3i4_notificationWrapper__4791b7ea.base_qkc3i4_notificationLayoutHorizontal__4791b7ea.base_qkc3i4_notificationWithoutCloseIcon__4791b7ea{padding-right:var(--plasma-notification-horizontal-layout-right-padding-without-close-icon);}.base_qkc3i4_bg3tssa__4791b7ea .base_qkc3i4_notificationWrapper__4791b7ea.base_qkc3i4_notificationLayoutHorizontal__4791b7ea.base_qkc3i4_notificationOneLineTextbox__4791b7ea{padding:var(--plasma-notification-padding-one-line-textbox);}
4
4
 
5
5
  .base_1insfd_bmb6i7f__cb9a5237 .base_1insfd_notificationContentBox__cb9a5237.base_1insfd_notificationLayoutVertical__cb9a5237{padding:var(--plasma-notification-content-padding-top) var(--plasma-notification-content-padding-right) var(--plasma-notification-content-padding-bottom) var(--plasma-notification-content-padding-left);}.base_1insfd_bmb6i7f__cb9a5237 .base_1insfd_notificationContentBox__cb9a5237.base_1insfd_notificationLayoutVertical__cb9a5237.base_1insfd_notificationWithoutIcon__cb9a5237{padding-top:var(--plasma-notification-content-padding-top-without-icon);}.base_1insfd_bmb6i7f__cb9a5237 .base_1insfd_notificationCloseIcon__cb9a5237.base_1insfd_notificationLayoutVertical__cb9a5237{top:var(--plasma-notification-close-icon-top);right:var(--plasma-notification-close-icon-right);}
6
6
 
@@ -30,14 +30,14 @@
30
30
  .Button_styles_8cvmld_s1rjh7ra__4694a0fa{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-self:var(--plasma-button-right-content-align-self);-ms-flex-item-align:var(--plasma-button-right-content-align);align-self:var(--plasma-button-right-content-align-self);margin:var(--s1rjh7ra-0);}
31
31
  .Button_styles_8cvmld_b9ga1dj__4694a0fa{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_8cvmld_b9ga1dj__4694a0fa{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_8cvmld_b9ga1dj__4694a0fa.Button_styles_8cvmld_b9ga1dj__4694a0fa.Button_styles_8cvmld_buttonSquare__4694a0fa{width:var(--plasma-button-height);padding:0;}
32
32
 
33
- .Notification_styles_1ogp4a2_sb12p__bb5dca60{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
34
- .Notification_styles_1ogp4a2_crvd7hm__bb5dca60{position:absolute;width:var(--plasma-notification-close-icon-button-size);height:var(--plasma-notification-close-icon-button-size);-webkit-align-self:var(--plasma-notification-horizontal-icon-close-align-self);-ms-flex-item-align:var(--plasma-notification-horizontal-icon-close-align);align-self:var(--plasma-notification-horizontal-icon-close-align-self);color:var(--plasma-notification-close-icon-color);}.Notification_styles_1ogp4a2_crvd7hm__bb5dca60:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.Notification_styles_1ogp4a2_crvd7hm__bb5dca60.Notification_styles_1ogp4a2_notificationLayoutHorizontal__bb5dca60{position:relative;}
35
- .Notification_styles_1ogp4a2_wg1ga5v__bb5dca60{position:relative;width:var(--wg1ga5v-0);border-radius:var(--plasma-notification-border-radius);border:var(--plasma-notification-border-width) solid var(--plasma-notification-border-color);background:var(--wg1ga5v-1);box-sizing:border-box;}.Notification_styles_1ogp4a2_wg1ga5v__bb5dca60.Notification_styles_1ogp4a2_notificationLayoutHorizontal__bb5dca60{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
36
- .Notification_styles_1ogp4a2_b1amsn8a__bb5dca60{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);-webkit-align-self:var(--plasma-notification-horizontal-actions-align-self);-ms-flex-item-align:var(--plasma-notification-horizontal-actions-align);align-self:var(--plasma-notification-horizontal-actions-align-self);}.Notification_styles_1ogp4a2_b1amsn8a__bb5dca60.Notification_styles_1ogp4a2_notificationLayoutHorizontal__bb5dca60{margin-top:unset;margin-left:unset;}
37
- .Notification_styles_1ogp4a2_i14raqr9__bb5dca60{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);-webkit-align-self:var(--plasma-notification-horizontal-icon-left-align-self);-ms-flex-item-align:var(--plasma-notification-horizontal-icon-left-align);align-self:var(--plasma-notification-horizontal-icon-left-align-self);color:var(--i14raqr9-0);margin-right:var(--i14raqr9-1);margin-bottom:var(--i14raqr9-2);}.Notification_styles_1ogp4a2_i14raqr9__bb5dca60.Notification_styles_1ogp4a2_notificationLayoutHorizontal__bb5dca60{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
38
- .Notification_styles_1ogp4a2_c157peez__bb5dca60{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.Notification_styles_1ogp4a2_c157peez__bb5dca60.Notification_styles_1ogp4a2_notificationLayoutHorizontal__bb5dca60{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
39
- .Notification_styles_1ogp4a2_t1vmb0f2__bb5dca60{padding:var(--plasma-notification-textbox-padding-top) var(--plasma-notification-textbox-padding-right) var(--plasma-notification-textbox-padding-bottom) var(--plasma-notification-textbox-padding-left);padding-top:var(--t1vmb0f2-0);padding-right:var(--t1vmb0f2-1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:var(--plasma-notification-textbox-gap);word-break:break-word;}.Notification_styles_1ogp4a2_t1vmb0f2__bb5dca60.Notification_styles_1ogp4a2_notificationLayoutHorizontal__bb5dca60{padding:unset;}
40
- .Notification_styles_1ogp4a2_s1k4e58v__bb5dca60{font-family:var(--plasma-notification-title-font-family);font-size:var(--plasma-notification-title-font-size);font-style:var(--plasma-notification-title-font-style);font-weight:var(--plasma-notification-title-font-weight);-webkit-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-title-font-letter-spacing);letter-spacing:var(--plasma-notification-title-font-letter-spacing);line-height:var(--plasma-notification-title-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--s1k4e58v-0);}
41
- .Notification_styles_1ogp4a2_s92kmpm__bb5dca60{font-family:var(--plasma-notification-content-font-family);font-size:var(--plasma-notification-content-font-size);font-style:var(--plasma-notification-content-font-style);font-weight:var(--plasma-notification-content-font-weight);-webkit-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-content-font-letter-spacing);letter-spacing:var(--plasma-notification-content-font-letter-spacing);line-height:var(--plasma-notification-content-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--s92kmpm-0);}
42
- .Notification_styles_1ogp4a2_s18m0x6v__bb5dca60{margin-top:1rem;opacity:1;}.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_notificationItemOpened__bb5dca60{-webkit-animation:0.4s Notification_styles_1ogp4a2_showAnimationS18m0x6v__bb5dca60 ease-out;animation:0.4s Notification_styles_1ogp4a2_showAnimationS18m0x6v__bb5dca60 ease-out;}.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_notificationItemOpened__bb5dca60.Notification_styles_1ogp4a2_notificationLeftToRightAnimation__bb5dca60{-webkit-animation:0.4s Notification_styles_1ogp4a2_showLeftToRightAnimationS18m0x6v__bb5dca60 ease-out;animation:0.4s Notification_styles_1ogp4a2_showLeftToRightAnimationS18m0x6v__bb5dca60 ease-out;}.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_notificationItemOpened__bb5dca60.Notification_styles_1ogp4a2_notificationTopToCenterAnimation__bb5dca60{-webkit-animation:0.4s Notification_styles_1ogp4a2_showTopToCenterAnimationS18m0x6v__bb5dca60 ease-out;animation:0.4s Notification_styles_1ogp4a2_showTopToCenterAnimationS18m0x6v__bb5dca60 ease-out;}.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_notificationItemOpened__bb5dca60.Notification_styles_1ogp4a2_notificationBottomToCenterAnimation__bb5dca60{-webkit-animation:0.4s Notification_styles_1ogp4a2_showBottomToCenterAnimationS18m0x6v__bb5dca60 ease-out;animation:0.4s Notification_styles_1ogp4a2_showBottomToCenterAnimationS18m0x6v__bb5dca60 ease-out;}.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_notificationItemHidden__bb5dca60{-webkit-animation:0.4s Notification_styles_1ogp4a2_hideAnimationS18m0x6v__bb5dca60 ease-out;animation:0.4s Notification_styles_1ogp4a2_hideAnimationS18m0x6v__bb5dca60 ease-out;}.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_s18m0x6v__bb5dca60.Notification_styles_1ogp4a2_notificationItemHidden__bb5dca60.Notification_styles_1ogp4a2_notificationLeftToRightAnimation__bb5dca60{-webkit-animation:0.4s Notification_styles_1ogp4a2_hideLeftToRightAnimationS18m0x6v__bb5dca60 ease-out;animation:0.4s Notification_styles_1ogp4a2_hideLeftToRightAnimationS18m0x6v__bb5dca60 ease-out;}@-webkit-keyframes Notification_styles_1ogp4a2_showTopToCenterAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@keyframes Notification_styles_1ogp4a2_showTopToCenterAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@-webkit-keyframes Notification_styles_1ogp4a2_showBottomToCenterAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@keyframes Notification_styles_1ogp4a2_showBottomToCenterAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@-webkit-keyframes Notification_styles_1ogp4a2_showLeftToRightAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_1ogp4a2_showLeftToRightAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_1ogp4a2_hideLeftToRightAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@keyframes Notification_styles_1ogp4a2_hideLeftToRightAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@-webkit-keyframes Notification_styles_1ogp4a2_showAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_1ogp4a2_showAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_1ogp4a2_hideAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}@keyframes Notification_styles_1ogp4a2_hideAnimationS18m0x6v__bb5dca60{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}
43
- .Notification_styles_1ogp4a2_sfe5ql2__bb5dca60{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;box-sizing:border-box;padding:0 1.5rem 1.5rem;max-height:100%;-webkit-align-items:var(--sfe5ql2-0);-webkit-box-align:var(--sfe5ql2-0);-ms-flex-align:var(--sfe5ql2-0);align-items:var(--sfe5ql2-0);}
33
+ .Notification_styles_1yt699o_sb12p__ff5174fd{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
34
+ .Notification_styles_1yt699o_crvd7hm__ff5174fd{position:absolute;width:var(--plasma-notification-close-icon-button-size);height:var(--plasma-notification-close-icon-button-size);-webkit-align-self:var(--plasma-notification-horizontal-icon-close-align-self);-ms-flex-item-align:var(--plasma-notification-horizontal-icon-close-align);align-self:var(--plasma-notification-horizontal-icon-close-align-self);color:var(--plasma-notification-close-icon-color);}.Notification_styles_1yt699o_crvd7hm__ff5174fd:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.Notification_styles_1yt699o_crvd7hm__ff5174fd.Notification_styles_1yt699o_notificationLayoutHorizontal__ff5174fd{position:relative;}
35
+ .Notification_styles_1yt699o_wg1ga5v__ff5174fd{position:relative;box-sizing:border-box;background:var(--wg1ga5v-0);border-radius:var(--plasma-notification-border-radius);border:var(--plasma-notification-border-width) solid var(--plasma-notification-border-color);}.Notification_styles_1yt699o_wg1ga5v__ff5174fd.Notification_styles_1yt699o_notificationLayoutHorizontal__ff5174fd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
36
+ .Notification_styles_1yt699o_b1amsn8a__ff5174fd{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);-webkit-align-self:var(--plasma-notification-horizontal-actions-align-self);-ms-flex-item-align:var(--plasma-notification-horizontal-actions-align);align-self:var(--plasma-notification-horizontal-actions-align-self);}.Notification_styles_1yt699o_b1amsn8a__ff5174fd.Notification_styles_1yt699o_notificationLayoutHorizontal__ff5174fd{margin-top:unset;margin-left:unset;}
37
+ .Notification_styles_1yt699o_i14raqr9__ff5174fd{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);-webkit-align-self:var(--plasma-notification-horizontal-icon-left-align-self);-ms-flex-item-align:var(--plasma-notification-horizontal-icon-left-align);align-self:var(--plasma-notification-horizontal-icon-left-align-self);color:var(--i14raqr9-0);margin-right:var(--i14raqr9-1);margin-bottom:var(--i14raqr9-2);}.Notification_styles_1yt699o_i14raqr9__ff5174fd.Notification_styles_1yt699o_notificationLayoutHorizontal__ff5174fd{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
38
+ .Notification_styles_1yt699o_c157peez__ff5174fd{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.Notification_styles_1yt699o_c157peez__ff5174fd.Notification_styles_1yt699o_notificationLayoutHorizontal__ff5174fd{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
39
+ .Notification_styles_1yt699o_t1vmb0f2__ff5174fd{padding:var(--plasma-notification-textbox-padding-top) var(--plasma-notification-textbox-padding-right) var(--plasma-notification-textbox-padding-bottom) var(--plasma-notification-textbox-padding-left);padding-top:var(--t1vmb0f2-0);padding-right:var(--t1vmb0f2-1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:var(--plasma-notification-textbox-gap);word-break:break-word;}.Notification_styles_1yt699o_t1vmb0f2__ff5174fd.Notification_styles_1yt699o_notificationLayoutHorizontal__ff5174fd{padding:unset;}
40
+ .Notification_styles_1yt699o_s1k4e58v__ff5174fd{font-family:var(--plasma-notification-title-font-family);font-size:var(--plasma-notification-title-font-size);font-style:var(--plasma-notification-title-font-style);font-weight:var(--plasma-notification-title-font-weight);-webkit-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-title-font-letter-spacing);letter-spacing:var(--plasma-notification-title-font-letter-spacing);line-height:var(--plasma-notification-title-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--s1k4e58v-0);}
41
+ .Notification_styles_1yt699o_s92kmpm__ff5174fd{font-family:var(--plasma-notification-content-font-family);font-size:var(--plasma-notification-content-font-size);font-style:var(--plasma-notification-content-font-style);font-weight:var(--plasma-notification-content-font-weight);-webkit-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-content-font-letter-spacing);letter-spacing:var(--plasma-notification-content-font-letter-spacing);line-height:var(--plasma-notification-content-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--s92kmpm-0);}
42
+ .Notification_styles_1yt699o_s18m0x6v__ff5174fd{margin-top:1rem;opacity:1;}.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_notificationItemOpened__ff5174fd{-webkit-animation:0.4s Notification_styles_1yt699o_showAnimationS18m0x6v__ff5174fd ease-out;animation:0.4s Notification_styles_1yt699o_showAnimationS18m0x6v__ff5174fd ease-out;}.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_notificationItemOpened__ff5174fd.Notification_styles_1yt699o_notificationLeftToRightAnimation__ff5174fd{-webkit-animation:0.4s Notification_styles_1yt699o_showLeftToRightAnimationS18m0x6v__ff5174fd ease-out;animation:0.4s Notification_styles_1yt699o_showLeftToRightAnimationS18m0x6v__ff5174fd ease-out;}.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_notificationItemOpened__ff5174fd.Notification_styles_1yt699o_notificationTopToCenterAnimation__ff5174fd{-webkit-animation:0.4s Notification_styles_1yt699o_showTopToCenterAnimationS18m0x6v__ff5174fd ease-out;animation:0.4s Notification_styles_1yt699o_showTopToCenterAnimationS18m0x6v__ff5174fd ease-out;}.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_notificationItemOpened__ff5174fd.Notification_styles_1yt699o_notificationBottomToCenterAnimation__ff5174fd{-webkit-animation:0.4s Notification_styles_1yt699o_showBottomToCenterAnimationS18m0x6v__ff5174fd ease-out;animation:0.4s Notification_styles_1yt699o_showBottomToCenterAnimationS18m0x6v__ff5174fd ease-out;}.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_notificationItemHidden__ff5174fd{-webkit-animation:0.4s Notification_styles_1yt699o_hideAnimationS18m0x6v__ff5174fd ease-out;animation:0.4s Notification_styles_1yt699o_hideAnimationS18m0x6v__ff5174fd ease-out;}.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_s18m0x6v__ff5174fd.Notification_styles_1yt699o_notificationItemHidden__ff5174fd.Notification_styles_1yt699o_notificationLeftToRightAnimation__ff5174fd{-webkit-animation:0.4s Notification_styles_1yt699o_hideLeftToRightAnimationS18m0x6v__ff5174fd ease-out;animation:0.4s Notification_styles_1yt699o_hideLeftToRightAnimationS18m0x6v__ff5174fd ease-out;}@-webkit-keyframes Notification_styles_1yt699o_showTopToCenterAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@keyframes Notification_styles_1yt699o_showTopToCenterAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@-webkit-keyframes Notification_styles_1yt699o_showBottomToCenterAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@keyframes Notification_styles_1yt699o_showBottomToCenterAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);opacity:0;}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}}@-webkit-keyframes Notification_styles_1yt699o_showLeftToRightAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_1yt699o_showLeftToRightAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_1yt699o_hideLeftToRightAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@keyframes Notification_styles_1yt699o_hideLeftToRightAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@-webkit-keyframes Notification_styles_1yt699o_showAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_1yt699o_showAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_1yt699o_hideAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}@keyframes Notification_styles_1yt699o_hideAnimationS18m0x6v__ff5174fd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}
43
+ .Notification_styles_1yt699o_sfe5ql2__ff5174fd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;box-sizing:border-box;padding:0 1.5rem 1.5rem;max-height:100%;-webkit-align-items:var(--sfe5ql2-0);-webkit-box-align:var(--sfe5ql2-0);-ms-flex-align:var(--sfe5ql2-0);align-items:var(--sfe5ql2-0);}
@@ -12,7 +12,7 @@ import { layouts } from './Notification.types.js';
12
12
  import { Wrapper, ContentBox, IconWrapper, TextBox, StyledTitle, StyledContent, ButtonsWrapper, CloseIconWrapper, StyledNotification } from './Notification.styles.js';
13
13
  import { getLayoutClass } from './utils/index.js';
14
14
 
15
- var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "closeIconType", "textColor", "titleColor", "backgroundColor", "width", "onCloseButtonClick"];
15
+ var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "closeIconType", "textColor", "titleColor", "backgroundColor", "onCloseButtonClick"];
16
16
 
17
17
  /**
18
18
  * Компонент для небольших уведомлений пользователя
@@ -36,7 +36,6 @@ var notificationRoot = function notificationRoot(Root) {
36
36
  textColor = props.textColor,
37
37
  titleColor = props.titleColor,
38
38
  backgroundColor = props.backgroundColor,
39
- width = props.width,
40
39
  onCloseButtonClick = props.onCloseButtonClick,
41
40
  rest = _objectWithoutProperties(props, _excluded);
42
41
  var ariaLive = 'polite';
@@ -64,7 +63,6 @@ var notificationRoot = function notificationRoot(Root) {
64
63
  "aria-atomic": ariaAtomic
65
64
  }, rest), /*#__PURE__*/React.createElement(Wrapper, {
66
65
  backgroundColor: backgroundColor,
67
- width: width,
68
66
  className: cx(classes.wrapper, getLayoutClass(layout), oneLineClass, withoutCloseIconClass)
69
67
  }, /*#__PURE__*/React.createElement(ContentBox, {
70
68
  iconPlacement: IconPlacementInternal,
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","sources":["../../../src/components/Notification/Notification.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { IconCross } from '../_Icon/Icons/IconCross';\nimport { IconCrossThin } from '../_Icon/Icons/IconCrossThin';\n\nimport { classes, tokens } from './Notification.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as layoutCSS } from './variations/_layout/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as closeIconTypeCSS } from './variations/_closeIconType/base';\nimport { NotificationLayout, NotificationProps, layouts } from './Notification.types';\nimport {\n ButtonsWrapper,\n CloseIconWrapper,\n ContentBox,\n IconWrapper,\n StyledContent,\n StyledNotification,\n StyledTitle,\n TextBox,\n Wrapper,\n} from './Notification.styles';\nimport { getLayoutClass } from './utils';\n\n/**\n * Компонент для небольших уведомлений пользователя\n */\nexport const notificationRoot = (Root: RootProps<HTMLDivElement, Omit<NotificationProps, 'title'>>) =>\n forwardRef<HTMLDivElement, NotificationProps>((props, ref) => {\n const {\n role = 'status',\n title,\n children: content,\n actions,\n view,\n size,\n iconPlacement,\n showCloseIcon = true,\n layout = layouts.vertical as NotificationLayout,\n icon,\n closeIconType,\n textColor,\n titleColor,\n backgroundColor,\n width,\n onCloseButtonClick,\n ...rest\n } = props;\n\n let ariaLive: 'assertive' | 'polite' = 'polite';\n let ariaAtomic = false;\n\n if (role === 'alert') {\n ariaLive = 'assertive';\n } else if (role === 'status') {\n ariaAtomic = true;\n }\n\n const isOneLine = !content || !title;\n const oneLineClass = isOneLine ? classes.oneLine : undefined;\n const withoutIconClass = icon ? undefined : classes.withoutIcon;\n const withoutCloseIconClass = showCloseIcon ? undefined : classes.withoutCloseIcon;\n\n const IconPlacementInternal = useMemo(() => (icon ? iconPlacement : undefined), [icon, iconPlacement]);\n\n return (\n <Root\n view={view}\n size={size}\n layout={layout}\n closeIconType={closeIconType}\n ref={ref}\n role={role}\n aria-live={ariaLive}\n aria-atomic={ariaAtomic}\n {...rest}\n >\n <Wrapper\n backgroundColor={backgroundColor}\n width={width}\n className={cx(classes.wrapper, getLayoutClass(layout), oneLineClass, withoutCloseIconClass)}\n >\n <ContentBox\n iconPlacement={IconPlacementInternal}\n className={cx(classes.contentBox, getLayoutClass(layout), withoutIconClass)}\n >\n {icon && (\n <IconWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.icon, getLayoutClass(layout))}\n >\n {icon}\n </IconWrapper>\n )}\n <TextBox\n iconPlacement={IconPlacementInternal}\n showCloseIcon={showCloseIcon}\n className={cx(classes.textbox, getLayoutClass(layout))}\n >\n {title && (\n <StyledTitle className={classes.title} textColor={titleColor}>\n {title}\n </StyledTitle>\n )}\n {content && (\n <StyledContent className={classes.text} textColor={textColor}>\n {content}\n </StyledContent>\n )}\n </TextBox>\n </ContentBox>\n {actions && (\n <ButtonsWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.buttonsWrapper, getLayoutClass(layout))}\n >\n {actions}\n </ButtonsWrapper>\n )}\n\n {showCloseIcon && (\n <CloseIconWrapper\n view=\"clear\"\n size=\"s\"\n onClick={onCloseButtonClick}\n className={cx(classes.closeIcon, getLayoutClass(layout))}\n >\n {closeIconType === 'default' ? (\n <IconCross size=\"s\" sizeCustomProperty={tokens.closeIconSize} color=\"inherit\" />\n ) : (\n <IconCrossThin size=\"s\" sizeCustomProperty={tokens.closeIconSize} color=\"inherit\" />\n )}\n </CloseIconWrapper>\n )}\n </Wrapper>\n </Root>\n );\n });\n\nexport const notificationConfig = {\n name: 'Notification',\n tag: 'div',\n layout: notificationRoot,\n base: StyledNotification,\n variations: {\n layout: {\n css: layoutCSS,\n },\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n closeIconType: {\n css: closeIconTypeCSS,\n },\n },\n defaults: {\n view: 'default',\n layout: layouts.vertical,\n size: 'xs',\n closeIconType: 'default',\n },\n};\n"],"names":["notificationRoot","Root","forwardRef","props","ref","_props$role","role","title","content","children","actions","view","size","iconPlacement","_props$showCloseIcon","showCloseIcon","_props$layout","layout","layouts","vertical","icon","closeIconType","textColor","titleColor","backgroundColor","width","onCloseButtonClick","rest","_objectWithoutProperties","_excluded","ariaLive","ariaAtomic","isOneLine","oneLineClass","classes","oneLine","undefined","withoutIconClass","withoutIcon","withoutCloseIconClass","withoutCloseIcon","IconPlacementInternal","useMemo","React","createElement","_extends","Wrapper","className","cx","wrapper","getLayoutClass","ContentBox","contentBox","IconWrapper","TextBox","textbox","StyledTitle","StyledContent","text","ButtonsWrapper","buttonsWrapper","CloseIconWrapper","onClick","closeIcon","IconCross","sizeCustomProperty","tokens","closeIconSize","color","IconCrossThin","notificationConfig","name","tag","base","StyledNotification","variations","css","layoutCSS","viewCSS","sizeCSS","closeIconTypeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;AA0BA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAiE,EAAA;AAAA,EAAA,oBAC9FC,UAAU,CAAoC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC1D,IAAA,IAAAC,WAAA,GAkBIF,KAAK,CAjBLG,IAAI;AAAJA,MAAAA,IAAI,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,WAAA;MACfE,KAAK,GAgBLJ,KAAK,CAhBLI,KAAK;MACKC,OAAO,GAejBL,KAAK,CAfLM,QAAQ;MACRC,OAAO,GAcPP,KAAK,CAdLO,OAAO;MACPC,IAAI,GAaJR,KAAK,CAbLQ,IAAI;MACJC,IAAI,GAYJT,KAAK,CAZLS,IAAI;MACJC,aAAa,GAWbV,KAAK,CAXLU,aAAa;MAAAC,oBAAA,GAWbX,KAAK,CAVLY,aAAa;AAAbA,MAAAA,aAAa,GAAAD,oBAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,oBAAA;MAAAE,aAAA,GAUpBb,KAAK,CATLc,MAAM;AAANA,MAAAA,MAAM,GAAAD,aAAA,KAAA,KAAA,CAAA,GAAGE,OAAO,CAACC,QAAQ,GAAAH,aAAA;MACzBI,IAAI,GAQJjB,KAAK,CARLiB,IAAI;MACJC,aAAa,GAOblB,KAAK,CAPLkB,aAAa;MACbC,SAAS,GAMTnB,KAAK,CANLmB,SAAS;MACTC,UAAU,GAKVpB,KA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D,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACDlE,IAAAA,IAAI,EAAE;AACFiE,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDlE,IAAAA,IAAI,EAAE;AACFgE,MAAAA,GAAG,EAAEG,MAAAA;KACR;AACD1D,IAAAA,aAAa,EAAE;AACXuD,MAAAA,GAAG,EAAEI,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNtE,IAAAA,IAAI,EAAE,SAAS;IACfM,MAAM,EAAEC,OAAO,CAACC,QAAQ;AACxBP,IAAAA,IAAI,EAAE,IAAI;AACVS,IAAAA,aAAa,EAAE,SAAA;AACnB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Notification.js","sources":["../../../src/components/Notification/Notification.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { IconCross } from '../_Icon/Icons/IconCross';\nimport { IconCrossThin } from '../_Icon/Icons/IconCrossThin';\n\nimport { classes, tokens } from './Notification.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as layoutCSS } from './variations/_layout/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as closeIconTypeCSS } from './variations/_closeIconType/base';\nimport { NotificationLayout, NotificationProps, layouts } from './Notification.types';\nimport {\n ButtonsWrapper,\n CloseIconWrapper,\n ContentBox,\n IconWrapper,\n StyledContent,\n StyledNotification,\n StyledTitle,\n TextBox,\n Wrapper,\n} from './Notification.styles';\nimport { getLayoutClass } from './utils';\n\n/**\n * Компонент для небольших уведомлений пользователя\n */\nexport const notificationRoot = (Root: RootProps<HTMLDivElement, Omit<NotificationProps, 'title'>>) =>\n forwardRef<HTMLDivElement, NotificationProps>((props, ref) => {\n const {\n role = 'status',\n title,\n children: content,\n actions,\n view,\n size,\n iconPlacement,\n showCloseIcon = true,\n layout = layouts.vertical as NotificationLayout,\n icon,\n closeIconType,\n textColor,\n titleColor,\n backgroundColor,\n onCloseButtonClick,\n ...rest\n } = props;\n\n let ariaLive: 'assertive' | 'polite' = 'polite';\n let ariaAtomic = false;\n\n if (role === 'alert') {\n ariaLive = 'assertive';\n } else if (role === 'status') {\n ariaAtomic = true;\n }\n\n const isOneLine = !content || !title;\n const oneLineClass = isOneLine ? classes.oneLine : undefined;\n const withoutIconClass = icon ? undefined : classes.withoutIcon;\n const withoutCloseIconClass = showCloseIcon ? undefined : classes.withoutCloseIcon;\n\n const IconPlacementInternal = useMemo(() => (icon ? iconPlacement : undefined), [icon, iconPlacement]);\n\n return (\n <Root\n view={view}\n size={size}\n layout={layout}\n closeIconType={closeIconType}\n ref={ref}\n role={role}\n aria-live={ariaLive}\n aria-atomic={ariaAtomic}\n {...rest}\n >\n <Wrapper\n backgroundColor={backgroundColor}\n className={cx(classes.wrapper, getLayoutClass(layout), oneLineClass, withoutCloseIconClass)}\n >\n <ContentBox\n iconPlacement={IconPlacementInternal}\n className={cx(classes.contentBox, getLayoutClass(layout), withoutIconClass)}\n >\n {icon && (\n <IconWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.icon, getLayoutClass(layout))}\n >\n {icon}\n </IconWrapper>\n )}\n <TextBox\n iconPlacement={IconPlacementInternal}\n showCloseIcon={showCloseIcon}\n className={cx(classes.textbox, getLayoutClass(layout))}\n >\n {title && (\n <StyledTitle className={classes.title} textColor={titleColor}>\n {title}\n </StyledTitle>\n )}\n {content && (\n <StyledContent className={classes.text} textColor={textColor}>\n {content}\n </StyledContent>\n )}\n </TextBox>\n </ContentBox>\n {actions && (\n <ButtonsWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.buttonsWrapper, getLayoutClass(layout))}\n >\n {actions}\n </ButtonsWrapper>\n )}\n\n {showCloseIcon && (\n <CloseIconWrapper\n view=\"clear\"\n size=\"s\"\n onClick={onCloseButtonClick}\n className={cx(classes.closeIcon, getLayoutClass(layout))}\n >\n {closeIconType === 'default' ? (\n <IconCross size=\"s\" sizeCustomProperty={tokens.closeIconSize} color=\"inherit\" />\n ) : (\n <IconCrossThin size=\"s\" sizeCustomProperty={tokens.closeIconSize} color=\"inherit\" />\n )}\n </CloseIconWrapper>\n )}\n </Wrapper>\n </Root>\n );\n });\n\nexport const notificationConfig = {\n name: 'Notification',\n tag: 'div',\n layout: notificationRoot,\n base: StyledNotification,\n variations: {\n layout: {\n css: layoutCSS,\n },\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n closeIconType: {\n css: closeIconTypeCSS,\n },\n },\n defaults: {\n view: 'default',\n layout: layouts.vertical,\n size: 'xs',\n closeIconType: 'default',\n },\n};\n"],"names":["notificationRoot","Root","forwardRef","props","ref","_props$role","role","title","content","children","actions","view","size","iconPlacement","_props$showCloseIcon","showCloseIcon","_props$layout","layout","layouts","vertical","icon","closeIconType","textColor","titleColor","backgroundColor","onCloseButtonClick","rest","_objectWithoutProperties","_excluded","ariaLive","ariaAtomic","isOneLine","oneLineClass","classes","oneLine","undefined","withoutIconClass","withoutIcon","withoutCloseIconClass","withoutCloseIcon","IconPlacementInternal","useMemo","React","createElement","_extends","Wrapper","className","cx","wrapper","getLayoutClass","ContentBox","contentBox","IconWrapper","TextBox","textbox","StyledTitle","StyledContent","text","ButtonsWrapper","buttonsWrapper","CloseIconWrapper","onClick","closeIcon","IconCross","sizeCustomProperty","tokens","closeIconSize","color","IconCrossThin","notificationConfig","name","tag","base","StyledNotification","variations","css","layoutCSS","viewCSS","sizeCSS","closeIconTypeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;AA0BA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAiE,EAAA;AAAA,EAAA,oBAC9FC,UAAU,CAAoC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC1D,IAAA,IAAAC,WAAA,GAiBIF,KAAK,CAhBLG,IAAI;AAAJA,MAAAA,IAAI,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,WAAA;MACfE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AAG;MAACoD,kBAAkB,EAAEC,MAAM,CAACC,aAAc;AAACC,MAAAA,KAAK,EAAC,SAAA;AAAS,KAAE,CAAC,gBAEhFzB,KAAA,CAAAC,aAAA,CAACyB,aAAa,EAAA;AAACxD,MAAAA,IAAI,EAAC,GAAG;MAACoD,kBAAkB,EAAEC,MAAM,CAACC,aAAc;AAACC,MAAAA,KAAK,EAAC,SAAA;KAAW,CAEzE,CAEjB,CACP,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAME,kBAAkB,GAAG;AAC9BC,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,GAAG,EAAE,KAAK;AACVtD,EAAAA,MAAM,EAAEjB,gBAAgB;AACxBwE,EAAAA,IAAI,EAAEC,kBAAkB;AACxBC,EAAAA,UAAU,EAAE;AACRzD,IAAAA,MAAM,EAAE;AACJ0D,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACDjE,IAAAA,IAAI,EAAE;AACFgE,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDjE,IAAAA,IAAI,EAAE;AACF+D,MAAAA,GAAG,EAAEG,MAAAA;KACR;AACDzD,IAAAA,aAAa,EAAE;AACXsD,MAAAA,GAAG,EAAEI,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNrE,IAAAA,IAAI,EAAE,SAAS;IACfM,MAAM,EAAEC,OAAO,CAACC,QAAQ;AACxBP,IAAAA,IAAI,EAAE,IAAI;AACVS,IAAAA,aAAa,EAAE,SAAA;AACnB,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './Notification.styles_1ogp4a2.css';
1
+ import './Notification.styles_1yt699o.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { tokens } from './Notification.tokens.js';
4
4
  import { placements } from './Notification.types.js';
@@ -18,14 +18,7 @@ var CloseIconWrapper = /*#__PURE__*/styled(_exp())({
18
18
  });
19
19
  var _exp8 = function _exp8() {
20
20
  return function (_ref) {
21
- var _ref$width = _ref.width,
22
- width = _ref$width === void 0 ? "var(".concat(tokens.width, ")") : _ref$width;
23
- return width;
24
- };
25
- };
26
- var _exp12 = function _exp12() {
27
- return function (_ref2) {
28
- var backgroundColor = _ref2.backgroundColor;
21
+ var backgroundColor = _ref.backgroundColor;
29
22
  return backgroundColor || "var(".concat(tokens.background, ")");
30
23
  };
31
24
  };
@@ -34,13 +27,12 @@ var Wrapper = /*#__PURE__*/styled('div')({
34
27
  "class": "wg1ga5v",
35
28
  propsAsIs: false,
36
29
  vars: {
37
- "wg1ga5v-0": [/*#__PURE__*/_exp8()],
38
- "wg1ga5v-1": [/*#__PURE__*/_exp12()]
30
+ "wg1ga5v-0": [/*#__PURE__*/_exp8()]
39
31
  }
40
32
  });
41
- var _exp16 = function _exp16() {
42
- return function (_ref3) {
43
- var iconPlacement = _ref3.iconPlacement;
33
+ var _exp15 = function _exp15() {
34
+ return function (_ref2) {
35
+ var iconPlacement = _ref2.iconPlacement;
44
36
  return iconPlacement === placements.left ? "var(".concat(tokens.buttonsMarginLeft, ")") : 'unset';
45
37
  };
46
38
  };
@@ -49,24 +41,24 @@ var ButtonsWrapper = /*#__PURE__*/styled('div')({
49
41
  "class": "b1amsn8a",
50
42
  propsAsIs: false,
51
43
  vars: {
52
- "b1amsn8a-0": [/*#__PURE__*/_exp16()]
44
+ "b1amsn8a-0": [/*#__PURE__*/_exp15()]
53
45
  }
54
46
  });
47
+ var _exp21 = function _exp21() {
48
+ return function (_ref3) {
49
+ var iconColor = _ref3.iconColor;
50
+ return iconColor || "var(".concat(tokens.contentLeftIconColor, ")");
51
+ };
52
+ };
55
53
  var _exp22 = function _exp22() {
56
54
  return function (_ref4) {
57
- var iconColor = _ref4.iconColor;
58
- return iconColor || "var(".concat(tokens.contentLeftIconColor, ")");
55
+ var iconPlacement = _ref4.iconPlacement;
56
+ return iconPlacement === placements.left ? "var(".concat(tokens.contentLeftIconMargin, ")") : 'unset';
59
57
  };
60
58
  };
61
59
  var _exp23 = function _exp23() {
62
60
  return function (_ref5) {
63
61
  var iconPlacement = _ref5.iconPlacement;
64
- return iconPlacement === placements.left ? "var(".concat(tokens.contentLeftIconMargin, ")") : 'unset';
65
- };
66
- };
67
- var _exp24 = function _exp24() {
68
- return function (_ref6) {
69
- var iconPlacement = _ref6.iconPlacement;
70
62
  return iconPlacement === placements.top ? "var(".concat(tokens.contentTopIconMargin, ")") : 'unset';
71
63
  };
72
64
  };
@@ -75,20 +67,20 @@ var IconWrapper = /*#__PURE__*/styled('div')({
75
67
  "class": "i14raqr9",
76
68
  propsAsIs: false,
77
69
  vars: {
78
- "i14raqr9-0": [/*#__PURE__*/_exp22()],
79
- "i14raqr9-1": [/*#__PURE__*/_exp23()],
80
- "i14raqr9-2": [/*#__PURE__*/_exp24()]
70
+ "i14raqr9-0": [/*#__PURE__*/_exp21()],
71
+ "i14raqr9-1": [/*#__PURE__*/_exp22()],
72
+ "i14raqr9-2": [/*#__PURE__*/_exp23()]
81
73
  }
82
74
  });
83
- var _exp27 = function _exp27() {
84
- return function (_ref7) {
85
- var iconPlacement = _ref7.iconPlacement;
75
+ var _exp26 = function _exp26() {
76
+ return function (_ref6) {
77
+ var iconPlacement = _ref6.iconPlacement;
86
78
  return iconPlacement === placements.left ? 'flex' : 'block';
87
79
  };
88
80
  };
89
- var _exp28 = function _exp28() {
90
- return function (_ref8) {
91
- var iconPlacement = _ref8.iconPlacement;
81
+ var _exp27 = function _exp27() {
82
+ return function (_ref7) {
83
+ var iconPlacement = _ref7.iconPlacement;
92
84
  return iconPlacement ? "var(".concat(tokens.contentPaddingTop, ")") : "var(".concat(tokens.contentPaddingTopWithoutIcon, ")");
93
85
  };
94
86
  };
@@ -97,20 +89,20 @@ var ContentBox = /*#__PURE__*/styled('div')({
97
89
  "class": "c157peez",
98
90
  propsAsIs: false,
99
91
  vars: {
100
- "c157peez-0": [/*#__PURE__*/_exp27()],
101
- "c157peez-1": [/*#__PURE__*/_exp28()]
92
+ "c157peez-0": [/*#__PURE__*/_exp26()],
93
+ "c157peez-1": [/*#__PURE__*/_exp27()]
102
94
  }
103
95
  });
104
- var _exp34 = function _exp34() {
105
- return function (_ref9) {
106
- var iconPlacement = _ref9.iconPlacement;
96
+ var _exp33 = function _exp33() {
97
+ return function (_ref8) {
98
+ var iconPlacement = _ref8.iconPlacement;
107
99
  return !iconPlacement || iconPlacement === placements.top ? "var(".concat(tokens.textboxPaddingTopWithTopIcon, ")") : "var(".concat(tokens.textboxPaddingTop, ")");
108
100
  };
109
101
  };
110
- var _exp35 = function _exp35() {
111
- return function (_ref10) {
112
- var showCloseIcon = _ref10.showCloseIcon,
113
- iconPlacement = _ref10.iconPlacement;
102
+ var _exp34 = function _exp34() {
103
+ return function (_ref9) {
104
+ var showCloseIcon = _ref9.showCloseIcon,
105
+ iconPlacement = _ref9.iconPlacement;
114
106
  return showCloseIcon && iconPlacement !== placements.top ? "var(".concat(tokens.textboxPaddingRightWithCloseIcon, ")") : "var(".concat(tokens.textboxPaddingRight, ")");
115
107
  };
116
108
  };
@@ -119,13 +111,13 @@ var TextBox = /*#__PURE__*/styled('div')({
119
111
  "class": "t1vmb0f2",
120
112
  propsAsIs: false,
121
113
  vars: {
122
- "t1vmb0f2-0": [/*#__PURE__*/_exp34()],
123
- "t1vmb0f2-1": [/*#__PURE__*/_exp35()]
114
+ "t1vmb0f2-0": [/*#__PURE__*/_exp33()],
115
+ "t1vmb0f2-1": [/*#__PURE__*/_exp34()]
124
116
  }
125
117
  });
126
- var _exp45 = function _exp45() {
127
- return function (_ref11) {
128
- var textColor = _ref11.textColor;
118
+ var _exp44 = function _exp44() {
119
+ return function (_ref10) {
120
+ var textColor = _ref10.textColor;
129
121
  return textColor || "var(".concat(tokens.titleColor, ")");
130
122
  };
131
123
  };
@@ -134,12 +126,12 @@ var StyledTitle = /*#__PURE__*/styled('div')({
134
126
  "class": "s1k4e58v",
135
127
  propsAsIs: false,
136
128
  vars: {
137
- "s1k4e58v-0": [/*#__PURE__*/_exp45()]
129
+ "s1k4e58v-0": [/*#__PURE__*/_exp44()]
138
130
  }
139
131
  });
140
- var _exp53 = function _exp53() {
141
- return function (_ref12) {
142
- var textColor = _ref12.textColor;
132
+ var _exp52 = function _exp52() {
133
+ return function (_ref11) {
134
+ var textColor = _ref11.textColor;
143
135
  return textColor || "var(".concat(tokens.contentColor, ")");
144
136
  };
145
137
  };
@@ -148,7 +140,7 @@ var StyledContent = /*#__PURE__*/styled('div')({
148
140
  "class": "s92kmpm",
149
141
  propsAsIs: false,
150
142
  vars: {
151
- "s92kmpm-0": [/*#__PURE__*/_exp53()]
143
+ "s92kmpm-0": [/*#__PURE__*/_exp52()]
152
144
  }
153
145
  });
154
146
  var StyledItemWrapper = /*#__PURE__*/styled('div')({
@@ -156,9 +148,9 @@ var StyledItemWrapper = /*#__PURE__*/styled('div')({
156
148
  "class": "s18m0x6v",
157
149
  propsAsIs: false
158
150
  });
159
- var _exp60 = function _exp60() {
160
- return function (_ref13) {
161
- var placement = _ref13.placement;
151
+ var _exp59 = function _exp59() {
152
+ return function (_ref12) {
153
+ var placement = _ref12.placement;
162
154
  return placement === 'bottom-left' ? 'flex-start' : 'flex-end';
163
155
  };
164
156
  };
@@ -167,7 +159,7 @@ var StyledRoot = /*#__PURE__*/styled('div')({
167
159
  "class": "sfe5ql2",
168
160
  propsAsIs: false,
169
161
  vars: {
170
- "sfe5ql2-0": [/*#__PURE__*/_exp60()]
162
+ "sfe5ql2-0": [/*#__PURE__*/_exp59()]
171
163
  }
172
164
  });
173
165