@salutejs/sdds-cs 0.362.0-next-sbcom.0 → 0.362.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
  2. package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
  3. package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
  4. package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
  5. package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
  6. package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
  7. package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
  8. package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
  9. package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
  10. package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
  11. package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
  12. package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
  13. package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  14. package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
  15. package/dist/emotion/cjs/components/Button/Button.js +3 -3
  16. package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
  17. package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
  18. package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
  19. package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
  20. package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
  21. package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
  22. package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
  23. package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
  24. package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
  25. package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
  26. package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
  27. package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
  28. package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
  29. package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
  30. package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
  31. package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
  32. package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
  33. package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
  34. package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
  35. package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
  36. package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
  37. package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
  38. package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
  39. package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
  40. package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
  41. package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
  42. package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
  43. package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
  44. package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
  45. package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
  46. package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
  47. package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
  48. package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
  49. package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
  50. package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
  51. package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
  52. package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
  53. package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
  54. package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
  55. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  56. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  57. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  58. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  59. package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
  60. package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
  61. package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
  62. package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
  63. package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
  64. package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
  65. package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
  66. package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
  67. package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
  68. package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
  69. package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
  70. package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
  71. package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
  72. package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
  73. package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
  74. package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
  75. package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
  76. package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
  77. package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
  78. package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
  79. package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  80. package/dist/emotion/es/components/Button/Button.config.js +44 -43
  81. package/dist/emotion/es/components/Button/Button.js +3 -3
  82. package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
  83. package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
  84. package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
  85. package/dist/emotion/es/components/Card/Card.config.js +2 -1
  86. package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
  87. package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
  88. package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
  89. package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
  90. package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
  91. package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
  92. package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
  93. package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
  94. package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
  95. package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
  96. package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
  97. package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
  98. package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
  99. package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
  100. package/dist/emotion/es/components/Link/Link.config.js +53 -52
  101. package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
  102. package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
  103. package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
  104. package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
  105. package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
  106. package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
  107. package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
  108. package/dist/emotion/es/components/Range/Range.config.js +70 -69
  109. package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
  110. package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
  111. package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
  112. package/dist/emotion/es/components/Select/Select.config.js +126 -125
  113. package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
  114. package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
  115. package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
  116. package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
  117. package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
  118. package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
  119. package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
  120. package/dist/emotion/es/components/Table/Table.config.js +82 -81
  121. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  122. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  123. package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  124. package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  125. package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
  126. package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
  127. package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
  128. package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
  129. package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
  130. package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
  131. package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
  132. package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
  133. package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
  134. package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
  135. package/dist/emotion/es/components/Typography/Body.config.js +41 -40
  136. package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
  137. package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
  138. package/dist/emotion/es/components/Typography/Text.config.js +33 -32
  139. package/package.json +8 -8
  140. package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
  141. package/types/components/Avatar/Avatar.d.ts +4 -4
  142. package/types/components/Combobox/Combobox.d.ts +8 -0
  143. package/types/components/DatePicker/DatePicker.d.ts +2 -0
  144. package/types/components/IconButton/IconButton.d.ts +28 -11
  145. package/types/components/Mask/Mask.d.ts +16 -0
  146. package/types/components/Rating/Rating.d.ts +1 -0
  147. package/types/components/Select/Select.d.ts +16 -0
  148. package/types/components/TextField/TextField.d.ts +32 -0
  149. package/types/components/TimePicker/TimePicker.d.ts +2 -0
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -18,36 +19,36 @@ const config = {
18
19
  variations: {
19
20
  view: {
20
21
  accent: (0, _emotion.css)`
21
- ${_emotion.buttonTokens.buttonColor}: var(--on-dark-text-primary);
22
- ${_emotion.buttonTokens.buttonTextColor}: var(--on-dark-text-primary);
23
- ${_emotion.buttonTokens.buttonIconColor}: var(--on-dark-text-primary);
24
- ${_emotion.buttonTokens.buttonValueColor}: var(--on-light-text-accent-minor);
25
- ${_emotion.buttonTokens.buttonBackgroundColor}: var(--surface-accent);
22
+ ${_emotion.buttonTokens.buttonColor}: ${_sdds_cs.onDarkTextPrimary};
23
+ ${_emotion.buttonTokens.buttonTextColor}: ${_sdds_cs.onDarkTextPrimary};
24
+ ${_emotion.buttonTokens.buttonIconColor}: ${_sdds_cs.onDarkTextPrimary};
25
+ ${_emotion.buttonTokens.buttonValueColor}: ${_sdds_cs.onLightTextAccentMinor};
26
+ ${_emotion.buttonTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceAccent};
26
27
  ${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonTokens.buttonBackgroundColor});
27
- ${_emotion.buttonTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);
28
- ${_emotion.buttonTokens.buttonBackgroundColorActive}: var(--surface-accent-active);
28
+ ${_emotion.buttonTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceAccentHover};
29
+ ${_emotion.buttonTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceAccentActive};
29
30
  `,
30
31
  secondary: (0, _emotion.css)`
31
- ${_emotion.buttonTokens.buttonColor}: var(--text-accent);
32
- ${_emotion.buttonTokens.buttonColorHover}: var(--text-accent-minor);
33
- ${_emotion.buttonTokens.buttonColorActive}: var(--text-accent-active);
34
- ${_emotion.buttonTokens.buttonTextColor}: var(--text-accent);
35
- ${_emotion.buttonTokens.buttonIconColor}: var(--text-accent);
36
- ${_emotion.buttonTokens.buttonValueColor}: var(--text-secondary);
37
- ${_emotion.buttonTokens.buttonBackgroundColor}: var(--surface-solid-secondary);
32
+ ${_emotion.buttonTokens.buttonColor}: ${_sdds_cs.textAccent};
33
+ ${_emotion.buttonTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
34
+ ${_emotion.buttonTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
35
+ ${_emotion.buttonTokens.buttonTextColor}: ${_sdds_cs.textAccent};
36
+ ${_emotion.buttonTokens.buttonIconColor}: ${_sdds_cs.textAccent};
37
+ ${_emotion.buttonTokens.buttonValueColor}: ${_sdds_cs.textSecondary};
38
+ ${_emotion.buttonTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceSolidSecondary};
38
39
  ${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonTokens.buttonBackgroundColor});
39
- ${_emotion.buttonTokens.buttonBackgroundColorHover}: var(--surface-solid-secondary-hover);
40
- ${_emotion.buttonTokens.buttonBackgroundColorActive}: var(--surface-solid-secondary-active);
40
+ ${_emotion.buttonTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceSolidSecondaryHover};
41
+ ${_emotion.buttonTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceSolidSecondaryActive};
41
42
  `,
42
43
  clear: (0, _emotion.css)`
43
- ${_emotion.buttonTokens.buttonColor}: var(--text-accent);
44
- ${_emotion.buttonTokens.buttonTextColor}: var(--text-accent);
45
- ${_emotion.buttonTokens.buttonIconColor}: var(--text-accent);
46
- ${_emotion.buttonTokens.buttonValueColor}: var(--text-accent-minor);
47
- ${_emotion.buttonTokens.buttonBackgroundColor}: var(--surface-clear);
48
- ${_emotion.buttonTokens.buttonLoadingBackgroundColor}: var(--surface-transparent-accent);
49
- ${_emotion.buttonTokens.buttonBackgroundColorHover}: var(--surface-transparent-accent);
50
- ${_emotion.buttonTokens.buttonBackgroundColorActive}: var(--surface-transparent-accent-active);
44
+ ${_emotion.buttonTokens.buttonColor}: ${_sdds_cs.textAccent};
45
+ ${_emotion.buttonTokens.buttonTextColor}: ${_sdds_cs.textAccent};
46
+ ${_emotion.buttonTokens.buttonIconColor}: ${_sdds_cs.textAccent};
47
+ ${_emotion.buttonTokens.buttonValueColor}: ${_sdds_cs.textAccentMinor};
48
+ ${_emotion.buttonTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceClear};
49
+ ${_emotion.buttonTokens.buttonLoadingBackgroundColor}: ${_sdds_cs.surfaceTransparentAccent};
50
+ ${_emotion.buttonTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceTransparentAccent};
51
+ ${_emotion.buttonTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceTransparentAccentActive};
51
52
  `
52
53
  },
53
54
  size: {
@@ -56,12 +57,12 @@ const config = {
56
57
  ${_emotion.buttonTokens.buttonWidth}: 11.25rem;
57
58
  ${_emotion.buttonTokens.buttonPadding}: 1rem;
58
59
  ${_emotion.buttonTokens.buttonRadius}: 0.75rem;
59
- ${_emotion.buttonTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
60
- ${_emotion.buttonTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
61
- ${_emotion.buttonTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
62
- ${_emotion.buttonTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
63
- ${_emotion.buttonTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
64
- ${_emotion.buttonTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
60
+ ${_emotion.buttonTokens.buttonFontFamily}: ${_sdds_cs.bodyM.fontFamily};
61
+ ${_emotion.buttonTokens.buttonFontSize}: ${_sdds_cs.bodyM.fontSize};
62
+ ${_emotion.buttonTokens.buttonFontStyle}: ${_sdds_cs.bodyM.fontStyle};
63
+ ${_emotion.buttonTokens.buttonFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
64
+ ${_emotion.buttonTokens.buttonLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
65
+ ${_emotion.buttonTokens.buttonLineHeight}: ${_sdds_cs.bodyM.lineHeight};
65
66
 
66
67
  ${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
67
68
  ${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
@@ -75,12 +76,12 @@ const config = {
75
76
  ${_emotion.buttonTokens.buttonWidth}: 11.25rem;
76
77
  ${_emotion.buttonTokens.buttonPadding}: 1rem;
77
78
  ${_emotion.buttonTokens.buttonRadius}: 0.75rem;
78
- ${_emotion.buttonTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
79
- ${_emotion.buttonTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
80
- ${_emotion.buttonTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
81
- ${_emotion.buttonTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
82
- ${_emotion.buttonTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
83
- ${_emotion.buttonTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
79
+ ${_emotion.buttonTokens.buttonFontFamily}: ${_sdds_cs.bodyM.fontFamily};
80
+ ${_emotion.buttonTokens.buttonFontSize}: ${_sdds_cs.bodyM.fontSize};
81
+ ${_emotion.buttonTokens.buttonFontStyle}: ${_sdds_cs.bodyM.fontStyle};
82
+ ${_emotion.buttonTokens.buttonFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
83
+ ${_emotion.buttonTokens.buttonLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
84
+ ${_emotion.buttonTokens.buttonLineHeight}: ${_sdds_cs.bodyM.lineHeight};
84
85
 
85
86
  ${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
86
87
  ${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
@@ -92,12 +93,12 @@ const config = {
92
93
  sr: (0, _emotion.css)`
93
94
  ${_emotion.buttonTokens.buttonHeight}: 2.5rem;
94
95
  ${_emotion.buttonTokens.buttonWidth}: 11.25rem;
95
- ${_emotion.buttonTokens.buttonFontFamily}: var(--plasma-typo-body-m-font-family);
96
- ${_emotion.buttonTokens.buttonFontSize}: var(--plasma-typo-body-m-font-size);
97
- ${_emotion.buttonTokens.buttonFontStyle}: var(--plasma-typo-body-m-font-style);
98
- ${_emotion.buttonTokens.buttonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
99
- ${_emotion.buttonTokens.buttonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
100
- ${_emotion.buttonTokens.buttonLineHeight}: var(--plasma-typo-body-m-line-height);
96
+ ${_emotion.buttonTokens.buttonFontFamily}: ${_sdds_cs.bodyM.fontFamily};
97
+ ${_emotion.buttonTokens.buttonFontSize}: ${_sdds_cs.bodyM.fontSize};
98
+ ${_emotion.buttonTokens.buttonFontStyle}: ${_sdds_cs.bodyM.fontStyle};
99
+ ${_emotion.buttonTokens.buttonFontWeight}: ${_sdds_cs.bodyMBold.fontWeight};
100
+ ${_emotion.buttonTokens.buttonLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
101
+ ${_emotion.buttonTokens.buttonLineHeight}: ${_sdds_cs.bodyM.lineHeight};
101
102
 
102
103
  ${_emotion.buttonTokens.buttonSpinnerSize}: 1.375rem;
103
104
  ${_emotion.buttonTokens.buttonSpinnerColor}: inherit;
@@ -111,7 +112,7 @@ const config = {
111
112
  },
112
113
  focused: {
113
114
  true: (0, _emotion.css)`
114
- ${_emotion.buttonTokens.buttonFocusColor}: var(--surface-accent);
115
+ ${_emotion.buttonTokens.buttonFocusColor}: ${_sdds_cs.surfaceAccent};
115
116
  `
116
117
  },
117
118
  stretching: {
@@ -61,11 +61,11 @@ function _interop_require_wildcard(obj, nodeInterop) {
61
61
  }
62
62
  const mergedConfig = (0, _emotion.mergeConfig)(_emotion.buttonConfig, _Buttonconfig.config);
63
63
  const ButtonComponent = (0, _emotion.component)(mergedConfig);
64
- // INFO: Данное поведение запрошено продуктом/командой `sdds-cs`
64
+ // INFO: Данное поведение запрошено продуктом
65
65
  const StyledButton = /*#__PURE__*/ (0, _styled.default)(ButtonComponent, {
66
- target: "e19yzswk0",
66
+ target: "e1owdhnp0",
67
67
  label: "StyledButton"
68
- })("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvbXBvbmVudCwgbWVyZ2VDb25maWcsIGJ1dH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ICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG5gO1xuXG4vKipcbiAqINCa0L3QvtC/0LrQsC5cbiAqL1xuZXhwb3J0IGNvbnN0IEJ1dHRvbiA9IG1ha2VQb2x5bW9ycGhpYyhcbiAgICBmb3J3YXJkUmVmPE9taXQ8SFRNTEJ1dHRvbkVsZW1lbnQsICd2YWx1ZSc+LCBCdXR0b25Qcm9wcz4oKHsgb25DbGljaywgaXNMb2FkaW5nLCB2YWx1ZSwgLi4ucHJvcHMgfSwgcmVmKSA9PiB7XG4gICAgICAgIGNvbnN0IGhhbmRsZUNsaWNrID0gdXNlQ2FsbGJhY2soXG4gICAgICAgICAgICAoZXZlbnQ6IE1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0xvYWRpbmcpIHtcbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz8uKGV2ZW50KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgW2lzTG9hZGluZywgb25DbGlja10sXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gQHRzLWlnbm9yZVxuICAgICAgICByZXR1cm4gPFN0eWxlZEJ1dHRvbiB2YWx1ZT17dmFsdWV9IHJlZj17cmVmfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSksXG4gICAgJ2J1dHRvbicsXG4pO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFxQiJ9 */");
68
+ })("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=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PXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSksXG4gICAgJ2J1dHRvbicsXG4pO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFxQiJ9 */");
69
69
  const Button = (0, _plasmanewhope.makePolymorphic)(/*#__PURE__*/ (0, _react.forwardRef)(({ onClick, isLoading, value, ...props }, ref)=>{
70
70
  const handleClick = (0, _react.useCallback)((event)=>{
71
71
  if (!isLoading) {
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,38 +18,38 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  accent: (0, _emotion.css)`
20
- ${_emotion.buttonGroupTokens.buttonColor}: var(--on-dark-text-primary);
21
- ${_emotion.buttonGroupTokens.buttonTextColor}: var(--on-dark-text-primary);
22
- ${_emotion.buttonGroupTokens.buttonValueColor}: var(--on-light-text-accent-minor);
23
- ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-accent);
21
+ ${_emotion.buttonGroupTokens.buttonColor}: ${_sdds_cs.onDarkTextPrimary};
22
+ ${_emotion.buttonGroupTokens.buttonTextColor}: ${_sdds_cs.onDarkTextPrimary};
23
+ ${_emotion.buttonGroupTokens.buttonValueColor}: ${_sdds_cs.onLightTextAccentMinor};
24
+ ${_emotion.buttonGroupTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceAccent};
24
25
  ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
25
- ${_emotion.buttonGroupTokens.buttonColorHover}: var(--on-dark-text-primary);
26
- ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);
27
- ${_emotion.buttonGroupTokens.buttonColorActive}: var(--on-dark-text-primary);
28
- ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-accent-active);
26
+ ${_emotion.buttonGroupTokens.buttonColorHover}: ${_sdds_cs.onDarkTextPrimary};
27
+ ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceAccentHover};
28
+ ${_emotion.buttonGroupTokens.buttonColorActive}: ${_sdds_cs.onDarkTextPrimary};
29
+ ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceAccentActive};
29
30
  `,
30
31
  secondary: (0, _emotion.css)`
31
- ${_emotion.buttonGroupTokens.buttonColor}: var(--text-accent);
32
- ${_emotion.buttonGroupTokens.buttonTextColor}: var(--text-accent);
33
- ${_emotion.buttonGroupTokens.buttonIconColor}: var(--text-accent);
34
- ${_emotion.buttonGroupTokens.buttonValueColor}: var(--text-secondary);
35
- ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-solid-primary);
32
+ ${_emotion.buttonGroupTokens.buttonColor}: ${_sdds_cs.textAccent};
33
+ ${_emotion.buttonGroupTokens.buttonTextColor}: ${_sdds_cs.textAccent};
34
+ ${_emotion.buttonGroupTokens.buttonIconColor}: ${_sdds_cs.textAccent};
35
+ ${_emotion.buttonGroupTokens.buttonValueColor}: ${_sdds_cs.textSecondary};
36
+ ${_emotion.buttonGroupTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
36
37
  ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(${_emotion.buttonGroupTokens.buttonBackgroundColor});
37
- ${_emotion.buttonGroupTokens.buttonColorHover}: var(--text-accent-minor);
38
- ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-solid-primary-hover);
39
- ${_emotion.buttonGroupTokens.buttonColorActive}: var(--text-accent-active);
40
- ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-solid-primary-active);
38
+ ${_emotion.buttonGroupTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
39
+ ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceSolidPrimaryHover};
40
+ ${_emotion.buttonGroupTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
41
+ ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceSolidPrimaryActive};
41
42
  `,
42
43
  clear: (0, _emotion.css)`
43
- ${_emotion.buttonGroupTokens.buttonColor}: var(--text-accent);
44
- ${_emotion.buttonGroupTokens.buttonTextColor}: var(--text-accent);
45
- ${_emotion.buttonGroupTokens.buttonValueColor}: var(--text-accent);
46
- ${_emotion.buttonGroupTokens.buttonBackgroundColor}: var(--surface-clear);
47
- ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: var(--surface-transparent-accent);
48
- ${_emotion.buttonGroupTokens.buttonColorHover}: var(--text-accent-minor);
49
- ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: var(--surface-transparent-accent);
50
- ${_emotion.buttonGroupTokens.buttonColorActive}: var(--text-accent-active);
51
- ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: var(--surface-clear);
44
+ ${_emotion.buttonGroupTokens.buttonColor}: ${_sdds_cs.textAccent};
45
+ ${_emotion.buttonGroupTokens.buttonTextColor}: ${_sdds_cs.textAccent};
46
+ ${_emotion.buttonGroupTokens.buttonValueColor}: ${_sdds_cs.textAccent};
47
+ ${_emotion.buttonGroupTokens.buttonBackgroundColor}: ${_sdds_cs.surfaceClear};
48
+ ${_emotion.buttonGroupTokens.buttonLoadingBackgroundColor}: ${_sdds_cs.surfaceTransparentAccent};
49
+ ${_emotion.buttonGroupTokens.buttonColorHover}: ${_sdds_cs.textAccentMinor};
50
+ ${_emotion.buttonGroupTokens.buttonBackgroundColorHover}: ${_sdds_cs.surfaceTransparentAccent};
51
+ ${_emotion.buttonGroupTokens.buttonColorActive}: ${_sdds_cs.textAccentActive};
52
+ ${_emotion.buttonGroupTokens.buttonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
52
53
  `
53
54
  },
54
55
  size: {
@@ -59,12 +60,12 @@ const config = {
59
60
 
60
61
  ${_emotion.buttonGroupTokens.buttonHeight}: 2.5rem;
61
62
  ${_emotion.buttonGroupTokens.buttonPadding}: 1rem;
62
- ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-s-font-family);
63
- ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-s-font-size);
64
- ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-s-font-style);
65
- ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
66
- ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
67
- ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-s-line-height);
63
+ ${_emotion.buttonGroupTokens.buttonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
64
+ ${_emotion.buttonGroupTokens.buttonFontSize}: ${_sdds_cs.bodyS.fontSize};
65
+ ${_emotion.buttonGroupTokens.buttonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
66
+ ${_emotion.buttonGroupTokens.buttonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
67
+ ${_emotion.buttonGroupTokens.buttonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
68
+ ${_emotion.buttonGroupTokens.buttonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
68
69
  `,
69
70
  sr: (0, _emotion.css)`
70
71
  ${_emotion.buttonGroupTokens.buttonSegmentedRadius}: 0.25rem;
@@ -72,12 +73,12 @@ const config = {
72
73
  ${_emotion.buttonGroupTokens.buttonSideRadius}: 0.75rem;
73
74
 
74
75
  ${_emotion.buttonGroupTokens.buttonHeight}: 2.5rem;
75
- ${_emotion.buttonGroupTokens.buttonFontFamily}: var(--plasma-typo-body-s-font-family);
76
- ${_emotion.buttonGroupTokens.buttonFontSize}: var(--plasma-typo-body-s-font-size);
77
- ${_emotion.buttonGroupTokens.buttonFontStyle}: var(--plasma-typo-body-s-font-style);
78
- ${_emotion.buttonGroupTokens.buttonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
79
- ${_emotion.buttonGroupTokens.buttonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
80
- ${_emotion.buttonGroupTokens.buttonLineHeight}: var(--plasma-typo-body-s-line-height);
76
+ ${_emotion.buttonGroupTokens.buttonFontFamily}: ${_sdds_cs.bodyS.fontFamily};
77
+ ${_emotion.buttonGroupTokens.buttonFontSize}: ${_sdds_cs.bodyS.fontSize};
78
+ ${_emotion.buttonGroupTokens.buttonFontStyle}: ${_sdds_cs.bodyS.fontStyle};
79
+ ${_emotion.buttonGroupTokens.buttonFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
80
+ ${_emotion.buttonGroupTokens.buttonLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
81
+ ${_emotion.buttonGroupTokens.buttonLineHeight}: ${_sdds_cs.bodyS.lineHeight};
81
82
  `
82
83
  },
83
84
  orientation: {
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,34 +18,34 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.calendarBaseTokens.calendarSelectedItemBackground}: var(--surface-accent);
21
- ${_emotion.calendarBaseTokens.calendarSelectedItemColor}: var(--inverse-text-primary);
22
- ${_emotion.calendarBaseTokens.calendarSelectableItemBackgroundHover}: var(--surface-transparent-accent);
23
- ${_emotion.calendarBaseTokens.calendarCurrentItemBorderColor}: var(--inverse-outline-solid-secondary);
21
+ ${_emotion.calendarBaseTokens.calendarSelectedItemBackground}: ${_sdds_cs.surfaceAccent};
22
+ ${_emotion.calendarBaseTokens.calendarSelectedItemColor}: ${_sdds_cs.inverseTextPrimary};
23
+ ${_emotion.calendarBaseTokens.calendarSelectableItemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
24
+ ${_emotion.calendarBaseTokens.calendarCurrentItemBorderColor}: ${_sdds_cs.inverseOutlineSolidSecondary};
24
25
  ${_emotion.calendarBaseTokens.calendarCurrentItemBackgroundHover}: transparent;
25
- ${_emotion.calendarBaseTokens.calendarCurrentItemColorHover}: var(--text-primary);
26
- ${_emotion.calendarBaseTokens.calendarCurrentItemChildBackgroundHover}: var(--surface-transparent-accent);
27
- ${_emotion.calendarBaseTokens.calendarActiveItemBackground}: var(--surface-accent);
28
- ${_emotion.calendarBaseTokens.calendarActiveItemColor}: var(--inverse-text-primary);
29
- ${_emotion.calendarBaseTokens.calendarHoveredItemBackground}: var(--surface-transparent-accent);
30
- ${_emotion.calendarBaseTokens.calendarHoveredItemColor}: var(--text-primary);
31
- ${_emotion.calendarBaseTokens.calendarRangeBackground}: var(--surface-transparent-accent);
32
- ${_emotion.calendarBaseTokens.calendarOutlineFocusColor}: var(--surface-accent);
26
+ ${_emotion.calendarBaseTokens.calendarCurrentItemColorHover}: ${_sdds_cs.textPrimary};
27
+ ${_emotion.calendarBaseTokens.calendarCurrentItemChildBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
28
+ ${_emotion.calendarBaseTokens.calendarActiveItemBackground}: ${_sdds_cs.surfaceAccent};
29
+ ${_emotion.calendarBaseTokens.calendarActiveItemColor}: ${_sdds_cs.inverseTextPrimary};
30
+ ${_emotion.calendarBaseTokens.calendarHoveredItemBackground}: ${_sdds_cs.surfaceTransparentAccent};
31
+ ${_emotion.calendarBaseTokens.calendarHoveredItemColor}: ${_sdds_cs.textPrimary};
32
+ ${_emotion.calendarBaseTokens.calendarRangeBackground}: ${_sdds_cs.surfaceTransparentAccent};
33
+ ${_emotion.calendarBaseTokens.calendarOutlineFocusColor}: ${_sdds_cs.surfaceAccent};
33
34
  ${_emotion.calendarBaseTokens.calendarContentPrimaryColor}: var(--surface-primary);
34
- ${_emotion.calendarBaseTokens.calendarContentPrimaryDisabledColor}: var(--text-secondary);
35
- ${_emotion.calendarBaseTokens.calendarContentSecondaryColor}: var(--text-secondary);
36
- ${_emotion.calendarBaseTokens.calendarContentSecondaryDisabledColor}: var(--text-secondary);
37
- ${_emotion.calendarBaseTokens.calendarDayOfWeekColor}: var(--text-secondary);
38
- ${_emotion.calendarBaseTokens.calendarHeaderArrowColor}: var(--text-accent);
35
+ ${_emotion.calendarBaseTokens.calendarContentPrimaryDisabledColor}: ${_sdds_cs.textSecondary};
36
+ ${_emotion.calendarBaseTokens.calendarContentSecondaryColor}: ${_sdds_cs.textSecondary};
37
+ ${_emotion.calendarBaseTokens.calendarContentSecondaryDisabledColor}: ${_sdds_cs.textSecondary};
38
+ ${_emotion.calendarBaseTokens.calendarDayOfWeekColor}: ${_sdds_cs.textSecondary};
39
+ ${_emotion.calendarBaseTokens.calendarHeaderArrowColor}: ${_sdds_cs.textAccent};
39
40
  ${_emotion.calendarBaseTokens.calendarDisabledOpacity}: 1;
40
41
 
41
- ${_emotion.calendarBaseTokens.iconButtonColor}: var(--text-accent);
42
- ${_emotion.calendarBaseTokens.iconButtonBackgroundColor}: var(--surface-clear);
43
- ${_emotion.calendarBaseTokens.iconButtonColorHover}: var(--text-accent-minor);
44
- ${_emotion.calendarBaseTokens.iconButtonBackgroundColorHover}: var(--surface-clear);
45
- ${_emotion.calendarBaseTokens.iconButtonColorActive}: var(--text-accent-active);
46
- ${_emotion.calendarBaseTokens.iconButtonBackgroundColorActive}: var(--surface-clear);
47
- ${_emotion.calendarBaseTokens.iconButtonFocusColor}: var(--surface-accent);
42
+ ${_emotion.calendarBaseTokens.iconButtonColor}: ${_sdds_cs.textAccent};
43
+ ${_emotion.calendarBaseTokens.iconButtonBackgroundColor}: ${_sdds_cs.surfaceClear};
44
+ ${_emotion.calendarBaseTokens.iconButtonColorHover}: ${_sdds_cs.textAccentMinor};
45
+ ${_emotion.calendarBaseTokens.iconButtonBackgroundColorHover}: ${_sdds_cs.surfaceClear};
46
+ ${_emotion.calendarBaseTokens.iconButtonColorActive}: ${_sdds_cs.textAccentActive};
47
+ ${_emotion.calendarBaseTokens.iconButtonBackgroundColorActive}: ${_sdds_cs.surfaceClear};
48
+ ${_emotion.calendarBaseTokens.iconButtonFocusColor}: ${_sdds_cs.surfaceAccent};
48
49
  `
49
50
  },
50
51
  size: {
@@ -55,46 +56,46 @@ const config = {
55
56
  ${_emotion.calendarBaseTokens.calendarYearsPadding}: 0.5rem 0.5rem 0 0.5rem;
56
57
  ${_emotion.calendarBaseTokens.calendarYearItemBorderRadius}: 0.5rem;
57
58
 
58
- ${_emotion.calendarBaseTokens.calendarYearFontFamily}: var(--plasma-typo-body-s-font-family);
59
- ${_emotion.calendarBaseTokens.calendarYearFontSize}: var(--plasma-typo-body-s-font-size);
60
- ${_emotion.calendarBaseTokens.calendarYearFontStyle}: var(--plasma-typo-body-s-font-style);
61
- ${_emotion.calendarBaseTokens.calendarYearFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
62
- ${_emotion.calendarBaseTokens.calendarYearFontLineHeight}: var(--plasma-typo-body-s-line-height);
63
- ${_emotion.calendarBaseTokens.calendarYearFontWeight}: var(--plasma-typo-body-s-font-weight);
64
- ${_emotion.calendarBaseTokens.calendarYearSelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
59
+ ${_emotion.calendarBaseTokens.calendarYearFontFamily}: ${_sdds_cs.bodyS.fontFamily};
60
+ ${_emotion.calendarBaseTokens.calendarYearFontSize}: ${_sdds_cs.bodyS.fontSize};
61
+ ${_emotion.calendarBaseTokens.calendarYearFontStyle}: ${_sdds_cs.bodyS.fontStyle};
62
+ ${_emotion.calendarBaseTokens.calendarYearFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
63
+ ${_emotion.calendarBaseTokens.calendarYearFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
64
+ ${_emotion.calendarBaseTokens.calendarYearFontWeight}: ${_sdds_cs.bodyS.fontWeight};
65
+ ${_emotion.calendarBaseTokens.calendarYearSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
65
66
 
66
67
  ${_emotion.calendarBaseTokens.calendarQuartersPadding}: 0.5rem 0.5rem 0 0.5rem;
67
68
  ${_emotion.calendarBaseTokens.calendarQuarterItemBorderRadius}: 0.5rem;
68
69
 
69
- ${_emotion.calendarBaseTokens.calendarQuarterFontFamily}: var(--plasma-typo-body-s-font-family);
70
- ${_emotion.calendarBaseTokens.calendarQuarterFontSize}: var(--plasma-typo-body-s-font-size);
71
- ${_emotion.calendarBaseTokens.calendarQuarterFontStyle}: var(--plasma-typo-body-s-font-style);
72
- ${_emotion.calendarBaseTokens.calendarQuarterFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
73
- ${_emotion.calendarBaseTokens.calendarQuarterFontLineHeight}: var(--plasma-typo-body-s-line-height);
74
- ${_emotion.calendarBaseTokens.calendarQuarterFontWeight}: var(--plasma-typo-body-s-font-weight);
75
- ${_emotion.calendarBaseTokens.calendarQuarterSelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
70
+ ${_emotion.calendarBaseTokens.calendarQuarterFontFamily}: ${_sdds_cs.bodyS.fontFamily};
71
+ ${_emotion.calendarBaseTokens.calendarQuarterFontSize}: ${_sdds_cs.bodyS.fontSize};
72
+ ${_emotion.calendarBaseTokens.calendarQuarterFontStyle}: ${_sdds_cs.bodyS.fontStyle};
73
+ ${_emotion.calendarBaseTokens.calendarQuarterFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
74
+ ${_emotion.calendarBaseTokens.calendarQuarterFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
75
+ ${_emotion.calendarBaseTokens.calendarQuarterFontWeight}: ${_sdds_cs.bodyS.fontWeight};
76
+ ${_emotion.calendarBaseTokens.calendarQuarterSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
76
77
 
77
78
  ${_emotion.calendarBaseTokens.calendarMonthsPadding}: 0.5rem 0.5rem 0 0.5rem;
78
79
  ${_emotion.calendarBaseTokens.calendarMonthItemBorderRadius}: 0.5rem;
79
80
 
80
- ${_emotion.calendarBaseTokens.calendarMonthFontFamily}: var(--plasma-typo-body-s-font-family);
81
- ${_emotion.calendarBaseTokens.calendarMonthFontSize}: var(--plasma-typo-body-s-font-size);
82
- ${_emotion.calendarBaseTokens.calendarMonthFontStyle}: var(--plasma-typo-body-s-font-style);
83
- ${_emotion.calendarBaseTokens.calendarMonthFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
84
- ${_emotion.calendarBaseTokens.calendarMonthFontLineHeight}: var(--plasma-typo-body-s-line-height);
85
- ${_emotion.calendarBaseTokens.calendarMonthFontWeight}: var(--plasma-typo-body-s-font-weight);
86
- ${_emotion.calendarBaseTokens.calendarMonthSelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
81
+ ${_emotion.calendarBaseTokens.calendarMonthFontFamily}: ${_sdds_cs.bodyS.fontFamily};
82
+ ${_emotion.calendarBaseTokens.calendarMonthFontSize}: ${_sdds_cs.bodyS.fontSize};
83
+ ${_emotion.calendarBaseTokens.calendarMonthFontStyle}: ${_sdds_cs.bodyS.fontStyle};
84
+ ${_emotion.calendarBaseTokens.calendarMonthFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
85
+ ${_emotion.calendarBaseTokens.calendarMonthFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
86
+ ${_emotion.calendarBaseTokens.calendarMonthFontWeight}: ${_sdds_cs.bodyS.fontWeight};
87
+ ${_emotion.calendarBaseTokens.calendarMonthSelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
87
88
 
88
89
  ${_emotion.calendarBaseTokens.calendarDaysPadding}: 0.5rem 0 0 0;
89
90
  ${_emotion.calendarBaseTokens.calendarDayItemBorderRadius}: 0.5rem;
90
91
 
91
- ${_emotion.calendarBaseTokens.calendarDayFontFamily}: var(--plasma-typo-body-s-font-family);
92
- ${_emotion.calendarBaseTokens.calendarDayFontSize}: var(--plasma-typo-body-s-font-size);
93
- ${_emotion.calendarBaseTokens.calendarDayFontStyle}: var(--plasma-typo-body-s-font-style);
94
- ${_emotion.calendarBaseTokens.calendarDayFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
95
- ${_emotion.calendarBaseTokens.calendarDayFontLineHeight}: var(--plasma-typo-body-s-line-height);
96
- ${_emotion.calendarBaseTokens.calendarDayFontWeight}: var(--plasma-typo-body-s-font-weight);
97
- ${_emotion.calendarBaseTokens.calendarDaySelectedFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
92
+ ${_emotion.calendarBaseTokens.calendarDayFontFamily}: ${_sdds_cs.bodyS.fontFamily};
93
+ ${_emotion.calendarBaseTokens.calendarDayFontSize}: ${_sdds_cs.bodyS.fontSize};
94
+ ${_emotion.calendarBaseTokens.calendarDayFontStyle}: ${_sdds_cs.bodyS.fontStyle};
95
+ ${_emotion.calendarBaseTokens.calendarDayFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
96
+ ${_emotion.calendarBaseTokens.calendarDayFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
97
+ ${_emotion.calendarBaseTokens.calendarDayFontWeight}: ${_sdds_cs.bodyS.fontWeight};
98
+ ${_emotion.calendarBaseTokens.calendarDaySelectedFontWeight}: ${_sdds_cs.bodySBold.fontWeight};
98
99
 
99
100
  ${_emotion.calendarBaseTokens.calendarCurrentItemBorderWidth}: 0.125rem;
100
101
 
@@ -104,13 +105,13 @@ const config = {
104
105
  ${_emotion.calendarBaseTokens.calendarHeaderPadding}: 0 0 0 0.5rem;
105
106
  ${_emotion.calendarBaseTokens.calendarHeaderDateGap}: 0.25rem;
106
107
 
107
- ${_emotion.calendarBaseTokens.calendarHeaderFontFamily}: var(--plasma-typo-body-m-bold-font-family);
108
- ${_emotion.calendarBaseTokens.calendarHeaderFontSize}: var(--plasma-typo-body-m-bold-font-size);
109
- ${_emotion.calendarBaseTokens.calendarHeaderFontStyle}: var(--plasma-typo-body-m-bold-font-style);
110
- ${_emotion.calendarBaseTokens.calendarHeaderFontLetterSpacing}: var(--plasma-typo-body-m-bold-letter-spacing);
111
- ${_emotion.calendarBaseTokens.calendarHeaderFontLineHeight}: var(--plasma-typo-body-m-bold-line-height);
112
- ${_emotion.calendarBaseTokens.calendarHeaderFontWeight}: var(--plasma-typo-body-m-font-weight);
113
- ${_emotion.calendarBaseTokens.calendarHeaderFontWeightBold}: var(--plasma-typo-body-m-bold-font-weight);
108
+ ${_emotion.calendarBaseTokens.calendarHeaderFontFamily}: ${_sdds_cs.bodyMBold.fontFamily};
109
+ ${_emotion.calendarBaseTokens.calendarHeaderFontSize}: ${_sdds_cs.bodyMBold.fontSize};
110
+ ${_emotion.calendarBaseTokens.calendarHeaderFontStyle}: ${_sdds_cs.bodyMBold.fontStyle};
111
+ ${_emotion.calendarBaseTokens.calendarHeaderFontLetterSpacing}: ${_sdds_cs.bodyMBold.letterSpacing};
112
+ ${_emotion.calendarBaseTokens.calendarHeaderFontLineHeight}: ${_sdds_cs.bodyMBold.lineHeight};
113
+ ${_emotion.calendarBaseTokens.calendarHeaderFontWeight}: ${_sdds_cs.bodyM.fontWeight};
114
+ ${_emotion.calendarBaseTokens.calendarHeaderFontWeightBold}: ${_sdds_cs.bodyMBold.fontWeight};
114
115
 
115
116
  ${_emotion.calendarBaseTokens.iconButtonHeight}: 2.5rem;
116
117
  ${_emotion.calendarBaseTokens.iconButtonWidth}: 2.5rem;