@teamturing/react-kit 2.51.2 → 2.51.4

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 (613) hide show
  1. package/dist/index.js +1342 -37064
  2. package/esm/_virtual/_commonjsHelpers.js +1 -3
  3. package/esm/core/ActionList/ActionListItem.js +18 -20
  4. package/esm/core/ActionList/ActionListSectionDivider.js +2 -2
  5. package/esm/core/ActionList/ActionListSectionHeader.js +3 -3
  6. package/esm/core/ActionList/index.js +3 -3
  7. package/esm/core/AnimatePresence/index.js +2 -5
  8. package/esm/core/Avatar/index.js +3 -3
  9. package/esm/core/AvatarGroup/AvatarGroupItem.js +4 -4
  10. package/esm/core/AvatarGroup/index.js +13 -13
  11. package/esm/core/BadgeAttacher/index.js +2 -2
  12. package/esm/core/Breadcrumbs/BreadcrumbsItem.js +4 -4
  13. package/esm/core/Breadcrumbs/index.js +5 -5
  14. package/esm/core/Button/index.js +7 -7
  15. package/esm/core/Card/index.js +1 -1
  16. package/esm/core/Checkbox/index.js +3 -3
  17. package/esm/core/Chip/index.js +4 -4
  18. package/esm/core/ClickArea/index.js +2 -2
  19. package/esm/core/CounterBadge/index.js +3 -3
  20. package/esm/core/Datagrid/DatagridBody.js +3 -3
  21. package/esm/core/Datagrid/DatagridCell.js +2 -2
  22. package/esm/core/Datagrid/DatagridHeader.js +7 -7
  23. package/esm/core/Datagrid/DatagridRow.js +3 -3
  24. package/esm/core/Datagrid/DatagridSubheader.js +3 -3
  25. package/esm/core/Datagrid/index.js +4 -4
  26. package/esm/core/DescriptionList/index.js +11 -11
  27. package/esm/core/Dialog/DialogBody.js +2 -2
  28. package/esm/core/Dialog/DialogFooter.js +2 -2
  29. package/esm/core/Dialog/DialogHeader.js +2 -2
  30. package/esm/core/Dialog/DialogHeaderSubtitle.js +2 -2
  31. package/esm/core/Dialog/DialogHeaderTitle.js +2 -2
  32. package/esm/core/Dialog/index.js +8 -8
  33. package/esm/core/Drawer/DrawerBody.js +2 -2
  34. package/esm/core/Drawer/DrawerFooter.js +2 -2
  35. package/esm/core/Drawer/DrawerHeader.js +2 -2
  36. package/esm/core/Drawer/DrawerHeaderIconButton.js +2 -2
  37. package/esm/core/Drawer/index.js +12 -13
  38. package/esm/core/EmptyState/index.js +8 -9
  39. package/esm/core/Flash/index.js +12 -15
  40. package/esm/core/FormControl/FormControlCaption.js +2 -2
  41. package/esm/core/FormControl/FormControlErrorMessage.js +2 -2
  42. package/esm/core/FormControl/FormControlLabel.js +5 -5
  43. package/esm/core/FormControl/FormControlSuccessMessage.js +2 -2
  44. package/esm/core/FormControl/FormControlTooltipIcon.js +5 -6
  45. package/esm/core/FormControl/index.js +8 -8
  46. package/esm/core/Grid/index.js +4 -6
  47. package/esm/core/HorizontalDivider/index.js +2 -2
  48. package/esm/core/IconButton/index.js +3 -3
  49. package/esm/core/IconToggleButton/index.js +3 -3
  50. package/esm/core/ItemList/index.js +2 -2
  51. package/esm/core/MotionView/index.js +1 -1
  52. package/esm/core/Overlay/index.js +4 -4
  53. package/esm/core/OverlayPopper/index.js +4 -6
  54. package/esm/core/Pagination/index.js +15 -17
  55. package/esm/core/Pill/index.js +11 -12
  56. package/esm/core/Radio/index.js +3 -3
  57. package/esm/core/SearchSelectInput/index.js +22 -28
  58. package/esm/core/Select/SelectOption.js +3 -3
  59. package/esm/core/Select/index.js +11 -13
  60. package/esm/core/Spinner/index.js +2 -3
  61. package/esm/core/Stack/index.js +4 -4
  62. package/esm/core/StyledIcon/index.js +3 -3
  63. package/esm/core/Switch/index.js +3 -3
  64. package/esm/core/Tab/TabItem.js +5 -5
  65. package/esm/core/Tab/index.js +18 -19
  66. package/esm/core/TextInput/TextInputTrailingAction.js +4 -4
  67. package/esm/core/TextInput/index.js +9 -11
  68. package/esm/core/Textarea/index.js +6 -8
  69. package/esm/core/ThemeProvider/index.js +2 -2
  70. package/esm/core/Toast/index.js +6 -8
  71. package/esm/core/Tooltip/BaseTooltip.js +8 -8
  72. package/esm/core/Tooltip/index.js +4 -4
  73. package/esm/core/Tooltip/useTooltip.js +1 -3
  74. package/esm/enigma/EnigmaUI/index.js +3 -4
  75. package/esm/enigma/Layout/SingleColumnLayout/index.js +4 -4
  76. package/esm/enigma/View/ChipGroupView/index.js +6 -6
  77. package/esm/enigma/View/GridView/index.js +5 -5
  78. package/esm/enigma/View/HorizontalDividerView/index.js +2 -2
  79. package/esm/enigma/View/IconView/index.js +4 -4
  80. package/esm/enigma/View/ImageView/index.js +2 -2
  81. package/esm/enigma/View/TextView/index.js +2 -2
  82. package/esm/hook/useFocusTrap.js +5 -5
  83. package/esm/hook/useFocusZone.js +2 -2
  84. package/esm/hook/useResize.js +1 -1
  85. package/esm/index.js +1 -1
  86. package/esm/theme/index.js +1 -13
  87. package/package.json +2 -2
  88. package/esm/_virtual/index.js +0 -3
  89. package/esm/_virtual/index2.js +0 -3
  90. package/esm/_virtual/index3.js +0 -3
  91. package/esm/_virtual/jsx-runtime.js +0 -3
  92. package/esm/_virtual/react-dom.development.js +0 -3
  93. package/esm/_virtual/react-dom.production.min.js +0 -3
  94. package/esm/_virtual/react-is.development.js +0 -3
  95. package/esm/_virtual/react-is.production.min.js +0 -3
  96. package/esm/_virtual/react-jsx-runtime.development.js +0 -3
  97. package/esm/_virtual/react-jsx-runtime.production.min.js +0 -3
  98. package/esm/_virtual/scheduler.development.js +0 -3
  99. package/esm/_virtual/scheduler.production.min.js +0 -3
  100. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -593
  101. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -731
  102. package/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -1621
  103. package/esm/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -233
  104. package/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -321
  105. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -161
  106. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -136
  107. package/esm/node_modules/@primer/behaviors/dist/esm/focus-trap.js +0 -105
  108. package/esm/node_modules/@primer/behaviors/dist/esm/focus-zone.js +0 -436
  109. package/esm/node_modules/@primer/behaviors/dist/esm/polyfills/event-listener-signal.js +0 -38
  110. package/esm/node_modules/@primer/behaviors/dist/esm/utils/iterate-focusable-elements.js +0 -65
  111. package/esm/node_modules/@primer/behaviors/dist/esm/utils/unique-id.js +0 -6
  112. package/esm/node_modules/@primer/behaviors/dist/esm/utils/user-agent.js +0 -9
  113. package/esm/node_modules/framer-motion/dist/es/animation/animators/instant.js +0 -40
  114. package/esm/node_modules/framer-motion/dist/es/animation/animators/js/driver-frameloop.js +0 -16
  115. package/esm/node_modules/framer-motion/dist/es/animation/animators/js/index.js +0 -303
  116. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/create-accelerated-animation.js +0 -199
  117. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/easing.js +0 -31
  118. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -23
  119. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -8
  120. package/esm/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -87
  121. package/esm/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -51
  122. package/esm/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -89
  123. package/esm/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -129
  124. package/esm/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.js +0 -17
  125. package/esm/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -9
  126. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -101
  127. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/single-value.js +0 -11
  128. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -71
  129. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -63
  130. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -24
  131. package/esm/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  132. package/esm/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -40
  133. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -30
  134. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -5
  135. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
  136. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -12
  137. package/esm/node_modules/framer-motion/dist/es/animation/utils/keyframes.js +0 -45
  138. package/esm/node_modules/framer-motion/dist/es/animation/utils/transitions.js +0 -13
  139. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -71
  140. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -56
  141. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -158
  142. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -40
  143. package/esm/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  144. package/esm/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  145. package/esm/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
  146. package/esm/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  147. package/esm/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  148. package/esm/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -17
  149. package/esm/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -8
  150. package/esm/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -8
  151. package/esm/node_modules/framer-motion/dist/es/debug/record.js +0 -7
  152. package/esm/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -5
  153. package/esm/node_modules/framer-motion/dist/es/easing/back.js +0 -9
  154. package/esm/node_modules/framer-motion/dist/es/easing/circ.js +0 -8
  155. package/esm/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -51
  156. package/esm/node_modules/framer-motion/dist/es/easing/ease.js +0 -7
  157. package/esm/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
  158. package/esm/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
  159. package/esm/node_modules/framer-motion/dist/es/easing/utils/is-bezier-definition.js +0 -3
  160. package/esm/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
  161. package/esm/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -37
  162. package/esm/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
  163. package/esm/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  164. package/esm/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
  165. package/esm/node_modules/framer-motion/dist/es/events/utils/is-primary-pointer.js +0 -18
  166. package/esm/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -60
  167. package/esm/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -6
  168. package/esm/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -104
  169. package/esm/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -457
  170. package/esm/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -27
  171. package/esm/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -125
  172. package/esm/node_modules/framer-motion/dist/es/gestures/drag/utils/lock.js +0 -53
  173. package/esm/node_modules/framer-motion/dist/es/gestures/focus.js +0 -41
  174. package/esm/node_modules/framer-motion/dist/es/gestures/hover.js +0 -32
  175. package/esm/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -148
  176. package/esm/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -46
  177. package/esm/node_modules/framer-motion/dist/es/gestures/press.js +0 -120
  178. package/esm/node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.js +0 -20
  179. package/esm/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -9
  180. package/esm/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -31
  181. package/esm/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -38
  182. package/esm/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  183. package/esm/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
  184. package/esm/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  185. package/esm/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  186. package/esm/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -131
  187. package/esm/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  188. package/esm/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
  189. package/esm/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -72
  190. package/esm/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -49
  191. package/esm/node_modules/framer-motion/dist/es/motion/index.js +0 -79
  192. package/esm/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -11
  193. package/esm/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -3
  194. package/esm/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -33
  195. package/esm/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -75
  196. package/esm/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -81
  197. package/esm/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -59
  198. package/esm/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -93
  199. package/esm/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -33
  200. package/esm/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -20
  201. package/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -122
  202. package/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -41
  203. package/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -54
  204. package/esm/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -17
  205. package/esm/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -25
  206. package/esm/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
  207. package/esm/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -27
  208. package/esm/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -1494
  209. package/esm/node_modules/framer-motion/dist/es/projection/node/state.js +0 -19
  210. package/esm/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -112
  211. package/esm/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -41
  212. package/esm/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -35
  213. package/esm/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -6
  214. package/esm/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -42
  215. package/esm/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -5
  216. package/esm/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -24
  217. package/esm/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -17
  218. package/esm/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -507
  219. package/esm/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -48
  220. package/esm/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
  221. package/esm/node_modules/framer-motion/dist/es/render/dom/motion-proxy.js +0 -47
  222. package/esm/node_modules/framer-motion/dist/es/render/dom/motion.js +0 -23
  223. package/esm/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -35
  224. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  225. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/create-config.js +0 -19
  226. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -89
  227. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -57
  228. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
  229. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -30
  230. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -5
  231. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.js +0 -15
  232. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -230
  233. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -15
  234. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -30
  235. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -15
  236. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -15
  237. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -10
  238. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -72
  239. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -6
  240. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -9
  241. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -8
  242. package/esm/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -55
  243. package/esm/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -12
  244. package/esm/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -57
  245. package/esm/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -74
  246. package/esm/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -45
  247. package/esm/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -8
  248. package/esm/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
  249. package/esm/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -17
  250. package/esm/node_modules/framer-motion/dist/es/render/html/utils/transform.js +0 -28
  251. package/esm/node_modules/framer-motion/dist/es/render/store.js +0 -3
  252. package/esm/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -46
  253. package/esm/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -40
  254. package/esm/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -33
  255. package/esm/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -24
  256. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -52
  257. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -30
  258. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  259. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -3
  260. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -32
  261. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
  262. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -18
  263. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -18
  264. package/esm/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -319
  265. package/esm/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -3
  266. package/esm/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -24
  267. package/esm/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
  268. package/esm/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -8
  269. package/esm/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -63
  270. package/esm/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -24
  271. package/esm/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -26
  272. package/esm/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -101
  273. package/esm/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -12
  274. package/esm/node_modules/framer-motion/dist/es/utils/array.js +0 -11
  275. package/esm/node_modules/framer-motion/dist/es/utils/clamp.js +0 -3
  276. package/esm/node_modules/framer-motion/dist/es/utils/delay.js +0 -19
  277. package/esm/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  278. package/esm/node_modules/framer-motion/dist/es/utils/errors.js +0 -18
  279. package/esm/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -42
  280. package/esm/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -92
  281. package/esm/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -3
  282. package/esm/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -6
  283. package/esm/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  284. package/esm/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -6
  285. package/esm/node_modules/framer-motion/dist/es/utils/memo.js +0 -10
  286. package/esm/node_modules/framer-motion/dist/es/utils/mix-color.js +0 -40
  287. package/esm/node_modules/framer-motion/dist/es/utils/mix-complex.js +0 -64
  288. package/esm/node_modules/framer-motion/dist/es/utils/mix.js +0 -24
  289. package/esm/node_modules/framer-motion/dist/es/utils/noop.js +0 -3
  290. package/esm/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
  291. package/esm/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -12
  292. package/esm/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -5
  293. package/esm/node_modules/framer-motion/dist/es/utils/pipe.js +0 -11
  294. package/esm/node_modules/framer-motion/dist/es/utils/progress.js +0 -18
  295. package/esm/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -19
  296. package/esm/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
  297. package/esm/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -11
  298. package/esm/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
  299. package/esm/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -40
  300. package/esm/node_modules/framer-motion/dist/es/utils/time-conversion.js +0 -10
  301. package/esm/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -18
  302. package/esm/node_modules/framer-motion/dist/es/utils/use-force-update.js +0 -19
  303. package/esm/node_modules/framer-motion/dist/es/utils/use-instant-transition-state.js +0 -5
  304. package/esm/node_modules/framer-motion/dist/es/utils/use-is-mounted.js +0 -15
  305. package/esm/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  306. package/esm/node_modules/framer-motion/dist/es/utils/use-unmount-effect.js +0 -7
  307. package/esm/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -11
  308. package/esm/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -11
  309. package/esm/node_modules/framer-motion/dist/es/value/index.js +0 -331
  310. package/esm/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -40
  311. package/esm/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -22
  312. package/esm/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -28
  313. package/esm/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -25
  314. package/esm/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -23
  315. package/esm/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -30
  316. package/esm/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -92
  317. package/esm/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -17
  318. package/esm/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -19
  319. package/esm/node_modules/framer-motion/dist/es/value/types/utils.js +0 -15
  320. package/esm/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  321. package/esm/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -3
  322. package/esm/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -16
  323. package/esm/node_modules/lodash.debounce/index.js +0 -363
  324. package/esm/node_modules/lodash.throttle/index.js +0 -424
  325. package/esm/node_modules/lodash.toarray/index.js +0 -849
  326. package/esm/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1140
  327. package/esm/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -53
  328. package/esm/node_modules/react/jsx-runtime.js +0 -12
  329. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -4940
  330. package/esm/node_modules/react-dom/cjs/react-dom.production.min.js +0 -7140
  331. package/esm/node_modules/react-dom/index.js +0 -39
  332. package/esm/node_modules/react-is/cjs/react-is.development.js +0 -211
  333. package/esm/node_modules/react-is/cjs/react-is.production.min.js +0 -123
  334. package/esm/node_modules/react-is/index.js +0 -12
  335. package/esm/node_modules/scheduler/cjs/scheduler.development.js +0 -528
  336. package/esm/node_modules/scheduler/cjs/scheduler.production.min.js +0 -267
  337. package/esm/node_modules/scheduler/index.js +0 -17
  338. package/esm/node_modules/tabbable/dist/index.esm.js +0 -560
  339. package/esm/packages/icons/esm/AHorizontalLine.js +0 -15
  340. package/esm/packages/icons/esm/AInCircleFilled.js +0 -21
  341. package/esm/packages/icons/esm/AVertialLine.js +0 -15
  342. package/esm/packages/icons/esm/Ai.js +0 -23
  343. package/esm/packages/icons/esm/AiColor.js +0 -23
  344. package/esm/packages/icons/esm/AiSad.js +0 -24
  345. package/esm/packages/icons/esm/Alarm.js +0 -17
  346. package/esm/packages/icons/esm/AppleColor.js +0 -18
  347. package/esm/packages/icons/esm/ArrowBelow.js +0 -17
  348. package/esm/packages/icons/esm/ArrowDiagonal.js +0 -15
  349. package/esm/packages/icons/esm/ArrowDown.js +0 -17
  350. package/esm/packages/icons/esm/ArrowLeft.js +0 -17
  351. package/esm/packages/icons/esm/ArrowLeftCircle.js +0 -15
  352. package/esm/packages/icons/esm/ArrowLeftLimit.js +0 -17
  353. package/esm/packages/icons/esm/ArrowLeftRight.js +0 -17
  354. package/esm/packages/icons/esm/ArrowRight.js +0 -17
  355. package/esm/packages/icons/esm/ArrowRightCircle.js +0 -15
  356. package/esm/packages/icons/esm/ArrowRightLimit.js +0 -17
  357. package/esm/packages/icons/esm/ArrowUp.js +0 -17
  358. package/esm/packages/icons/esm/ArrowUpDown.js +0 -17
  359. package/esm/packages/icons/esm/ArrowUpLimit.js +0 -17
  360. package/esm/packages/icons/esm/Barchart.js +0 -15
  361. package/esm/packages/icons/esm/Book.js +0 -17
  362. package/esm/packages/icons/esm/BookColor.js +0 -28
  363. package/esm/packages/icons/esm/Bookmark.js +0 -17
  364. package/esm/packages/icons/esm/BookmarkAnimation.js +0 -17
  365. package/esm/packages/icons/esm/Box.js +0 -24
  366. package/esm/packages/icons/esm/BoxPlus.js +0 -15
  367. package/esm/packages/icons/esm/BusColor.js +0 -36
  368. package/esm/packages/icons/esm/Calendar.js +0 -22
  369. package/esm/packages/icons/esm/CalendarCheck.js +0 -17
  370. package/esm/packages/icons/esm/CalendarCheckColor.js +0 -20
  371. package/esm/packages/icons/esm/CalendarColor.js +0 -36
  372. package/esm/packages/icons/esm/Camera.js +0 -22
  373. package/esm/packages/icons/esm/CameraColor.js +0 -30
  374. package/esm/packages/icons/esm/Card.js +0 -17
  375. package/esm/packages/icons/esm/CardsPercent.js +0 -19
  376. package/esm/packages/icons/esm/CardsPercentColor.js +0 -23
  377. package/esm/packages/icons/esm/CaretDown.js +0 -15
  378. package/esm/packages/icons/esm/CaretLeft.js +0 -15
  379. package/esm/packages/icons/esm/CaretRight.js +0 -15
  380. package/esm/packages/icons/esm/CaretUp.js +0 -15
  381. package/esm/packages/icons/esm/Cart.js +0 -17
  382. package/esm/packages/icons/esm/ChatBubble.js +0 -17
  383. package/esm/packages/icons/esm/ChatBubbleBadgeColor.js +0 -32
  384. package/esm/packages/icons/esm/ChatBubbleCorrect.js +0 -24
  385. package/esm/packages/icons/esm/ChatBubbleCorrectColor.js +0 -22
  386. package/esm/packages/icons/esm/ChatBubbleDots.js +0 -17
  387. package/esm/packages/icons/esm/ChatBubbleQuestion.js +0 -17
  388. package/esm/packages/icons/esm/ChatBubbleQuestionAnimation.js +0 -16
  389. package/esm/packages/icons/esm/ChatBubbleQuestionColor.js +0 -20
  390. package/esm/packages/icons/esm/Check.js +0 -15
  391. package/esm/packages/icons/esm/CheckInCircle.js +0 -17
  392. package/esm/packages/icons/esm/CheckInCircleColor.js +0 -20
  393. package/esm/packages/icons/esm/CheckInCircleLine.js +0 -20
  394. package/esm/packages/icons/esm/ChevronDown.js +0 -17
  395. package/esm/packages/icons/esm/ChevronDownTwo.js +0 -23
  396. package/esm/packages/icons/esm/ChevronLeft.js +0 -17
  397. package/esm/packages/icons/esm/ChevronRight.js +0 -17
  398. package/esm/packages/icons/esm/ChevronRightTwo.js +0 -23
  399. package/esm/packages/icons/esm/ChevronUp.js +0 -17
  400. package/esm/packages/icons/esm/ChevronUpTwo.js +0 -23
  401. package/esm/packages/icons/esm/Circles.js +0 -17
  402. package/esm/packages/icons/esm/Clip.js +0 -15
  403. package/esm/packages/icons/esm/Close.js +0 -17
  404. package/esm/packages/icons/esm/CloseInCircle.js +0 -17
  405. package/esm/packages/icons/esm/Coin.js +0 -17
  406. package/esm/packages/icons/esm/Contact.js +0 -17
  407. package/esm/packages/icons/esm/Copy.js +0 -22
  408. package/esm/packages/icons/esm/Correct.js +0 -16
  409. package/esm/packages/icons/esm/Coupon.js +0 -17
  410. package/esm/packages/icons/esm/Crop.js +0 -24
  411. package/esm/packages/icons/esm/Crown.js +0 -17
  412. package/esm/packages/icons/esm/Curriculum.js +0 -31
  413. package/esm/packages/icons/esm/CurriculumColor.js +0 -38
  414. package/esm/packages/icons/esm/Cursor.js +0 -22
  415. package/esm/packages/icons/esm/Delete.js +0 -17
  416. package/esm/packages/icons/esm/Document.js +0 -22
  417. package/esm/packages/icons/esm/Dots.js +0 -17
  418. package/esm/packages/icons/esm/Download.js +0 -18
  419. package/esm/packages/icons/esm/Emoji.js +0 -17
  420. package/esm/packages/icons/esm/EmojiPlus.js +0 -22
  421. package/esm/packages/icons/esm/EmojiPlusDash.js +0 -17
  422. package/esm/packages/icons/esm/Eng.js +0 -20
  423. package/esm/packages/icons/esm/Enter.js +0 -17
  424. package/esm/packages/icons/esm/Equal.js +0 -17
  425. package/esm/packages/icons/esm/Eraser.js +0 -17
  426. package/esm/packages/icons/esm/ExclamationPointInCircle.js +0 -17
  427. package/esm/packages/icons/esm/ExternalLink.js +0 -27
  428. package/esm/packages/icons/esm/EyeOff.js +0 -15
  429. package/esm/packages/icons/esm/EyeOn.js +0 -22
  430. package/esm/packages/icons/esm/EyesTwo.js +0 -15
  431. package/esm/packages/icons/esm/FaceHappy.js +0 -17
  432. package/esm/packages/icons/esm/FaceSad.js +0 -17
  433. package/esm/packages/icons/esm/Facebook.js +0 -15
  434. package/esm/packages/icons/esm/FacebookColor.js +0 -20
  435. package/esm/packages/icons/esm/Filter.js +0 -17
  436. package/esm/packages/icons/esm/Find.js +0 -17
  437. package/esm/packages/icons/esm/Fire.js +0 -15
  438. package/esm/packages/icons/esm/FireColor.js +0 -27
  439. package/esm/packages/icons/esm/Flag.js +0 -15
  440. package/esm/packages/icons/esm/Folder.js +0 -17
  441. package/esm/packages/icons/esm/Frame.js +0 -17
  442. package/esm/packages/icons/esm/Glasses.js +0 -17
  443. package/esm/packages/icons/esm/Global.js +0 -17
  444. package/esm/packages/icons/esm/GoogleColor.js +0 -35
  445. package/esm/packages/icons/esm/Graph.js +0 -17
  446. package/esm/packages/icons/esm/Hair.js +0 -17
  447. package/esm/packages/icons/esm/Headphone.js +0 -17
  448. package/esm/packages/icons/esm/Heart.js +0 -17
  449. package/esm/packages/icons/esm/Home.js +0 -17
  450. package/esm/packages/icons/esm/Infinite.js +0 -15
  451. package/esm/packages/icons/esm/InfoInCircle.js +0 -17
  452. package/esm/packages/icons/esm/Instagram.js +0 -17
  453. package/esm/packages/icons/esm/KakaoColor.js +0 -20
  454. package/esm/packages/icons/esm/Kor.js +0 -20
  455. package/esm/packages/icons/esm/LandscapeArrow.js +0 -20
  456. package/esm/packages/icons/esm/League.js +0 -17
  457. package/esm/packages/icons/esm/Letter.js +0 -17
  458. package/esm/packages/icons/esm/LetterCrownColor.js +0 -26
  459. package/esm/packages/icons/esm/LetterCrownOpenColor.js +0 -35
  460. package/esm/packages/icons/esm/LetterHeartColor.js +0 -26
  461. package/esm/packages/icons/esm/LetterHeartOpenColor.js +0 -35
  462. package/esm/packages/icons/esm/LineThree.js +0 -17
  463. package/esm/packages/icons/esm/Link.js +0 -22
  464. package/esm/packages/icons/esm/Lock.js +0 -17
  465. package/esm/packages/icons/esm/LogoApple.js +0 -17
  466. package/esm/packages/icons/esm/LogoColor.js +0 -22
  467. package/esm/packages/icons/esm/LogoFacebook.js +0 -17
  468. package/esm/packages/icons/esm/LogoKakao.js +0 -17
  469. package/esm/packages/icons/esm/LogoNaver.js +0 -15
  470. package/esm/packages/icons/esm/MagicWand.js +0 -22
  471. package/esm/packages/icons/esm/Maxsize.js +0 -15
  472. package/esm/packages/icons/esm/Minsize.js +0 -17
  473. package/esm/packages/icons/esm/Minus.js +0 -17
  474. package/esm/packages/icons/esm/MinusInCircle.js +0 -17
  475. package/esm/packages/icons/esm/Moneybag.js +0 -17
  476. package/esm/packages/icons/esm/MoneybagColor.js +0 -20
  477. package/esm/packages/icons/esm/Moon.js +0 -15
  478. package/esm/packages/icons/esm/More.js +0 -17
  479. package/esm/packages/icons/esm/MyBubble.js +0 -17
  480. package/esm/packages/icons/esm/NaverColor.js +0 -18
  481. package/esm/packages/icons/esm/New.js +0 -22
  482. package/esm/packages/icons/esm/Note.js +0 -17
  483. package/esm/packages/icons/esm/NoteColor.js +0 -18
  484. package/esm/packages/icons/esm/NotePenColor.js +0 -46
  485. package/esm/packages/icons/esm/NumberFiveFilled.js +0 -17
  486. package/esm/packages/icons/esm/NumberFiveOutlined.js +0 -20
  487. package/esm/packages/icons/esm/NumberFourFilled.js +0 -17
  488. package/esm/packages/icons/esm/NumberFourOutlined.js +0 -20
  489. package/esm/packages/icons/esm/NumberOneFilled.js +0 -17
  490. package/esm/packages/icons/esm/NumberOneOutlined.js +0 -20
  491. package/esm/packages/icons/esm/NumberThreeFilled.js +0 -17
  492. package/esm/packages/icons/esm/NumberThreeOutlined.js +0 -20
  493. package/esm/packages/icons/esm/NumberTwoFilled.js +0 -17
  494. package/esm/packages/icons/esm/NumberTwoOutlined.js +0 -20
  495. package/esm/packages/icons/esm/Out.js +0 -17
  496. package/esm/packages/icons/esm/PalmTreeColor.js +0 -41
  497. package/esm/packages/icons/esm/PaperCheck.js +0 -36
  498. package/esm/packages/icons/esm/PaperPen.js +0 -31
  499. package/esm/packages/icons/esm/PaperPenColor.js +0 -20
  500. package/esm/packages/icons/esm/PaperTwo.js +0 -18
  501. package/esm/packages/icons/esm/Pause.js +0 -17
  502. package/esm/packages/icons/esm/Pen.js +0 -17
  503. package/esm/packages/icons/esm/PercentInCircle.js +0 -22
  504. package/esm/packages/icons/esm/Picture.js +0 -17
  505. package/esm/packages/icons/esm/Pill.js +0 -25
  506. package/esm/packages/icons/esm/PillColor.js +0 -18
  507. package/esm/packages/icons/esm/Pin.js +0 -17
  508. package/esm/packages/icons/esm/PinColorRed.js +0 -26
  509. package/esm/packages/icons/esm/Play.js +0 -15
  510. package/esm/packages/icons/esm/Plus.js +0 -17
  511. package/esm/packages/icons/esm/PlusInCircle.js +0 -17
  512. package/esm/packages/icons/esm/PointInCircle.js +0 -22
  513. package/esm/packages/icons/esm/PointInCircleColor.js +0 -27
  514. package/esm/packages/icons/esm/PortraitArrow.js +0 -20
  515. package/esm/packages/icons/esm/Present.js +0 -21
  516. package/esm/packages/icons/esm/PresentColor.js +0 -20
  517. package/esm/packages/icons/esm/Print.js +0 -20
  518. package/esm/packages/icons/esm/Problem.js +0 -15
  519. package/esm/packages/icons/esm/Profile.js +0 -17
  520. package/esm/packages/icons/esm/ProgressGradient.js +0 -41
  521. package/esm/packages/icons/esm/QuestionMarkInCircle.js +0 -17
  522. package/esm/packages/icons/esm/QuestionMarkInCircleOutlined.js +0 -20
  523. package/esm/packages/icons/esm/QuizColor.js +0 -28
  524. package/esm/packages/icons/esm/RaffleColor.js +0 -113
  525. package/esm/packages/icons/esm/Receipt.js +0 -17
  526. package/esm/packages/icons/esm/Refresh.js +0 -17
  527. package/esm/packages/icons/esm/Repeat.js +0 -15
  528. package/esm/packages/icons/esm/ReportColor.js +0 -30
  529. package/esm/packages/icons/esm/School.js +0 -20
  530. package/esm/packages/icons/esm/SchoolColor.js +0 -27
  531. package/esm/packages/icons/esm/Scroll.js +0 -22
  532. package/esm/packages/icons/esm/Search.js +0 -15
  533. package/esm/packages/icons/esm/Set.js +0 -20
  534. package/esm/packages/icons/esm/Setting.js +0 -17
  535. package/esm/packages/icons/esm/Share.js +0 -22
  536. package/esm/packages/icons/esm/ShieldCheck.js +0 -15
  537. package/esm/packages/icons/esm/Sidebar.js +0 -17
  538. package/esm/packages/icons/esm/Siren.js +0 -17
  539. package/esm/packages/icons/esm/Skipback.js +0 -17
  540. package/esm/packages/icons/esm/Skipforward.js +0 -17
  541. package/esm/packages/icons/esm/SoundOff.js +0 -15
  542. package/esm/packages/icons/esm/SoundOn.js +0 -25
  543. package/esm/packages/icons/esm/SoundPaper.js +0 -20
  544. package/esm/packages/icons/esm/Speaker.js +0 -17
  545. package/esm/packages/icons/esm/Stackup.js +0 -27
  546. package/esm/packages/icons/esm/Star.js +0 -17
  547. package/esm/packages/icons/esm/StarColor.js +0 -21
  548. package/esm/packages/icons/esm/Store.js +0 -15
  549. package/esm/packages/icons/esm/Sun.js +0 -15
  550. package/esm/packages/icons/esm/Sync.js +0 -17
  551. package/esm/packages/icons/esm/TestUploadColor.js +0 -26
  552. package/esm/packages/icons/esm/Thumbdown.js +0 -17
  553. package/esm/packages/icons/esm/Thumbup.js +0 -17
  554. package/esm/packages/icons/esm/Thunder.js +0 -17
  555. package/esm/packages/icons/esm/Ticket.js +0 -17
  556. package/esm/packages/icons/esm/TicketColor.js +0 -29
  557. package/esm/packages/icons/esm/Time.js +0 -17
  558. package/esm/packages/icons/esm/Timer.js +0 -17
  559. package/esm/packages/icons/esm/Top.js +0 -17
  560. package/esm/packages/icons/esm/Touch.js +0 -26
  561. package/esm/packages/icons/esm/Trash.js +0 -17
  562. package/esm/packages/icons/esm/Treasurebox.js +0 -22
  563. package/esm/packages/icons/esm/Trophy.js +0 -17
  564. package/esm/packages/icons/esm/Twinkle.js +0 -15
  565. package/esm/packages/icons/esm/TwinkleColor.js +0 -48
  566. package/esm/packages/icons/esm/Undo.js +0 -17
  567. package/esm/packages/icons/esm/University.js +0 -26
  568. package/esm/packages/icons/esm/UserBlocked.js +0 -17
  569. package/esm/packages/icons/esm/UserCheck.js +0 -17
  570. package/esm/packages/icons/esm/UserPlus.js +0 -17
  571. package/esm/packages/icons/esm/UserTwo.js +0 -23
  572. package/esm/packages/icons/esm/Video.js +0 -17
  573. package/esm/packages/icons/esm/VideoColor.js +0 -18
  574. package/esm/packages/icons/esm/VoteColor.js +0 -24
  575. package/esm/packages/icons/esm/Warning.js +0 -17
  576. package/esm/packages/icons/esm/Wifi.js +0 -27
  577. package/esm/packages/icons/esm/Workbook.js +0 -28
  578. package/esm/packages/icons/esm/WorkbookColor.js +0 -29
  579. package/esm/packages/icons/esm/Wrong.js +0 -20
  580. package/esm/packages/icons/esm/Youtube.js +0 -17
  581. package/esm/packages/icons/esm/_virtual/_rollupPluginBabelHelpers.js +0 -16
  582. package/esm/packages/icons/esm/index.js +0 -242
  583. package/esm/packages/token-studio/esm/foundation/breakpoint/device.js +0 -7
  584. package/esm/packages/token-studio/esm/foundation/gradient/colorStopList/index.js +0 -9
  585. package/esm/packages/token-studio/esm/foundation/gradient/direction/index.js +0 -9
  586. package/esm/packages/token-studio/esm/foundation/opacity/index.js +0 -5
  587. package/esm/packages/token-studio/esm/foundation/palette/index.js +0 -169
  588. package/esm/packages/token-studio/esm/foundation/rounding/index.js +0 -13
  589. package/esm/packages/token-studio/esm/foundation/shadow/index.js +0 -5
  590. package/esm/packages/token-studio/esm/foundation/spacing/index.js +0 -56
  591. package/esm/packages/token-studio/esm/foundation/typography/fontSize/index.js +0 -18
  592. package/esm/packages/token-studio/esm/foundation/typography/fontWeight/index.js +0 -13
  593. package/esm/packages/token-studio/esm/foundation/typography/lineHeight/index.js +0 -6
  594. package/esm/packages/token-studio/esm/token/breakpoints/index.js +0 -6
  595. package/esm/packages/token-studio/esm/token/color/gpai/dark.js +0 -223
  596. package/esm/packages/token-studio/esm/token/color/gpai/light.js +0 -223
  597. package/esm/packages/token-studio/esm/token/color/index.js +0 -223
  598. package/esm/packages/token-studio/esm/token/elevation/index.js +0 -7
  599. package/esm/packages/token-studio/esm/token/gradient/index.js +0 -41
  600. package/esm/packages/token-studio/esm/token/opacity/index.js +0 -7
  601. package/esm/packages/token-studio/esm/token/radii/index.js +0 -15
  602. package/esm/packages/token-studio/esm/token/space/index.js +0 -55
  603. package/esm/packages/token-studio/esm/token/typography/fontSizes.js +0 -17
  604. package/esm/packages/token-studio/esm/token/typography/fontWeights.js +0 -9
  605. package/esm/packages/token-studio/esm/token/typography/index.js +0 -133
  606. package/esm/packages/token-studio/esm/token/typography/lineHeights.js +0 -8
  607. package/esm/packages/utils/esm/commaizeNumber.js +0 -10
  608. package/esm/packages/utils/esm/forcePixelValue.js +0 -8
  609. package/esm/packages/utils/esm/isArray.js +0 -3
  610. package/esm/packages/utils/esm/isFunction.js +0 -3
  611. package/esm/packages/utils/esm/isNullable.js +0 -3
  612. package/esm/packages/utils/esm/noop.js +0 -6
  613. package/esm/packages/utils/esm/scrollIntoView.js +0 -46
@@ -1,55 +0,0 @@
1
- import { buildHTMLStyles } from './utils/build-styles.js';
2
- import { isCSSVariableName } from '../dom/utils/is-css-variable.js';
3
- import { transformProps } from './utils/transform.js';
4
- import { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.js';
5
- import { renderHTML } from './utils/render.js';
6
- import { getDefaultValueType } from '../dom/value-types/defaults.js';
7
- import { measureViewportBox } from '../../projection/utils/measure.js';
8
- import { DOMVisualElement } from '../dom/DOMVisualElement.js';
9
- import { isMotionValue } from '../../value/utils/is-motion-value.js';
10
-
11
- function getComputedStyle(element) {
12
- return window.getComputedStyle(element);
13
- }
14
- class HTMLVisualElement extends DOMVisualElement {
15
- readValueFromInstance(instance, key) {
16
- if (transformProps.has(key)) {
17
- const defaultType = getDefaultValueType(key);
18
- return defaultType ? defaultType.default || 0 : 0;
19
- }
20
- else {
21
- const computedStyle = getComputedStyle(instance);
22
- const value = (isCSSVariableName(key)
23
- ? computedStyle.getPropertyValue(key)
24
- : computedStyle[key]) || 0;
25
- return typeof value === "string" ? value.trim() : value;
26
- }
27
- }
28
- measureInstanceViewportBox(instance, { transformPagePoint }) {
29
- return measureViewportBox(instance, transformPagePoint);
30
- }
31
- build(renderState, latestValues, options, props) {
32
- buildHTMLStyles(renderState, latestValues, options, props.transformTemplate);
33
- }
34
- scrapeMotionValuesFromProps(props, prevProps) {
35
- return scrapeMotionValuesFromProps(props, prevProps);
36
- }
37
- handleChildMotionValue() {
38
- if (this.childSubscription) {
39
- this.childSubscription();
40
- delete this.childSubscription;
41
- }
42
- const { children } = this.props;
43
- if (isMotionValue(children)) {
44
- this.childSubscription = children.on("change", (latest) => {
45
- if (this.current)
46
- this.current.textContent = `${latest}`;
47
- });
48
- }
49
- }
50
- renderInstance(instance, renderState, styleProp, projection) {
51
- renderHTML(instance, renderState, styleProp, projection);
52
- }
53
- }
54
-
55
- export { HTMLVisualElement, getComputedStyle };
@@ -1,12 +0,0 @@
1
- import { makeUseVisualState } from '../../motion/utils/use-visual-state.js';
2
- import { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.js';
3
- import { createHtmlRenderState } from './utils/create-render-state.js';
4
-
5
- const htmlMotionConfig = {
6
- useVisualState: makeUseVisualState({
7
- scrapeMotionValuesFromProps,
8
- createRenderState: createHtmlRenderState,
9
- }),
10
- };
11
-
12
- export { htmlMotionConfig };
@@ -1,57 +0,0 @@
1
- import { useMemo } from 'react';
2
- import { isForcedMotionValue } from '../../motion/utils/is-forced-motion-value.js';
3
- import { isMotionValue } from '../../value/utils/is-motion-value.js';
4
- import { buildHTMLStyles } from './utils/build-styles.js';
5
- import { createHtmlRenderState } from './utils/create-render-state.js';
6
-
7
- function copyRawValuesOnly(target, source, props) {
8
- for (const key in source) {
9
- if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {
10
- target[key] = source[key];
11
- }
12
- }
13
- }
14
- function useInitialMotionValues({ transformTemplate }, visualState, isStatic) {
15
- return useMemo(() => {
16
- const state = createHtmlRenderState();
17
- buildHTMLStyles(state, visualState, { enableHardwareAcceleration: !isStatic }, transformTemplate);
18
- return Object.assign({}, state.vars, state.style);
19
- }, [visualState]);
20
- }
21
- function useStyle(props, visualState, isStatic) {
22
- const styleProp = props.style || {};
23
- const style = {};
24
- /**
25
- * Copy non-Motion Values straight into style
26
- */
27
- copyRawValuesOnly(style, styleProp, props);
28
- Object.assign(style, useInitialMotionValues(props, visualState, isStatic));
29
- return props.transformValues ? props.transformValues(style) : style;
30
- }
31
- function useHTMLProps(props, visualState, isStatic) {
32
- // The `any` isn't ideal but it is the type of createElement props argument
33
- const htmlProps = {};
34
- const style = useStyle(props, visualState, isStatic);
35
- if (props.drag && props.dragListener !== false) {
36
- // Disable the ghost element when a user drags
37
- htmlProps.draggable = false;
38
- // Disable text selection
39
- style.userSelect =
40
- style.WebkitUserSelect =
41
- style.WebkitTouchCallout =
42
- "none";
43
- // Disable scrolling on the draggable direction
44
- style.touchAction =
45
- props.drag === true
46
- ? "none"
47
- : `pan-${props.drag === "x" ? "y" : "x"}`;
48
- }
49
- if (props.tabIndex === undefined &&
50
- (props.onTap || props.onTapStart || props.whileTap)) {
51
- htmlProps.tabIndex = 0;
52
- }
53
- htmlProps.style = style;
54
- return htmlProps;
55
- }
56
-
57
- export { copyRawValuesOnly, useHTMLProps };
@@ -1,74 +0,0 @@
1
- import { buildTransform } from './build-transform.js';
2
- import { isCSSVariableName } from '../../dom/utils/is-css-variable.js';
3
- import { transformProps } from './transform.js';
4
- import { getValueAsType } from '../../dom/value-types/get-as-type.js';
5
- import { numberValueTypes } from '../../dom/value-types/number.js';
6
-
7
- function buildHTMLStyles(state, latestValues, options, transformTemplate) {
8
- const { style, vars, transform, transformOrigin } = state;
9
- // Track whether we encounter any transform or transformOrigin values.
10
- let hasTransform = false;
11
- let hasTransformOrigin = false;
12
- // Does the calculated transform essentially equal "none"?
13
- let transformIsNone = true;
14
- /**
15
- * Loop over all our latest animated values and decide whether to handle them
16
- * as a style or CSS variable.
17
- *
18
- * Transforms and transform origins are kept seperately for further processing.
19
- */
20
- for (const key in latestValues) {
21
- const value = latestValues[key];
22
- /**
23
- * If this is a CSS variable we don't do any further processing.
24
- */
25
- if (isCSSVariableName(key)) {
26
- vars[key] = value;
27
- continue;
28
- }
29
- // Convert the value to its default value type, ie 0 -> "0px"
30
- const valueType = numberValueTypes[key];
31
- const valueAsType = getValueAsType(value, valueType);
32
- if (transformProps.has(key)) {
33
- // If this is a transform, flag to enable further transform processing
34
- hasTransform = true;
35
- transform[key] = valueAsType;
36
- // If we already know we have a non-default transform, early return
37
- if (!transformIsNone)
38
- continue;
39
- // Otherwise check to see if this is a default transform
40
- if (value !== (valueType.default || 0))
41
- transformIsNone = false;
42
- }
43
- else if (key.startsWith("origin")) {
44
- // If this is a transform origin, flag and enable further transform-origin processing
45
- hasTransformOrigin = true;
46
- transformOrigin[key] = valueAsType;
47
- }
48
- else {
49
- style[key] = valueAsType;
50
- }
51
- }
52
- if (!latestValues.transform) {
53
- if (hasTransform || transformTemplate) {
54
- style.transform = buildTransform(state.transform, options, transformIsNone, transformTemplate);
55
- }
56
- else if (style.transform) {
57
- /**
58
- * If we have previously created a transform but currently don't have any,
59
- * reset transform style to none.
60
- */
61
- style.transform = "none";
62
- }
63
- }
64
- /**
65
- * Build a transformOrigin style. Uses the same defaults as the browser for
66
- * undefined origins.
67
- */
68
- if (hasTransformOrigin) {
69
- const { originX = "50%", originY = "50%", originZ = 0, } = transformOrigin;
70
- style.transformOrigin = `${originX} ${originY} ${originZ}`;
71
- }
72
- }
73
-
74
- export { buildHTMLStyles };
@@ -1,45 +0,0 @@
1
- import { transformPropOrder } from './transform.js';
2
-
3
- const translateAlias = {
4
- x: "translateX",
5
- y: "translateY",
6
- z: "translateZ",
7
- transformPerspective: "perspective",
8
- };
9
- const numTransforms = transformPropOrder.length;
10
- /**
11
- * Build a CSS transform style from individual x/y/scale etc properties.
12
- *
13
- * This outputs with a default order of transforms/scales/rotations, this can be customised by
14
- * providing a transformTemplate function.
15
- */
16
- function buildTransform(transform, { enableHardwareAcceleration = true, allowTransformNone = true, }, transformIsDefault, transformTemplate) {
17
- // The transform string we're going to build into.
18
- let transformString = "";
19
- /**
20
- * Loop over all possible transforms in order, adding the ones that
21
- * are present to the transform string.
22
- */
23
- for (let i = 0; i < numTransforms; i++) {
24
- const key = transformPropOrder[i];
25
- if (transform[key] !== undefined) {
26
- const transformName = translateAlias[key] || key;
27
- transformString += `${transformName}(${transform[key]}) `;
28
- }
29
- }
30
- if (enableHardwareAcceleration && !transform.z) {
31
- transformString += "translateZ(0)";
32
- }
33
- transformString = transformString.trim();
34
- // If we have a custom `transform` template, pass our transform values and
35
- // generated transformString to that before returning
36
- if (transformTemplate) {
37
- transformString = transformTemplate(transform, transformIsDefault ? "" : transformString);
38
- }
39
- else if (allowTransformNone && transformIsDefault) {
40
- transformString = "none";
41
- }
42
- return transformString;
43
- }
44
-
45
- export { buildTransform };
@@ -1,8 +0,0 @@
1
- const createHtmlRenderState = () => ({
2
- style: {},
3
- transform: {},
4
- transformOrigin: {},
5
- vars: {},
6
- });
7
-
8
- export { createHtmlRenderState };
@@ -1,9 +0,0 @@
1
- function renderHTML(element, { style, vars }, styleProp, projection) {
2
- Object.assign(element.style, style, projection && projection.getProjectionStyles(styleProp));
3
- // Loop over any CSS variables and assign those.
4
- for (const key in vars) {
5
- element.style.setProperty(key, vars[key]);
6
- }
7
- }
8
-
9
- export { renderHTML };
@@ -1,17 +0,0 @@
1
- import { isForcedMotionValue } from '../../../motion/utils/is-forced-motion-value.js';
2
- import { isMotionValue } from '../../../value/utils/is-motion-value.js';
3
-
4
- function scrapeMotionValuesFromProps(props, prevProps) {
5
- const { style } = props;
6
- const newValues = {};
7
- for (const key in style) {
8
- if (isMotionValue(style[key]) ||
9
- (prevProps.style && isMotionValue(prevProps.style[key])) ||
10
- isForcedMotionValue(key, props)) {
11
- newValues[key] = style[key];
12
- }
13
- }
14
- return newValues;
15
- }
16
-
17
- export { scrapeMotionValuesFromProps };
@@ -1,28 +0,0 @@
1
- /**
2
- * Generate a list of every possible transform key.
3
- */
4
- const transformPropOrder = [
5
- "transformPerspective",
6
- "x",
7
- "y",
8
- "z",
9
- "translateX",
10
- "translateY",
11
- "translateZ",
12
- "scale",
13
- "scaleX",
14
- "scaleY",
15
- "rotate",
16
- "rotateX",
17
- "rotateY",
18
- "rotateZ",
19
- "skew",
20
- "skewX",
21
- "skewY",
22
- ];
23
- /**
24
- * A quick lookup for transform props.
25
- */
26
- const transformProps = new Set(transformPropOrder);
27
-
28
- export { transformPropOrder, transformProps };
@@ -1,3 +0,0 @@
1
- const visualElementStore = new WeakMap();
2
-
3
- export { visualElementStore };
@@ -1,46 +0,0 @@
1
- import { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.js';
2
- import { DOMVisualElement } from '../dom/DOMVisualElement.js';
3
- import { buildSVGAttrs } from './utils/build-attrs.js';
4
- import { camelToDash } from '../dom/utils/camel-to-dash.js';
5
- import { camelCaseAttributes } from './utils/camel-case-attrs.js';
6
- import { transformProps } from '../html/utils/transform.js';
7
- import { renderSVG } from './utils/render.js';
8
- import { getDefaultValueType } from '../dom/value-types/defaults.js';
9
- import { createBox } from '../../projection/geometry/models.js';
10
- import { isSVGTag } from './utils/is-svg-tag.js';
11
-
12
- class SVGVisualElement extends DOMVisualElement {
13
- constructor() {
14
- super(...arguments);
15
- this.isSVGTag = false;
16
- }
17
- getBaseTargetFromProps(props, key) {
18
- return props[key];
19
- }
20
- readValueFromInstance(instance, key) {
21
- if (transformProps.has(key)) {
22
- const defaultType = getDefaultValueType(key);
23
- return defaultType ? defaultType.default || 0 : 0;
24
- }
25
- key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;
26
- return instance.getAttribute(key);
27
- }
28
- measureInstanceViewportBox() {
29
- return createBox();
30
- }
31
- scrapeMotionValuesFromProps(props, prevProps) {
32
- return scrapeMotionValuesFromProps(props, prevProps);
33
- }
34
- build(renderState, latestValues, options, props) {
35
- buildSVGAttrs(renderState, latestValues, options, this.isSVGTag, props.transformTemplate);
36
- }
37
- renderInstance(instance, renderState, styleProp, projection) {
38
- renderSVG(instance, renderState, styleProp, projection);
39
- }
40
- mount(instance) {
41
- this.isSVGTag = isSVGTag(instance.tagName);
42
- super.mount(instance);
43
- }
44
- }
45
-
46
- export { SVGVisualElement };
@@ -1,40 +0,0 @@
1
- import { renderSVG } from './utils/render.js';
2
- import { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.js';
3
- import { makeUseVisualState } from '../../motion/utils/use-visual-state.js';
4
- import { createSvgRenderState } from './utils/create-render-state.js';
5
- import { buildSVGAttrs } from './utils/build-attrs.js';
6
- import { isSVGTag } from './utils/is-svg-tag.js';
7
- import { frame } from '../../frameloop/frame.js';
8
-
9
- const svgMotionConfig = {
10
- useVisualState: makeUseVisualState({
11
- scrapeMotionValuesFromProps: scrapeMotionValuesFromProps,
12
- createRenderState: createSvgRenderState,
13
- onMount: (props, instance, { renderState, latestValues }) => {
14
- frame.read(() => {
15
- try {
16
- renderState.dimensions =
17
- typeof instance.getBBox ===
18
- "function"
19
- ? instance.getBBox()
20
- : instance.getBoundingClientRect();
21
- }
22
- catch (e) {
23
- // Most likely trying to measure an unrendered element under Firefox
24
- renderState.dimensions = {
25
- x: 0,
26
- y: 0,
27
- width: 0,
28
- height: 0,
29
- };
30
- }
31
- });
32
- frame.render(() => {
33
- buildSVGAttrs(renderState, latestValues, { enableHardwareAcceleration: false }, isSVGTag(instance.tagName), props.transformTemplate);
34
- renderSVG(instance, renderState);
35
- });
36
- },
37
- }),
38
- };
39
-
40
- export { svgMotionConfig };
@@ -1,33 +0,0 @@
1
- /**
2
- * We keep these listed seperately as we use the lowercase tag names as part
3
- * of the runtime bundle to detect SVG components
4
- */
5
- const lowercaseSVGElements = [
6
- "animate",
7
- "circle",
8
- "defs",
9
- "desc",
10
- "ellipse",
11
- "g",
12
- "image",
13
- "line",
14
- "filter",
15
- "marker",
16
- "mask",
17
- "metadata",
18
- "path",
19
- "pattern",
20
- "polygon",
21
- "polyline",
22
- "rect",
23
- "stop",
24
- "switch",
25
- "symbol",
26
- "svg",
27
- "text",
28
- "tspan",
29
- "use",
30
- "view",
31
- ];
32
-
33
- export { lowercaseSVGElements };
@@ -1,24 +0,0 @@
1
- import { useMemo } from 'react';
2
- import { copyRawValuesOnly } from '../html/use-props.js';
3
- import { buildSVGAttrs } from './utils/build-attrs.js';
4
- import { createSvgRenderState } from './utils/create-render-state.js';
5
- import { isSVGTag } from './utils/is-svg-tag.js';
6
-
7
- function useSVGProps(props, visualState, _isStatic, Component) {
8
- const visualProps = useMemo(() => {
9
- const state = createSvgRenderState();
10
- buildSVGAttrs(state, visualState, { enableHardwareAcceleration: false }, isSVGTag(Component), props.transformTemplate);
11
- return {
12
- ...state.attrs,
13
- style: { ...state.style },
14
- };
15
- }, [visualState]);
16
- if (props.style) {
17
- const rawStyles = {};
18
- copyRawValuesOnly(rawStyles, props.style, props);
19
- visualProps.style = { ...rawStyles, ...visualProps.style };
20
- }
21
- return visualProps;
22
- }
23
-
24
- export { useSVGProps };
@@ -1,52 +0,0 @@
1
- import { buildHTMLStyles } from '../../html/utils/build-styles.js';
2
- import { calcSVGTransformOrigin } from './transform-origin.js';
3
- import { buildSVGPath } from './path.js';
4
-
5
- /**
6
- * Build SVG visual attrbutes, like cx and style.transform
7
- */
8
- function buildSVGAttrs(state, { attrX, attrY, attrScale, originX, originY, pathLength, pathSpacing = 1, pathOffset = 0,
9
- // This is object creation, which we try to avoid per-frame.
10
- ...latest }, options, isSVGTag, transformTemplate) {
11
- buildHTMLStyles(state, latest, options, transformTemplate);
12
- /**
13
- * For svg tags we just want to make sure viewBox is animatable and treat all the styles
14
- * as normal HTML tags.
15
- */
16
- if (isSVGTag) {
17
- if (state.style.viewBox) {
18
- state.attrs.viewBox = state.style.viewBox;
19
- }
20
- return;
21
- }
22
- state.attrs = state.style;
23
- state.style = {};
24
- const { attrs, style, dimensions } = state;
25
- /**
26
- * However, we apply transforms as CSS transforms. So if we detect a transform we take it from attrs
27
- * and copy it into style.
28
- */
29
- if (attrs.transform) {
30
- if (dimensions)
31
- style.transform = attrs.transform;
32
- delete attrs.transform;
33
- }
34
- // Parse transformOrigin
35
- if (dimensions &&
36
- (originX !== undefined || originY !== undefined || style.transform)) {
37
- style.transformOrigin = calcSVGTransformOrigin(dimensions, originX !== undefined ? originX : 0.5, originY !== undefined ? originY : 0.5);
38
- }
39
- // Render attrX/attrY/attrScale as attributes
40
- if (attrX !== undefined)
41
- attrs.x = attrX;
42
- if (attrY !== undefined)
43
- attrs.y = attrY;
44
- if (attrScale !== undefined)
45
- attrs.scale = attrScale;
46
- // Build SVG path if one has been defined
47
- if (pathLength !== undefined) {
48
- buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);
49
- }
50
- }
51
-
52
- export { buildSVGAttrs };
@@ -1,30 +0,0 @@
1
- /**
2
- * A set of attribute names that are always read/written as camel case.
3
- */
4
- const camelCaseAttributes = new Set([
5
- "baseFrequency",
6
- "diffuseConstant",
7
- "kernelMatrix",
8
- "kernelUnitLength",
9
- "keySplines",
10
- "keyTimes",
11
- "limitingConeAngle",
12
- "markerHeight",
13
- "markerWidth",
14
- "numOctaves",
15
- "targetX",
16
- "targetY",
17
- "surfaceScale",
18
- "specularConstant",
19
- "specularExponent",
20
- "stdDeviation",
21
- "tableValues",
22
- "viewBox",
23
- "gradientTransform",
24
- "pathLength",
25
- "startOffset",
26
- "textLength",
27
- "lengthAdjust",
28
- ]);
29
-
30
- export { camelCaseAttributes };
@@ -1,8 +0,0 @@
1
- import { createHtmlRenderState } from '../../html/utils/create-render-state.js';
2
-
3
- const createSvgRenderState = () => ({
4
- ...createHtmlRenderState(),
5
- attrs: {},
6
- });
7
-
8
- export { createSvgRenderState };
@@ -1,3 +0,0 @@
1
- const isSVGTag = (tag) => typeof tag === "string" && tag.toLowerCase() === "svg";
2
-
3
- export { isSVGTag };
@@ -1,32 +0,0 @@
1
- import { px } from '../../../value/types/numbers/units.js';
2
-
3
- const dashKeys = {
4
- offset: "stroke-dashoffset",
5
- array: "stroke-dasharray",
6
- };
7
- const camelKeys = {
8
- offset: "strokeDashoffset",
9
- array: "strokeDasharray",
10
- };
11
- /**
12
- * Build SVG path properties. Uses the path's measured length to convert
13
- * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset
14
- * and stroke-dasharray attributes.
15
- *
16
- * This function is mutative to reduce per-frame GC.
17
- */
18
- function buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) {
19
- // Normalise path length by setting SVG attribute pathLength to 1
20
- attrs.pathLength = 1;
21
- // We use dash case when setting attributes directly to the DOM node and camel case
22
- // when defining props on a React component.
23
- const keys = useDashCase ? dashKeys : camelKeys;
24
- // Build the dash offset
25
- attrs[keys.offset] = px.transform(-offset);
26
- // Build the dash array
27
- const pathLength = px.transform(length);
28
- const pathSpacing = px.transform(spacing);
29
- attrs[keys.array] = `${pathLength} ${pathSpacing}`;
30
- }
31
-
32
- export { buildSVGPath };
@@ -1,12 +0,0 @@
1
- import { camelToDash } from '../../dom/utils/camel-to-dash.js';
2
- import { renderHTML } from '../../html/utils/render.js';
3
- import { camelCaseAttributes } from './camel-case-attrs.js';
4
-
5
- function renderSVG(element, renderState, _styleProp, projection) {
6
- renderHTML(element, renderState, undefined, projection);
7
- for (const key in renderState.attrs) {
8
- element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);
9
- }
10
- }
11
-
12
- export { renderSVG };
@@ -1,18 +0,0 @@
1
- import { isMotionValue } from '../../../value/utils/is-motion-value.js';
2
- import { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.js';
3
- import { transformPropOrder } from '../../html/utils/transform.js';
4
-
5
- function scrapeMotionValuesFromProps(props, prevProps) {
6
- const newValues = scrapeMotionValuesFromProps$1(props, prevProps);
7
- for (const key in props) {
8
- if (isMotionValue(props[key]) || isMotionValue(prevProps[key])) {
9
- const targetKey = transformPropOrder.indexOf(key) !== -1
10
- ? "attr" + key.charAt(0).toUpperCase() + key.substring(1)
11
- : key;
12
- newValues[targetKey] = props[key];
13
- }
14
- }
15
- return newValues;
16
- }
17
-
18
- export { scrapeMotionValuesFromProps };
@@ -1,18 +0,0 @@
1
- import { px } from '../../../value/types/numbers/units.js';
2
-
3
- function calcOrigin(origin, offset, size) {
4
- return typeof origin === "string"
5
- ? origin
6
- : px.transform(offset + size * origin);
7
- }
8
- /**
9
- * The SVG transform origin defaults are different to CSS and is less intuitive,
10
- * so we use the measured dimensions of the SVG to reconcile these.
11
- */
12
- function calcSVGTransformOrigin(dimensions, originX, originY) {
13
- const pxOriginX = calcOrigin(originX, dimensions.x, dimensions.width);
14
- const pxOriginY = calcOrigin(originY, dimensions.y, dimensions.height);
15
- return `${pxOriginX} ${pxOriginY}`;
16
- }
17
-
18
- export { calcSVGTransformOrigin };