@salutejs/plasma-new-hope 0.176.0-dev.0 → 0.176.1-canary.1510.11572230988.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. package/cjs/components/Notification/Notification.css +11 -11
  2. package/cjs/components/Notification/Notification.js +2 -2
  3. package/cjs/components/Notification/Notification.js.map +1 -1
  4. package/cjs/components/Notification/Notification.styles.js +11 -2
  5. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  6. package/cjs/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_e6274r.css} +2 -2
  7. package/cjs/components/Notification/Notification.tokens.js +2 -1
  8. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  9. package/cjs/components/Notification/Notification.types.js.map +1 -1
  10. package/cjs/components/Notification/NotificationsPortal.js +8 -4
  11. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  12. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  13. package/cjs/components/Notification/NotificationsProvider.js +3 -1
  14. package/cjs/components/Notification/NotificationsProvider.js.map +1 -1
  15. package/cjs/components/Pagination/Pagination.css +12 -12
  16. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
  17. package/cjs/components/Select/Select.css +12 -12
  18. package/cjs/components/Select/Select.tokens.js +2 -1
  19. package/cjs/components/Select/Select.tokens.js.map +1 -1
  20. package/cjs/components/Select/ui/Inner/Inner.css +12 -12
  21. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +12 -12
  22. package/cjs/components/Select/ui/Target/Target.css +12 -12
  23. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  24. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  25. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  26. package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_11yj58s.css → Textfield.styles_jzeap2.css} +1 -1
  27. package/cjs/index.css +23 -23
  28. package/cjs/index.js +1 -1
  29. package/emotion/cjs/components/Notification/Notification.js +2 -2
  30. package/emotion/cjs/components/Notification/Notification.styles.js +14 -19
  31. package/emotion/cjs/components/Notification/Notification.template-doc.mdx +17 -8
  32. package/emotion/cjs/components/Notification/Notification.tokens.js +2 -1
  33. package/emotion/cjs/components/Notification/NotificationsPortal.js +9 -5
  34. package/emotion/cjs/components/Notification/NotificationsProvider.js +3 -1
  35. package/emotion/cjs/components/Notification/index.js +4 -4
  36. package/emotion/cjs/components/Select/Select.tokens.js +2 -1
  37. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
  38. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.js +5 -3
  39. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  40. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.js +5 -3
  41. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  42. package/emotion/es/components/Notification/Notification.js +1 -1
  43. package/emotion/es/components/Notification/Notification.styles.js +14 -19
  44. package/emotion/es/components/Notification/Notification.template-doc.mdx +17 -8
  45. package/emotion/es/components/Notification/Notification.tokens.js +2 -1
  46. package/emotion/es/components/Notification/NotificationsPortal.js +9 -5
  47. package/emotion/es/components/Notification/NotificationsProvider.js +3 -1
  48. package/emotion/es/components/Notification/index.js +1 -1
  49. package/emotion/es/components/Select/Select.tokens.js +2 -1
  50. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
  51. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.js +6 -4
  52. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  53. package/emotion/es/examples/plasma_web/components/Notification/Notification.js +6 -4
  54. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  55. package/es/components/Notification/Notification.css +11 -11
  56. package/es/components/Notification/Notification.js +2 -2
  57. package/es/components/Notification/Notification.js.map +1 -1
  58. package/es/components/Notification/Notification.styles.js +11 -2
  59. package/es/components/Notification/Notification.styles.js.map +1 -1
  60. package/es/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_e6274r.css} +2 -2
  61. package/es/components/Notification/Notification.tokens.js +2 -1
  62. package/es/components/Notification/Notification.tokens.js.map +1 -1
  63. package/es/components/Notification/Notification.types.js.map +1 -1
  64. package/es/components/Notification/NotificationsPortal.js +8 -4
  65. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  66. package/es/components/Notification/NotificationsProvider.css +11 -11
  67. package/es/components/Notification/NotificationsProvider.js +3 -1
  68. package/es/components/Notification/NotificationsProvider.js.map +1 -1
  69. package/es/components/Pagination/Pagination.css +12 -12
  70. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
  71. package/es/components/Select/Select.css +12 -12
  72. package/es/components/Select/Select.tokens.js +2 -1
  73. package/es/components/Select/Select.tokens.js.map +1 -1
  74. package/es/components/Select/ui/Inner/Inner.css +12 -12
  75. package/es/components/Select/ui/Inner/ui/Item/Item.css +12 -12
  76. package/es/components/Select/ui/Target/Target.css +12 -12
  77. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  78. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  79. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  80. package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_11yj58s.css → Textfield.styles_jzeap2.css} +1 -1
  81. package/es/index.css +23 -23
  82. package/es/index.js +1 -1
  83. package/package.json +2 -2
  84. package/styled-components/cjs/components/Notification/Notification.js +2 -2
  85. package/styled-components/cjs/components/Notification/Notification.styles.js +5 -2
  86. package/styled-components/cjs/components/Notification/Notification.template-doc.mdx +17 -8
  87. package/styled-components/cjs/components/Notification/Notification.tokens.js +2 -1
  88. package/styled-components/cjs/components/Notification/NotificationsPortal.js +8 -4
  89. package/styled-components/cjs/components/Notification/NotificationsProvider.js +3 -1
  90. package/styled-components/cjs/components/Notification/index.js +4 -4
  91. package/styled-components/cjs/components/Select/Select.tokens.js +2 -1
  92. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  93. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.js +5 -3
  94. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  95. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.js +5 -3
  96. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  97. package/styled-components/es/components/Notification/Notification.js +1 -1
  98. package/styled-components/es/components/Notification/Notification.styles.js +5 -2
  99. package/styled-components/es/components/Notification/Notification.template-doc.mdx +17 -8
  100. package/styled-components/es/components/Notification/Notification.tokens.js +2 -1
  101. package/styled-components/es/components/Notification/NotificationsPortal.js +8 -4
  102. package/styled-components/es/components/Notification/NotificationsProvider.js +3 -1
  103. package/styled-components/es/components/Notification/index.js +1 -1
  104. package/styled-components/es/components/Select/Select.tokens.js +2 -1
  105. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  106. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.js +6 -4
  107. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  108. package/styled-components/es/examples/plasma_web/components/Notification/Notification.js +6 -4
  109. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  110. package/types/components/Notification/Notification.d.ts +3 -3
  111. package/types/components/Notification/Notification.d.ts.map +1 -1
  112. package/types/components/Notification/Notification.styles.d.ts +4 -2
  113. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  114. package/types/components/Notification/Notification.tokens.d.ts +1 -0
  115. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  116. package/types/components/Notification/Notification.types.d.ts +11 -5
  117. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  118. package/types/components/Notification/NotificationsPortal.d.ts.map +1 -1
  119. package/types/components/Notification/NotificationsProvider.d.ts +4 -3
  120. package/types/components/Notification/NotificationsProvider.d.ts.map +1 -1
  121. package/types/components/Notification/index.d.ts +2 -2
  122. package/types/components/Notification/index.d.ts.map +1 -1
  123. package/types/components/Select/Select.tokens.d.ts +1 -0
  124. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  125. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  126. package/types/examples/plasma_b2c/components/Notification/Notification.d.ts +4 -2
  127. package/types/examples/plasma_b2c/components/Notification/Notification.d.ts.map +1 -1
  128. package/types/examples/plasma_web/components/Notification/Notification.d.ts +4 -13
  129. package/types/examples/plasma_web/components/Notification/Notification.d.ts.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { AsProps } from '@salutejs/plasma-core';
2
- import { HTMLAttributes, ReactNode, RefAttributes } from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
3
  import { ComponentConfig, PropsType, Variants } from '../../engines/types';
4
4
  export declare const layouts: {
5
5
  horizontal: string;
@@ -11,6 +11,7 @@ export declare const placements: {
11
11
  left: string;
12
12
  };
13
13
  export declare type NotificationIconPlacement = keyof typeof placements;
14
+ export declare type NotificationPlacement = 'bottom-right' | 'bottom-left';
14
15
  export declare type LayoutType = {
15
16
  layout?: NotificationLayout;
16
17
  };
@@ -20,11 +21,11 @@ export declare type IconPlacementType = {
20
21
  export declare type CloseIconType = {
21
22
  showCloseIcon?: boolean;
22
23
  };
23
- export interface NotificationProps extends AsProps, HTMLAttributes<HTMLDivElement> {
24
+ export interface NotificationProps extends AsProps, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
24
25
  /**
25
26
  * Заголовок.
26
27
  */
27
- title?: string;
28
+ title?: ReactNode;
28
29
  /**
29
30
  * Контент под заголовком.
30
31
  */
@@ -70,14 +71,19 @@ export interface NotificationProps extends AsProps, HTMLAttributes<HTMLDivElemen
70
71
  */
71
72
  size?: string;
72
73
  }
73
- export interface NotificationPortalProps extends HTMLAttributes<HTMLDivElement> {
74
+ export interface NotificationPortalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
74
75
  /**
75
76
  * Конфиг компонента Notification.
76
77
  */
77
- config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & RefAttributes<HTMLDivElement>>;
78
+ config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & HTMLAttributes<HTMLDivElement>>;
78
79
  /**
79
80
  * В каком контейнере позиционируется(по умолчанию document), можно также указать id элемента или ref для него.
80
81
  */
81
82
  frame?: string;
83
+ /**
84
+ * Расположение компонента Notification во frame
85
+ * @default bottom-right
86
+ */
87
+ placement?: NotificationPlacement;
82
88
  }
83
89
  //# sourceMappingURL=Notification.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.types.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE3E,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,oBAAY,kBAAkB,GAAG,MAAM,OAAO,OAAO,CAAC;AAEtD,eAAO,MAAM,UAAU;;;CAGtB,CAAC;AAEF,oBAAY,yBAAyB,GAAG,MAAM,OAAO,UAAU,CAAC;AAEhE,oBAAY,UAAU,GAAG;IACrB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC/B,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC5B,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC7C,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,OAAO,EAAE,cAAc,CAAC,cAAc,CAAC;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAC1C;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC;IAClH;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"Notification.types.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE3E,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,oBAAY,kBAAkB,GAAG,MAAM,OAAO,OAAO,CAAC;AAEtD,eAAO,MAAM,UAAU;;;CAGtB,CAAC;AAEF,oBAAY,yBAAyB,GAAG,MAAM,OAAO,UAAU,CAAC;AAChE,oBAAY,qBAAqB,GAAG,cAAc,GAAG,aAAa,CAAC;AAEnE,oBAAY,UAAU,GAAG;IACrB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC/B,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC5B,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC7C,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAC7F;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAC1C;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAC1F;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IACnH;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsPortal.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationsPortal.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAUrF,OAAO,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAC;AAalF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,uBAAuB,CAkC3D,CAAC"}
1
+ {"version":3,"file":"NotificationsPortal.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationsPortal.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAUrF,OAAO,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAC;AAalF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,uBAAuB,CAmC3D,CAAC"}
@@ -1,10 +1,11 @@
1
- import { FC, ReactNode, RefAttributes } from 'react';
1
+ import { FC, HTMLAttributes, ReactNode } from 'react';
2
2
  import { ComponentConfig } from '../../engines';
3
3
  import { PropsType, Variants } from '../../engines/types';
4
- import { NotificationProps } from './Notification.types';
4
+ import { NotificationPlacement, NotificationProps } from './Notification.types';
5
5
  export declare const NotificationsProvider: FC<{
6
6
  children: ReactNode;
7
- config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & RefAttributes<HTMLDivElement>>;
7
+ config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & HTMLAttributes<HTMLDivElement>>;
8
8
  frame?: string;
9
+ placement?: NotificationPlacement;
9
10
  }>;
10
11
  //# sourceMappingURL=NotificationsProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationsProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC;IAClH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAOA,CAAC"}
1
+ {"version":3,"file":"NotificationsProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationsProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEhF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IACnH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAOA,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export { NotificationsProvider } from './NotificationsProvider';
2
- export { notificationRoot, noticationConfig } from './Notification';
2
+ export { notificationRoot, notificationConfig } from './Notification';
3
3
  export { addNotification, closeNotification } from './NotificationsStore';
4
4
  export { classes as notificationClasses, tokens as notificationTokens } from './Notification.tokens';
5
- export type { NotificationProps, NotificationPortalProps, NotificationLayout, NotificationIconPlacement, } from './Notification.types';
5
+ export type { NotificationProps, NotificationPortalProps, NotificationLayout, NotificationIconPlacement, NotificationPlacement, } from './Notification.types';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACrG,YAAY,EACR,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,GAC5B,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACrG,YAAY,EACR,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,qBAAqB,GACxB,MAAM,sBAAsB,CAAC"}
@@ -94,6 +94,7 @@ export declare const tokens: {
94
94
  spinnerSizeTight: string;
95
95
  disclosureIconColor: string;
96
96
  disclosureIconColorHover: string;
97
+ contentLeftColor: string;
97
98
  };
98
99
  export declare const constants: {
99
100
  focusColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAiBrB,CAAC"}
1
+ {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAiBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAKlE,eAAO,MAAM,gBAAgB;YAAwB,OAAO;WAAS,iBAAiB,CAAC,OAAO,CAAC;EA8B9F,CAAC;AAEF,eAAO,MAAM,YAAY;kBAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAyBjE,CAAC;AAEF,eAAO,MAAM,WAAW,6GAAuC,CAAC;AAEhE,eAAO,MAAM,gBAAgB,qKAY5B,CAAC;AAEF,eAAO,MAAM,OAAO,qKAUnB,CAAC;AAEF,eAAO,MAAM,WAAW;iBACP,iBAAiB,CAAC,aAAa,CAAC;WACtC,iBAAiB,CAAC,OAAO,CAAC;EAoBpC,CAAC;AAEF,eAAO,MAAM,KAAK,8KAQjB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAQvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAW7B,CAAC;AAEF,eAAO,MAAM,UAAU,8KAStB,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAK9B,CAAC;AAEF,eAAO,MAAM,KAAK,uKAEjB,CAAC"}
1
+ {"version":3,"file":"Textfield.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAKlE,eAAO,MAAM,gBAAgB;YAAwB,OAAO;WAAS,iBAAiB,CAAC,OAAO,CAAC;EA8B9F,CAAC;AAEF,eAAO,MAAM,YAAY;kBAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAyBjE,CAAC;AAEF,eAAO,MAAM,WAAW,6GAAuC,CAAC;AAEhE,eAAO,MAAM,gBAAgB,qKAY5B,CAAC;AAEF,eAAO,MAAM,OAAO,qKAUnB,CAAC;AAEF,eAAO,MAAM,WAAW;iBACP,iBAAiB,CAAC,aAAa,CAAC;WACtC,iBAAiB,CAAC,OAAO,CAAC;EAoBpC,CAAC;AAEF,eAAO,MAAM,KAAK,8KAQjB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAQvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAW7B,CAAC;AAEF,eAAO,MAAM,UAAU,8KAStB,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAM9B,CAAC;AAEF,eAAO,MAAM,KAAK,uKAEjB,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { NotificationProps } from '../../../../components/Notification';
2
+ import { NotificationProps, NotificationPlacement } from '../../../../components/Notification';
3
3
  export { modalClasses } from '../../../../components/Modal';
4
- export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.HTMLAttributes<HTMLDivElement>>;
5
+ export type { NotificationPlacement };
5
6
  export declare const NotificationsProvider: React.FC<{
6
7
  children: ReactNode;
7
8
  frame?: string;
9
+ placement?: NotificationPlacement;
8
10
  }>;
9
11
  //# sourceMappingURL=Notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAiB,MAAM,OAAO,CAAC;AAEnF,OAAO,EAEH,iBAAiB,EAEpB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY,0FAExB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CASnF,CAAC"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6C,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAEH,iBAAiB,EAEjB,qBAAqB,EACxB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY,2FAExB,CAAC;AAEF,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAEtC,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAMA,CAAC"}
@@ -1,20 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
+ import { NotificationProps, NotificationPlacement } from '../../../../components/Notification';
2
3
  export { modalClasses } from '../../../../components/Modal';
3
- export declare const Notification: React.FunctionComponent<import("../../../../engines/types").PropsType<{
4
- view: {
5
- default: import("@linaria/core").LinariaClassName;
6
- };
7
- layout: {
8
- horizontal: import("@linaria/core").LinariaClassName;
9
- vertical: import("@linaria/core").LinariaClassName;
10
- };
11
- size: {
12
- xs: import("@linaria/core").LinariaClassName;
13
- xxs: import("@linaria/core").LinariaClassName;
14
- };
15
- }> & import("../../../../components/Notification").NotificationProps & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.HTMLAttributes<HTMLDivElement>>;
5
+ export type { NotificationPlacement };
16
6
  export declare const NotificationsProvider: React.FC<{
17
7
  children: ReactNode;
18
8
  frame?: string;
9
+ placement?: NotificationPlacement;
19
10
  }>;
20
11
  //# sourceMappingURL=Notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOzC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY;;;;;;;;;;;;2GAA0B,CAAC;AAEpD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CASnF,CAAC"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6C,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAEH,iBAAiB,EAEjB,qBAAqB,EACxB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY,2FAExB,CAAC;AAEF,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAEtC,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAMA,CAAC"}