@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
@@ -1,3 +1,4 @@
1
+ import { dsplL, dsplLBold, dsplLMedium, dsplM, dsplMBold, dsplMMedium, dsplS, dsplSBold, dsplSMedium } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, typographyTokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const configL = {
3
4
  defaults: {
@@ -6,14 +7,14 @@ export const configL = {
6
7
  variations: {
7
8
  size: {
8
9
  l: css`
9
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-dspl-l-font-family);
10
- ${typographyTokens.typoFontSize}: var(--plasma-typo-dspl-l-font-size);
11
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-dspl-l-font-style);
12
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-dspl-l-font-weight);
13
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-dspl-l-bold-font-weight);
14
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-dspl-l-medium-font-weight);
15
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-dspl-l-letter-spacing);
16
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-dspl-l-line-height);
10
+ ${typographyTokens.typoFontFamily}: ${dsplL.fontFamily};
11
+ ${typographyTokens.typoFontSize}: ${dsplL.fontSize};
12
+ ${typographyTokens.typoFontStyle}: ${dsplL.fontStyle};
13
+ ${typographyTokens.typoFontWeight}: ${dsplL.fontWeight};
14
+ ${typographyTokens.typoFontWeightBold}: ${dsplLBold.fontWeight};
15
+ ${typographyTokens.typoFontWeightMedium}: ${dsplLMedium.fontWeight};
16
+ ${typographyTokens.typoFontLetterSpacing}: ${dsplL.letterSpacing};
17
+ ${typographyTokens.typoFontLineHeight}: ${dsplL.lineHeight};
17
18
  `
18
19
  }
19
20
  }
@@ -25,14 +26,14 @@ export const configM = {
25
26
  variations: {
26
27
  size: {
27
28
  m: css`
28
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-dspl-m-font-family);
29
- ${typographyTokens.typoFontSize}: var(--plasma-typo-dspl-m-font-size);
30
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-dspl-m-font-style);
31
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-dspl-m-font-weight);
32
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-dspl-m-bold-font-weight);
33
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-dspl-m-medium-font-weight);
34
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-dspl-m-letter-spacing);
35
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-dspl-m-line-height);
29
+ ${typographyTokens.typoFontFamily}: ${dsplM.fontFamily};
30
+ ${typographyTokens.typoFontSize}: ${dsplM.fontSize};
31
+ ${typographyTokens.typoFontStyle}: ${dsplM.fontStyle};
32
+ ${typographyTokens.typoFontWeight}: ${dsplM.fontWeight};
33
+ ${typographyTokens.typoFontWeightBold}: ${dsplMBold.fontWeight};
34
+ ${typographyTokens.typoFontWeightMedium}: ${dsplMMedium.fontWeight};
35
+ ${typographyTokens.typoFontLetterSpacing}: ${dsplM.letterSpacing};
36
+ ${typographyTokens.typoFontLineHeight}: ${dsplM.lineHeight};
36
37
  `
37
38
  }
38
39
  }
@@ -44,14 +45,14 @@ export const configS = {
44
45
  variations: {
45
46
  size: {
46
47
  s: css`
47
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-dspl-s-font-family);
48
- ${typographyTokens.typoFontSize}: var(--plasma-typo-dspl-s-font-size);
49
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-dspl-s-font-style);
50
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-dspl-s-font-weight);
51
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-dspl-s-bold-font-weight);
52
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-dspl-s-medium-font-weight);
53
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-dspl-s-letter-spacing);
54
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-dspl-s-line-height);
48
+ ${typographyTokens.typoFontFamily}: ${dsplS.fontFamily};
49
+ ${typographyTokens.typoFontSize}: ${dsplS.fontSize};
50
+ ${typographyTokens.typoFontStyle}: ${dsplS.fontStyle};
51
+ ${typographyTokens.typoFontWeight}: ${dsplS.fontWeight};
52
+ ${typographyTokens.typoFontWeightBold}: ${dsplSBold.fontWeight};
53
+ ${typographyTokens.typoFontWeightMedium}: ${dsplSMedium.fontWeight};
54
+ ${typographyTokens.typoFontLetterSpacing}: ${dsplS.letterSpacing};
55
+ ${typographyTokens.typoFontLineHeight}: ${dsplS.lineHeight};
55
56
  `
56
57
  }
57
58
  }
@@ -1,3 +1,4 @@
1
+ import { h1, h1Bold, h1Medium, h2, h2Bold, h2Medium, h3, h3Bold, h3Medium, h4, h4Bold, h4Medium, h5, h5Bold, h5Medium } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, typographyTokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const configH1 = {
3
4
  defaults: {
@@ -6,14 +7,14 @@ export const configH1 = {
6
7
  variations: {
7
8
  size: {
8
9
  h1: css`
9
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-h1-font-family);
10
- ${typographyTokens.typoFontSize}: var(--plasma-typo-h1-font-size);
11
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-h1-font-style);
12
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-h1-font-weight);
13
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h1-bold-font-weight);
14
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h1-medium-font-weight);
15
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h1-letter-spacing);
16
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h1-line-height);
10
+ ${typographyTokens.typoFontFamily}: ${h1.fontFamily};
11
+ ${typographyTokens.typoFontSize}: ${h1.fontSize};
12
+ ${typographyTokens.typoFontStyle}: ${h1.fontStyle};
13
+ ${typographyTokens.typoFontWeight}: ${h1.fontWeight};
14
+ ${typographyTokens.typoFontWeightBold}: ${h1Bold.fontWeight};
15
+ ${typographyTokens.typoFontWeightMedium}: ${h1Medium.fontWeight};
16
+ ${typographyTokens.typoFontLetterSpacing}: ${h1.letterSpacing};
17
+ ${typographyTokens.typoFontLineHeight}: ${h1.lineHeight};
17
18
  `
18
19
  }
19
20
  }
@@ -25,14 +26,14 @@ export const configH2 = {
25
26
  variations: {
26
27
  size: {
27
28
  h2: css`
28
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-h2-font-family);
29
- ${typographyTokens.typoFontSize}: var(--plasma-typo-h2-font-size);
30
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-h2-font-style);
31
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-h2-font-weight);
32
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h2-bold-font-weight);
33
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h2-medium-font-weight);
34
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h2-letter-spacing);
35
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h2-line-height);
29
+ ${typographyTokens.typoFontFamily}: ${h2.fontFamily};
30
+ ${typographyTokens.typoFontSize}: ${h2.fontSize};
31
+ ${typographyTokens.typoFontStyle}: ${h2.fontStyle};
32
+ ${typographyTokens.typoFontWeight}: ${h2.fontWeight};
33
+ ${typographyTokens.typoFontWeightBold}: ${h2Bold.fontWeight};
34
+ ${typographyTokens.typoFontWeightMedium}: ${h2Medium.fontWeight};
35
+ ${typographyTokens.typoFontLetterSpacing}: ${h2.letterSpacing};
36
+ ${typographyTokens.typoFontLineHeight}: ${h2.lineHeight};
36
37
  `
37
38
  }
38
39
  }
@@ -44,14 +45,14 @@ export const configH3 = {
44
45
  variations: {
45
46
  size: {
46
47
  h3: css`
47
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-h3-font-family);
48
- ${typographyTokens.typoFontSize}: var(--plasma-typo-h3-font-size);
49
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-h3-font-style);
50
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-h3-font-weight);
51
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h3-bold-font-weight);
52
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h3-medium-font-weight);
53
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h3-letter-spacing);
54
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h3-line-height);
48
+ ${typographyTokens.typoFontFamily}: ${h3.fontFamily};
49
+ ${typographyTokens.typoFontSize}: ${h3.fontSize};
50
+ ${typographyTokens.typoFontStyle}: ${h3.fontStyle};
51
+ ${typographyTokens.typoFontWeight}: ${h3.fontWeight};
52
+ ${typographyTokens.typoFontWeightBold}: ${h3Bold.fontWeight};
53
+ ${typographyTokens.typoFontWeightMedium}: ${h3Medium.fontWeight};
54
+ ${typographyTokens.typoFontLetterSpacing}: ${h3.letterSpacing};
55
+ ${typographyTokens.typoFontLineHeight}: ${h3.lineHeight};
55
56
  `
56
57
  }
57
58
  }
@@ -63,14 +64,14 @@ export const configH4 = {
63
64
  variations: {
64
65
  size: {
65
66
  h4: css`
66
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-h4-font-family);
67
- ${typographyTokens.typoFontSize}: var(--plasma-typo-h4-font-size);
68
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-h4-font-style);
69
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-h4-font-weight);
70
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h4-bold-font-weight);
71
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h4-medium-font-weight);
72
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h4-letter-spacing);
73
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h4-line-height);
67
+ ${typographyTokens.typoFontFamily}: ${h4.fontFamily};
68
+ ${typographyTokens.typoFontSize}: ${h4.fontSize};
69
+ ${typographyTokens.typoFontStyle}: ${h4.fontStyle};
70
+ ${typographyTokens.typoFontWeight}: ${h4.fontWeight};
71
+ ${typographyTokens.typoFontWeightBold}: ${h4Bold.fontWeight};
72
+ ${typographyTokens.typoFontWeightMedium}: ${h4Medium.fontWeight};
73
+ ${typographyTokens.typoFontLetterSpacing}: ${h4.letterSpacing};
74
+ ${typographyTokens.typoFontLineHeight}: ${h4.lineHeight};
74
75
  `
75
76
  }
76
77
  }
@@ -82,14 +83,14 @@ export const configH5 = {
82
83
  variations: {
83
84
  size: {
84
85
  h5: css`
85
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-h5-font-family);
86
- ${typographyTokens.typoFontSize}: var(--plasma-typo-h5-font-size);
87
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-h5-font-style);
88
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-h5-font-weight);
89
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-h5-bold-font-weight);
90
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-h5-medium-font-weight);
91
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-h5-letter-spacing);
92
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-h5-line-height);
86
+ ${typographyTokens.typoFontFamily}: ${h5.fontFamily};
87
+ ${typographyTokens.typoFontSize}: ${h5.fontSize};
88
+ ${typographyTokens.typoFontStyle}: ${h5.fontStyle};
89
+ ${typographyTokens.typoFontWeight}: ${h5.fontWeight};
90
+ ${typographyTokens.typoFontWeightBold}: ${h5Bold.fontWeight};
91
+ ${typographyTokens.typoFontWeightMedium}: ${h5Medium.fontWeight};
92
+ ${typographyTokens.typoFontLetterSpacing}: ${h5.letterSpacing};
93
+ ${typographyTokens.typoFontLineHeight}: ${h5.lineHeight};
93
94
  `
94
95
  }
95
96
  }
@@ -1,3 +1,4 @@
1
+ import { textL, textLBold, textLMedium, textM, textMBold, textMMedium, textS, textSBold, textSMedium, textXS, textXSBold, textXSMedium } from '@salutejs/sdds-themes/tokens/sdds_cs';
1
2
  import { css, typographyTokens } from '@salutejs/plasma-new-hope/emotion';
2
3
  export const configL = {
3
4
  defaults: {
@@ -6,14 +7,14 @@ export const configL = {
6
7
  variations: {
7
8
  size: {
8
9
  l: css`
9
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-text-l-font-family);
10
- ${typographyTokens.typoFontSize}: var(--plasma-typo-text-l-font-size);
11
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-text-l-font-style);
12
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-text-l-font-weight);
13
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-l-bold-font-weight);
14
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-l-medium-font-weight);
15
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);
16
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-l-line-height);
10
+ ${typographyTokens.typoFontFamily}: ${textL.fontFamily};
11
+ ${typographyTokens.typoFontSize}: ${textL.fontSize};
12
+ ${typographyTokens.typoFontStyle}: ${textL.fontStyle};
13
+ ${typographyTokens.typoFontWeight}: ${textL.fontWeight};
14
+ ${typographyTokens.typoFontWeightBold}: ${textLBold.fontWeight};
15
+ ${typographyTokens.typoFontWeightMedium}: ${textLMedium.fontWeight};
16
+ ${typographyTokens.typoFontLetterSpacing}: ${textL.letterSpacing};
17
+ ${typographyTokens.typoFontLineHeight}: ${textL.lineHeight};
17
18
  `
18
19
  }
19
20
  }
@@ -25,14 +26,14 @@ export const configM = {
25
26
  variations: {
26
27
  size: {
27
28
  m: css`
28
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-text-m-font-family);
29
- ${typographyTokens.typoFontSize}: var(--plasma-typo-text-m-font-size);
30
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-text-m-font-style);
31
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-text-m-font-weight);
32
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-m-bold-font-weight);
33
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-m-medium-font-weight);
34
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);
35
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-m-line-height);
29
+ ${typographyTokens.typoFontFamily}: ${textM.fontFamily};
30
+ ${typographyTokens.typoFontSize}: ${textM.fontSize};
31
+ ${typographyTokens.typoFontStyle}: ${textM.fontStyle};
32
+ ${typographyTokens.typoFontWeight}: ${textM.fontWeight};
33
+ ${typographyTokens.typoFontWeightBold}: ${textMBold.fontWeight};
34
+ ${typographyTokens.typoFontWeightMedium}: ${textMMedium.fontWeight};
35
+ ${typographyTokens.typoFontLetterSpacing}: ${textM.letterSpacing};
36
+ ${typographyTokens.typoFontLineHeight}: ${textM.lineHeight};
36
37
  `
37
38
  }
38
39
  }
@@ -44,14 +45,14 @@ export const configS = {
44
45
  variations: {
45
46
  size: {
46
47
  s: css`
47
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-text-s-font-family);
48
- ${typographyTokens.typoFontSize}: var(--plasma-typo-text-s-font-size);
49
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-text-s-font-style);
50
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-text-s-font-weight);
51
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-s-bold-font-weight);
52
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-s-medium-font-weight);
53
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);
54
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-s-line-height);
48
+ ${typographyTokens.typoFontFamily}: ${textS.fontFamily};
49
+ ${typographyTokens.typoFontSize}: ${textS.fontSize};
50
+ ${typographyTokens.typoFontStyle}: ${textS.fontStyle};
51
+ ${typographyTokens.typoFontWeight}: ${textS.fontWeight};
52
+ ${typographyTokens.typoFontWeightBold}: ${textSBold.fontWeight};
53
+ ${typographyTokens.typoFontWeightMedium}: ${textSMedium.fontWeight};
54
+ ${typographyTokens.typoFontLetterSpacing}: ${textS.letterSpacing};
55
+ ${typographyTokens.typoFontLineHeight}: ${textS.lineHeight};
55
56
  `
56
57
  }
57
58
  }
@@ -63,14 +64,14 @@ export const configXS = {
63
64
  variations: {
64
65
  size: {
65
66
  xs: css`
66
- ${typographyTokens.typoFontFamily}: var(--plasma-typo-text-xs-font-family);
67
- ${typographyTokens.typoFontSize}: var(--plasma-typo-text-xs-font-size);
68
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-text-xs-font-style);
69
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-text-xs-font-weight);
70
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-text-xs-bold-font-weight);
71
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-text-xs-medium-font-weight);
72
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);
73
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-text-xs-line-height);
67
+ ${typographyTokens.typoFontFamily}: ${textXS.fontFamily};
68
+ ${typographyTokens.typoFontSize}: ${textXS.fontSize};
69
+ ${typographyTokens.typoFontStyle}: ${textXS.fontStyle};
70
+ ${typographyTokens.typoFontWeight}: ${textXS.fontWeight};
71
+ ${typographyTokens.typoFontWeightBold}: ${textXSBold.fontWeight};
72
+ ${typographyTokens.typoFontWeightMedium}: ${textXSMedium.fontWeight};
73
+ ${typographyTokens.typoFontLetterSpacing}: ${textXS.letterSpacing};
74
+ ${typographyTokens.typoFontLineHeight}: ${textXS.lineHeight};
74
75
  `
75
76
  }
76
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.362.0-next-sbcom.0",
3
+ "version": "0.362.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "publishConfig": {
@@ -42,8 +42,8 @@
42
42
  "styled-components": "^5.3.1"
43
43
  },
44
44
  "dependencies": {
45
- "@salutejs/plasma-new-hope": "0.370.0-next-sbcom.0",
46
- "@salutejs/sdds-themes": "0.71.0-next-sbcom.0"
45
+ "@salutejs/plasma-new-hope": "0.370.0",
46
+ "@salutejs/sdds-themes": "0.71.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@babel/cli": "7.24.1",
@@ -58,10 +58,10 @@
58
58
  "@emotion/styled": ">=11",
59
59
  "@originjs/vite-plugin-commonjs": "1.0.3",
60
60
  "@salutejs/plasma-colors": "0.16.0",
61
- "@salutejs/plasma-core": "1.233.0-next-sbcom.0",
62
- "@salutejs/plasma-cy-utils": "0.163.0-next-sbcom.0",
63
- "@salutejs/plasma-icons": "1.242.0-next-sbcom.0",
64
- "@salutejs/plasma-sb-utils": "0.234.0-next-sbcom.0",
61
+ "@salutejs/plasma-core": "1.233.0",
62
+ "@salutejs/plasma-cy-utils": "0.163.0",
63
+ "@salutejs/plasma-icons": "1.243.0",
64
+ "@salutejs/plasma-sb-utils": "0.234.0",
65
65
  "@types/node": "16.7.13",
66
66
  "@types/react": "18.0.28",
67
67
  "@types/react-dom": "18.0.11",
@@ -102,5 +102,5 @@
102
102
  "salute.developers@gmail.com"
103
103
  ],
104
104
  "sideEffects": false,
105
- "gitHead": "84686ed30cc0aa6afafe8fd5411bea921866504b"
105
+ "gitHead": "b6f6097bf3ea7e7021eb0d93e2d506c21b162692"
106
106
  }
@@ -69,6 +69,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
69
69
  hintOffset?: [number, number];
70
70
  hintWidth?: string;
71
71
  hintContentLeft?: React.ReactNode;
72
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
72
73
  } & {
73
74
  chips?: never;
74
75
  onChangeChips?: never;
@@ -127,6 +128,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
127
128
  hintOffset?: [number, number];
128
129
  hintWidth?: string;
129
130
  hintContentLeft?: React.ReactNode;
131
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
130
132
  } & {
131
133
  enumerationType: "chip";
132
134
  onSearch?: never;
@@ -187,6 +189,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
187
189
  hintOffset?: never;
188
190
  hintWidth?: never;
189
191
  hintContentLeft?: never;
192
+ hintPortal?: never;
190
193
  } & {
191
194
  chips?: never;
192
195
  onChangeChips?: never;
@@ -245,6 +248,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
245
248
  hintOffset?: never;
246
249
  hintWidth?: never;
247
250
  hintContentLeft?: never;
251
+ hintPortal?: never;
248
252
  } & {
249
253
  enumerationType: "chip";
250
254
  onSearch?: never;
@@ -305,6 +309,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
305
309
  hintOffset?: [number, number];
306
310
  hintWidth?: string;
307
311
  hintContentLeft?: React.ReactNode;
312
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
308
313
  } & {
309
314
  chips?: never;
310
315
  onChangeChips?: never;
@@ -363,6 +368,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
363
368
  hintOffset?: [number, number];
364
369
  hintWidth?: string;
365
370
  hintContentLeft?: React.ReactNode;
371
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
366
372
  } & {
367
373
  enumerationType: "chip";
368
374
  onSearch?: never;
@@ -423,6 +429,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
423
429
  hintOffset?: never;
424
430
  hintWidth?: never;
425
431
  hintContentLeft?: never;
432
+ hintPortal?: never;
426
433
  } & {
427
434
  chips?: never;
428
435
  onChangeChips?: never;
@@ -481,6 +488,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
481
488
  hintOffset?: never;
482
489
  hintWidth?: never;
483
490
  hintContentLeft?: never;
491
+ hintPortal?: never;
484
492
  } & {
485
493
  enumerationType: "chip";
486
494
  onSearch?: never;
@@ -47,7 +47,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/emotion").Componen
47
47
  size?: string;
48
48
  name?: string;
49
49
  url?: string;
50
- customText?: import("react").ReactNode;
50
+ customText?: string;
51
51
  status?: "active" | "inactive";
52
52
  isScalable?: boolean;
53
53
  focused?: boolean;
@@ -75,7 +75,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/emotion").Componen
75
75
  size?: string;
76
76
  name?: string;
77
77
  url?: string;
78
- customText?: import("react").ReactNode;
78
+ customText?: string;
79
79
  status?: "active" | "inactive";
80
80
  isScalable?: boolean;
81
81
  focused?: boolean;
@@ -126,7 +126,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
126
126
  size?: string;
127
127
  name?: string;
128
128
  url?: string;
129
- customText?: import("react").ReactNode;
129
+ customText?: string;
130
130
  status?: "active" | "inactive";
131
131
  isScalable?: boolean;
132
132
  focused?: boolean;
@@ -154,7 +154,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
154
154
  size?: string;
155
155
  name?: string;
156
156
  url?: string;
157
- customText?: import("react").ReactNode;
157
+ customText?: string;
158
158
  status?: "active" | "inactive";
159
159
  isScalable?: boolean;
160
160
  focused?: boolean;
@@ -84,6 +84,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
84
84
  hintOffset?: [number, number];
85
85
  hintWidth?: string;
86
86
  hintContentLeft?: React.ReactNode;
87
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
87
88
  } & {
88
89
  _offset?: [number, number];
89
90
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -148,6 +149,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
148
149
  hintOffset?: never;
149
150
  hintWidth?: never;
150
151
  hintContentLeft?: never;
152
+ hintPortal?: never;
151
153
  } & {
152
154
  _offset?: [number, number];
153
155
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -212,6 +214,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
212
214
  hintOffset?: [number, number];
213
215
  hintWidth?: string;
214
216
  hintContentLeft?: React.ReactNode;
217
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
215
218
  } & {
216
219
  _offset?: [number, number];
217
220
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -276,6 +279,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
276
279
  hintOffset?: never;
277
280
  hintWidth?: never;
278
281
  hintContentLeft?: never;
282
+ hintPortal?: never;
279
283
  } & {
280
284
  _offset?: [number, number];
281
285
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -344,6 +348,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
344
348
  hintOffset?: [number, number];
345
349
  hintWidth?: string;
346
350
  hintContentLeft?: React.ReactNode;
351
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
347
352
  } & {
348
353
  _offset?: [number, number];
349
354
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -412,6 +417,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
412
417
  hintOffset?: never;
413
418
  hintWidth?: never;
414
419
  hintContentLeft?: never;
420
+ hintPortal?: never;
415
421
  } & {
416
422
  _offset?: [number, number];
417
423
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -480,6 +486,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
480
486
  hintOffset?: [number, number];
481
487
  hintWidth?: string;
482
488
  hintContentLeft?: React.ReactNode;
489
+ hintPortal?: string | React.RefObject<HTMLElement | null>;
483
490
  } & {
484
491
  _offset?: [number, number];
485
492
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
@@ -548,6 +555,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
548
555
  hintOffset?: never;
549
556
  hintWidth?: never;
550
557
  hintContentLeft?: never;
558
+ hintPortal?: never;
551
559
  } & {
552
560
  _offset?: [number, number];
553
561
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLInputElement>))>;
@@ -52,6 +52,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
52
52
  hintOffset?: [number, number];
53
53
  hintWidth?: string;
54
54
  hintContentLeft?: import("react").ReactNode;
55
+ hintPortal?: string | import("react").RefObject<HTMLElement | null>;
55
56
  } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
56
57
  titleCaption?: import("react").ReactNode;
57
58
  requiredPlacement?: "left" | "right";
@@ -93,6 +94,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
93
94
  hintOffset?: never;
94
95
  hintWidth?: never;
95
96
  hintContentLeft?: never;
97
+ hintPortal?: never;
96
98
  } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>))>;
97
99
  export declare const DatePickerRange: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
98
100
  view: {
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Кнопка с иконкой.
3
4
  */
4
- export declare const IconButton: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
5
+ export declare const IconButton: React.ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
5
6
  view: {
6
7
  accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
7
8
  secondary: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
@@ -17,13 +18,13 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
17
18
  focused: {
18
19
  true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
19
20
  };
20
- }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
21
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
21
22
  text?: string;
22
- contentLeft?: import("react").ReactNode;
23
+ contentLeft?: React.ReactNode;
23
24
  contentPlacing?: "default" | "relaxed";
24
- additionalContent?: import("react").ReactNode;
25
+ additionalContent?: React.ReactNode;
25
26
  isLoading?: boolean;
26
- loader?: import("react").ReactNode;
27
+ loader?: React.ReactNode;
27
28
  stretch?: boolean;
28
29
  stretching?: "auto" | "filled" | "fixed";
29
30
  square?: boolean;
@@ -40,13 +41,29 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
40
41
  } & {
41
42
  value?: string | number;
42
43
  contentRight?: never;
43
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
44
+ } & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
45
+ view: {
46
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
47
+ secondary: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
48
+ clear: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
49
+ };
50
+ size: {
51
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
52
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
53
+ };
54
+ disabled: {
55
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
56
+ };
57
+ focused: {
58
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
59
+ };
60
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
44
61
  text?: string;
45
- contentLeft?: import("react").ReactNode;
62
+ contentLeft?: React.ReactNode;
46
63
  contentPlacing?: "default" | "relaxed";
47
- additionalContent?: import("react").ReactNode;
64
+ additionalContent?: React.ReactNode;
48
65
  isLoading?: boolean;
49
- loader?: import("react").ReactNode;
66
+ loader?: React.ReactNode;
50
67
  stretch?: boolean;
51
68
  stretching?: "auto" | "filled" | "fixed";
52
69
  square?: boolean;
@@ -62,5 +79,5 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
62
79
  blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
63
80
  } & {
64
81
  value?: never;
65
- contentRight?: import("react").ReactNode;
66
- } & import("react").RefAttributes<HTMLButtonElement>))>;
82
+ contentRight?: React.ReactNode;
83
+ } & React.RefAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<HTMLButtonElement>>;