@salutejs/plasma-new-hope 0.338.0-canary.2281.18462149998.0 → 0.338.0-canary.2283.18490128554.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 (173) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +0 -2
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.css +0 -2
  3. package/cjs/components/Combobox/ComboboxOld/Combobox.css +0 -2
  4. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +0 -2
  5. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +0 -2
  6. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +0 -2
  7. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +0 -2
  8. package/cjs/components/DatePicker/RangeDate/RangeDate.css +0 -2
  9. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -2
  10. package/cjs/components/DatePicker/SingleDate/SingleDate.css +0 -2
  11. package/cjs/components/Dropdown/Dropdown.css +0 -2
  12. package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.css +0 -4
  13. package/cjs/components/InformationWrapper/InformationWrapper.css +0 -2
  14. package/cjs/components/InformationWrapper/ui/Label/Label.css +0 -2
  15. package/cjs/components/Pagination/Pagination.css +0 -2
  16. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +0 -2
  17. package/cjs/components/Popover/Popover.css +0 -4
  18. package/cjs/components/Popover/Popover.js +2 -10
  19. package/cjs/components/Popover/Popover.js.map +1 -1
  20. package/cjs/components/Range/Range.css +0 -2
  21. package/cjs/components/Select/Select.css +0 -2
  22. package/cjs/components/Select/ui/Target/Target.css +0 -2
  23. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +0 -2
  24. package/cjs/components/Slider/Slider.css +0 -2
  25. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -2
  26. package/cjs/components/Slider/ui/Handler/Handler.js +6 -2
  27. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  28. package/cjs/components/Table/Table.css +0 -2
  29. package/cjs/components/Table/ui/Cell/Cell.css +0 -2
  30. package/cjs/components/Table/ui/EditableCell/EditableCell.css +0 -2
  31. package/cjs/components/Table/ui/HeadCell/HeadCell.css +0 -2
  32. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +0 -2
  33. package/cjs/components/TextArea/ui/Hint/Hint.css +0 -2
  34. package/cjs/components/TextField/ui/Hint/Hint.css +0 -2
  35. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +0 -2
  36. package/cjs/components/TimePicker/TimePicker.css +0 -2
  37. package/cjs/index.css +0 -2
  38. package/emotion/cjs/components/Popover/Popover.js +2 -10
  39. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +6 -2
  40. package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
  41. package/emotion/es/components/Popover/Popover.js +2 -10
  42. package/emotion/es/components/Slider/ui/Handler/Handler.js +6 -2
  43. package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
  44. package/es/components/Autocomplete/Autocomplete.css +0 -2
  45. package/es/components/Combobox/ComboboxNew/Combobox.css +0 -2
  46. package/es/components/Combobox/ComboboxOld/Combobox.css +0 -2
  47. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +0 -2
  48. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +0 -2
  49. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +0 -2
  50. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +0 -2
  51. package/es/components/DatePicker/RangeDate/RangeDate.css +0 -2
  52. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -2
  53. package/es/components/DatePicker/SingleDate/SingleDate.css +0 -2
  54. package/es/components/Dropdown/Dropdown.css +0 -2
  55. package/es/components/Dropdown/ui/DropdownOld/DropdownOld.css +0 -4
  56. package/es/components/InformationWrapper/InformationWrapper.css +0 -2
  57. package/es/components/InformationWrapper/ui/Label/Label.css +0 -2
  58. package/es/components/Pagination/Pagination.css +0 -2
  59. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +0 -2
  60. package/es/components/Popover/Popover.css +0 -4
  61. package/es/components/Popover/Popover.js +2 -10
  62. package/es/components/Popover/Popover.js.map +1 -1
  63. package/es/components/Range/Range.css +0 -2
  64. package/es/components/Select/Select.css +0 -2
  65. package/es/components/Select/ui/Target/Target.css +0 -2
  66. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +0 -2
  67. package/es/components/Slider/Slider.css +0 -2
  68. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -2
  69. package/es/components/Slider/ui/Handler/Handler.js +7 -3
  70. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  71. package/es/components/Table/Table.css +0 -2
  72. package/es/components/Table/ui/Cell/Cell.css +0 -2
  73. package/es/components/Table/ui/EditableCell/EditableCell.css +0 -2
  74. package/es/components/Table/ui/HeadCell/HeadCell.css +0 -2
  75. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +0 -2
  76. package/es/components/TextArea/ui/Hint/Hint.css +0 -2
  77. package/es/components/TextField/ui/Hint/Hint.css +0 -2
  78. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +0 -2
  79. package/es/components/TimePicker/TimePicker.css +0 -2
  80. package/es/index.css +0 -2
  81. package/package.json +4 -4
  82. package/styled-components/cjs/components/Popover/Popover.js +2 -10
  83. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +6 -2
  84. package/styled-components/es/components/Popover/Popover.js +2 -10
  85. package/styled-components/es/components/Slider/ui/Handler/Handler.js +6 -2
  86. package/types/components/Popover/Popover.d.ts.map +1 -1
  87. package/types/components/Popover/Popover.types.d.ts +0 -13
  88. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  89. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  90. package/types/types/index.d.ts +0 -1
  91. package/types/types/index.d.ts.map +1 -1
  92. package/cjs/components/_Resizable/Resizable.css +0 -3
  93. package/cjs/components/_Resizable/Resizable.js +0 -87
  94. package/cjs/components/_Resizable/Resizable.js.map +0 -1
  95. package/cjs/components/_Resizable/Resizable.styles.js +0 -19
  96. package/cjs/components/_Resizable/Resizable.styles.js.map +0 -1
  97. package/cjs/components/_Resizable/Resizable.styles_1l85rp0.css +0 -1
  98. package/cjs/components/_Resizable/Resizable.tokens.js +0 -16
  99. package/cjs/components/_Resizable/Resizable.tokens.js.map +0 -1
  100. package/cjs/components/_Resizable/utils/getHandleStyles.js +0 -40
  101. package/cjs/components/_Resizable/utils/getHandleStyles.js.map +0 -1
  102. package/cjs/components/_Resizable/utils/getRatioBasedOnPlacement.js +0 -38
  103. package/cjs/components/_Resizable/utils/getRatioBasedOnPlacement.js.map +0 -1
  104. package/cjs/components/_Resizable/utils/getResizeDirections.js +0 -73
  105. package/cjs/components/_Resizable/utils/getResizeDirections.js.map +0 -1
  106. package/emotion/cjs/components/_Resizable/Resizable.js +0 -120
  107. package/emotion/cjs/components/_Resizable/Resizable.styles.js +0 -22
  108. package/emotion/cjs/components/_Resizable/Resizable.tokens.js +0 -19
  109. package/emotion/cjs/components/_Resizable/Resizable.types.js +0 -4
  110. package/emotion/cjs/components/_Resizable/index.js +0 -19
  111. package/emotion/cjs/components/_Resizable/utils/getHandleStyles.js +0 -68
  112. package/emotion/cjs/components/_Resizable/utils/getRatioBasedOnPlacement.js +0 -54
  113. package/emotion/cjs/components/_Resizable/utils/getResizeDirections.js +0 -82
  114. package/emotion/cjs/components/_Resizable/utils/index.js +0 -27
  115. package/emotion/es/components/_Resizable/Resizable.js +0 -69
  116. package/emotion/es/components/_Resizable/Resizable.styles.js +0 -7
  117. package/emotion/es/components/_Resizable/Resizable.tokens.js +0 -9
  118. package/emotion/es/components/_Resizable/Resizable.types.js +0 -1
  119. package/emotion/es/components/_Resizable/index.js +0 -2
  120. package/emotion/es/components/_Resizable/utils/getHandleStyles.js +0 -58
  121. package/emotion/es/components/_Resizable/utils/getRatioBasedOnPlacement.js +0 -44
  122. package/emotion/es/components/_Resizable/utils/getResizeDirections.js +0 -72
  123. package/emotion/es/components/_Resizable/utils/index.js +0 -4
  124. package/es/components/_Resizable/Resizable.css +0 -3
  125. package/es/components/_Resizable/Resizable.js +0 -79
  126. package/es/components/_Resizable/Resizable.js.map +0 -1
  127. package/es/components/_Resizable/Resizable.styles.js +0 -15
  128. package/es/components/_Resizable/Resizable.styles.js.map +0 -1
  129. package/es/components/_Resizable/Resizable.styles_1l85rp0.css +0 -1
  130. package/es/components/_Resizable/Resizable.tokens.js +0 -12
  131. package/es/components/_Resizable/Resizable.tokens.js.map +0 -1
  132. package/es/components/_Resizable/utils/getHandleStyles.js +0 -36
  133. package/es/components/_Resizable/utils/getHandleStyles.js.map +0 -1
  134. package/es/components/_Resizable/utils/getRatioBasedOnPlacement.js +0 -34
  135. package/es/components/_Resizable/utils/getRatioBasedOnPlacement.js.map +0 -1
  136. package/es/components/_Resizable/utils/getResizeDirections.js +0 -69
  137. package/es/components/_Resizable/utils/getResizeDirections.js.map +0 -1
  138. package/styled-components/cjs/components/_Resizable/Resizable.js +0 -120
  139. package/styled-components/cjs/components/_Resizable/Resizable.styles.js +0 -28
  140. package/styled-components/cjs/components/_Resizable/Resizable.tokens.js +0 -19
  141. package/styled-components/cjs/components/_Resizable/Resizable.types.js +0 -4
  142. package/styled-components/cjs/components/_Resizable/index.js +0 -19
  143. package/styled-components/cjs/components/_Resizable/utils/getHandleStyles.js +0 -68
  144. package/styled-components/cjs/components/_Resizable/utils/getRatioBasedOnPlacement.js +0 -54
  145. package/styled-components/cjs/components/_Resizable/utils/getResizeDirections.js +0 -82
  146. package/styled-components/cjs/components/_Resizable/utils/index.js +0 -27
  147. package/styled-components/es/components/_Resizable/Resizable.js +0 -69
  148. package/styled-components/es/components/_Resizable/Resizable.styles.js +0 -13
  149. package/styled-components/es/components/_Resizable/Resizable.tokens.js +0 -9
  150. package/styled-components/es/components/_Resizable/Resizable.types.js +0 -1
  151. package/styled-components/es/components/_Resizable/index.js +0 -2
  152. package/styled-components/es/components/_Resizable/utils/getHandleStyles.js +0 -58
  153. package/styled-components/es/components/_Resizable/utils/getRatioBasedOnPlacement.js +0 -44
  154. package/styled-components/es/components/_Resizable/utils/getResizeDirections.js +0 -72
  155. package/styled-components/es/components/_Resizable/utils/index.js +0 -4
  156. package/types/components/_Resizable/Resizable.d.ts +0 -4
  157. package/types/components/_Resizable/Resizable.d.ts.map +0 -1
  158. package/types/components/_Resizable/Resizable.styles.d.ts +0 -2
  159. package/types/components/_Resizable/Resizable.styles.d.ts.map +0 -1
  160. package/types/components/_Resizable/Resizable.tokens.d.ts +0 -10
  161. package/types/components/_Resizable/Resizable.tokens.d.ts.map +0 -1
  162. package/types/components/_Resizable/Resizable.types.d.ts +0 -72
  163. package/types/components/_Resizable/Resizable.types.d.ts.map +0 -1
  164. package/types/components/_Resizable/index.d.ts +0 -3
  165. package/types/components/_Resizable/index.d.ts.map +0 -1
  166. package/types/components/_Resizable/utils/getHandleStyles.d.ts +0 -37
  167. package/types/components/_Resizable/utils/getHandleStyles.d.ts.map +0 -1
  168. package/types/components/_Resizable/utils/getRatioBasedOnPlacement.d.ts +0 -5
  169. package/types/components/_Resizable/utils/getRatioBasedOnPlacement.d.ts.map +0 -1
  170. package/types/components/_Resizable/utils/getResizeDirections.d.ts +0 -14
  171. package/types/components/_Resizable/utils/getResizeDirections.d.ts.map +0 -1
  172. package/types/components/_Resizable/utils/index.d.ts +0 -5
  173. package/types/components/_Resizable/utils/index.d.ts.map +0 -1
@@ -115,8 +115,6 @@
115
115
 
116
116
  .base_z7a2uf_b10o15xy__b340e41b .base_z7a2uf_hgy0im1__b340e41b{--plasma-tooltip-padding-top:var(--plasma-textfield__tooltip-padding-top);--plasma-tooltip-padding-right:var(--plasma-textfield__tooltip-padding-right);--plasma-tooltip-padding-bottom:var(--plasma-textfield__tooltip-padding-bottom);--plasma-tooltip-padding-left:var(--plasma-textfield__tooltip-padding-left);--plasma-tooltip-min-height:var(--plasma-textfield__tooltip-min-height);--plasma-tooltip-border-radius:var(--plasma-textfield__tooltip-border-radius);--plasma-tooltip-text-font-family:var(--plasma-textfield__tooltip-text-font-family);--plasma-tooltip-text-font-size:var(--plasma-textfield__tooltip-text-font-size);--plasma-tooltip-text-font-style:var(--plasma-textfield__tooltip-text-font-style);--plasma-tooltip-text-font-weight:var(--plasma-textfield__tooltip-text-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-textfield__tooltip-text-font-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-textfield__tooltip-text-font-line-height);--plasma-tooltip-content-left-margin:var(--plasma-textfield__tooltip-content-left-margin);--plasma-tooltip-arrow-mask-width:var(--plasma-textfield__tooltip-arrow-mask-width);--plasma-tooltip-arrow-mask-height:var(--plasma-textfield__tooltip-arrow-mask-height);--plasma-tooltip-arrow-mask-image:var(--plasma-textfield__tooltip-arrow-mask-image);--plasma-tooltip-arrow-height:var(--plasma-textfield__tooltip-arrow-height);--plasma-tooltip-arrow-edge-margin:var(--plasma-textfield__tooltip-arrow-edge-margin);--plasma-tooltip-arrow-background:var(--plasma-textfield__tooltip-arrow-background);}
117
117
 
118
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
119
-
120
118
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
121
119
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
122
120
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
@@ -115,8 +115,6 @@
115
115
 
116
116
  .base_z7a2uf_b10o15xy__b340e41b .base_z7a2uf_hgy0im1__b340e41b{--plasma-tooltip-padding-top:var(--plasma-textfield__tooltip-padding-top);--plasma-tooltip-padding-right:var(--plasma-textfield__tooltip-padding-right);--plasma-tooltip-padding-bottom:var(--plasma-textfield__tooltip-padding-bottom);--plasma-tooltip-padding-left:var(--plasma-textfield__tooltip-padding-left);--plasma-tooltip-min-height:var(--plasma-textfield__tooltip-min-height);--plasma-tooltip-border-radius:var(--plasma-textfield__tooltip-border-radius);--plasma-tooltip-text-font-family:var(--plasma-textfield__tooltip-text-font-family);--plasma-tooltip-text-font-size:var(--plasma-textfield__tooltip-text-font-size);--plasma-tooltip-text-font-style:var(--plasma-textfield__tooltip-text-font-style);--plasma-tooltip-text-font-weight:var(--plasma-textfield__tooltip-text-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-textfield__tooltip-text-font-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-textfield__tooltip-text-font-line-height);--plasma-tooltip-content-left-margin:var(--plasma-textfield__tooltip-content-left-margin);--plasma-tooltip-arrow-mask-width:var(--plasma-textfield__tooltip-arrow-mask-width);--plasma-tooltip-arrow-mask-height:var(--plasma-textfield__tooltip-arrow-mask-height);--plasma-tooltip-arrow-mask-image:var(--plasma-textfield__tooltip-arrow-mask-image);--plasma-tooltip-arrow-height:var(--plasma-textfield__tooltip-arrow-height);--plasma-tooltip-arrow-edge-margin:var(--plasma-textfield__tooltip-arrow-edge-margin);--plasma-tooltip-arrow-background:var(--plasma-textfield__tooltip-arrow-background);}
117
117
 
118
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
119
-
120
118
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
121
119
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
122
120
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
@@ -1,5 +1,3 @@
1
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
2
-
3
1
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
4
2
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
5
3
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
@@ -1,5 +1,3 @@
1
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
2
-
3
1
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
4
2
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
5
3
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
@@ -21,8 +21,6 @@
21
21
  .TextFieldChip_styles_8puilg_s32p7ut__f1ecfcd9{--plasma-chip-color:var(--plasma-textfield__chip-color);--plasma-chip-background:var(--plasma-textfield__chip-background);--plasma-chip-color-hover:var(--plasma-textfield__chip-color-hover);--plasma-chip-background-hover:var(--plasma-textfield__chip-background-hover);--plasma-chip-color-active:var(--plasma-textfield__chip-color-active);--plasma-chip-background-active:var(--plasma-textfield__chip-background-active);--plasma-chip-background-readonly:var(--plasma-textfield__chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-textfield__chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-textfield__chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-textfield__chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-textfield__chip-border-radius);--plasma-chip-width:var(--plasma-textfield__chip-width);--plasma-chip-height:var(--plasma-textfield__chip-height);--plasma-chip-padding:var(--plasma-textfield__chip-padding);--plasma-chip-font-family:var(--plasma-textfield__chip-font-family);--plasma-chip-font-size:var(--plasma-textfield__chip-font-size);--plasma-chip-font-style:var(--plasma-textfield__chip-font-style);--plasma-chip-font-weight:var(--plasma-textfield__chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-textfield__chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-textfield__chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-textfield__chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-textfield__chip-clear-content-margin-right);--plasma-chip-close-icon-size:var(--plasma-textfield__chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-textfield__chip-close-icon-color);--plasma-chip-close-icon-color-hover:var(--plasma-textfield__chip-close-icon-color-hover);--plasma-chip-focus-color:var(--plasma-textfield-focus-color);-webkit-scroll-snap-align:center;-moz-scroll-snap-align:center;-ms-scroll-snap-align:center;scroll-snap-align:center;-webkit-scroll-snap-stop:normal;-moz-scroll-snap-stop:normal;-ms-scroll-snap-stop:normal;scroll-snap-stop:normal;position:relative;}.TextFieldChip_styles_8puilg_s32p7ut__f1ecfcd9::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_8puilg_s32p7ut__f1ecfcd9.TextFieldChip_styles_8puilg_focusVisible__f1ecfcd9:focus::before,.TextFieldChip_styles_8puilg_s32p7ut__f1ecfcd9[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_8puilg_s32p7ut__f1ecfcd9[readonly]{opacity:var(--plasma-textfield__chip-opacity-readonly);}
22
22
  .TextFieldChip_styles_8puilg_t4nir3h__f1ecfcd9{display:block;-webkit-flex:none;-ms-flex:none;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);color:var(--plasma-textfield-color);position:relative;}.TextFieldChip_styles_8puilg_t4nir3h__f1ecfcd9::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_8puilg_t4nir3h__f1ecfcd9.TextFieldChip_styles_8puilg_focusVisible__f1ecfcd9:focus::before,.TextFieldChip_styles_8puilg_t4nir3h__f1ecfcd9[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_8puilg_t4nir3h__f1ecfcd9:after{content:',';}.TextFieldChip_styles_8puilg_t4nir3h__f1ecfcd9:last-child:after{content:'';}
23
23
 
24
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
25
-
26
24
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
27
25
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
28
26
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
@@ -70,8 +70,6 @@
70
70
 
71
71
  .TextField_1lzb2r1_bpunezx__7d079491{display:block;}
72
72
 
73
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
74
-
75
73
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
76
74
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
77
75
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
package/es/index.css CHANGED
@@ -134,8 +134,6 @@
134
134
  .Radiobox_styles_1u9zve5_s14xglkp__4723228a{width:var(--plasma-radiobox-ellipse-size);height:var(--plasma-radiobox-ellipse-size);border-radius:var(--plasma-radiobox-ellipse-size);background-color:var(--plasma-radiobox-ellipse-color);-webkit-transition:-webkit-transform 0.3s ease-in-out;-webkit-transition:transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);}input:checked + label .Radiobox_styles_1u9zve5_s14xglkp__4723228a{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);}
135
135
  .Radiobox_styles_1u9zve5_bdte4ex__4723228a{--plasma-checkbox-label-font-family:var(--plasma-radiobox-label-font-family);--plasma-checkbox-label-font-size:var(--plasma-radiobox-label-font-size);--plasma-checkbox-label-font-style:var(--plasma-radiobox-label-font-style);--plasma-checkbox-label-font-weight:var(--plasma-radiobox-label-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-radiobox-label-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-radiobox-label-line-height);--plasma-checkbox-description-margin-top:var(--plasma-checkbox-description-margin-top);--plasma-checkbox-description-font-family:var(--plasma-radiobox-description-font-family);--plasma-checkbox-description-font-size:var(--plasma-radiobox-description-font-size);--plasma-checkbox-description-font-style:var(--plasma-radiobox-description-font-style);--plasma-checkbox-description-font-weight:var(--plasma-radiobox-description-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-radiobox-description-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-radiobox-description-line-height);--plasma-checkbox-fill-color:var(--plasma-radiobox-fill-color);--plasma-checkbox-description-color:var(--plasma-radiobox-description-color);--plasma-checkbox-trigger-border-width:var(--plasma-checkbox-trigger-border-width);--plasma-checkbox-trigger-border-color:var(--plasma-radiobox-trigger-border-color);--plasma-checkbox-trigger-border-checked-color:var(--plasma-checkbox-trigger-border-checked-color);--plasma-checkbox-trigger-background-color:var(--plasma-radiobox-trigger-background-color);--plasma-checkbox-content-top-offset:var(--plasma-radiobox-content-top-offset);--plasma-checkbox-content-left-offset:var(--plasma-radiobox-content-left-offset);--plasma-checkbox-trigger-size:var(--plasma-radiobox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-radiobox-trigger-border-radius);--plasma-checkbox-trigger-padding:var(--plasma-radiobox-trigger-padding);margin:var(--plasma-radiobox-margin);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.Radiobox_styles_1u9zve5_bdte4ex__4723228a .Radiobox_styles_1u9zve5_singleLine__4723228a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
136
136
 
137
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
138
-
139
137
  .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
140
138
  .Popover_styles_ji8em4_s12xwbyh__439b9cc0{display:inline-block;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0{position:absolute;top:0;left:0;width:100%;height:100%;}.Popover_styles_ji8em4_s12xwbyh__439b9cc0.Popover_styles_ji8em4_popoverTargetAsRef__439b9cc0 .Popover_styles_ji8em4_s1g1xbt5__439b9cc0{width:100%;height:100%;display:block;}
141
139
  .Popover_styles_ji8em4_s1pd4d8a__439b9cc0{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_ji8em4_s1pd4d8a__439b9cc0::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.338.0-canary.2281.18462149998.0",
3
+ "version": "0.338.0-canary.2283.18490128554.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -79,7 +79,7 @@
79
79
  "@rollup/plugin-babel": "^6.0.4",
80
80
  "@rollup/plugin-commonjs": "^25.0.4",
81
81
  "@rollup/plugin-node-resolve": "^15.1.0",
82
- "@salutejs/plasma-sb-utils": "0.208.0",
82
+ "@salutejs/plasma-sb-utils": "0.209.0-canary.2283.18490128554.0",
83
83
  "@salutejs/plasma-themes": "0.38.0",
84
84
  "@storybook/addon-docs": "8.6.12",
85
85
  "@storybook/addon-essentials": "8.6.12",
@@ -117,7 +117,7 @@
117
117
  "@linaria/react": "5.0.3",
118
118
  "@popperjs/core": "2.11.8",
119
119
  "@salutejs/input-core": "2.1.2",
120
- "@salutejs/plasma-core": "1.208.0",
120
+ "@salutejs/plasma-core": "1.209.0-canary.2283.18490128554.0",
121
121
  "@salutejs/react-maskinput": "3.2.6",
122
122
  "@tanstack/react-table": "8.21.2",
123
123
  "@tanstack/react-virtual": "3.13.2",
@@ -137,5 +137,5 @@
137
137
  "sideEffects": [
138
138
  "*.css"
139
139
  ],
140
- "gitHead": "92ee0023a81dd132b57ff5f19dec83590697183a"
140
+ "gitHead": "6144d907691befed7aa39a6610e2513c97676ff9"
141
141
  }
@@ -28,7 +28,6 @@ var _plasmacore = require("@salutejs/plasma-core");
28
28
  var _hooks = require("../../hooks");
29
29
  var _utils = require("../../utils");
30
30
  var _Portal = require("../Portal");
31
- var _Resizable = require("../_Resizable");
32
31
  var _base = require("./variations/_view/base");
33
32
  var _Popoverstyles = require("./Popover.styles");
34
33
  var _Popovertokens = require("./Popover.tokens");
@@ -210,7 +209,7 @@ var popoverRoot = function(Root) {
210
209
  var target = _param.target, children = _param.children, animated = _param.animated, isOpen = _param.isOpen, opened = _param.opened, _param_trigger = _param.trigger, trigger = _param_trigger === void 0 ? 'click' : _param_trigger, hasArrow = _param.hasArrow, _param_frame = _param.frame, frame = _param_frame === void 0 ? 'document' : _param_frame, className = _param.className, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'auto' : _param_placement, _param_offset = _param.offset, offset = _param_offset === void 0 ? [
211
210
  0,
212
211
  0
213
- ] : _param_offset, zIndex = _param.zIndex, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_preventOverflow = _param.preventOverflow, preventOverflow = _param_preventOverflow === void 0 ? true : _param_preventOverflow, _param_usePortal = _param.usePortal, usePortal = _param_usePortal === void 0 ? false : _param_usePortal, resizable = _param.resizable, view = _param.view, onToggle = _param.onToggle, onResizeStart = _param.onResizeStart, onResizeEnd = _param.onResizeEnd, closeOnOverlayClick = _param.closeOnOverlayClick, rest = _object_without_properties(_param, [
212
+ ] : _param_offset, zIndex = _param.zIndex, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_preventOverflow = _param.preventOverflow, preventOverflow = _param_preventOverflow === void 0 ? true : _param_preventOverflow, _param_usePortal = _param.usePortal, usePortal = _param_usePortal === void 0 ? false : _param_usePortal, view = _param.view, onToggle = _param.onToggle, closeOnOverlayClick = _param.closeOnOverlayClick, rest = _object_without_properties(_param, [
214
213
  "target",
215
214
  "children",
216
215
  "animated",
@@ -227,11 +226,8 @@ var popoverRoot = function(Root) {
227
226
  "closeOnEsc",
228
227
  "preventOverflow",
229
228
  "usePortal",
230
- "resizable",
231
229
  "view",
232
230
  "onToggle",
233
- "onResizeStart",
234
- "onResizeEnd",
235
231
  "closeOnOverlayClick"
236
232
  ]);
237
233
  var _placement_;
@@ -467,11 +463,7 @@ var popoverRoot = function(Root) {
467
463
  className: _Popovertokens.classes.arrow,
468
464
  ref: setArrowElement,
469
465
  style: styles.arrow
470
- }, attributes.arrow)), /*#__PURE__*/ _react.default.createElement(_Resizable.Resizable, {
471
- resizable: resizable,
472
- onResizeStart: onResizeStart,
473
- onResizeEnd: onResizeEnd
474
- }, children))))));
466
+ }, attributes.arrow)), children)))));
475
467
  });
476
468
  };
477
469
  var popoverConfig = {
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "Handler", {
10
10
  });
11
11
  var _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
12
12
  var _reactdraggable = /*#__PURE__*/ _interop_require_default(require("react-draggable"));
13
+ var _plasmacore = require("@salutejs/plasma-core");
13
14
  var _utils = require("../../../../utils");
14
15
  var _utils1 = require("../../utils");
15
16
  var _Thumb = require("../Thumb/Thumb");
@@ -185,10 +186,12 @@ var Handler = /*#__PURE__*/ (0, _react.forwardRef)(function(_param, ref) {
185
186
  "value",
186
187
  "valuePlacement"
187
188
  ]);
189
+ var nodeRef = (0, _react.useRef)(null);
190
+ var combinedRef = (0, _plasmacore.useForkRef)(nodeRef, ref);
188
191
  var isVertical = orientation === 'vertical';
189
192
  var _useState = _sliced_to_array((0, _react.useState)(false), 2), isDrag = _useState[0], setIsDrag = _useState[1];
190
193
  var lastOnChangeValue = (0, _react.useRef)();
191
- var _getOffsets = _sliced_to_array((0, _utils1.getOffsets)(ref, side, isVertical), 2), startClientOffset = _getOffsets[0], endClientOffset = _getOffsets[1];
194
+ var _getOffsets = _sliced_to_array((0, _utils1.getOffsets)(nodeRef, side, isVertical), 2), startClientOffset = _getOffsets[0], endClientOffset = _getOffsets[1];
192
195
  var _bounds = _sliced_to_array(bounds, 2), startValueBound = _bounds[0], endValueBound = _bounds[1];
193
196
  var startPositionBound = startValueBound ? (startValueBound - min) * stepSize : null;
194
197
  var endPositionBound = endValueBound ? (endValueBound - min) * stepSize : null;
@@ -244,6 +247,7 @@ var Handler = /*#__PURE__*/ (0, _react.forwardRef)(function(_param, ref) {
244
247
  isPointerHidden = false;
245
248
  }
246
249
  return /*#__PURE__*/ _react.default.createElement(_reactdraggable.default, {
250
+ nodeRef: nodeRef,
247
251
  axis: isVertical ? 'y' : 'x',
248
252
  bounds: computedBounds,
249
253
  grid: isVertical ? [
@@ -259,7 +263,7 @@ var Handler = /*#__PURE__*/ (0, _react.forwardRef)(function(_param, ref) {
259
263
  position: dragPosition,
260
264
  disabled: disabled
261
265
  }, /*#__PURE__*/ _react.default.createElement(_Handlerstyles.HandlerStyled, {
262
- ref: ref,
266
+ ref: combinedRef,
263
267
  style: {
264
268
  zIndex: zIndex
265
269
  },
@@ -133,7 +133,6 @@ import { useForkRef } from "@salutejs/plasma-core";
133
133
  import { useFocusTrap } from "../../hooks";
134
134
  import { cx, safeUseId } from "../../utils";
135
135
  import { Portal } from "../Portal";
136
- import { Resizable } from "../_Resizable";
137
136
  import { base as viewCSS } from "./variations/_view/base";
138
137
  import { StyledArrow, StyledPopover, StyledRoot, StyledWrapper } from "./Popover.styles";
139
138
  import { classes } from "./Popover.tokens";
@@ -148,7 +147,7 @@ export var POPOVER_PORTAL_ID = 'plasma-popover-root';
148
147
  var target = _param.target, children = _param.children, animated = _param.animated, isOpen = _param.isOpen, opened = _param.opened, _param_trigger = _param.trigger, trigger = _param_trigger === void 0 ? 'click' : _param_trigger, hasArrow = _param.hasArrow, _param_frame = _param.frame, frame = _param_frame === void 0 ? 'document' : _param_frame, className = _param.className, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'auto' : _param_placement, _param_offset = _param.offset, offset = _param_offset === void 0 ? [
149
148
  0,
150
149
  0
151
- ] : _param_offset, zIndex = _param.zIndex, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_preventOverflow = _param.preventOverflow, preventOverflow = _param_preventOverflow === void 0 ? true : _param_preventOverflow, _param_usePortal = _param.usePortal, usePortal = _param_usePortal === void 0 ? false : _param_usePortal, resizable = _param.resizable, view = _param.view, onToggle = _param.onToggle, onResizeStart = _param.onResizeStart, onResizeEnd = _param.onResizeEnd, closeOnOverlayClick = _param.closeOnOverlayClick, rest = _object_without_properties(_param, [
150
+ ] : _param_offset, zIndex = _param.zIndex, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_preventOverflow = _param.preventOverflow, preventOverflow = _param_preventOverflow === void 0 ? true : _param_preventOverflow, _param_usePortal = _param.usePortal, usePortal = _param_usePortal === void 0 ? false : _param_usePortal, view = _param.view, onToggle = _param.onToggle, closeOnOverlayClick = _param.closeOnOverlayClick, rest = _object_without_properties(_param, [
152
151
  "target",
153
152
  "children",
154
153
  "animated",
@@ -165,11 +164,8 @@ export var POPOVER_PORTAL_ID = 'plasma-popover-root';
165
164
  "closeOnEsc",
166
165
  "preventOverflow",
167
166
  "usePortal",
168
- "resizable",
169
167
  "view",
170
168
  "onToggle",
171
- "onResizeStart",
172
- "onResizeEnd",
173
169
  "closeOnOverlayClick"
174
170
  ]);
175
171
  var _placement_;
@@ -405,11 +401,7 @@ export var POPOVER_PORTAL_ID = 'plasma-popover-root';
405
401
  className: classes.arrow,
406
402
  ref: setArrowElement,
407
403
  style: styles.arrow
408
- }, attributes.arrow)), /*#__PURE__*/ React.createElement(Resizable, {
409
- resizable: resizable,
410
- onResizeStart: onResizeStart,
411
- onResizeEnd: onResizeEnd
412
- }, children))))));
404
+ }, attributes.arrow)), children)))));
413
405
  });
414
406
  };
415
407
  export var popoverConfig = {
@@ -101,6 +101,7 @@ function _unsupported_iterable_to_array(o, minLen) {
101
101
  }
102
102
  import React, { useRef, useState, forwardRef } from "react";
103
103
  import Draggable from "react-draggable";
104
+ import { useForkRef } from "@salutejs/plasma-core";
104
105
  import { cx } from "../../../../utils";
105
106
  import { getSliderThumbValue, getOffsets } from "../../utils";
106
107
  import { Thumb } from "../Thumb/Thumb";
@@ -129,10 +130,12 @@ export var Handler = /*#__PURE__*/ forwardRef(function(_param, ref) {
129
130
  "value",
130
131
  "valuePlacement"
131
132
  ]);
133
+ var nodeRef = useRef(null);
134
+ var combinedRef = useForkRef(nodeRef, ref);
132
135
  var isVertical = orientation === 'vertical';
133
136
  var _useState = _sliced_to_array(useState(false), 2), isDrag = _useState[0], setIsDrag = _useState[1];
134
137
  var lastOnChangeValue = useRef();
135
- var _getOffsets = _sliced_to_array(getOffsets(ref, side, isVertical), 2), startClientOffset = _getOffsets[0], endClientOffset = _getOffsets[1];
138
+ var _getOffsets = _sliced_to_array(getOffsets(nodeRef, side, isVertical), 2), startClientOffset = _getOffsets[0], endClientOffset = _getOffsets[1];
136
139
  var _bounds = _sliced_to_array(bounds, 2), startValueBound = _bounds[0], endValueBound = _bounds[1];
137
140
  var startPositionBound = startValueBound ? (startValueBound - min) * stepSize : null;
138
141
  var endPositionBound = endValueBound ? (endValueBound - min) * stepSize : null;
@@ -188,6 +191,7 @@ export var Handler = /*#__PURE__*/ forwardRef(function(_param, ref) {
188
191
  isPointerHidden = false;
189
192
  }
190
193
  return /*#__PURE__*/ React.createElement(Draggable, {
194
+ nodeRef: nodeRef,
191
195
  axis: isVertical ? 'y' : 'x',
192
196
  bounds: computedBounds,
193
197
  grid: isVertical ? [
@@ -203,7 +207,7 @@ export var Handler = /*#__PURE__*/ forwardRef(function(_param, ref) {
203
207
  position: dragPosition,
204
208
  disabled: disabled
205
209
  }, /*#__PURE__*/ React.createElement(HandlerStyled, {
206
- ref: ref,
210
+ ref: combinedRef,
207
211
  style: {
208
212
  zIndex: zIndex
209
213
  },
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AAIpG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKtE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,SAAS,CAAC,cAAc,EAAE,YAAY,CAAC,+JAwSpE,CAAC;AAEN,eAAO,MAAM,aAAa;;;mBA1SQ,SAAS,CAAC,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CAuTxE,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AAIpG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAMrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKtE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,SAAS,CAAC,cAAc,EAAE,YAAY,CAAC,+JA+RpE,CAAC;AAEN,eAAO,MAAM,aAAa;;;mBAjSQ,SAAS,CAAC,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CA8SxE,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { HTMLAttributes, ReactNode, RefObject, SyntheticEvent } from 'react';
2
2
  import { Placement as PopoverPlacement, ComputedPlacement as PopoverPlacementBasic } from '@popperjs/core';
3
- import { ResizableProps } from '../_Resizable';
4
3
  export type { Placement as PopoverPlacement, ComputedPlacement as PopoverPlacementBasic } from '@popperjs/core';
5
4
  export type PopoverTrigger = 'hover' | 'click';
6
5
  export type CustomPopoverProps = {
@@ -80,18 +79,6 @@ export type CustomPopoverProps = {
80
79
  * false
81
80
  */
82
81
  usePortal?: boolean;
83
- /**
84
- * Настройка resizable-режима.
85
- */
86
- resizable?: ResizableProps['resizable'];
87
- /**
88
- * Обработчик начала ресайза.
89
- */
90
- onResizeStart?: ResizableProps['onResizeStart'];
91
- /**
92
- * Обработчик остановки ресайза.
93
- */
94
- onResizeEnd?: ResizableProps['onResizeEnd'];
95
82
  /**
96
83
  * Анимированное появление Popover
97
84
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAClF,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE3G,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,YAAY,EAAE,SAAS,IAAI,gBAAgB,EAAE,iBAAiB,IAA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OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Handler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAQ3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKpD,OAAO,QAAQ,iBAAiB,CAAC;IAC7B,UAAiB,cAAc;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC7B;CACJ;AAED,eAAO,MAAM,OAAO,qFAoJnB,CAAC"}
1
+ {"version":3,"file":"Handler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAS3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKpD,OAAO,QAAQ,iBAAiB,CAAC;IAC7B,UAAiB,cAAc;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC7B;CACJ;AAED,eAAO,MAAM,OAAO,qFAyJnB,CAAC"}
@@ -1,4 +1,3 @@
1
- export type { ResizableType } from '../components/_Resizable';
2
1
  export type { AsProps } from './AsProps';
3
2
  export type { NumericRange, CreateArrayWithLengthX } from './Range';
4
3
  export type { InputHTMLAttributes } from './InputHTMLAttributes';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,3 +0,0 @@
1
- .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
-
3
- .Resizable_styles_1l85rp0_i1ebflu4__f3d6a229{color:var(--text-secondary);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:hover{color:var(--text-secondary-hover);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229:active{color:var(--text-secondary-active);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopRightIcon__f3d6a229{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomRightIcon__f3d6a229{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableBottomLeftIcon__f3d6a229{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Resizable_styles_1l85rp0_i1ebflu4__f3d6a229.Resizable_styles_1l85rp0_resizableTopLeftIcon__f3d6a229{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
@@ -1,87 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
- var reResizable = require('re-resizable');
7
- var Resizable_tokens = require('./Resizable.tokens.js');
8
- var Resizable_styles = require('./Resizable.styles.js');
9
- var getResizeDirections = require('./utils/getResizeDirections.js');
10
- var getRatioBasedOnPlacement = require('./utils/getRatioBasedOnPlacement.js');
11
- var getHandleStyles = require('./utils/getHandleStyles.js');
12
-
13
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
14
-
15
- var React__default = /*#__PURE__*/_interopDefault(React);
16
-
17
- var Resizable = function Resizable(_ref) {
18
- var _resizable$hiddenIcon, _resizable$icons, _resizable$hiddenIcon2, _resizable$icons2, _resizable$hiddenIcon3, _resizable$icons3, _resizable$hiddenIcon4, _resizable$icons4;
19
- var children = _ref.children,
20
- outerResizable = _ref.resizable,
21
- placement = _ref.placement,
22
- onResizeStart = _ref.onResizeStart,
23
- onResizeEnd = _ref.onResizeEnd;
24
- var resizableContainer = React.useRef(null);
25
- var resizable = typeof outerResizable === 'boolean' ? {
26
- disabled: !outerResizable
27
- } : outerResizable;
28
- var handleResizeStart = function handleResizeStart() {
29
- if (resizableContainer !== null && resizableContainer !== void 0 && resizableContainer.current && resizableContainer.current.resizable) {
30
- resizableContainer.current.resizable.classList.toggle(Resizable_tokens.classes.resizableContainerNoSelect);
31
- if (onResizeStart) {
32
- onResizeStart(resizableContainer);
33
- }
34
- }
35
- };
36
- var handleResizeEnd = function handleResizeEnd() {
37
- if (resizableContainer !== null && resizableContainer !== void 0 && resizableContainer.current && resizableContainer.current.resizable) {
38
- resizableContainer.current.resizable.classList.toggle(Resizable_tokens.classes.resizableContainerNoSelect);
39
- if (onResizeEnd) {
40
- onResizeEnd(resizableContainer);
41
- }
42
- }
43
- };
44
- if (!resizable || resizable.disabled) {
45
- return /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, children);
46
- }
47
- return /*#__PURE__*/React__default.default.createElement(reResizable.Resizable, {
48
- ref: resizableContainer,
49
- enable: resizable && !resizable.disabled ? getResizeDirections.getResizeDirections(resizable.directions) : false,
50
- resizeRatio: getRatioBasedOnPlacement.getRatioBasedOnPlacement(placement),
51
- defaultSize: resizable === null || resizable === void 0 ? void 0 : resizable.defaultSize,
52
- minWidth: resizable === null || resizable === void 0 ? void 0 : resizable.minWidth,
53
- minHeight: resizable === null || resizable === void 0 ? void 0 : resizable.minHeight,
54
- maxWidth: resizable === null || resizable === void 0 ? void 0 : resizable.maxWidth,
55
- maxHeight: resizable === null || resizable === void 0 ? void 0 : resizable.maxHeight,
56
- onResizeStart: handleResizeStart,
57
- onResizeStop: handleResizeEnd,
58
- handleComponent: {
59
- topRight: resizable !== null && resizable !== void 0 && (_resizable$hiddenIcon = resizable.hiddenIcons) !== null && _resizable$hiddenIcon !== void 0 && _resizable$hiddenIcon.includes('top-right') ? undefined : /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, (resizable === null || resizable === void 0 || (_resizable$icons = resizable.icons) === null || _resizable$icons === void 0 ? void 0 : _resizable$icons.topRight) || /*#__PURE__*/React__default.default.createElement(Resizable_styles.IconResizeDiagonalStyled, {
60
- className: Resizable_tokens.classes.resizableTopRightIcon,
61
- color: "inherit",
62
- size: resizable === null || resizable === void 0 ? void 0 : resizable.iconSize
63
- })),
64
- bottomRight: resizable !== null && resizable !== void 0 && (_resizable$hiddenIcon2 = resizable.hiddenIcons) !== null && _resizable$hiddenIcon2 !== void 0 && _resizable$hiddenIcon2.includes('bottom-right') ? undefined : /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, (resizable === null || resizable === void 0 || (_resizable$icons2 = resizable.icons) === null || _resizable$icons2 === void 0 ? void 0 : _resizable$icons2.bottomRight) || /*#__PURE__*/React__default.default.createElement(Resizable_styles.IconResizeDiagonalStyled, {
65
- className: Resizable_tokens.classes.resizableBottomRightIcon,
66
- color: "inherit",
67
- size: resizable === null || resizable === void 0 ? void 0 : resizable.iconSize
68
- })),
69
- bottomLeft: resizable !== null && resizable !== void 0 && (_resizable$hiddenIcon3 = resizable.hiddenIcons) !== null && _resizable$hiddenIcon3 !== void 0 && _resizable$hiddenIcon3.includes('bottom-left') ? undefined : /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, (resizable === null || resizable === void 0 || (_resizable$icons3 = resizable.icons) === null || _resizable$icons3 === void 0 ? void 0 : _resizable$icons3.bottomLeft) || /*#__PURE__*/React__default.default.createElement(Resizable_styles.IconResizeDiagonalStyled, {
70
- className: Resizable_tokens.classes.resizableBottomLeftIcon,
71
- color: "inherit",
72
- size: resizable === null || resizable === void 0 ? void 0 : resizable.iconSize
73
- })),
74
- topLeft: resizable !== null && resizable !== void 0 && (_resizable$hiddenIcon4 = resizable.hiddenIcons) !== null && _resizable$hiddenIcon4 !== void 0 && _resizable$hiddenIcon4.includes('top-left') ? undefined : /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, (resizable === null || resizable === void 0 || (_resizable$icons4 = resizable.icons) === null || _resizable$icons4 === void 0 ? void 0 : _resizable$icons4.topLeft) || /*#__PURE__*/React__default.default.createElement(Resizable_styles.IconResizeDiagonalStyled, {
75
- className: Resizable_tokens.classes.resizableTopLeftIcon,
76
- color: "inherit",
77
- size: resizable === null || resizable === void 0 ? void 0 : resizable.iconSize
78
- }))
79
- },
80
- className: Resizable_tokens.classes.resizableContainer,
81
- handleStyles: getHandleStyles.getHandleStyles(),
82
- handleWrapperClass: Resizable_tokens.classes.resizableHandleWrapper
83
- }, children);
84
- };
85
-
86
- exports.Resizable = Resizable;
87
- //# sourceMappingURL=Resizable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resizable.js","sources":["../../../src/components/_Resizable/Resizable.tsx"],"sourcesContent":["import React, { useRef, FC, PropsWithChildren } from 'react';\nimport { Resizable as ReResizable } from 're-resizable';\nimport type { Resizable as ResizableType } from 're-resizable';\n\nimport { getHandleStyles, getRatioBasedOnPlacement, getResizeDirections } from './utils';\nimport { classes } from './Resizable.tokens';\nimport type { ResizableProps } from './Resizable.types';\nimport { IconResizeDiagonalStyled } from './Resizable.styles';\n\nexport const Resizable: FC<PropsWithChildren<ResizableProps>> = ({\n children,\n resizable: outerResizable,\n placement,\n onResizeStart,\n onResizeEnd,\n}) => {\n const resizableContainer = useRef<ResizableType>(null);\n\n const resizable = typeof outerResizable === 'boolean' ? { disabled: !outerResizable } : outerResizable;\n\n const handleResizeStart = () => {\n if (resizableContainer?.current && resizableContainer.current.resizable) {\n resizableContainer.current.resizable.classList.toggle(classes.resizableContainerNoSelect);\n\n if (onResizeStart) {\n onResizeStart(resizableContainer);\n }\n }\n };\n\n const handleResizeEnd = () => {\n if (resizableContainer?.current && resizableContainer.current.resizable) {\n resizableContainer.current.resizable.classList.toggle(classes.resizableContainerNoSelect);\n\n if (onResizeEnd) {\n onResizeEnd(resizableContainer);\n }\n }\n };\n\n if (!resizable || resizable.disabled) {\n return <>{children}</>;\n }\n\n return (\n <ReResizable\n ref={resizableContainer}\n enable={resizable && !resizable.disabled ? getResizeDirections(resizable.directions) : false}\n resizeRatio={getRatioBasedOnPlacement(placement)}\n defaultSize={resizable?.defaultSize}\n minWidth={resizable?.minWidth}\n minHeight={resizable?.minHeight}\n maxWidth={resizable?.maxWidth}\n maxHeight={resizable?.maxHeight}\n onResizeStart={handleResizeStart}\n onResizeStop={handleResizeEnd}\n handleComponent={{\n topRight: resizable?.hiddenIcons?.includes('top-right') ? undefined : (\n <>\n {resizable?.icons?.topRight || (\n <IconResizeDiagonalStyled\n className={classes.resizableTopRightIcon}\n color=\"inherit\"\n size={resizable?.iconSize}\n />\n )}\n </>\n ),\n bottomRight: resizable?.hiddenIcons?.includes('bottom-right') ? undefined : (\n <>\n {resizable?.icons?.bottomRight || (\n <IconResizeDiagonalStyled\n className={classes.resizableBottomRightIcon}\n color=\"inherit\"\n size={resizable?.iconSize}\n />\n )}\n </>\n ),\n bottomLeft: resizable?.hiddenIcons?.includes('bottom-left') ? undefined : (\n <>\n {resizable?.icons?.bottomLeft || (\n <IconResizeDiagonalStyled\n className={classes.resizableBottomLeftIcon}\n color=\"inherit\"\n size={resizable?.iconSize}\n />\n )}\n </>\n ),\n topLeft: resizable?.hiddenIcons?.includes('top-left') ? undefined : (\n <>\n {resizable?.icons?.topLeft || (\n <IconResizeDiagonalStyled\n className={classes.resizableTopLeftIcon}\n color=\"inherit\"\n size={resizable?.iconSize}\n />\n )}\n </>\n ),\n }}\n className={classes.resizableContainer}\n handleStyles={getHandleStyles()}\n handleWrapperClass={classes.resizableHandleWrapper}\n >\n {children}\n </ReResizable>\n );\n};\n"],"names":["Resizable","_ref","_resizable$hiddenIcon","_resizable$icons","_resizable$hiddenIcon2","_resizable$icons2","_resizable$hiddenIcon3","_resizable$icons3","_resizable$hiddenIcon4","_resizable$icons4","children","outerResizable","resizable","placement","onResizeStart","onResizeEnd","resizableContainer","useRef","disabled","handleResizeStart","current","classList","toggle","classes","resizableContainerNoSelect","handleResizeEnd","React","createElement","Fragment","ReResizable","ref","enable","getResizeDirections","directions","resizeRatio","getRatioBasedOnPlacement","defaultSize","minWidth","minHeight","maxWidth","maxHeight","onResizeStop","handleComponent","topRight","hiddenIcons","includes","undefined","icons","IconResizeDiagonalStyled","className","resizableTopRightIcon","color","size","iconSize","bottomRight","resizableBottomRightIcon","bottomLeft","resizableBottomLeftIcon","topLeft","resizableTopLeftIcon","handleStyles","getHandleStyles","handleWrapperClass","resizableHandleWrapper"],"mappings":";;;;;;;;;;;;;;;;IASaA,SAAgD,GAAG,SAAnDA,SAAgDA,CAAAC,IAAA,EAMvD;AAAA,EAAA,IAAAC,qBAAA,EAAAC,gBAAA,EAAAC,sBAAA,EAAAC,iBAAA,EAAAC,sBAAA,EAAAC,iBAAA,EAAAC,sBAAA,EAAAC,iBAAA,CAAA;AAAA,EAAA,IALFC,QAAQ,GAAAT,IAAA,CAARS,QAAQ;IACGC,cAAc,GAAAV,IAAA,CAAzBW,SAAS;IACTC,SAAS,GAAAZ,IAAA,CAATY,SAAS;IACTC,aAAa,GAAAb,IAAA,CAAba,aAAa;IACbC,WAAW,GAAAd,IAAA,CAAXc,WAAW,CAAA;AAEX,EAAA,IAAMC,kBAAkB,GAAGC,YAAM,CAAgB,IAAI,CAAC,CAAA;AAEtD,EAAA,IAAML,SAAS,GAAG,OAAOD,cAAc,KAAK,SAAS,GAAG;AAAEO,IAAAA,QAAQ,EAAE,CAACP,cAAAA;AAAe,GAAC,GAAGA,cAAc,CAAA;AAEtG,EAAA,IAAMQ,iBAAiB,GAAG,SAApBA,iBAAiBA,GAAS;AAC5B,IAAA,IAAIH,kBAAkB,KAAA,IAAA,IAAlBA,k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,CAAEyC,QAAAA;AAAS,OAC7B,CAEP,CAAA;KAER;IACFJ,SAAS,EAAE1B,wBAAO,CAACP,kBAAmB;IACtC4C,YAAY,EAAEC,+BAAe,EAAG;IAChCC,kBAAkB,EAAEvC,wBAAO,CAACwC,sBAAAA;AAAuB,GAAA,EAElDrD,QACQ,CAAC,CAAA;AAEtB;;;;"}
@@ -1,19 +0,0 @@
1
- require('./Resizable.styles_1l85rp0.css');
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- var react = require('@linaria/react');
7
- var IconResizeDiagonal = require('../_Icon/Icons/IconResizeDiagonal.js');
8
-
9
- var _exp = function _exp() {
10
- return IconResizeDiagonal.IconResizeDiagonal;
11
- };
12
- var IconResizeDiagonalStyled = /*#__PURE__*/react.styled(_exp())({
13
- name: "IconResizeDiagonalStyled",
14
- "class": "i1ebflu4",
15
- propsAsIs: true
16
- });
17
-
18
- exports.IconResizeDiagonalStyled = IconResizeDiagonalStyled;
19
- //# sourceMappingURL=Resizable.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resizable.styles.js","sources":["../../../src/components/_Resizable/Resizable.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { IconResizeDiagonal } from 'src/components/_Icon';\n\nimport { classes } from './Resizable.tokens';\n\nexport const IconResizeDiagonalStyled = styled(IconResizeDiagonal)`\n color: var(--text-secondary);\n\n &:hover {\n color: var(--text-secondary-hover);\n }\n\n &:active {\n color: var(--text-secondary-active);\n }\n\n &.${classes.resizableTopRightIcon} {\n transform: rotate(-90deg);\n }\n\n &.${classes.resizableBottomRightIcon} {\n transform: rotate(0);\n }\n\n &.${classes.resizableBottomLeftIcon} {\n transform: rotate(90deg);\n }\n\n &.${classes.resizableTopLeftIcon} {\n transform: rotate(180deg);\n }\n`;\n"],"names":["_exp","IconResizeDiagonal","IconResizeDiagonalStyled","styled","name","class","propsAsIs"],"mappings":";;;;;;;AAC0D,IAAAA,IAAA,GAAxCA,SAAwCA,IAAAA,GAAA;AAAA,EAAA,OAIXC,qCAAkB,CAAA;AAAA,CAAA,CAAA;AAA1D,IAAMC,wBAAwB,gBAAGC,YAAM,CAAAH,IAAA,EAAA,CAAA,CAAA;AAAAI,EAAAA,IAAA,EAAA,0BAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA0B7C;;;;"}
@@ -1 +0,0 @@
1
- .i1ebflu4{color:var(--text-secondary);}.i1ebflu4:hover{color:var(--text-secondary-hover);}.i1ebflu4:active{color:var(--text-secondary-active);}.i1ebflu4.resizable-top-right-icon{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.i1ebflu4.resizable-bottom-right-icon{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.i1ebflu4.resizable-bottom-left-icon{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.i1ebflu4.resizable-top-left-icon{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var classes = {
6
- resizableContainer: 'resizable-container',
7
- resizableTopRightIcon: 'resizable-top-right-icon',
8
- resizableBottomRightIcon: 'resizable-bottom-right-icon',
9
- resizableBottomLeftIcon: 'resizable-bottom-left-icon',
10
- resizableTopLeftIcon: 'resizable-top-left-icon',
11
- resizableHandleWrapper: 'resizable-handle-wrapper',
12
- resizableContainerNoSelect: 'resizable-container-no-select'
13
- };
14
-
15
- exports.classes = classes;
16
- //# sourceMappingURL=Resizable.tokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resizable.tokens.js","sources":["../../../src/components/_Resizable/Resizable.tokens.ts"],"sourcesContent":["export const classes = {\n resizableContainer: 'resizable-container',\n resizableTopRightIcon: 'resizable-top-right-icon',\n resizableBottomRightIcon: 'resizable-bottom-right-icon',\n resizableBottomLeftIcon: 'resizable-bottom-left-icon',\n resizableTopLeftIcon: 'resizable-top-left-icon',\n resizableHandleWrapper: 'resizable-handle-wrapper',\n resizableContainerNoSelect: 'resizable-container-no-select',\n};\n"],"names":["classes","resizableContainer","resizableTopRightIcon","resizableBottomRightIcon","resizableBottomLeftIcon","resizableTopLeftIcon","resizableHandleWrapper","resizableContainerNoSelect"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,kBAAkB,EAAE,qBAAqB;AACzCC,EAAAA,qBAAqB,EAAE,0BAA0B;AACjDC,EAAAA,wBAAwB,EAAE,6BAA6B;AACvDC,EAAAA,uBAAuB,EAAE,4BAA4B;AACrDC,EAAAA,oBAAoB,EAAE,yBAAyB;AAC/CC,EAAAA,sBAAsB,EAAE,0BAA0B;AAClDC,EAAAA,0BAA0B,EAAE,+BAAA;AAChC;;;;"}
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
-
7
- // Объект стилей для handler'а, в котором находится иконка ресайза.
8
-
9
- var base = {
10
- width: 'auto',
11
- height: 'auto',
12
- lineHeight: '0'
13
- };
14
- var getHandleStyles = function getHandleStyles() {
15
- return {
16
- topRight: _rollupPluginBabelHelpers.objectSpread2({
17
- top: '0',
18
- right: '0',
19
- transform: 'translate(50%, -50%)'
20
- }, base),
21
- bottomRight: _rollupPluginBabelHelpers.objectSpread2({
22
- right: '0',
23
- bottom: '0',
24
- transform: 'translate(50%, 50%)'
25
- }, base),
26
- bottomLeft: _rollupPluginBabelHelpers.objectSpread2({
27
- bottom: '0',
28
- left: '0',
29
- transform: 'translate(-50%, 50%)'
30
- }, base),
31
- topLeft: _rollupPluginBabelHelpers.objectSpread2({
32
- top: '0',
33
- left: '0',
34
- transform: 'translate(-50%, -50%)'
35
- }, base)
36
- };
37
- };
38
-
39
- exports.getHandleStyles = getHandleStyles;
40
- //# sourceMappingURL=getHandleStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getHandleStyles.js","sources":["../../../../src/components/_Resizable/utils/getHandleStyles.ts"],"sourcesContent":["// Объект стилей для handler'а, в котором находится иконка ресайза.\ninterface ReturnType {\n topRight: {\n width: string;\n height: string;\n top: string;\n right: string;\n transform: string;\n lineHeight: string;\n };\n bottomRight: {\n width: string;\n height: string;\n right: string;\n bottom: string;\n transform: string;\n lineHeight: string;\n };\n bottomLeft: {\n width: string;\n height: string;\n bottom: string;\n left: string;\n transform: string;\n lineHeight: string;\n };\n topLeft: {\n width: string;\n height: string;\n top: string;\n left: string;\n transform: string;\n lineHeight: string;\n };\n}\n\nconst base = {\n width: 'auto',\n height: 'auto',\n lineHeight: '0',\n};\n\nexport const getHandleStyles = (): ReturnType => ({\n topRight: {\n top: '0',\n right: '0',\n transform: 'translate(50%, -50%)',\n ...base,\n },\n bottomRight: {\n right: '0',\n bottom: '0',\n transform: 'translate(50%, 50%)',\n ...base,\n },\n bottomLeft: {\n bottom: '0',\n left: '0',\n transform: 'translate(-50%, 50%)',\n ...base,\n },\n topLeft: {\n top: '0',\n left: '0',\n transform: 'translate(-50%, -50%)',\n ...base,\n },\n});\n"],"names":["base","width","height","lineHeight","getHandleStyles","topRight","_objectSpread","top","right","transform","bottomRight","bottom","bottomLeft","left","topLeft"],"mappings":";;;;;;AAAA;;AAoCA,IAAMA,IAAI,GAAG;AACTC,EAAAA,KAAK,EAAE,MAAM;AACbC,EAAAA,MAAM,EAAE,MAAM;AACdC,EAAAA,UAAU,EAAE,GAAA;AAChB,CAAC,CAAA;AAEYC,IAAAA,eAAe,GAAG,SAAlBA,eAAeA,GAAA;EAAA,OAAsB;AAC9CC,IAAAA,QAAQ,EAAAC,uCAAA,CAAA;AACJC,MAAAA,GAAG,EAAE,GAAG;AACRC,MAAAA,KAAK,EAAE,GAAG;AACVC,MAAAA,SAAS,EAAE,sBAAA;AAAsB,KAAA,EAC9BT,IAAI,CACV;AACDU,IAAAA,WAAW,EAAAJ,uCAAA,CAAA;AACPE,MAAAA,KAAK,EAAE,GAAG;AACVG,MAAAA,MAAM,EAAE,GAAG;AACXF,MAAAA,SAAS,EAAE,qBAAA;AAAqB,KAAA,EAC7BT,IAAI,CACV;AACDY,IAAAA,UAAU,EAAAN,uCAAA,CAAA;AACNK,MAAAA,MAAM,EAAE,GAAG;AACXE,MAAAA,IAAI,EAAE,GAAG;AACTJ,MAAAA,SAAS,EAAE,sBAAA;AAAsB,KAAA,EAC9BT,IAAI,CACV;AACDc,IAAAA,OAAO,EAAAR,uCAAA,CAAA;AACHC,MAAAA,GAAG,EAAE,GAAG;AACRM,MAAAA,IAAI,EAAE,GAAG;AACTJ,MAAAA,SAAS,EAAE,uBAAA;AAAuB,KAAA,EAC/BT,IAAI,CAAA;GAEd,CAAA;AAAA;;;;"}