@teamturing/react-kit 2.4.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/core/Button/index.d.ts +1 -1
  2. package/dist/core/Dialog/index.d.ts +16 -0
  3. package/dist/core/DialogHandler/index.d.ts +13 -0
  4. package/dist/core/GradientText/index.d.ts +11 -12
  5. package/dist/core/Grid/index.d.ts +2 -2
  6. package/dist/core/IconButton/index.d.ts +1 -1
  7. package/dist/core/ItemList/index.d.ts +2 -2
  8. package/dist/core/MotionView/index.d.ts +3 -0
  9. package/dist/core/Spinner/index.d.ts +116 -116
  10. package/dist/core/Stack/index.d.ts +2 -2
  11. package/dist/core/TextInput/index.d.ts +39 -0
  12. package/dist/core/Textarea/index.d.ts +9 -0
  13. package/dist/hook/useDialogHandler.d.ts +6 -0
  14. package/dist/index.d.ts +8 -0
  15. package/dist/index.js +10732 -593
  16. package/dist/utils/index.d.ts +1 -0
  17. package/dist/utils/isFunction.d.ts +1 -0
  18. package/esm/_virtual/index.js +3 -0
  19. package/esm/_virtual/react-is.development.js +3 -0
  20. package/esm/_virtual/react-is.production.min.js +3 -0
  21. package/esm/core/Dialog/index.js +188 -0
  22. package/esm/core/DialogHandler/index.js +33 -0
  23. package/esm/core/MotionView/index.js +6 -0
  24. package/esm/core/TextInput/index.js +220 -0
  25. package/esm/core/Textarea/index.js +158 -0
  26. package/esm/hook/useDialogHandler.js +14 -0
  27. package/esm/index.js +5 -0
  28. package/esm/node_modules/framer-motion/dist/es/animation/animators/instant.js +40 -0
  29. package/esm/node_modules/framer-motion/dist/es/animation/animators/js/driver-frameloop.js +16 -0
  30. package/esm/node_modules/framer-motion/dist/es/animation/animators/js/index.js +303 -0
  31. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/create-accelerated-animation.js +199 -0
  32. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/easing.js +31 -0
  33. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +23 -0
  34. package/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
  35. package/esm/node_modules/framer-motion/dist/es/animation/generators/inertia.js +87 -0
  36. package/esm/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +51 -0
  37. package/esm/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +89 -0
  38. package/esm/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +129 -0
  39. package/esm/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.js +17 -0
  40. package/esm/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +9 -0
  41. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +101 -0
  42. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/single-value.js +11 -0
  43. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +71 -0
  44. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +63 -0
  45. package/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +24 -0
  46. package/esm/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
  47. package/esm/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +40 -0
  48. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +30 -0
  49. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +5 -0
  50. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +5 -0
  51. package/esm/node_modules/framer-motion/dist/es/animation/utils/is-none.js +12 -0
  52. package/esm/node_modules/framer-motion/dist/es/animation/utils/keyframes.js +45 -0
  53. package/esm/node_modules/framer-motion/dist/es/animation/utils/transitions.js +13 -0
  54. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +71 -0
  55. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +56 -0
  56. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +158 -0
  57. package/esm/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +40 -0
  58. package/esm/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
  59. package/esm/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
  60. package/esm/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
  61. package/esm/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
  62. package/esm/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
  63. package/esm/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
  64. package/esm/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
  65. package/esm/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
  66. package/esm/node_modules/framer-motion/dist/es/debug/record.js +7 -0
  67. package/esm/node_modules/framer-motion/dist/es/easing/anticipate.js +5 -0
  68. package/esm/node_modules/framer-motion/dist/es/easing/back.js +9 -0
  69. package/esm/node_modules/framer-motion/dist/es/easing/circ.js +8 -0
  70. package/esm/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +51 -0
  71. package/esm/node_modules/framer-motion/dist/es/easing/ease.js +7 -0
  72. package/esm/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +5 -0
  73. package/esm/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +5 -0
  74. package/esm/node_modules/framer-motion/dist/es/easing/utils/is-bezier-definition.js +3 -0
  75. package/esm/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +5 -0
  76. package/esm/node_modules/framer-motion/dist/es/easing/utils/map.js +37 -0
  77. package/esm/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
  78. package/esm/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
  79. package/esm/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
  80. package/esm/node_modules/framer-motion/dist/es/events/utils/is-primary-pointer.js +18 -0
  81. package/esm/node_modules/framer-motion/dist/es/frameloop/batcher.js +60 -0
  82. package/esm/node_modules/framer-motion/dist/es/frameloop/frame.js +6 -0
  83. package/esm/node_modules/framer-motion/dist/es/frameloop/render-step.js +104 -0
  84. package/esm/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +457 -0
  85. package/esm/node_modules/framer-motion/dist/es/gestures/drag/index.js +27 -0
  86. package/esm/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +125 -0
  87. package/esm/node_modules/framer-motion/dist/es/gestures/drag/utils/lock.js +53 -0
  88. package/esm/node_modules/framer-motion/dist/es/gestures/focus.js +41 -0
  89. package/esm/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
  90. package/esm/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +148 -0
  91. package/esm/node_modules/framer-motion/dist/es/gestures/pan/index.js +46 -0
  92. package/esm/node_modules/framer-motion/dist/es/gestures/press.js +120 -0
  93. package/esm/node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.js +20 -0
  94. package/esm/node_modules/framer-motion/dist/es/motion/features/Feature.js +9 -0
  95. package/esm/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +31 -0
  96. package/esm/node_modules/framer-motion/dist/es/motion/features/animation/index.js +38 -0
  97. package/esm/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
  98. package/esm/node_modules/framer-motion/dist/es/motion/features/definitions.js +28 -0
  99. package/esm/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  100. package/esm/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
  101. package/esm/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +131 -0
  102. package/esm/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  103. package/esm/node_modules/framer-motion/dist/es/motion/features/load-features.js +12 -0
  104. package/esm/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +72 -0
  105. package/esm/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +49 -0
  106. package/esm/node_modules/framer-motion/dist/es/motion/index.js +79 -0
  107. package/esm/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +11 -0
  108. package/esm/node_modules/framer-motion/dist/es/motion/utils/symbol.js +3 -0
  109. package/esm/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +33 -0
  110. package/esm/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +75 -0
  111. package/esm/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +81 -0
  112. package/esm/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +59 -0
  113. package/esm/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +93 -0
  114. package/esm/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +33 -0
  115. package/esm/node_modules/framer-motion/dist/es/projection/geometry/copy.js +20 -0
  116. package/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +122 -0
  117. package/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +41 -0
  118. package/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +54 -0
  119. package/esm/node_modules/framer-motion/dist/es/projection/geometry/models.js +17 -0
  120. package/esm/node_modules/framer-motion/dist/es/projection/geometry/utils.js +25 -0
  121. package/esm/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
  122. package/esm/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +27 -0
  123. package/esm/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +1494 -0
  124. package/esm/node_modules/framer-motion/dist/es/projection/node/state.js +19 -0
  125. package/esm/node_modules/framer-motion/dist/es/projection/shared/stack.js +112 -0
  126. package/esm/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +41 -0
  127. package/esm/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +35 -0
  128. package/esm/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +6 -0
  129. package/esm/node_modules/framer-motion/dist/es/projection/styles/transform.js +42 -0
  130. package/esm/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +5 -0
  131. package/esm/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +24 -0
  132. package/esm/node_modules/framer-motion/dist/es/projection/utils/measure.js +17 -0
  133. package/esm/node_modules/framer-motion/dist/es/render/VisualElement.js +507 -0
  134. package/esm/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +48 -0
  135. package/esm/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +11 -0
  136. package/esm/node_modules/framer-motion/dist/es/render/dom/motion-proxy.js +47 -0
  137. package/esm/node_modules/framer-motion/dist/es/render/dom/motion.js +23 -0
  138. package/esm/node_modules/framer-motion/dist/es/render/dom/use-render.js +35 -0
  139. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  140. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/create-config.js +19 -0
  141. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +89 -0
  142. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +57 -0
  143. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +6 -0
  144. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +30 -0
  145. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +5 -0
  146. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.js +15 -0
  147. package/esm/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +230 -0
  148. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +15 -0
  149. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +30 -0
  150. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +15 -0
  151. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +15 -0
  152. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +10 -0
  153. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +72 -0
  154. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +6 -0
  155. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +9 -0
  156. package/esm/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
  157. package/esm/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +55 -0
  158. package/esm/node_modules/framer-motion/dist/es/render/html/config-motion.js +12 -0
  159. package/esm/node_modules/framer-motion/dist/es/render/html/use-props.js +57 -0
  160. package/esm/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +74 -0
  161. package/esm/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +45 -0
  162. package/esm/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +8 -0
  163. package/esm/node_modules/framer-motion/dist/es/render/html/utils/render.js +9 -0
  164. package/esm/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +17 -0
  165. package/esm/node_modules/framer-motion/dist/es/render/html/utils/transform.js +28 -0
  166. package/esm/node_modules/framer-motion/dist/es/render/store.js +3 -0
  167. package/esm/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +46 -0
  168. package/esm/node_modules/framer-motion/dist/es/render/svg/config-motion.js +40 -0
  169. package/esm/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +33 -0
  170. package/esm/node_modules/framer-motion/dist/es/render/svg/use-props.js +24 -0
  171. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +52 -0
  172. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
  173. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
  174. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +3 -0
  175. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/path.js +32 -0
  176. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/render.js +12 -0
  177. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +18 -0
  178. package/esm/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +18 -0
  179. package/esm/node_modules/framer-motion/dist/es/render/utils/animation-state.js +319 -0
  180. package/esm/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +3 -0
  181. package/esm/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +24 -0
  182. package/esm/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
  183. package/esm/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +8 -0
  184. package/esm/node_modules/framer-motion/dist/es/render/utils/motion-values.js +63 -0
  185. package/esm/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +24 -0
  186. package/esm/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +26 -0
  187. package/esm/node_modules/framer-motion/dist/es/render/utils/setters.js +101 -0
  188. package/esm/node_modules/framer-motion/dist/es/render/utils/variant-props.js +12 -0
  189. package/esm/node_modules/framer-motion/dist/es/utils/array.js +11 -0
  190. package/esm/node_modules/framer-motion/dist/es/utils/clamp.js +3 -0
  191. package/esm/node_modules/framer-motion/dist/es/utils/delay.js +19 -0
  192. package/esm/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
  193. package/esm/node_modules/framer-motion/dist/es/utils/errors.js +18 -0
  194. package/esm/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +42 -0
  195. package/esm/node_modules/framer-motion/dist/es/utils/interpolate.js +92 -0
  196. package/esm/node_modules/framer-motion/dist/es/utils/is-browser.js +3 -0
  197. package/esm/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +6 -0
  198. package/esm/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
  199. package/esm/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +6 -0
  200. package/esm/node_modules/framer-motion/dist/es/utils/memo.js +10 -0
  201. package/esm/node_modules/framer-motion/dist/es/utils/mix-color.js +40 -0
  202. package/esm/node_modules/framer-motion/dist/es/utils/mix-complex.js +64 -0
  203. package/esm/node_modules/framer-motion/dist/es/utils/mix.js +24 -0
  204. package/esm/node_modules/framer-motion/dist/es/utils/noop.js +3 -0
  205. package/esm/node_modules/framer-motion/dist/es/utils/offsets/default.js +9 -0
  206. package/esm/node_modules/framer-motion/dist/es/utils/offsets/fill.js +12 -0
  207. package/esm/node_modules/framer-motion/dist/es/utils/offsets/time.js +5 -0
  208. package/esm/node_modules/framer-motion/dist/es/utils/pipe.js +11 -0
  209. package/esm/node_modules/framer-motion/dist/es/utils/progress.js +18 -0
  210. package/esm/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +19 -0
  211. package/esm/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
  212. package/esm/node_modules/framer-motion/dist/es/utils/resolve-value.js +11 -0
  213. package/esm/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
  214. package/esm/node_modules/framer-motion/dist/es/utils/subscription-manager.js +40 -0
  215. package/esm/node_modules/framer-motion/dist/es/utils/time-conversion.js +10 -0
  216. package/esm/node_modules/framer-motion/dist/es/utils/use-constant.js +18 -0
  217. package/esm/node_modules/framer-motion/dist/es/utils/use-force-update.js +19 -0
  218. package/esm/node_modules/framer-motion/dist/es/utils/use-instant-transition-state.js +5 -0
  219. package/esm/node_modules/framer-motion/dist/es/utils/use-is-mounted.js +15 -0
  220. package/esm/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
  221. package/esm/node_modules/framer-motion/dist/es/utils/use-unmount-effect.js +7 -0
  222. package/esm/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +11 -0
  223. package/esm/node_modules/framer-motion/dist/es/utils/warn-once.js +11 -0
  224. package/esm/node_modules/framer-motion/dist/es/value/index.js +331 -0
  225. package/esm/node_modules/framer-motion/dist/es/value/types/color/hex.js +40 -0
  226. package/esm/node_modules/framer-motion/dist/es/value/types/color/hsla.js +22 -0
  227. package/esm/node_modules/framer-motion/dist/es/value/types/color/index.js +28 -0
  228. package/esm/node_modules/framer-motion/dist/es/value/types/color/rgba.js +25 -0
  229. package/esm/node_modules/framer-motion/dist/es/value/types/color/utils.js +23 -0
  230. package/esm/node_modules/framer-motion/dist/es/value/types/complex/filter.js +30 -0
  231. package/esm/node_modules/framer-motion/dist/es/value/types/complex/index.js +92 -0
  232. package/esm/node_modules/framer-motion/dist/es/value/types/numbers/index.js +17 -0
  233. package/esm/node_modules/framer-motion/dist/es/value/types/numbers/units.js +19 -0
  234. package/esm/node_modules/framer-motion/dist/es/value/types/utils.js +15 -0
  235. package/esm/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
  236. package/esm/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +3 -0
  237. package/esm/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +16 -0
  238. package/esm/node_modules/react-is/cjs/react-is.development.js +211 -0
  239. package/esm/node_modules/react-is/cjs/react-is.production.min.js +123 -0
  240. package/esm/node_modules/react-is/index.js +12 -0
  241. package/esm/packages/icons/esm/Close.js +17 -0
  242. package/esm/packages/token-studio/esm/token/elevation/index.js +5 -1
  243. package/esm/utils/isFunction.js +3 -0
  244. package/package.json +5 -3
@@ -0,0 +1,211 @@
1
+ import { __exports as reactIs_development } from '../../../_virtual/react-is.development.js';
2
+
3
+ /**
4
+ * @license React
5
+ * react-is.development.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var hasRequiredReactIs_development;
13
+ function requireReactIs_development() {
14
+ if (hasRequiredReactIs_development) return reactIs_development;
15
+ hasRequiredReactIs_development = 1;
16
+ if (process.env.NODE_ENV !== "production") {
17
+ (function () {
18
+
19
+ // ATTENTION
20
+ // When adding new symbols to this file,
21
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
22
+ // The Symbol used to tag the ReactElement-like types.
23
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
24
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
25
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
26
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
27
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
28
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
29
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
30
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
31
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
32
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
33
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
34
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
35
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
36
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
37
+
38
+ // -----------------------------------------------------------------------------
39
+
40
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
41
+ var enableCacheElement = false;
42
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
43
+
44
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
45
+ // stuff. Intended to enable React core members to more easily debug scheduling
46
+ // issues in DEV builds.
47
+
48
+ var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
49
+
50
+ var REACT_MODULE_REFERENCE;
51
+ {
52
+ REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
53
+ }
54
+ function isValidElementType(type) {
55
+ if (typeof type === 'string' || typeof type === 'function') {
56
+ return true;
57
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
58
+
59
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
60
+ return true;
61
+ }
62
+ if (typeof type === 'object' && type !== null) {
63
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
64
+ // This needs to include all possible module reference object
65
+ // types supported by any Flight configuration anywhere since
66
+ // we don't know which Flight build this will end up being used
67
+ // with.
68
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
69
+ return true;
70
+ }
71
+ }
72
+ return false;
73
+ }
74
+ function typeOf(object) {
75
+ if (typeof object === 'object' && object !== null) {
76
+ var $$typeof = object.$$typeof;
77
+ switch ($$typeof) {
78
+ case REACT_ELEMENT_TYPE:
79
+ var type = object.type;
80
+ switch (type) {
81
+ case REACT_FRAGMENT_TYPE:
82
+ case REACT_PROFILER_TYPE:
83
+ case REACT_STRICT_MODE_TYPE:
84
+ case REACT_SUSPENSE_TYPE:
85
+ case REACT_SUSPENSE_LIST_TYPE:
86
+ return type;
87
+ default:
88
+ var $$typeofType = type && type.$$typeof;
89
+ switch ($$typeofType) {
90
+ case REACT_SERVER_CONTEXT_TYPE:
91
+ case REACT_CONTEXT_TYPE:
92
+ case REACT_FORWARD_REF_TYPE:
93
+ case REACT_LAZY_TYPE:
94
+ case REACT_MEMO_TYPE:
95
+ case REACT_PROVIDER_TYPE:
96
+ return $$typeofType;
97
+ default:
98
+ return $$typeof;
99
+ }
100
+ }
101
+ case REACT_PORTAL_TYPE:
102
+ return $$typeof;
103
+ }
104
+ }
105
+ return undefined;
106
+ }
107
+ var ContextConsumer = REACT_CONTEXT_TYPE;
108
+ var ContextProvider = REACT_PROVIDER_TYPE;
109
+ var Element = REACT_ELEMENT_TYPE;
110
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
111
+ var Fragment = REACT_FRAGMENT_TYPE;
112
+ var Lazy = REACT_LAZY_TYPE;
113
+ var Memo = REACT_MEMO_TYPE;
114
+ var Portal = REACT_PORTAL_TYPE;
115
+ var Profiler = REACT_PROFILER_TYPE;
116
+ var StrictMode = REACT_STRICT_MODE_TYPE;
117
+ var Suspense = REACT_SUSPENSE_TYPE;
118
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
119
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
120
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
121
+
122
+ function isAsyncMode(object) {
123
+ {
124
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
125
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
126
+
127
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
128
+ }
129
+ }
130
+ return false;
131
+ }
132
+ function isConcurrentMode(object) {
133
+ {
134
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
135
+ hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
136
+
137
+ console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
138
+ }
139
+ }
140
+ return false;
141
+ }
142
+ function isContextConsumer(object) {
143
+ return typeOf(object) === REACT_CONTEXT_TYPE;
144
+ }
145
+ function isContextProvider(object) {
146
+ return typeOf(object) === REACT_PROVIDER_TYPE;
147
+ }
148
+ function isElement(object) {
149
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
150
+ }
151
+ function isForwardRef(object) {
152
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
153
+ }
154
+ function isFragment(object) {
155
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
156
+ }
157
+ function isLazy(object) {
158
+ return typeOf(object) === REACT_LAZY_TYPE;
159
+ }
160
+ function isMemo(object) {
161
+ return typeOf(object) === REACT_MEMO_TYPE;
162
+ }
163
+ function isPortal(object) {
164
+ return typeOf(object) === REACT_PORTAL_TYPE;
165
+ }
166
+ function isProfiler(object) {
167
+ return typeOf(object) === REACT_PROFILER_TYPE;
168
+ }
169
+ function isStrictMode(object) {
170
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
171
+ }
172
+ function isSuspense(object) {
173
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
174
+ }
175
+ function isSuspenseList(object) {
176
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
177
+ }
178
+ reactIs_development.ContextConsumer = ContextConsumer;
179
+ reactIs_development.ContextProvider = ContextProvider;
180
+ reactIs_development.Element = Element;
181
+ reactIs_development.ForwardRef = ForwardRef;
182
+ reactIs_development.Fragment = Fragment;
183
+ reactIs_development.Lazy = Lazy;
184
+ reactIs_development.Memo = Memo;
185
+ reactIs_development.Portal = Portal;
186
+ reactIs_development.Profiler = Profiler;
187
+ reactIs_development.StrictMode = StrictMode;
188
+ reactIs_development.Suspense = Suspense;
189
+ reactIs_development.SuspenseList = SuspenseList;
190
+ reactIs_development.isAsyncMode = isAsyncMode;
191
+ reactIs_development.isConcurrentMode = isConcurrentMode;
192
+ reactIs_development.isContextConsumer = isContextConsumer;
193
+ reactIs_development.isContextProvider = isContextProvider;
194
+ reactIs_development.isElement = isElement;
195
+ reactIs_development.isForwardRef = isForwardRef;
196
+ reactIs_development.isFragment = isFragment;
197
+ reactIs_development.isLazy = isLazy;
198
+ reactIs_development.isMemo = isMemo;
199
+ reactIs_development.isPortal = isPortal;
200
+ reactIs_development.isProfiler = isProfiler;
201
+ reactIs_development.isStrictMode = isStrictMode;
202
+ reactIs_development.isSuspense = isSuspense;
203
+ reactIs_development.isSuspenseList = isSuspenseList;
204
+ reactIs_development.isValidElementType = isValidElementType;
205
+ reactIs_development.typeOf = typeOf;
206
+ })();
207
+ }
208
+ return reactIs_development;
209
+ }
210
+
211
+ export { requireReactIs_development as __require };
@@ -0,0 +1,123 @@
1
+ import { __exports as reactIs_production_min } from '../../../_virtual/react-is.production.min.js';
2
+
3
+ /**
4
+ * @license React
5
+ * react-is.production.min.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var hasRequiredReactIs_production_min;
13
+ function requireReactIs_production_min() {
14
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
15
+ hasRequiredReactIs_production_min = 1;
16
+ var b = Symbol.for("react.element"),
17
+ c = Symbol.for("react.portal"),
18
+ d = Symbol.for("react.fragment"),
19
+ e = Symbol.for("react.strict_mode"),
20
+ f = Symbol.for("react.profiler"),
21
+ g = Symbol.for("react.provider"),
22
+ h = Symbol.for("react.context"),
23
+ k = Symbol.for("react.server_context"),
24
+ l = Symbol.for("react.forward_ref"),
25
+ m = Symbol.for("react.suspense"),
26
+ n = Symbol.for("react.suspense_list"),
27
+ p = Symbol.for("react.memo"),
28
+ q = Symbol.for("react.lazy"),
29
+ t = Symbol.for("react.offscreen"),
30
+ u;
31
+ u = Symbol.for("react.module.reference");
32
+ function v(a) {
33
+ if ("object" === typeof a && null !== a) {
34
+ var r = a.$$typeof;
35
+ switch (r) {
36
+ case b:
37
+ switch (a = a.type, a) {
38
+ case d:
39
+ case f:
40
+ case e:
41
+ case m:
42
+ case n:
43
+ return a;
44
+ default:
45
+ switch (a = a && a.$$typeof, a) {
46
+ case k:
47
+ case h:
48
+ case l:
49
+ case q:
50
+ case p:
51
+ case g:
52
+ return a;
53
+ default:
54
+ return r;
55
+ }
56
+ }
57
+ case c:
58
+ return r;
59
+ }
60
+ }
61
+ }
62
+ reactIs_production_min.ContextConsumer = h;
63
+ reactIs_production_min.ContextProvider = g;
64
+ reactIs_production_min.Element = b;
65
+ reactIs_production_min.ForwardRef = l;
66
+ reactIs_production_min.Fragment = d;
67
+ reactIs_production_min.Lazy = q;
68
+ reactIs_production_min.Memo = p;
69
+ reactIs_production_min.Portal = c;
70
+ reactIs_production_min.Profiler = f;
71
+ reactIs_production_min.StrictMode = e;
72
+ reactIs_production_min.Suspense = m;
73
+ reactIs_production_min.SuspenseList = n;
74
+ reactIs_production_min.isAsyncMode = function () {
75
+ return !1;
76
+ };
77
+ reactIs_production_min.isConcurrentMode = function () {
78
+ return !1;
79
+ };
80
+ reactIs_production_min.isContextConsumer = function (a) {
81
+ return v(a) === h;
82
+ };
83
+ reactIs_production_min.isContextProvider = function (a) {
84
+ return v(a) === g;
85
+ };
86
+ reactIs_production_min.isElement = function (a) {
87
+ return "object" === typeof a && null !== a && a.$$typeof === b;
88
+ };
89
+ reactIs_production_min.isForwardRef = function (a) {
90
+ return v(a) === l;
91
+ };
92
+ reactIs_production_min.isFragment = function (a) {
93
+ return v(a) === d;
94
+ };
95
+ reactIs_production_min.isLazy = function (a) {
96
+ return v(a) === q;
97
+ };
98
+ reactIs_production_min.isMemo = function (a) {
99
+ return v(a) === p;
100
+ };
101
+ reactIs_production_min.isPortal = function (a) {
102
+ return v(a) === c;
103
+ };
104
+ reactIs_production_min.isProfiler = function (a) {
105
+ return v(a) === f;
106
+ };
107
+ reactIs_production_min.isStrictMode = function (a) {
108
+ return v(a) === e;
109
+ };
110
+ reactIs_production_min.isSuspense = function (a) {
111
+ return v(a) === m;
112
+ };
113
+ reactIs_production_min.isSuspenseList = function (a) {
114
+ return v(a) === n;
115
+ };
116
+ reactIs_production_min.isValidElementType = function (a) {
117
+ return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
118
+ };
119
+ reactIs_production_min.typeOf = v;
120
+ return reactIs_production_min;
121
+ }
122
+
123
+ export { requireReactIs_production_min as __require };
@@ -0,0 +1,12 @@
1
+ import { __module as reactIs } from '../../_virtual/index.js';
2
+ import { __require as requireReactIs_production_min } from './cjs/react-is.production.min.js';
3
+ import { __require as requireReactIs_development } from './cjs/react-is.development.js';
4
+
5
+ if (process.env.NODE_ENV === 'production') {
6
+ reactIs.exports = requireReactIs_production_min();
7
+ } else {
8
+ reactIs.exports = requireReactIs_development();
9
+ }
10
+ var reactIsExports = reactIs.exports;
11
+
12
+ export { reactIsExports as r };
@@ -0,0 +1,17 @@
1
+ import { extends as _extends } from './_virtual/_rollupPluginBabelHelpers.js';
2
+ import * as React from 'react';
3
+
4
+ const SvgClose = props => /*#__PURE__*/React.createElement("svg", _extends({
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: "1em",
7
+ height: "1em",
8
+ fill: "none",
9
+ viewBox: "0 0 24 24"
10
+ }, props), /*#__PURE__*/React.createElement("path", {
11
+ fill: "currentColor",
12
+ fillRule: "evenodd",
13
+ d: "m13.695 12 5.651-5.651a1.2 1.2 0 1 0-1.697-1.698L12 10.303 6.345 4.651A1.201 1.201 0 0 0 4.65 6.349L10.301 12 4.65 17.651A1.202 1.202 0 0 0 5.5 19.7c.306 0 .613-.117.847-.351l5.652-5.652 5.651 5.652a1.197 1.197 0 0 0 1.697 0 1.2 1.2 0 0 0 0-1.698L13.696 12Z",
14
+ clipRule: "evenodd"
15
+ }));
16
+
17
+ export { SvgClose as default };
@@ -8,5 +8,9 @@ const surfaceElevation = {
8
8
  const shadowElevation = {
9
9
  'shadow/overlay': shadow.shadowMedium
10
10
  };
11
+ const elevation = {
12
+ ...surfaceElevation,
13
+ ...shadowElevation
14
+ };
11
15
 
12
- export { shadowElevation, surfaceElevation };
16
+ export { elevation as default, shadowElevation, surfaceElevation };
@@ -0,0 +1,3 @@
1
+ const isFunction = value => typeof value === 'function';
2
+
3
+ export { isFunction };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@styled-system/css": "^5.1.5",
34
- "@types/lodash-es": "^4.17.9",
35
34
  "@types/lodash.debounce": "^4.0.7",
36
35
  "@types/lodash.throttle": "^4.1.7",
36
+ "@types/react-is": "^18.2.2",
37
37
  "@types/styled-system": "^5.1.17",
38
38
  "@types/styled-system__css": "^5.0.17",
39
39
  "csstype": "^3.1.2",
@@ -51,9 +51,11 @@
51
51
  "dependencies": {
52
52
  "@teamturing/icons": "^1.19.0",
53
53
  "@teamturing/token-studio": "^1.1.7",
54
+ "framer-motion": "^10.16.4",
54
55
  "lodash.debounce": "^4.0.8",
55
56
  "lodash.throttle": "^4.1.1",
57
+ "react-is": "^18.2.0",
56
58
  "styled-system": "^5.1.5"
57
59
  },
58
- "gitHead": "29f020d2e31ae2e87daf6bcf59312e3e44e5ec5a"
60
+ "gitHead": "be233f11d0a213ec0625cb20893dbbff146480d3"
59
61
  }