intergalactic 15.126.1-prerelease.8 → 15.127.0-prerelease.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 (205) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/accordion/lib/cjs/Accordion.js +9 -9
  3. package/accordion/lib/es6/Accordion.js +9 -9
  4. package/accordion/lib/esm/Accordion.mjs +76 -76
  5. package/accordion/package.json +1 -1
  6. package/add-filter/package.json +1 -1
  7. package/animation/package.json +1 -1
  8. package/badge/package.json +1 -1
  9. package/base-trigger/package.json +1 -1
  10. package/breadcrumbs/package.json +1 -1
  11. package/breakpoints/package.json +1 -1
  12. package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
  13. package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
  14. package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +128 -128
  15. package/bulk-textarea/package.json +1 -1
  16. package/button/component/Button/Button.type.d.ts +6 -2
  17. package/button/lib/cjs/component/AbstractButton/AbstractButton.js +1 -0
  18. package/button/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -1
  19. package/button/lib/cjs/component/Button/Button.js +28 -27
  20. package/button/lib/cjs/component/Button/Button.js.map +1 -1
  21. package/button/lib/cjs/component/Button/Button.type.js.map +1 -1
  22. package/button/lib/cjs/component/Button/button.shadow.css +17 -1
  23. package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
  24. package/button/lib/es6/component/AbstractButton/AbstractButton.js +1 -0
  25. package/button/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -1
  26. package/button/lib/es6/component/Button/Button.js +28 -27
  27. package/button/lib/es6/component/Button/Button.js.map +1 -1
  28. package/button/lib/es6/component/Button/Button.type.js.map +1 -1
  29. package/button/lib/es6/component/Button/button.shadow.css +17 -1
  30. package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
  31. package/button/lib/esm/component/AbstractButton/AbstractButton.mjs +30 -30
  32. package/button/lib/esm/component/Button/Button.mjs +66 -65
  33. package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +59 -59
  34. package/button/lib/types/component/Button/Button.type.d.ts +6 -2
  35. package/button/package.json +1 -1
  36. package/card/lib/cjs/Card.js +6 -6
  37. package/card/lib/es6/Card.js +6 -6
  38. package/card/lib/esm/Card.mjs +46 -46
  39. package/card/package.json +1 -1
  40. package/carousel/lib/cjs/Carousel.js +21 -21
  41. package/carousel/lib/es6/Carousel.js +21 -21
  42. package/carousel/lib/esm/Carousel.mjs +177 -177
  43. package/carousel/package.json +1 -1
  44. package/checkbox/package.json +1 -1
  45. package/color-picker/lib/cjs/ColorPicker.js +24 -24
  46. package/color-picker/lib/cjs/PaletteManager.js +24 -24
  47. package/color-picker/lib/cjs/components/InputColor.js +24 -24
  48. package/color-picker/lib/es6/ColorPicker.js +24 -24
  49. package/color-picker/lib/es6/PaletteManager.js +24 -24
  50. package/color-picker/lib/es6/components/InputColor.js +24 -24
  51. package/color-picker/lib/esm/ColorPicker.mjs +73 -73
  52. package/color-picker/lib/esm/PaletteManager.mjs +42 -42
  53. package/color-picker/lib/esm/components/InputColor.mjs +81 -81
  54. package/color-picker/package.json +1 -1
  55. package/components.json +24 -24
  56. package/core/package.json +1 -1
  57. package/counter/package.json +1 -1
  58. package/d3-chart/package.json +1 -1
  59. package/data-table/package.json +1 -1
  60. package/date-picker/lib/cjs/components/Calendar.js +21 -21
  61. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
  62. package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
  63. package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
  64. package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
  65. package/date-picker/lib/es6/components/Calendar.js +21 -21
  66. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
  67. package/date-picker/lib/es6/components/InputTrigger.js +29 -29
  68. package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
  69. package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
  70. package/date-picker/lib/esm/components/Calendar.mjs +126 -126
  71. package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +217 -217
  72. package/date-picker/lib/esm/components/InputTrigger.mjs +215 -215
  73. package/date-picker/lib/esm/components/PickerAbstract.mjs +114 -114
  74. package/date-picker/lib/esm/components/RangePickerAbstract.mjs +164 -164
  75. package/date-picker/package.json +1 -1
  76. package/divider/package.json +1 -1
  77. package/dot/package.json +1 -1
  78. package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
  79. package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
  80. package/drag-and-drop/lib/esm/DragAndDrop.mjs +160 -160
  81. package/drag-and-drop/package.json +1 -1
  82. package/dropdown/package.json +1 -1
  83. package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
  84. package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
  85. package/dropdown-menu/lib/esm/DropdownMenu.mjs +176 -176
  86. package/dropdown-menu/package.json +1 -1
  87. package/ellipsis/package.json +1 -1
  88. package/errors/lib/cjs/Error.js +9 -9
  89. package/errors/lib/es6/Error.js +9 -9
  90. package/errors/lib/esm/Error.mjs +48 -48
  91. package/errors/package.json +1 -1
  92. package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
  93. package/feature-popover/lib/es6/FeaturePopover.js +11 -11
  94. package/feature-popover/lib/esm/FeaturePopover.mjs +72 -72
  95. package/feature-popover/package.json +1 -1
  96. package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
  97. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  98. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  99. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
  100. package/feedback-form/lib/es6/FeedbackForm.js +7 -7
  101. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  102. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  103. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
  104. package/feedback-form/lib/esm/FeedbackForm.mjs +34 -34
  105. package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +23 -23
  106. package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +23 -23
  107. package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +73 -73
  108. package/feedback-form/package.json +1 -1
  109. package/flags/package.json +1 -1
  110. package/flex-box/package.json +1 -1
  111. package/format-text/package.json +1 -1
  112. package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
  113. package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
  114. package/fullscreen-modal/lib/esm/FullscreenModal.mjs +70 -70
  115. package/fullscreen-modal/package.json +1 -1
  116. package/grid/package.json +1 -1
  117. package/i18n-unplugin/package.json +1 -1
  118. package/icon/package.json +1 -1
  119. package/illustration/package.json +1 -1
  120. package/inline-edit/package.json +1 -1
  121. package/inline-input/lib/cjs/InlineInput.js +14 -14
  122. package/inline-input/lib/es6/InlineInput.js +14 -14
  123. package/inline-input/lib/esm/InlineInput.mjs +107 -107
  124. package/inline-input/package.json +1 -1
  125. package/input/package.json +1 -1
  126. package/input-mask/package.json +1 -1
  127. package/input-number/package.json +1 -1
  128. package/input-tags/package.json +1 -1
  129. package/link/package.json +1 -1
  130. package/mini-chart/package.json +1 -1
  131. package/modal/lib/cjs/Modal.js +8 -8
  132. package/modal/lib/es6/Modal.js +8 -8
  133. package/modal/lib/esm/Modal.mjs +81 -81
  134. package/modal/package.json +1 -1
  135. package/neighbor-location/package.json +1 -1
  136. package/notice/lib/cjs/Notice.js +18 -17
  137. package/notice/lib/cjs/Notice.js.map +1 -1
  138. package/notice/lib/es6/Notice.js +18 -17
  139. package/notice/lib/es6/Notice.js.map +1 -1
  140. package/notice/lib/esm/Notice.mjs +110 -108
  141. package/notice/package.json +1 -1
  142. package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
  143. package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
  144. package/notice-bubble/lib/esm/NoticeBubble.mjs +87 -87
  145. package/notice-bubble/package.json +1 -1
  146. package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
  147. package/notice-global/lib/es6/NoticeGlobal.js +11 -11
  148. package/notice-global/lib/esm/NoticeGlobal.mjs +46 -46
  149. package/notice-global/package.json +1 -1
  150. package/outside-click/package.json +1 -1
  151. package/package.json +1 -1
  152. package/pagination/lib/cjs/Pagination.js +12 -12
  153. package/pagination/lib/es6/Pagination.js +12 -12
  154. package/pagination/lib/esm/Pagination.mjs +123 -123
  155. package/pagination/package.json +1 -1
  156. package/pills/package.json +1 -1
  157. package/popper/package.json +1 -1
  158. package/portal/package.json +1 -1
  159. package/product-head/package.json +1 -1
  160. package/progress-bar/package.json +1 -1
  161. package/radio/package.json +1 -1
  162. package/scroll-area/package.json +1 -1
  163. package/select/lib/cjs/InputSearch.js +6 -6
  164. package/select/lib/cjs/Select.js +8 -8
  165. package/select/lib/es6/InputSearch.js +6 -6
  166. package/select/lib/es6/Select.js +8 -8
  167. package/select/lib/esm/InputSearch.mjs +38 -38
  168. package/select/lib/esm/Select.mjs +106 -106
  169. package/select/package.json +1 -1
  170. package/side-panel/lib/cjs/SidePanel.js +16 -16
  171. package/side-panel/lib/es6/SidePanel.js +16 -16
  172. package/side-panel/lib/esm/SidePanel.mjs +76 -76
  173. package/side-panel/package.json +1 -1
  174. package/skeleton/package.json +1 -1
  175. package/slider/package.json +1 -1
  176. package/spin/package.json +1 -1
  177. package/spin-container/package.json +1 -1
  178. package/sticky/package.json +1 -1
  179. package/switch/package.json +1 -1
  180. package/tab-line/package.json +1 -1
  181. package/tab-panel/package.json +1 -1
  182. package/tag/package.json +1 -1
  183. package/textarea/package.json +1 -1
  184. package/time-picker/lib/cjs/TimePicker.js +12 -12
  185. package/time-picker/lib/es6/TimePicker.js +12 -12
  186. package/time-picker/lib/esm/TimePicker.mjs +62 -62
  187. package/time-picker/package.json +1 -1
  188. package/tooltip/package.json +1 -1
  189. package/typography/package.json +1 -1
  190. package/utils/lib/themes/auto.css +1 -1
  191. package/utils/lib/themes/default.css +1 -1
  192. package/utils/lib/themes/default.js +1 -1
  193. package/utils/lib/themes/default.js.map +1 -1
  194. package/utils/lib/themes/default.mjs +1 -1
  195. package/utils/lib/themes/default.mjs.map +1 -1
  196. package/utils/lib/themes/light.css +1 -1
  197. package/utils/lib/themes/light.js +1 -1
  198. package/utils/lib/themes/light.js.map +1 -1
  199. package/utils/lib/themes/light.mjs +1 -1
  200. package/utils/lib/themes/light.mjs.map +1 -1
  201. package/widget-empty/package.json +1 -1
  202. package/wizard/lib/cjs/Wizard.js +12 -12
  203. package/wizard/lib/es6/Wizard.js +12 -12
  204. package/wizard/lib/esm/Wizard.mjs +83 -83
  205. package/wizard/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import O from "@babel/runtime/helpers/esm/objectSpread2";
2
- import T from "@babel/runtime/helpers/esm/toConsumableArray";
3
- import L from "@babel/runtime/helpers/esm/classCallCheck";
4
- import U from "@babel/runtime/helpers/esm/createClass";
5
- import h from "@babel/runtime/helpers/esm/assertThisInitialized";
6
- import q from "@babel/runtime/helpers/esm/inherits";
1
+ import N from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import z from "@babel/runtime/helpers/esm/toConsumableArray";
3
+ import W from "@babel/runtime/helpers/esm/classCallCheck";
4
+ import L from "@babel/runtime/helpers/esm/createClass";
5
+ import p from "@babel/runtime/helpers/esm/assertThisInitialized";
6
+ import U from "@babel/runtime/helpers/esm/inherits";
7
7
  import J from "@babel/runtime/helpers/esm/createSuper";
8
8
  import s from "@babel/runtime/helpers/esm/defineProperty";
9
9
  import { sstyled as X } from 'intergalactic/utils/lib/core/index';
10
- import Y, { sstyled as Z, assignProps as z, Component as j } from 'intergalactic/core';
11
- import x from "react";
12
- import { Box as R, ScreenReaderOnly as G } from 'intergalactic/flex-box';
13
- import { localizedMessages as K } from "./translations/__intergalactic-dynamic-locales.mjs";
10
+ import Y, { sstyled as F, assignProps as Z, Component as j } from 'intergalactic/core';
11
+ import q from "react";
12
+ import { Box as O, ScreenReaderOnly as G } from 'intergalactic/flex-box';
13
+ import { localizedMessages as R } from "./translations/__intergalactic-dynamic-locales.mjs";
14
14
  import Q from 'intergalactic/utils/lib/enhances/i18nEnhance';
15
15
  import V from 'intergalactic/utils/lib/use/useEnhancedEffect';
16
16
  import $ from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
@@ -20,39 +20,39 @@ var ne = (
20
20
  /*__reshadow_css_start__*/
21
21
  (X.insert(
22
22
  /*__inner_css_start__*/
23
- '.___SDraggable_1h0wo_gg_.__draggable_1h0wo_gg_{position:relative;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}.___SDraggable_1h0wo_gg_.__draggable_1h0wo_gg_::before{content:"";position:absolute;display:none;pointer-events:none;background-image:radial-gradient(circle at center,var(--intergalactic-icon-primary-neutral, #6c6e79) 1px,transparent 0);background-size:6px 6px;background-position:2px 2px;background-repeat:repeat repeat}@media (hover:hover){.___SDraggable_1h0wo_gg_.__draggable_1h0wo_gg_:hover::before{display:block}}.___SDraggable_1h0wo_gg_.__draggable_1h0wo_gg_.__hideHoverEffect_1h0wo_gg_:not(._role_menuitemcheckbox_1h0wo_gg_)::before{display:none}.___SDraggable_1h0wo_gg_._placement_right_1h0wo_gg_::before{right:0}.___SDraggable_1h0wo_gg_._placement_bottom_1h0wo_gg_::before{bottom:0}.___SDraggable_1h0wo_gg_._placement_left_1h0wo_gg_::before{left:0}.___SDraggable_1h0wo_gg_._placement_top_1h0wo_gg_::before{top:0;left:0;width:100%;height:16px}.___SDraggable_1h0wo_gg_._placement_bottom_1h0wo_gg_::before{left:0;width:100%;height:16px}.___SDraggable_1h0wo_gg_._placement_left_1h0wo_gg_::before,.___SDraggable_1h0wo_gg_._placement_right_1h0wo_gg_::before{top:0;width:16px;height:100%}.___SDropZone_1h0wo_gg_{position:relative}.___SDraggable_1h0wo_gg_.__dropPreview_1h0wo_gg_,.___SDropZone_1h0wo_gg_.__dropPreview_1h0wo_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SDraggable_1h0wo_gg_.__dark_1h0wo_gg_.__dropPreview_1h0wo_gg_,.___SDropZone_1h0wo_gg_.__dark_1h0wo_gg_.__dropPreview_1h0wo_gg_{background-color:var(--intergalactic-bg-primary-invert-active, #484a54)}.___SDraggable_1h0wo_gg_:focus{outline:0}.___SDraggable_1h0wo_gg_.__keyboardFocused_1h0wo_gg_:focus{box-shadow:none}.___SDraggable_1h0wo_gg_.__keyboardFocused_1h0wo_gg_:focus:after{position:absolute;display:block;content:"";top:3px;right:3px;bottom:3px;left:3px;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none}.___SDraggable_1h0wo_gg_.__keyboardDragging_1h0wo_gg_{scale:1.1;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);box-shadow:var(--intergalactic-box-shadow-dnd, 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 12px 40px 0px rgba(25, 27, 35, 0.16))!important}.___SDraggable_1h0wo_gg_.__keyboardDragging_1h0wo_gg_.__hideHoverEffect_1h0wo_gg_::before,.___SDraggable_1h0wo_gg_.__keyboardDragging_1h0wo_gg_::before{display:block}.___SDraggable_1h0wo_gg_.__keyboardDragging_1h0wo_gg_.__reversedScaling_1h0wo_gg_{scale:.95}.___SDraggable_1h0wo_gg_.__animatedScaling_1h0wo_gg_{transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SA11yHint_1h0wo_gg_{position:absolute;margin-top:-1px;height:1px;width:1px;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.___SDraggable_1h0wo_gg_{transition:none}}',
24
- "1h0wo_gg_"
23
+ '.___SDraggable_1qul7_gg_.__draggable_1qul7_gg_{position:relative;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}.___SDraggable_1qul7_gg_.__draggable_1qul7_gg_::before{content:"";position:absolute;display:none;pointer-events:none;background-image:radial-gradient(circle at center,var(--intergalactic-icon-primary-neutral, #6c6e79) 1px,transparent 0);background-size:6px 6px;background-position:2px 2px;background-repeat:repeat repeat}@media (hover:hover){.___SDraggable_1qul7_gg_.__draggable_1qul7_gg_:hover::before{display:block}}.___SDraggable_1qul7_gg_.__draggable_1qul7_gg_.__hideHoverEffect_1qul7_gg_:not(._role_menuitemcheckbox_1qul7_gg_)::before{display:none}.___SDraggable_1qul7_gg_._placement_right_1qul7_gg_::before{right:0}.___SDraggable_1qul7_gg_._placement_bottom_1qul7_gg_::before{bottom:0}.___SDraggable_1qul7_gg_._placement_left_1qul7_gg_::before{left:0}.___SDraggable_1qul7_gg_._placement_top_1qul7_gg_::before{top:0;left:0;width:100%;height:16px}.___SDraggable_1qul7_gg_._placement_bottom_1qul7_gg_::before{left:0;width:100%;height:16px}.___SDraggable_1qul7_gg_._placement_left_1qul7_gg_::before,.___SDraggable_1qul7_gg_._placement_right_1qul7_gg_::before{top:0;width:16px;height:100%}.___SDropZone_1qul7_gg_{position:relative}.___SDraggable_1qul7_gg_.__dropPreview_1qul7_gg_,.___SDropZone_1qul7_gg_.__dropPreview_1qul7_gg_{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SDraggable_1qul7_gg_.__dark_1qul7_gg_.__dropPreview_1qul7_gg_,.___SDropZone_1qul7_gg_.__dark_1qul7_gg_.__dropPreview_1qul7_gg_{background-color:var(--intergalactic-bg-primary-invert-active, #484a54)}.___SDraggable_1qul7_gg_:focus{outline:0}.___SDraggable_1qul7_gg_.__keyboardFocused_1qul7_gg_:focus{box-shadow:none}.___SDraggable_1qul7_gg_.__keyboardFocused_1qul7_gg_:focus:after{position:absolute;display:block;content:"";top:3px;right:3px;bottom:3px;left:3px;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none}.___SDraggable_1qul7_gg_.__keyboardDragging_1qul7_gg_{scale:1.1;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);box-shadow:var(--intergalactic-box-shadow-dnd, 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 12px 40px 0px rgba(25, 27, 35, 0.16))!important}.___SDraggable_1qul7_gg_.__keyboardDragging_1qul7_gg_.__hideHoverEffect_1qul7_gg_::before,.___SDraggable_1qul7_gg_.__keyboardDragging_1qul7_gg_::before{display:block}.___SDraggable_1qul7_gg_.__keyboardDragging_1qul7_gg_.__reversedScaling_1qul7_gg_{scale:.95}.___SDraggable_1qul7_gg_.__animatedScaling_1qul7_gg_{transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SA11yHint_1qul7_gg_{position:absolute;margin-top:-1px;height:1px;width:1px;clip:rect(0 0 0 0)}@media (prefers-reduced-motion:reduce){.___SDraggable_1qul7_gg_{transition:none}}',
24
+ "1qul7_gg_"
25
25
  ), {
26
- __SDraggable: "___SDraggable_1h0wo_gg_",
27
- _placement_top: "_placement_top_1h0wo_gg_",
28
- _placement_right: "_placement_right_1h0wo_gg_",
29
- _placement_left: "_placement_left_1h0wo_gg_",
30
- _placement_bottom: "_placement_bottom_1h0wo_gg_",
31
- __SDropZone: "___SDropZone_1h0wo_gg_",
32
- _dropPreview: "__dropPreview_1h0wo_gg_",
33
- _dark: "__dark_1h0wo_gg_",
34
- _keyboardFocused: "__keyboardFocused_1h0wo_gg_",
35
- _keyboardDragging: "__keyboardDragging_1h0wo_gg_",
36
- _reversedScaling: "__reversedScaling_1h0wo_gg_",
37
- _animatedScaling: "__animatedScaling_1h0wo_gg_",
38
- __SA11yHint: "___SA11yHint_1h0wo_gg_",
39
- _draggable: "__draggable_1h0wo_gg_",
40
- _hideHoverEffect: "__hideHoverEffect_1h0wo_gg_",
41
- _role_menuitemcheckbox: "_role_menuitemcheckbox_1h0wo_gg_"
26
+ __SDraggable: "___SDraggable_1qul7_gg_",
27
+ _placement_top: "_placement_top_1qul7_gg_",
28
+ _placement_right: "_placement_right_1qul7_gg_",
29
+ _placement_left: "_placement_left_1qul7_gg_",
30
+ _placement_bottom: "_placement_bottom_1qul7_gg_",
31
+ __SDropZone: "___SDropZone_1qul7_gg_",
32
+ _dropPreview: "__dropPreview_1qul7_gg_",
33
+ _dark: "__dark_1qul7_gg_",
34
+ _keyboardFocused: "__keyboardFocused_1qul7_gg_",
35
+ _keyboardDragging: "__keyboardDragging_1qul7_gg_",
36
+ _reversedScaling: "__reversedScaling_1qul7_gg_",
37
+ _animatedScaling: "__animatedScaling_1qul7_gg_",
38
+ __SA11yHint: "___SA11yHint_1qul7_gg_",
39
+ _draggable: "__draggable_1qul7_gg_",
40
+ _hideHoverEffect: "__hideHoverEffect_1qul7_gg_",
41
+ _role_menuitemcheckbox: "_role_menuitemcheckbox_1qul7_gg_"
42
42
  })
43
- ), M = function() {
44
- }, B = /* @__PURE__ */ x.createContext({
45
- attach: M,
46
- detach: M
47
- }), C = /* @__PURE__ */ function(A) {
48
- q(p, A);
49
- var c = J(p);
50
- function p() {
43
+ ), T = function() {
44
+ }, K = /* @__PURE__ */ q.createContext({
45
+ attach: T,
46
+ detach: T
47
+ }), P = /* @__PURE__ */ function(H) {
48
+ U(b, H);
49
+ var c = J(b);
50
+ function b() {
51
51
  var e;
52
- L(this, p);
53
- for (var b = arguments.length, _ = new Array(b), D = 0; D < b; D++)
54
- _[D] = arguments[D];
55
- return e = c.call.apply(c, [this].concat(_)), s(h(e), "state", {
52
+ W(this, b);
53
+ for (var h = arguments.length, u = new Array(h), D = 0; D < h; D++)
54
+ u[D] = arguments[D];
55
+ return e = c.call.apply(c, [this].concat(u)), s(p(e), "state", {
56
56
  items: [],
57
57
  dragging: null,
58
58
  dragOver: null,
@@ -62,17 +62,17 @@ var ne = (
62
62
  keyboardDraggingIndex: null,
63
63
  animatedScaling: null,
64
64
  reversedScaling: !1
65
- }), s(h(e), "containerRef", /* @__PURE__ */ x.createRef()), s(h(e), "clearA11yHintTimeout", 0), s(h(e), "handleItemDragStart", function(t) {
65
+ }), s(p(e), "containerRef", /* @__PURE__ */ q.createRef()), s(p(e), "clearA11yHintTimeout", 0), s(p(e), "handleItemDragStart", function(t) {
66
66
  var r = e.state.items, n = r[t];
67
67
  if (n) {
68
68
  var a = n.node.getAttribute("aria-label") || n.node.textContent || "".concat(t + 1), i = n.zoneName, g = i ? r.filter(function(l) {
69
69
  return (l == null ? void 0 : l.zoneName) === i;
70
- }) : r, o = g.length, u = g.findIndex(function(l) {
70
+ }) : r, o = g.length, _ = g.findIndex(function(l) {
71
71
  return (l == null ? void 0 : l.node) === n.node || (l == null ? void 0 : l.id) && (l == null ? void 0 : l.id) === n.id;
72
72
  });
73
73
  e.setA11yHint(i ? "grabbedWithZone" : "grabbed", {
74
74
  itemText: a,
75
- itemPosition: u + 1,
75
+ itemPosition: _ + 1,
76
76
  itemsCount: o,
77
77
  zoneName: i || ""
78
78
  }), e.setState(function(l) {
@@ -86,51 +86,51 @@ var ne = (
86
86
  };
87
87
  });
88
88
  }
89
- }), s(h(e), "handleItemDragEnd", function(t) {
89
+ }), s(p(e), "handleItemDragEnd", function(t) {
90
90
  t.preventDefault(), e.setState({
91
91
  dragging: null,
92
92
  dragOver: null,
93
93
  reversedScaling: !1,
94
94
  keyboardDraggingIndex: null
95
95
  });
96
- }), s(h(e), "handleItemDragOver", function(t) {
96
+ }), s(p(e), "handleItemDragOver", function(t) {
97
97
  t.preventDefault();
98
98
  var r = e.state, n = r.items, a = r.dragging, i = r.dragOver;
99
99
  if (a) {
100
100
  var g = a.initialItemsRects.findIndex(function(d) {
101
101
  return d && t.clientX > d.x && t.clientX < d.x + d.width && t.clientY > d.y && t.clientY < d.y + d.height;
102
- }), o = n[g], u = n[a.index];
103
- if (!(!o || !u || g === i)) {
104
- var l = o.isDropZone ? u.node : o.node, f = l.getAttribute("aria-label") || l.textContent || "".concat(g + 1), m = o.zoneName, v = m ? n.filter(function(d) {
102
+ }), o = n[g], _ = n[a.index];
103
+ if (!(!o || !_ || g === i)) {
104
+ var l = o.isDropZone ? _.node : o.node, f = l.getAttribute("aria-label") || l.textContent || "".concat(g + 1), m = o.zoneName, v = m ? n.filter(function(d) {
105
105
  return (d == null ? void 0 : d.zoneName) === m;
106
- }) : n, w = v.length, k = v.findIndex(function(d) {
106
+ }) : n, y = v.length, k = v.findIndex(function(d) {
107
107
  return (d == null ? void 0 : d.node) === o.node || (d == null ? void 0 : d.id) && (d == null ? void 0 : d.id) === o.id;
108
- }), y = m ? o.isDropZone ? "grabbingJustWithZone" : "grabbingFullWithZone" : "grabbing";
109
- e.setA11yHint(y, {
108
+ }), S = m ? o.isDropZone ? "grabbingJustWithZone" : "grabbingFullWithZone" : "grabbing";
109
+ e.setA11yHint(S, {
110
110
  itemText: f,
111
111
  itemPosition: k + 1,
112
- itemsCount: w,
112
+ itemsCount: y,
113
113
  zoneName: m || ""
114
114
  }), e.setState({
115
115
  dragOver: g
116
116
  }, e.swapElements);
117
117
  }
118
118
  }
119
- }), s(h(e), "handleItemDrop", function() {
119
+ }), s(p(e), "handleItemDrop", function() {
120
120
  var t = e.asProps.onDnD;
121
121
  if (t) {
122
122
  var r = e.state, n = r.items, a = r.dragging, i = r.dragOver;
123
123
  if (a) {
124
124
  var g = i !== null ? n[i] : n[a.index], o = n[a.index];
125
125
  if (!(!g || !o)) {
126
- var u = g.isDropZone ? o.node : g.node, l = u.getAttribute("aria-label") || u.textContent || "".concat((i ?? a.index) + 1), f = g.zoneName, m = f ? n.filter(function(S) {
127
- return (S == null ? void 0 : S.zoneName) === f;
128
- }) : n, v = m.length, w = m.findIndex(function(S) {
129
- return (S == null ? void 0 : S.node) === g.node || (S == null ? void 0 : S.id) && (S == null ? void 0 : S.id) === g.id;
126
+ var _ = g.isDropZone ? o.node : g.node, l = _.getAttribute("aria-label") || _.textContent || "".concat((i ?? a.index) + 1), f = g.zoneName, m = f ? n.filter(function(x) {
127
+ return (x == null ? void 0 : x.zoneName) === f;
128
+ }) : n, v = m.length, y = m.findIndex(function(x) {
129
+ return (x == null ? void 0 : x.node) === g.node || (x == null ? void 0 : x.id) && (x == null ? void 0 : x.id) === g.id;
130
130
  }), k = f ? g.isDropZone ? "droppedJustWithZone" : "droppedFullWithZone" : "dropped";
131
131
  if (e.setA11yHint(k, {
132
132
  itemText: l,
133
- itemPosition: w + 1,
133
+ itemPosition: y + 1,
134
134
  itemsCount: v,
135
135
  zoneName: f || ""
136
136
  }), e.setState({
@@ -140,31 +140,31 @@ var ne = (
140
140
  hideHoverEffect: !0,
141
141
  reversedScaling: !1
142
142
  }), a && n[a.index]) {
143
- var y = n[a.index];
144
- y && t({
145
- fromId: y.id,
143
+ var S = n[a.index];
144
+ S && t({
145
+ fromId: S.id,
146
146
  fromIndex: a.index,
147
147
  toId: g.id,
148
148
  toIndex: i ?? a.index
149
149
  });
150
150
  }
151
151
  if (g.draggingAllowed) {
152
- var I, P, F;
153
- (I = (P = e.asProps).onSwapDraggable) === null || I === void 0 || I.call(P, (F = n[a.index]) === null || F === void 0 ? void 0 : F.children, g.children);
152
+ var I, A, C;
153
+ (I = (A = e.asProps).onSwapDraggable) === null || I === void 0 || I.call(A, (C = n[a.index]) === null || C === void 0 ? void 0 : C.children, g.children);
154
154
  } else {
155
- var d, E, H;
156
- (d = (E = e.asProps).onInsertDroppable) === null || d === void 0 || d.call(E, (H = n[a.index]) === null || H === void 0 ? void 0 : H.children, g.children);
155
+ var d, w, E;
156
+ (d = (w = e.asProps).onInsertDroppable) === null || d === void 0 || d.call(w, (E = n[a.index]) === null || E === void 0 ? void 0 : E.children, g.children);
157
157
  }
158
158
  }
159
159
  }
160
160
  }
161
- }), s(h(e), "handleItemDragEnter", function(t) {
161
+ }), s(p(e), "handleItemDragEnter", function(t) {
162
162
  t.preventDefault();
163
- }), s(h(e), "handleItemMouseMove", function() {
163
+ }), s(p(e), "handleItemMouseMove", function() {
164
164
  e.state.hideHoverEffect && e.setState({
165
165
  hideHoverEffect: !1
166
166
  });
167
- }), s(h(e), "updateItemScaling", function() {
167
+ }), s(p(e), "updateItemScaling", function() {
168
168
  var t, r = (t = e.state.items[0]) === null || t === void 0 ? void 0 : t.node;
169
169
  if (r && !e.state.reversedScaling) {
170
170
  for (var n = r.getBoundingClientRect(), a = !1, i = r.parentElement; i && i !== document.body; ) {
@@ -182,17 +182,17 @@ var ne = (
182
182
  reversedScaling: a
183
183
  });
184
184
  }
185
- }), s(h(e), "swapElements", function() {
186
- var t, r, n, a = e.state, i = a.items, g = a.dragging, o = a.dragOver, u = (t = g == null ? void 0 : g.index) !== null && t !== void 0 ? t : null;
187
- if (!(u === null || o === null)) {
188
- var l = (r = i[u]) === null || r === void 0 ? void 0 : r.node, f = (n = i[o]) === null || n === void 0 ? void 0 : n.node;
185
+ }), s(p(e), "swapElements", function() {
186
+ var t, r, n, a = e.state, i = a.items, g = a.dragging, o = a.dragOver, _ = (t = g == null ? void 0 : g.index) !== null && t !== void 0 ? t : null;
187
+ if (!(_ === null || o === null)) {
188
+ var l = (r = i[_]) === null || r === void 0 ? void 0 : r.node, f = (n = i[o]) === null || n === void 0 ? void 0 : n.node;
189
189
  if (!(!l || !f)) {
190
- if (u === o) {
191
- var m, v, w, k = (m = (v = i[o + 1]) === null || v === void 0 ? void 0 : v.node) !== null && m !== void 0 ? m : null;
192
- (w = e.containerRef.current) === null || w === void 0 || w.insertBefore(l, k);
193
- } else if (u > o) {
194
- var y;
195
- (y = e.containerRef.current) === null || y === void 0 || y.insertBefore(l, f);
190
+ if (_ === o) {
191
+ var m, v, y, k = (m = (v = i[o + 1]) === null || v === void 0 ? void 0 : v.node) !== null && m !== void 0 ? m : null;
192
+ (y = e.containerRef.current) === null || y === void 0 || y.insertBefore(l, k);
193
+ } else if (_ > o) {
194
+ var S;
195
+ (S = e.containerRef.current) === null || S === void 0 || S.insertBefore(l, f);
196
196
  } else {
197
197
  var d;
198
198
  (d = e.containerRef.current) === null || d === void 0 || d.insertBefore(l, f.nextSibling);
@@ -200,7 +200,7 @@ var ne = (
200
200
  l.focus();
201
201
  }
202
202
  }
203
- }), s(h(e), "handleItemKeyDown", function(t, r) {
203
+ }), s(p(e), "handleItemKeyDown", function(t, r) {
204
204
  if (t.target === t.currentTarget) {
205
205
  if (e.state.dragging && t.key === "Tab" && (t.preventDefault(), t.stopPropagation()), t.key === " ") {
206
206
  var n;
@@ -222,7 +222,7 @@ var ne = (
222
222
  hideHoverEffect: !0
223
223
  });
224
224
  for (var a = e.state.items, i = a.length - 1; i >= 0; i--) {
225
- var g, o, u, l = (g = a[i]) === null || g === void 0 ? void 0 : g.node, f = (o = (u = a[i + 1]) === null || u === void 0 ? void 0 : u.node) !== null && o !== void 0 ? o : null;
225
+ var g, o, _, l = (g = a[i]) === null || g === void 0 ? void 0 : g.node, f = (o = (_ = a[i + 1]) === null || _ === void 0 ? void 0 : _.node) !== null && o !== void 0 ? o : null;
226
226
  if (l) {
227
227
  var m;
228
228
  (m = e.containerRef.current) === null || m === void 0 || m.insertBefore(l, f);
@@ -236,26 +236,26 @@ var ne = (
236
236
  var v = t.currentTarget;
237
237
  if (!v || v !== document.activeElement) return;
238
238
  t.preventDefault(), t.stopPropagation(), requestAnimationFrame(function() {
239
- var w;
239
+ var y;
240
240
  if (!(!(v instanceof HTMLElement) || v !== document.activeElement)) {
241
- var k = [], y = {
241
+ var k = [], S = {
242
242
  top: 0,
243
243
  right: 0,
244
244
  bottom: 0,
245
245
  left: 0
246
246
  };
247
- (w = e.containerRef.current) === null || w === void 0 || w.childNodes.forEach(function(E, H) {
248
- if (E instanceof HTMLElement && E.getAttribute("draggable") !== null) {
249
- var I = E.getBoundingClientRect(), P = {
247
+ (y = e.containerRef.current) === null || y === void 0 || y.childNodes.forEach(function(w, E) {
248
+ if (w instanceof HTMLElement && w.getAttribute("draggable") !== null) {
249
+ var I = w.getBoundingClientRect(), A = {
250
250
  top: Math.round(I.top),
251
251
  right: Math.round(I.right),
252
252
  bottom: Math.round(I.bottom),
253
253
  left: Math.round(I.left)
254
254
  };
255
- k.push(P), E === v && (y = P);
255
+ k.push(A), w === v && (S = A);
256
256
  }
257
257
  });
258
- var d = re(k, y, t.key);
258
+ var d = re(k, S, t.key);
259
259
  return d === -1 || v && e.state.dragging !== null && (e.setA11yHint("grabbing", {
260
260
  itemPosition: d + 1,
261
261
  itemsCount: e.state.items.length
@@ -268,23 +268,23 @@ var ne = (
268
268
  });
269
269
  }
270
270
  }
271
- }), s(h(e), "handleItemFocus", function() {
271
+ }), s(p(e), "handleItemFocus", function() {
272
272
  e.state.dragging && e.updateItemScaling();
273
- }), s(h(e), "makeItemDragStartHandler", function(t) {
273
+ }), s(p(e), "makeItemDragStartHandler", function(t) {
274
274
  return function() {
275
275
  return e.handleItemDragStart(t);
276
276
  };
277
- }), s(h(e), "makeItemKeyDownHandler", function(t) {
277
+ }), s(p(e), "makeItemKeyDownHandler", function(t) {
278
278
  return function(r) {
279
279
  return e.handleItemKeyDown(r, t);
280
280
  };
281
- }), s(h(e), "handlePageKeyDown", function(t) {
281
+ }), s(p(e), "handlePageKeyDown", function(t) {
282
282
  if (e.asProps.customFocus !== void 0) {
283
283
  var r = e.getCustomFocusItemIndex(e.asProps.customFocus);
284
284
  e.state.items[r] && e.handleItemKeyDown(t, r);
285
285
  }
286
- }), s(h(e), "attach", function(t) {
287
- var r = t.index, n = t.children, a = t.node, i = t.id, g = t.draggingAllowed, o = t.zoneName, u = t.isDropZone;
286
+ }), s(p(e), "attach", function(t) {
287
+ var r = t.index, n = t.children, a = t.node, i = t.id, g = t.draggingAllowed, o = t.zoneName, _ = t.isDropZone;
288
288
  e.setState(function(l) {
289
289
  var f, m;
290
290
  if (((f = l.items[r]) === null || f === void 0 ? void 0 : f.children) === n && ((m = l.items[r]) === null || m === void 0 ? void 0 : m.node) === a) return l;
@@ -295,20 +295,20 @@ var ne = (
295
295
  id: i,
296
296
  draggingAllowed: g,
297
297
  zoneName: o,
298
- isDropZone: u
298
+ isDropZone: _
299
299
  }, {
300
- items: T(v)
300
+ items: z(v)
301
301
  };
302
302
  });
303
- }), s(h(e), "detach", function(t) {
303
+ }), s(p(e), "detach", function(t) {
304
304
  e.setState(function(r) {
305
305
  if (!r.items[t]) return r;
306
306
  var n = r.items;
307
307
  return n[t] = void 0, {
308
- items: T(n)
308
+ items: z(n)
309
309
  };
310
310
  });
311
- }), s(h(e), "getCustomFocusItemIndex", function(t) {
311
+ }), s(p(e), "getCustomFocusItemIndex", function(t) {
312
312
  if (t !== void 0) {
313
313
  var r = t;
314
314
  if (typeof r == "string" && (r = e.state.items.findIndex(function(n) {
@@ -316,7 +316,7 @@ var ne = (
316
316
  })), !(r === -1 || typeof r != "number"))
317
317
  return r;
318
318
  }
319
- }), s(h(e), "setA11yHint", function(t) {
319
+ }), s(p(e), "setA11yHint", function(t) {
320
320
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
321
321
  clearTimeout(e.clearA11yHintTimeout);
322
322
  var n = e.asProps.getI18nText;
@@ -329,27 +329,27 @@ var ne = (
329
329
  }, 2e3));
330
330
  }), e;
331
331
  }
332
- return U(p, [{
332
+ return L(b, [{
333
333
  key: "getDraggableProps",
334
- value: function(b, _) {
334
+ value: function(h, u) {
335
335
  var D = this.asProps.uid;
336
336
  return {
337
337
  uid: D,
338
- index: _,
339
- onDragStart: this.makeItemDragStartHandler(_),
338
+ index: u,
339
+ onDragStart: this.makeItemDragStartHandler(u),
340
340
  onDragEnd: this.handleItemDragEnd,
341
341
  onDragOver: this.handleItemDragOver,
342
342
  onDragEnter: this.handleItemDragEnter,
343
343
  onDrop: this.handleItemDrop,
344
344
  onMouseMove: this.handleItemMouseMove,
345
- onKeyDown: this.makeItemKeyDownHandler(_),
345
+ onKeyDown: this.makeItemKeyDownHandler(u),
346
346
  onFocus: this.handleItemFocus,
347
- dropPreview: _ === this.state.dragOver,
348
- keyboardDragging: _ === this.state.keyboardDraggingIndex,
347
+ dropPreview: u === this.state.dragOver,
348
+ keyboardDragging: u === this.state.keyboardDraggingIndex,
349
349
  reversedScaling: this.state.reversedScaling,
350
350
  dark: this.asProps.theme === "dark",
351
351
  hideHoverEffect: this.state.hideHoverEffect,
352
- animatedScaling: _ === this.state.animatedScaling
352
+ animatedScaling: u === this.state.animatedScaling
353
353
  };
354
354
  }
355
355
  }, {
@@ -368,122 +368,122 @@ var ne = (
368
368
  }
369
369
  }, {
370
370
  key: "componentDidUpdate",
371
- value: function(b) {
372
- if (b.customFocus !== this.asProps.customFocus) {
373
- var _ = this.getCustomFocusItemIndex(this.asProps.customFocus);
374
- this.state.items[_] && this.handleItemFocus();
371
+ value: function(h) {
372
+ if (h.customFocus !== this.asProps.customFocus) {
373
+ var u = this.getCustomFocusItemIndex(this.asProps.customFocus);
374
+ this.state.items[u] && this.handleItemFocus();
375
375
  }
376
376
  }
377
377
  }, {
378
378
  key: "render",
379
379
  value: function() {
380
- var b = this.asProps, _, D = this.attach, t = this.detach, r = "div", n = this.state, a = n.a11yHint;
380
+ var h = this.asProps, u, D = this.attach, t = this.detach, r = "div", n = this.state, a = n.a11yHint;
381
381
  n.dragging;
382
382
  var i = {
383
383
  attach: D,
384
384
  detach: t
385
- }, g = this.asProps, o = g.getI18nText, u = g.uid;
386
- return _ = Z(this.asProps.styles), /* @__PURE__ */ x.createElement(B.Provider, {
385
+ }, g = this.asProps, o = g.getI18nText, _ = g.uid;
386
+ return u = F(this.asProps.styles), /* @__PURE__ */ q.createElement(K.Provider, {
387
387
  value: i
388
- }, a && /* @__PURE__ */ x.createElement(r, _.cn("SA11yHint", {
388
+ }, a && /* @__PURE__ */ q.createElement(r, u.cn("SA11yHint", {
389
389
  role: "alert",
390
390
  "aria-live": "assertive"
391
- }), a), /* @__PURE__ */ x.createElement(R, z({
391
+ }), a), /* @__PURE__ */ q.createElement(O, Z({
392
392
  role: "group",
393
393
  ref: this.containerRef
394
- }, b)), /* @__PURE__ */ x.createElement(G, _.cn("ScreenReaderOnly", {
395
- id: "describe-draggable-".concat(u),
394
+ }, h)), /* @__PURE__ */ q.createElement(G, u.cn("ScreenReaderOnly", {
395
+ id: "describe-draggable-".concat(_),
396
396
  "aria-hidden": "true"
397
397
  }), o("describe", {
398
398
  control: "Space"
399
399
  })));
400
400
  }
401
- }]), p;
401
+ }]), b;
402
402
  }(j);
403
- s(C, "displayName", "DragAndDrop");
404
- s(C, "enhance", [Q(K), ee()]);
405
- s(C, "defaultProps", {
403
+ s(P, "displayName", "DragAndDrop");
404
+ s(P, "enhance", [Q(R), ee()]);
405
+ s(P, "defaultProps", {
406
406
  theme: "default",
407
- i18n: K,
407
+ i18n: R,
408
408
  locale: "en"
409
409
  });
410
- s(C, "style", ne);
411
- var W = function(c) {
412
- var p = arguments[0], e, b = R, _ = x.useRef(), D = x.useContext(B), t = D.attach, r = D.detach, n = c.styles, a = c.placement, i = a === void 0 ? "right" : a, g = c.noDrag, o = g === void 0 ? !1 : g, u = c.index, l = c.children, f = c.Children, m = c.id, v = c.zoneName, w = c.isDropZone, k = w === void 0 ? !1 : w, y = c.uid, d = c.isCustomFocus, E = d === void 0 ? !1 : d, H = c.keyboardFocused, I = x.useMemo(function() {
410
+ s(P, "style", ne);
411
+ var B = function(c) {
412
+ var b = arguments[0], e, h = O, u = q.useRef(), D = q.useContext(K), t = D.attach, r = D.detach, n = c.styles, a = c.placement, i = a === void 0 ? "right" : a, g = c.noDrag, o = g === void 0 ? !1 : g, _ = c.index, l = c.children, f = c.Children, m = c.id, v = c.zoneName, y = c.isDropZone, k = y === void 0 ? !1 : y, S = c.uid, d = c.isCustomFocus, w = d === void 0 ? !1 : d, E = c.keyboardFocused, I = q.useMemo(function() {
413
413
  return typeof l == "function" ? l(c) : l;
414
414
  }, [l, c]);
415
415
  return V(function() {
416
416
  return t({
417
- index: u,
417
+ index: _,
418
418
  children: I,
419
- node: _.current,
419
+ node: u.current,
420
420
  id: m,
421
421
  draggingAllowed: !o,
422
422
  zoneName: v,
423
423
  isDropZone: k
424
424
  }), function() {
425
- return r(u);
425
+ return r(_);
426
426
  };
427
- }, [u, I, t, r, m]), e = Z(n), /* @__PURE__ */ x.createElement(b, e.cn("SDraggable", O({}, z({
428
- ref: _,
427
+ }, [_, I, t, r, m]), e = F(n), /* @__PURE__ */ q.createElement(h, e.cn("SDraggable", N({}, Z({
428
+ ref: u,
429
429
  draggable: !o,
430
430
  placement: i,
431
431
  role: "group",
432
- "aria-describedby": "describe-draggable-".concat(y),
433
- "use:keyboardFocused": E ? !1 : H
434
- }, p))), /* @__PURE__ */ x.createElement(f, e.cn("Children", {})));
432
+ "aria-describedby": "describe-draggable-".concat(S),
433
+ "use:keyboardFocused": w ? !1 : E
434
+ }, b))), /* @__PURE__ */ q.createElement(f, e.cn("Children", {})));
435
435
  };
436
- W.enhance = [$()];
437
- var re = function(c, p, e) {
438
- for (var b = null, _ = 1 / 0, D = 0; D < c.length; D++) {
436
+ B.enhance = [$()];
437
+ var re = function(c, b, e) {
438
+ for (var h = null, u = 1 / 0, D = 0; D < c.length; D++) {
439
439
  var t = c[D];
440
- if (t && t !== p) {
441
- var r = p.top <= t.bottom && p.bottom >= t.top, n = p.left <= t.right && p.right >= t.left;
440
+ if (t && t !== b) {
441
+ var r = b.top <= t.bottom && b.bottom >= t.top, n = b.left <= t.right && b.right >= t.left;
442
442
  if (!(!r && !n))
443
443
  switch (e) {
444
444
  case "ArrowRight": {
445
445
  if (!r) continue;
446
- var a = t.left - p.right;
447
- if (a < 0 || a >= _) continue;
448
- b = t, _ = a;
446
+ var a = t.left - b.right;
447
+ if (a < 0 || a >= u) continue;
448
+ h = t, u = a;
449
449
  break;
450
450
  }
451
451
  case "ArrowLeft": {
452
452
  if (!r) continue;
453
- var i = p.left - t.right;
454
- if (i < 0 || i >= _) continue;
455
- b = t, _ = i;
453
+ var i = b.left - t.right;
454
+ if (i < 0 || i >= u) continue;
455
+ h = t, u = i;
456
456
  break;
457
457
  }
458
458
  case "ArrowUp": {
459
459
  if (!n) continue;
460
- var g = p.top - t.bottom;
461
- if (g < 0 || g >= _) continue;
462
- b = t, _ = g;
460
+ var g = b.top - t.bottom;
461
+ if (g < 0 || g >= u) continue;
462
+ h = t, u = g;
463
463
  break;
464
464
  }
465
465
  case "ArrowDown": {
466
466
  if (!n) continue;
467
- var o = t.top - p.bottom;
468
- if (o < 0 || o >= _) continue;
469
- b = t, _ = o;
467
+ var o = t.top - b.bottom;
468
+ if (o < 0 || o >= u) continue;
469
+ h = t, u = o;
470
470
  break;
471
471
  }
472
472
  }
473
473
  }
474
474
  }
475
- return c.indexOf(b);
476
- }, N = function(c) {
477
- var p = arguments[0], e, b = ae.Draggable, _ = c.styles;
478
- return e = Z(_), /* @__PURE__ */ x.createElement(b, e.cn("SDropZone", O({}, z({
475
+ return c.indexOf(h);
476
+ }, M = function(c) {
477
+ var b = arguments[0], e, h = ae.Draggable, u = c.styles;
478
+ return e = F(u), /* @__PURE__ */ q.createElement(h, e.cn("SDropZone", N({}, Z({
479
479
  noDrag: !0,
480
480
  isDropZone: !0,
481
481
  "aria-describedby": null
482
- }, p))));
483
- }, ae = Y(C, {
484
- Draggable: W,
485
- DropZone: N,
486
- Dropable: N
482
+ }, b))));
483
+ }, ae = Y(P, {
484
+ Draggable: B,
485
+ DropZone: M,
486
+ Dropable: M
487
487
  });
488
488
  export {
489
489
  ae as default
@@ -1 +1 @@
1
- {"name":"intergalactic/drag-and-drop","description":"Semrush DragAndDrop Component","version":"3.47.1-prerelease.8","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/card":"5.46.1-prerelease.8","@semcore/flex-box":"5.41.1-prerelease.8","@semcore/grid":"5.40.1-prerelease.8","@semcore/utils":"4.48.1-prerelease.8"},"peerDependencies":{"@semcore/core":"^2.39.1-prerelease.8","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/drag-and-drop"},"devDependencies":{"@semcore/badge":"*","@semcore/icon":"*","@semcore/testing-utils":"1.0.0","@semcore/tab-panel":"*","@types/react":"18.0.21"}}
1
+ {"name":"intergalactic/drag-and-drop","description":"Semrush DragAndDrop Component","version":"3.48.0-prerelease.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/card":"5.47.0-prerelease.0","@semcore/flex-box":"5.41.1","@semcore/grid":"5.40.1","@semcore/utils":"4.48.1"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/drag-and-drop"},"devDependencies":{"@semcore/badge":"*","@semcore/icon":"*","@semcore/testing-utils":"1.0.0","@semcore/tab-panel":"*","@types/react":"18.0.21"}}
@@ -1 +1 @@
1
- {"name":"intergalactic/dropdown","description":"Semrush Dropdown Component","version":"4.43.1-prerelease.8","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/flex-box":"5.41.1-prerelease.8","@semcore/popper":"5.46.1-prerelease.8","@semcore/utils":"4.48.1-prerelease.8"},"peerDependencies":{"@semcore/core":"^2.39.1-prerelease.8","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/dropdown"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
1
+ {"name":"intergalactic/dropdown","description":"Semrush Dropdown Component","version":"4.43.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/flex-box":"5.41.1","@semcore/popper":"5.46.1","@semcore/utils":"4.48.1"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/dropdown"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}