@salutejs/plasma-new-hope 0.73.0-dev.0 → 0.74.0-canary.1170.8645591329.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. package/package.json +4 -4
  2. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +2 -2
  3. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -2
  4. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.config.js +2 -2
  5. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  6. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.js +11 -8
  7. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +4 -4
  8. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -2
  9. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -2
  10. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +1 -1
  11. package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.config.js +2 -2
  12. package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +2 -2
  13. package/styled-components/cjs/examples/plasma_b2c/components/Header/Header.config.js +2 -2
  14. package/styled-components/cjs/examples/plasma_b2c/components/Header/Header.stories.tsx +1 -1
  15. package/styled-components/cjs/examples/plasma_b2c/components/Link/Link.config.js +1 -1
  16. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +2 -2
  17. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +2 -2
  18. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +1 -1
  19. package/styled-components/cjs/examples/plasma_b2c/components/Spinner/Spinner.config.js +1 -1
  20. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +2 -2
  21. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +2 -2
  22. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +2 -2
  23. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +2 -2
  24. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +2 -2
  25. package/styled-components/cjs/examples/plasma_web/components/Button/Button.config.js +2 -2
  26. package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  27. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.js +11 -8
  28. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +4 -4
  29. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -2
  30. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -2
  31. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +1 -1
  32. package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.config.js +2 -2
  33. package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +2 -2
  34. package/styled-components/cjs/examples/plasma_web/components/Header/Header.config.js +2 -2
  35. package/styled-components/cjs/examples/plasma_web/components/Header/Header.stories.tsx +1 -1
  36. package/styled-components/cjs/examples/plasma_web/components/Link/Link.config.js +1 -1
  37. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +2 -2
  38. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +2 -2
  39. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +1 -1
  40. package/styled-components/cjs/examples/plasma_web/components/Spinner/Spinner.config.js +1 -1
  41. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +2 -2
  42. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +2 -2
  43. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +2 -2
  44. package/styled-components/cjs/examples/sds_engineer/components/Badge/Badge.config.js +2 -2
  45. package/styled-components/cjs/examples/sds_engineer/components/Badge/Badge.stories.tsx +2 -2
  46. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.config.js +2 -2
  47. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.stories.tsx +1 -1
  48. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +11 -8
  49. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +4 -4
  50. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -2
  51. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -2
  52. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.config.js +1 -1
  53. package/styled-components/cjs/examples/sds_engineer/components/Counter/Counter.config.js +2 -2
  54. package/styled-components/cjs/examples/sds_engineer/components/Counter/Counter.stories.tsx +2 -2
  55. package/styled-components/cjs/examples/sds_engineer/components/Link/Link.config.js +1 -1
  56. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.config.js +1 -1
  57. package/styled-components/cjs/examples/sds_engineer/components/Spinner/Spinner.config.js +1 -1
  58. package/styled-components/cjs/examples/sds_engineer/components/TextArea/TextArea.config.js +2 -2
  59. package/styled-components/cjs/examples/sds_engineer/components/Toast/Toast.config.js +2 -2
  60. package/styled-components/cjs/examples/sds_engineer/components/Toast/Toast.stories.tsx +2 -2
  61. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +2 -2
  62. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -2
  63. package/styled-components/es/examples/plasma_b2c/components/Button/Button.config.js +2 -2
  64. package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  65. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.js +11 -8
  66. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +4 -4
  67. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -2
  68. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -2
  69. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +1 -1
  70. package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.config.js +2 -2
  71. package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +2 -2
  72. package/styled-components/es/examples/plasma_b2c/components/Header/Header.config.js +2 -2
  73. package/styled-components/es/examples/plasma_b2c/components/Header/Header.stories.tsx +1 -1
  74. package/styled-components/es/examples/plasma_b2c/components/Link/Link.config.js +1 -1
  75. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +2 -2
  76. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +2 -2
  77. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +1 -1
  78. package/styled-components/es/examples/plasma_b2c/components/Spinner/Spinner.config.js +1 -1
  79. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +2 -2
  80. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +2 -2
  81. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +2 -2
  82. package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +2 -2
  83. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +2 -2
  84. package/styled-components/es/examples/plasma_web/components/Button/Button.config.js +2 -2
  85. package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  86. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.js +11 -8
  87. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +4 -4
  88. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -2
  89. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -2
  90. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +1 -1
  91. package/styled-components/es/examples/plasma_web/components/Counter/Counter.config.js +2 -2
  92. package/styled-components/es/examples/plasma_web/components/Counter/Counter.stories.tsx +2 -2
  93. package/styled-components/es/examples/plasma_web/components/Header/Header.config.js +2 -2
  94. package/styled-components/es/examples/plasma_web/components/Header/Header.stories.tsx +1 -1
  95. package/styled-components/es/examples/plasma_web/components/Link/Link.config.js +1 -1
  96. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +2 -2
  97. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +2 -2
  98. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +1 -1
  99. package/styled-components/es/examples/plasma_web/components/Spinner/Spinner.config.js +1 -1
  100. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +2 -2
  101. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +2 -2
  102. package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +2 -2
  103. package/styled-components/es/examples/sds_engineer/components/Badge/Badge.config.js +2 -2
  104. package/styled-components/es/examples/sds_engineer/components/Badge/Badge.stories.tsx +2 -2
  105. package/styled-components/es/examples/sds_engineer/components/Button/Button.config.js +2 -2
  106. package/styled-components/es/examples/sds_engineer/components/Button/Button.stories.tsx +1 -1
  107. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +11 -8
  108. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +4 -4
  109. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -2
  110. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -2
  111. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.config.js +1 -1
  112. package/styled-components/es/examples/sds_engineer/components/Counter/Counter.config.js +2 -2
  113. package/styled-components/es/examples/sds_engineer/components/Counter/Counter.stories.tsx +2 -2
  114. package/styled-components/es/examples/sds_engineer/components/Link/Link.config.js +1 -1
  115. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.config.js +1 -1
  116. package/styled-components/es/examples/sds_engineer/components/Spinner/Spinner.config.js +1 -1
  117. package/styled-components/es/examples/sds_engineer/components/TextArea/TextArea.config.js +2 -2
  118. package/styled-components/es/examples/sds_engineer/components/Toast/Toast.config.js +2 -2
  119. package/styled-components/es/examples/sds_engineer/components/Toast/Toast.stories.tsx +2 -2
  120. package/types/components/Badge/Badge.types.d.ts +1 -1
  121. package/types/components/Counter/Counter.types.d.ts +1 -1
  122. package/types/components/Indicator/Indicator.d.ts +4 -4
  123. package/types/components/Indicator/Indicator.types.d.ts +12 -2
  124. package/types/components/Indicator/Indicator.types.d.ts.map +1 -1
  125. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +1 -1
  126. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +1 -1
  127. package/types/examples/plasma_b2c/components/Button/Button.config.d.ts +1 -1
  128. package/types/examples/plasma_b2c/components/Button/Button.d.ts +1 -1
  129. package/types/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.d.ts +4 -1
  130. package/types/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  131. package/types/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.d.ts +4 -1
  132. package/types/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  133. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +2 -2
  134. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +1 -1
  135. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +1 -1
  136. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts +1 -1
  137. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts +1 -1
  138. package/types/examples/plasma_b2c/components/Counter/Counter.config.d.ts +1 -1
  139. package/types/examples/plasma_b2c/components/Counter/Counter.d.ts +1 -1
  140. package/types/examples/plasma_b2c/components/Header/Header.config.d.ts +1 -1
  141. package/types/examples/plasma_b2c/components/Header/Header.d.ts +1 -1
  142. package/types/examples/plasma_b2c/components/Indicator/Indicator.d.ts +4 -4
  143. package/types/examples/plasma_b2c/components/Link/Link.config.d.ts +1 -1
  144. package/types/examples/plasma_b2c/components/Link/Link.d.ts +1 -1
  145. package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts +2 -2
  146. package/types/examples/plasma_b2c/components/Pagination/Pagination.d.ts +2 -2
  147. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.config.d.ts +1 -1
  148. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  149. package/types/examples/plasma_b2c/components/Spinner/Spinner.config.d.ts +1 -1
  150. package/types/examples/plasma_b2c/components/Spinner/Spinner.d.ts +1 -1
  151. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +1 -1
  152. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +1 -1
  153. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts +1 -1
  154. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts +1 -1
  155. package/types/examples/plasma_web/components/Badge/Badge.config.d.ts +1 -1
  156. package/types/examples/plasma_web/components/Badge/Badge.d.ts +1 -1
  157. package/types/examples/plasma_web/components/Button/Button.config.d.ts +1 -1
  158. package/types/examples/plasma_web/components/Button/Button.d.ts +1 -1
  159. package/types/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.d.ts +4 -1
  160. package/types/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  161. package/types/examples/plasma_web/components/ButtonGroup/ButtonGroup.d.ts +4 -1
  162. package/types/examples/plasma_web/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  163. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +2 -2
  164. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +1 -1
  165. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +1 -1
  166. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts +1 -1
  167. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts +1 -1
  168. package/types/examples/plasma_web/components/Counter/Counter.config.d.ts +1 -1
  169. package/types/examples/plasma_web/components/Counter/Counter.d.ts +1 -1
  170. package/types/examples/plasma_web/components/Header/Header.config.d.ts +1 -1
  171. package/types/examples/plasma_web/components/Header/Header.d.ts +1 -1
  172. package/types/examples/plasma_web/components/Indicator/Indicator.d.ts +4 -4
  173. package/types/examples/plasma_web/components/Link/Link.config.d.ts +1 -1
  174. package/types/examples/plasma_web/components/Link/Link.d.ts +1 -1
  175. package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts +2 -2
  176. package/types/examples/plasma_web/components/Pagination/Pagination.d.ts +2 -2
  177. package/types/examples/plasma_web/components/Radiobox/Radiobox.config.d.ts +1 -1
  178. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  179. package/types/examples/plasma_web/components/Spinner/Spinner.config.d.ts +1 -1
  180. package/types/examples/plasma_web/components/Spinner/Spinner.d.ts +1 -1
  181. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +1 -1
  182. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +1 -1
  183. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts +1 -1
  184. package/types/examples/plasma_web/components/Toast/Toast.d.ts +1 -1
  185. package/types/examples/sds_engineer/components/Badge/Badge.config.d.ts +1 -1
  186. package/types/examples/sds_engineer/components/Badge/Badge.d.ts +1 -1
  187. package/types/examples/sds_engineer/components/Button/Button.config.d.ts +1 -1
  188. package/types/examples/sds_engineer/components/Button/Button.d.ts +1 -1
  189. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.d.ts +4 -1
  190. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  191. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.d.ts +4 -1
  192. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  193. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +2 -2
  194. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +1 -1
  195. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +1 -1
  196. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts +1 -1
  197. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts +1 -1
  198. package/types/examples/sds_engineer/components/Counter/Counter.config.d.ts +1 -1
  199. package/types/examples/sds_engineer/components/Counter/Counter.d.ts +1 -1
  200. package/types/examples/sds_engineer/components/Link/Link.config.d.ts +1 -1
  201. package/types/examples/sds_engineer/components/Link/Link.d.ts +1 -1
  202. package/types/examples/sds_engineer/components/Radiobox/Radiobox.config.d.ts +1 -1
  203. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts +1 -1
  204. package/types/examples/sds_engineer/components/Spinner/Spinner.config.d.ts +1 -1
  205. package/types/examples/sds_engineer/components/Spinner/Spinner.d.ts +1 -1
  206. package/types/examples/sds_engineer/components/TextArea/TextArea.config.d.ts +1 -1
  207. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts +1 -1
  208. package/types/examples/sds_engineer/components/Toast/Toast.config.d.ts +1 -1
  209. package/types/examples/sds_engineer/components/Toast/Toast.d.ts +1 -1
@@ -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', 'primary', 'secondary', 'success', 'warning', 'critical', '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'];
@@ -65,7 +65,7 @@ export default meta;
65
65
 
66
66
  export const Default: Story = {
67
67
  args: {
68
- view: 'primary',
68
+ view: 'default',
69
69
  size: 'm',
70
70
  gap: 'dense',
71
71
  orientation: 'horizontal',
@@ -99,7 +99,7 @@ export const CustomButtons: Story = {
99
99
  <>
100
100
  <h3>Группа кнопок с разными темами</h3>
101
101
  <ButtonGroup {...args}>
102
- <Button text="Primary" view="primary" />
102
+ <Button text="Primary" view="default" />
103
103
  <Button text="Negative" view="negative" />
104
104
  <Button text="Positive" view="positive" />
105
105
  <Button text="Clear" view="clear" />
@@ -107,7 +107,7 @@ export const CustomButtons: Story = {
107
107
 
108
108
  <h3>Группа кнопок с разными размерами</h3>
109
109
  <ButtonGroup {...args}>
110
- <Button text="Primary" view="primary" size="l" />
110
+ <Button text="Primary" view="default" size="l" />
111
111
  <Button text="Negative" view="negative" size="m" />
112
112
  <Button text="Positive" view="positive" size="s" />
113
113
  <Button text="Clear" view="clear" size="l" />
@@ -2,12 +2,12 @@ import { css } from 'styled-components';
2
2
  import { tokens as calendarBaseTokens } from '../../../../components/Calendar/Calendar.tokens';
3
3
  export var config = {
4
4
  defaults: {
5
- view: 'primary',
5
+ view: 'default',
6
6
  size: 'm'
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- primary: /*#__PURE__*/css(["", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-solid03);", ":var(--plasma-colors-accent);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-button-focused);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-secondary);"], calendarBaseTokens.calendarBackgroundColor, calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor)
10
+ "default": /*#__PURE__*/css(["", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-solid03);", ":var(--plasma-colors-accent);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-button-focused);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-secondary);"], calendarBaseTokens.calendarBackgroundColor, calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor)
11
11
  },
12
12
  size: {
13
13
  m: /*#__PURE__*/css(["", ":5.5rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);"], calendarBaseTokens.calendarHeaderArrowContainerWidth, calendarBaseTokens.calendarItemBorderRadius, calendarBaseTokens.calendarHeaderFontFamily, calendarBaseTokens.calendarHeaderFontSize, calendarBaseTokens.calendarHeaderFontStyle, calendarBaseTokens.calendarHeaderFontLetterSpacing, calendarBaseTokens.calendarHeaderFontLineHeight, calendarBaseTokens.calendarHeaderFontWeight, calendarBaseTokens.calendarHeaderFontWeightBold, calendarBaseTokens.calendarYearFontFamily, calendarBaseTokens.calendarYearFontSize, calendarBaseTokens.calendarYearFontStyle, calendarBaseTokens.calendarYearFontLetterSpacing, calendarBaseTokens.calendarYearFontLineHeight, calendarBaseTokens.calendarYearFontWeight, calendarBaseTokens.calendarMonthFontFamily, calendarBaseTokens.calendarMonthFontSize, calendarBaseTokens.calendarMonthFontStyle, calendarBaseTokens.calendarMonthFontLetterSpacing, calendarBaseTokens.calendarMonthFontLineHeight, calendarBaseTokens.calendarMonthFontWeight, calendarBaseTokens.calendarDayFontFamily, calendarBaseTokens.calendarDayFontSize, calendarBaseTokens.calendarDayFontStyle, calendarBaseTokens.calendarDayFontLetterSpacing, calendarBaseTokens.calendarDayFontLineHeight, calendarBaseTokens.calendarDayFontWeight)
@@ -2,12 +2,12 @@ import { css } from 'styled-components';
2
2
  import { tokens as calendarDoubleTokens } from '../../../../components/Calendar/Calendar.tokens';
3
3
  export var config = {
4
4
  defaults: {
5
- view: 'primary',
5
+ view: 'default',
6
6
  size: 'm'
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- primary: /*#__PURE__*/css(["", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-solid03);", ":var(--plasma-colors-accent);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-button-focused);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-secondary);"], calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor)
10
+ "default": /*#__PURE__*/css(["", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-solid03);", ":var(--plasma-colors-accent);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-button-focused);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-secondary);"], calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor)
11
11
  },
12
12
  size: {
13
13
  m: /*#__PURE__*/css(["", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);"], calendarDoubleTokens.calendarItemBorderRadius, calendarDoubleTokens.calendarHeaderFontFamily, calendarDoubleTokens.calendarHeaderFontSize, calendarDoubleTokens.calendarHeaderFontStyle, calendarDoubleTokens.calendarHeaderFontLetterSpacing, calendarDoubleTokens.calendarHeaderFontLineHeight, calendarDoubleTokens.calendarHeaderFontWeight, calendarDoubleTokens.calendarHeaderFontWeightBold, calendarDoubleTokens.calendarYearFontFamily, calendarDoubleTokens.calendarYearFontSize, calendarDoubleTokens.calendarYearFontStyle, calendarDoubleTokens.calendarYearFontLetterSpacing, calendarDoubleTokens.calendarYearFontLineHeight, calendarDoubleTokens.calendarYearFontWeight, calendarDoubleTokens.calendarMonthFontFamily, calendarDoubleTokens.calendarMonthFontSize, calendarDoubleTokens.calendarMonthFontStyle, calendarDoubleTokens.calendarMonthFontLetterSpacing, calendarDoubleTokens.calendarMonthFontLineHeight, calendarDoubleTokens.calendarMonthFontWeight, calendarDoubleTokens.calendarDayFontFamily, calendarDoubleTokens.calendarDayFontSize, calendarDoubleTokens.calendarDayFontStyle, calendarDoubleTokens.calendarDayFontLetterSpacing, calendarDoubleTokens.calendarDayFontLineHeight, calendarDoubleTokens.calendarDayFontWeight)
@@ -16,7 +16,7 @@ export var config = {
16
16
  * Вид контрола.
17
17
  */
18
18
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-primary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
19
+ "default": /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-primary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
20
20
  secondary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-secondary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
21
21
  tertiary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-tertiary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
22
22
  paragraph: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-paragraph);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
@@ -2,12 +2,12 @@ import { css } from 'styled-components';
2
2
  import { counterTokens } from '../../../../components/Counter';
3
3
  export var config = {
4
4
  defaults: {
5
- view: 'primary',
5
+ view: 'default',
6
6
  size: 'xs'
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);"], counterTokens.color, counterTokens.background),
10
+ "default": /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);"], counterTokens.color, counterTokens.background),
11
11
  accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);"], counterTokens.color, counterTokens.background),
12
12
  positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);"], counterTokens.color, counterTokens.background),
13
13
  warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);"], counterTokens.color, counterTokens.background),
@@ -18,7 +18,7 @@ const meta: Meta<typeof Counter> = {
18
18
  },
19
19
  },
20
20
  view: {
21
- options: ['primary', 'accent', 'positive', 'warning', 'negative', 'dark', 'light'],
21
+ options: ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light'],
22
22
  control: {
23
23
  type: 'select',
24
24
  },
@@ -35,7 +35,7 @@ export const Default: Story = {
35
35
  args: {
36
36
  count: 25,
37
37
  maxCount: 100,
38
- view: 'primary',
38
+ view: 'default',
39
39
  size: 'xs',
40
40
  },
41
41
  };
@@ -6,7 +6,7 @@ export var config = {
6
6
  },
7
7
  variations: {
8
8
  view: {
9
- primary: /*#__PURE__*/css(["--plasma-link-color:var(--text-primary);--plasma-link-color-hover:var(--text-primary-hover);--plasma-link-color-active:var(--text-primary-active);--plasma-link-color-visited:var(--text-primary);--plasma-link-color-visited-hover:var(--text-primary-hover);--plasma-link-color-visited-active:var(--text-primary-active);--plasma-link-underline-border:0;"]),
9
+ "default": /*#__PURE__*/css(["--plasma-link-color:var(--text-primary);--plasma-link-color-hover:var(--text-primary-hover);--plasma-link-color-active:var(--text-primary-active);--plasma-link-color-visited:var(--text-primary);--plasma-link-color-visited-hover:var(--text-primary-hover);--plasma-link-color-visited-active:var(--text-primary-active);--plasma-link-underline-border:0;"]),
10
10
  secondary: /*#__PURE__*/css(["--plasma-link-color:var(--text-secondary);--plasma-link-color-hover:var(--text-secondary-hover);--plasma-link-color-active:var(--text-secondary-active);--plasma-link-color-visited:var(--text-secondary);--plasma-link-color-visited-hover:var(--text-secondary-hover);--plasma-link-color-visited-active:var(--text-secondary-active);--plasma-link-underline-border:0;"]),
11
11
  tertiary: /*#__PURE__*/css(["--plasma-link-color:var(--text-tertiary);--plasma-link-color-hover:var(--text-tertiary-hover);--plasma-link-color-active:var(--text-tertiary-active);--plasma-link-color-visited:var(--text-tertiary);--plasma-link-color-visited-hover:var(--text-tertiary-hover);--plasma-link-color-visited-active:var(--text-tertiary-active);--plasma-link-underline-border:0;"]),
12
12
  paragraph: /*#__PURE__*/css(["--plasma-link-color:var(--text-paragraph);--plasma-link-color-hover:var(--text-paragraph-hover);--plasma-link-color-active:var(--text-paragraph-active);--plasma-link-color-visited:var(--text-paragraph);--plasma-link-color-visited-hover:var(--text-paragraph-hover);--plasma-link-color-visited-active:var(--text-paragraph-active);--plasma-link-underline-border:0;"]),
@@ -16,7 +16,7 @@ export var config = {
16
16
  * Вид контрола.
17
17
  */
18
18
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-primary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
19
+ "default": /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-primary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
20
20
  secondary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-secondary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
21
21
  tertiary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-tertiary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
22
22
  paragraph: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-paragraph);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
@@ -12,7 +12,7 @@ export var config = {
12
12
  l: /*#__PURE__*/css(["", ":36px;"], spinnerTokens.size)
13
13
  },
14
14
  view: {
15
- primary: /*#__PURE__*/css(["", ":var(--text-primary);"], spinnerTokens.color),
15
+ "default": /*#__PURE__*/css(["", ":var(--text-primary);"], spinnerTokens.color),
16
16
  secondary: /*#__PURE__*/css(["", ":var(--text-secondary);"], spinnerTokens.color),
17
17
  tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);"], spinnerTokens.color),
18
18
  paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);"], spinnerTokens.color),
@@ -2,7 +2,7 @@ import { css } from 'styled-components';
2
2
  import { textAreaTokens } from '../../../../components/TextArea';
3
3
  export var config = {
4
4
  defaults: {
5
- view: 'primary',
5
+ view: 'default',
6
6
  focused: 'true'
7
7
  },
8
8
  variations: {
@@ -12,7 +12,7 @@ export var config = {
12
12
  m: /*#__PURE__*/css(["", ":100%;", ":5.825rem;", ":1.125rem;", ":0.125rem;", ":0.25rem;", ":0.438rem;", ":0.5rem;", ":0.563rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderSize, textAreaTokens.borderRadius, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight)
13
13
  },
14
14
  view: {
15
- primary: /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-accent-hover);", ":var(--surface-accent-active);", ":var(--surface-accent-active);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.inputBorderColor, textAreaTokens.inputBorderColorHover, textAreaTokens.inputBorderColorActive, textAreaTokens.inputBorderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus),
15
+ "default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-accent-hover);", ":var(--surface-accent-active);", ":var(--surface-accent-active);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.inputBorderColor, textAreaTokens.inputBorderColorHover, textAreaTokens.inputBorderColorActive, textAreaTokens.inputBorderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus),
16
16
  negative: /*#__PURE__*/css(["", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-tertiary);", ":var(--surface-accent-hover);", ":var(--surface-accent-active);", ":var(--surface-accent-active);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--plasma-colors-secondary);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.inputBorderColor, textAreaTokens.inputBorderColorHover, textAreaTokens.inputBorderColorActive, textAreaTokens.inputBorderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus)
17
17
  },
18
18
  disabled: {
@@ -2,12 +2,12 @@ import { css } from 'styled-components';
2
2
  import { toastTokens } from '../../../../components/Toast';
3
3
  export var config = {
4
4
  defaults: {
5
- view: 'primary',
5
+ view: 'default',
6
6
  size: 'm'
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-solid-card);", ":var(--text-secondary);", ":var(--text-secondary);"], toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
10
+ "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-solid-card);", ":var(--text-secondary);", ":var(--text-secondary);"], toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
11
11
  dark: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-dark-surface-solid-primary);", ":var(--on-dark-text-secondary);", ":var(--on-dark-text-secondary);"], toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover),
12
12
  light: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-light-surface-solid-primary);", ":var(--on-light-text-secondary);", ":var(--on-light-text-secondary);"], toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover)
13
13
  },
@@ -57,7 +57,7 @@ const Container = styled.div`
57
57
  export const ToastComponent: StoryComponent = {
58
58
  args: {
59
59
  text: 'Текст всплывающего уведомления',
60
- view: 'primary',
60
+ view: 'default',
61
61
  size: 'm',
62
62
  hasClose: true,
63
63
  enableContentLeft: true,
@@ -196,7 +196,7 @@ const StoryComplex = ({
196
196
  <Button text="Открыть модальное окно" onClick={() => setIsModalOpen(true)} />
197
197
  <Modal frame="theme-root" isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>
198
198
  <div>Hello!</div>
199
- <Button view="primary" text="Add notification" onClick={handleShowNotification} />
199
+ <Button view="default" text="Add notification" onClick={handleShowNotification} />
200
200
  </Modal>
201
201
  </PopupProvider>
202
202
  </NotificationsProvider>
@@ -33,7 +33,7 @@ declare type CustomBadgeProps = {
33
33
  /**
34
34
  * Вид Badge
35
35
  * @default
36
- * primary
36
+ * default
37
37
  */
38
38
  view?: string;
39
39
  } & PropsWithChildren;
@@ -17,7 +17,7 @@ declare type CustomCounterProps = {
17
17
  /**
18
18
  * Вид Counter
19
19
  * @default
20
- * primary
20
+ * default
21
21
  */
22
22
  view?: string;
23
23
  };
@@ -2,15 +2,15 @@ import React from 'react';
2
2
  import { RootProps } from '../../engines';
3
3
  import { IndicatorProps } from './Indicator.types';
4
4
  export declare const indicatorRoot: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
5
- size: "m" | "s" | "l";
6
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
5
+ size: string;
6
+ view: string;
7
7
  } & React.RefAttributes<HTMLDivElement>>;
8
8
  export declare const indicatorConfig: {
9
9
  name: string;
10
10
  tag: string;
11
11
  layout: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
12
- size: "m" | "s" | "l";
13
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
12
+ size: string;
13
+ view: string;
14
14
  } & React.RefAttributes<HTMLDivElement>>;
15
15
  base: import("@linaria/core").LinariaClassName;
16
16
  variations: {
@@ -1,7 +1,17 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  declare type CustomIndicatorProps = {
3
- size: 'l' | 'm' | 's';
4
- view: 'default' | 'accent' | 'inactive' | 'positive' | 'warning' | 'negative' | 'black' | 'white';
3
+ /**
4
+ * Размер индикатора
5
+ * @default
6
+ * m
7
+ */
8
+ size: string;
9
+ /**
10
+ * Вид индикатора
11
+ * @default
12
+ * default
13
+ */
14
+ view: string;
5
15
  };
6
16
  export declare type IndicatorProps = HTMLAttributes<HTMLDivElement> & CustomIndicatorProps;
7
17
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Indicator.types.d.ts","sourceRoot":"","sources":["../../../src/components/Indicator/Indicator.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,aAAK,oBAAoB,GAAG;IAExB,IAAI,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAEtB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;CACrG,CAAC;AAEF,oBAAY,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"Indicator.types.d.ts","sourceRoot":"","sources":["../../../src/components/Indicator/Indicator.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,aAAK,oBAAoB,GAAG;IACxB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,oBAAoB,CAAC"}
@@ -5,7 +5,7 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  accent: import("@linaria/core").LinariaClassName;
10
10
  positive: import("@linaria/core").LinariaClassName;
11
11
  warning: import("@linaria/core").LinariaClassName;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Badge: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  accent: import("@linaria/core").LinariaClassName;
6
6
  positive: import("@linaria/core").LinariaClassName;
7
7
  warning: import("@linaria/core").LinariaClassName;
@@ -6,7 +6,7 @@ export declare const config: {
6
6
  };
7
7
  variations: {
8
8
  view: {
9
- primary: import("@linaria/core").LinariaClassName;
9
+ default: import("@linaria/core").LinariaClassName;
10
10
  accent: import("@linaria/core").LinariaClassName;
11
11
  secondary: import("@linaria/core").LinariaClassName;
12
12
  clear: import("@linaria/core").LinariaClassName;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Button: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  accent: import("@linaria/core").LinariaClassName;
6
6
  secondary: import("@linaria/core").LinariaClassName;
7
7
  clear: import("@linaria/core").LinariaClassName;
@@ -5,13 +5,16 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  accent: import("@linaria/core").LinariaClassName;
10
10
  secondary: import("@linaria/core").LinariaClassName;
11
11
  clear: import("@linaria/core").LinariaClassName;
12
12
  positive: import("@linaria/core").LinariaClassName;
13
13
  warning: import("@linaria/core").LinariaClassName;
14
14
  negative: import("@linaria/core").LinariaClassName;
15
+ dark: import("@linaria/core").LinariaClassName;
16
+ black: import("@linaria/core").LinariaClassName;
17
+ white: import("@linaria/core").LinariaClassName;
15
18
  };
16
19
  size: {
17
20
  l: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqPlB,CAAC"}
1
+ {"version":3,"file":"ButtonGroup.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiPlB,CAAC"}
@@ -1,13 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ButtonGroup: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  accent: import("@linaria/core").LinariaClassName;
6
6
  secondary: import("@linaria/core").LinariaClassName;
7
7
  clear: import("@linaria/core").LinariaClassName;
8
8
  positive: import("@linaria/core").LinariaClassName;
9
9
  warning: import("@linaria/core").LinariaClassName;
10
10
  negative: import("@linaria/core").LinariaClassName;
11
+ dark: import("@linaria/core").LinariaClassName;
12
+ black: import("@linaria/core").LinariaClassName;
13
+ white: import("@linaria/core").LinariaClassName;
11
14
  };
12
15
  size: {
13
16
  l: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mHAA0B,CAAC"}
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mHAA0B,CAAC"}
@@ -2,7 +2,7 @@
2
2
  import type { CalendarBaseProps, CalendarDoubleProps } from '../../../../components/Calendar';
3
3
  export declare const CalendarBase: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
4
  view: {
5
- primary: import("@linaria/core").LinariaClassName;
5
+ default: import("@linaria/core").LinariaClassName;
6
6
  };
7
7
  size: {
8
8
  m: import("@linaria/core").LinariaClassName;
@@ -12,7 +12,7 @@ export declare const CalendarBase: import("react").FunctionComponent<import("../
12
12
  } & import("react").RefAttributes<HTMLDivElement>>;
13
13
  export declare const CalendarDouble: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
14
14
  view: {
15
- primary: import("@linaria/core").LinariaClassName;
15
+ default: import("@linaria/core").LinariaClassName;
16
16
  };
17
17
  size: {
18
18
  m: import("@linaria/core").LinariaClassName;
@@ -5,7 +5,7 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  };
10
10
  size: {
11
11
  m: import("@linaria/core").LinariaClassName;
@@ -5,7 +5,7 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  };
10
10
  size: {
11
11
  m: import("@linaria/core").LinariaClassName;
@@ -15,7 +15,7 @@ export declare const config: {
15
15
  * Вид контрола.
16
16
  */
17
17
  view: {
18
- primary: import("@linaria/core").LinariaClassName;
18
+ default: import("@linaria/core").LinariaClassName;
19
19
  secondary: import("@linaria/core").LinariaClassName;
20
20
  tertiary: import("@linaria/core").LinariaClassName;
21
21
  paragraph: import("@linaria/core").LinariaClassName;
@@ -5,7 +5,7 @@ export declare const Checkbox: import("react").FunctionComponent<import("../../.
5
5
  m: import("@linaria/core").LinariaClassName;
6
6
  };
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  secondary: import("@linaria/core").LinariaClassName;
10
10
  tertiary: import("@linaria/core").LinariaClassName;
11
11
  paragraph: import("@linaria/core").LinariaClassName;
@@ -5,7 +5,7 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  accent: import("@linaria/core").LinariaClassName;
10
10
  positive: import("@linaria/core").LinariaClassName;
11
11
  warning: import("@linaria/core").LinariaClassName;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Counter: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  accent: import("@linaria/core").LinariaClassName;
6
6
  positive: import("@linaria/core").LinariaClassName;
7
7
  warning: import("@linaria/core").LinariaClassName;
@@ -5,7 +5,7 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  };
10
10
  size: {
11
11
  m: import("@linaria/core").LinariaClassName;
@@ -2,7 +2,7 @@
2
2
  export { HeaderContent, HeaderTitle } from '../../../../components/Header';
3
3
  export declare const HeaderRoot: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
4
  view: {
5
- primary: import("@linaria/core").LinariaClassName;
5
+ default: import("@linaria/core").LinariaClassName;
6
6
  };
7
7
  size: {
8
8
  m: import("@linaria/core").LinariaClassName;
@@ -32,8 +32,8 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
32
32
  s: import("@linaria/core").LinariaClassName;
33
33
  };
34
34
  }>, import("react").HTMLAttributes<HTMLDivElement> & {
35
- size: "m" | "s" | "l";
36
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
35
+ size: string;
36
+ view: string;
37
37
  } & import("react").RefAttributes<HTMLDivElement>>;
38
38
  declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
39
39
  view: {
@@ -52,8 +52,8 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
52
52
  s: import("@linaria/core").LinariaClassName;
53
53
  };
54
54
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
55
- size: "m" | "s" | "l";
56
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
55
+ size: string;
56
+ view: string;
57
57
  } & import("react").RefAttributes<HTMLDivElement>>;
58
58
  export { Indicator, mergedConfig };
59
59
  //# sourceMappingURL=Indicator.d.ts.map
@@ -5,7 +5,7 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  secondary: import("@linaria/core").LinariaClassName;
10
10
  tertiary: import("@linaria/core").LinariaClassName;
11
11
  paragraph: import("@linaria/core").LinariaClassName;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Link: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- primary: import("@linaria/core").LinariaClassName;
4
+ default: import("@linaria/core").LinariaClassName;
5
5
  secondary: import("@linaria/core").LinariaClassName;
6
6
  tertiary: import("@linaria/core").LinariaClassName;
7
7
  paragraph: import("@linaria/core").LinariaClassName;
@@ -8,10 +8,10 @@ export declare const config: {
8
8
  view: {
9
9
  secondary: import("@linaria/core").LinariaClassName;
10
10
  clear: import("@linaria/core").LinariaClassName;
11
- primary: import("@linaria/core").LinariaClassName;
11
+ default: import("@linaria/core").LinariaClassName;
12
12
  };
13
13
  viewCurrentPage: {
14
- primary: import("@linaria/core").LinariaClassName;
14
+ default: import("@linaria/core").LinariaClassName;
15
15
  secondary: import("@linaria/core").LinariaClassName;
16
16
  clear: import("@linaria/core").LinariaClassName;
17
17
  };
@@ -3,10 +3,10 @@ export declare const Pagination: import("react").FunctionComponent<import("../..
3
3
  view: {
4
4
  secondary: import("@linaria/core").LinariaClassName;
5
5
  clear: import("@linaria/core").LinariaClassName;
6
- primary: import("@linaria/core").LinariaClassName;
6
+ default: import("@linaria/core").LinariaClassName;
7
7
  };
8
8
  viewCurrentPage: {
9
- primary: import("@linaria/core").LinariaClassName;
9
+ default: import("@linaria/core").LinariaClassName;
10
10
  secondary: import("@linaria/core").LinariaClassName;
11
11
  clear: import("@linaria/core").LinariaClassName;
12
12
  };
@@ -15,7 +15,7 @@ export declare const config: {
15
15
  * Вид контрола.
16
16
  */
17
17
  view: {
18
- primary: import("@linaria/core").LinariaClassName;
18
+ default: import("@linaria/core").LinariaClassName;
19
19
  secondary: import("@linaria/core").LinariaClassName;
20
20
  tertiary: import("@linaria/core").LinariaClassName;
21
21
  paragraph: import("@linaria/core").LinariaClassName;
@@ -5,7 +5,7 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
5
5
  m: import("@linaria/core").LinariaClassName;
6
6
  };
7
7
  view: {
8
- primary: import("@linaria/core").LinariaClassName;
8
+ default: import("@linaria/core").LinariaClassName;
9
9
  secondary: import("@linaria/core").LinariaClassName;
10
10
  tertiary: import("@linaria/core").LinariaClassName;
11
11
  paragraph: import("@linaria/core").LinariaClassName;
@@ -10,7 +10,7 @@ export declare const config: {
10
10
  l: import("@linaria/core").LinariaClassName;
11
11
  };
12
12
  view: {
13
- primary: import("@linaria/core").LinariaClassName;
13
+ default: import("@linaria/core").LinariaClassName;
14
14
  secondary: import("@linaria/core").LinariaClassName;
15
15
  tertiary: import("@linaria/core").LinariaClassName;
16
16
  paragraph: import("@linaria/core").LinariaClassName;
@@ -6,7 +6,7 @@ export declare const Spinner: import("react").FunctionComponent<import("../../..
6
6
  l: import("@linaria/core").LinariaClassName;
7
7
  };
8
8
  view: {
9
- primary: import("@linaria/core").LinariaClassName;
9
+ default: import("@linaria/core").LinariaClassName;
10
10
  secondary: import("@linaria/core").LinariaClassName;
11
11
  tertiary: import("@linaria/core").LinariaClassName;
12
12
  paragraph: import("@linaria/core").LinariaClassName;