@frontify/fondue 13.0.0-rc.12 → 13.0.0-rc.13

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 (326) hide show
  1. package/dist/components/ActionMenu/Aria/AriaMenuItem.es.js.map +1 -1
  2. package/dist/components/AssetInput/SingleAsset/SelectedAsset.es.js +4 -4
  3. package/dist/components/Breadcrumbs/BreadcrumbItem.es.js +2 -1
  4. package/dist/components/Breadcrumbs/BreadcrumbItem.es.js.map +1 -1
  5. package/dist/components/Breadcrumbs/Breadcrumbs.es.js +1 -2
  6. package/dist/components/Breadcrumbs/Breadcrumbs.es.js.map +1 -1
  7. package/dist/components/Breadcrumbs/CurrentBreadcrumbItem.es.js +6 -6
  8. package/dist/components/Breadcrumbs/CurrentBreadcrumbItem.es.js.map +1 -1
  9. package/dist/components/Button/Button.es.js +1 -1
  10. package/dist/components/Checkbox/Checkbox.es.js.map +1 -1
  11. package/dist/components/Checklist/Checklist.es.js.map +1 -1
  12. package/dist/components/CollapsibleWrap/CollapsibleWrap.es.js +2 -2
  13. package/dist/components/ComponentEnum.es.js +1 -1
  14. package/dist/components/ComponentEnum.es.js.map +1 -1
  15. package/dist/components/EditableText/EditableText.es.js +2 -1
  16. package/dist/components/EditableText/EditableText.es.js.map +1 -1
  17. package/dist/components/FilterableMultiSelect/FilterableMultiSelect.es.js +75 -76
  18. package/dist/components/FilterableMultiSelect/FilterableMultiSelect.es.js.map +1 -1
  19. package/dist/components/LegacyTooltip/LegacyTooltip.es.js.map +1 -1
  20. package/dist/components/Menu/useMenuKeyboardNavigation.es.js.map +1 -1
  21. package/dist/components/MultiSelect/MultiSelect.es.js +67 -68
  22. package/dist/components/MultiSelect/MultiSelect.es.js.map +1 -1
  23. package/dist/components/OrderableList/OrderableList.es.js.map +1 -1
  24. package/dist/components/RadioList/RadioButton.es.js.map +1 -1
  25. package/dist/components/Table/TableColumnHeader.es.js.map +1 -1
  26. package/dist/components/Tabs/TabItem.es.js.map +1 -1
  27. package/dist/components/Tabs/Tabs.es.js +2 -2
  28. package/dist/components/Tabs/Tabs.es.js.map +1 -1
  29. package/dist/components/TextInput/TextInput.es.js.map +1 -1
  30. package/dist/components/Toast/Toast.es.js +4 -4
  31. package/dist/components/Tree/Tree.es.js.map +1 -1
  32. package/dist/hooks/useDropdownAutoHeight.es.js.map +1 -1
  33. package/dist/index.cjs.js +2 -2
  34. package/dist/index.cjs.js.map +1 -1
  35. package/dist/index.d.ts +5 -93
  36. package/dist/index.es.js +148 -158
  37. package/dist/index.es.js.map +1 -1
  38. package/dist/index.umd.js +2 -2
  39. package/dist/index.umd.js.map +1 -1
  40. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/animate/single-value.es.js.map +1 -1
  41. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.es.js.map +1 -1
  42. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.es.js.map +1 -1
  43. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.es.js.map +1 -1
  44. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.es.js.map +1 -1
  45. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.es.js.map +1 -1
  46. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.es.js.map +1 -1
  47. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.es.js.map +1 -1
  48. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.es.js.map +1 -1
  49. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/default-transitions.es.js.map +1 -1
  50. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.es.js.map +1 -1
  51. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.es.js.map +1 -1
  52. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.es.js.map +1 -1
  53. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.es.js.map +1 -1
  54. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.es.js.map +1 -1
  55. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/index.es.js.map +1 -1
  56. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.es.js.map +1 -1
  57. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.es.js.map +1 -1
  58. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/LayoutGroupContext.es.js.map +1 -1
  59. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/LazyContext.es.js.map +1 -1
  60. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionConfigContext.es.js.map +1 -1
  61. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionContext/create.es.js.map +1 -1
  62. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionContext/index.es.js.map +1 -1
  63. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionContext/utils.es.js.map +1 -1
  64. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/PresenceContext.es.js.map +1 -1
  65. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.es.js.map +1 -1
  66. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/events/add-dom-event.es.js.map +1 -1
  67. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/events/add-pointer-event.es.js.map +1 -1
  68. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/events/event-info.es.js.map +1 -1
  69. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.es.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/drag/index.es.js.map +1 -1
  71. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.es.js.map +1 -1
  72. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/focus.es.js.map +1 -1
  73. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/hover.es.js.map +1 -1
  74. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/pan/PanSession.es.js.map +1 -1
  75. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/pan/index.es.js.map +1 -1
  76. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/press.es.js.map +1 -1
  77. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/Feature.es.js.map +1 -0
  78. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/animation/exit.es.js.map +1 -1
  79. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/animation/index.es.js.map +1 -1
  80. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/animations.es.js.map +1 -1
  81. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/definitions.es.js.map +1 -1
  82. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/drag.es.js.map +1 -1
  83. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/gestures.es.js.map +1 -1
  84. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.es.js +57 -0
  85. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.es.js.map +1 -0
  86. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/layout.es.js.map +1 -1
  87. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/load-features.es.js.map +1 -1
  88. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/viewport/index.es.js.map +1 -1
  89. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/viewport/observers.es.js.map +1 -1
  90. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/index.es.js.map +1 -1
  91. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.es.js.map +1 -1
  92. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/symbol.es.js.map +1 -1
  93. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.es.js.map +1 -1
  94. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.es.js.map +1 -1
  95. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.es.js.map +1 -1
  96. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/valid-prop.es.js.map +1 -1
  97. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/animation/mix-values.es.js.map +1 -1
  98. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/conversion.es.js.map +1 -1
  99. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/copy.es.js.map +1 -1
  100. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.es.js.map +1 -1
  101. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.es.js.map +1 -1
  102. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.es.js.map +1 -1
  103. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/models.es.js.map +1 -1
  104. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/utils.es.js.map +1 -1
  105. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.es.js.map +1 -1
  106. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.es.js.map +1 -1
  107. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/create-projection-node.es.js +123 -123
  108. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/node/create-projection-node.es.js.map +1 -0
  109. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/state.es.js.map +1 -1
  110. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/shared/stack.es.js.map +1 -1
  111. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.es.js.map +1 -1
  112. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.es.js.map +1 -1
  113. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-correction.es.js +22 -0
  114. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-correction.es.js.map +1 -0
  115. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/styles/transform.es.js.map +1 -1
  116. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/utils/each-axis.es.js.map +1 -1
  117. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/utils/has-transform.es.js.map +1 -1
  118. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/utils/measure.es.js.map +1 -1
  119. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/VisualElement.es.js.map +1 -1
  120. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/components/create-proxy.es.js.map +1 -1
  121. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.es.js.map +1 -1
  122. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/components/motion/proxy.es.js.map +1 -1
  123. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.es.js.map +1 -1
  124. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/create-visual-element.es.js.map +1 -1
  125. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/use-render.es.js.map +1 -1
  126. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.es.js.map +1 -1
  127. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.es.js.map +1 -1
  128. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.es.js.map +1 -1
  129. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.es.js.map +1 -1
  130. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.es.js.map +1 -1
  131. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/use-props.es.js.map +1 -1
  132. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/build-styles.es.js.map +1 -1
  133. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/build-transform.es.js.map +1 -1
  134. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.es.js.map +1 -1
  135. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/render.es.js.map +1 -1
  136. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.es.js.map +1 -1
  137. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/store.es.js.map +1 -1
  138. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.es.js.map +1 -1
  139. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.es.js.map +1 -1
  140. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/use-props.es.js.map +1 -1
  141. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.es.js.map +1 -1
  142. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.es.js.map +1 -1
  143. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.es.js.map +1 -1
  144. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.es.js.map +1 -1
  145. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.es.js.map +1 -1
  146. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/path.es.js.map +1 -1
  147. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/render.es.js.map +1 -1
  148. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.es.js.map +1 -1
  149. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/animation-state.es.js.map +1 -1
  150. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.es.js.map +1 -0
  151. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/flat-tree.es.js.map +1 -1
  152. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/get-variant-context.es.js.map +1 -1
  153. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.es.js.map +1 -1
  154. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/is-variant-label.es.js.map +1 -1
  155. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/motion-values.es.js.map +1 -1
  156. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.es.js.map +1 -1
  157. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/resolve-variants.es.js.map +1 -1
  158. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/setters.es.js.map +1 -1
  159. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/variant-props.es.js.map +1 -1
  160. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/delay.es.js.map +1 -1
  161. package/dist/node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/distance.es.js.map +1 -0
  162. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/get-context-window.es.js.map +1 -1
  163. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/is-browser.es.js.map +1 -1
  164. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/is-ref-object.es.js.map +1 -1
  165. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/reduced-motion/index.es.js.map +1 -1
  166. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/reduced-motion/state.es.js.map +1 -1
  167. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/shallow-compare.es.js.map +1 -1
  168. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-composed-ref.es.js.map +1 -1
  169. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-constant.es.js.map +1 -1
  170. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.es.js.map +1 -1
  171. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.es.js.map +1 -1
  172. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/value/use-will-change/is.es.js.map +1 -1
  173. package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.es.js.map +1 -1
  174. package/dist/packages/components/style.css +1 -1
  175. package/dist/packages/rte/style.css +1 -1
  176. package/dist/style.css +1 -1
  177. package/dist/tools/codemod/index.js +6 -13
  178. package/dist/tools/internal/index.js +6 -13
  179. package/dist/utilities/dimensions.es.js +14 -15
  180. package/dist/utilities/dimensions.es.js.map +1 -1
  181. package/dist/utilities/useForwardedRef.es.js.map +1 -1
  182. package/dist/utilities/validation.es.js +3 -10
  183. package/dist/utilities/validation.es.js.map +1 -1
  184. package/package.json +47 -48
  185. package/dist/components/Textarea/Textarea.es.js +0 -167
  186. package/dist/components/Textarea/Textarea.es.js.map +0 -1
  187. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/Feature.es.js.map +0 -1
  188. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.es.js +0 -76
  189. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.es.js.map +0 -1
  190. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/node/create-projection-node.es.js.map +0 -1
  191. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-correction.es.js +0 -11
  192. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-correction.es.js.map +0 -1
  193. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.es.js.map +0 -1
  194. package/dist/node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/distance.es.js.map +0 -1
  195. package/dist/typography/Text/Text.es.js +0 -65
  196. package/dist/typography/Text/Text.es.js.map +0 -1
  197. package/dist/utilities/input.es.js +0 -104
  198. package/dist/utilities/input.es.js.map +0 -1
  199. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/animate/single-value.es.js +0 -0
  200. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.es.js +0 -0
  201. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.es.js +0 -0
  202. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.es.js +0 -0
  203. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.es.js +0 -0
  204. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.es.js +0 -0
  205. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.es.js +0 -0
  206. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.es.js +0 -0
  207. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.es.js +0 -0
  208. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/default-transitions.es.js +0 -0
  209. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.es.js +0 -0
  210. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.es.js +0 -0
  211. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.es.js +0 -0
  212. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.es.js +0 -0
  213. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.es.js +0 -0
  214. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/index.es.js +0 -0
  215. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.es.js +0 -0
  216. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.es.js +0 -0
  217. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/LayoutGroupContext.es.js +0 -0
  218. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/LazyContext.es.js +0 -0
  219. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionConfigContext.es.js +0 -0
  220. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionContext/create.es.js +0 -0
  221. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionContext/index.es.js +0 -0
  222. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/MotionContext/utils.es.js +0 -0
  223. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/PresenceContext.es.js +0 -0
  224. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.es.js +0 -0
  225. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/events/add-dom-event.es.js +0 -0
  226. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/events/add-pointer-event.es.js +0 -0
  227. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/events/event-info.es.js +0 -0
  228. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.es.js +0 -0
  229. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/drag/index.es.js +0 -0
  230. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.es.js +0 -0
  231. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/focus.es.js +0 -0
  232. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/hover.es.js +0 -0
  233. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/pan/PanSession.es.js +0 -0
  234. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/pan/index.es.js +0 -0
  235. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/gestures/press.es.js +0 -0
  236. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/Feature.es.js +0 -0
  237. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/animation/exit.es.js +0 -0
  238. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/animation/index.es.js +0 -0
  239. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/animations.es.js +0 -0
  240. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/definitions.es.js +0 -0
  241. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/drag.es.js +0 -0
  242. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/gestures.es.js +0 -0
  243. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/layout.es.js +0 -0
  244. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/load-features.es.js +0 -0
  245. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/viewport/index.es.js +0 -0
  246. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/features/viewport/observers.es.js +0 -0
  247. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/index.es.js +0 -0
  248. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.es.js +0 -0
  249. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/symbol.es.js +0 -0
  250. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.es.js +0 -0
  251. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.es.js +0 -0
  252. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.es.js +0 -0
  253. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/motion/utils/valid-prop.es.js +0 -0
  254. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/animation/mix-values.es.js +0 -0
  255. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/conversion.es.js +0 -0
  256. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/copy.es.js +0 -0
  257. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.es.js +0 -0
  258. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.es.js +0 -0
  259. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.es.js +0 -0
  260. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/models.es.js +0 -0
  261. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/geometry/utils.es.js +0 -0
  262. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.es.js +0 -0
  263. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.es.js +0 -0
  264. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/node/state.es.js +0 -0
  265. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/shared/stack.es.js +0 -0
  266. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.es.js +0 -0
  267. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.es.js +0 -0
  268. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/styles/transform.es.js +0 -0
  269. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/utils/each-axis.es.js +0 -0
  270. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/utils/has-transform.es.js +0 -0
  271. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/projection/utils/measure.es.js +0 -0
  272. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/VisualElement.es.js +0 -0
  273. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/components/create-proxy.es.js +0 -0
  274. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.es.js +0 -0
  275. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/components/motion/proxy.es.js +0 -0
  276. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.es.js +0 -0
  277. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/create-visual-element.es.js +0 -0
  278. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/use-render.es.js +0 -0
  279. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.es.js +0 -0
  280. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.es.js +0 -0
  281. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.es.js +0 -0
  282. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.es.js +0 -0
  283. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.es.js +0 -0
  284. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/use-props.es.js +0 -0
  285. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/build-styles.es.js +0 -0
  286. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/build-transform.es.js +0 -0
  287. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.es.js +0 -0
  288. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/render.es.js +0 -0
  289. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.es.js +0 -0
  290. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/store.es.js +0 -0
  291. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.es.js +0 -0
  292. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.es.js +0 -0
  293. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/use-props.es.js +0 -0
  294. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.es.js +0 -0
  295. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.es.js +0 -0
  296. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.es.js +0 -0
  297. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.es.js +0 -0
  298. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.es.js +0 -0
  299. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/path.es.js +0 -0
  300. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/render.es.js +0 -0
  301. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.es.js +0 -0
  302. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/animation-state.es.js +0 -0
  303. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.es.js +0 -0
  304. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/flat-tree.es.js +0 -0
  305. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/get-variant-context.es.js +0 -0
  306. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.es.js +0 -0
  307. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/is-variant-label.es.js +0 -0
  308. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/motion-values.es.js +0 -0
  309. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.es.js +0 -0
  310. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/resolve-variants.es.js +0 -0
  311. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/setters.es.js +0 -0
  312. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/render/utils/variant-props.es.js +0 -0
  313. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/delay.es.js +0 -0
  314. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/distance.es.js +0 -0
  315. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/get-context-window.es.js +0 -0
  316. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/is-browser.es.js +0 -0
  317. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/is-ref-object.es.js +0 -0
  318. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/reduced-motion/index.es.js +0 -0
  319. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/reduced-motion/state.es.js +0 -0
  320. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/shallow-compare.es.js +0 -0
  321. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-composed-ref.es.js +0 -0
  322. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-constant.es.js +0 -0
  323. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.es.js +0 -0
  324. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.es.js +0 -0
  325. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/value/use-will-change/is.es.js +0 -0
  326. /package/dist/node_modules/.pnpm/{framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1 → framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.es.js +0 -0
@@ -1,39 +1,38 @@
1
1
  import { jsxs as P, jsx as t } from "react/jsx-runtime";
2
- import { useButton as Y } from "@react-aria/button";
3
- import { useFocusRing as Z, FocusScope as $ } from "@react-aria/focus";
4
- import { useState as p, useRef as O, useId as I, useEffect as h, useLayoutEffect as K } from "react";
5
- import { usePopper as ee } from "react-popper";
6
- import { CheckboxState as te } from "../Checkbox/Checkbox.es.js";
7
- import { Checklist as oe, ChecklistDirection as re } from "../Checklist/Checklist.es.js";
8
- import { Tag as z, TagSize as d, TagType as F } from "../Tag/Tag.es.js";
9
- import { Trigger as le, TriggerEmphasis as se } from "../Trigger/Trigger.es.js";
10
- import { useDropdownAutoHeight as ne, DEFAULT_DROPDOWN_MAX_HEIGHT as ae } from "../../hooks/useDropdownAutoHeight.es.js";
11
- import { EnablePortalWrapper as ie } from "../../utilities/dialogs/EnablePortalWrapper.es.js";
12
- import { merge as ce } from "../../utilities/merge.es.js";
13
- import { Validation as ue } from "../../utilities/validation.es.js";
14
- import { useClickOutside as pe, getPaddingClasses as de } from "./helpers.es.js";
15
- import { Text as R } from "../../typography/Text/Text.es.js";
16
- var fe = /* @__PURE__ */ ((o) => (o.Default = "Default", o.Summarized = "Summarized", o))(fe || {}), we = /* @__PURE__ */ ((o) => (o.Small = "Small", o.Medium = "Medium", o))(we || {});
17
- const me = ({
2
+ import { useButton as Q } from "@react-aria/button";
3
+ import { useFocusRing as Y, FocusScope as Z } from "@react-aria/focus";
4
+ import { useState as p, useRef as O, useId as $, useEffect as h, useLayoutEffect as I } from "react";
5
+ import { usePopper as K } from "react-popper";
6
+ import { CheckboxState as ee } from "../Checkbox/Checkbox.es.js";
7
+ import { Checklist as te, ChecklistDirection as oe } from "../Checklist/Checklist.es.js";
8
+ import { Tag as y, TagSize as d, TagType as z } from "../Tag/Tag.es.js";
9
+ import { Trigger as le, TriggerEmphasis as re } from "../Trigger/Trigger.es.js";
10
+ import { useDropdownAutoHeight as se, DEFAULT_DROPDOWN_MAX_HEIGHT as ne } from "../../hooks/useDropdownAutoHeight.es.js";
11
+ import { EnablePortalWrapper as ae } from "../../utilities/dialogs/EnablePortalWrapper.es.js";
12
+ import { merge as ie } from "../../utilities/merge.es.js";
13
+ import { Validation as ce } from "../../utilities/validation.es.js";
14
+ import { useClickOutside as ue, getPaddingClasses as pe } from "./helpers.es.js";
15
+ var de = /* @__PURE__ */ ((o) => (o.Default = "Default", o.Summarized = "Summarized", o))(de || {}), fe = /* @__PURE__ */ ((o) => (o.Small = "Small", o.Medium = "Medium", o))(fe || {});
16
+ const we = ({
18
17
  items: o,
19
- activeItemKeys: l,
18
+ activeItemKeys: r,
20
19
  onSelectionChange: f,
21
20
  ariaLabel: g = "Select list",
22
21
  disabled: x = !1,
23
- placeholder: S,
24
- label: b,
22
+ placeholder: b,
23
+ label: S,
25
24
  type: v = "Default",
26
25
  size: w = "Medium",
27
- validation: A = ue.Default,
26
+ validation: F = ce.Default,
28
27
  summarizedLabel: D,
29
28
  indeterminateItemKeys: s,
30
- flip: V = !1,
31
- emphasis: H = se.Default,
32
- enablePortal: L = !0
29
+ flip: R = !1,
30
+ emphasis: A = re.Default,
31
+ enablePortal: V = !0
33
32
  }) => {
34
- const [a, c] = p(!1), [j, B] = p([]), n = O(null), [k, T] = p(null), [i, W] = p(null), _ = O(null), { isFocusVisible: y, focusProps: G } = Z(), { maxHeight: C } = ne({ current: i }, { isOpen: a, autoResize: !0 }), E = l.length > 0, U = D ?? [l.length, "selected"].join(" ");
35
- pe(null, () => c(!1), [n == null ? void 0 : n.current, k]);
36
- const X = C !== ae, M = I(), m = () => c((e) => !e), { buttonProps: q } = Y(
33
+ const [a, c] = p(!1), [H, L] = p([]), n = O(null), [k, C] = p(null), [i, j] = p(null), B = O(null), { isFocusVisible: W, focusProps: _ } = Y(), { maxHeight: E } = se({ current: i }, { isOpen: a, autoResize: !0 }), T = r.length > 0, G = D ?? [r.length, "selected"].join(" ");
34
+ ue(null, () => c(!1), [n == null ? void 0 : n.current, k]);
35
+ const U = E !== ne, M = $(), m = () => c((e) => !e), { buttonProps: X } = Q(
37
36
  {
38
37
  onPress: m,
39
38
  onKeyDown: (e) => {
@@ -42,23 +41,23 @@ const me = ({
42
41
  elementType: "div"
43
42
  },
44
43
  { current: i }
45
- ), J = (e) => {
46
- const r = new Set(l);
47
- r.has(e) ? r.delete(e) : r.add(e), f(Array.from(r));
48
- }, Q = (e) => {
44
+ ), q = (e) => {
45
+ const l = new Set(r);
46
+ l.has(e) ? l.delete(e) : l.add(e), f(Array.from(l));
47
+ }, J = (e) => {
49
48
  (e.code === "Space" || e.code === "Enter") && m();
50
- }, N = () => a ? F.SelectedWithFocus : F.Selected;
49
+ }, N = () => a ? z.SelectedWithFocus : z.Selected;
51
50
  h(() => {
52
- T(n == null ? void 0 : n.current);
51
+ C(n == null ? void 0 : n.current);
53
52
  }, []), h(() => {
54
- B(
53
+ L(
55
54
  o.map((e) => {
56
- const r = { ...e, label: e.value };
57
- return s != null && s.includes(e.value) ? { ...r, state: te.Mixed } : r;
55
+ const l = { ...e, label: e.value };
56
+ return s != null && s.includes(e.value) ? { ...l, state: ee.Mixed } : l;
58
57
  })
59
58
  );
60
59
  }, [o, s]);
61
- const u = ee(i, k, {
60
+ const u = K(i, k, {
62
61
  placement: "bottom-start",
63
62
  strategy: "fixed",
64
63
  modifiers: [
@@ -70,7 +69,7 @@ const me = ({
70
69
  },
71
70
  {
72
71
  name: "flip",
73
- enabled: V
72
+ enabled: R
74
73
  }
75
74
  ]
76
75
  });
@@ -78,9 +77,9 @@ const me = ({
78
77
  (async () => {
79
78
  u.update && await u.update();
80
79
  })().catch(console.error);
81
- }, [l]), K(() => {
82
- const e = (r) => {
83
- r.key === "Escape" && c(!1);
80
+ }, [r]), I(() => {
81
+ const e = (l) => {
82
+ l.key === "Escape" && c(!1);
84
83
  };
85
84
  return window.addEventListener("keyup", e), () => {
86
85
  window.removeEventListener("keyup", e);
@@ -90,75 +89,75 @@ const me = ({
90
89
  le,
91
90
  {
92
91
  disabled: x,
93
- buttonProps: q,
94
- isFocusVisible: y,
92
+ buttonProps: X,
93
+ isFocusVisible: W,
95
94
  isOpen: a,
96
- validation: A,
97
- emphasis: H,
98
- children: /* @__PURE__ */ t("div", { className: ce(["tw-flex tw-flex-1 tw-gap-2", de(w)]), ref: W, children: /* @__PURE__ */ t(
95
+ validation: F,
96
+ emphasis: A,
97
+ children: /* @__PURE__ */ t("div", { className: ie(["tw-flex tw-flex-1 tw-gap-2", pe(w)]), ref: j, children: /* @__PURE__ */ t(
99
98
  "div",
100
99
  {
101
100
  className: "tw-flex tw-flex-1 tw-gap-2 focus:tw-outline-0",
102
101
  onClick: (e) => {
103
- e.target === _.current && a || m();
102
+ e.target === B.current && a || m();
104
103
  },
105
104
  role: "combobox",
106
105
  "aria-expanded": a,
107
106
  "aria-controls": M,
108
107
  "aria-label": g,
109
- ...G,
108
+ ..._,
110
109
  tabIndex: 0,
111
- onKeyDown: Q,
110
+ onKeyDown: J,
112
111
  children: /* @__PURE__ */ P("div", { className: "tw-flex tw-flex-wrap tw-gap-2 tw-outline-none tw-items-center tw-min-h-[28px]", children: [
113
- b && E && /* @__PURE__ */ t(R, { weight: "strong", children: b }),
114
- v === "Default" && l.map((e) => /* @__PURE__ */ t(
115
- z,
112
+ S && T && /* @__PURE__ */ t("span", { className: "tw-body-medium-strong tw-text-primary", children: S }),
113
+ v === "Default" && r.map((e) => /* @__PURE__ */ t(
114
+ y,
116
115
  {
117
116
  type: N(),
118
117
  label: e.toString(),
119
118
  size: w === "Small" ? d.Small : d.Medium,
120
- onClick: x ? void 0 : () => J(e)
119
+ onClick: x ? void 0 : () => q(e)
121
120
  },
122
121
  e
123
122
  )),
124
- v === "Summarized" && (E || D) && /* @__PURE__ */ t(
125
- z,
123
+ v === "Summarized" && (T || D) && /* @__PURE__ */ t(
124
+ y,
126
125
  {
127
126
  type: N(),
128
- label: U,
127
+ label: G,
129
128
  size: w === "Small" ? d.Small : d.Medium,
130
129
  onClick: (s == null ? void 0 : s.length) === 0 ? () => f([]) : void 0
131
130
  }
132
131
  ),
133
- l.length === 0 && S && /* @__PURE__ */ t(R, { color: "weak", children: S })
132
+ r.length === 0 && b && /* @__PURE__ */ t("span", { className: "tw-body-medium tw-text-secondary", children: b })
134
133
  ] })
135
134
  }
136
135
  ) })
137
136
  }
138
137
  ),
139
- a && X && /* @__PURE__ */ t(ie, { enablePortal: L, children: /* @__PURE__ */ t(
138
+ a && U && /* @__PURE__ */ t(ae, { enablePortal: V, children: /* @__PURE__ */ t(
140
139
  "div",
141
140
  {
142
141
  id: M,
143
- ref: T,
142
+ ref: C,
144
143
  className: "tw-absolute tw-left-0 tw-w-full tw-overflow-hidden tw-p-0 tw-shadow-mid tw-list-none tw-m-0 tw-mt-2 tw-z-[120000] tw-bg-base tw-min-w-72",
145
144
  style: {
146
145
  ...u.styles.popper,
147
146
  width: i == null ? void 0 : i.getBoundingClientRect().width
148
147
  },
149
148
  ...u.attributes.popper,
150
- children: /* @__PURE__ */ t($, { restoreFocus: !0, children: /* @__PURE__ */ t(
149
+ children: /* @__PURE__ */ t(Z, { restoreFocus: !0, children: /* @__PURE__ */ t(
151
150
  "div",
152
151
  {
153
152
  className: "tw-p-4 tw-overflow-y-auto tw-overflow-x-hidden tw-w-full tw-relative",
154
- style: { maxHeight: C },
153
+ style: { maxHeight: E },
155
154
  children: /* @__PURE__ */ t(
156
- oe,
155
+ te,
157
156
  {
158
- activeValues: l.map((e) => e.toString()),
157
+ activeValues: r.map((e) => e.toString()),
159
158
  setActiveValues: f,
160
- checkboxes: j.filter((e) => !e.isDivider && !e.isCategory),
161
- direction: re.Vertical,
159
+ checkboxes: H.filter((e) => !e.isDivider && !e.isCategory),
160
+ direction: oe.Vertical,
162
161
  ariaLabel: g
163
162
  }
164
163
  )
@@ -169,10 +168,10 @@ const me = ({
169
168
  ) })
170
169
  ] });
171
170
  };
172
- me.displayName = "FondueMultiSelect";
171
+ we.displayName = "FondueMultiSelect";
173
172
  export {
174
- me as MultiSelect,
175
- we as MultiSelectSize,
176
- fe as MultiSelectType
173
+ we as MultiSelect,
174
+ fe as MultiSelectSize,
175
+ de as MultiSelectType
177
176
  };
178
177
  //# sourceMappingURL=MultiSelect.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSelect.es.js","sources":["../../../src/components/MultiSelect/MultiSelect.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useButton } from '@react-aria/button';\nimport { FocusScope, useFocusRing } from '@react-aria/focus';\nimport {\n type KeyboardEvent,\n type ReactElement,\n type ReactNode,\n useEffect,\n useId,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CheckboxState } from '@components/Checkbox/Checkbox';\nimport { Checklist, ChecklistDirection } from '@components/Checklist/Checklist';\nimport { Tag, TagSize, TagType } from '@components/Tag';\nimport { Trigger, TriggerEmphasis } from '@components/Trigger/Trigger';\nimport { DEFAULT_DROPDOWN_MAX_HEIGHT, useDropdownAutoHeight } from '@hooks/useDropdownAutoHeight';\nimport { Text } from '@typography/Text';\nimport { EnablePortalWrapper } from '@utilities/dialogs/EnablePortalWrapper';\nimport { merge } from '@utilities/merge';\nimport { Validation } from '@utilities/validation';\n\nimport { getPaddingClasses, useClickOutside } from './helpers';\n\nexport enum MultiSelectType {\n Default = 'Default',\n Summarized = 'Summarized',\n}\n\nexport enum MultiSelectSize {\n Small = 'Small',\n Medium = 'Medium',\n}\n\nexport type MultiSelectItem = {\n value: string;\n isCategory?: boolean;\n isDivider?: boolean;\n avatar?: ReactNode;\n imgSrc?: string;\n ariaLabel?: string;\n};\n\nexport type MultiSelectProps = {\n items: MultiSelectItem[];\n activeItemKeys: (string | number)[];\n disabled?: boolean;\n onSelectionChange: (keys: (string | number)[]) => void;\n ariaLabel?: string;\n label?: string;\n placeholder?: string;\n type?: MultiSelectType;\n size?: MultiSelectSize;\n validation?: Validation;\n summarizedLabel?: string;\n indeterminateItemKeys?: (string | number)[];\n flip?: boolean;\n emphasis?: TriggerEmphasis;\n enablePortal?: boolean;\n};\n\nexport type Item = {\n label: string;\n value: string;\n avatar?: ReactNode;\n isCategory?: boolean;\n isDivider?: boolean;\n imgSrc?: string;\n ariaLabel?: string;\n};\n\nexport const MultiSelect = ({\n items,\n activeItemKeys,\n onSelectionChange,\n ariaLabel = 'Select list',\n disabled = false,\n placeholder,\n label,\n type = MultiSelectType.Default,\n size = MultiSelectSize.Medium,\n validation = Validation.Default,\n summarizedLabel: summarizedLabelFromProps,\n indeterminateItemKeys,\n flip = false,\n emphasis = TriggerEmphasis.Default,\n enablePortal = true,\n}: MultiSelectProps): ReactElement => {\n const [open, setOpen] = useState(false);\n const [checkboxes, setCheckboxes] = useState<Item[]>([]);\n const multiSelectRef = useRef<HTMLDivElement | null>(null);\n\n const [multiSelectMenuRef, setMultiSelectMenuRef] = useState<null | HTMLDivElement>(null);\n const [triggerRef, setTriggerRef] = useState<HTMLDivElement | null>(null);\n\n const filterInputRef = useRef<HTMLInputElement | null>(null);\n const { isFocusVisible, focusProps } = useFocusRing();\n\n const { maxHeight } = useDropdownAutoHeight({ current: triggerRef }, { isOpen: open, autoResize: true });\n\n const hasSelectedItems = activeItemKeys.length > 0;\n const summarizedLabel = summarizedLabelFromProps ?? [activeItemKeys.length, 'selected'].join(' ');\n\n const handleClose = () => setOpen(false);\n\n useClickOutside(null, handleClose, [multiSelectRef?.current as HTMLElement, multiSelectMenuRef as HTMLElement]);\n\n const heightIsReady = maxHeight !== DEFAULT_DROPDOWN_MAX_HEIGHT;\n\n const muliSelectContentId = useId();\n\n const toggleOpen = () => setOpen((open) => !open);\n\n const { buttonProps } = useButton(\n {\n onPress: toggleOpen,\n onKeyDown: (e) => {\n if (e.key === 'Escape') {\n setOpen(false);\n }\n },\n elementType: 'div',\n },\n { current: triggerRef },\n );\n\n const toggleSelection = (key: string | number) => {\n const keySet = new Set(activeItemKeys);\n\n if (keySet.has(key)) {\n keySet.delete(key);\n } else {\n keySet.add(key);\n }\n\n onSelectionChange(Array.from(keySet));\n };\n\n const handleSpacebarToggle = (e: KeyboardEvent<HTMLDivElement>) => {\n if (e.code === 'Space' || e.code === 'Enter') {\n toggleOpen();\n }\n };\n\n const getTagType = () => {\n if (!open) {\n return TagType.Selected;\n }\n return TagType.SelectedWithFocus;\n };\n\n useEffect(() => {\n setMultiSelectMenuRef(multiSelectRef?.current as HTMLDivElement);\n }, []);\n\n useEffect(() => {\n setCheckboxes(\n items.map((item) => {\n const checkboxBaseItem = { ...item, label: item.value };\n if (indeterminateItemKeys?.includes(item.value)) {\n return { ...checkboxBaseItem, state: CheckboxState.Mixed };\n }\n return checkboxBaseItem;\n }),\n );\n }, [items, indeterminateItemKeys]);\n\n const popperInstance = usePopper(triggerRef, multiSelectMenuRef, {\n placement: 'bottom-start',\n strategy: 'fixed',\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 8],\n },\n },\n {\n name: 'flip',\n enabled: flip,\n },\n ],\n });\n\n useEffect(() => {\n const updatePopper = async () => {\n if (popperInstance.update) {\n await popperInstance.update();\n }\n };\n\n updatePopper().catch(console.error);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeItemKeys]);\n\n useLayoutEffect(() => {\n const handleEscapeKey = (event: globalThis.KeyboardEvent) => {\n if (event.key === 'Escape') {\n setOpen(false);\n }\n };\n\n window.addEventListener('keyup', handleEscapeKey);\n\n return () => {\n window.removeEventListener('keyup', handleEscapeKey);\n };\n }, []);\n\n return (\n <div className=\"tw-relative\" ref={multiSelectRef}>\n <Trigger\n disabled={disabled}\n buttonProps={buttonProps}\n isFocusVisible={isFocusVisible}\n isOpen={open}\n validation={validation}\n emphasis={emphasis}\n >\n <div className={merge(['tw-flex tw-flex-1 tw-gap-2', getPaddingClasses(size)])} ref={setTriggerRef}>\n <div\n className=\"tw-flex tw-flex-1 tw-gap-2 focus:tw-outline-0\"\n onClick={(e) => {\n if (e.target === filterInputRef.current && open) {\n return;\n }\n toggleOpen();\n }}\n role=\"combobox\"\n aria-expanded={open}\n aria-controls={muliSelectContentId}\n aria-label={ariaLabel}\n {...focusProps}\n tabIndex={0}\n onKeyDown={handleSpacebarToggle}\n >\n <div className=\"tw-flex tw-flex-wrap tw-gap-2 tw-outline-none tw-items-center tw-min-h-[28px]\">\n {label && hasSelectedItems && <Text weight=\"strong\">{label}</Text>}\n {type === MultiSelectType.Default &&\n activeItemKeys.map((key) => (\n <Tag\n key={key}\n type={getTagType()}\n label={key.toString()}\n size={size === MultiSelectSize.Small ? TagSize.Small : TagSize.Medium}\n onClick={disabled ? undefined : () => toggleSelection(key)}\n />\n ))}\n\n {type === MultiSelectType.Summarized && (hasSelectedItems || summarizedLabelFromProps) && (\n <Tag\n type={getTagType()}\n label={summarizedLabel}\n size={size === MultiSelectSize.Small ? TagSize.Small : TagSize.Medium}\n onClick={\n indeterminateItemKeys?.length === 0 ? () => onSelectionChange([]) : undefined\n }\n />\n )}\n\n {activeItemKeys.length === 0 && placeholder && <Text color=\"weak\">{placeholder}</Text>}\n </div>\n </div>\n </div>\n </Trigger>\n\n {open && heightIsReady && (\n <EnablePortalWrapper enablePortal={enablePortal}>\n <div\n id={muliSelectContentId}\n ref={setMultiSelectMenuRef}\n className=\"tw-absolute tw-left-0 tw-w-full tw-overflow-hidden tw-p-0 tw-shadow-mid tw-list-none tw-m-0 tw-mt-2 tw-z-[120000] tw-bg-base tw-min-w-72\"\n key=\"content\"\n style={{\n ...popperInstance.styles.popper,\n width: triggerRef?.getBoundingClientRect().width,\n }}\n {...popperInstance.attributes.popper}\n >\n <FocusScope restoreFocus>\n <div\n className=\"tw-p-4 tw-overflow-y-auto tw-overflow-x-hidden tw-w-full tw-relative\"\n style={{ maxHeight }}\n >\n <Checklist\n activeValues={activeItemKeys.map((key) => key.toString())}\n setActiveValues={onSelectionChange}\n checkboxes={checkboxes.filter((item) => !item.isDivider && !item.isCategory)}\n direction={ChecklistDirection.Vertical}\n ariaLabel={ariaLabel}\n />\n </div>\n </FocusScope>\n </div>\n </EnablePortalWrapper>\n )}\n </div>\n );\n};\nMultiSelect.displayName = 'FondueMultiSelect';\n"],"names":["MultiSelectType","MultiSelectSize","MultiSelect","items","activeItemKeys","onSelectionChange","ariaLabel","disabled","placeholder","label","type","size","validation","Validation","summarizedLabelFromProps","indeterminateItemKeys","flip","emphasis","TriggerEmphasis","enablePortal","open","setOpen","useState","checkboxes","setCheckboxes","multiSelectRef","useRef","multiSelectMenuRef","setMultiSelectMenuRef","triggerRef","setTriggerRef","filterInputRef","isFocusVisible","focusProps","useFocusRing","maxHeight","useDropdownAutoHeight","hasSelectedItems","summarizedLabel","useClickOutside","heightIsReady","DEFAULT_DROPDOWN_MAX_HEIGHT","muliSelectContentId","useId","toggleOpen","buttonProps","useButton","toggleSelection","key","keySet","handleSpacebarToggle","getTagType","TagType","useEffect","item","checkboxBaseItem","CheckboxState","popperInstance","usePopper","useLayoutEffect","handleEscapeKey","event","jsxs","jsx","Trigger","merge","getPaddingClasses","Text","Tag","TagSize","EnablePortalWrapper","FocusScope","Checklist","ChecklistDirection"],"mappings":";;;;;;;;;;;;;;;AA4BO,IAAKA,uBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,aAAa,cAFLA,IAAAA,MAAA,CAAA,CAAA,GAKAC,uBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,SAAS,UAFDA,IAAAA,MAAA,CAAA,CAAA;AA0CL,MAAMC,KAAc,CAAC;AAAA,EACxB,OAAAC;AAAA,EACA,gBAAAC;AAAA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AAK,aAAa,CAACA,EAAK,UAAU;AAAA,gBAC3E,WAAWmB,GAAmB;AAAA,gBAC9B,WAAAnE;AAAA,cAAA;AAAA,YAAA;AAAA,UACJ;AAAA,QAAA,EACJ,CACJ;AAAA,MAAA;AAAA,MApBI;AAAA,IAAA,EAqBR,CACJ;AAAA,EAAA,GAER;AAER;AACAJ,GAAY,cAAc;"}
1
+ {"version":3,"file":"MultiSelect.es.js","sources":["../../../src/components/MultiSelect/MultiSelect.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useButton } from '@react-aria/button';\nimport { FocusScope, useFocusRing } from '@react-aria/focus';\nimport {\n type KeyboardEvent,\n type ReactElement,\n type ReactNode,\n useEffect,\n useId,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { CheckboxState } from '@components/Checkbox/Checkbox';\nimport { Checklist, ChecklistDirection } from '@components/Checklist/Checklist';\nimport { Tag, TagSize, TagType } from '@components/Tag';\nimport { Trigger, TriggerEmphasis } from '@components/Trigger/Trigger';\nimport { DEFAULT_DROPDOWN_MAX_HEIGHT, useDropdownAutoHeight } from '@hooks/useDropdownAutoHeight';\nimport { EnablePortalWrapper } from '@utilities/dialogs/EnablePortalWrapper';\nimport { merge } from '@utilities/merge';\nimport { Validation } from '@utilities/validation';\n\nimport { getPaddingClasses, useClickOutside } from './helpers';\n\nexport enum MultiSelectType {\n Default = 'Default',\n Summarized = 'Summarized',\n}\n\nexport enum MultiSelectSize {\n Small = 'Small',\n Medium = 'Medium',\n}\n\nexport type MultiSelectItem = {\n value: string;\n isCategory?: boolean;\n isDivider?: boolean;\n avatar?: ReactNode;\n imgSrc?: string;\n ariaLabel?: string;\n};\n\nexport type MultiSelectProps = {\n items: MultiSelectItem[];\n activeItemKeys: (string | number)[];\n disabled?: boolean;\n onSelectionChange: (keys: (string | number)[]) => void;\n ariaLabel?: string;\n label?: string;\n placeholder?: string;\n type?: MultiSelectType;\n size?: MultiSelectSize;\n validation?: Validation;\n summarizedLabel?: string;\n indeterminateItemKeys?: (string | number)[];\n flip?: boolean;\n emphasis?: TriggerEmphasis;\n enablePortal?: boolean;\n};\n\nexport type Item = {\n label: string;\n value: string;\n avatar?: ReactNode;\n isCategory?: boolean;\n isDivider?: boolean;\n imgSrc?: string;\n ariaLabel?: string;\n};\n\nexport const MultiSelect = ({\n items,\n activeItemKeys,\n onSelectionChange,\n ariaLabel = 'Select list',\n disabled = false,\n placeholder,\n label,\n type = MultiSelectType.Default,\n size = MultiSelectSize.Medium,\n validation = Validation.Default,\n summarizedLabel: summarizedLabelFromProps,\n indeterminateItemKeys,\n flip = false,\n emphasis = TriggerEmphasis.Default,\n enablePortal = true,\n}: MultiSelectProps): ReactElement => {\n const [open, setOpen] = useState(false);\n const [checkboxes, setCheckboxes] = useState<Item[]>([]);\n const multiSelectRef = useRef<HTMLDivElement | null>(null);\n\n const [multiSelectMenuRef, setMultiSelectMenuRef] = useState<null | HTMLDivElement>(null);\n const [triggerRef, setTriggerRef] = useState<HTMLDivElement | null>(null);\n\n const filterInputRef = useRef<HTMLInputElement | null>(null);\n const { isFocusVisible, focusProps } = useFocusRing();\n\n const { maxHeight } = useDropdownAutoHeight({ current: triggerRef }, { isOpen: open, autoResize: true });\n\n const hasSelectedItems = activeItemKeys.length > 0;\n const summarizedLabel = summarizedLabelFromProps ?? [activeItemKeys.length, 'selected'].join(' ');\n\n const handleClose = () => setOpen(false);\n\n useClickOutside(null, handleClose, [multiSelectRef?.current as HTMLElement, multiSelectMenuRef as HTMLElement]);\n\n const heightIsReady = maxHeight !== DEFAULT_DROPDOWN_MAX_HEIGHT;\n\n const muliSelectContentId = useId();\n\n const toggleOpen = () => setOpen((open) => !open);\n\n const { buttonProps } = useButton(\n {\n onPress: toggleOpen,\n onKeyDown: (e) => {\n if (e.key === 'Escape') {\n setOpen(false);\n }\n },\n elementType: 'div',\n },\n { current: triggerRef },\n );\n\n const toggleSelection = (key: string | number) => {\n const keySet = new Set(activeItemKeys);\n\n if (keySet.has(key)) {\n keySet.delete(key);\n } else {\n keySet.add(key);\n }\n\n onSelectionChange(Array.from(keySet));\n };\n\n const handleSpacebarToggle = (e: KeyboardEvent<HTMLDivElement>) => {\n if (e.code === 'Space' || e.code === 'Enter') {\n toggleOpen();\n }\n };\n\n const getTagType = () => {\n if (!open) {\n return TagType.Selected;\n }\n return TagType.SelectedWithFocus;\n };\n\n useEffect(() => {\n setMultiSelectMenuRef(multiSelectRef?.current as HTMLDivElement);\n }, []);\n\n useEffect(() => {\n setCheckboxes(\n items.map((item) => {\n const checkboxBaseItem = { ...item, label: item.value };\n if (indeterminateItemKeys?.includes(item.value)) {\n return { ...checkboxBaseItem, state: CheckboxState.Mixed };\n }\n return checkboxBaseItem;\n }),\n );\n }, [items, indeterminateItemKeys]);\n\n const popperInstance = usePopper(triggerRef, multiSelectMenuRef, {\n placement: 'bottom-start',\n strategy: 'fixed',\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 8],\n },\n },\n {\n name: 'flip',\n enabled: flip,\n },\n ],\n });\n\n useEffect(() => {\n const updatePopper = async () => {\n if (popperInstance.update) {\n await popperInstance.update();\n }\n };\n\n updatePopper().catch(console.error);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeItemKeys]);\n\n useLayoutEffect(() => {\n const handleEscapeKey = (event: globalThis.KeyboardEvent) => {\n if (event.key === 'Escape') {\n setOpen(false);\n }\n };\n\n window.addEventListener('keyup', handleEscapeKey);\n\n return () => {\n window.removeEventListener('keyup', handleEscapeKey);\n };\n }, []);\n\n return (\n <div className=\"tw-relative\" ref={multiSelectRef}>\n <Trigger\n disabled={disabled}\n buttonProps={buttonProps}\n isFocusVisible={isFocusVisible}\n isOpen={open}\n validation={validation}\n emphasis={emphasis}\n >\n <div className={merge(['tw-flex tw-flex-1 tw-gap-2', getPaddingClasses(size)])} ref={setTriggerRef}>\n <div\n className=\"tw-flex tw-flex-1 tw-gap-2 focus:tw-outline-0\"\n onClick={(e) => {\n if (e.target === filterInputRef.current && open) {\n return;\n }\n toggleOpen();\n }}\n role=\"combobox\"\n aria-expanded={open}\n aria-controls={muliSelectContentId}\n aria-label={ariaLabel}\n {...focusProps}\n tabIndex={0}\n onKeyDown={handleSpacebarToggle}\n >\n <div className=\"tw-flex tw-flex-wrap tw-gap-2 tw-outline-none tw-items-center tw-min-h-[28px]\">\n {label && hasSelectedItems && (\n <span className=\"tw-body-medium-strong tw-text-primary\">{label}</span>\n )}\n {type === MultiSelectType.Default &&\n activeItemKeys.map((key) => (\n <Tag\n key={key}\n type={getTagType()}\n label={key.toString()}\n size={size === MultiSelectSize.Small ? TagSize.Small : TagSize.Medium}\n onClick={disabled ? undefined : () => toggleSelection(key)}\n />\n ))}\n\n {type === MultiSelectType.Summarized && (hasSelectedItems || summarizedLabelFromProps) && (\n <Tag\n type={getTagType()}\n label={summarizedLabel}\n size={size === MultiSelectSize.Small ? TagSize.Small : TagSize.Medium}\n onClick={\n indeterminateItemKeys?.length === 0 ? () => onSelectionChange([]) : undefined\n }\n />\n )}\n\n {activeItemKeys.length === 0 && placeholder && (\n <span className=\"tw-body-medium tw-text-secondary\">{placeholder}</span>\n )}\n </div>\n </div>\n </div>\n </Trigger>\n\n {open && heightIsReady && (\n <EnablePortalWrapper enablePortal={enablePortal}>\n <div\n id={muliSelectContentId}\n ref={setMultiSelectMenuRef}\n className=\"tw-absolute tw-left-0 tw-w-full tw-overflow-hidden tw-p-0 tw-shadow-mid tw-list-none tw-m-0 tw-mt-2 tw-z-[120000] tw-bg-base tw-min-w-72\"\n key=\"content\"\n style={{\n ...popperInstance.styles.popper,\n width: triggerRef?.getBoundingClientRect().width,\n }}\n {...popperInstance.attributes.popper}\n >\n <FocusScope restoreFocus>\n <div\n className=\"tw-p-4 tw-overflow-y-auto tw-overflow-x-hidden tw-w-full tw-relative\"\n style={{ maxHeight }}\n >\n <Checklist\n activeValues={activeItemKeys.map((key) => key.toString())}\n setActiveValues={onSelectionChange}\n checkboxes={checkboxes.filter((item) => !item.isDivider && !item.isCategory)}\n direction={ChecklistDirection.Vertical}\n ariaLabel={ariaLabel}\n />\n </div>\n </FocusScope>\n </div>\n </EnablePortalWrapper>\n )}\n </div>\n );\n};\nMultiSelect.displayName = 'FondueMultiSelect';\n"],"names":["MultiSelectType","MultiSelectSize","MultiSelect","items","activeItemKeys","onSelectionChange","ariaLabel","disabled","placeholder","label","type","size","validation","Validation","summarizedLabelFromProps","indeterminateItemKeys","flip","emphasis","TriggerEmphasis","enablePortal","open","setOpen","useState","checkboxes","setCheckboxes","multiSelectRef","useRef","multiSelectMenuRef","setMultiSelectMenuRef","triggerRef","setTriggerRef","filterInputRef","isFocusVisible","focusProps","useFocusRing","maxHeight","useDropdownAutoHeight","hasSelectedItems","summarizedLabel","useClickOutside","heightIsReady","DEFAULT_DROPDOWN_MAX_HEIGHT","muliSelectContentId","useId","toggleOpen","buttonProps","useButton","toggleSelection","key","keySet","handleSpacebarToggle","getTagType","TagType","useEffect","item","checkboxBaseItem","CheckboxState","popperInstance","usePopper","useLayoutEffect","handleEscapeKey","event","jsxs","jsx","Trigger","merge","getPaddingClasses","Tag","TagSize","EnablePortalWrapper","FocusScope","Checklist","ChecklistDirection"],"mappings":";;;;;;;;;;;;;;AA2BO,IAAKA,uBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,aAAa,cAFLA,IAAAA,MAAA,CAAA,CAAA,GAKAC,uBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,SAAS,UAFDA,IAAAA,MAAA,CAAA,CAAA;AA0CL,MAAMC,KAAc,CAAC;AAAA,EACxB,OAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,UAAAC,IAAW;AAAA,EACX,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,MAAAC,IAAO;AAAA,EACP,YAAAC,IAAaC,GAAW;AAAA,EACxB,iBAAi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,GAER;AAER;AACAJ,GAAY,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"OrderableList.es.js","sources":["../../../src/components/OrderableList/OrderableList.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useId } from '@react-aria/utils';\nimport { useEffect, useMemo, useState } from 'react';\n\nimport { Tree } from '@components/Tree/Tree';\nimport { TreeItem } from '@components/Tree/TreeItem/TreeItem';\nimport { type OnTreeDropCallback } from '@components/Tree/types';\nimport { type DraggableItem } from '@utilities/dnd/types';\n\nimport { type OrderableListItem, type OrderableListItemStyle, type OrderableListProps } from './types';\n\nconst listItemsCompareFn = <T extends object>(itemA: OrderableListItem<T>, itemB: OrderableListItem<T>): number => {\n if (itemA.sort === null && itemB.sort === null) {\n return 1;\n }\n if (itemA.sort === null) {\n return 1;\n }\n if (itemB.sort === null) {\n return -1;\n }\n\n return itemA.sort - itemB.sort;\n};\n\nconst moveItem = <T extends object>(\n id: string,\n newPosition: number | null,\n items: DraggableItem<T>[],\n): DraggableItem<T>[] => {\n const theItem = items.find((item) => item.id === id) as DraggableItem<T>;\n\n return theItem ? [{ ...theItem, sort: newPosition }] : [];\n};\n\nexport const OrderableList = <T extends object>({\n onMove,\n dragDisabled,\n items,\n dragHandlerPosition = 'none',\n enableDragDelay = true,\n itemStyle,\n selectedId,\n renderContent,\n 'data-test-id': dataTestId = 'orderable-list',\n}: OrderableListProps<T>) => {\n const [itemsState, setItemsState] = useState(items);\n const listId = useId();\n const isDraggable = !dragDisabled;\n\n useEffect(() => {\n // sort the incoming items\n const itemsClone = [...items];\n itemsClone.sort(listItemsCompareFn);\n setItemsState(itemsClone);\n }, [items]);\n\n const handleDrop: OnTreeDropCallback = (dropArgs) => {\n onMove(moveItem(dropArgs.id, dropArgs.sort, itemsState));\n };\n\n const treeItemStyle = useMemo(() => {\n return {\n spacingY: 'small',\n contentHight: 'content-fit',\n shadow: 'small',\n borderRadius: 'medium',\n borderWidth: 'x-small',\n borderStyle: 'solid',\n activeColorStyle: 'soft',\n ...itemStyle,\n } as OrderableListItemStyle;\n }, [itemStyle]);\n\n return (\n <Tree\n draggable={isDraggable}\n id={listId}\n onDrop={handleDrop}\n data-test-id={dataTestId}\n selectedIds={selectedId ? [selectedId] : []}\n itemStyle={treeItemStyle}\n showDragHandlerOnHoverOnly={!isDraggable}\n dragHandlerPosition={!isDraggable ? 'none' : dragHandlerPosition}\n showContentWhileDragging\n enableDragDelay={enableDragDelay}\n >\n {itemsState.map((item) => {\n const identifier = `collection-item-${item.id}`;\n return (\n <TreeItem\n data-test-id={`${dataTestId}-item`}\n id={item.id}\n key={identifier}\n type=\"collection-item\"\n accepts=\"collection-item\"\n expandable={false}\n levelConstraint={0}\n contentComponent={renderContent(item)}\n />\n );\n })}\n </Tree>\n );\n};\nOrderableList.displayName = 'FondueOrderableList';\n"],"names":["listItemsCompareFn","itemA","itemB","moveItem","id","newPosition","items","theItem","item","OrderableList","onMove","dragDisabled","dragHandlerPosition","enableDragDelay","itemStyle","selectedId","renderContent","dataTestId","itemsState","setItemsState","useState","listId","useId","isDraggable","useEffect","itemsClone","handleDrop","dropArgs","treeItemStyle","useMemo","jsx","Tree","identifier","TreeItem"],"mappings":";;;;;AAYA,MAAMA,IAAqB,CAAmBC,GAA6BC,MACnED,EAAM,SAAS,QAAQC,EAAM,SAAS,QAGtCD,EAAM,SAAS,OACR,IAEPC,EAAM,SAAS,OACR,KAGJD,EAAM,OAAOC,EAAM,MAGxBC,IAAW,CACbC,GACAC,GACAC,MACqB;AACrB,QAAMC,IAAUD,EAAM,KAAK,CAACE,MAASA,EAAK,OAAOJ,CAAE;AAEnD,SAAOG,IAAU,CAAC,EAAE,GAAGA,GAAS,MAAMF,EAAA,CAAa,IAAI,CAAA;AAC3D,GAEaI,IAAgB,CAAmB;AAAA,EAC5C,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,OAAAL;AAAA,EACA,qBAAAM,IAAsB;AAAA,EACtB,iBAAAC,IAAkB;AAA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BAAkBQ,EAAcR,CAAI;AAAA,UAAA;AAAA,UAL/BwB;AAAA,QAAA;AAAA,MAQjB,CAAC;AAAA,IAAA;AAAA,EAAA;AAGb;AACAvB,EAAc,cAAc;"}
1
+ {"version":3,"file":"OrderableList.es.js","sources":["../../../src/components/OrderableList/OrderableList.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useId } from '@react-aria/utils';\nimport { useEffect, useMemo, useState } from 'react';\n\nimport { Tree } from '@components/Tree/Tree';\nimport { TreeItem } from '@components/Tree/TreeItem/TreeItem';\nimport { type OnTreeDropCallback } from '@components/Tree/types';\nimport { type DraggableItem } from '@utilities/dnd/types';\n\nimport { type OrderableListItem, type OrderableListItemStyle, type OrderableListProps } from './types';\n\nconst listItemsCompareFn = <T extends object>(itemA: OrderableListItem<T>, itemB: OrderableListItem<T>): number => {\n if (itemA.sort === null && itemB.sort === null) {\n return 1;\n }\n if (itemA.sort === null) {\n return 1;\n }\n if (itemB.sort === null) {\n return -1;\n }\n\n return itemA.sort - itemB.sort;\n};\n\nconst moveItem = <T extends object>(\n id: string,\n newPosition: number | null,\n items: DraggableItem<T>[],\n): DraggableItem<T>[] => {\n const theItem = items.find((item) => item.id === id) as DraggableItem<T>;\n\n return theItem ? [{ ...theItem, sort: newPosition }] : [];\n};\n\nexport const OrderableList = <T extends object>({\n onMove,\n dragDisabled,\n items,\n dragHandlerPosition = 'none',\n enableDragDelay = true,\n itemStyle,\n selectedId,\n renderContent,\n 'data-test-id': dataTestId = 'orderable-list',\n}: OrderableListProps<T>) => {\n const [itemsState, setItemsState] = useState(items);\n const listId = useId();\n const isDraggable = !dragDisabled;\n\n useEffect(() => {\n // sort the incoming items\n const itemsClone = [...items];\n itemsClone.sort(listItemsCompareFn);\n // eslint-disable-next-line react-hooks/set-state-in-effect\n setItemsState(itemsClone);\n }, [items]);\n\n const handleDrop: OnTreeDropCallback = (dropArgs) => {\n onMove(moveItem(dropArgs.id, dropArgs.sort, itemsState));\n };\n\n const treeItemStyle = useMemo(() => {\n return {\n spacingY: 'small',\n contentHight: 'content-fit',\n shadow: 'small',\n borderRadius: 'medium',\n borderWidth: 'x-small',\n borderStyle: 'solid',\n activeColorStyle: 'soft',\n ...itemStyle,\n } as OrderableListItemStyle;\n }, [itemStyle]);\n\n return (\n <Tree\n draggable={isDraggable}\n id={listId}\n onDrop={handleDrop}\n data-test-id={dataTestId}\n selectedIds={selectedId ? [selectedId] : []}\n itemStyle={treeItemStyle}\n showDragHandlerOnHoverOnly={!isDraggable}\n dragHandlerPosition={!isDraggable ? 'none' : dragHandlerPosition}\n showContentWhileDragging\n enableDragDelay={enableDragDelay}\n >\n {itemsState.map((item) => {\n const identifier = `collection-item-${item.id}`;\n return (\n <TreeItem\n data-test-id={`${dataTestId}-item`}\n id={item.id}\n key={identifier}\n type=\"collection-item\"\n accepts=\"collection-item\"\n expandable={false}\n levelConstraint={0}\n contentComponent={renderContent(item)}\n />\n );\n })}\n </Tree>\n );\n};\nOrderableList.displayName = 'FondueOrderableList';\n"],"names":["listItemsCompareFn","itemA","itemB","moveItem","id","newPosition","items","theItem","item","OrderableList","onMove","dragDisabled","dragHandlerPosition","enableDragDelay","itemStyle","selectedId","renderContent","dataTestId","itemsState","setItemsState","useState","listId","useId","isDraggable","useEffect","itemsClone","handleDrop","dropArgs","treeItemStyle","useMemo","jsx","Tree","identifier","TreeItem"],"mappings":";;;;;AAYA,MAAMA,IAAqB,CAAmBC,GAA6BC,MACnED,EAAM,SAAS,QAAQC,EAAM,SAAS,QAGtCD,EAAM,SAAS,OACR,IAEPC,EAAM,SAAS,OACR,KAGJD,EAAM,OAAOC,EAAM,MAGxBC,IAAW,CACbC,GACAC,GACAC,MACqB;AACrB,QAAMC,IAAUD,EAAM,KAAK,CAACE,MAASA,EAAK,OAAOJ,CAAE;AAEnD,SAAOG,IAAU,CAAC,EAAE,GAAGA,GAAS,MAAMF,EAAA,CAAa,IAAI,CAAA;AAC3D,GAEaI,IAAgB,C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B,CAAU;AAAA,YAC3B,IAAIT,EAAK;AAAA,YAET,MAAK;AAAA,YACL,SAAQ;AAAA,YACR,YAAY;AAAA,YACZ,iBAAiB;AAAA,YACjB,kBAAkBQ,EAAcR,CAAI;AAAA,UAAA;AAAA,UAL/BwB;AAAA,QAAA;AAAA,MAQjB,CAAC;AAAA,IAAA;AAAA,EAAA;AAGb;AACAvB,EAAc,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.es.js","sources":["../../../src/components/RadioList/RadioButton.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useRef } from 'react';\n\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { checkIfContainInteractiveElements } from '@utilities/elements';\n\n/**\n * @deprecated Use `RadioList` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#radiolist the migration guide}.\n */\nexport enum RadioButtonEmphasis {\n Weak = 'Weak',\n}\n\n/**\n * @deprecated Use `RadioList` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#radiolist the migration guide}.\n */\nexport type RadioButtonProps = {\n value: string;\n disabled?: boolean;\n hideLabel?: boolean;\n emphasis?: RadioButtonEmphasis;\n helperText?: string;\n tooltip?: string;\n};\n\n/**\n * @deprecated Use `RadioList` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#radiolist the migration guide}.\n */\nexport const RadioButton = ({ ...props }: RadioButtonProps) => {\n const id = useMemoizedId();\n const ref = useRef<HTMLDivElement | null>(null);\n const hasInteractiveElements = checkIfContainInteractiveElements(ref.current);\n\n return (\n <div\n role=\"tabpanel\"\n ref={ref}\n id={`${id}-content`}\n aria-labelledby={id}\n tabIndex={hasInteractiveElements ? -1 : 0}\n {...props}\n />\n );\n};\n"],"names":["RadioButtonEmphasis","RadioButton","props","id","useMemoizedId","ref","useRef","hasInteractiveElements","checkIfContainInteractiveElements","jsx"],"mappings":";;;;AAUO,IAAKA,sBAAAA,OACRA,EAAA,OAAO,QADCA,IAAAA,KAAA,CAAA,CAAA;AAmBL,MAAMC,IAAc,CAAC,EAAE,GAAGC,QAA8B;AAC3D,QAAMC,IAAKC,EAAA,GACLC,IAAMC,EAA8B,IAAI,GACxCC,IAAyBC,EAAkCH,EAAI,OAAO;AAE5E,SACI,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,MAAK;AAAA,MACL,KAAAJ;AAAA,MACA,IAAI,GAAGF,CAAE;AAAA,MACT,mBAAiBA;AAAA,MACjB,UAAUI,IAAyB,KAAK;AAAA,MACvC,GAAGL;AAAA,IAAA;AAAA,EAAA;AAGhB;"}
1
+ {"version":3,"file":"RadioButton.es.js","sources":["../../../src/components/RadioList/RadioButton.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useRef } from 'react';\n\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { checkIfContainInteractiveElements } from '@utilities/elements';\n\n/**\n * @deprecated Use `RadioList` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#radiolist the migration guide}.\n */\nexport enum RadioButtonEmphasis {\n Weak = 'Weak',\n}\n\n/**\n * @deprecated Use `RadioList` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#radiolist the migration guide}.\n */\nexport type RadioButtonProps = {\n value: string;\n disabled?: boolean;\n hideLabel?: boolean;\n emphasis?: RadioButtonEmphasis;\n helperText?: string;\n tooltip?: string;\n};\n\n/**\n * @deprecated Use `RadioList` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#radiolist the migration guide}.\n */\nexport const RadioButton = ({ ...props }: RadioButtonProps) => {\n const id = useMemoizedId();\n const ref = useRef<HTMLDivElement | null>(null);\n // eslint-disable-next-line react-hooks/refs\n const hasInteractiveElements = checkIfContainInteractiveElements(ref.current);\n\n return (\n <div\n role=\"tabpanel\"\n ref={ref}\n id={`${id}-content`}\n aria-labelledby={id}\n tabIndex={hasInteractiveElements ? -1 : 0}\n {...props}\n />\n );\n};\n"],"names":["RadioButtonEmphasis","RadioButton","props","id","useMemoizedId","ref","useRef","hasInteractiveElements","checkIfContainInteractiveElements","jsx"],"mappings":";;;;AAUO,IAAKA,sBAAAA,OACRA,EAAA,OAAO,QADCA,IAAAA,KAAA,CAAA,CAAA;AAmBL,MAAMC,IAAc,CAAC,EAAE,GAAGC,QAA8B;AAC3D,QAAMC,IAAKC,EAAA,GACLC,IAAMC,EAA8B,IAAI,GAExCC,IAAyBC,EAAkCH,EAAI,OAAO;AAE5E,SACI,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,MAAK;AAAA,MACL,KAAAJ;AAAA,MACA,IAAI,GAAGF,CAAE;AAAA,MACT,mBAAiBA;AAAA,MACjB,UAAUI,IAAyB,KAAK;AAAA,MACvC,GAAGL;AAAA,IAAA;AAAA,EAAA;AAGhB;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableColumnHeader.es.js","sources":["../../../src/components/Table/TableColumnHeader.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type Key, cloneElement, useEffect, useRef, useState } from 'react';\n\nimport { Checkbox, CheckboxState } from '@components/Checkbox/Checkbox';\nimport IconArrowBidirectional from '@foundation/Icon/Generated/IconArrowBidirectional';\nimport IconArrowDown from '@foundation/Icon/Generated/IconArrowDown';\nimport IconArrowUp from '@foundation/Icon/Generated/IconArrowUp';\nimport { IconSize } from '@foundation/Icon/IconSize';\nimport { FOCUS_VISIBLE_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\nimport { type ColumnAlign, SelectionMode, SortDirection } from './Table';\n\n/**\n * @deprecated Use `Table` from `@frontify/fondue/components` instead.\n */\nexport enum TableColumnHeaderType {\n Default = 'Default',\n SelectAll = 'SelectAll',\n}\n\n/**\n * @deprecated Use `Table` from `@frontify/fondue/components` instead.\n */\nexport type TableColumnHeaderProps = {\n column: any;\n type?: TableColumnHeaderType;\n rowIds: Key[];\n sortDirection?: SortDirection;\n selectionMode: string;\n isColumnSorted?: boolean;\n handleSortChange: (column: string, direction?: SortDirection) => void;\n setSelectedRows?: (ids?: Key[]) => void;\n align?: ColumnAlign;\n};\n\n/**\n * @deprecated Use `Table` from `@frontify/fondue/components` instead.\n */\nexport const TableColumnHeader = ({\n column,\n type = TableColumnHeaderType.Default,\n rowIds,\n sortDirection,\n selectionMode,\n isColumnSorted = false,\n handleSortChange,\n setSelectedRows,\n align = 'left',\n}: TableColumnHeaderProps) => {\n const {\n key,\n rendered,\n props: { allowsSorting },\n } = column;\n const [icon, setIcon] = useState(<IconArrowBidirectional />);\n const [isChecked, setIsChecked] = useState(false);\n const ref = useRef<HTMLTableCellElement | null>(null);\n const ButtonOrSpan = allowsSorting ? 'button' : 'span';\n const cursorStyle = allowsSorting ? 'tw-cursor-pointer' : 'tw-cursor-default';\n const alignStyles = align === 'right' ? 'tw-w-full tw-justify-end' : '';\n\n useEffect(() => {\n if (isColumnSorted) {\n setIcon(sortDirection === SortDirection.Descending ? <IconArrowDown /> : <IconArrowUp />);\n } else {\n setIcon(<IconArrowBidirectional />);\n }\n }, [isColumnSorted, sortDirection]);\n\n if (type === TableColumnHeaderType.SelectAll) {\n const ariaProps = {\n 'aria-label': 'Select all',\n scope: 'col',\n };\n\n const checkboxState = isChecked ? CheckboxState.Checked : CheckboxState.Unchecked;\n\n const handleChange = () => {\n if (!setSelectedRows) {\n return;\n }\n\n if (isChecked) {\n setSelectedRows([]);\n } else {\n setSelectedRows(rowIds);\n }\n\n setIsChecked((checked) => !checked);\n };\n\n return (\n <th\n {...ariaProps}\n ref={ref}\n className=\"tw-pl-8 tw-py-3 tw-pr-4 tw-w-16 tw-border-l-4 tw-border-transparent tw-group tw-outline-none\"\n data-test-id=\"table-select-cell\"\n >\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison */}\n {selectionMode === SelectionMode.SingleSelect ? (\n <span className=\"tw-sr-only\">{ariaProps['aria-label']}</span>\n ) : (\n <Checkbox value={key} aria-label={key} state={checkboxState} onChange={handleChange} />\n )}\n </th>\n );\n }\n\n return (\n <th\n ref={ref}\n className={merge([\n 'tw-px-4 tw-py-3 tw-outline-none tw-group focus-visible:bg-violet-90',\n allowsSorting ? 'tw-cursor-pointer' : '',\n ])}\n data-test-id=\"table-column\"\n scope=\"col\"\n onClick={allowsSorting ? () => handleSortChange(column.key, sortDirection) : () => null}\n >\n <ButtonOrSpan\n className={merge([\n 'tw-text-xs tw-font-medium tw-text-black-100 dark:tw-text-white tw-flex tw-gap-x-1 tw-items-center',\n FOCUS_VISIBLE_STYLE,\n cursorStyle,\n alignStyles,\n ])}\n >\n {rendered}\n {allowsSorting && (\n <span\n aria-hidden=\"true\"\n className={\n isColumnSorted\n ? 'tw-text-violet-50'\n : 'tw-text-black-40 dark:tw-text-black-60 group-hover:tw-text-black-100 dark:group-hover:tw-text-white'\n }\n >\n {cloneElement(icon, { size: IconSize.Size12 })}\n </span>\n )}\n </ButtonOrSpan>\n </th>\n );\n};\nTableColumnHeader.displayName = 'FondueTableColumnHeader';\n"],"names":["TableColumnHeaderType","TableColumnHeader","column","type","rowIds","sortDirection","selectionMode","isColumnSorted","handleSortChange","setSelectedRows","align","key","rendered","allowsSorting","icon","setIcon","useState","jsx","IconArrowBidirectional","isChecked","setIsChecked","ref","useRef","ButtonOrSpan","cursorStyle","alignStyles","useEffect","SortDirection","IconArrowDown","IconArrowUp","ariaProps","checkboxState","CheckboxState","handleChange","checked","SelectionMode","Checkbox","merge","jsxs","FOCUS_VISIBLE_STYLE","IconSize"],"mappings":";;;;;;;;;;AAiBO,IAAKA,sBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,YAAY,aAFJA,IAAAA,KAAA,CAAA,CAAA;AAuBL,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E,IAEtD,gBAAAA,EAACmB,GAAA,EAAS,OAAOzB,GAAK,cAAYA,GAAK,OAAOoB,GAAe,UAAUE,EAAA,CAAc;AAAA,MAAA;AAAA,IAAA;AAAA,EAIrG;AAEA,SACI,gBAAAhB;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,KAAAI;AAAA,MACA,WAAWgB,EAAM;AAAA,QACb;AAAA,QACAxB,IAAgB,sBAAsB;AAAA,MAAA,CACzC;AAAA,MACD,gBAAa;AAAA,MACb,OAAM;AAAA,MACN,SAASA,IAAgB,MAAML,EAAiBN,EAAO,KAAKG,CAAa,IAAI,MAAM;AAAA,MAEnF,UAAA,gBAAAiC;AAAA,QAACf;AAAA,QAAA;AAAA,UACG,WAAWc,EAAM;AAAA,YACb;AAAA,YACAE;AAAA,YACAf;AAAA,YACAC;AAAA,UAAA,CACH;AAAA,UAEA,UAAA;AAAA,YAAAb;AAAA,YACAC,KACG,gBAAAI;AAAA,cAAC;AAAA,cAAA;AAAA,gBACG,eAAY;AAAA,gBACZ,WACIV,IACM,sBACA;AAAA,gBAGT,YAAaO,GAAM,EAAE,MAAM0B,EAAS,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACjD;AAAA,QAAA;AAAA,MAAA;AAAA,IAER;AAAA,EAAA;AAGZ;AACAvC,EAAkB,cAAc;"}
1
+ {"version":3,"file":"TableColumnHeader.es.js","sources":["../../../src/components/Table/TableColumnHeader.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type Key, cloneElement, useEffect, useRef, useState } from 'react';\n\nimport { Checkbox, CheckboxState } from '@components/Checkbox/Checkbox';\nimport IconArrowBidirectional from '@foundation/Icon/Generated/IconArrowBidirectional';\nimport IconArrowDown from '@foundation/Icon/Generated/IconArrowDown';\nimport IconArrowUp from '@foundation/Icon/Generated/IconArrowUp';\nimport { IconSize } from '@foundation/Icon/IconSize';\nimport { FOCUS_VISIBLE_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\nimport { type ColumnAlign, SelectionMode, SortDirection } from './Table';\n\n/**\n * @deprecated Use `Table` from `@frontify/fondue/components` instead.\n */\nexport enum TableColumnHeaderType {\n Default = 'Default',\n SelectAll = 'SelectAll',\n}\n\n/**\n * @deprecated Use `Table` from `@frontify/fondue/components` instead.\n */\nexport type TableColumnHeaderProps = {\n column: any;\n type?: TableColumnHeaderType;\n rowIds: Key[];\n sortDirection?: SortDirection;\n selectionMode: string;\n isColumnSorted?: boolean;\n handleSortChange: (column: string, direction?: SortDirection) => void;\n setSelectedRows?: (ids?: Key[]) => void;\n align?: ColumnAlign;\n};\n\n/**\n * @deprecated Use `Table` from `@frontify/fondue/components` instead.\n */\nexport const TableColumnHeader = ({\n column,\n type = TableColumnHeaderType.Default,\n rowIds,\n sortDirection,\n selectionMode,\n isColumnSorted = false,\n handleSortChange,\n setSelectedRows,\n align = 'left',\n}: TableColumnHeaderProps) => {\n const {\n key,\n rendered,\n props: { allowsSorting },\n } = column;\n const [icon, setIcon] = useState(<IconArrowBidirectional />);\n const [isChecked, setIsChecked] = useState(false);\n const ref = useRef<HTMLTableCellElement | null>(null);\n const ButtonOrSpan = allowsSorting ? 'button' : 'span';\n const cursorStyle = allowsSorting ? 'tw-cursor-pointer' : 'tw-cursor-default';\n const alignStyles = align === 'right' ? 'tw-w-full tw-justify-end' : '';\n\n useEffect(() => {\n if (isColumnSorted) {\n // eslint-disable-next-line react-hooks/set-state-in-effect\n setIcon(sortDirection === SortDirection.Descending ? <IconArrowDown /> : <IconArrowUp />);\n } else {\n setIcon(<IconArrowBidirectional />);\n }\n }, [isColumnSorted, sortDirection]);\n\n if (type === TableColumnHeaderType.SelectAll) {\n const ariaProps = {\n 'aria-label': 'Select all',\n scope: 'col',\n };\n\n const checkboxState = isChecked ? CheckboxState.Checked : CheckboxState.Unchecked;\n\n const handleChange = () => {\n if (!setSelectedRows) {\n return;\n }\n\n if (isChecked) {\n setSelectedRows([]);\n } else {\n setSelectedRows(rowIds);\n }\n\n setIsChecked((checked) => !checked);\n };\n\n return (\n <th\n {...ariaProps}\n ref={ref}\n className=\"tw-pl-8 tw-py-3 tw-pr-4 tw-w-16 tw-border-l-4 tw-border-transparent tw-group tw-outline-none\"\n data-test-id=\"table-select-cell\"\n >\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison */}\n {selectionMode === SelectionMode.SingleSelect ? (\n <span className=\"tw-sr-only\">{ariaProps['aria-label']}</span>\n ) : (\n <Checkbox value={key} aria-label={key} state={checkboxState} onChange={handleChange} />\n )}\n </th>\n );\n }\n\n return (\n <th\n ref={ref}\n className={merge([\n 'tw-px-4 tw-py-3 tw-outline-none tw-group focus-visible:bg-violet-90',\n allowsSorting ? 'tw-cursor-pointer' : '',\n ])}\n data-test-id=\"table-column\"\n scope=\"col\"\n onClick={allowsSorting ? () => handleSortChange(column.key, sortDirection) : () => null}\n >\n <ButtonOrSpan\n className={merge([\n 'tw-text-xs tw-font-medium tw-text-black-100 dark:tw-text-white tw-flex tw-gap-x-1 tw-items-center',\n FOCUS_VISIBLE_STYLE,\n cursorStyle,\n alignStyles,\n ])}\n >\n {rendered}\n {allowsSorting && (\n <span\n aria-hidden=\"true\"\n className={\n isColumnSorted\n ? 'tw-text-violet-50'\n : 'tw-text-black-40 dark:tw-text-black-60 group-hover:tw-text-black-100 dark:group-hover:tw-text-white'\n }\n >\n {cloneElement(icon, { size: IconSize.Size12 })}\n </span>\n )}\n </ButtonOrSpan>\n </th>\n );\n};\nTableColumnHeader.displayName = 'FondueTableColumnHeader';\n"],"names":["TableColumnHeaderType","TableColumnHeader","column","type","rowIds","sortDirection","selectionMode","isColumnSorted","handleSortChange","setSelectedRows","align","key","rendered","allowsSorting","icon","setIcon","useState","jsx","IconArrowBidirectional","isChecked","setIsChecked","ref","useRef","ButtonOrSpan","cursorStyle","alignStyles","useEffect","SortDirection","IconArrowDown","IconArrowUp","ariaProps","checkboxState","CheckboxState","handleChange","checked","SelectionMode","Checkbox","merge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I,GAAGa;AAAA,QACJ,KAAAT;AAAA,QACA,WAAU;AAAA,QACV,gBAAa;AAAA,QAGZ,UAAAf,MAAkB6B,EAAc,eAC7B,gBAAAlB,EAAC,UAAK,WAAU,cAAc,YAAU,YAAY,GAAE,IAEtD,gBAAAA,EAACmB,GAAA,EAAS,OAAOzB,GAAK,cAAYA,GAAK,OAAOoB,GAAe,UAAUE,EAAA,CAAc;AAAA,MAAA;AAAA,IAAA;AAAA,EAIrG;AAEA,SACI,gBAAAhB;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,KAAAI;AAAA,MACA,WAAWgB,EAAM;AAAA,QACb;AAAA,QACAxB,IAAgB,sBAAsB;AAAA,MAAA,CACzC;AAAA,MACD,gBAAa;AAAA,MACb,OAAM;AAAA,MACN,SAASA,IAAgB,MAAML,EAAiBN,EAAO,KAAKG,CAAa,IAAI,MAAM;AAAA,MAEnF,UAAA,gBAAAiC;AAAA,QAACf;AAAA,QAAA;AAAA,UACG,WAAWc,EAAM;AAAA,YACb;AAAA,YACAE;AAAA,YACAf;AAAA,YACAC;AAAA,UAAA,CACH;AAAA,UAEA,UAAA;AAAA,YAAAb;AAAA,YACAC,KACG,gBAAAI;AAAA,cAAC;AAAA,cAAA;AAAA,gBACG,eAAY;AAAA,gBACZ,WACIV,IACM,sBACA;AAAA,gBAGT,YAAaO,GAAM,EAAE,MAAM0B,EAAS,QAAQ;AAAA,cAAA;AAAA,YAAA;AAAA,UACjD;AAAA,QAAA;AAAA,MAAA;AAAA,IAER;AAAA,EAAA;AAGZ;AACAvC,EAAkB,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.es.js","sources":["../../../src/components/Tabs/TabItem.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement, type ReactNode, useEffect, useState } from 'react';\n\nimport { type BadgeProps } from '@components/Badge';\nimport { checkIfContainInteractiveElements } from '@utilities/elements';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport type TabItemProps = {\n id: string;\n // eslint-disable-next-line @eslint-react/no-unused-props\n label: string;\n // eslint-disable-next-line @eslint-react/no-unused-props\n onClick?: () => void;\n disabled?: boolean;\n // eslint-disable-next-line @eslint-react/no-unused-props\n decorator?: ReactElement;\n // eslint-disable-next-line @eslint-react/no-unused-props\n badge?: BadgeProps;\n children: ReactNode;\n active?: boolean;\n};\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport const TabItem = ({ active, disabled, children, id }: TabItemProps): Nullable<ReactElement> => {\n const [ref, setRef] = useState<HTMLDivElement | null>(null);\n const [hasInteractiveElements, setHasInteractiveElements] = useState(false);\n\n useEffect(() => {\n setHasInteractiveElements(checkIfContainInteractiveElements(ref));\n }, [ref]);\n\n return active ? (\n <div\n role=\"tabpanel\"\n ref={setRef}\n id={`${id}-content`}\n aria-labelledby={id}\n className={merge([!active || disabled ? 'tw-hidden' : '', 'focus:tw-ring-4 focus:tw-ring-blue'])}\n tabIndex={hasInteractiveElements ? -1 : 0}\n >\n {children}\n </div>\n ) : null;\n};\nTabItem.displayName = 'FondueTabItem';\n"],"names":["TabItem","active","disabled","children","id","ref","setRef","useState","hasInteractiveElements","setHasInteractiveElements","useEffect","checkIfContainInteractiveElements","jsx","merge"],"mappings":";;;;AA6BO,MAAMA,IAAU,CAAC,EAAE,QAAAC,GAAQ,UAAAC,GAAU,UAAAC,GAAU,IAAAC,QAA+C;AACjG,QAAM,CAACC,GAAKC,CAAM,IAAIC,EAAgC,IAAI,GACpD,CAACC,GAAwBC,CAAyB,IAAIF,EAAS,EAAK;AAE1E,SAAAG,EAAU,MAAM;AACZ,IAAAD,EAA0BE,EAAkCN,CAAG,CAAC;AAAA,EACpE,GAAG,CAACA,CAAG,CAAC,GAEDJ,IACH,gBAAAW;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,MAAK;AAAA,MACL,KAAKN;AAAA,MACL,IAAI,GAAGF,CAAE;AAAA,MACT,mBAAiBA;AAAA,MACjB,WAAWS,EAAM,CAAC,CAACZ,KAAUC,IAAW,cAAc,IAAI,oCAAoC,CAAC;AAAA,MAC/F,UAAUM,IAAyB,KAAK;AAAA,MAEvC,UAAAL;AAAA,IAAA;AAAA,EAAA,IAEL;AACR;AACAH,EAAQ,cAAc;"}
1
+ {"version":3,"file":"TabItem.es.js","sources":["../../../src/components/Tabs/TabItem.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement, type ReactNode, useEffect, useState } from 'react';\n\nimport { type BadgeProps } from '@components/Badge/types';\nimport { checkIfContainInteractiveElements } from '@utilities/elements';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport type TabItemProps = {\n id: string;\n // eslint-disable-next-line @eslint-react/no-unused-props\n label: string;\n // eslint-disable-next-line @eslint-react/no-unused-props\n onClick?: () => void;\n disabled?: boolean;\n // eslint-disable-next-line @eslint-react/no-unused-props\n decorator?: ReactElement;\n // eslint-disable-next-line @eslint-react/no-unused-props\n badge?: BadgeProps;\n children: ReactNode;\n active?: boolean;\n};\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport const TabItem = ({ active, disabled, children, id }: TabItemProps): Nullable<ReactElement> => {\n const [ref, setRef] = useState<HTMLDivElement | null>(null);\n const [hasInteractiveElements, setHasInteractiveElements] = useState(false);\n\n useEffect(() => {\n setHasInteractiveElements(checkIfContainInteractiveElements(ref));\n }, [ref]);\n\n return active ? (\n <div\n role=\"tabpanel\"\n ref={setRef}\n id={`${id}-content`}\n aria-labelledby={id}\n className={merge([!active || disabled ? 'tw-hidden' : '', 'focus:tw-ring-4 focus:tw-ring-blue'])}\n tabIndex={hasInteractiveElements ? -1 : 0}\n >\n {children}\n </div>\n ) : null;\n};\nTabItem.displayName = 'FondueTabItem';\n"],"names":["TabItem","active","disabled","children","id","ref","setRef","useState","hasInteractiveElements","setHasInteractiveElements","useEffect","checkIfContainInteractiveElements","jsx","merge"],"mappings":";;;;AA6BO,MAAMA,IAAU,CAAC,EAAE,QAAAC,GAAQ,UAAAC,GAAU,UAAAC,GAAU,IAAAC,QAA+C;AACjG,QAAM,CAACC,GAAKC,CAAM,IAAIC,EAAgC,IAAI,GACpD,CAACC,GAAwBC,CAAyB,IAAIF,EAAS,EAAK;AAE1E,SAAAG,EAAU,MAAM;AACZ,IAAAD,EAA0BE,EAAkCN,CAAG,CAAC;AAAA,EACpE,GAAG,CAACA,CAAG,CAAC,GAEDJ,IACH,gBAAAW;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,MAAK;AAAA,MACL,KAAKN;AAAA,MACL,IAAI,GAAGF,CAAE;AAAA,MACT,mBAAiBA;AAAA,MACjB,WAAWS,EAAM,CAAC,CAACZ,KAAUC,IAAW,cAAc,IAAI,oCAAoC,CAAC;AAAA,MAC/F,UAAUM,IAAyB,KAAK;AAAA,MAEvC,UAAAL;AAAA,IAAA;AAAA,EAAA,IAEL;AACR;AACAH,EAAQ,cAAc;"}
@@ -1,12 +1,12 @@
1
1
  import { jsxs as m, Fragment as U, jsx as o } from "react/jsx-runtime";
2
2
  import { useFocusRing as V } from "@react-aria/focus";
3
3
  import { useRef as K, useState as y, Children as A, isValidElement as O, useCallback as P, useEffect as L, cloneElement as z } from "react";
4
+ import { Badge as B } from "../Badge/Badge.es.js";
4
5
  import Y from "../../foundation/Icon/Generated/IconDotsHorizontal.es.js";
5
6
  import { useMemoizedId as W } from "../../hooks/useMemoizedId.es.js";
6
7
  import { FOCUS_VISIBLE_STYLE_INSET as H, FOCUS_STYLE as X, FOCUS_VISIBLE_STYLE as q } from "../../utilities/focusStyle.es.js";
7
8
  import { merge as g } from "../../utilities/merge.es.js";
8
- import { Badge as B } from "../Badge/Badge.es.js";
9
- import { motion as G } from "../../node_modules/.pnpm/framer-motion@12.23.24_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.es.js";
9
+ import { motion as G } from "../../node_modules/.pnpm/framer-motion@12.23.27_@emotion_is-prop-valid@0.8.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.es.js";
10
10
  var J = /* @__PURE__ */ ((l) => (l.Small = "Small", l.Large = "Large", l))(J || {});
11
11
  const Q = {
12
12
  None: "tw-pl-0",
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.es.js","sources":["../../../src/components/Tabs/Tabs.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useFocusRing } from '@react-aria/focus';\nimport { motion } from 'motion/react';\nimport {\n Children,\n type KeyboardEvent,\n type ReactElement,\n type ReactNode,\n cloneElement,\n isValidElement,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from 'react';\n\nimport { Badge } from '@components/Badge';\nimport { type TabItemProps } from '@components/Tabs/TabItem';\nimport IconDotsHorizontal from '@foundation/Icon/Generated/IconDotsHorizontal';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { type DimensionUnity } from '@utilities/dimensions';\nimport { FOCUS_STYLE, FOCUS_VISIBLE_STYLE, FOCUS_VISIBLE_STYLE_INSET } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport enum TabsPaddingX {\n None = 'None',\n XSmall = 'XSmall',\n Small = 'Small',\n Medium = 'Medium',\n Large = 'Large',\n}\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport enum TabSize {\n Small = 'Small',\n Large = 'Large',\n}\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport type TabsProps = {\n paddingX?: TabsPaddingX;\n size?: TabSize;\n activeItemId: string;\n children: ReactNode;\n onChange?: (tabId: string) => void;\n maxHeight?: `${number}${DimensionUnity}`;\n minHeight?: `${number}${DimensionUnity}`;\n};\n\nconst paddingMap: Record<TabsPaddingX, string> = {\n [TabsPaddingX.None]: 'tw-pl-0',\n [TabsPaddingX.XSmall]: 'tw-pl-xs',\n [TabsPaddingX.Small]: 'tw-pl-s',\n [TabsPaddingX.Medium]: 'tw-pl-m',\n [TabsPaddingX.Large]: 'tw-pl-l',\n};\n\nconst getTabButtonTextStyle = (tab: TabItemProps, activeItemId: string) => {\n if (tab.disabled) {\n return 'tw-text-text-disabled';\n }\n\n if (tab.id === activeItemId) {\n return 'tw-font-medium tw-text-text';\n }\n\n return 'tw-text-text-weak hover:tw-text-text';\n};\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport const Tabs = ({\n paddingX,\n size,\n activeItemId,\n children,\n onChange,\n maxHeight,\n minHeight,\n}: TabsProps): ReactElement => {\n const groupId = useMemoizedId();\n const tabNavRef = useRef<HTMLDivElement | null>(null);\n const [isOverflowing, setIsOverflowing] = useState(false);\n const [isMenuOpened, setIsMenuOpened] = useState(false);\n\n const tabs: TabItemProps[] =\n Children.map(children, (child) => {\n if (!isValidElement<TabItemProps>(child)) {\n return null;\n }\n return child?.props;\n }) ?? [];\n\n const [overflowArray, setOverflowArray] = useState([0]);\n\n const checkIfOverflowing = useCallback(() => {\n const tabNav = tabNavRef.current;\n setIsOverflowing((tabNav && tabNav.scrollWidth > tabNav.clientWidth) ?? false);\n const overFlowIndex = [];\n if (tabNav) {\n for (const tabItem of tabNav.children) {\n const i = [...tabNav.children].indexOf(tabItem);\n const navPosition = tabNav.getBoundingClientRect();\n const tabPosition = tabItem.getBoundingClientRect();\n if (tabPosition.right > navPosition.right || tabPosition.left < navPosition.left) {\n overFlowIndex.push(i);\n }\n }\n\n const overFlowIndexInAscOrder = [...overFlowIndex].sort((a, b) => a - b);\n setOverflowArray(overFlowIndexInAscOrder);\n }\n }, []);\n\n const getOverflownTabs = () => {\n return overflowArray.map((i) => {\n return tabs[i];\n });\n };\n\n const filterTabList = (array: TabItemProps[], direction: string) => {\n const activeItemIndex = array.findIndex((tab) => tab.id === activeItemId);\n\n return array.filter((tab, index) => {\n if (direction === 'next') {\n if (index > activeItemIndex && !tab.disabled) {\n return tab;\n }\n }\n\n if (direction === 'previous') {\n if (index < activeItemIndex && !tab.disabled) {\n return tab;\n }\n }\n\n return false;\n });\n };\n\n const handleKeyboardTabChange = (event: KeyboardEvent<HTMLButtonElement>) => {\n if (['ArrowRight', 'ArrowDown', 'ArrowLeft', 'ArrowUp'].includes(event.key)) {\n event.stopPropagation();\n }\n\n const overflownTabs = getOverflownTabs();\n const target = event.target as HTMLElement;\n const fromOverflow = target.id.includes('-m');\n const currentTabId = target.id.replace('-btn-m', '');\n const currentTabsArray = fromOverflow ? overflownTabs : tabs;\n\n const nextTabs = filterTabList(currentTabsArray, 'next');\n const previousTabs = filterTabList(currentTabsArray, 'previous');\n\n if ((event.key === 'ArrowRight' || event.key === 'ArrowDown') && nextTabs.length > 0) {\n triggerTabButton(nextTabs[0].id, fromOverflow);\n }\n\n if ((event.key === 'ArrowLeft' || event.key === 'ArrowUp') && previousTabs.length > 0) {\n triggerTabButton(previousTabs[previousTabs.length - 1].id, fromOverflow);\n }\n\n if (event.key === 'Enter' && fromOverflow) {\n triggerTabButton(currentTabId, true);\n setIsMenuOpened(false);\n const contentSection = document.getElementById(`${currentTabId}-content`) as HTMLDivElement;\n contentSection.focus();\n }\n\n if (!target.id.includes('-m')) {\n setIsMenuOpened(false);\n }\n };\n\n const triggerTabButton = (elementId: string, fromOverflow: boolean) => {\n try {\n const tabElement = document.getElementById(`${elementId}-btn`) as HTMLButtonElement;\n const buttonElement = document.getElementById(\n fromOverflow ? `${elementId}-btn-m` : `${elementId}-btn`,\n ) as HTMLButtonElement;\n if (onChange) {\n onChange(elementId);\n }\n if (isOverflowing) {\n tabElement.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'end' });\n }\n buttonElement.focus();\n } catch (error) {\n throw new Error((error as Error).message);\n }\n };\n\n const triggerOverflowMenu = (event: KeyboardEvent<HTMLButtonElement>) => {\n checkIfOverflowing();\n const overflownTabs = getOverflownTabs();\n\n if (event.key === 'Enter') {\n if (!isMenuOpened && overflownTabs.length > 0) {\n const buttonElement = document.getElementById(`${overflownTabs[0].id}-btn-m`) as HTMLButtonElement;\n if (buttonElement) {\n buttonElement.focus();\n }\n }\n }\n\n if (isMenuOpened && (event.key === 'ArrowRight' || event.key === 'ArrowDown')) {\n triggerTabButton(overflownTabs[0].id, true);\n }\n };\n\n // First render\n useEffect(() => {\n checkIfOverflowing();\n }, [checkIfOverflowing]);\n\n useEffect(() => {\n window.addEventListener('resize', checkIfOverflowing);\n return () => {\n window.removeEventListener('resize', checkIfOverflowing);\n };\n }, [checkIfOverflowing]);\n\n const { isFocusVisible, focusProps } = useFocusRing();\n\n return (\n <>\n <div data-test-id=\"tabs\" className=\"tw-flex tw-relative tw-border-b tw-border-line\">\n <div\n ref={tabNavRef}\n role=\"tablist\"\n className={merge([\n 'tw-overflow-x-hidden tw-h-full tw-w-full tw-flex tw-justify-start',\n paddingMap[paddingX ?? TabsPaddingX.Small],\n size === TabSize.Small ? 'tw-gap-xxs' : 'tw-gap-xs ',\n ])}\n >\n {tabs.map((tab) => {\n return (\n <button\n data-test-id=\"tab-item\"\n role=\"tab\"\n type=\"button\"\n aria-selected={tab.id === activeItemId}\n aria-controls={`${tab.id}-content`}\n aria-hidden={tab.disabled}\n tabIndex={tab.id === activeItemId ? 0 : -1}\n id={`${tab.id}-btn`}\n className={merge([\n 'tw-group tw-relative tw-mx-0 tw-px-2 tw-w-max tw-cursor-pointer tw-flex tw-items-center tw-justify-center tw-whitespace-nowrap',\n getTabButtonTextStyle(tab, activeItemId),\n FOCUS_VISIBLE_STYLE_INSET,\n size === TabSize.Small\n ? 'tw-h-12 tw-text-body-medium'\n : 'tw-h-14 tw-text-body-large',\n ])}\n key={tab.id}\n onClick={() => {\n if (!tab.disabled) {\n triggerTabButton(tab.id, false);\n setIsMenuOpened(false);\n }\n }}\n onKeyDown={(event) => handleKeyboardTabChange(event)}\n >\n {tab.decorator && <span className=\"tw-mr-1.5\">{tab.decorator}</span>}\n\n <span>{tab.label}</span>\n\n {tab.badge && (\n <span className=\"tw-ml-1.5\">\n <Badge disabled={tab.disabled} style={tab.badge.style}>\n {tab.badge.children}\n </Badge>\n </span>\n )}\n {tab.id === activeItemId && (\n <motion.div\n initial={false}\n layoutDependency={activeItemId}\n data-test-id=\"tab-active-highlight\"\n layoutId={groupId}\n className=\"tw-absolute tw-h-[3px] tw-bg-box-selected-strong tw-rounded-t-x-large tw-w-full tw-bottom-0\"\n />\n )}\n </button>\n );\n })}\n </div>\n {isOverflowing && (\n <div\n data-test-id=\"tab-overflow\"\n className=\"tw-z-50 tw-flex-grow tw-pl-3 tw-flex tw-justify-center tw-items-center\"\n >\n <button\n className={merge([\n 'tw-w-6 tw-h-6 tw-bg-box-neutral tw-rounded tw-flex tw-justify-center tw-items-center',\n isFocusVisible ? FOCUS_STYLE : '',\n ])}\n type=\"button\"\n onClick={() => {\n checkIfOverflowing();\n setIsMenuOpened(!isMenuOpened);\n }}\n onKeyDown={(event) => triggerOverflowMenu(event)}\n {...focusProps}\n >\n <IconDotsHorizontal />\n </button>\n {isMenuOpened && (\n <div\n className=\"tw-absolute tw-right-0 tw-top-11 tw-px-3 tw-pt-3 tw-bg-base tw-shadow tw-w-max\"\n role=\"dialog\"\n >\n {getOverflownTabs().map((tab) => {\n return (\n <button\n className={merge([\n 'tw-flex tw-items-center tw-w-full tw-mb-3 tw-text-left tw-text-text-weak',\n tab.disabled && 'tw-text-text-disabled',\n FOCUS_VISIBLE_STYLE,\n ])}\n key={tab.id}\n onClick={() => {\n if (!tab.disabled) {\n triggerTabButton(tab.id, true);\n setIsMenuOpened(false);\n }\n }}\n role=\"tab\"\n type=\"button\"\n aria-selected={tab.id === activeItemId}\n aria-controls={`${tab.id}-content`}\n aria-hidden={tab.disabled}\n tabIndex={!tab.disabled && isMenuOpened ? 0 : -1}\n id={`${tab.id}-btn-m`}\n onKeyDown={(event) => handleKeyboardTabChange(event)}\n >\n {tab.decorator}\n <span className=\"tw-mr-1 tw-ml-1.5\">{tab.label}</span>\n {tab.badge && (\n <Badge disabled={tab.disabled} style={tab.badge?.style}>\n {tab.badge?.children}\n </Badge>\n )}\n </button>\n );\n })}\n </div>\n )}\n </div>\n )}\n </div>\n\n <div data-test-id=\"tab-content\" className=\"tw-flex tw-flex-col tw-overflow-y-auto\">\n <div className=\"tw-mr-0\" style={{ maxHeight, minHeight }}>\n {Children.map(children, (child) => {\n if (!isValidElement(child)) {\n return null;\n }\n\n return cloneElement(child, { ...child.props, active: child.props.id === activeItemId });\n })}\n </div>\n </div>\n </>\n );\n};\nTabs.displayName = 'FondueTabs';\n"],"names":["TabSize","paddingMap","getTabButtonTextStyle","tab","activeItemId","Tabs","paddingX","size","children","onChange","maxHeight","minHeight","groupId","useMemoizedId","tabNavRef","useRef","isOverflowing","setIsOverflowing","useState","isMenuOpened","setIsMenuOpened","tabs","Children","child","isValidElement","overflowArray","setOverflowArray","checkIfOverflowing","useCallback","tabNav","overFlowIndex","tabItem","i","navPosition","tabPosition","overFlowIndexInAscOrder","a","b","getOverflownTabs","filterTabList","array","direction","activeItemIndex","index","handleKeyboardTabChange","event","overflownTabs","target","fromOverflow","currentTabId","currentTabsArray","nextTabs","previousTabs","triggerTabButton","elementId","tabElement","buttonElement","error","triggerOverflowMenu","useEffect","isFocusVisible","focusProps","useFocusRing","jsxs","Fragment","jsx","merge","FOCUS_VISIBLE_STYLE_INSET","Badge","motion","FOCUS_STYLE","IconDotsHorizontal","FOCUS_VISIBLE_STYLE","_a","_b","cloneElement"],"mappings":";;;;;;;;;AAuCO,IAAKA,sBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,QAAQ,SAFAA,IAAAA,KAAA,CAAA,CAAA;AAkBZ,MAAMC,IAA2C;AAAA,EAC5C,MAAoB;AAAA,EACpB,QAAsB;AAAA,E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AC,QAAA,EAAK,WAAU,qBAAqB,YAAI,OAAM;AAAA,wBAC9C9D,EAAI,SACD,gBAAA8D,EAACG,GAAA,EAAM,UAAUjE,EAAI,UAAU,QAAOsE,IAAAtE,EAAI,UAAJ,gBAAAsE,EAAW,OAC5C,WAAAC,IAAAvE,EAAI,UAAJ,gBAAAuE,EAAW,SAAA,CAChB;AAAA,sBAAA;AAAA,oBAAA;AAAA,oBArBCvE,EAAI;AAAA,kBAAA;AAAA,gBAyBrB,CAAC;AAAA,cAAA;AAAA,YAAA;AAAA,UACL;AAAA,QAAA;AAAA,MAAA;AAAA,IAER,GAER;AAAA,sBAEC,OAAA,EAAI,gBAAa,eAAc,WAAU,0CACtC,4BAAC,OAAA,EAAI,WAAU,WAAU,OAAO,EAAE,WAAAO,GAAW,WAAAC,EAAA,GACxC,YAAS,IAAIH,GAAU,CAACe,MAChBC,EAAeD,CAAK,IAIlBoD,EAAapD,GAAO,EAAE,GAAGA,EAAM,OAAO,QAAQA,EAAM,MAAM,OAAOnB,EAAA,CAAc,IAH3E,IAId,GACL,EAAA,CACJ;AAAA,EAAA,GACJ;AAER;AACAC,GAAK,cAAc;"}
1
+ {"version":3,"file":"Tabs.es.js","sources":["../../../src/components/Tabs/Tabs.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useFocusRing } from '@react-aria/focus';\nimport { motion } from 'motion/react';\nimport {\n Children,\n type KeyboardEvent,\n type ReactElement,\n type ReactNode,\n cloneElement,\n isValidElement,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from 'react';\n\nimport { Badge } from '@components/Badge/Badge';\nimport { type TabItemProps } from '@components/Tabs/TabItem';\nimport IconDotsHorizontal from '@foundation/Icon/Generated/IconDotsHorizontal';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { type DimensionUnity } from '@utilities/dimensions';\nimport { FOCUS_STYLE, FOCUS_VISIBLE_STYLE, FOCUS_VISIBLE_STYLE_INSET } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport enum TabsPaddingX {\n None = 'None',\n XSmall = 'XSmall',\n Small = 'Small',\n Medium = 'Medium',\n Large = 'Large',\n}\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport enum TabSize {\n Small = 'Small',\n Large = 'Large',\n}\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport type TabsProps = {\n paddingX?: TabsPaddingX;\n size?: TabSize;\n activeItemId: string;\n children: ReactNode;\n onChange?: (tabId: string) => void;\n maxHeight?: `${number}${DimensionUnity}`;\n minHeight?: `${number}${DimensionUnity}`;\n};\n\nconst paddingMap: Record<TabsPaddingX, string> = {\n [TabsPaddingX.None]: 'tw-pl-0',\n [TabsPaddingX.XSmall]: 'tw-pl-xs',\n [TabsPaddingX.Small]: 'tw-pl-s',\n [TabsPaddingX.Medium]: 'tw-pl-m',\n [TabsPaddingX.Large]: 'tw-pl-l',\n};\n\nconst getTabButtonTextStyle = (tab: TabItemProps, activeItemId: string) => {\n if (tab.disabled) {\n return 'tw-text-text-disabled';\n }\n\n if (tab.id === activeItemId) {\n return 'tw-font-medium tw-text-text';\n }\n\n return 'tw-text-text-weak hover:tw-text-text';\n};\n\n/**\n * @deprecated Please use updated tabs component from `@frontify/fondue/components` instead.\n */\nexport const Tabs = ({\n paddingX,\n size,\n activeItemId,\n children,\n onChange,\n maxHeight,\n minHeight,\n}: TabsProps): ReactElement => {\n const groupId = useMemoizedId();\n const tabNavRef = useRef<HTMLDivElement | null>(null);\n const [isOverflowing, setIsOverflowing] = useState(false);\n const [isMenuOpened, setIsMenuOpened] = useState(false);\n\n const tabs: TabItemProps[] =\n Children.map(children, (child) => {\n if (!isValidElement<TabItemProps>(child)) {\n return null;\n }\n return child?.props;\n }) ?? [];\n\n const [overflowArray, setOverflowArray] = useState([0]);\n\n const checkIfOverflowing = useCallback(() => {\n const tabNav = tabNavRef.current;\n setIsOverflowing((tabNav && tabNav.scrollWidth > tabNav.clientWidth) ?? false);\n const overFlowIndex = [];\n if (tabNav) {\n for (const tabItem of tabNav.children) {\n const i = [...tabNav.children].indexOf(tabItem);\n const navPosition = tabNav.getBoundingClientRect();\n const tabPosition = tabItem.getBoundingClientRect();\n if (tabPosition.right > navPosition.right || tabPosition.left < navPosition.left) {\n overFlowIndex.push(i);\n }\n }\n\n const overFlowIndexInAscOrder = [...overFlowIndex].sort((a, b) => a - b);\n setOverflowArray(overFlowIndexInAscOrder);\n }\n }, []);\n\n const getOverflownTabs = () => {\n return overflowArray.map((i) => {\n return tabs[i];\n });\n };\n\n const filterTabList = (array: TabItemProps[], direction: string) => {\n const activeItemIndex = array.findIndex((tab) => tab.id === activeItemId);\n\n return array.filter((tab, index) => {\n if (direction === 'next') {\n if (index > activeItemIndex && !tab.disabled) {\n return tab;\n }\n }\n\n if (direction === 'previous') {\n if (index < activeItemIndex && !tab.disabled) {\n return tab;\n }\n }\n\n return false;\n });\n };\n\n const handleKeyboardTabChange = (event: KeyboardEvent<HTMLButtonElement>) => {\n if (['ArrowRight', 'ArrowDown', 'ArrowLeft', 'ArrowUp'].includes(event.key)) {\n event.stopPropagation();\n }\n\n const overflownTabs = getOverflownTabs();\n const target = event.target as HTMLElement;\n const fromOverflow = target.id.includes('-m');\n const currentTabId = target.id.replace('-btn-m', '');\n const currentTabsArray = fromOverflow ? overflownTabs : tabs;\n\n const nextTabs = filterTabList(currentTabsArray, 'next');\n const previousTabs = filterTabList(currentTabsArray, 'previous');\n\n if ((event.key === 'ArrowRight' || event.key === 'ArrowDown') && nextTabs.length > 0) {\n triggerTabButton(nextTabs[0].id, fromOverflow);\n }\n\n if ((event.key === 'ArrowLeft' || event.key === 'ArrowUp') && previousTabs.length > 0) {\n triggerTabButton(previousTabs[previousTabs.length - 1].id, fromOverflow);\n }\n\n if (event.key === 'Enter' && fromOverflow) {\n triggerTabButton(currentTabId, true);\n setIsMenuOpened(false);\n const contentSection = document.getElementById(`${currentTabId}-content`) as HTMLDivElement;\n contentSection.focus();\n }\n\n if (!target.id.includes('-m')) {\n setIsMenuOpened(false);\n }\n };\n\n const triggerTabButton = (elementId: string, fromOverflow: boolean) => {\n try {\n const tabElement = document.getElementById(`${elementId}-btn`) as HTMLButtonElement;\n const buttonElement = document.getElementById(\n fromOverflow ? `${elementId}-btn-m` : `${elementId}-btn`,\n ) as HTMLButtonElement;\n if (onChange) {\n onChange(elementId);\n }\n if (isOverflowing) {\n tabElement.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'end' });\n }\n buttonElement.focus();\n } catch (error) {\n throw new Error((error as Error).message);\n }\n };\n\n const triggerOverflowMenu = (event: KeyboardEvent<HTMLButtonElement>) => {\n checkIfOverflowing();\n const overflownTabs = getOverflownTabs();\n\n if (event.key === 'Enter') {\n if (!isMenuOpened && overflownTabs.length > 0) {\n const buttonElement = document.getElementById(`${overflownTabs[0].id}-btn-m`) as HTMLButtonElement;\n if (buttonElement) {\n buttonElement.focus();\n }\n }\n }\n\n if (isMenuOpened && (event.key === 'ArrowRight' || event.key === 'ArrowDown')) {\n triggerTabButton(overflownTabs[0].id, true);\n }\n };\n\n // First render\n useEffect(() => {\n // eslint-disable-next-line react-hooks/set-state-in-effect\n checkIfOverflowing();\n }, [checkIfOverflowing]);\n\n useEffect(() => {\n window.addEventListener('resize', checkIfOverflowing);\n return () => {\n window.removeEventListener('resize', checkIfOverflowing);\n };\n }, [checkIfOverflowing]);\n\n const { isFocusVisible, focusProps } = useFocusRing();\n\n return (\n <>\n <div data-test-id=\"tabs\" className=\"tw-flex tw-relative tw-border-b tw-border-line\">\n <div\n ref={tabNavRef}\n role=\"tablist\"\n className={merge([\n 'tw-overflow-x-hidden tw-h-full tw-w-full tw-flex tw-justify-start',\n paddingMap[paddingX ?? TabsPaddingX.Small],\n size === TabSize.Small ? 'tw-gap-xxs' : 'tw-gap-xs ',\n ])}\n >\n {tabs.map((tab) => {\n return (\n <button\n data-test-id=\"tab-item\"\n role=\"tab\"\n type=\"button\"\n aria-selected={tab.id === activeItemId}\n aria-controls={`${tab.id}-content`}\n aria-hidden={tab.disabled}\n tabIndex={tab.id === activeItemId ? 0 : -1}\n id={`${tab.id}-btn`}\n className={merge([\n 'tw-group tw-relative tw-mx-0 tw-px-2 tw-w-max tw-cursor-pointer tw-flex tw-items-center tw-justify-center tw-whitespace-nowrap',\n getTabButtonTextStyle(tab, activeItemId),\n FOCUS_VISIBLE_STYLE_INSET,\n size === TabSize.Small\n ? 'tw-h-12 tw-text-body-medium'\n : 'tw-h-14 tw-text-body-large',\n ])}\n key={tab.id}\n onClick={() => {\n if (!tab.disabled) {\n triggerTabButton(tab.id, false);\n setIsMenuOpened(false);\n }\n }}\n onKeyDown={(event) => handleKeyboardTabChange(event)}\n >\n {tab.decorator && <span className=\"tw-mr-1.5\">{tab.decorator}</span>}\n\n <span>{tab.label}</span>\n\n {tab.badge && (\n <span className=\"tw-ml-1.5\">\n <Badge disabled={tab.disabled} style={tab.badge.style}>\n {tab.badge.children}\n </Badge>\n </span>\n )}\n {tab.id === activeItemId && (\n <motion.div\n initial={false}\n layoutDependency={activeItemId}\n data-test-id=\"tab-active-highlight\"\n layoutId={groupId}\n className=\"tw-absolute tw-h-[3px] tw-bg-box-selected-strong tw-rounded-t-x-large tw-w-full tw-bottom-0\"\n />\n )}\n </button>\n );\n })}\n </div>\n {isOverflowing && (\n <div\n data-test-id=\"tab-overflow\"\n className=\"tw-z-50 tw-flex-grow tw-pl-3 tw-flex tw-justify-center tw-items-center\"\n >\n <button\n className={merge([\n 'tw-w-6 tw-h-6 tw-bg-box-neutral tw-rounded tw-flex tw-justify-center tw-items-center',\n isFocusVisible ? FOCUS_STYLE : '',\n ])}\n type=\"button\"\n onClick={() => {\n checkIfOverflowing();\n setIsMenuOpened(!isMenuOpened);\n }}\n onKeyDown={(event) => triggerOverflowMenu(event)}\n {...focusProps}\n >\n <IconDotsHorizontal />\n </button>\n {isMenuOpened && (\n <div\n className=\"tw-absolute tw-right-0 tw-top-11 tw-px-3 tw-pt-3 tw-bg-base tw-shadow tw-w-max\"\n role=\"dialog\"\n >\n {getOverflownTabs().map((tab) => {\n return (\n <button\n className={merge([\n 'tw-flex tw-items-center tw-w-full tw-mb-3 tw-text-left tw-text-text-weak',\n tab.disabled && 'tw-text-text-disabled',\n FOCUS_VISIBLE_STYLE,\n ])}\n key={tab.id}\n onClick={() => {\n if (!tab.disabled) {\n triggerTabButton(tab.id, true);\n setIsMenuOpened(false);\n }\n }}\n role=\"tab\"\n type=\"button\"\n aria-selected={tab.id === activeItemId}\n aria-controls={`${tab.id}-content`}\n aria-hidden={tab.disabled}\n tabIndex={!tab.disabled && isMenuOpened ? 0 : -1}\n id={`${tab.id}-btn-m`}\n onKeyDown={(event) => handleKeyboardTabChange(event)}\n >\n {tab.decorator}\n <span className=\"tw-mr-1 tw-ml-1.5\">{tab.label}</span>\n {tab.badge && (\n <Badge disabled={tab.disabled} style={tab.badge?.style}>\n {tab.badge?.children}\n </Badge>\n )}\n </button>\n );\n })}\n </div>\n )}\n </div>\n )}\n </div>\n\n <div data-test-id=\"tab-content\" className=\"tw-flex tw-flex-col tw-overflow-y-auto\">\n <div className=\"tw-mr-0\" style={{ maxHeight, minHeight }}>\n {Children.map(children, (child) => {\n if (!isValidElement(child)) {\n return null;\n }\n\n return cloneElement(child, { ...child.props, active: child.props.id === activeItemId });\n })}\n </div>\n </div>\n </>\n );\n};\nTabs.displayName = 'FondueTabs';\n"],"names":["TabSize","paddingMap","getTabButtonTextStyle","tab","activeItemId","Tabs","paddingX","size","children","onChange","maxHeight","minHeight","groupId","useMemoizedId","tabNavRef","useRef","isOverflowing","setIsOverflowing","useState","isMenuOpened","setIsMenuOpened","tabs","Children","child","isValidElement","overflowArray","setOverflowArray","checkIfOverflowing","useCallback","tabNav","overFlowIndex","tabItem","i","navPosition","tabPosition","overFlowIndexInAscOrder","a","b","getOverflownTabs","filterTabList","array","direction","activeItemIndex","index","handleKeyboardTabChange","event","overflownTabs","target","fromOverflow","currentTabId","currentTabsArray","nextTabs","previousTabs","triggerTabButton","elementId","tabElement","buttonElement","error","triggerOverflowMenu","useEffect","isFocusVisible","focusProps","useFocusRing","jsxs","Fragment","jsx","merge","FOCUS_VISIBLE_STYLE_INSET","Badge","motion","FOCUS_STYLE","IconDotsHorizontal","FOCUS_VISIBLE_STYLE","_a","_b","cloneElement"],"mappings":";;;;;;;;;AAuCO,IAAKA,sBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,QAAQ,SAFAA,IAAAA,KAAA,CAAA,CAAA;AAkBZ,MAAMC,IAA2C;AAAA,EAC5C,MAAoB;AAAA,EACpB,QAAsB;AAAA,EACtB,OAAqB;AAAA,EACrB,QAAsB;AAAA,EACtB,OAAqB;AAC1B,GAEMC,IAAwB,CAACC,GAAmBC,MAC1CD,EAAI,WACG,0BAGPA,EAAI,OAAOC,IACJ,gCAGJ,wCAMEC,KAAO,CAAC;AAAA,EACjB,UAAAC;AAAA,EACA,MAAAC;AAAA,EACA,cAAAH;AAAA,EACA,UAAAI;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,WAAAC;AACJ,MAA+B;AAC3B,QAAMC,IAAUC,EAAA,GACVC,IAAYC,EAA8B,IAAI,GAC9C,CAACC,GAAeC,CAAgB,IAAIC,EAAS,EAAK,GAClD,CAACC,GAAcC,CAAe,IAAIF,EAAS,EAAK,GAEhDG,IACFC,EAAS,IAAId,GAAU,CAACe,MACfC,EAA6BD,CAAK,IAGhCA,KAAA,gBAAAA,EAAO,QAFH,IAGd,KAAK,CAAA,GAEJ,CAACE,GAAeC,CAAgB,IAAIR,EAAS,CAAC,CAAC,CAAC,GAEhDS,IAAqBC,EAAY,MAAM;AACzC,UAAMC,IAASf,EAAU;AACzB,IAAAG,GAAkBY,KAAUA,EAAO,cAAcA,EAAO,gBAAgB,EAAK;AAC7E,UAAMC,IAAgB,CAAA;AACtB,QAAID,GAAQ;A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