@vkzstudio/muza-ui 1.0.48 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +173 -171
- package/dist/Muza_BP_logo.svg +26 -26
- package/dist/components/Alert/Alert.d.ts +3 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +28 -24
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.js +10 -11
- package/dist/components/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +30 -3
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.js +112 -92
- package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.d.ts +5 -0
- package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.js +216 -13
- package/dist/components/Input/Input.js +22 -32
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +1 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.js +70 -54
- package/dist/components/Lightbox/Lightbox.stories.d.ts +1 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/LightboxOverrides.css +5 -5
- package/dist/components/LoginScreen/LoginScreen.js +8 -8
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +10 -9
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +21 -22
- package/dist/components/LoginScreen/LoginScreenItem.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.stories.d.ts +1 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/components/Reorderable/Reorderable.js +74 -78
- package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
- package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
- package/dist/components/Select/Select.stories.d.ts +1 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.stories.d.ts +1 -0
- package/dist/components/Sheet/Sheet.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +37 -42
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TextEditor/LinkBubbleMenu.js +2 -2
- package/dist/components/TextEditor/TextEditor.js +5 -5
- package/dist/components/Toast/Toast.stories.d.ts +1 -0
- package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -1
- package/dist/fonts/Objectivity/OFL.txt +92 -92
- package/dist/globals.css +12 -12
- package/dist/index.js +194 -193
- package/dist/muza-ui.css +1 -1
- package/dist/styles/3rd-parties.css +5 -5
- package/dist/styles/animations.css +21 -21
- package/dist/styles/breakpoints.css +4 -4
- package/dist/styles/primitives.css +163 -163
- package/dist/styles/token-colors.css +1445 -1445
- package/dist/styles/token-sizes.css +1553 -1553
- package/dist/styles/typography.css +113 -113
- package/dist/styles/utilities.css +66 -66
- package/dist/styles/white-label.css +26 -26
- package/dist/translations/TranslationContext.js +22 -24
- package/dist/translations/locales/cs.d.ts.map +1 -1
- package/dist/translations/locales/cs.js +3 -0
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +3 -0
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +3 -0
- package/dist/translations/types.d.ts +8 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/llms-full.md +584 -584
- package/llms.txt +37 -37
- package/package.json +165 -171
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/constants.js +0 -5
- package/dist/_virtual/constants2.js +0 -4
- package/dist/_virtual/index.js +0 -7
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -7
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +0 -4
- package/dist/_virtual/react-dom-server.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server.browser.production.min.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-reconciler-constants.development.js +0 -4
- package/dist/_virtual/react-reconciler-constants.production.min.js +0 -4
- package/dist/_virtual/react-reconciler.development.js +0 -4
- package/dist/_virtual/scheduler.development.js +0 -4
- package/dist/_virtual/scheduler.production.min.js +0 -4
- package/dist/_virtual/server.browser.js +0 -5
- package/dist/_virtual/server.browser2.js +0 -4
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -122
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -18
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -23
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -37
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -32
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -17
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -35
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -18
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -20
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/enums.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -47
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -37
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -99
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -26
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -74
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -44
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/popper.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -33
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -15
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
- package/dist/node_modules/@react-three/drei/core/useAnimations.js +0 -34
- package/dist/node_modules/@react-three/drei/core/useGLTF.js +0 -18
- package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +0 -1311
- package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +0 -145
- package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +0 -47
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -2857
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -45
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -76
- package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +0 -129
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -54
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -136
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -56
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -36
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -59
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -75
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -272
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -53
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -64
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -709
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -30
- package/dist/node_modules/color/index.js +0 -262
- package/dist/node_modules/color/node_modules/color-convert/conversions.js +0 -421
- package/dist/node_modules/color/node_modules/color-convert/index.js +0 -35
- package/dist/node_modules/color/node_modules/color-convert/route.js +0 -46
- package/dist/node_modules/color/node_modules/color-name/index.js +0 -153
- package/dist/node_modules/color-string/index.js +0 -105
- package/dist/node_modules/color-string/node_modules/color-name/index.js +0 -153
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/constants.js +0 -4
- package/dist/node_modules/date-fns/constructFrom.js +0 -8
- package/dist/node_modules/date-fns/isSameWeek.js +0 -14
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
- package/dist/node_modules/date-fns/locale/cs/_lib/formatDistance.js +0 -275
- package/dist/node_modules/date-fns/locale/cs/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/cs/_lib/formatRelative.js +0 -25
- package/dist/node_modules/date-fns/locale/cs/_lib/localize.js +0 -167
- package/dist/node_modules/date-fns/locale/cs/_lib/match.js +0 -109
- package/dist/node_modules/date-fns/locale/cs.js +0 -21
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
- package/dist/node_modules/date-fns/locale/en-US.js +0 -21
- package/dist/node_modules/date-fns/locale/sk/_lib/formatDistance.js +0 -158
- package/dist/node_modules/date-fns/locale/sk/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/sk/_lib/formatRelative.js +0 -60
- package/dist/node_modules/date-fns/locale/sk/_lib/localize.js +0 -175
- package/dist/node_modules/date-fns/locale/sk/_lib/match.js +0 -111
- package/dist/node_modules/date-fns/locale/sk.js +0 -21
- package/dist/node_modules/date-fns/startOfWeek.js +0 -11
- package/dist/node_modules/date-fns/toDate.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +0 -128
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +0 -46
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +0 -64
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +0 -70
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -34
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
- package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
- package/dist/node_modules/imask/esm/controls/input.js +0 -222
- package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
- package/dist/node_modules/imask/esm/core/action-details.js +0 -51
- package/dist/node_modules/imask/esm/core/change-details.js +0 -36
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -42
- package/dist/node_modules/imask/esm/core/holder.js +0 -6
- package/dist/node_modules/imask/esm/core/utils.js +0 -67
- package/dist/node_modules/imask/esm/index.js +0 -50
- package/dist/node_modules/imask/esm/masked/base.js +0 -252
- package/dist/node_modules/imask/esm/masked/date.js +0 -117
- package/dist/node_modules/imask/esm/masked/dynamic.js +0 -222
- package/dist/node_modules/imask/esm/masked/enum.js +0 -69
- package/dist/node_modules/imask/esm/masked/factory.js +0 -46
- package/dist/node_modules/imask/esm/masked/function.js +0 -23
- package/dist/node_modules/imask/esm/masked/number.js +0 -212
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -103
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -100
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -102
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -133
- package/dist/node_modules/imask/esm/masked/pattern.js +0 -322
- package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
- package/dist/node_modules/imask/esm/masked/range.js +0 -78
- package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
- package/dist/node_modules/imask/esm/masked/repeat.js +0 -104
- package/dist/node_modules/its-fine/dist/index.js +0 -116
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -707
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +0 -76
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -108
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -218
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -20
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/wrap.js +0 -7
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/orderedmap/dist/index.js +0 -103
- package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +0 -2956
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -388
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -86
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -204
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -248
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -62
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -2733
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -88
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -822
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1520
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -3794
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -229
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -222
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3621
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1234
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3600
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1255
- package/dist/node_modules/react-dom/server.browser.js +0 -15
- package/dist/node_modules/react-imask/esm/hook.js +0 -75
- package/dist/node_modules/react-imask/esm/input.js +0 -23
- package/dist/node_modules/react-imask/esm/mixin.js +0 -131
- package/dist/node_modules/react-photoswipe-gallery/dist/context.js +0 -17
- package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +0 -216
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +0 -10
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +0 -4
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +0 -9
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +0 -39
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +0 -31
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +0 -8
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +0 -9
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +0 -37
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +0 -22
- package/dist/node_modules/react-photoswipe-gallery/dist/item.js +0 -54
- package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +0 -8
- package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +0 -14
- package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +0 -18
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -32
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -17
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -9139
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -3778
- package/dist/node_modules/react-reconciler/constants.js +0 -10
- package/dist/node_modules/react-reconciler/index.js +0 -10
- package/dist/node_modules/react-use-measure/dist/index.js +0 -60
- package/dist/node_modules/rope-sequence/dist/index.js +0 -100
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -277
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -213
- package/dist/node_modules/scheduler/index.js +0 -10
- package/dist/node_modules/three/build/three.module.js +0 -20599
- package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +0 -15
- package/dist/node_modules/three-stdlib/_polyfill/constants.js +0 -5
- package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +0 -201
- package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +0 -246
- package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +0 -1670
- package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +0 -34
- package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -813
- package/dist/node_modules/w3c-keyname/index.js +0 -93
- package/dist/node_modules/zustand/esm/index.js +0 -61
package/README.md
CHANGED
|
@@ -1,171 +1,173 @@
|
|
|
1
|
-
# Muza UI
|
|
2
|
-
|
|
3
|
-
A modern React component library built with Vite, shadcn/ui, and Tailwind CSS 4.
|
|
4
|
-
|
|
5
|
-
[View Figma Design System](https://www.figma.com/design/sJ4AkKQznNB0Cj6fHe8edN/M%C3%BAza--Design-system?node-id=9933-6089&m=dev)
|
|
6
|
-
|
|
7
|
-
## Prerequisites
|
|
8
|
-
|
|
9
|
-
- Node.js 22 or higher
|
|
10
|
-
- npm or yarn
|
|
11
|
-
|
|
12
|
-
## Quick Start
|
|
13
|
-
|
|
14
|
-
1. **Clone and install dependencies:**
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npm install
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. **Start development server:**
|
|
21
|
-
```bash
|
|
22
|
-
npm run dev
|
|
23
|
-
```
|
|
24
|
-
This starts Storybook at [http://localhost:6006](http://localhost:6006)
|
|
25
|
-
|
|
26
|
-
## Development
|
|
27
|
-
|
|
28
|
-
### Node.js Version Management
|
|
29
|
-
|
|
30
|
-
This project requires Node.js 22+. If you're using nvm:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
nvm use
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Available Scripts
|
|
37
|
-
|
|
38
|
-
| Script | Description |
|
|
39
|
-
| ---------------------------------- | ----------------------------------------------- |
|
|
40
|
-
| `npm run dev` | Start Storybook development server on port 6006 |
|
|
41
|
-
| `npm run build` | Build the component library for production |
|
|
42
|
-
| `npm run build-storybook` | Build Storybook for deployment |
|
|
43
|
-
| `npm run typecheck` | Run TypeScript type checking |
|
|
44
|
-
| `npm run lint` | Run ESLint |
|
|
45
|
-
| `npm run lint:fix` | Run ESLint with auto-fix |
|
|
46
|
-
| `npm run add-component <name>` | Add shadcn/ui component (macOS/Linux) |
|
|
47
|
-
| `npm run add-component:win <name>` | Add shadcn/ui component (Windows) |
|
|
48
|
-
| `npm run format` | Run Prettier |
|
|
49
|
-
| `npm run chromatic` | Run Chromatic visual regression tests |
|
|
50
|
-
|
|
51
|
-
### Project Structure
|
|
52
|
-
|
|
53
|
-
```
|
|
54
|
-
src/
|
|
55
|
-
├── components/ # React components
|
|
56
|
-
│ ├── Button/ # Example component
|
|
57
|
-
│ │ ├── Button.tsx
|
|
58
|
-
│ │ ├── Button.stories.tsx
|
|
59
|
-
│ │ └── index.ts
|
|
60
|
-
│ └── index.ts # Component exports
|
|
61
|
-
├── utils/ # Utility functions
|
|
62
|
-
│ ├── cn.ts # Class name utility
|
|
63
|
-
│ └── index.ts # Utility exports
|
|
64
|
-
├── globals.css # Global Tailwind styles
|
|
65
|
-
└── index.ts # Main library export
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Adding Components
|
|
69
|
-
|
|
70
|
-
For automated component installation using shadcn/ui, see: **[Component Installation Guide](docs/components.md)**
|
|
71
|
-
|
|
72
|
-
#### Manual Component Creation
|
|
73
|
-
|
|
74
|
-
1. **Create component directory:**
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
mkdir src/components/YourComponent
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
2. **Create component files:**
|
|
81
|
-
- `YourComponent.tsx` - Main component
|
|
82
|
-
- `YourComponent.stories.tsx` - Storybook stories
|
|
83
|
-
- `index.ts` - Export file
|
|
84
|
-
|
|
85
|
-
3. **Export from main index:**
|
|
86
|
-
Add to `src/components/index.ts`:
|
|
87
|
-
```typescript
|
|
88
|
-
export * from './YourComponent'
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### Storybook Development
|
|
92
|
-
|
|
93
|
-
Components are showcased and developed using Storybook:
|
|
94
|
-
|
|
95
|
-
- **View components:** `npm run dev` → [http://localhost:6006](http://localhost:6006)
|
|
96
|
-
- **Create stories:** Follow the pattern in `Button.stories.tsx`
|
|
97
|
-
- **Auto-docs:** Stories are automatically documented
|
|
98
|
-
|
|
99
|
-
## Build Process
|
|
100
|
-
|
|
101
|
-
### Library Build
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
npm run build
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
This creates:
|
|
108
|
-
|
|
109
|
-
- `dist/index.js` - ES module bundle
|
|
110
|
-
- `dist/index.d.ts` - TypeScript declarations
|
|
111
|
-
- `dist/muza-ui.css` - Compiled CSS with all design tokens
|
|
112
|
-
- `dist/components/` - Individual component modules
|
|
113
|
-
- `dist/styles/` - Design system token files
|
|
114
|
-
|
|
115
|
-
### Storybook Build
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
npm run build-storybook
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
Creates `storybook-static/` directory for deployment.
|
|
122
|
-
|
|
123
|
-
## Technologies
|
|
124
|
-
|
|
125
|
-
- **React 18** - UI framework
|
|
126
|
-
- **Vite** - Build tool and dev server
|
|
127
|
-
- **TypeScript** - Type safety
|
|
128
|
-
- **Tailwind CSS 4** - Utility-first CSS framework
|
|
129
|
-
- **shadcn/ui** - Component patterns and utilities
|
|
130
|
-
- **Storybook** - Component development and documentation
|
|
131
|
-
- **class-variance-authority** - Component variant management
|
|
132
|
-
|
|
133
|
-
## Library Usage
|
|
134
|
-
|
|
135
|
-
Install the package:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
npm install @vkzstudio/muza-ui
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
**
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
- **
|
|
164
|
-
- **
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
1
|
+
# Muza UI
|
|
2
|
+
|
|
3
|
+
A modern React component library built with Vite, shadcn/ui, and Tailwind CSS 4.
|
|
4
|
+
|
|
5
|
+
[View Figma Design System](https://www.figma.com/design/sJ4AkKQznNB0Cj6fHe8edN/M%C3%BAza--Design-system?node-id=9933-6089&m=dev)
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
- Node.js 22 or higher
|
|
10
|
+
- npm or yarn
|
|
11
|
+
|
|
12
|
+
## Quick Start
|
|
13
|
+
|
|
14
|
+
1. **Clone and install dependencies:**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2. **Start development server:**
|
|
21
|
+
```bash
|
|
22
|
+
npm run dev
|
|
23
|
+
```
|
|
24
|
+
This starts Storybook at [http://localhost:6006](http://localhost:6006)
|
|
25
|
+
|
|
26
|
+
## Development
|
|
27
|
+
|
|
28
|
+
### Node.js Version Management
|
|
29
|
+
|
|
30
|
+
This project requires Node.js 22+. If you're using nvm:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
nvm use
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Available Scripts
|
|
37
|
+
|
|
38
|
+
| Script | Description |
|
|
39
|
+
| ---------------------------------- | ----------------------------------------------- |
|
|
40
|
+
| `npm run dev` | Start Storybook development server on port 6006 |
|
|
41
|
+
| `npm run build` | Build the component library for production |
|
|
42
|
+
| `npm run build-storybook` | Build Storybook for deployment |
|
|
43
|
+
| `npm run typecheck` | Run TypeScript type checking |
|
|
44
|
+
| `npm run lint` | Run ESLint |
|
|
45
|
+
| `npm run lint:fix` | Run ESLint with auto-fix |
|
|
46
|
+
| `npm run add-component <name>` | Add shadcn/ui component (macOS/Linux) |
|
|
47
|
+
| `npm run add-component:win <name>` | Add shadcn/ui component (Windows) |
|
|
48
|
+
| `npm run format` | Run Prettier |
|
|
49
|
+
| `npm run chromatic` | Run Chromatic visual regression tests |
|
|
50
|
+
|
|
51
|
+
### Project Structure
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
src/
|
|
55
|
+
├── components/ # React components
|
|
56
|
+
│ ├── Button/ # Example component
|
|
57
|
+
│ │ ├── Button.tsx
|
|
58
|
+
│ │ ├── Button.stories.tsx
|
|
59
|
+
│ │ └── index.ts
|
|
60
|
+
│ └── index.ts # Component exports
|
|
61
|
+
├── utils/ # Utility functions
|
|
62
|
+
│ ├── cn.ts # Class name utility
|
|
63
|
+
│ └── index.ts # Utility exports
|
|
64
|
+
├── globals.css # Global Tailwind styles
|
|
65
|
+
└── index.ts # Main library export
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Adding Components
|
|
69
|
+
|
|
70
|
+
For automated component installation using shadcn/ui, see: **[Component Installation Guide](docs/components.md)**
|
|
71
|
+
|
|
72
|
+
#### Manual Component Creation
|
|
73
|
+
|
|
74
|
+
1. **Create component directory:**
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
mkdir src/components/YourComponent
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
2. **Create component files:**
|
|
81
|
+
- `YourComponent.tsx` - Main component
|
|
82
|
+
- `YourComponent.stories.tsx` - Storybook stories
|
|
83
|
+
- `index.ts` - Export file
|
|
84
|
+
|
|
85
|
+
3. **Export from main index:**
|
|
86
|
+
Add to `src/components/index.ts`:
|
|
87
|
+
```typescript
|
|
88
|
+
export * from './YourComponent'
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Storybook Development
|
|
92
|
+
|
|
93
|
+
Components are showcased and developed using Storybook:
|
|
94
|
+
|
|
95
|
+
- **View components:** `npm run dev` → [http://localhost:6006](http://localhost:6006)
|
|
96
|
+
- **Create stories:** Follow the pattern in `Button.stories.tsx`
|
|
97
|
+
- **Auto-docs:** Stories are automatically documented
|
|
98
|
+
|
|
99
|
+
## Build Process
|
|
100
|
+
|
|
101
|
+
### Library Build
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
npm run build
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
This creates:
|
|
108
|
+
|
|
109
|
+
- `dist/index.js` - ES module bundle
|
|
110
|
+
- `dist/index.d.ts` - TypeScript declarations
|
|
111
|
+
- `dist/muza-ui.css` - Compiled CSS with all design tokens
|
|
112
|
+
- `dist/components/` - Individual component modules
|
|
113
|
+
- `dist/styles/` - Design system token files
|
|
114
|
+
|
|
115
|
+
### Storybook Build
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
npm run build-storybook
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Creates `storybook-static/` directory for deployment.
|
|
122
|
+
|
|
123
|
+
## Technologies
|
|
124
|
+
|
|
125
|
+
- **React 18** - UI framework
|
|
126
|
+
- **Vite** - Build tool and dev server
|
|
127
|
+
- **TypeScript** - Type safety
|
|
128
|
+
- **Tailwind CSS 4** - Utility-first CSS framework
|
|
129
|
+
- **shadcn/ui** - Component patterns and utilities
|
|
130
|
+
- **Storybook** - Component development and documentation
|
|
131
|
+
- **class-variance-authority** - Component variant management
|
|
132
|
+
|
|
133
|
+
## Library Usage
|
|
134
|
+
|
|
135
|
+
Install the package:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npm install @vkzstudio/muza-ui
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
> ⚠️ **Pin with tilde, not caret.** muza-ui uses a non-standard version scheme where **breaking changes ship in the minor (`y`) position**, not the major (`x`). Use `"~1.1.0"` so breaking releases don't auto-install; `"^1.1.0"` (caret) will silently pull in breaking changes. If you use Renovate/Dependabot, don't auto-merge minor updates of this package. See [docs/releasing.md](./docs/releasing.md).
|
|
142
|
+
|
|
143
|
+
**Important:** This library requires Tailwind CSS 4 to be configured in your project.
|
|
144
|
+
|
|
145
|
+
```typescript
|
|
146
|
+
import { Button } from '@vkzstudio/muza-ui'
|
|
147
|
+
import '@vkzstudio/muza-ui/styles'
|
|
148
|
+
|
|
149
|
+
function App() {
|
|
150
|
+
return <Button variant="primary">Click me</Button>
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Styling
|
|
155
|
+
|
|
156
|
+
- Uses Tailwind CSS 4 with CSS variables
|
|
157
|
+
- Follows shadcn/ui design system patterns
|
|
158
|
+
- Custom utility function `cn()` for class merging
|
|
159
|
+
- Dark mode support built-in
|
|
160
|
+
|
|
161
|
+
## Quality Assurance
|
|
162
|
+
|
|
163
|
+
- **TypeScript** - Static type checking
|
|
164
|
+
- **ESLint** - Code linting
|
|
165
|
+
- **Prettier** - Code formatting
|
|
166
|
+
- **Storybook** - Visual testing and documentation
|
|
167
|
+
|
|
168
|
+
## Contributing
|
|
169
|
+
|
|
170
|
+
1. Create components following the established patterns
|
|
171
|
+
2. Include comprehensive Storybook stories
|
|
172
|
+
3. Run type checking and linting before committing
|
|
173
|
+
4. Test components in Storybook
|
package/dist/Muza_BP_logo.svg
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
<svg width="100" height="36" viewBox="0 0 771 277" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M754.1 80.0004V91.9004C744.8 83.2004 732.4 77.9004 718.7 77.9004C690 77.9004 666.6 101.3 666.6 130C666.6 158.7 690 182.1 718.7 182.1C732.4 182.1 744.8 176.8 754.1 168.1V180H770.8V80.0004H754.1ZM718.7 165.4C699.2 165.4 683.3 149.5 683.3 130C683.3 110.5 699.2 94.6004 718.7 94.6004C738.2 94.6004 754.1 110.5 754.1 130C754.1 149.5 738.2 165.4 718.7 165.4Z" fill="white"/>
|
|
3
|
-
<path d="M519 132.1C519 150.5 504 165.4 485.7 165.4C467.4 165.4 452.4 150.4 452.4 132.1V103.7H435.7V132.1C435.7 159.7 458.1 182.1 485.7 182.1C513.3 182.1 535.7 159.7 535.7 132.1V86.4004H519V132.1Z" fill="white"/>
|
|
4
|
-
<path d="M363.3 77.9004C345.9 77.9004 330.6 86.8004 321.6 100.3C312.6 86.8004 297.3 77.9004 279.9 77.9004C267.1 77.9004 255.4 82.8004 246.6 90.7004V80.0004H230V180H246.7V127.9C246.7 109.5 261.7 94.6004 280 94.6004C298.3 94.6004 313.3 109.6 313.3 127.9V180H330V127.9C330 109.5 345 94.6004 363.3 94.6004C381.7 94.6004 396.6 109.6 396.6 127.9V180H413.3V127.9C413.3 100.3 390.9 77.9004 363.3 77.9004Z" fill="white"/>
|
|
5
|
-
<path d="M533.205 49.9889L435.315 67.2646L438.218 83.7108L536.107 66.4351L533.205 49.9889Z" fill="white"/>
|
|
6
|
-
<path d="M639.5 80H557.9V96.7H636.6C634.6 100.9 631.2 104.7 626.7 107.4L575 138.4C562.6 145.9 555.1 158.3 555.1 171.7V180H563.4H573H652.3V163.3H573.6C575.6 159.1 579 155.3 583.5 152.6L635.2 121.6C647.6 114.1 655.1 101.7 655.1 88.3V80H646.8H639.5Z" fill="white"/>
|
|
7
|
-
<path d="M178.6 93.6004L137.4 100.9C149.9 97.3004 161.8 91.5004 172.7 83.8004L152.1 54.7004C134 67.6004 112 72.5004 90.1 68.7004C68.2 64.8004 49.2 52.7004 36.6 34.4004L7.3 54.5004C25.4 80.7004 52.6 98.2004 83.9 103.7C90.8 104.9 97.8 105.5 104.7 105.5C107.2 105.5 109.7 105.4 112.3 105.2L0 125.1C8.7 174.4 55.7 207.4 105.1 198.7C154.4 189.9 187.3 142.9 178.6 93.6004Z" fill="white"/>
|
|
8
|
-
<path d="M79.6001 50C93.4072 50 104.6 38.8071 104.6 25C104.6 11.1929 93.4072 0 79.6001 0C65.793 0 54.6001 11.1929 54.6001 25C54.6001 38.8071 65.793 50 79.6001 50Z" fill="white"/>
|
|
9
|
-
<path d="M265.1 258.9C265.1 269.2 257.8 276.3 247.5 276.3C237.1 276.3 229.9 269.1 229.9 258.9C229.9 248.6 237.1 241.5 247.5 241.5C257.9 241.4 265.1 248.6 265.1 258.9ZM258.3 258.9C258.3 252.3 253.8 247.6 247.6 247.6C241.4 247.6 237 252.3 237 258.9C237 265.5 241.4 270.2 247.6 270.2C253.7 270.1 258.3 265.4 258.3 258.9Z" fill="white"/>
|
|
10
|
-
<path d="M286.2 241.4C291 241.4 295.2 243.5 297.9 247.1V228.1H304.8V275.1H298.1V270.6C295.3 274.2 291.2 276.4 286.2 276.4C276.8 276.4 270 269.1 270 259C269.9 248.8 276.7 241.4 286.2 241.4ZM276.8 258.9C276.8 265.3 281.4 269.9 287.5 269.9C293.7 269.9 298.1 265.3 298.1 258.9C298.1 252.6 293.6 247.9 287.5 247.9C281.3 247.9 276.8 252.6 276.8 258.9Z" fill="white"/>
|
|
11
|
-
<path d="M332.3 275V230H352.7C361.4 230 367.6 235.1 367.6 242.1C367.6 246.5 364.8 250.3 360.9 251.4C365.5 252.5 368.9 257 368.9 262.2C368.9 269.7 362.3 275.1 353 275.1H332.3V275ZM340 236.3V248.5H351.6C356.5 248.5 359.9 246 359.9 242.5C359.9 238.9 356.5 236.4 351.6 236.4H340V236.3ZM351.7 254.4H340V268.7H351.7C357.2 268.7 361.2 265.6 361.2 261.5C361.2 257.4 357.2 254.4 351.7 254.4Z" fill="white"/>
|
|
12
|
-
<path d="M392.3 241.4C402.4 241.4 409.5 248.5 409.5 258.5C409.5 259.3 409.4 260.2 409.4 261L382.1 260.9C382.9 266.6 386.9 270.5 392.2 270.5C396.5 270.5 400.5 268 401.8 264.4L408.3 265.4C406.5 271.8 399.8 276.4 392.4 276.4C382.3 276.4 375 268.9 375 258.6C374.9 248.6 382.2 241.4 392.3 241.4ZM402.2 255.9C401.4 250.8 397.4 247.2 392 247.2C386.8 247.2 383 250.7 382.1 255.9H402.2Z" fill="white"/>
|
|
13
|
-
<path d="M422.6 242.7V246.8C424.9 243.4 428.9 241.4 433.1 241.4C441 241.4 446.2 247.3 446.2 255.3V275H439.3V255.8C439.3 251 436.4 247.6 431.6 247.6C426.8 247.6 422.7 251.3 422.7 256.5V275H415.8V242.7H422.6Z" fill="white"/>
|
|
14
|
-
<path d="M469.2 241.4C479.3 241.4 486.4 248.5 486.4 258.5C486.4 259.3 486.3 260.2 486.3 261L459 260.9C459.8 266.6 463.8 270.5 469.1 270.5C473.4 270.5 477.4 268 478.7 264.4L485.2 265.4C483.4 271.8 476.7 276.4 469.3 276.4C459.2 276.4 451.9 268.9 451.9 258.6C451.9 248.6 459.2 241.4 469.2 241.4ZM479.2 255.9C478.4 250.8 474.4 247.2 469 247.2C463.8 247.2 460 250.7 459.1 255.9H479.2Z" fill="white"/>
|
|
15
|
-
<path d="M503.1 242.7H510.9V248.1H503.1V275H496.2V248.1H491.2V242.7H496.2V237.2C496.2 231 500 226.8 505.5 226.8C507.5 226.8 509.3 227.1 510.9 227.7V233.5C509.8 233.2 508.8 233 507.6 233C504.9 233 503.1 234.9 503.1 237.8V242.7Z" fill="white"/>
|
|
16
|
-
<path d="M516.7 233.2C516.7 230.8 518.5 229.1 521 229.1C523.5 229.1 525.3 230.8 525.3 233.2C525.3 235.7 523.5 237.5 521 237.5C518.5 237.5 516.7 235.7 516.7 233.2ZM524.4 242.7V275H517.5V242.7H524.4Z" fill="white"/>
|
|
17
|
-
<path d="M536 248.1H531V242.7H536.3L537.2 234.9H542.9V242.7H550.8V248.1H542.9V265.5C542.9 268.4 544.7 270.5 547.6 270.5C548.5 270.5 550 270.3 551.2 269.9V275.4C549.5 276 547.3 276.3 545.5 276.3C539.7 276.3 535.9 272.1 535.9 265.9V248.1H536Z" fill="white"/>
|
|
18
|
-
<path d="M584.6 261.3V275H577.2V230H594.6C605.2 230 612.7 236.6 612.7 245.7C612.7 254.8 605.1 261.4 594.5 261.4H584.6V261.3ZM584.6 236.3V255H593.4C600.3 255 605.2 251.1 605.2 245.7C605.2 240.2 600.3 236.3 593.4 236.3H584.6Z" fill="white"/>
|
|
19
|
-
<path d="M626 228.1V275.1H619.1V228.1H626Z" fill="white"/>
|
|
20
|
-
<path d="M656.8 275V270.9C654.6 274.3 650.5 276.3 646.4 276.3C638.4 276.3 633.3 270.4 633.3 262.4V242.7H640.2V261.9C640.2 266.7 643 270.1 647.9 270.1C652.7 270.1 656.8 266.4 656.8 261.2V242.6H663.7V275H656.8Z" fill="white"/>
|
|
21
|
-
<path d="M685.2 276.4C676.7 276.4 670.5 271.2 670.5 264.1H676.9C676.9 267.9 680.4 270.7 685.2 270.7C689.5 270.7 692.7 268.7 692.6 266.1C692.6 262.7 687.6 261.9 684.3 261.5C676.7 260.4 671 259.4 671 251.7C671 245.8 676.7 241.4 684 241.4C692.3 241.4 698.5 246 698.5 252.5H692.1C692 249.3 688.7 247.1 684 247.1C680.5 247.1 677.6 249 677.6 251.6C677.6 254 680 254.8 685.2 255.7C691.4 256.7 699.3 258.1 699.3 265.4C699.3 271.7 693.5 276.4 685.2 276.4Z" fill="white"/>
|
|
22
|
-
</svg>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
<svg width="100" height="36" viewBox="0 0 771 277" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M754.1 80.0004V91.9004C744.8 83.2004 732.4 77.9004 718.7 77.9004C690 77.9004 666.6 101.3 666.6 130C666.6 158.7 690 182.1 718.7 182.1C732.4 182.1 744.8 176.8 754.1 168.1V180H770.8V80.0004H754.1ZM718.7 165.4C699.2 165.4 683.3 149.5 683.3 130C683.3 110.5 699.2 94.6004 718.7 94.6004C738.2 94.6004 754.1 110.5 754.1 130C754.1 149.5 738.2 165.4 718.7 165.4Z" fill="white"/>
|
|
3
|
+
<path d="M519 132.1C519 150.5 504 165.4 485.7 165.4C467.4 165.4 452.4 150.4 452.4 132.1V103.7H435.7V132.1C435.7 159.7 458.1 182.1 485.7 182.1C513.3 182.1 535.7 159.7 535.7 132.1V86.4004H519V132.1Z" fill="white"/>
|
|
4
|
+
<path d="M363.3 77.9004C345.9 77.9004 330.6 86.8004 321.6 100.3C312.6 86.8004 297.3 77.9004 279.9 77.9004C267.1 77.9004 255.4 82.8004 246.6 90.7004V80.0004H230V180H246.7V127.9C246.7 109.5 261.7 94.6004 280 94.6004C298.3 94.6004 313.3 109.6 313.3 127.9V180H330V127.9C330 109.5 345 94.6004 363.3 94.6004C381.7 94.6004 396.6 109.6 396.6 127.9V180H413.3V127.9C413.3 100.3 390.9 77.9004 363.3 77.9004Z" fill="white"/>
|
|
5
|
+
<path d="M533.205 49.9889L435.315 67.2646L438.218 83.7108L536.107 66.4351L533.205 49.9889Z" fill="white"/>
|
|
6
|
+
<path d="M639.5 80H557.9V96.7H636.6C634.6 100.9 631.2 104.7 626.7 107.4L575 138.4C562.6 145.9 555.1 158.3 555.1 171.7V180H563.4H573H652.3V163.3H573.6C575.6 159.1 579 155.3 583.5 152.6L635.2 121.6C647.6 114.1 655.1 101.7 655.1 88.3V80H646.8H639.5Z" fill="white"/>
|
|
7
|
+
<path d="M178.6 93.6004L137.4 100.9C149.9 97.3004 161.8 91.5004 172.7 83.8004L152.1 54.7004C134 67.6004 112 72.5004 90.1 68.7004C68.2 64.8004 49.2 52.7004 36.6 34.4004L7.3 54.5004C25.4 80.7004 52.6 98.2004 83.9 103.7C90.8 104.9 97.8 105.5 104.7 105.5C107.2 105.5 109.7 105.4 112.3 105.2L0 125.1C8.7 174.4 55.7 207.4 105.1 198.7C154.4 189.9 187.3 142.9 178.6 93.6004Z" fill="white"/>
|
|
8
|
+
<path d="M79.6001 50C93.4072 50 104.6 38.8071 104.6 25C104.6 11.1929 93.4072 0 79.6001 0C65.793 0 54.6001 11.1929 54.6001 25C54.6001 38.8071 65.793 50 79.6001 50Z" fill="white"/>
|
|
9
|
+
<path d="M265.1 258.9C265.1 269.2 257.8 276.3 247.5 276.3C237.1 276.3 229.9 269.1 229.9 258.9C229.9 248.6 237.1 241.5 247.5 241.5C257.9 241.4 265.1 248.6 265.1 258.9ZM258.3 258.9C258.3 252.3 253.8 247.6 247.6 247.6C241.4 247.6 237 252.3 237 258.9C237 265.5 241.4 270.2 247.6 270.2C253.7 270.1 258.3 265.4 258.3 258.9Z" fill="white"/>
|
|
10
|
+
<path d="M286.2 241.4C291 241.4 295.2 243.5 297.9 247.1V228.1H304.8V275.1H298.1V270.6C295.3 274.2 291.2 276.4 286.2 276.4C276.8 276.4 270 269.1 270 259C269.9 248.8 276.7 241.4 286.2 241.4ZM276.8 258.9C276.8 265.3 281.4 269.9 287.5 269.9C293.7 269.9 298.1 265.3 298.1 258.9C298.1 252.6 293.6 247.9 287.5 247.9C281.3 247.9 276.8 252.6 276.8 258.9Z" fill="white"/>
|
|
11
|
+
<path d="M332.3 275V230H352.7C361.4 230 367.6 235.1 367.6 242.1C367.6 246.5 364.8 250.3 360.9 251.4C365.5 252.5 368.9 257 368.9 262.2C368.9 269.7 362.3 275.1 353 275.1H332.3V275ZM340 236.3V248.5H351.6C356.5 248.5 359.9 246 359.9 242.5C359.9 238.9 356.5 236.4 351.6 236.4H340V236.3ZM351.7 254.4H340V268.7H351.7C357.2 268.7 361.2 265.6 361.2 261.5C361.2 257.4 357.2 254.4 351.7 254.4Z" fill="white"/>
|
|
12
|
+
<path d="M392.3 241.4C402.4 241.4 409.5 248.5 409.5 258.5C409.5 259.3 409.4 260.2 409.4 261L382.1 260.9C382.9 266.6 386.9 270.5 392.2 270.5C396.5 270.5 400.5 268 401.8 264.4L408.3 265.4C406.5 271.8 399.8 276.4 392.4 276.4C382.3 276.4 375 268.9 375 258.6C374.9 248.6 382.2 241.4 392.3 241.4ZM402.2 255.9C401.4 250.8 397.4 247.2 392 247.2C386.8 247.2 383 250.7 382.1 255.9H402.2Z" fill="white"/>
|
|
13
|
+
<path d="M422.6 242.7V246.8C424.9 243.4 428.9 241.4 433.1 241.4C441 241.4 446.2 247.3 446.2 255.3V275H439.3V255.8C439.3 251 436.4 247.6 431.6 247.6C426.8 247.6 422.7 251.3 422.7 256.5V275H415.8V242.7H422.6Z" fill="white"/>
|
|
14
|
+
<path d="M469.2 241.4C479.3 241.4 486.4 248.5 486.4 258.5C486.4 259.3 486.3 260.2 486.3 261L459 260.9C459.8 266.6 463.8 270.5 469.1 270.5C473.4 270.5 477.4 268 478.7 264.4L485.2 265.4C483.4 271.8 476.7 276.4 469.3 276.4C459.2 276.4 451.9 268.9 451.9 258.6C451.9 248.6 459.2 241.4 469.2 241.4ZM479.2 255.9C478.4 250.8 474.4 247.2 469 247.2C463.8 247.2 460 250.7 459.1 255.9H479.2Z" fill="white"/>
|
|
15
|
+
<path d="M503.1 242.7H510.9V248.1H503.1V275H496.2V248.1H491.2V242.7H496.2V237.2C496.2 231 500 226.8 505.5 226.8C507.5 226.8 509.3 227.1 510.9 227.7V233.5C509.8 233.2 508.8 233 507.6 233C504.9 233 503.1 234.9 503.1 237.8V242.7Z" fill="white"/>
|
|
16
|
+
<path d="M516.7 233.2C516.7 230.8 518.5 229.1 521 229.1C523.5 229.1 525.3 230.8 525.3 233.2C525.3 235.7 523.5 237.5 521 237.5C518.5 237.5 516.7 235.7 516.7 233.2ZM524.4 242.7V275H517.5V242.7H524.4Z" fill="white"/>
|
|
17
|
+
<path d="M536 248.1H531V242.7H536.3L537.2 234.9H542.9V242.7H550.8V248.1H542.9V265.5C542.9 268.4 544.7 270.5 547.6 270.5C548.5 270.5 550 270.3 551.2 269.9V275.4C549.5 276 547.3 276.3 545.5 276.3C539.7 276.3 535.9 272.1 535.9 265.9V248.1H536Z" fill="white"/>
|
|
18
|
+
<path d="M584.6 261.3V275H577.2V230H594.6C605.2 230 612.7 236.6 612.7 245.7C612.7 254.8 605.1 261.4 594.5 261.4H584.6V261.3ZM584.6 236.3V255H593.4C600.3 255 605.2 251.1 605.2 245.7C605.2 240.2 600.3 236.3 593.4 236.3H584.6Z" fill="white"/>
|
|
19
|
+
<path d="M626 228.1V275.1H619.1V228.1H626Z" fill="white"/>
|
|
20
|
+
<path d="M656.8 275V270.9C654.6 274.3 650.5 276.3 646.4 276.3C638.4 276.3 633.3 270.4 633.3 262.4V242.7H640.2V261.9C640.2 266.7 643 270.1 647.9 270.1C652.7 270.1 656.8 266.4 656.8 261.2V242.6H663.7V275H656.8Z" fill="white"/>
|
|
21
|
+
<path d="M685.2 276.4C676.7 276.4 670.5 271.2 670.5 264.1H676.9C676.9 267.9 680.4 270.7 685.2 270.7C689.5 270.7 692.7 268.7 692.6 266.1C692.6 262.7 687.6 261.9 684.3 261.5C676.7 260.4 671 259.4 671 251.7C671 245.8 676.7 241.4 684 241.4C692.3 241.4 698.5 246 698.5 252.5H692.1C692 249.3 688.7 247.1 684 247.1C680.5 247.1 677.6 249 677.6 251.6C677.6 254 680 254.8 685.2 255.7C691.4 256.7 699.3 258.1 699.3 265.4C699.3 271.7 693.5 276.4 685.2 276.4Z" fill="white"/>
|
|
22
|
+
</svg>
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
@@ -20,7 +20,9 @@ export interface AlertProps extends React.ComponentProps<'div'>, Omit<VariantPro
|
|
|
20
20
|
textWeight?: 'regular' | 'medium';
|
|
21
21
|
/** Fires after the alert is dismissed and fade-out animation completes. */
|
|
22
22
|
onClose?: () => void;
|
|
23
|
+
/** Accessible label for the close button. Defaults to translation `alert.closeAriaLabel`. */
|
|
24
|
+
closeAriaLabel?: string;
|
|
23
25
|
}
|
|
24
|
-
declare const Alert: ({ className, type, size, textWeight, isClosable, children, onClose, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
declare const Alert: ({ className, type, size, textWeight, isClosable, children, onClose, closeAriaLabel, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
25
27
|
export { Alert };
|
|
26
28
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AAMjE,QAAA,MAAM,aAAa;;;8EAiBjB,CAAA;AAEF;;;;GAIG;AACH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EACjC,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3D,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IAC/C,uDAAuD;IACvD,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IACxB,8FAA8F;IAC9F,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,gEAAgE;IAChE,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IACjC,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,KAAK,GAAI,gGAUZ,UAAU,mDAyDZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "react";
|
|
3
|
-
import { cva as
|
|
4
|
-
import { XClose as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
3
|
+
import { cva as v } from "class-variance-authority";
|
|
4
|
+
import { XClose as w } from "../Icons/CustomIcons.js";
|
|
5
|
+
import { useMuzaTranslationContext as z } from "../../translations/TranslationContext.js";
|
|
6
|
+
import { cn as T } from "../../utils/cn.js";
|
|
7
|
+
import { Typography as N } from "../Typography/Typography.js";
|
|
8
|
+
const V = v(["rounded-2xl"], {
|
|
8
9
|
variants: {
|
|
9
10
|
type: {
|
|
10
11
|
info: "bg-comp-alert-bg-info text-comp-alert-text-info",
|
|
@@ -21,42 +22,43 @@ const w = b(["rounded-2xl"], {
|
|
|
21
22
|
type: "info",
|
|
22
23
|
size: "large"
|
|
23
24
|
}
|
|
24
|
-
}),
|
|
25
|
+
}), C = ({
|
|
25
26
|
className: s,
|
|
26
|
-
type:
|
|
27
|
+
type: l,
|
|
27
28
|
size: t,
|
|
28
|
-
textWeight:
|
|
29
|
+
textWeight: i = "regular",
|
|
29
30
|
isClosable: n,
|
|
30
31
|
children: c,
|
|
31
32
|
onClose: e,
|
|
32
|
-
|
|
33
|
+
closeAriaLabel: p,
|
|
34
|
+
...m
|
|
33
35
|
}) => {
|
|
34
|
-
const [
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
a && (
|
|
36
|
+
const { translations: u } = z(), g = p ?? u.alert.closeAriaLabel, [f, x] = o.useState(!0), [a, b] = o.useState(!1), d = () => {
|
|
37
|
+
b(!0);
|
|
38
|
+
}, y = () => {
|
|
39
|
+
a && (x(!1), e == null || e());
|
|
38
40
|
};
|
|
39
|
-
return
|
|
41
|
+
return f ? /* @__PURE__ */ h(
|
|
40
42
|
"div",
|
|
41
43
|
{
|
|
42
44
|
"data-slot": "alert",
|
|
43
45
|
role: "alert",
|
|
44
|
-
className:
|
|
45
|
-
|
|
46
|
+
className: T(
|
|
47
|
+
V({ type: l, size: t }),
|
|
46
48
|
s,
|
|
47
49
|
"flex w-fit items-center gap-sm",
|
|
48
50
|
a ? "opacity-0 transition-opacity duration-300" : "opacity-100"
|
|
49
51
|
),
|
|
50
|
-
onTransitionEnd:
|
|
51
|
-
...
|
|
52
|
+
onTransitionEnd: y,
|
|
53
|
+
...m,
|
|
52
54
|
children: [
|
|
53
55
|
/* @__PURE__ */ r(
|
|
54
|
-
|
|
56
|
+
N,
|
|
55
57
|
{
|
|
56
58
|
component: "span",
|
|
57
59
|
variant: "body",
|
|
58
60
|
size: t === "large" ? "base" : "sm",
|
|
59
|
-
weight:
|
|
61
|
+
weight: i,
|
|
60
62
|
fixY: !0,
|
|
61
63
|
children: c
|
|
62
64
|
}
|
|
@@ -64,10 +66,12 @@ const w = b(["rounded-2xl"], {
|
|
|
64
66
|
n && /* @__PURE__ */ r(
|
|
65
67
|
"button",
|
|
66
68
|
{
|
|
67
|
-
|
|
69
|
+
type: "button",
|
|
70
|
+
onClick: d,
|
|
71
|
+
"aria-label": g,
|
|
68
72
|
className: "cursor-pointer focus-visible-auto",
|
|
69
73
|
children: /* @__PURE__ */ r(
|
|
70
|
-
|
|
74
|
+
w,
|
|
71
75
|
{
|
|
72
76
|
className: t === "large" ? "size-icon-medium" : "size-icon-small"
|
|
73
77
|
}
|
|
@@ -79,5 +83,5 @@ const w = b(["rounded-2xl"], {
|
|
|
79
83
|
) : null;
|
|
80
84
|
};
|
|
81
85
|
export {
|
|
82
|
-
|
|
86
|
+
C as Alert
|
|
83
87
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAW3D,OAAO,EAAE,MAAM,EAAoB,MAAM,UAAU,CAAA;AAoBnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAqF7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAoCtB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAyCzB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAkDtB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAmF/B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KA8D1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAgB5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAgB3B,CAAA;AAcD,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAW3D,OAAO,EAAE,MAAM,EAAoB,MAAM,UAAU,CAAA;AAoBnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAqF7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAoCtB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAyCzB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAkDtB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAmF/B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KA8D1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAgB5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAgB3B,CAAA;AAcD,eAAO,MAAM,gBAAgB,EAAE,KAqL9B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAgC/B,CAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as W from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { getDefaultClassNames as F, DayPicker as J } from "react-day-picker";
|
|
4
|
+
import { formatDate as K } from "./utils/formatDate.js";
|
|
5
|
+
import { formatDateRange as P } from "./utils/formatDateRange.js";
|
|
6
|
+
import { useMuzaTranslationContext as Q } from "../../translations/TranslationContext.js";
|
|
6
7
|
import { Button as Y } from "../Button/Button.js";
|
|
7
|
-
import { getDefaultClassNames as F } from "../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js";
|
|
8
|
-
import { DayPicker as Q } from "../../node_modules/react-day-picker/dist/esm/DayPicker.js";
|
|
9
8
|
import { cn as e } from "../../utils/cn.js";
|
|
10
9
|
import { Typography as x, typographyVariants as v } from "../Typography/Typography.js";
|
|
11
10
|
import { AltArrowLeftOutline as U, AltArrowRightOutline as X, AltArrowDownOutline as Z } from "@solar-icons/react-perf";
|
|
12
|
-
const
|
|
11
|
+
const se = ({
|
|
13
12
|
leftPanelChildren: m,
|
|
14
13
|
defaultMonth: f,
|
|
15
14
|
numberOfMonths: n,
|
|
@@ -23,8 +22,8 @@ const le = ({
|
|
|
23
22
|
renderResetButton: t,
|
|
24
23
|
renderConfirmButton: g,
|
|
25
24
|
bottomTextDefault: a,
|
|
26
|
-
dateFormatter: o =
|
|
27
|
-
dateRangeFormatter: s =
|
|
25
|
+
dateFormatter: o = K,
|
|
26
|
+
dateRangeFormatter: s = P,
|
|
28
27
|
disabledDates: h,
|
|
29
28
|
weekStartsOn: _ = 1,
|
|
30
29
|
excludeDisabled: G,
|
|
@@ -41,7 +40,7 @@ const le = ({
|
|
|
41
40
|
min: V,
|
|
42
41
|
required: S = !0
|
|
43
42
|
}) => {
|
|
44
|
-
const { translations: w, dateFnsLocale: R } =
|
|
43
|
+
const { translations: w, dateFnsLocale: R } = Q(), q = u ?? w.calendar.resetButton, H = y ?? w.calendar.confirmButton, I = a ?? w.calendar.bottomTextDefault;
|
|
45
44
|
return /* @__PURE__ */ p("div", { className: "flex", children: [
|
|
46
45
|
m && /* @__PURE__ */ r("div", { className: "flex flex-col border-r border-stroke-base-primary py-sm", children: m }),
|
|
47
46
|
/* @__PURE__ */ p(
|
|
@@ -153,7 +152,7 @@ const le = ({
|
|
|
153
152
|
}) => {
|
|
154
153
|
const t = F(), g = (l == null ? void 0 : l.code) ?? "default";
|
|
155
154
|
return /* @__PURE__ */ r(
|
|
156
|
-
|
|
155
|
+
J,
|
|
157
156
|
{
|
|
158
157
|
showOutsideDays: n,
|
|
159
158
|
locale: l,
|
|
@@ -427,7 +426,7 @@ const le = ({
|
|
|
427
426
|
);
|
|
428
427
|
};
|
|
429
428
|
export {
|
|
430
|
-
|
|
429
|
+
se as Calendar,
|
|
431
430
|
E as CalendarBase,
|
|
432
431
|
$ as CalendarDayButton
|
|
433
432
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA4E3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA4E3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AA8BlC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAgBpB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAuBxB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAgB7B,CAAA"}
|