@salutejs/plasma-new-hope 0.83.0-canary.1213.9176450261.0 → 0.83.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. package/cjs/components/Button/Button.css +6 -9
  2. package/cjs/components/Button/Button.js +2 -16
  3. package/cjs/components/Button/Button.js.map +1 -1
  4. package/cjs/components/Button/Button.styles.js +10 -31
  5. package/cjs/components/Button/Button.styles.js.map +1 -1
  6. package/cjs/components/Button/Button.styles_uqvh6u.css +5 -0
  7. package/cjs/components/Button/Button.tokens.js +0 -5
  8. package/cjs/components/Button/Button.tokens.js.map +1 -1
  9. package/cjs/components/Button/variations/_stretching/base.js +1 -1
  10. package/cjs/components/Button/variations/_stretching/base.js.map +1 -1
  11. package/{es/components/Button/variations/_stretching/base_hy8dc.css → cjs/components/Button/variations/_stretching/base_1lx0ute.css} +1 -1
  12. package/cjs/components/ButtonGroup/ButtonGroup.css +2 -2
  13. package/cjs/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  14. package/cjs/components/ButtonGroup/ButtonGroup.tokens.js.map +1 -1
  15. package/cjs/components/ButtonGroup/variations/_orientation/base.js +1 -1
  16. package/cjs/components/ButtonGroup/variations/_orientation/base.js.map +1 -1
  17. package/{es/components/ButtonGroup/variations/_orientation/base_y7z7cs.css → cjs/components/ButtonGroup/variations/_orientation/base_p85v51.css} +1 -1
  18. package/cjs/components/ButtonGroup/variations/_view/base.js +1 -1
  19. package/cjs/components/ButtonGroup/variations/_view/base.js.map +1 -1
  20. package/cjs/components/ButtonGroup/variations/_view/base_6k3uip.css +1 -0
  21. package/cjs/components/Drawer/Drawer.css +6 -9
  22. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.css +6 -9
  23. package/cjs/components/Header/ui/HeaderArrow/HeaderArrow.css +6 -9
  24. package/cjs/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  25. package/cjs/components/Header/ui/HeaderArrow/HeaderArrow.js.map +1 -1
  26. package/cjs/components/IconButton/IconButton.css +7 -10
  27. package/cjs/components/IconButton/IconButton.styles.js +1 -1
  28. package/cjs/components/IconButton/{IconButton.styles_7v8g0e.css → IconButton.styles_1hknr37.css} +1 -1
  29. package/cjs/components/Notification/Notification.css +6 -9
  30. package/cjs/components/Notification/NotificationsProvider.css +6 -9
  31. package/cjs/components/Pagination/Pagination.css +8 -11
  32. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +6 -9
  33. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +6 -9
  34. package/cjs/components/Select/Select.css +6 -9
  35. package/cjs/components/Select/ui/SelectTarget/SelectTarget.css +6 -9
  36. package/cjs/components/Toast/Toast.css +6 -9
  37. package/cjs/components/Toast/ToastController.css +6 -9
  38. package/cjs/index.css +9 -12
  39. package/es/components/Button/Button.css +6 -9
  40. package/es/components/Button/Button.js +3 -17
  41. package/es/components/Button/Button.js.map +1 -1
  42. package/es/components/Button/Button.styles.js +11 -29
  43. package/es/components/Button/Button.styles.js.map +1 -1
  44. package/es/components/Button/Button.styles_uqvh6u.css +5 -0
  45. package/es/components/Button/Button.tokens.js +0 -5
  46. package/es/components/Button/Button.tokens.js.map +1 -1
  47. package/es/components/Button/variations/_stretching/base.js +1 -1
  48. package/es/components/Button/variations/_stretching/base.js.map +1 -1
  49. package/{cjs/components/Button/variations/_stretching/base_hy8dc.css → es/components/Button/variations/_stretching/base_1lx0ute.css} +1 -1
  50. package/es/components/ButtonGroup/ButtonGroup.css +2 -2
  51. package/es/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  52. package/es/components/ButtonGroup/ButtonGroup.tokens.js.map +1 -1
  53. package/es/components/ButtonGroup/variations/_orientation/base.js +1 -1
  54. package/es/components/ButtonGroup/variations/_orientation/base.js.map +1 -1
  55. package/{cjs/components/ButtonGroup/variations/_orientation/base_y7z7cs.css → es/components/ButtonGroup/variations/_orientation/base_p85v51.css} +1 -1
  56. package/es/components/ButtonGroup/variations/_view/base.js +1 -1
  57. package/es/components/ButtonGroup/variations/_view/base.js.map +1 -1
  58. package/es/components/ButtonGroup/variations/_view/base_6k3uip.css +1 -0
  59. package/es/components/Drawer/Drawer.css +6 -9
  60. package/es/components/Drawer/ui/DrawerContent/DrawerContent.css +6 -9
  61. package/es/components/Header/ui/HeaderArrow/HeaderArrow.css +6 -9
  62. package/es/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  63. package/es/components/Header/ui/HeaderArrow/HeaderArrow.js.map +1 -1
  64. package/es/components/IconButton/IconButton.css +7 -10
  65. package/es/components/IconButton/IconButton.styles.js +1 -1
  66. package/es/components/IconButton/{IconButton.styles_7v8g0e.css → IconButton.styles_1hknr37.css} +1 -1
  67. package/es/components/Notification/Notification.css +6 -9
  68. package/es/components/Notification/NotificationsProvider.css +6 -9
  69. package/es/components/Pagination/Pagination.css +8 -11
  70. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +6 -9
  71. package/es/components/Panel/ui/PanelHeader/PanelHeader.css +6 -9
  72. package/es/components/Select/Select.css +6 -9
  73. package/es/components/Select/ui/SelectTarget/SelectTarget.css +6 -9
  74. package/es/components/Toast/Toast.css +6 -9
  75. package/es/components/Toast/ToastController.css +6 -9
  76. package/es/index.css +9 -12
  77. package/package.json +2 -2
  78. package/styled-components/cjs/components/Avatar/Avatar.template-doc.mdx +3 -1
  79. package/styled-components/cjs/components/Badge/Badge.template-doc.mdx +9 -9
  80. package/styled-components/cjs/components/Button/Button.js +2 -16
  81. package/styled-components/cjs/components/Button/Button.styles.js +12 -20
  82. package/styled-components/cjs/components/Button/Button.template-doc.mdx +8 -51
  83. package/styled-components/cjs/components/Button/Button.tokens.js +0 -5
  84. package/styled-components/cjs/components/Button/variations/_stretching/base.js +1 -1
  85. package/styled-components/cjs/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  86. package/styled-components/cjs/components/ButtonGroup/variations/_orientation/base.js +1 -2
  87. package/styled-components/cjs/components/ButtonGroup/variations/_view/base.js +1 -1
  88. package/styled-components/cjs/components/Cell/Cell.template-doc.mdx +68 -0
  89. package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +2 -2
  90. package/styled-components/cjs/components/Chip/Chip.template-doc.mdx +1 -1
  91. package/styled-components/cjs/components/Combobox/Combobox.template-doc.mdx +14 -14
  92. package/styled-components/cjs/components/Counter/Counter.template-doc.mdx +5 -5
  93. package/styled-components/cjs/components/Divider/Divider.template-docs.mdx +57 -0
  94. package/styled-components/cjs/components/Drawer/Drawer.template-doc.mdx +3 -3
  95. package/styled-components/cjs/components/Dropdown/Dropdown.template-doc.mdx +262 -261
  96. package/styled-components/cjs/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  97. package/styled-components/cjs/components/IconButton/IconButton.template-doc.mdx +156 -0
  98. package/styled-components/cjs/components/Image/Image.template-doc.mdx +1 -1
  99. package/styled-components/cjs/components/Link/Link.template-doc.mdx +4 -4
  100. package/styled-components/cjs/components/Modal/Modal.template-doc.mdx +85 -33
  101. package/styled-components/cjs/components/Notification/Notification.template-doc.mdx +1 -2
  102. package/styled-components/cjs/components/Pagination/Pagination.template-doc.mdx +130 -0
  103. package/styled-components/cjs/components/Popover/Popover.template-doc.mdx +3 -3
  104. package/styled-components/cjs/components/Popup/Popup.template-doc.mdx +70 -74
  105. package/styled-components/cjs/components/Progress/Progress.template-doc.mdx +33 -0
  106. package/styled-components/cjs/components/Radiobox/Radiobox.template-doc.mdx +2 -1
  107. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +2 -2
  108. package/styled-components/cjs/components/Skeleton/Skeleton.template-doc.mdx +4 -4
  109. package/styled-components/cjs/components/Tabs/Tabs.template-doc.mdx +1 -1
  110. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +2 -2
  111. package/styled-components/cjs/components/Toolbar/Toolbar.template-doc.mdx +120 -0
  112. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.config.js +19 -19
  113. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +21 -67
  114. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.js +10 -10
  115. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  116. package/styled-components/cjs/examples/plasma_web/components/Button/Button.config.js +19 -19
  117. package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +28 -90
  118. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.js +10 -10
  119. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  120. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.config.js +19 -19
  121. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.stories.tsx +28 -90
  122. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +10 -10
  123. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  124. package/styled-components/es/components/Avatar/Avatar.template-doc.mdx +3 -1
  125. package/styled-components/es/components/Badge/Badge.template-doc.mdx +9 -9
  126. package/styled-components/es/components/Button/Button.js +3 -17
  127. package/styled-components/es/components/Button/Button.styles.js +11 -19
  128. package/styled-components/es/components/Button/Button.template-doc.mdx +8 -51
  129. package/styled-components/es/components/Button/Button.tokens.js +0 -5
  130. package/styled-components/es/components/Button/variations/_stretching/base.js +1 -1
  131. package/styled-components/es/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  132. package/styled-components/es/components/ButtonGroup/variations/_orientation/base.js +2 -3
  133. package/styled-components/es/components/ButtonGroup/variations/_view/base.js +1 -1
  134. package/styled-components/es/components/Cell/Cell.template-doc.mdx +68 -0
  135. package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +2 -2
  136. package/styled-components/es/components/Chip/Chip.template-doc.mdx +1 -1
  137. package/styled-components/es/components/Combobox/Combobox.template-doc.mdx +14 -14
  138. package/styled-components/es/components/Counter/Counter.template-doc.mdx +5 -5
  139. package/styled-components/es/components/Divider/Divider.template-docs.mdx +57 -0
  140. package/styled-components/es/components/Drawer/Drawer.template-doc.mdx +3 -3
  141. package/styled-components/es/components/Dropdown/Dropdown.template-doc.mdx +262 -261
  142. package/styled-components/es/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  143. package/styled-components/es/components/IconButton/IconButton.template-doc.mdx +156 -0
  144. package/styled-components/es/components/Image/Image.template-doc.mdx +1 -1
  145. package/styled-components/es/components/Link/Link.template-doc.mdx +4 -4
  146. package/styled-components/es/components/Modal/Modal.template-doc.mdx +85 -33
  147. package/styled-components/es/components/Notification/Notification.template-doc.mdx +1 -2
  148. package/styled-components/es/components/Pagination/Pagination.template-doc.mdx +130 -0
  149. package/styled-components/es/components/Popover/Popover.template-doc.mdx +3 -3
  150. package/styled-components/es/components/Popup/Popup.template-doc.mdx +70 -74
  151. package/styled-components/es/components/Progress/Progress.template-doc.mdx +33 -0
  152. package/styled-components/es/components/Radiobox/Radiobox.template-doc.mdx +2 -1
  153. package/styled-components/es/components/Segment/Segment.template-doc.mdx +2 -2
  154. package/styled-components/es/components/Skeleton/Skeleton.template-doc.mdx +4 -4
  155. package/styled-components/es/components/Tabs/Tabs.template-doc.mdx +1 -1
  156. package/styled-components/es/components/TextField/TextField.template-doc.mdx +2 -2
  157. package/styled-components/es/components/Toolbar/Toolbar.template-doc.mdx +120 -0
  158. package/styled-components/es/examples/plasma_b2c/components/Button/Button.config.js +19 -19
  159. package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +21 -67
  160. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.js +10 -10
  161. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  162. package/styled-components/es/examples/plasma_web/components/Button/Button.config.js +19 -19
  163. package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +28 -90
  164. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.js +10 -10
  165. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  166. package/styled-components/es/examples/sds_engineer/components/Button/Button.config.js +19 -19
  167. package/styled-components/es/examples/sds_engineer/components/Button/Button.stories.tsx +28 -90
  168. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +10 -10
  169. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  170. package/types/components/Button/Button.d.ts.map +1 -1
  171. package/types/components/Button/Button.styles.d.ts +1 -5
  172. package/types/components/Button/Button.styles.d.ts.map +1 -1
  173. package/types/components/Button/Button.tokens.d.ts +0 -5
  174. package/types/components/Button/Button.tokens.d.ts.map +1 -1
  175. package/types/components/Button/Button.types.d.ts +4 -16
  176. package/types/components/Button/Button.types.d.ts.map +1 -1
  177. package/types/components/ButtonGroup/ButtonGroup.tokens.d.ts +0 -1
  178. package/types/components/ButtonGroup/ButtonGroup.tokens.d.ts.map +1 -1
  179. package/types/components/ButtonGroup/variations/_orientation/base.d.ts.map +1 -1
  180. package/types/components/ButtonGroup/variations/_view/base.d.ts.map +1 -1
  181. package/types/components/Header/ui/HeaderArrow/HeaderArrow.d.ts.map +1 -1
  182. package/types/components/Notification/Notification.styles.d.ts +1 -43
  183. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  184. package/types/components/Pagination/Pagination.styles.d.ts +2 -86
  185. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  186. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +1 -43
  187. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts.map +1 -1
  188. package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts +1 -43
  189. package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +1 -1
  190. package/types/components/Toast/Toast.styles.d.ts +1 -43
  191. package/types/components/Toast/Toast.styles.d.ts.map +1 -1
  192. package/types/components/Toast/utils.d.ts +1 -43
  193. package/types/components/Toast/utils.d.ts.map +1 -1
  194. package/types/examples/plasma_b2c/components/Button/Button.config.d.ts.map +1 -1
  195. package/types/examples/plasma_b2c/components/Button/Button.d.ts +1 -43
  196. package/types/examples/plasma_b2c/components/Button/Button.d.ts.map +1 -1
  197. package/types/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  198. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +1 -43
  199. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts.map +1 -1
  200. package/types/examples/plasma_web/components/Button/Button.config.d.ts.map +1 -1
  201. package/types/examples/plasma_web/components/Button/Button.d.ts +1 -43
  202. package/types/examples/plasma_web/components/Button/Button.d.ts.map +1 -1
  203. package/types/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  204. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +1 -43
  205. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts.map +1 -1
  206. package/types/examples/sds_engineer/components/Button/Button.config.d.ts.map +1 -1
  207. package/types/examples/sds_engineer/components/Button/Button.d.ts +1 -43
  208. package/types/examples/sds_engineer/components/Button/Button.d.ts.map +1 -1
  209. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  210. package/cjs/components/Button/Button.styles_nedem1.css +0 -8
  211. package/cjs/components/ButtonGroup/variations/_view/base_1n9gznw.css +0 -1
  212. package/es/components/Button/Button.styles_nedem1.css +0 -8
  213. package/es/components/ButtonGroup/variations/_view/base_1n9gznw.css +0 -1
@@ -1,117 +1,55 @@
1
- import * as React from 'react';
2
- import type { ComponentProps } from 'react';
1
+ import { ComponentProps } from 'react';
3
2
  import type { StoryObj, Meta } from '@storybook/react';
4
- import { disableProps } from '@salutejs/plasma-sb-utils';
5
3
 
6
- import { IconMic } from '../../../../components/_Icon';
7
- import { WithTheme } from '../../../_helpers';
4
+ import { buttonConfig } from '../../../../components/Button';
5
+ import { mergeConfig } from '../../../../engines';
6
+ import { WithTheme, argTypesFromConfig } from '../../../_helpers';
8
7
 
8
+ import { config } from './Button.config';
9
9
  import { Button } from './Button';
10
10
 
11
- const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light'];
12
- const sizes = ['l', 'm', 's', 'xs', 'xxs'];
13
- const stretchingValues = ['auto', 'filled', 'fixed'];
14
- const pinValues = [
15
- '',
16
- 'square-square',
17
- 'square-clear',
18
- 'clear-square',
19
- 'clear-clear',
20
- 'clear-circle',
21
- 'circle-clear',
22
- 'circle-circle',
23
- ];
24
- const contentPlacinValues = ['default', 'relaxed'];
25
-
26
11
  const meta: Meta<typeof Button> = {
27
12
  title: 'sds_engineer/Button',
28
13
  decorators: [WithTheme],
29
14
  component: Button,
30
- args: {
31
- view: 'default',
32
- size: 'm',
33
- contentPlacing: 'default',
34
- stretching: 'auto',
35
- text: 'Hello',
36
- value: 'Value',
37
- disabled: false,
38
- focused: true,
39
- square: false,
40
- isLoading: false,
41
- },
42
15
  argTypes: {
43
- view: {
44
- options: views,
45
- control: {
46
- type: 'select',
47
- },
48
- },
49
- size: {
50
- options: sizes,
51
- control: {
52
- type: 'select',
53
- },
54
- },
55
- contentPlacing: {
56
- options: contentPlacinValues,
16
+ ...argTypesFromConfig(mergeConfig(buttonConfig, config)),
17
+ pin: {
18
+ options: [
19
+ 'square-square',
20
+ 'square-clear',
21
+ 'clear-square',
22
+ 'clear-clear',
23
+ 'clear-circle',
24
+ 'circle-clear',
25
+ 'circle-circle',
26
+ '',
27
+ ],
57
28
  control: {
58
29
  type: 'select',
59
30
  },
31
+ table: { defaultValue: { summary: 'bottom' } },
60
32
  },
61
33
  stretching: {
62
- options: stretchingValues,
63
- control: {
64
- type: 'select',
65
- },
66
- },
67
- pin: {
68
- options: pinValues,
34
+ options: ['auto', 'filled', 'fixed'],
69
35
  control: {
70
36
  type: 'select',
71
37
  },
72
- table: { defaultValue: { summary: 'bottom' } },
73
38
  },
74
39
  },
75
40
  };
76
41
 
77
42
  export default meta;
78
43
 
79
- type StoryPropsDefault = ComponentProps<typeof Button> & {
80
- enableContentLeft: boolean;
81
- enableContentRight: boolean;
82
- };
83
-
84
- const StoryDefault = ({ enableContentLeft, enableContentRight, size, ...rest }: StoryPropsDefault) => {
85
- const iconSize = size === 'xs' ? 'xs' : 's';
86
-
87
- return (
88
- <Button
89
- contentLeft={enableContentLeft ? <IconMic size={iconSize} color="inherit" /> : undefined}
90
- contentRight={enableContentRight ? <IconMic size={iconSize} color="inherit" /> : undefined}
91
- size={size}
92
- {...rest}
93
- />
94
- );
95
- };
96
-
97
- export const Default: StoryObj<StoryPropsDefault> = {
44
+ export const Default: StoryObj<ComponentProps<typeof Button>> = {
98
45
  args: {
99
- enableContentLeft: false,
100
- enableContentRight: false,
101
- },
102
- render: (args) => <StoryDefault {...args} />,
103
- };
104
-
105
- export const AccessibilityWithChildren: StoryObj<ComponentProps<typeof Button>> = {
106
- argTypes: { ...disableProps(['text']) },
107
- render: (props: ComponentProps<typeof Button>) => {
108
- const args = { ...props, text: undefined };
109
-
110
- return (
111
- <Button {...args}>
112
- <IconMic color="inherit" />
113
- <span>Включить микрофон</span>
114
- </Button>
115
- );
46
+ children: 'Hello',
47
+ view: 'default',
48
+ size: 'm',
49
+ disabled: false,
50
+ focused: true,
51
+ square: false,
52
+ stretching: 'auto',
53
+ isLoading: false,
116
54
  },
117
55
  };
@@ -7,16 +7,16 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--inverse-text-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
11
- accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
12
- secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
13
- clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
14
- positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
15
- warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
16
- negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
17
- dark: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--on-light-surface-transparent-deep);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
18
- black: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":var(--on-light-surface-solid-default);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
19
- white: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-light-text-secondary);", ":var(--on-dark-surface-solid-default);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-hover);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonValueColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive)
10
+ "default": /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
11
+ accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
12
+ secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
13
+ clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
14
+ positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
15
+ warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
16
+ negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
17
+ dark: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
18
+ black: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive),
19
+ white: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-hover);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-active);"], buttonGroupTokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, buttonGroupTokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, buttonGroupTokens.buttonBackgroundColorActive)
20
20
  },
21
21
  size: {
22
22
  l: /*#__PURE__*/css(["", ":0.875rem;", ":0.375rem;", ":0.875rem;", ":3.5rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], buttonGroupTokens.buttonDefaultRadius, buttonGroupTokens.buttonSegmentedRadius, buttonGroupTokens.buttonSideRadius, buttonGroupTokens.buttonHeight, buttonGroupTokens.buttonPadding, buttonGroupTokens.buttonFontFamily, buttonGroupTokens.buttonFontSize, buttonGroupTokens.buttonFontStyle, buttonGroupTokens.buttonFontWeight, buttonGroupTokens.buttonLetterSpacing, buttonGroupTokens.buttonLineHeight),
@@ -11,7 +11,7 @@ import { ButtonGroup } from './ButtonGroup';
11
11
  type StoryProps = ComponentProps<typeof ButtonGroup> & { itemsCount?: number };
12
12
  type Story = StoryObj<StoryProps>;
13
13
 
14
- const views = ['accent', 'default', 'secondary', 'positive', 'warning', 'negative', 'clear'];
14
+ const views = ['accent', 'default', 'secondary', 'success', 'warning', 'critical', 'clear'];
15
15
  const sizes = ['l', 'm', 's', 'xs', 'xxs'];
16
16
  const orientationValues = ['horizontal', 'vertical'];
17
17
  const gapValues = ['none', 'dense', 'wide'];
@@ -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,uGAyEpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBA3EQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GzE,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,EAAE,MAAM,gBAAgB,CAAC;AAIlD,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,WAAW,CAAC,uGA4DpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBA9DQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FzE,CAAC"}
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
+ export declare const base: import("@linaria/core").LinariaClassName;
2
3
  export declare const ButtonText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
3
- export declare const ButtonValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
4
4
  export declare const LoadWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
5
- contentPlacing: string;
6
5
  isLoading?: boolean | undefined;
7
6
  }>;
8
7
  export declare const Loader: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -22,8 +21,5 @@ export declare const StyledSpinner: import("@linaria/react").StyledMeta & import
22
21
  size?: undefined;
23
22
  view?: string | undefined;
24
23
  } & 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>>;
27
- export declare const base: import("@linaria/core").LinariaClassName;
28
24
  export declare const baseContent: string;
29
25
  //# 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,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAE9B,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,IAAI,0CA0BhB,CAAC;AAKF,eAAO,MAAM,UAAU,uKAUtB,CAAC;AAGF,eAAO,MAAM,QAAQ;;EAOpB,CAAC;AAEF,eAAO,MAAM,MAAM,qKAElB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;oDAGzB,CAAC;AAGF,eAAO,MAAM,WAAW,QA6FvB,CAAC"}
@@ -3,13 +3,11 @@ export declare const classes: {
3
3
  autoStretching: string;
4
4
  filledStretching: string;
5
5
  fixedStretching: string;
6
- contentRelaxed: string;
7
6
  buttonSquare: string;
8
7
  buttonItem: string;
9
8
  };
10
9
  export declare const tokens: {
11
10
  buttonColor: string;
12
- buttonValueColor: string;
13
11
  buttonBackgroundColor: string;
14
12
  buttonColorHover: string;
15
13
  buttonBackgroundColorHover: string;
@@ -28,9 +26,6 @@ export declare const tokens: {
28
26
  buttonFontWeight: string;
29
27
  buttonLetterSpacing: string;
30
28
  buttonLineHeight: string;
31
- buttonLeftContentMargin: string;
32
- buttonRightContentMargin: string;
33
- buttonValueMargin: string;
34
29
  buttonDisabledOpacity: string;
35
30
  buttonFocusColor: string;
36
31
  buttonSpinnerColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiClB,CAAC"}
1
+ {"version":3,"file":"Button.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CA4BlB,CAAC"}
@@ -3,18 +3,6 @@ import type { Pin } from '../../utils/roundness';
3
3
  import { Blur } from '../../mixins';
4
4
  import type { AsProps } from '../../types';
5
5
  declare type Stretching = 'fixed' | 'filled' | 'auto';
6
- declare type ContentPlacing = 'default' | 'relaxed';
7
- declare type ContentPlacingValue = 'center' | 'space-between';
8
- export declare type ContentPlacementMapper = {
9
- [K in ContentPlacing]: ContentPlacingValue;
10
- };
11
- declare type RightContent = {
12
- value?: string | number;
13
- contentRight?: never;
14
- } | {
15
- value?: never;
16
- contentRight?: ReactNode;
17
- };
18
6
  declare type CustomButtonProps = {
19
7
  /**
20
8
  * Текстовая надпись
@@ -25,10 +13,9 @@ declare type CustomButtonProps = {
25
13
  */
26
14
  contentLeft?: ReactNode;
27
15
  /**
28
- * Положение контента по ширине кнопки.
29
- * @default 'default'
16
+ * Слот для контента справа, например `Icon`
30
17
  */
31
- contentPlacing?: ContentPlacing;
18
+ contentRight?: ReactNode;
32
19
  /**
33
20
  * У кнопки состояние загрузки
34
21
  */
@@ -99,6 +86,7 @@ declare type CustomButtonProps = {
99
86
  */
100
87
  blur?: Blur;
101
88
  };
102
- export declare type ButtonProps<T = HTMLElement> = {} & Omit<ButtonHTMLAttributes<T>, 'value'> & Omit<AnchorHTMLAttributes<T>, 'type'> & AsProps & CustomButtonProps & RightContent;
89
+ export interface ButtonProps<T = HTMLElement> extends ButtonHTMLAttributes<T>, Omit<AnchorHTMLAttributes<T>, 'type'>, AsProps, CustomButtonProps {
90
+ }
103
91
  export {};
104
92
  //# sourceMappingURL=Button.types.d.ts.map
@@ -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,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,aAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC9C,aAAK,cAAc,GAAG,SAAS,GAAG,SAAS,CAAC;AAC5C,aAAK,mBAAmB,GAAG,QAAQ,GAAG,eAAe,CAAC;AAEtD,oBAAY,sBAAsB,GAAG;KAChC,CAAC,IAAI,cAAc,GAAG,mBAAmB;CAC7C,CAAC;AAEF,aAAK,YAAY,GACX;IACI,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAER,aAAK,iBAAiB,GAAG;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,oBAAY,WAAW,CAAC,CAAC,GAAG,WAAW,IAAI,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAClF,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GACrC,OAAO,GACP,iBAAiB,GACjB,YAAY,CAAC"}
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,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,aAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9C,aAAK,iBAAiB,GAAG;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,WAAW,CACxC,SAAQ,oBAAoB,CAAC,CAAC,CAAC,EAC3B,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EACrC,OAAO,EACP,iBAAiB;CAAG"}
@@ -14,7 +14,6 @@ export declare const classes: {
14
14
  export declare const tokens: {
15
15
  buttonGroupOrientation: string;
16
16
  buttonColor: string;
17
- buttonValueColor: string;
18
17
  buttonBackgroundColor: string;
19
18
  buttonColorHover: string;
20
19
  buttonBackgroundColorHover: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAgBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CA6BlB,CAAC"}
1
+ {"version":3,"file":"ButtonGroup.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAgBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CA4BlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/ButtonGroup/variations/_orientation/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAMhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/ButtonGroup/variations/_orientation/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAEhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/ButtonGroup/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/ButtonGroup/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAShB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderArrow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Header/ui/HeaderArrow/HeaderArrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAcrD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;;;wCA0BzF,CAAC;AAEP,eAAO,MAAM,iBAAiB;;;mBA5BQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;;;CA6C9F,CAAC"}
1
+ {"version":3,"file":"HeaderArrow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Header/ui/HeaderArrow/HeaderArrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAcrD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;;;wCAmBzF,CAAC;AAEP,eAAO,MAAM,iBAAiB;;;mBArBQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;;;CAsC9F,CAAC"}
@@ -1,49 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { CloseIconType, IconPlacementType } from './Notification.types';
3
3
  export declare const StyledNotification: import("@linaria/core").LinariaClassName;
4
- export declare const CloseIconWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../types").AsProps<any> & {
5
- text?: string | undefined;
6
- contentLeft?: import("react").ReactNode;
7
- contentPlacing?: ("default" | "relaxed") | undefined;
8
- isLoading?: boolean | undefined;
9
- loader?: import("react").ReactNode;
10
- stretch?: boolean | undefined;
11
- stretching?: ("fixed" | "auto" | "filled") | undefined;
12
- square?: boolean | undefined;
13
- focused?: boolean | undefined;
14
- disabled?: boolean | undefined;
15
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
16
- view?: string | undefined;
17
- size?: string | undefined;
18
- outlined?: boolean | undefined;
19
- shiftLeft?: boolean | undefined;
20
- shiftRight?: boolean | undefined;
21
- blur?: "small" | "medium" | "large" | undefined;
22
- } & {
23
- value?: string | number | undefined;
24
- contentRight?: undefined;
25
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../types").AsProps<any> & {
26
- text?: string | undefined;
27
- contentLeft?: import("react").ReactNode;
28
- contentPlacing?: ("default" | "relaxed") | undefined;
29
- isLoading?: boolean | undefined;
30
- loader?: import("react").ReactNode;
31
- stretch?: boolean | undefined;
32
- stretching?: ("fixed" | "auto" | "filled") | undefined;
33
- square?: boolean | undefined;
34
- focused?: boolean | undefined;
35
- disabled?: boolean | undefined;
36
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
37
- view?: string | undefined;
38
- size?: string | undefined;
39
- outlined?: boolean | undefined;
40
- shiftLeft?: boolean | undefined;
41
- shiftRight?: boolean | undefined;
42
- blur?: "small" | "medium" | "large" | undefined;
43
- } & {
44
- value?: undefined;
45
- contentRight?: import("react").ReactNode;
46
- } & import("react").RefAttributes<HTMLButtonElement>))>;
4
+ export declare const CloseIconWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & import("../Button").ButtonProps<HTMLElement> & import("react").RefAttributes<HTMLButtonElement>>;
47
5
  export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
48
6
  export declare const ButtonsWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & IconPlacementType>;
49
7
  export declare const IconWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & IconPlacementType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.styles.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAc,MAAM,sBAAsB,CAAC;AAEpF,eAAO,MAAM,kBAAkB,0CAE9B,CAAC;AAKF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAc5B,CAAC;AAEF,eAAO,MAAM,OAAO,qKAYnB,CAAC;AAEF,eAAO,MAAM,cAAc,gKAS1B,CAAC;AAEF,eAAO,MAAM,WAAW,gKAavB,CAAC;AAEF,eAAO,MAAM,UAAU,gKActB,CAAC;AAEF,eAAO,MAAM,OAAO,gLAqBnB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAQvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAUzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;cAA0B,OAAO;EAmC9D,CAAC;AAEF,eAAO,MAAM,UAAU,qKAOtB,CAAC"}
1
+ {"version":3,"file":"Notification.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.styles.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAc,MAAM,sBAAsB,CAAC;AAEpF,eAAO,MAAM,kBAAkB,0CAE9B,CAAC;AAKF,eAAO,MAAM,gBAAgB,4PAc5B,CAAC;AAEF,eAAO,MAAM,OAAO,qKAYnB,CAAC;AAEF,eAAO,MAAM,cAAc,gKAS1B,CAAC;AAEF,eAAO,MAAM,WAAW,gKAavB,CAAC;AAEF,eAAO,MAAM,UAAU,gKActB,CAAC;AAEF,eAAO,MAAM,OAAO,gLAqBnB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAQvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAUzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;cAA0B,OAAO;EAmC9D,CAAC;AAEF,eAAO,MAAM,UAAU,qKAOtB,CAAC"}
@@ -4,90 +4,6 @@ export declare const PaginationPages: import("@linaria/react").StyledComponent<i
4
4
  export declare const PaginationActions: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
5
  export declare const PaginationSection: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
6
  export declare const PaginationButtonGroup: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & import("../ButtonGroup").ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
7
- export declare const PaginationButton: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../types").AsProps<any> & {
8
- text?: string | undefined;
9
- contentLeft?: import("react").ReactNode;
10
- contentPlacing?: ("default" | "relaxed") | undefined;
11
- isLoading?: boolean | undefined;
12
- loader?: import("react").ReactNode;
13
- stretch?: boolean | undefined;
14
- stretching?: ("fixed" | "auto" | "filled") | undefined;
15
- square?: boolean | undefined;
16
- focused?: boolean | undefined;
17
- disabled?: boolean | undefined;
18
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
19
- view?: string | undefined;
20
- size?: string | undefined;
21
- outlined?: boolean | undefined;
22
- shiftLeft?: boolean | undefined;
23
- shiftRight?: boolean | undefined;
24
- blur?: "small" | "medium" | "large" | undefined;
25
- } & {
26
- value?: string | number | undefined;
27
- contentRight?: undefined;
28
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../types").AsProps<any> & {
29
- text?: string | undefined;
30
- contentLeft?: import("react").ReactNode;
31
- contentPlacing?: ("default" | "relaxed") | undefined;
32
- isLoading?: boolean | undefined;
33
- loader?: import("react").ReactNode;
34
- stretch?: boolean | undefined;
35
- stretching?: ("fixed" | "auto" | "filled") | undefined;
36
- square?: boolean | undefined;
37
- focused?: boolean | undefined;
38
- disabled?: boolean | undefined;
39
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
40
- view?: string | undefined;
41
- size?: string | undefined;
42
- outlined?: boolean | undefined;
43
- shiftLeft?: boolean | undefined;
44
- shiftRight?: boolean | undefined;
45
- blur?: "small" | "medium" | "large" | undefined;
46
- } & {
47
- value?: undefined;
48
- contentRight?: import("react").ReactNode;
49
- } & import("react").RefAttributes<HTMLButtonElement>))>;
50
- export declare const PaginationShorter: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../types").AsProps<any> & {
51
- text?: string | undefined;
52
- contentLeft?: import("react").ReactNode;
53
- contentPlacing?: ("default" | "relaxed") | undefined;
54
- isLoading?: boolean | undefined;
55
- loader?: import("react").ReactNode;
56
- stretch?: boolean | undefined;
57
- stretching?: ("fixed" | "auto" | "filled") | undefined;
58
- square?: boolean | undefined;
59
- focused?: boolean | undefined;
60
- disabled?: boolean | undefined;
61
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
62
- view?: string | undefined;
63
- size?: string | undefined;
64
- outlined?: boolean | undefined;
65
- shiftLeft?: boolean | undefined;
66
- shiftRight?: boolean | undefined;
67
- blur?: "small" | "medium" | "large" | undefined;
68
- } & {
69
- value?: string | number | undefined;
70
- contentRight?: undefined;
71
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../types").AsProps<any> & {
72
- text?: string | undefined;
73
- contentLeft?: import("react").ReactNode;
74
- contentPlacing?: ("default" | "relaxed") | undefined;
75
- isLoading?: boolean | undefined;
76
- loader?: import("react").ReactNode;
77
- stretch?: boolean | undefined;
78
- stretching?: ("fixed" | "auto" | "filled") | undefined;
79
- square?: boolean | undefined;
80
- focused?: boolean | undefined;
81
- disabled?: boolean | undefined;
82
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
83
- view?: string | undefined;
84
- size?: string | undefined;
85
- outlined?: boolean | undefined;
86
- shiftLeft?: boolean | undefined;
87
- shiftRight?: boolean | undefined;
88
- blur?: "small" | "medium" | "large" | undefined;
89
- } & {
90
- value?: undefined;
91
- contentRight?: import("react").ReactNode;
92
- } & import("react").RefAttributes<HTMLButtonElement>))>;
7
+ export declare const PaginationButton: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & import("../Button").ButtonProps<HTMLElement> & import("react").RefAttributes<HTMLButtonElement>>;
8
+ export declare const PaginationShorter: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & import("../Button").ButtonProps<HTMLElement> & import("react").RefAttributes<HTMLButtonElement>>;
93
9
  //# sourceMappingURL=Pagination.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.styles.ts"],"names":[],"mappings":";AAeA,eAAO,MAAM,cAAc,qKAgB1B,CAAC;AAEF,eAAO,MAAM,eAAe,qKAK3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAgB7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAG7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,sPAwBjC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDA8C5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAG7B,CAAC"}
1
+ {"version":3,"file":"Pagination.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.styles.ts"],"names":[],"mappings":";AAeA,eAAO,MAAM,cAAc,qKAgB1B,CAAC;AAEF,eAAO,MAAM,eAAe,qKAK3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAgB7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAG7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,sPAwBjC,CAAC;AAEF,eAAO,MAAM,gBAAgB,4PA8C5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,4PAG7B,CAAC"}
@@ -3,47 +3,5 @@ export declare const ButtonWrapper: import("@linaria/react").StyledComponent<imp
3
3
  placement?: "left" | "right" | undefined;
4
4
  }>;
5
5
  export declare const StyledHeader: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const CloseIconWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
7
- text?: string | undefined;
8
- contentLeft?: import("react").ReactNode;
9
- contentPlacing?: ("default" | "relaxed") | undefined;
10
- isLoading?: boolean | undefined;
11
- loader?: import("react").ReactNode;
12
- stretch?: boolean | undefined;
13
- stretching?: ("fixed" | "auto" | "filled") | undefined;
14
- square?: boolean | undefined;
15
- focused?: boolean | undefined;
16
- disabled?: boolean | undefined;
17
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
18
- view?: string | undefined;
19
- size?: string | undefined;
20
- outlined?: boolean | undefined;
21
- shiftLeft?: boolean | undefined;
22
- shiftRight?: boolean | undefined;
23
- blur?: "small" | "medium" | "large" | undefined;
24
- } & {
25
- value?: string | number | undefined;
26
- contentRight?: undefined;
27
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
28
- text?: string | undefined;
29
- contentLeft?: import("react").ReactNode;
30
- contentPlacing?: ("default" | "relaxed") | undefined;
31
- isLoading?: boolean | undefined;
32
- loader?: import("react").ReactNode;
33
- stretch?: boolean | undefined;
34
- stretching?: ("fixed" | "auto" | "filled") | undefined;
35
- square?: boolean | undefined;
36
- focused?: boolean | undefined;
37
- disabled?: boolean | undefined;
38
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
39
- view?: string | undefined;
40
- size?: string | undefined;
41
- outlined?: boolean | undefined;
42
- shiftLeft?: boolean | undefined;
43
- shiftRight?: boolean | undefined;
44
- blur?: "small" | "medium" | "large" | undefined;
45
- } & {
46
- value?: undefined;
47
- contentRight?: import("react").ReactNode;
48
- } & import("react").RefAttributes<HTMLButtonElement>))>;
6
+ export declare const CloseIconWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("../../../Button").ButtonProps<HTMLElement> & import("react").RefAttributes<HTMLButtonElement>>;
49
7
  //# sourceMappingURL=PanelHeader.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PanelHeader.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Panel/ui/PanelHeader/PanelHeader.styles.ts"],"names":[],"mappings":";AAWA,eAAO,MAAM,aAAa;;EAMzB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAI5B,CAAC"}
1
+ {"version":3,"file":"PanelHeader.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Panel/ui/PanelHeader/PanelHeader.styles.ts"],"names":[],"mappings":";AAWA,eAAO,MAAM,aAAa;;EAMzB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,8QAI5B,CAAC"}