@epilot/volt-ui-experimental-griffel 0.1.0-experiment.1

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 (764) hide show
  1. package/README.md +157 -0
  2. package/dist/_virtual/index.js +5 -0
  3. package/dist/_virtual/index.js.map +1 -0
  4. package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
  5. package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
  6. package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
  7. package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
  8. package/dist/components/accordion/accordion.d.ts +14 -0
  9. package/dist/components/accordion/accordion.js +167 -0
  10. package/dist/components/accordion/accordion.js.map +1 -0
  11. package/dist/components/alert-dialog/alert-dialog.d.ts +36 -0
  12. package/dist/components/alert-dialog/alert-dialog.js +270 -0
  13. package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
  14. package/dist/components/avatar/avatar-group.d.ts +7 -0
  15. package/dist/components/avatar/avatar-group.js +143 -0
  16. package/dist/components/avatar/avatar-group.js.map +1 -0
  17. package/dist/components/avatar/avatar.d.ts +17 -0
  18. package/dist/components/avatar/avatar.js +173 -0
  19. package/dist/components/avatar/avatar.js.map +1 -0
  20. package/dist/components/badge/badge.d.ts +41 -0
  21. package/dist/components/badge/badge.js +137 -0
  22. package/dist/components/badge/badge.js.map +1 -0
  23. package/dist/components/breadcrumb/breadcrumb.d.ts +31 -0
  24. package/dist/components/breadcrumb/breadcrumb.js +111 -0
  25. package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
  26. package/dist/components/button/button.d.ts +12 -0
  27. package/dist/components/button/button.js +168 -0
  28. package/dist/components/button/button.js.map +1 -0
  29. package/dist/components/button-group/button-group.d.ts +30 -0
  30. package/dist/components/button-group/button-group.js +123 -0
  31. package/dist/components/button-group/button-group.js.map +1 -0
  32. package/dist/components/callout/callout.d.ts +23 -0
  33. package/dist/components/callout/callout.js +312 -0
  34. package/dist/components/callout/callout.js.map +1 -0
  35. package/dist/components/card/card.d.ts +9 -0
  36. package/dist/components/card/card.js +172 -0
  37. package/dist/components/card/card.js.map +1 -0
  38. package/dist/components/checkbox/checkbox.d.ts +4 -0
  39. package/dist/components/checkbox/checkbox.js +123 -0
  40. package/dist/components/checkbox/checkbox.js.map +1 -0
  41. package/dist/components/collapsible-sidebar/collapsible-sidebar.d.ts +33 -0
  42. package/dist/components/collapsible-sidebar/collapsible-sidebar.js +216 -0
  43. package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -0
  44. package/dist/components/command/command.d.ts +85 -0
  45. package/dist/components/command/command.js +358 -0
  46. package/dist/components/command/command.js.map +1 -0
  47. package/dist/components/date-range-picker/date-range-picker-utils.d.ts +2 -0
  48. package/dist/components/date-range-picker/date-range-picker.d.ts +34 -0
  49. package/dist/components/date-range-picker/date-range-picker.js +393 -0
  50. package/dist/components/date-range-picker/date-range-picker.js.map +1 -0
  51. package/dist/components/date-range-picker/range-calendar.d.ts +15 -0
  52. package/dist/components/date-range-picker/range-calendar.js +143 -0
  53. package/dist/components/date-range-picker/range-calendar.js.map +1 -0
  54. package/dist/components/date-time-picker/calendar.d.ts +28 -0
  55. package/dist/components/date-time-picker/calendar.js +632 -0
  56. package/dist/components/date-time-picker/calendar.js.map +1 -0
  57. package/dist/components/date-time-picker/date-time-picker-context.d.ts +39 -0
  58. package/dist/components/date-time-picker/date-time-picker-context.js +79 -0
  59. package/dist/components/date-time-picker/date-time-picker-context.js.map +1 -0
  60. package/dist/components/date-time-picker/date-time-picker-input.d.ts +13 -0
  61. package/dist/components/date-time-picker/date-time-picker-input.js +229 -0
  62. package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -0
  63. package/dist/components/date-time-picker/date-time-picker-panel.d.ts +15 -0
  64. package/dist/components/date-time-picker/date-time-picker-panel.js +276 -0
  65. package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -0
  66. package/dist/components/date-time-picker/date-time-picker-popover.d.ts +6 -0
  67. package/dist/components/date-time-picker/date-time-picker-popover.js +26 -0
  68. package/dist/components/date-time-picker/date-time-picker-popover.js.map +1 -0
  69. package/dist/components/date-time-picker/date-time-picker-utils.d.ts +37 -0
  70. package/dist/components/date-time-picker/date-time-picker-utils.js +103 -0
  71. package/dist/components/date-time-picker/date-time-picker-utils.js.map +1 -0
  72. package/dist/components/date-time-picker/date-time-picker.d.ts +47 -0
  73. package/dist/components/date-time-picker/date-time-picker.js +112 -0
  74. package/dist/components/date-time-picker/date-time-picker.js.map +1 -0
  75. package/dist/components/date-time-picker/time-picker.d.ts +12 -0
  76. package/dist/components/date-time-picker/time-picker.js +269 -0
  77. package/dist/components/date-time-picker/time-picker.js.map +1 -0
  78. package/dist/components/dialog/dialog.d.ts +27 -0
  79. package/dist/components/dialog/dialog.js +333 -0
  80. package/dist/components/dialog/dialog.js.map +1 -0
  81. package/dist/components/drawer/drawer.d.ts +27 -0
  82. package/dist/components/drawer/drawer.js +437 -0
  83. package/dist/components/drawer/drawer.js.map +1 -0
  84. package/dist/components/dropdown-menu/dropdown-menu.d.ts +41 -0
  85. package/dist/components/dropdown-menu/dropdown-menu.js +424 -0
  86. package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
  87. package/dist/components/field/field-combobox.d.ts +90 -0
  88. package/dist/components/field/field-combobox.js +457 -0
  89. package/dist/components/field/field-combobox.js.map +1 -0
  90. package/dist/components/field/field-select.d.ts +4 -0
  91. package/dist/components/field/field-select.js +26 -0
  92. package/dist/components/field/field-select.js.map +1 -0
  93. package/dist/components/field/field.d.ts +76 -0
  94. package/dist/components/field/field.js +482 -0
  95. package/dist/components/field/field.js.map +1 -0
  96. package/dist/components/label/label.d.ts +21 -0
  97. package/dist/components/label/label.js +87 -0
  98. package/dist/components/label/label.js.map +1 -0
  99. package/dist/components/list/list.d.ts +46 -0
  100. package/dist/components/list/list.js +770 -0
  101. package/dist/components/list/list.js.map +1 -0
  102. package/dist/components/option-card/option-card.d.ts +39 -0
  103. package/dist/components/option-card/option-card.js +454 -0
  104. package/dist/components/option-card/option-card.js.map +1 -0
  105. package/dist/components/pill/pill.d.ts +27 -0
  106. package/dist/components/pill/pill.js +159 -0
  107. package/dist/components/pill/pill.js.map +1 -0
  108. package/dist/components/popover/popover.d.ts +14 -0
  109. package/dist/components/popover/popover.js +138 -0
  110. package/dist/components/popover/popover.js.map +1 -0
  111. package/dist/components/radio/radio.d.ts +6 -0
  112. package/dist/components/radio/radio.js +138 -0
  113. package/dist/components/radio/radio.js.map +1 -0
  114. package/dist/components/scroll-overflow/scroll-overflow.d.ts +38 -0
  115. package/dist/components/scroll-overflow/scroll-overflow.js +485 -0
  116. package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -0
  117. package/dist/components/segmented-control/segmented-control.d.ts +11 -0
  118. package/dist/components/segmented-control/segmented-control.js +262 -0
  119. package/dist/components/segmented-control/segmented-control.js.map +1 -0
  120. package/dist/components/select/select.d.ts +26 -0
  121. package/dist/components/select/select.js +509 -0
  122. package/dist/components/select/select.js.map +1 -0
  123. package/dist/components/separator/separator.d.ts +30 -0
  124. package/dist/components/separator/separator.js +42 -0
  125. package/dist/components/separator/separator.js.map +1 -0
  126. package/dist/components/skeleton/skeleton.d.ts +24 -0
  127. package/dist/components/skeleton/skeleton.js +121 -0
  128. package/dist/components/skeleton/skeleton.js.map +1 -0
  129. package/dist/components/spinner/spinner.d.ts +25 -0
  130. package/dist/components/spinner/spinner.js +95 -0
  131. package/dist/components/spinner/spinner.js.map +1 -0
  132. package/dist/components/switch/switch.d.ts +17 -0
  133. package/dist/components/switch/switch.js +251 -0
  134. package/dist/components/switch/switch.js.map +1 -0
  135. package/dist/components/table/table.d.ts +50 -0
  136. package/dist/components/table/table.js +262 -0
  137. package/dist/components/table/table.js.map +1 -0
  138. package/dist/components/tabs/tabs.d.ts +18 -0
  139. package/dist/components/tabs/tabs.js +180 -0
  140. package/dist/components/tabs/tabs.js.map +1 -0
  141. package/dist/components/text/text.d.ts +22 -0
  142. package/dist/components/text/text.js +80 -0
  143. package/dist/components/text/text.js.map +1 -0
  144. package/dist/components/toast/toast.d.ts +10 -0
  145. package/dist/components/toast/toast.js +240 -0
  146. package/dist/components/toast/toast.js.map +1 -0
  147. package/dist/components/toggle/toggle-group.d.ts +10 -0
  148. package/dist/components/toggle/toggle-group.js +49 -0
  149. package/dist/components/toggle/toggle-group.js.map +1 -0
  150. package/dist/components/toggle/toggle.d.ts +10 -0
  151. package/dist/components/toggle/toggle.js +124 -0
  152. package/dist/components/toggle/toggle.js.map +1 -0
  153. package/dist/components/tooltip/tooltip.d.ts +15 -0
  154. package/dist/components/tooltip/tooltip.js +167 -0
  155. package/dist/components/tooltip/tooltip.js.map +1 -0
  156. package/dist/index.d.ts +47 -0
  157. package/dist/index.js +253 -0
  158. package/dist/index.js.map +1 -0
  159. package/dist/lib/clear-button.d.ts +5 -0
  160. package/dist/lib/clear-button.js +52 -0
  161. package/dist/lib/clear-button.js.map +1 -0
  162. package/dist/lib/icons.d.ts +3 -0
  163. package/dist/lib/icons.js +15 -0
  164. package/dist/lib/icons.js.map +1 -0
  165. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +57 -0
  166. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
  167. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +2599 -0
  168. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -0
  169. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +368 -0
  170. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
  171. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +236 -0
  172. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
  173. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +23 -0
  174. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  175. package/dist/node_modules/@griffel/core/src/constants.js +34 -0
  176. package/dist/node_modules/@griffel/core/src/constants.js.map +1 -0
  177. package/dist/node_modules/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js +27 -0
  178. package/dist/node_modules/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js.map +1 -0
  179. package/dist/node_modules/@griffel/core/src/devtools/getResetDebugSequence.js +19 -0
  180. package/dist/node_modules/@griffel/core/src/devtools/getResetDebugSequence.js.map +1 -0
  181. package/dist/node_modules/@griffel/core/src/devtools/getSourceURLfromError.js +18 -0
  182. package/dist/node_modules/@griffel/core/src/devtools/getSourceURLfromError.js.map +1 -0
  183. package/dist/node_modules/@griffel/core/src/devtools/injectDevTools.js +26 -0
  184. package/dist/node_modules/@griffel/core/src/devtools/injectDevTools.js.map +1 -0
  185. package/dist/node_modules/@griffel/core/src/devtools/isDevToolsEnabled.js +12 -0
  186. package/dist/node_modules/@griffel/core/src/devtools/isDevToolsEnabled.js.map +1 -0
  187. package/dist/node_modules/@griffel/core/src/devtools/mergeDebugSequence.js +15 -0
  188. package/dist/node_modules/@griffel/core/src/devtools/mergeDebugSequence.js.map +1 -0
  189. package/dist/node_modules/@griffel/core/src/devtools/react-render-tracker/stackTrace.js +40 -0
  190. package/dist/node_modules/@griffel/core/src/devtools/react-render-tracker/stackTrace.js.map +1 -0
  191. package/dist/node_modules/@griffel/core/src/devtools/store.js +22 -0
  192. package/dist/node_modules/@griffel/core/src/devtools/store.js.map +1 -0
  193. package/dist/node_modules/@griffel/core/src/devtools/utils.js +22 -0
  194. package/dist/node_modules/@griffel/core/src/devtools/utils.js.map +1 -0
  195. package/dist/node_modules/@griffel/core/src/index.js +52 -0
  196. package/dist/node_modules/@griffel/core/src/index.js.map +1 -0
  197. package/dist/node_modules/@griffel/core/src/insertionFactory.js +10 -0
  198. package/dist/node_modules/@griffel/core/src/insertionFactory.js.map +1 -0
  199. package/dist/node_modules/@griffel/core/src/makeResetStyles.js +26 -0
  200. package/dist/node_modules/@griffel/core/src/makeResetStyles.js.map +1 -0
  201. package/dist/node_modules/@griffel/core/src/makeStyles.js +33 -0
  202. package/dist/node_modules/@griffel/core/src/makeStyles.js.map +1 -0
  203. package/dist/node_modules/@griffel/core/src/mergeClasses.js +49 -0
  204. package/dist/node_modules/@griffel/core/src/mergeClasses.js.map +1 -0
  205. package/dist/node_modules/@griffel/core/src/renderer/createDOMRenderer.js +43 -0
  206. package/dist/node_modules/@griffel/core/src/renderer/createDOMRenderer.js.map +1 -0
  207. package/dist/node_modules/@griffel/core/src/renderer/createIsomorphicStyleSheet.js +23 -0
  208. package/dist/node_modules/@griffel/core/src/renderer/createIsomorphicStyleSheet.js.map +1 -0
  209. package/dist/node_modules/@griffel/core/src/renderer/getStyleSheetForBucket.js +81 -0
  210. package/dist/node_modules/@griffel/core/src/renderer/getStyleSheetForBucket.js.map +1 -0
  211. package/dist/node_modules/@griffel/core/src/renderer/safeInsertRule.js +19 -0
  212. package/dist/node_modules/@griffel/core/src/renderer/safeInsertRule.js.map +1 -0
  213. package/dist/node_modules/@griffel/core/src/resolveStyleRulesForSlots.js +15 -0
  214. package/dist/node_modules/@griffel/core/src/resolveStyleRulesForSlots.js.map +1 -0
  215. package/dist/node_modules/@griffel/core/src/runtime/compileAtomicCSSRule.js +28 -0
  216. package/dist/node_modules/@griffel/core/src/runtime/compileAtomicCSSRule.js.map +1 -0
  217. package/dist/node_modules/@griffel/core/src/runtime/compileCSSRules.js +23 -0
  218. package/dist/node_modules/@griffel/core/src/runtime/compileCSSRules.js.map +1 -0
  219. package/dist/node_modules/@griffel/core/src/runtime/compileKeyframeCSS.js +27 -0
  220. package/dist/node_modules/@griffel/core/src/runtime/compileKeyframeCSS.js.map +1 -0
  221. package/dist/node_modules/@griffel/core/src/runtime/compileResetCSSRules.js +31 -0
  222. package/dist/node_modules/@griffel/core/src/runtime/compileResetCSSRules.js.map +1 -0
  223. package/dist/node_modules/@griffel/core/src/runtime/getStyleBucketName.js +34 -0
  224. package/dist/node_modules/@griffel/core/src/runtime/getStyleBucketName.js.map +1 -0
  225. package/dist/node_modules/@griffel/core/src/runtime/reduceToClassNameForSlots.js +33 -0
  226. package/dist/node_modules/@griffel/core/src/runtime/reduceToClassNameForSlots.js.map +1 -0
  227. package/dist/node_modules/@griffel/core/src/runtime/resolveResetStyleRules.js +95 -0
  228. package/dist/node_modules/@griffel/core/src/runtime/resolveResetStyleRules.js.map +1 -0
  229. package/dist/node_modules/@griffel/core/src/runtime/resolveStyleRules.js +187 -0
  230. package/dist/node_modules/@griffel/core/src/runtime/resolveStyleRules.js.map +1 -0
  231. package/dist/node_modules/@griffel/core/src/runtime/shorthands.js +146 -0
  232. package/dist/node_modules/@griffel/core/src/runtime/shorthands.js.map +1 -0
  233. package/dist/node_modules/@griffel/core/src/runtime/stylis/globalPlugin.js +29 -0
  234. package/dist/node_modules/@griffel/core/src/runtime/stylis/globalPlugin.js.map +1 -0
  235. package/dist/node_modules/@griffel/core/src/runtime/stylis/isAtRuleElement.js +15 -0
  236. package/dist/node_modules/@griffel/core/src/runtime/stylis/isAtRuleElement.js.map +1 -0
  237. package/dist/node_modules/@griffel/core/src/runtime/stylis/prefixerPlugin.js +107 -0
  238. package/dist/node_modules/@griffel/core/src/runtime/stylis/prefixerPlugin.js.map +1 -0
  239. package/dist/node_modules/@griffel/core/src/runtime/stylis/rulesheetPlugin.js +9 -0
  240. package/dist/node_modules/@griffel/core/src/runtime/stylis/rulesheetPlugin.js.map +1 -0
  241. package/dist/node_modules/@griffel/core/src/runtime/stylis/scopePlugin.js +41 -0
  242. package/dist/node_modules/@griffel/core/src/runtime/stylis/scopePlugin.js.map +1 -0
  243. package/dist/node_modules/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js +8 -0
  244. package/dist/node_modules/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js.map +1 -0
  245. package/dist/node_modules/@griffel/core/src/runtime/utils/cssifyObject.js +19 -0
  246. package/dist/node_modules/@griffel/core/src/runtime/utils/cssifyObject.js.map +1 -0
  247. package/dist/node_modules/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js +7 -0
  248. package/dist/node_modules/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js.map +1 -0
  249. package/dist/node_modules/@griffel/core/src/runtime/utils/hashClassName.js +11 -0
  250. package/dist/node_modules/@griffel/core/src/runtime/utils/hashClassName.js.map +1 -0
  251. package/dist/node_modules/@griffel/core/src/runtime/utils/hashPropertyKey.js +16 -0
  252. package/dist/node_modules/@griffel/core/src/runtime/utils/hashPropertyKey.js.map +1 -0
  253. package/dist/node_modules/@griffel/core/src/runtime/utils/hashSequence.js +17 -0
  254. package/dist/node_modules/@griffel/core/src/runtime/utils/hashSequence.js.map +1 -0
  255. package/dist/node_modules/@griffel/core/src/runtime/utils/hyphenateProperty.js +16 -0
  256. package/dist/node_modules/@griffel/core/src/runtime/utils/hyphenateProperty.js.map +1 -0
  257. package/dist/node_modules/@griffel/core/src/runtime/utils/isContainerQuerySelector.js +7 -0
  258. package/dist/node_modules/@griffel/core/src/runtime/utils/isContainerQuerySelector.js.map +1 -0
  259. package/dist/node_modules/@griffel/core/src/runtime/utils/isLayerSelector.js +7 -0
  260. package/dist/node_modules/@griffel/core/src/runtime/utils/isLayerSelector.js.map +1 -0
  261. package/dist/node_modules/@griffel/core/src/runtime/utils/isMediaQuerySelector.js +7 -0
  262. package/dist/node_modules/@griffel/core/src/runtime/utils/isMediaQuerySelector.js.map +1 -0
  263. package/dist/node_modules/@griffel/core/src/runtime/utils/isNestedSelector.js +8 -0
  264. package/dist/node_modules/@griffel/core/src/runtime/utils/isNestedSelector.js.map +1 -0
  265. package/dist/node_modules/@griffel/core/src/runtime/utils/isObject.js +7 -0
  266. package/dist/node_modules/@griffel/core/src/runtime/utils/isObject.js.map +1 -0
  267. package/dist/node_modules/@griffel/core/src/runtime/utils/isResetValue.js +8 -0
  268. package/dist/node_modules/@griffel/core/src/runtime/utils/isResetValue.js.map +1 -0
  269. package/dist/node_modules/@griffel/core/src/runtime/utils/isScopeSelector.js +7 -0
  270. package/dist/node_modules/@griffel/core/src/runtime/utils/isScopeSelector.js.map +1 -0
  271. package/dist/node_modules/@griffel/core/src/runtime/utils/isSupportQuerySelector.js +7 -0
  272. package/dist/node_modules/@griffel/core/src/runtime/utils/isSupportQuerySelector.js.map +1 -0
  273. package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js +11 -0
  274. package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js.map +1 -0
  275. package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeNestedProperty.js +7 -0
  276. package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeNestedProperty.js.map +1 -0
  277. package/dist/node_modules/@griffel/core/src/runtime/utils/trimSelector.js +7 -0
  278. package/dist/node_modules/@griffel/core/src/runtime/utils/trimSelector.js.map +1 -0
  279. package/dist/node_modules/@griffel/core/src/runtime/warnings/logError.js +7 -0
  280. package/dist/node_modules/@griffel/core/src/runtime/warnings/logError.js.map +1 -0
  281. package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js +22 -0
  282. package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js.map +1 -0
  283. package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js +16 -0
  284. package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js.map +1 -0
  285. package/dist/node_modules/@griffel/core/src/shorthands/border.js +19 -0
  286. package/dist/node_modules/@griffel/core/src/shorthands/border.js.map +1 -0
  287. package/dist/node_modules/@griffel/core/src/shorthands/borderBottom.js +16 -0
  288. package/dist/node_modules/@griffel/core/src/shorthands/borderBottom.js.map +1 -0
  289. package/dist/node_modules/@griffel/core/src/shorthands/borderColor.js +8 -0
  290. package/dist/node_modules/@griffel/core/src/shorthands/borderColor.js.map +1 -0
  291. package/dist/node_modules/@griffel/core/src/shorthands/borderLeft.js +16 -0
  292. package/dist/node_modules/@griffel/core/src/shorthands/borderLeft.js.map +1 -0
  293. package/dist/node_modules/@griffel/core/src/shorthands/borderRadius.js +12 -0
  294. package/dist/node_modules/@griffel/core/src/shorthands/borderRadius.js.map +1 -0
  295. package/dist/node_modules/@griffel/core/src/shorthands/borderRight.js +16 -0
  296. package/dist/node_modules/@griffel/core/src/shorthands/borderRight.js.map +1 -0
  297. package/dist/node_modules/@griffel/core/src/shorthands/borderStyle.js +8 -0
  298. package/dist/node_modules/@griffel/core/src/shorthands/borderStyle.js.map +1 -0
  299. package/dist/node_modules/@griffel/core/src/shorthands/borderTop.js +16 -0
  300. package/dist/node_modules/@griffel/core/src/shorthands/borderTop.js.map +1 -0
  301. package/dist/node_modules/@griffel/core/src/shorthands/borderWidth.js +8 -0
  302. package/dist/node_modules/@griffel/core/src/shorthands/borderWidth.js.map +1 -0
  303. package/dist/node_modules/@griffel/core/src/shorthands/flex.js +66 -0
  304. package/dist/node_modules/@griffel/core/src/shorthands/flex.js.map +1 -0
  305. package/dist/node_modules/@griffel/core/src/shorthands/gap.js +10 -0
  306. package/dist/node_modules/@griffel/core/src/shorthands/gap.js.map +1 -0
  307. package/dist/node_modules/@griffel/core/src/shorthands/generateStyles.js +14 -0
  308. package/dist/node_modules/@griffel/core/src/shorthands/generateStyles.js.map +1 -0
  309. package/dist/node_modules/@griffel/core/src/shorthands/gridArea.js +31 -0
  310. package/dist/node_modules/@griffel/core/src/shorthands/gridArea.js.map +1 -0
  311. package/dist/node_modules/@griffel/core/src/shorthands/inset.js +13 -0
  312. package/dist/node_modules/@griffel/core/src/shorthands/inset.js.map +1 -0
  313. package/dist/node_modules/@griffel/core/src/shorthands/margin.js +8 -0
  314. package/dist/node_modules/@griffel/core/src/shorthands/margin.js.map +1 -0
  315. package/dist/node_modules/@griffel/core/src/shorthands/marginBlock.js +10 -0
  316. package/dist/node_modules/@griffel/core/src/shorthands/marginBlock.js.map +1 -0
  317. package/dist/node_modules/@griffel/core/src/shorthands/marginInline.js +10 -0
  318. package/dist/node_modules/@griffel/core/src/shorthands/marginInline.js.map +1 -0
  319. package/dist/node_modules/@griffel/core/src/shorthands/outline.js +11 -0
  320. package/dist/node_modules/@griffel/core/src/shorthands/outline.js.map +1 -0
  321. package/dist/node_modules/@griffel/core/src/shorthands/overflow.js +10 -0
  322. package/dist/node_modules/@griffel/core/src/shorthands/overflow.js.map +1 -0
  323. package/dist/node_modules/@griffel/core/src/shorthands/padding.js +8 -0
  324. package/dist/node_modules/@griffel/core/src/shorthands/padding.js.map +1 -0
  325. package/dist/node_modules/@griffel/core/src/shorthands/paddingBlock.js +10 -0
  326. package/dist/node_modules/@griffel/core/src/shorthands/paddingBlock.js.map +1 -0
  327. package/dist/node_modules/@griffel/core/src/shorthands/paddingInline.js +10 -0
  328. package/dist/node_modules/@griffel/core/src/shorthands/paddingInline.js.map +1 -0
  329. package/dist/node_modules/@griffel/core/src/shorthands/textDecoration.js +19 -0
  330. package/dist/node_modules/@griffel/core/src/shorthands/textDecoration.js.map +1 -0
  331. package/dist/node_modules/@griffel/core/src/shorthands/transition.js +19 -0
  332. package/dist/node_modules/@griffel/core/src/shorthands/transition.js.map +1 -0
  333. package/dist/node_modules/@griffel/core/src/shorthands/utils.js +19 -0
  334. package/dist/node_modules/@griffel/core/src/shorthands/utils.js.map +1 -0
  335. package/dist/node_modules/@radix-ui/number/dist/index.js +7 -0
  336. package/dist/node_modules/@radix-ui/number/dist/index.js.map +1 -0
  337. package/dist/node_modules/@radix-ui/primitive/dist/index.js +10 -0
  338. package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  339. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +240 -0
  340. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -0
  341. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +128 -0
  342. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js.map +1 -0
  343. package/dist/node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.js +12 -0
  344. package/dist/node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  345. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  346. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  347. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +76 -0
  348. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -0
  349. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +252 -0
  350. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
  351. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +121 -0
  352. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
  353. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +49 -0
  354. package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  355. package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
  356. package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  357. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
  358. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  359. package/dist/node_modules/@radix-ui/react-context/dist/index.js +71 -0
  360. package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  361. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +263 -0
  362. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  363. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
  364. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  365. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
  366. package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  367. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +128 -0
  368. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  369. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +228 -0
  370. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  371. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +18 -0
  372. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  373. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +138 -0
  374. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  375. package/dist/node_modules/@radix-ui/react-id/dist/index.js +14 -0
  376. package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  377. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +653 -0
  378. package/dist/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  379. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
  380. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  381. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +244 -0
  382. package/dist/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
  383. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
  384. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  385. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +222 -0
  386. package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  387. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +209 -0
  388. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  389. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
  390. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  391. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/core/dist/floating-ui.core.js +528 -0
  392. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  393. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -0
  394. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  395. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +131 -0
  396. package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  397. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
  398. package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  399. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +72 -0
  400. package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  401. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +37 -0
  402. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  403. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
  404. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  405. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +239 -0
  406. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -0
  407. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +184 -0
  408. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  409. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +534 -0
  410. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -0
  411. package/dist/node_modules/@radix-ui/react-select/dist/index.js +863 -0
  412. package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
  413. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
  414. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  415. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +133 -0
  416. package/dist/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
  417. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +164 -0
  418. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
  419. package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +34 -0
  420. package/dist/node_modules/@radix-ui/react-toggle/dist/index.js.map +1 -0
  421. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +138 -0
  422. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js.map +1 -0
  423. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +340 -0
  424. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  425. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js +12 -0
  426. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  427. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +14 -0
  428. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  429. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +55 -0
  430. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  431. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +15 -0
  432. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  433. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
  434. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
  435. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  436. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  437. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +9 -0
  438. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
  439. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +28 -0
  440. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  441. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +33 -0
  442. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  443. package/dist/node_modules/aria-hidden/dist/es2015/index.js +53 -0
  444. package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  445. package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js +18 -0
  446. package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js.map +1 -0
  447. package/dist/node_modules/cmdk/dist/index.js +313 -0
  448. package/dist/node_modules/cmdk/dist/index.js.map +1 -0
  449. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
  450. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
  451. package/dist/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  452. package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  453. package/dist/node_modules/date-fns/_lib/format/formatters.js +516 -0
  454. package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
  455. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
  456. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
  457. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
  458. package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
  459. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
  460. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
  461. package/dist/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  462. package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  463. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +9 -0
  464. package/dist/node_modules/date-fns/_lib/normalizeInterval.js.map +1 -0
  465. package/dist/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  466. package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
  467. package/dist/node_modules/date-fns/addDays.js +11 -0
  468. package/dist/node_modules/date-fns/addDays.js.map +1 -0
  469. package/dist/node_modules/date-fns/addMonths.js +21 -0
  470. package/dist/node_modules/date-fns/addMonths.js.map +1 -0
  471. package/dist/node_modules/date-fns/constants.js +10 -0
  472. package/dist/node_modules/date-fns/constants.js.map +1 -0
  473. package/dist/node_modules/date-fns/constructFrom.js +9 -0
  474. package/dist/node_modules/date-fns/constructFrom.js.map +1 -0
  475. package/dist/node_modules/date-fns/constructNow.js +9 -0
  476. package/dist/node_modules/date-fns/constructNow.js.map +1 -0
  477. package/dist/node_modules/date-fns/differenceInCalendarDays.js +17 -0
  478. package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
  479. package/dist/node_modules/date-fns/eachDayOfInterval.js +18 -0
  480. package/dist/node_modules/date-fns/eachDayOfInterval.js.map +1 -0
  481. package/dist/node_modules/date-fns/endOfWeek.js +10 -0
  482. package/dist/node_modules/date-fns/endOfWeek.js.map +1 -0
  483. package/dist/node_modules/date-fns/format.js +60 -0
  484. package/dist/node_modules/date-fns/format.js.map +1 -0
  485. package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
  486. package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -0
  487. package/dist/node_modules/date-fns/getDefaultOptions.js +9 -0
  488. package/dist/node_modules/date-fns/getDefaultOptions.js.map +1 -0
  489. package/dist/node_modules/date-fns/getISODay.js +10 -0
  490. package/dist/node_modules/date-fns/getISODay.js.map +1 -0
  491. package/dist/node_modules/date-fns/getISOWeek.js +13 -0
  492. package/dist/node_modules/date-fns/getISOWeek.js.map +1 -0
  493. package/dist/node_modules/date-fns/getISOWeekYear.js +16 -0
  494. package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -0
  495. package/dist/node_modules/date-fns/getWeek.js +13 -0
  496. package/dist/node_modules/date-fns/getWeek.js.map +1 -0
  497. package/dist/node_modules/date-fns/getWeekYear.js +18 -0
  498. package/dist/node_modules/date-fns/getWeekYear.js.map +1 -0
  499. package/dist/node_modules/date-fns/isAfter.js +9 -0
  500. package/dist/node_modules/date-fns/isAfter.js.map +1 -0
  501. package/dist/node_modules/date-fns/isBefore.js +9 -0
  502. package/dist/node_modules/date-fns/isBefore.js.map +1 -0
  503. package/dist/node_modules/date-fns/isDate.js +8 -0
  504. package/dist/node_modules/date-fns/isDate.js.map +1 -0
  505. package/dist/node_modules/date-fns/isSameDay.js +15 -0
  506. package/dist/node_modules/date-fns/isSameDay.js.map +1 -0
  507. package/dist/node_modules/date-fns/isSameMonth.js +14 -0
  508. package/dist/node_modules/date-fns/isSameMonth.js.map +1 -0
  509. package/dist/node_modules/date-fns/isToday.js +14 -0
  510. package/dist/node_modules/date-fns/isToday.js.map +1 -0
  511. package/dist/node_modules/date-fns/isValid.js +10 -0
  512. package/dist/node_modules/date-fns/isValid.js.map +1 -0
  513. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
  514. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  515. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
  516. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  517. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
  518. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  519. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
  520. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  521. package/dist/node_modules/date-fns/locale/de/_lib/formatDistance.js +164 -0
  522. package/dist/node_modules/date-fns/locale/de/_lib/formatDistance.js.map +1 -0
  523. package/dist/node_modules/date-fns/locale/de/_lib/formatLong.js +38 -0
  524. package/dist/node_modules/date-fns/locale/de/_lib/formatLong.js.map +1 -0
  525. package/dist/node_modules/date-fns/locale/de/_lib/formatRelative.js +12 -0
  526. package/dist/node_modules/date-fns/locale/de/_lib/formatRelative.js.map +1 -0
  527. package/dist/node_modules/date-fns/locale/de/_lib/localize.js +162 -0
  528. package/dist/node_modules/date-fns/locale/de/_lib/localize.js.map +1 -0
  529. package/dist/node_modules/date-fns/locale/de/_lib/match.js +113 -0
  530. package/dist/node_modules/date-fns/locale/de/_lib/match.js.map +1 -0
  531. package/dist/node_modules/date-fns/locale/de.js +22 -0
  532. package/dist/node_modules/date-fns/locale/de.js.map +1 -0
  533. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
  534. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  535. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
  536. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  537. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
  538. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  539. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
  540. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  541. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
  542. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  543. package/dist/node_modules/date-fns/locale/en-US.js +22 -0
  544. package/dist/node_modules/date-fns/locale/en-US.js.map +1 -0
  545. package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js +71 -0
  546. package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js.map +1 -0
  547. package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js +34 -0
  548. package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js.map +1 -0
  549. package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js +12 -0
  550. package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js.map +1 -0
  551. package/dist/node_modules/date-fns/locale/fr/_lib/localize.js +122 -0
  552. package/dist/node_modules/date-fns/locale/fr/_lib/localize.js.map +1 -0
  553. package/dist/node_modules/date-fns/locale/fr/_lib/match.js +111 -0
  554. package/dist/node_modules/date-fns/locale/fr/_lib/match.js.map +1 -0
  555. package/dist/node_modules/date-fns/locale/fr.js +22 -0
  556. package/dist/node_modules/date-fns/locale/fr.js.map +1 -0
  557. package/dist/node_modules/date-fns/parse/_lib/Parser.js +23 -0
  558. package/dist/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
  559. package/dist/node_modules/date-fns/parse/_lib/Setter.js +42 -0
  560. package/dist/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
  561. package/dist/node_modules/date-fns/parse/_lib/constants.js +50 -0
  562. package/dist/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
  563. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
  564. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
  565. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
  566. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
  567. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
  568. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
  569. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
  570. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
  571. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
  572. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
  573. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
  574. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
  575. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
  576. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
  577. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
  578. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
  579. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
  580. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
  581. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
  582. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
  583. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
  584. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
  585. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
  586. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
  587. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
  588. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
  589. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
  590. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
  591. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
  592. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
  593. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
  594. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
  595. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
  596. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
  597. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
  598. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
  599. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
  600. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
  601. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
  602. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
  603. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
  604. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
  605. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
  606. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
  607. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
  608. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
  609. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
  610. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
  611. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
  612. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
  613. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
  614. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
  615. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
  616. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
  617. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  618. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
  619. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
  620. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
  621. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
  622. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
  623. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
  624. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
  625. package/dist/node_modules/date-fns/parse/_lib/parsers.js +68 -0
  626. package/dist/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
  627. package/dist/node_modules/date-fns/parse/_lib/utils.js +104 -0
  628. package/dist/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
  629. package/dist/node_modules/date-fns/parse.js +90 -0
  630. package/dist/node_modules/date-fns/parse.js.map +1 -0
  631. package/dist/node_modules/date-fns/setDay.js +13 -0
  632. package/dist/node_modules/date-fns/setDay.js.map +1 -0
  633. package/dist/node_modules/date-fns/setHours.js +10 -0
  634. package/dist/node_modules/date-fns/setHours.js.map +1 -0
  635. package/dist/node_modules/date-fns/setISODay.js +12 -0
  636. package/dist/node_modules/date-fns/setISODay.js.map +1 -0
  637. package/dist/node_modules/date-fns/setISOWeek.js +11 -0
  638. package/dist/node_modules/date-fns/setISOWeek.js.map +1 -0
  639. package/dist/node_modules/date-fns/setMinutes.js +10 -0
  640. package/dist/node_modules/date-fns/setMinutes.js.map +1 -0
  641. package/dist/node_modules/date-fns/setWeek.js +11 -0
  642. package/dist/node_modules/date-fns/setWeek.js.map +1 -0
  643. package/dist/node_modules/date-fns/startOfDay.js +10 -0
  644. package/dist/node_modules/date-fns/startOfDay.js.map +1 -0
  645. package/dist/node_modules/date-fns/startOfISOWeek.js +9 -0
  646. package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -0
  647. package/dist/node_modules/date-fns/startOfISOWeekYear.js +12 -0
  648. package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
  649. package/dist/node_modules/date-fns/startOfMonth.js +10 -0
  650. package/dist/node_modules/date-fns/startOfMonth.js.map +1 -0
  651. package/dist/node_modules/date-fns/startOfWeek.js +12 -0
  652. package/dist/node_modules/date-fns/startOfWeek.js.map +1 -0
  653. package/dist/node_modules/date-fns/startOfWeekYear.js +14 -0
  654. package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -0
  655. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  656. package/dist/node_modules/date-fns/startOfYear.js.map +1 -0
  657. package/dist/node_modules/date-fns/subMonths.js +9 -0
  658. package/dist/node_modules/date-fns/subMonths.js.map +1 -0
  659. package/dist/node_modules/date-fns/toDate.js +9 -0
  660. package/dist/node_modules/date-fns/toDate.js.map +1 -0
  661. package/dist/node_modules/date-fns/transpose.js +19 -0
  662. package/dist/node_modules/date-fns/transpose.js.map +1 -0
  663. package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
  664. package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  665. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +12 -0
  666. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  667. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +113 -0
  668. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  669. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +32 -0
  670. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  671. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +17 -0
  672. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  673. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +69 -0
  674. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  675. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  676. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  677. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  678. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  679. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +72 -0
  680. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  681. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -0
  682. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  683. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +26 -0
  684. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  685. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +12 -0
  686. package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  687. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +16 -0
  688. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  689. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +31 -0
  690. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  691. package/dist/node_modules/rifm/dist/rifm.esm.js +87 -0
  692. package/dist/node_modules/rifm/dist/rifm.esm.js.map +1 -0
  693. package/dist/node_modules/rtl-css-js/dist/esm/convert-9768a965.js +303 -0
  694. package/dist/node_modules/rtl-css-js/dist/esm/convert-9768a965.js.map +1 -0
  695. package/dist/node_modules/sonner/dist/index.js +747 -0
  696. package/dist/node_modules/sonner/dist/index.js.map +1 -0
  697. package/dist/node_modules/stylis/src/Enum.js +16 -0
  698. package/dist/node_modules/stylis/src/Enum.js.map +1 -0
  699. package/dist/node_modules/stylis/src/Middleware.js +19 -0
  700. package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
  701. package/dist/node_modules/stylis/src/Parser.js +128 -0
  702. package/dist/node_modules/stylis/src/Parser.js.map +1 -0
  703. package/dist/node_modules/stylis/src/Serializer.js +29 -0
  704. package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
  705. package/dist/node_modules/stylis/src/Tokenizer.js +151 -0
  706. package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
  707. package/dist/node_modules/stylis/src/Utility.js +51 -0
  708. package/dist/node_modules/stylis/src/Utility.js.map +1 -0
  709. package/dist/node_modules/tslib/tslib.es6.js +28 -0
  710. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  711. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +7 -0
  712. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  713. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +27 -0
  714. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  715. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +26 -0
  716. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  717. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
  718. package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  719. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
  720. package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  721. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +68 -0
  722. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
  723. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +56 -0
  724. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  725. package/dist/node_modules/use-sync-external-store/shim/index.js +9 -0
  726. package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
  727. package/dist/renderer/contract.d.ts +43 -0
  728. package/dist/renderer/contract.js +8 -0
  729. package/dist/renderer/contract.js.map +1 -0
  730. package/dist/renderer/index.d.ts +22 -0
  731. package/dist/renderer/index.js +59 -0
  732. package/dist/renderer/index.js.map +1 -0
  733. package/dist/renderer/insertion-point.d.ts +35 -0
  734. package/dist/renderer/insertion-point.js +30 -0
  735. package/dist/renderer/insertion-point.js.map +1 -0
  736. package/dist/renderer/rule-key.d.ts +14 -0
  737. package/dist/renderer/rule-key.js +12 -0
  738. package/dist/renderer/rule-key.js.map +1 -0
  739. package/dist/renderer/sheet-adoption.d.ts +32 -0
  740. package/dist/renderer/sheet-adoption.js +30 -0
  741. package/dist/renderer/sheet-adoption.js.map +1 -0
  742. package/dist/styles/make-styles.d.ts +43 -0
  743. package/dist/styles/make-styles.js +22 -0
  744. package/dist/styles/make-styles.js.map +1 -0
  745. package/dist/tokens/class-salt.generated.d.ts +2 -0
  746. package/dist/tokens/class-salt.generated.js +5 -0
  747. package/dist/tokens/class-salt.generated.js.map +1 -0
  748. package/dist/tokens/core.generated.d.ts +3 -0
  749. package/dist/tokens/core.generated.js +487 -0
  750. package/dist/tokens/core.generated.js.map +1 -0
  751. package/dist/tokens/ensure-sheet.d.ts +3 -0
  752. package/dist/tokens/ensure-sheet.js +14 -0
  753. package/dist/tokens/ensure-sheet.js.map +1 -0
  754. package/dist/tokens/index.d.ts +952 -0
  755. package/dist/tokens/index.js +958 -0
  756. package/dist/tokens/index.js.map +1 -0
  757. package/dist/tokens/install.d.ts +33 -0
  758. package/dist/tokens/install.js +14 -0
  759. package/dist/tokens/install.js.map +1 -0
  760. package/dist/tokens/palette.generated.d.ts +3 -0
  761. package/dist/tokens/palette.generated.js +1078 -0
  762. package/dist/tokens/palette.generated.js.map +1 -0
  763. package/dist/tokens.json +1911 -0
  764. package/package.json +87 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startOfWeekYear.js","sources":["../../../../../node_modules/date-fns/startOfWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { getWeekYear } from \"./getWeekYear.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\n\n/**\n * The {@link startOfWeekYear} function options.\n */\n\n/**\n * @name startOfWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Return the start of a local week-numbering year for the given date.\n *\n * @description\n * Return the start of a local week-numbering year.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week-numbering year\n *\n * @example\n * // The start of an a week-numbering year for 2 July 2005 with default settings:\n * const result = startOfWeekYear(new Date(2005, 6, 2))\n * //=> Sun Dec 26 2004 00:00:00\n *\n * @example\n * // The start of a week-numbering year for 2 July 2005\n * // if Monday is the first day of week\n * // and 4 January is always in the first week of the year:\n * const result = startOfWeekYear(new Date(2005, 6, 2), {\n * weekStartsOn: 1,\n * firstWeekContainsDate: 4\n * })\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfWeekYear(date, options) {\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const year = getWeekYear(date, options);\n const firstWeek = constructFrom(options?.in || date, 0);\n firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const _date = startOfWeek(firstWeek, options);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeekYear;\n"],"names":["startOfWeekYear","date","options","defaultOptions","getDefaultOptions","firstWeekContainsDate","_b","_a","_d","_c","year","getWeekYear","firstWeek","constructFrom","startOfWeek"],"mappings":";;;;AA8CO,SAASA,EAAgBC,GAAMC,GAAS;;AAC7C,QAAMC,IAAiBC,EAAiB,GAClCC,KACJH,KAAA,gBAAAA,EAAS,4BACTI,KAAAC,IAAAL,KAAA,gBAAAA,EAAS,WAAT,gBAAAK,EAAiB,YAAjB,gBAAAD,EAA0B,0BAC1BH,EAAe,2BACfK,KAAAC,IAAAN,EAAe,WAAf,gBAAAM,EAAuB,YAAvB,gBAAAD,EAAgC,0BAChC,GAEIE,IAAOC,EAAYV,GAAMC,CAAO,GAChCU,IAAYC,GAAcX,KAAA,gBAAAA,EAAS,OAAMD,GAAM,CAAC;AACtD,SAAAW,EAAU,YAAYF,GAAM,GAAGL,CAAqB,GACpDO,EAAU,SAAS,GAAG,GAAG,GAAG,CAAC,GACfE,EAAYF,GAAWV,CAAO;AAE9C;","x_google_ignoreList":[0]}
@@ -0,0 +1,10 @@
1
+ import { toDate as a } from "./toDate.js";
2
+ function l(t, r) {
3
+ const e = a(t, r == null ? void 0 : r.in);
4
+ return e.setFullYear(e.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
5
+ }
6
+ export {
7
+ l as default,
8
+ l as startOfYear
9
+ };
10
+ //# sourceMappingURL=startOfYear.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startOfYear.js","sources":["../../../../../node_modules/date-fns/startOfYear.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfYear} function options.\n */\n\n/**\n * @name startOfYear\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - The options\n *\n * @returns The start of a year\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\nexport function startOfYear(date, options) {\n const date_ = toDate(date, options?.in);\n date_.setFullYear(date_.getFullYear(), 0, 1);\n date_.setHours(0, 0, 0, 0);\n return date_;\n}\n\n// Fallback for modularized imports:\nexport default startOfYear;\n"],"names":["startOfYear","date","options","date_","toDate"],"mappings":";AA4BO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAQC,EAAOH,GAAMC,KAAA,gBAAAA,EAAS,EAAE;AACtC,SAAAC,EAAM,YAAYA,EAAM,YAAW,GAAI,GAAG,CAAC,GAC3CA,EAAM,SAAS,GAAG,GAAG,GAAG,CAAC,GAClBA;AACT;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import { addMonths as n } from "./addMonths.js";
2
+ function a(t, r, o) {
3
+ return n(t, -1, o);
4
+ }
5
+ export {
6
+ a as default,
7
+ a as subMonths
8
+ };
9
+ //# sourceMappingURL=subMonths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subMonths.js","sources":["../../../../../node_modules/date-fns/subMonths.js"],"sourcesContent":["import { addMonths } from \"./addMonths.js\";\n\n/**\n * The subMonths function options.\n */\n\n/**\n * @name subMonths\n * @category Month Helpers\n * @summary Subtract the specified number of months from the given date.\n *\n * @description\n * Subtract the specified number of months from the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of months to be subtracted.\n * @param options - An object with options\n *\n * @returns The new date with the months subtracted\n *\n * @example\n * // Subtract 5 months from 1 February 2015:\n * const result = subMonths(new Date(2015, 1, 1), 5)\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function subMonths(date, amount, options) {\n return addMonths(date, -amount, options);\n}\n\n// Fallback for modularized imports:\nexport default subMonths;\n"],"names":["subMonths","date","amount","options","addMonths"],"mappings":";AA4BO,SAASA,EAAUC,GAAMC,GAAQC,GAAS;AAC/C,SAAOC,EAAUH,GAAM,IAASE,CAAO;AACzC;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import { constructFrom as r } from "./constructFrom.js";
2
+ function e(t, o) {
3
+ return r(o || t, t);
4
+ }
5
+ export {
6
+ e as default,
7
+ e as toDate
8
+ };
9
+ //# sourceMappingURL=toDate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toDate.js","sources":["../../../../../node_modules/date-fns/toDate.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n"],"names":["toDate","argument","context","constructFrom"],"mappings":";AAwCO,SAASA,EAAOC,GAAUC,GAAS;AAExC,SAAOC,EAAcD,KAAWD,GAAUA,CAAQ;AACpD;","x_google_ignoreList":[0]}
@@ -0,0 +1,19 @@
1
+ import { constructFrom as o } from "./constructFrom.js";
2
+ function u(e, t) {
3
+ const n = s(t) ? new t(0) : o(t, 0);
4
+ return n.setFullYear(e.getFullYear(), e.getMonth(), e.getDate()), n.setHours(
5
+ e.getHours(),
6
+ e.getMinutes(),
7
+ e.getSeconds(),
8
+ e.getMilliseconds()
9
+ ), n;
10
+ }
11
+ function s(e) {
12
+ var t;
13
+ return typeof e == "function" && ((t = e.prototype) == null ? void 0 : t.constructor) === e;
14
+ }
15
+ export {
16
+ u as default,
17
+ u as transpose
18
+ };
19
+ //# sourceMappingURL=transpose.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transpose.js","sources":["../../../../../node_modules/date-fns/transpose.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name transpose\n * @category Generic Helpers\n * @summary Transpose the date to the given constructor.\n *\n * @description\n * The function transposes the date to the given constructor. It helps you\n * to transpose the date in the system time zone to say `UTCDate` or any other\n * date extension.\n *\n * @typeParam InputDate - The input `Date` type derived from the passed argument.\n * @typeParam ResultDate - The result `Date` type derived from the passed constructor.\n *\n * @param date - The date to use values from\n * @param constructor - The date constructor to use\n *\n * @returns Date transposed to the given constructor\n *\n * @example\n * // Create July 10, 2022 00:00 in locale time zone\n * const date = new Date(2022, 6, 10)\n * //=> 'Sun Jul 10 2022 00:00:00 GMT+0800 (Singapore Standard Time)'\n *\n * @example\n * // Transpose the date to July 10, 2022 00:00 in UTC\n * transpose(date, UTCDate)\n * //=> 'Sun Jul 10 2022 00:00:00 GMT+0000 (Coordinated Universal Time)'\n */\nexport function transpose(date, constructor) {\n const date_ = isConstructor(constructor)\n ? new constructor(0)\n : constructFrom(constructor, 0);\n date_.setFullYear(date.getFullYear(), date.getMonth(), date.getDate());\n date_.setHours(\n date.getHours(),\n date.getMinutes(),\n date.getSeconds(),\n date.getMilliseconds(),\n );\n return date_;\n}\n\nfunction isConstructor(constructor) {\n return (\n typeof constructor === \"function\" &&\n constructor.prototype?.constructor === constructor\n );\n}\n\n// Fallback for modularized imports:\nexport default transpose;\n"],"names":["transpose","date","constructor","date_","isConstructor","constructFrom","_a"],"mappings":";AA8BO,SAASA,EAAUC,GAAMC,GAAa;AAC3C,QAAMC,IAAQC,EAAcF,CAAW,IACnC,IAAIA,EAAY,CAAC,IACjBG,EAAcH,GAAa,CAAC;AAChC,SAAAC,EAAM,YAAYF,EAAK,YAAW,GAAIA,EAAK,SAAQ,GAAIA,EAAK,SAAS,GACrEE,EAAM;AAAA,IACJF,EAAK,SAAQ;AAAA,IACbA,EAAK,WAAU;AAAA,IACfA,EAAK,WAAU;AAAA,IACfA,EAAK,gBAAe;AAAA,EACxB,GACSE;AACT;AAEA,SAASC,EAAcF,GAAa;;AAClC,SACE,OAAOA,KAAgB,gBACvBI,IAAAJ,EAAY,cAAZ,gBAAAI,EAAuB,iBAAgBJ;AAE3C;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
4
+ };
5
+ export {
6
+ e as getNonce
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ import { __assign as m } from "../../../tslib/tslib.es6.js";
2
+ import * as r from "react";
3
+ import { RemoveScroll as e } from "./UI.js";
4
+ import t from "./sidecar.js";
5
+ var s = r.forwardRef(function(a, o) {
6
+ return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
7
+ });
8
+ s.classNames = e.classNames;
9
+ export {
10
+ s as default
11
+ };
12
+ //# sourceMappingURL=Combination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Combination.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,IAAIH,GAAO,EAAE,KAAKC,GAAK,SAASG,EAAO,CAAE,CAAC;AAAI,CAAC;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
@@ -0,0 +1,113 @@
1
+ import { __spreadArray as x } from "../../../tslib/tslib.es6.js";
2
+ import * as n from "react";
3
+ import { RemoveScrollBar as A } from "../../../react-remove-scroll-bar/dist/es2015/component.js";
4
+ import { styleSingleton as I } from "../../../react-style-singleton/dist/es2015/component.js";
5
+ import { nonPassive as s } from "./aggresiveCapture.js";
6
+ import { locationCouldBeScrolled as T, handleScroll as W } from "./handleScroll.js";
7
+ var b = function(t) {
8
+ return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
9
+ }, Y = function(t) {
10
+ return [t.deltaX, t.deltaY];
11
+ }, B = function(t) {
12
+ return t && "current" in t ? t.current : t;
13
+ }, F = function(t, c) {
14
+ return t[0] === c[0] && t[1] === c[1];
15
+ }, K = function(t) {
16
+ return `
17
+ .block-interactivity-`.concat(t, ` {pointer-events: none;}
18
+ .allow-interactivity-`).concat(t, ` {pointer-events: all;}
19
+ `);
20
+ }, O = 0, f = [];
21
+ function G(t) {
22
+ var c = n.useRef([]), E = n.useRef([0, 0]), d = n.useRef(), h = n.useState(O++)[0], m = n.useState(I)[0], g = n.useRef(t);
23
+ n.useEffect(function() {
24
+ g.current = t;
25
+ }, [t]), n.useEffect(function() {
26
+ if (t.inert) {
27
+ document.body.classList.add("block-interactivity-".concat(h));
28
+ var e = x([t.lockRef.current], (t.shards || []).map(B), !0).filter(Boolean);
29
+ return e.forEach(function(r) {
30
+ return r.classList.add("allow-interactivity-".concat(h));
31
+ }), function() {
32
+ document.body.classList.remove("block-interactivity-".concat(h)), e.forEach(function(r) {
33
+ return r.classList.remove("allow-interactivity-".concat(h));
34
+ });
35
+ };
36
+ }
37
+ }, [t.inert, t.lockRef.current, t.shards]);
38
+ var k = n.useCallback(function(e, r) {
39
+ if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey)
40
+ return !g.current.allowPinchZoom;
41
+ var l = b(e), o = E.current, u = "deltaX" in e ? e.deltaX : o[0] - l[0], i = "deltaY" in e ? e.deltaY : o[1] - l[1], a, C = e.target, v = Math.abs(u) > Math.abs(i) ? "h" : "v";
42
+ if ("touches" in e && v === "h" && C.type === "range")
43
+ return !1;
44
+ var y = T(v, C);
45
+ if (!y)
46
+ return !0;
47
+ if (y ? a = v : (a = v === "v" ? "h" : "v", y = T(v, C)), !y)
48
+ return !1;
49
+ if (!d.current && "changedTouches" in e && (u || i) && (d.current = a), !a)
50
+ return !0;
51
+ var P = d.current || a;
52
+ return W(P, r, e, P === "h" ? u : i);
53
+ }, []), S = n.useCallback(function(e) {
54
+ var r = e;
55
+ if (!(!f.length || f[f.length - 1] !== m)) {
56
+ var l = "deltaY" in r ? Y(r) : b(r), o = c.current.filter(function(a) {
57
+ return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && F(a.delta, l);
58
+ })[0];
59
+ if (o && o.should) {
60
+ r.cancelable && r.preventDefault();
61
+ return;
62
+ }
63
+ if (!o) {
64
+ var u = (g.current.shards || []).map(B).filter(Boolean).filter(function(a) {
65
+ return a.contains(r.target);
66
+ }), i = u.length > 0 ? k(r, u[0]) : !g.current.noIsolation;
67
+ i && r.cancelable && r.preventDefault();
68
+ }
69
+ }
70
+ }, []), R = n.useCallback(function(e, r, l, o) {
71
+ var u = { name: e, delta: r, target: l, should: o, shadowParent: Q(l) };
72
+ c.current.push(u), setTimeout(function() {
73
+ c.current = c.current.filter(function(i) {
74
+ return i !== u;
75
+ });
76
+ }, 1);
77
+ }, []), w = n.useCallback(function(e) {
78
+ E.current = b(e), d.current = void 0;
79
+ }, []), L = n.useCallback(function(e) {
80
+ R(e.type, Y(e), e.target, k(e, t.lockRef.current));
81
+ }, []), M = n.useCallback(function(e) {
82
+ R(e.type, b(e), e.target, k(e, t.lockRef.current));
83
+ }, []);
84
+ n.useEffect(function() {
85
+ return f.push(m), t.setCallbacks({
86
+ onScrollCapture: L,
87
+ onWheelCapture: L,
88
+ onTouchMoveCapture: M
89
+ }), document.addEventListener("wheel", S, s), document.addEventListener("touchmove", S, s), document.addEventListener("touchstart", w, s), function() {
90
+ f = f.filter(function(e) {
91
+ return e !== m;
92
+ }), document.removeEventListener("wheel", S, s), document.removeEventListener("touchmove", S, s), document.removeEventListener("touchstart", w, s);
93
+ };
94
+ }, []);
95
+ var X = t.removeScrollBar, D = t.inert;
96
+ return n.createElement(
97
+ n.Fragment,
98
+ null,
99
+ D ? n.createElement(m, { styles: K(h) }) : null,
100
+ X ? n.createElement(A, { noRelative: t.noRelative, gapMode: t.gapMode }) : null
101
+ );
102
+ }
103
+ function Q(t) {
104
+ for (var c = null; t !== null; )
105
+ t instanceof ShadowRoot && (c = t.host, t = t.host), t = t.parentNode;
106
+ return c;
107
+ }
108
+ export {
109
+ G as RemoveScrollSideCar,
110
+ Y as getDeltaXY,
111
+ b as getTouchXY
112
+ };
113
+ //# sourceMappingURL=SideEffect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideEffect.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":"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","x_google_ignoreList":[0]}
@@ -0,0 +1,32 @@
1
+ import { __rest as E, __assign as r } from "../../../tslib/tslib.es6.js";
2
+ import * as a from "react";
3
+ import { zeroRightClassName as I, fullWidthClassName as Z } from "../../../react-remove-scroll-bar/dist/es2015/constants.js";
4
+ import { effectCar as W } from "./medium.js";
5
+ import { useMergeRefs as z } from "../../../use-callback-ref/dist/es2015/useMergeRef.js";
6
+ var l = function() {
7
+ }, m = a.forwardRef(function(e, d) {
8
+ var o = a.useRef(null), n = a.useState({
9
+ onScrollCapture: l,
10
+ onWheelCapture: l,
11
+ onTouchMoveCapture: l
12
+ }), f = n[0], v = n[1], h = e.forwardProps, t = e.children, u = e.className, C = e.removeScrollBar, R = e.enabled, g = e.shards, P = e.sideCar, S = e.noRelative, b = e.noIsolation, w = e.inert, N = e.allowPinchZoom, i = e.as, M = i === void 0 ? "div" : i, _ = e.gapMode, B = E(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), k = P, s = z([o, d]), c = r(r({}, B), f);
13
+ return a.createElement(
14
+ a.Fragment,
15
+ null,
16
+ R && a.createElement(k, { sideCar: W, removeScrollBar: C, shards: g, noRelative: S, noIsolation: b, inert: w, setCallbacks: v, allowPinchZoom: !!N, lockRef: o, gapMode: _ }),
17
+ h ? a.cloneElement(a.Children.only(t), r(r({}, c), { ref: s })) : a.createElement(M, r({}, c, { className: u, ref: s }), t)
18
+ );
19
+ });
20
+ m.defaultProps = {
21
+ enabled: !0,
22
+ removeScrollBar: !0,
23
+ inert: !1
24
+ };
25
+ m.classNames = {
26
+ fullWidth: Z,
27
+ zeroRight: I
28
+ };
29
+ export {
30
+ m as RemoveScroll
31
+ };
32
+ //# sourceMappingURL=UI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UI.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAab,EAAM,YAAYc,IAAcd,EAAM,aAAae,IAAQf,EAAM,OAAOgB,IAAiBhB,EAAM,gBAAgBiB,IAAKjB,EAAM,IAAIkB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUnB,EAAM,SAASoB,IAAOC,EAAOrB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,cAAc,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACnlBsB,IAAUV,GACVW,IAAeC,EAAa,CAACtB,GAAKD,CAAS,CAAC,GAC5CwB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGhB,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcuB,GAAS,EAAE,SAASK,GAAW,iBAAiBlB,GAAiB,QAAQE,GAAQ,YAAYE,GAAY,aAAaC,GAAa,OAAOC,GAAO,cAAcV,GAAc,gBAAgB,CAAC,CAACW,GAAgB,SAASd,GAAK,SAASiB,EAAO,CAAE;AAAA,IAC/Qb,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGmB,EAASA,EAAS,CAAA,GAAID,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMxB,EAAM,cAAcmB,GAAWQ,EAAS,CAAA,GAAID,GAAgB,EAAE,WAAWjB,GAAW,KAAKe,EAAY,CAAE,GAAGhB,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW8B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ var r = !1;
2
+ if (typeof window < "u")
3
+ try {
4
+ var e = Object.defineProperty({}, "passive", {
5
+ get: function() {
6
+ return r = !0, !0;
7
+ }
8
+ });
9
+ window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
10
+ } catch {
11
+ r = !1;
12
+ }
13
+ var a = r ? { passive: !1 } : !1;
14
+ export {
15
+ a as nonPassive
16
+ };
17
+ //# sourceMappingURL=aggresiveCapture.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggresiveCapture.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACX;AAAA,IACZ,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EACvD,QACY;AACR,IAAAD,IAAmB;AAAA,EACvB;AAEM,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
@@ -0,0 +1,69 @@
1
+ var N = function(r) {
2
+ return r.tagName === "TEXTAREA";
3
+ }, b = function(r, e) {
4
+ if (!(r instanceof Element))
5
+ return !1;
6
+ var t = window.getComputedStyle(r);
7
+ return (
8
+ // not-not-scrollable
9
+ t[e] !== "hidden" && // contains scroll inside self
10
+ !(t.overflowY === t.overflowX && !N(r) && t[e] === "visible")
11
+ );
12
+ }, D = function(r) {
13
+ return b(r, "overflowY");
14
+ }, E = function(r) {
15
+ return b(r, "overflowX");
16
+ }, T = function(r, e) {
17
+ var t = e.ownerDocument, l = e;
18
+ do {
19
+ typeof ShadowRoot < "u" && l instanceof ShadowRoot && (l = l.host);
20
+ var f = g(r, l);
21
+ if (f) {
22
+ var n = m(r, l), i = n[1], o = n[2];
23
+ if (i > o)
24
+ return !0;
25
+ }
26
+ l = l.parentNode;
27
+ } while (l && l !== t.body);
28
+ return !1;
29
+ }, H = function(r) {
30
+ var e = r.scrollTop, t = r.scrollHeight, l = r.clientHeight;
31
+ return [
32
+ e,
33
+ t,
34
+ l
35
+ ];
36
+ }, p = function(r) {
37
+ var e = r.scrollLeft, t = r.scrollWidth, l = r.clientWidth;
38
+ return [
39
+ e,
40
+ t,
41
+ l
42
+ ];
43
+ }, g = function(r, e) {
44
+ return r === "v" ? D(e) : E(e);
45
+ }, m = function(r, e) {
46
+ return r === "v" ? H(e) : p(e);
47
+ }, B = function(r, e) {
48
+ return r === "h" && e === "rtl" ? -1 : 1;
49
+ }, V = function(r, e, t, l, f) {
50
+ var n = B(r, window.getComputedStyle(e).direction), i = n * l, o = t.target, d = e.contains(o), c = !1, s = i > 0, h = 0, S = 0;
51
+ do {
52
+ if (!o)
53
+ break;
54
+ var u = m(r, o), v = u[0], C = u[1], y = u[2], w = C - y - n * v;
55
+ (v || w) && g(r, o) && (h += w, S += v);
56
+ var a = o.parentNode;
57
+ o = a && a.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? a.host : a;
58
+ } while (
59
+ // portaled content
60
+ !d && o !== document.body || // self content
61
+ d && (e.contains(o) || e === o)
62
+ );
63
+ return (s && Math.abs(h) < 1 || !s && Math.abs(S) < 1) && (c = !0), c;
64
+ };
65
+ export {
66
+ V as handleScroll,
67
+ T as locationCouldBeScrolled
68
+ };
69
+ //# sourceMappingURL=handleScroll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleScroll.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n if (!target) {\n break;\n }\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n var parent_1 = target.parentNode;\n // we will \"bubble\" from ShadowDom in case we are, or just to the parent in normal case\n // this is the same logic used in focus-lock\n target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll","parent_1"],"mappings":"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","x_google_ignoreList":[0]}
@@ -0,0 +1,6 @@
1
+ import { createSidecarMedium as e } from "../../../use-sidecar/dist/es2015/medium.js";
2
+ var a = e();
3
+ export {
4
+ a as effectCar
5
+ };
6
+ //# sourceMappingURL=medium.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"medium.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import { RemoveScrollSideCar as r } from "./SideEffect.js";
2
+ import { effectCar as o } from "./medium.js";
3
+ import { exportSidecar as e } from "../../../use-sidecar/dist/es2015/exports.js";
4
+ const f = e(o, r);
5
+ export {
6
+ f as default
7
+ };
8
+ //# sourceMappingURL=sidecar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidecar.js","sources":["../../../../../../../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
@@ -0,0 +1,72 @@
1
+ import * as d from "react";
2
+ import { styleSingleton as f } from "../../../react-style-singleton/dist/es2015/component.js";
3
+ import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./constants.js";
4
+ import { getGapWidth as m } from "./utils.js";
5
+ var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
+ var r = n.left, i = n.top, s = n.right, c = n.gap;
7
+ return o === void 0 && (o = "margin"), `
8
+ .`.concat(p, ` {
9
+ overflow: hidden `).concat(t, `;
10
+ padding-right: `).concat(c, "px ").concat(t, `;
11
+ }
12
+ body[`).concat(e, `] {
13
+ overflow: hidden `).concat(t, `;
14
+ overscroll-behavior: contain;
15
+ `).concat([
16
+ a && "position: relative ".concat(t, ";"),
17
+ o === "margin" && `
18
+ padding-left: `.concat(r, `px;
19
+ padding-top: `).concat(i, `px;
20
+ padding-right: `).concat(s, `px;
21
+ margin-left:0;
22
+ margin-top:0;
23
+ margin-right: `).concat(c, "px ").concat(t, `;
24
+ `),
25
+ o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
26
+ ].filter(Boolean).join(""), `
27
+ }
28
+
29
+ .`).concat(g, ` {
30
+ right: `).concat(c, "px ").concat(t, `;
31
+ }
32
+
33
+ .`).concat(l, ` {
34
+ margin-right: `).concat(c, "px ").concat(t, `;
35
+ }
36
+
37
+ .`).concat(g, " .").concat(g, ` {
38
+ right: 0 `).concat(t, `;
39
+ }
40
+
41
+ .`).concat(l, " .").concat(l, ` {
42
+ margin-right: 0 `).concat(t, `;
43
+ }
44
+
45
+ body[`).concat(e, `] {
46
+ `).concat(v, ": ").concat(c, `px;
47
+ }
48
+ `);
49
+ }, u = function() {
50
+ var n = parseInt(document.body.getAttribute(e) || "0", 10);
51
+ return isFinite(n) ? n : 0;
52
+ }, x = function() {
53
+ d.useEffect(function() {
54
+ return document.body.setAttribute(e, (u() + 1).toString()), function() {
55
+ var n = u() - 1;
56
+ n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
57
+ };
58
+ }, []);
59
+ }, C = function(n) {
60
+ var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
61
+ x();
62
+ var i = d.useMemo(function() {
63
+ return m(r);
64
+ }, [r]);
65
+ return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
66
+ };
67
+ export {
68
+ C as RemoveScrollBar,
69
+ e as lockAttribute,
70
+ x as useLockAttribute
71
+ };
72
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sources":["../../../../../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","lockAttribute","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","getCurrentUseCounter","counter","useLockAttribute","React","newCounter","RemoveScrollBar","noRelative","noImportant","_b","getGapWidth"],"mappings":";;;;AAIA,IAAIA,IAAQC,EAAc,GACfC,IAAgB,sBAIvBC,IAAY,SAAUC,GAAIC,GAAeC,GAASC,GAAW;AAC7D,MAAIC,IAAOJ,EAAG,MAAMK,IAAML,EAAG,KAAKM,IAAQN,EAAG,OAAOO,IAAMP,EAAG;AAC7D,SAAIE,MAAY,WAAUA,IAAU,WAC7B;AAAA,KAAQ,OAAOM,GAAuB;AAAA,qBAA0B,EAAE,OAAOL,GAAW;AAAA,mBAAuB,EAAE,OAAOI,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA,QAAiB,EAAE,OAAOL,GAAe;AAAA,sBAA4B,EAAE,OAAOK,GAAW;AAAA;AAAA,KAA4C,EAAE,OAAO;AAAA,IACnSF,KAAiB,sBAAsB,OAAOE,GAAW,GAAG;AAAA,IAC5DD,MAAY,YACR;AAAA,oBAAuB,OAAOE,GAAM;AAAA,kBAAwB,EAAE,OAAOC,GAAK;AAAA,oBAA0B,EAAE,OAAOC,GAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA,KAAS;AAAA,IACxOD,MAAY,aAAa,kBAAkB,OAAOK,GAAK,KAAK,EAAE,OAAOJ,GAAW,GAAG;AAAA,EAC3F,EACS,OAAO,OAAO,EACd,KAAK,EAAE,GAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,GAAoB;AAAA,YAAiB,EAAE,OAAOF,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB;AAAA,mBAAwB,EAAE,OAAOH,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOM,GAAoB,IAAI,EAAE,OAAOA,GAAoB;AAAA,cAAmB,EAAE,OAAON,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB,IAAI,EAAE,OAAOA,GAAoB;AAAA,qBAA0B,EAAE,OAAOP,GAAW;AAAA;AAAA;AAAA,QAAqB,EAAE,OAAOL,GAAe;AAAA,KAAW,EAAE,OAAOa,GAAwB,IAAI,EAAE,OAAOJ,GAAK;AAAA;AAAA,CAAY;AAC/kB,GACIK,IAAuB,WAAY;AACnC,MAAIC,IAAU,SAAS,SAAS,KAAK,aAAaf,CAAa,KAAK,KAAK,EAAE;AAC3E,SAAO,SAASe,CAAO,IAAIA,IAAU;AACzC,GACWC,IAAmB,WAAY;AACtC,EAAAC,EAAM,UAAU,WAAY;AACxB,oBAAS,KAAK,aAAajB,IAAgBc,MAAyB,GAAG,UAAU,GAC1E,WAAY;AACf,UAAII,IAAaJ,EAAoB,IAAK;AAC1C,MAAII,KAAc,IACd,SAAS,KAAK,gBAAgBlB,CAAa,IAG3C,SAAS,KAAK,aAAaA,GAAekB,EAAW,SAAQ,CAAE;AAAA,IAEvE;AAAA,EACJ,GAAG,CAAA,CAAE;AACT,GAIWC,IAAkB,SAAUjB,GAAI;AACvC,MAAIkB,IAAalB,EAAG,YAAYmB,IAAcnB,EAAG,aAAaoB,IAAKpB,EAAG,SAASE,IAAUkB,MAAO,SAAS,WAAWA;AACpH,EAAAN,EAAgB;AAMhB,MAAIP,IAAMQ,EAAM,QAAQ,WAAY;AAAE,WAAOM,EAAYnB,CAAO;AAAA,EAAG,GAAG,CAACA,CAAO,CAAC;AAC/E,SAAOa,EAAM,cAAcnB,GAAO,EAAE,QAAQG,EAAUQ,GAAK,CAACW,GAAYhB,GAAUiB,IAA6B,KAAf,YAAiB,EAAC,CAAE;AACxH;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
+ export {
3
+ a as fullWidthClassName,
4
+ l as noScrollbarsClassName,
5
+ e as removedBarSizeVariable,
6
+ r as zeroRightClassName
7
+ };
8
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sources":["../../../../../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
@@ -0,0 +1,26 @@
1
+ var a = {
2
+ left: 0,
3
+ top: 0,
4
+ right: 0,
5
+ gap: 0
6
+ }, e = function(t) {
7
+ return parseInt(t || "", 10) || 0;
8
+ }, o = function(t) {
9
+ var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
+ return [e(i), e(r), e(d)];
11
+ }, f = function(t) {
12
+ if (t === void 0 && (t = "margin"), typeof window > "u")
13
+ return a;
14
+ var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
+ return {
16
+ left: n[0],
17
+ top: n[1],
18
+ right: n[2],
19
+ gap: Math.max(0, r - i + n[2] - n[0])
20
+ };
21
+ };
22
+ export {
23
+ f as getGapWidth,
24
+ a as zeroGap
25
+ };
26
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../../../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EAC9E;AACA;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ import { styleHookSingleton as o } from "./hook.js";
2
+ var s = function() {
3
+ var e = o(), n = function(t) {
4
+ var r = t.styles, l = t.dynamic;
5
+ return e(r, l), null;
6
+ };
7
+ return n;
8
+ };
9
+ export {
10
+ s as styleSingleton
11
+ };
12
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sources":["../../../../../../../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAkB,GAC7BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACX;AACA,SAAOH;AACX;","x_google_ignoreList":[0]}