@salutejs/plasma-new-hope 0.241.0-dev.0 → 0.241.1-canary.1668.12830115017.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 (94) hide show
  1. package/cjs/components/Attach/Attach.css +8 -8
  2. package/cjs/components/Attach/components/AttachButton/AttachButton.css +8 -8
  3. package/cjs/components/Button/Button.css +8 -8
  4. package/cjs/components/Button/Button.js +8 -2
  5. package/cjs/components/Button/Button.js.map +1 -1
  6. package/cjs/components/Button/Button.styles.js +22 -3
  7. package/cjs/components/Button/Button.styles.js.map +1 -1
  8. package/cjs/components/Button/{Button.styles_1sopr3d.css → Button.styles_8cvmld.css} +2 -2
  9. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +8 -8
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +8 -8
  11. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -8
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.css +8 -8
  13. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +8 -8
  14. package/cjs/components/DatePicker/RangeDate/RangeDate.css +8 -8
  15. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +8 -8
  16. package/cjs/components/DatePicker/SingleDate/SingleDate.css +8 -8
  17. package/cjs/components/Drawer/Drawer.css +8 -8
  18. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.css +8 -8
  19. package/cjs/components/EmptyState/EmptyState.css +8 -8
  20. package/cjs/components/IconButton/IconButton.css +8 -8
  21. package/cjs/components/Notification/Notification.css +8 -8
  22. package/cjs/components/Notification/NotificationsProvider.css +8 -8
  23. package/cjs/components/NumberInput/NumberInput.css +8 -8
  24. package/cjs/components/Pagination/Pagination.css +8 -8
  25. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +8 -8
  26. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +8 -8
  27. package/cjs/components/Select/Select.css +8 -8
  28. package/cjs/components/Select/ui/Target/Target.css +8 -8
  29. package/cjs/components/Select/ui/Target/ui/Button/Button.css +8 -8
  30. package/cjs/components/Toast/Toast.css +8 -8
  31. package/cjs/components/Toast/ToastController.css +8 -8
  32. package/cjs/index.css +8 -8
  33. package/emotion/cjs/components/Button/Button.js +8 -2
  34. package/emotion/cjs/components/Button/Button.styles.js +14 -8
  35. package/emotion/cjs/components/Button/Button.template-doc.mdx +21 -36
  36. package/emotion/cjs/components/IconButton/IconButton.template-doc.mdx +16 -6
  37. package/emotion/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +5 -4
  38. package/emotion/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  39. package/emotion/es/components/Button/Button.js +8 -2
  40. package/emotion/es/components/Button/Button.styles.js +14 -8
  41. package/emotion/es/components/Button/Button.template-doc.mdx +21 -36
  42. package/emotion/es/components/IconButton/IconButton.template-doc.mdx +16 -6
  43. package/emotion/es/examples/plasma_b2c/components/Button/Button.stories.tsx +5 -4
  44. package/emotion/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  45. package/es/components/Attach/Attach.css +8 -8
  46. package/es/components/Attach/components/AttachButton/AttachButton.css +8 -8
  47. package/es/components/Button/Button.css +8 -8
  48. package/es/components/Button/Button.js +8 -2
  49. package/es/components/Button/Button.js.map +1 -1
  50. package/es/components/Button/Button.styles.js +22 -3
  51. package/es/components/Button/Button.styles.js.map +1 -1
  52. package/es/components/Button/{Button.styles_1sopr3d.css → Button.styles_8cvmld.css} +2 -2
  53. package/es/components/Calendar/CalendarBase/CalendarBase.css +8 -8
  54. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +8 -8
  55. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -8
  56. package/es/components/Combobox/ComboboxNew/Combobox.css +8 -8
  57. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +8 -8
  58. package/es/components/DatePicker/RangeDate/RangeDate.css +8 -8
  59. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +8 -8
  60. package/es/components/DatePicker/SingleDate/SingleDate.css +8 -8
  61. package/es/components/Drawer/Drawer.css +8 -8
  62. package/es/components/Drawer/ui/DrawerContent/DrawerContent.css +8 -8
  63. package/es/components/EmptyState/EmptyState.css +8 -8
  64. package/es/components/IconButton/IconButton.css +8 -8
  65. package/es/components/Notification/Notification.css +8 -8
  66. package/es/components/Notification/NotificationsProvider.css +8 -8
  67. package/es/components/NumberInput/NumberInput.css +8 -8
  68. package/es/components/Pagination/Pagination.css +8 -8
  69. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +8 -8
  70. package/es/components/Panel/ui/PanelHeader/PanelHeader.css +8 -8
  71. package/es/components/Select/Select.css +8 -8
  72. package/es/components/Select/ui/Target/Target.css +8 -8
  73. package/es/components/Select/ui/Target/ui/Button/Button.css +8 -8
  74. package/es/components/Toast/Toast.css +8 -8
  75. package/es/components/Toast/ToastController.css +8 -8
  76. package/es/index.css +8 -8
  77. package/package.json +3 -3
  78. package/styled-components/cjs/components/Button/Button.js +8 -2
  79. package/styled-components/cjs/components/Button/Button.styles.js +8 -2
  80. package/styled-components/cjs/components/Button/Button.template-doc.mdx +21 -36
  81. package/styled-components/cjs/components/IconButton/IconButton.template-doc.mdx +16 -6
  82. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +5 -4
  83. package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  84. package/styled-components/es/components/Button/Button.js +8 -2
  85. package/styled-components/es/components/Button/Button.styles.js +8 -2
  86. package/styled-components/es/components/Button/Button.template-doc.mdx +21 -36
  87. package/styled-components/es/components/IconButton/IconButton.template-doc.mdx +16 -6
  88. package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +5 -4
  89. package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  90. package/types/components/Button/Button.d.ts.map +1 -1
  91. package/types/components/Button/Button.styles.d.ts +6 -2
  92. package/types/components/Button/Button.styles.d.ts.map +1 -1
  93. package/types/components/Button/Button.types.d.ts +5 -9
  94. package/types/components/Button/Button.types.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,WAAW,EAA0B,MAAM,gBAAgB,CAAC;AAa1E,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,WAAW,CAAC,uGA0EpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBA5EQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4GzE,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,WAAW,EAA0B,MAAM,gBAAgB,CAAC;AAa1E,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,WAAW,CAAC,uGAgFpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAlFQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHzE,CAAC"}
@@ -22,8 +22,12 @@ export declare const StyledSpinner: import("@linaria/react").StyledMeta & import
22
22
  size?: undefined;
23
23
  view?: string | undefined;
24
24
  } & import("react").RefAttributes<HTMLDivElement>))>;
25
- export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
26
- export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
25
+ export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
26
+ hasContentMargin?: boolean | undefined;
27
+ }>;
28
+ export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
29
+ hasContentMargin?: boolean | undefined;
30
+ }>;
27
31
  export declare const base: import("@linaria/core").LinariaClassName;
28
32
  export declare const baseContent: string;
29
33
  //# sourceMappingURL=Button.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.styles.ts"],"names":[],"mappings":";AAaA,eAAO,MAAM,UAAU,uKAWtB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAQvB,CAAC;AAGF,eAAO,MAAM,QAAQ;oBAAgC,MAAM;;EAO1D,CAAC;AAEF,eAAO,MAAM,MAAM,qKAElB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;oDAGzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAI9B,CAAC;AAEF,eAAO,MAAM,IAAI,0CA0BhB,CAAC;AAGF,eAAO,MAAM,WAAW,QA6FvB,CAAC"}
1
+ {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.styles.ts"],"names":[],"mappings":";AAaA,eAAO,MAAM,UAAU,uKAWtB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAQvB,CAAC;AAGF,eAAO,MAAM,QAAQ;oBAAgC,MAAM;;EAO1D,CAAC;AAEF,eAAO,MAAM,MAAM,qKAElB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;oDAGzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;EAK7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;EAK9B,CAAC;AAEF,eAAO,MAAM,IAAI,0CA0BhB,CAAC;AAGF,eAAO,MAAM,WAAW,QA6FvB,CAAC"}
@@ -51,8 +51,7 @@ declare type CustomButtonProps = {
51
51
  loader?: ReactNode;
52
52
  /**
53
53
  * Кнопка растягивается на всю доступную ширину
54
- * @deprecated
55
- * Использовать stretching
54
+ * @deprecated Использовать stretching
56
55
  */
57
56
  stretch?: boolean;
58
57
  /**
@@ -66,8 +65,7 @@ declare type CustomButtonProps = {
66
65
  stretching?: Stretching;
67
66
  /**
68
67
  * Кнопка принимает соотношение сторон 1:1
69
- * @deprecated
70
- * Использовать для этого случая IconButton
68
+ * @deprecated Использовать для этого случая IconButton
71
69
  */
72
70
  square?: boolean;
73
71
  /**
@@ -75,7 +73,7 @@ declare type CustomButtonProps = {
75
73
  */
76
74
  focused?: boolean;
77
75
  /**
78
- * кнопка неактивна
76
+ * Кнопка неактивна
79
77
  */
80
78
  disabled?: boolean;
81
79
  /**
@@ -92,8 +90,7 @@ declare type CustomButtonProps = {
92
90
  size?: string;
93
91
  /**
94
92
  * Добавить рамку при фокусе
95
- * @deprecated
96
- * использовать focused
93
+ * @deprecated использовать focused
97
94
  */
98
95
  outlined?: boolean;
99
96
  /**
@@ -108,8 +105,7 @@ declare type CustomButtonProps = {
108
105
  shiftRight?: boolean;
109
106
  /**
110
107
  * Степень размытия фона
111
- * @deprecated
112
- * для кнопок без прозрачности не работает
108
+ * @deprecated для кнопок без прозрачности не работает
113
109
  */
114
110
  blur?: Blur;
115
111
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,KAAK,EAA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