@vkzstudio/muza-ui 1.0.48 → 1.2.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.d.ts +11 -1
- package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.js +27 -27
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts +2 -2
- 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
|
@@ -1,421 +0,0 @@
|
|
|
1
|
-
import g from "../color-name/index.js";
|
|
2
|
-
const M = {};
|
|
3
|
-
for (const n of Object.keys(g))
|
|
4
|
-
M[g[n]] = n;
|
|
5
|
-
const a = {
|
|
6
|
-
rgb: { channels: 3, labels: "rgb" },
|
|
7
|
-
hsl: { channels: 3, labels: "hsl" },
|
|
8
|
-
hsv: { channels: 3, labels: "hsv" },
|
|
9
|
-
hwb: { channels: 3, labels: "hwb" },
|
|
10
|
-
cmyk: { channels: 4, labels: "cmyk" },
|
|
11
|
-
xyz: { channels: 3, labels: "xyz" },
|
|
12
|
-
lab: { channels: 3, labels: "lab" },
|
|
13
|
-
oklab: { channels: 3, labels: ["okl", "oka", "okb"] },
|
|
14
|
-
lch: { channels: 3, labels: "lch" },
|
|
15
|
-
oklch: { channels: 3, labels: ["okl", "okc", "okh"] },
|
|
16
|
-
hex: { channels: 1, labels: ["hex"] },
|
|
17
|
-
keyword: { channels: 1, labels: ["keyword"] },
|
|
18
|
-
ansi16: { channels: 1, labels: ["ansi16"] },
|
|
19
|
-
ansi256: { channels: 1, labels: ["ansi256"] },
|
|
20
|
-
hcg: { channels: 3, labels: ["h", "c", "g"] },
|
|
21
|
-
apple: { channels: 3, labels: ["r16", "g16", "b16"] },
|
|
22
|
-
gray: { channels: 1, labels: ["gray"] }
|
|
23
|
-
}, f = (6 / 29) ** 3;
|
|
24
|
-
function b(n) {
|
|
25
|
-
const o = n > 31308e-7 ? 1.055 * n ** 0.4166666666666667 - 0.055 : n * 12.92;
|
|
26
|
-
return Math.min(Math.max(0, o), 1);
|
|
27
|
-
}
|
|
28
|
-
function m(n) {
|
|
29
|
-
return n > 0.04045 ? ((n + 0.055) / 1.055) ** 2.4 : n / 12.92;
|
|
30
|
-
}
|
|
31
|
-
for (const n of Object.keys(a)) {
|
|
32
|
-
if (!("channels" in a[n]))
|
|
33
|
-
throw new Error("missing channels property: " + n);
|
|
34
|
-
if (!("labels" in a[n]))
|
|
35
|
-
throw new Error("missing channel labels property: " + n);
|
|
36
|
-
if (a[n].labels.length !== a[n].channels)
|
|
37
|
-
throw new Error("channel and label counts mismatch: " + n);
|
|
38
|
-
const { channels: o, labels: s } = a[n];
|
|
39
|
-
delete a[n].channels, delete a[n].labels, Object.defineProperty(a[n], "channels", { value: o }), Object.defineProperty(a[n], "labels", { value: s });
|
|
40
|
-
}
|
|
41
|
-
a.rgb.hsl = function(n) {
|
|
42
|
-
const o = n[0] / 255, s = n[1] / 255, c = n[2] / 255, t = Math.min(o, s, c), e = Math.max(o, s, c), r = e - t;
|
|
43
|
-
let l, _;
|
|
44
|
-
switch (e) {
|
|
45
|
-
case t: {
|
|
46
|
-
l = 0;
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
case o: {
|
|
50
|
-
l = (s - c) / r;
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
case s: {
|
|
54
|
-
l = 2 + (c - o) / r;
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
case c: {
|
|
58
|
-
l = 4 + (o - s) / r;
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
l = Math.min(l * 60, 360), l < 0 && (l += 360);
|
|
63
|
-
const i = (t + e) / 2;
|
|
64
|
-
return e === t ? _ = 0 : i <= 0.5 ? _ = r / (e + t) : _ = r / (2 - e - t), [l, _ * 100, i * 100];
|
|
65
|
-
};
|
|
66
|
-
a.rgb.hsv = function(n) {
|
|
67
|
-
let o, s, c, t, e;
|
|
68
|
-
const r = n[0] / 255, l = n[1] / 255, _ = n[2] / 255, i = Math.max(r, l, _), u = i - Math.min(r, l, _), h = function(k) {
|
|
69
|
-
return (i - k) / 6 / u + 1 / 2;
|
|
70
|
-
};
|
|
71
|
-
if (u === 0)
|
|
72
|
-
t = 0, e = 0;
|
|
73
|
-
else {
|
|
74
|
-
switch (e = u / i, o = h(r), s = h(l), c = h(_), i) {
|
|
75
|
-
case r: {
|
|
76
|
-
t = c - s;
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
case l: {
|
|
80
|
-
t = 1 / 3 + o - c;
|
|
81
|
-
break;
|
|
82
|
-
}
|
|
83
|
-
case _: {
|
|
84
|
-
t = 2 / 3 + s - o;
|
|
85
|
-
break;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
t < 0 ? t += 1 : t > 1 && (t -= 1);
|
|
89
|
-
}
|
|
90
|
-
return [
|
|
91
|
-
t * 360,
|
|
92
|
-
e * 100,
|
|
93
|
-
i * 100
|
|
94
|
-
];
|
|
95
|
-
};
|
|
96
|
-
a.rgb.hwb = function(n) {
|
|
97
|
-
const o = n[0], s = n[1];
|
|
98
|
-
let c = n[2];
|
|
99
|
-
const t = a.rgb.hsl(n)[0], e = 1 / 255 * Math.min(o, Math.min(s, c));
|
|
100
|
-
return c = 1 - 1 / 255 * Math.max(o, Math.max(s, c)), [t, e * 100, c * 100];
|
|
101
|
-
};
|
|
102
|
-
a.rgb.oklab = function(n) {
|
|
103
|
-
const o = m(n[0] / 255), s = m(n[1] / 255), c = m(n[2] / 255), t = Math.cbrt(0.4122214708 * o + 0.5363325363 * s + 0.0514459929 * c), e = Math.cbrt(0.2119034982 * o + 0.6806995451 * s + 0.1073969566 * c), r = Math.cbrt(0.0883024619 * o + 0.2817188376 * s + 0.6299787005 * c), l = 0.2104542553 * t + 0.793617785 * e - 0.0040720468 * r, _ = 1.9779984951 * t - 2.428592205 * e + 0.4505937099 * r, i = 0.0259040371 * t + 0.7827717662 * e - 0.808675766 * r;
|
|
104
|
-
return [l * 100, _ * 100, i * 100];
|
|
105
|
-
};
|
|
106
|
-
a.rgb.cmyk = function(n) {
|
|
107
|
-
const o = n[0] / 255, s = n[1] / 255, c = n[2] / 255, t = Math.min(1 - o, 1 - s, 1 - c), e = (1 - o - t) / (1 - t) || 0, r = (1 - s - t) / (1 - t) || 0, l = (1 - c - t) / (1 - t) || 0;
|
|
108
|
-
return [e * 100, r * 100, l * 100, t * 100];
|
|
109
|
-
};
|
|
110
|
-
function y(n, o) {
|
|
111
|
-
return (n[0] - o[0]) ** 2 + (n[1] - o[1]) ** 2 + (n[2] - o[2]) ** 2;
|
|
112
|
-
}
|
|
113
|
-
a.rgb.keyword = function(n) {
|
|
114
|
-
const o = M[n];
|
|
115
|
-
if (o)
|
|
116
|
-
return o;
|
|
117
|
-
let s = Number.POSITIVE_INFINITY, c;
|
|
118
|
-
for (const t of Object.keys(g)) {
|
|
119
|
-
const e = g[t], r = y(n, e);
|
|
120
|
-
r < s && (s = r, c = t);
|
|
121
|
-
}
|
|
122
|
-
return c;
|
|
123
|
-
};
|
|
124
|
-
a.keyword.rgb = function(n) {
|
|
125
|
-
return g[n];
|
|
126
|
-
};
|
|
127
|
-
a.rgb.xyz = function(n) {
|
|
128
|
-
const o = m(n[0] / 255), s = m(n[1] / 255), c = m(n[2] / 255), t = o * 0.4124564 + s * 0.3575761 + c * 0.1804375, e = o * 0.2126729 + s * 0.7151522 + c * 0.072175, r = o * 0.0193339 + s * 0.119192 + c * 0.9503041;
|
|
129
|
-
return [t * 100, e * 100, r * 100];
|
|
130
|
-
};
|
|
131
|
-
a.rgb.lab = function(n) {
|
|
132
|
-
const o = a.rgb.xyz(n);
|
|
133
|
-
let s = o[0], c = o[1], t = o[2];
|
|
134
|
-
s /= 95.047, c /= 100, t /= 108.883, s = s > f ? s ** (1 / 3) : 7.787 * s + 16 / 116, c = c > f ? c ** (1 / 3) : 7.787 * c + 16 / 116, t = t > f ? t ** (1 / 3) : 7.787 * t + 16 / 116;
|
|
135
|
-
const e = 116 * c - 16, r = 500 * (s - c), l = 200 * (c - t);
|
|
136
|
-
return [e, r, l];
|
|
137
|
-
};
|
|
138
|
-
a.hsl.rgb = function(n) {
|
|
139
|
-
const o = n[0] / 360, s = n[1] / 100, c = n[2] / 100;
|
|
140
|
-
let t, e;
|
|
141
|
-
if (s === 0)
|
|
142
|
-
return e = c * 255, [e, e, e];
|
|
143
|
-
const r = c < 0.5 ? c * (1 + s) : c + s - c * s, l = 2 * c - r, _ = [0, 0, 0];
|
|
144
|
-
for (let i = 0; i < 3; i++)
|
|
145
|
-
t = o + 1 / 3 * -(i - 1), t < 0 && t++, t > 1 && t--, 6 * t < 1 ? e = l + (r - l) * 6 * t : 2 * t < 1 ? e = r : 3 * t < 2 ? e = l + (r - l) * (2 / 3 - t) * 6 : e = l, _[i] = e * 255;
|
|
146
|
-
return _;
|
|
147
|
-
};
|
|
148
|
-
a.hsl.hsv = function(n) {
|
|
149
|
-
const o = n[0];
|
|
150
|
-
let s = n[1] / 100, c = n[2] / 100, t = s;
|
|
151
|
-
const e = Math.max(c, 0.01);
|
|
152
|
-
c *= 2, s *= c <= 1 ? c : 2 - c, t *= e <= 1 ? e : 2 - e;
|
|
153
|
-
const r = (c + s) / 2, l = c === 0 ? 2 * t / (e + t) : 2 * s / (c + s);
|
|
154
|
-
return [o, l * 100, r * 100];
|
|
155
|
-
};
|
|
156
|
-
a.hsv.rgb = function(n) {
|
|
157
|
-
const o = n[0] / 60, s = n[1] / 100;
|
|
158
|
-
let c = n[2] / 100;
|
|
159
|
-
const t = Math.floor(o) % 6, e = o - Math.floor(o), r = 255 * c * (1 - s), l = 255 * c * (1 - s * e), _ = 255 * c * (1 - s * (1 - e));
|
|
160
|
-
switch (c *= 255, t) {
|
|
161
|
-
case 0:
|
|
162
|
-
return [c, _, r];
|
|
163
|
-
case 1:
|
|
164
|
-
return [l, c, r];
|
|
165
|
-
case 2:
|
|
166
|
-
return [r, c, _];
|
|
167
|
-
case 3:
|
|
168
|
-
return [r, l, c];
|
|
169
|
-
case 4:
|
|
170
|
-
return [_, r, c];
|
|
171
|
-
case 5:
|
|
172
|
-
return [c, r, l];
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
a.hsv.hsl = function(n) {
|
|
176
|
-
const o = n[0], s = n[1] / 100, c = n[2] / 100, t = Math.max(c, 0.01);
|
|
177
|
-
let e, r;
|
|
178
|
-
r = (2 - s) * c;
|
|
179
|
-
const l = (2 - s) * t;
|
|
180
|
-
return e = s * t, e /= l <= 1 ? l : 2 - l, e = e || 0, r /= 2, [o, e * 100, r * 100];
|
|
181
|
-
};
|
|
182
|
-
a.hwb.rgb = function(n) {
|
|
183
|
-
const o = n[0] / 360;
|
|
184
|
-
let s = n[1] / 100, c = n[2] / 100;
|
|
185
|
-
const t = s + c;
|
|
186
|
-
let e;
|
|
187
|
-
t > 1 && (s /= t, c /= t);
|
|
188
|
-
const r = Math.floor(6 * o), l = 1 - c;
|
|
189
|
-
e = 6 * o - r, (r & 1) !== 0 && (e = 1 - e);
|
|
190
|
-
const _ = s + e * (l - s);
|
|
191
|
-
let i, u, h;
|
|
192
|
-
switch (r) {
|
|
193
|
-
default:
|
|
194
|
-
case 6:
|
|
195
|
-
case 0: {
|
|
196
|
-
i = l, u = _, h = s;
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
case 1: {
|
|
200
|
-
i = _, u = l, h = s;
|
|
201
|
-
break;
|
|
202
|
-
}
|
|
203
|
-
case 2: {
|
|
204
|
-
i = s, u = l, h = _;
|
|
205
|
-
break;
|
|
206
|
-
}
|
|
207
|
-
case 3: {
|
|
208
|
-
i = s, u = _, h = l;
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
case 4: {
|
|
212
|
-
i = _, u = s, h = l;
|
|
213
|
-
break;
|
|
214
|
-
}
|
|
215
|
-
case 5: {
|
|
216
|
-
i = l, u = s, h = _;
|
|
217
|
-
break;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
return [i * 255, u * 255, h * 255];
|
|
221
|
-
};
|
|
222
|
-
a.cmyk.rgb = function(n) {
|
|
223
|
-
const o = n[0] / 100, s = n[1] / 100, c = n[2] / 100, t = n[3] / 100, e = 1 - Math.min(1, o * (1 - t) + t), r = 1 - Math.min(1, s * (1 - t) + t), l = 1 - Math.min(1, c * (1 - t) + t);
|
|
224
|
-
return [e * 255, r * 255, l * 255];
|
|
225
|
-
};
|
|
226
|
-
a.xyz.rgb = function(n) {
|
|
227
|
-
const o = n[0] / 100, s = n[1] / 100, c = n[2] / 100;
|
|
228
|
-
let t, e, r;
|
|
229
|
-
return t = o * 3.2404542 + s * -1.5371385 + c * -0.4985314, e = o * -0.969266 + s * 1.8760108 + c * 0.041556, r = o * 0.0556434 + s * -0.2040259 + c * 1.0572252, t = b(t), e = b(e), r = b(r), [t * 255, e * 255, r * 255];
|
|
230
|
-
};
|
|
231
|
-
a.xyz.lab = function(n) {
|
|
232
|
-
let o = n[0], s = n[1], c = n[2];
|
|
233
|
-
o /= 95.047, s /= 100, c /= 108.883, o = o > f ? o ** (1 / 3) : 7.787 * o + 16 / 116, s = s > f ? s ** (1 / 3) : 7.787 * s + 16 / 116, c = c > f ? c ** (1 / 3) : 7.787 * c + 16 / 116;
|
|
234
|
-
const t = 116 * s - 16, e = 500 * (o - s), r = 200 * (s - c);
|
|
235
|
-
return [t, e, r];
|
|
236
|
-
};
|
|
237
|
-
a.xyz.oklab = function(n) {
|
|
238
|
-
const o = n[0] / 100, s = n[1] / 100, c = n[2] / 100, t = Math.cbrt(0.8189330101 * o + 0.3618667424 * s - 0.1288597137 * c), e = Math.cbrt(0.0329845436 * o + 0.9293118715 * s + 0.0361456387 * c), r = Math.cbrt(0.0482003018 * o + 0.2643662691 * s + 0.633851707 * c), l = 0.2104542553 * t + 0.793617785 * e - 0.0040720468 * r, _ = 1.9779984951 * t - 2.428592205 * e + 0.4505937099 * r, i = 0.0259040371 * t + 0.7827717662 * e - 0.808675766 * r;
|
|
239
|
-
return [l * 100, _ * 100, i * 100];
|
|
240
|
-
};
|
|
241
|
-
a.oklab.oklch = function(n) {
|
|
242
|
-
return a.lab.lch(n);
|
|
243
|
-
};
|
|
244
|
-
a.oklab.xyz = function(n) {
|
|
245
|
-
const o = n[0] / 100, s = n[1] / 100, c = n[2] / 100, t = (0.999999998 * o + 0.396337792 * s + 0.215803758 * c) ** 3, e = (1.000000008 * o - 0.105561342 * s - 0.063854175 * c) ** 3, r = (1.000000055 * o - 0.089484182 * s - 1.291485538 * c) ** 3, l = 1.227013851 * t - 0.55779998 * e + 0.281256149 * r, _ = -0.040580178 * t + 1.11225687 * e - 0.071676679 * r, i = -0.076381285 * t - 0.421481978 * e + 1.58616322 * r;
|
|
246
|
-
return [l * 100, _ * 100, i * 100];
|
|
247
|
-
};
|
|
248
|
-
a.oklab.rgb = function(n) {
|
|
249
|
-
const o = n[0] / 100, s = n[1] / 100, c = n[2] / 100, t = (o + 0.3963377774 * s + 0.2158037573 * c) ** 3, e = (o - 0.1055613458 * s - 0.0638541728 * c) ** 3, r = (o - 0.0894841775 * s - 1.291485548 * c) ** 3, l = b(4.0767416621 * t - 3.3077115913 * e + 0.2309699292 * r), _ = b(-1.2684380046 * t + 2.6097574011 * e - 0.3413193965 * r), i = b(-0.0041960863 * t - 0.7034186147 * e + 1.707614701 * r);
|
|
250
|
-
return [l * 255, _ * 255, i * 255];
|
|
251
|
-
};
|
|
252
|
-
a.oklch.oklab = function(n) {
|
|
253
|
-
return a.lch.lab(n);
|
|
254
|
-
};
|
|
255
|
-
a.lab.xyz = function(n) {
|
|
256
|
-
const o = n[0], s = n[1], c = n[2];
|
|
257
|
-
let t, e, r;
|
|
258
|
-
e = (o + 16) / 116, t = s / 500 + e, r = e - c / 200;
|
|
259
|
-
const l = e ** 3, _ = t ** 3, i = r ** 3;
|
|
260
|
-
return e = l > f ? l : (e - 16 / 116) / 7.787, t = _ > f ? _ : (t - 16 / 116) / 7.787, r = i > f ? i : (r - 16 / 116) / 7.787, t *= 95.047, e *= 100, r *= 108.883, [t, e, r];
|
|
261
|
-
};
|
|
262
|
-
a.lab.lch = function(n) {
|
|
263
|
-
const o = n[0], s = n[1], c = n[2];
|
|
264
|
-
let t;
|
|
265
|
-
t = Math.atan2(c, s) * 360 / 2 / Math.PI, t < 0 && (t += 360);
|
|
266
|
-
const r = Math.sqrt(s * s + c * c);
|
|
267
|
-
return [o, r, t];
|
|
268
|
-
};
|
|
269
|
-
a.lch.lab = function(n) {
|
|
270
|
-
const o = n[0], s = n[1], t = n[2] / 360 * 2 * Math.PI, e = s * Math.cos(t), r = s * Math.sin(t);
|
|
271
|
-
return [o, e, r];
|
|
272
|
-
};
|
|
273
|
-
a.rgb.ansi16 = function(n, o = null) {
|
|
274
|
-
const [s, c, t] = n;
|
|
275
|
-
let e = o === null ? a.rgb.hsv(n)[2] : o;
|
|
276
|
-
if (e = Math.round(e / 50), e === 0)
|
|
277
|
-
return 30;
|
|
278
|
-
let r = 30 + (Math.round(t / 255) << 2 | Math.round(c / 255) << 1 | Math.round(s / 255));
|
|
279
|
-
return e === 2 && (r += 60), r;
|
|
280
|
-
};
|
|
281
|
-
a.hsv.ansi16 = function(n) {
|
|
282
|
-
return a.rgb.ansi16(a.hsv.rgb(n), n[2]);
|
|
283
|
-
};
|
|
284
|
-
a.rgb.ansi256 = function(n) {
|
|
285
|
-
const o = n[0], s = n[1], c = n[2];
|
|
286
|
-
return o >> 4 === s >> 4 && s >> 4 === c >> 4 ? o < 8 ? 16 : o > 248 ? 231 : Math.round((o - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(o / 255 * 5) + 6 * Math.round(s / 255 * 5) + Math.round(c / 255 * 5);
|
|
287
|
-
};
|
|
288
|
-
a.ansi16.rgb = function(n) {
|
|
289
|
-
n = n[0];
|
|
290
|
-
let o = n % 10;
|
|
291
|
-
if (o === 0 || o === 7)
|
|
292
|
-
return n > 50 && (o += 3.5), o = o / 10.5 * 255, [o, o, o];
|
|
293
|
-
const s = (Math.trunc(n > 50) + 1) * 0.5, c = (o & 1) * s * 255, t = (o >> 1 & 1) * s * 255, e = (o >> 2 & 1) * s * 255;
|
|
294
|
-
return [c, t, e];
|
|
295
|
-
};
|
|
296
|
-
a.ansi256.rgb = function(n) {
|
|
297
|
-
if (n = n[0], n >= 232) {
|
|
298
|
-
const e = (n - 232) * 10 + 8;
|
|
299
|
-
return [e, e, e];
|
|
300
|
-
}
|
|
301
|
-
n -= 16;
|
|
302
|
-
let o;
|
|
303
|
-
const s = Math.floor(n / 36) / 5 * 255, c = Math.floor((o = n % 36) / 6) / 5 * 255, t = o % 6 / 5 * 255;
|
|
304
|
-
return [s, c, t];
|
|
305
|
-
};
|
|
306
|
-
a.rgb.hex = function(n) {
|
|
307
|
-
const s = (((Math.round(n[0]) & 255) << 16) + ((Math.round(n[1]) & 255) << 8) + (Math.round(n[2]) & 255)).toString(16).toUpperCase();
|
|
308
|
-
return "000000".slice(s.length) + s;
|
|
309
|
-
};
|
|
310
|
-
a.hex.rgb = function(n) {
|
|
311
|
-
const o = n.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);
|
|
312
|
-
if (!o)
|
|
313
|
-
return [0, 0, 0];
|
|
314
|
-
let s = o[0];
|
|
315
|
-
o[0].length === 3 && (s = [...s].map((l) => l + l).join(""));
|
|
316
|
-
const c = Number.parseInt(s, 16), t = c >> 16 & 255, e = c >> 8 & 255, r = c & 255;
|
|
317
|
-
return [t, e, r];
|
|
318
|
-
};
|
|
319
|
-
a.rgb.hcg = function(n) {
|
|
320
|
-
const o = n[0] / 255, s = n[1] / 255, c = n[2] / 255, t = Math.max(Math.max(o, s), c), e = Math.min(Math.min(o, s), c), r = t - e;
|
|
321
|
-
let l;
|
|
322
|
-
const _ = r < 1 ? e / (1 - r) : 0;
|
|
323
|
-
return r <= 0 ? l = 0 : t === o ? l = (s - c) / r % 6 : t === s ? l = 2 + (c - o) / r : l = 4 + (o - s) / r, l /= 6, l %= 1, [l * 360, r * 100, _ * 100];
|
|
324
|
-
};
|
|
325
|
-
a.hsl.hcg = function(n) {
|
|
326
|
-
const o = n[1] / 100, s = n[2] / 100, c = s < 0.5 ? 2 * o * s : 2 * o * (1 - s);
|
|
327
|
-
let t = 0;
|
|
328
|
-
return c < 1 && (t = (s - 0.5 * c) / (1 - c)), [n[0], c * 100, t * 100];
|
|
329
|
-
};
|
|
330
|
-
a.hsv.hcg = function(n) {
|
|
331
|
-
const o = n[1] / 100, s = n[2] / 100, c = o * s;
|
|
332
|
-
let t = 0;
|
|
333
|
-
return c < 1 && (t = (s - c) / (1 - c)), [n[0], c * 100, t * 100];
|
|
334
|
-
};
|
|
335
|
-
a.hcg.rgb = function(n) {
|
|
336
|
-
const o = n[0] / 360, s = n[1] / 100, c = n[2] / 100;
|
|
337
|
-
if (s === 0)
|
|
338
|
-
return [c * 255, c * 255, c * 255];
|
|
339
|
-
const t = [0, 0, 0], e = o % 1 * 6, r = e % 1, l = 1 - r;
|
|
340
|
-
let _ = 0;
|
|
341
|
-
switch (Math.floor(e)) {
|
|
342
|
-
case 0: {
|
|
343
|
-
t[0] = 1, t[1] = r, t[2] = 0;
|
|
344
|
-
break;
|
|
345
|
-
}
|
|
346
|
-
case 1: {
|
|
347
|
-
t[0] = l, t[1] = 1, t[2] = 0;
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
case 2: {
|
|
351
|
-
t[0] = 0, t[1] = 1, t[2] = r;
|
|
352
|
-
break;
|
|
353
|
-
}
|
|
354
|
-
case 3: {
|
|
355
|
-
t[0] = 0, t[1] = l, t[2] = 1;
|
|
356
|
-
break;
|
|
357
|
-
}
|
|
358
|
-
case 4: {
|
|
359
|
-
t[0] = r, t[1] = 0, t[2] = 1;
|
|
360
|
-
break;
|
|
361
|
-
}
|
|
362
|
-
default:
|
|
363
|
-
t[0] = 1, t[1] = 0, t[2] = l;
|
|
364
|
-
}
|
|
365
|
-
return _ = (1 - s) * c, [
|
|
366
|
-
(s * t[0] + _) * 255,
|
|
367
|
-
(s * t[1] + _) * 255,
|
|
368
|
-
(s * t[2] + _) * 255
|
|
369
|
-
];
|
|
370
|
-
};
|
|
371
|
-
a.hcg.hsv = function(n) {
|
|
372
|
-
const o = n[1] / 100, s = n[2] / 100, c = o + s * (1 - o);
|
|
373
|
-
let t = 0;
|
|
374
|
-
return c > 0 && (t = o / c), [n[0], t * 100, c * 100];
|
|
375
|
-
};
|
|
376
|
-
a.hcg.hsl = function(n) {
|
|
377
|
-
const o = n[1] / 100, c = n[2] / 100 * (1 - o) + 0.5 * o;
|
|
378
|
-
let t = 0;
|
|
379
|
-
return c > 0 && c < 0.5 ? t = o / (2 * c) : c >= 0.5 && c < 1 && (t = o / (2 * (1 - c))), [n[0], t * 100, c * 100];
|
|
380
|
-
};
|
|
381
|
-
a.hcg.hwb = function(n) {
|
|
382
|
-
const o = n[1] / 100, s = n[2] / 100, c = o + s * (1 - o);
|
|
383
|
-
return [n[0], (c - o) * 100, (1 - c) * 100];
|
|
384
|
-
};
|
|
385
|
-
a.hwb.hcg = function(n) {
|
|
386
|
-
const o = n[1] / 100, c = 1 - n[2] / 100, t = c - o;
|
|
387
|
-
let e = 0;
|
|
388
|
-
return t < 1 && (e = (c - t) / (1 - t)), [n[0], t * 100, e * 100];
|
|
389
|
-
};
|
|
390
|
-
a.apple.rgb = function(n) {
|
|
391
|
-
return [n[0] / 65535 * 255, n[1] / 65535 * 255, n[2] / 65535 * 255];
|
|
392
|
-
};
|
|
393
|
-
a.rgb.apple = function(n) {
|
|
394
|
-
return [n[0] / 255 * 65535, n[1] / 255 * 65535, n[2] / 255 * 65535];
|
|
395
|
-
};
|
|
396
|
-
a.gray.rgb = function(n) {
|
|
397
|
-
return [n[0] / 100 * 255, n[0] / 100 * 255, n[0] / 100 * 255];
|
|
398
|
-
};
|
|
399
|
-
a.gray.hsl = function(n) {
|
|
400
|
-
return [0, 0, n[0]];
|
|
401
|
-
};
|
|
402
|
-
a.gray.hsv = a.gray.hsl;
|
|
403
|
-
a.gray.hwb = function(n) {
|
|
404
|
-
return [0, 100, n[0]];
|
|
405
|
-
};
|
|
406
|
-
a.gray.cmyk = function(n) {
|
|
407
|
-
return [0, 0, 0, n[0]];
|
|
408
|
-
};
|
|
409
|
-
a.gray.lab = function(n) {
|
|
410
|
-
return [n[0], 0, 0];
|
|
411
|
-
};
|
|
412
|
-
a.gray.hex = function(n) {
|
|
413
|
-
const o = Math.round(n[0] / 100 * 255) & 255, c = ((o << 16) + (o << 8) + o).toString(16).toUpperCase();
|
|
414
|
-
return "000000".slice(c.length) + c;
|
|
415
|
-
};
|
|
416
|
-
a.rgb.gray = function(n) {
|
|
417
|
-
return [(n[0] + n[1] + n[2]) / 3 / 255 * 100];
|
|
418
|
-
};
|
|
419
|
-
export {
|
|
420
|
-
a as default
|
|
421
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import s from "./conversions.js";
|
|
2
|
-
import f from "./route.js";
|
|
3
|
-
const c = {}, l = Object.keys(s);
|
|
4
|
-
function d(n) {
|
|
5
|
-
const t = function(...o) {
|
|
6
|
-
const e = o[0];
|
|
7
|
-
return e == null ? e : (e.length > 1 && (o = e), n(o));
|
|
8
|
-
};
|
|
9
|
-
return "conversion" in n && (t.conversion = n.conversion), t;
|
|
10
|
-
}
|
|
11
|
-
function a(n) {
|
|
12
|
-
const t = function(...o) {
|
|
13
|
-
const e = o[0];
|
|
14
|
-
if (e == null)
|
|
15
|
-
return e;
|
|
16
|
-
e.length > 1 && (o = e);
|
|
17
|
-
const r = n(o);
|
|
18
|
-
if (typeof r == "object")
|
|
19
|
-
for (let { length: u } = r, i = 0; i < u; i++)
|
|
20
|
-
r[i] = Math.round(r[i]);
|
|
21
|
-
return r;
|
|
22
|
-
};
|
|
23
|
-
return "conversion" in n && (t.conversion = n.conversion), t;
|
|
24
|
-
}
|
|
25
|
-
for (const n of l) {
|
|
26
|
-
c[n] = {}, Object.defineProperty(c[n], "channels", { value: s[n].channels }), Object.defineProperty(c[n], "labels", { value: s[n].labels });
|
|
27
|
-
const t = f(n), o = Object.keys(t);
|
|
28
|
-
for (const e of o) {
|
|
29
|
-
const r = t[e];
|
|
30
|
-
c[n][e] = a(r), c[n][e].raw = d(r);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
c as default
|
|
35
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import i from "./conversions.js";
|
|
2
|
-
function l() {
|
|
3
|
-
const t = {}, n = Object.keys(i);
|
|
4
|
-
for (let { length: c } = n, e = 0; e < c; e++)
|
|
5
|
-
t[n[e]] = {
|
|
6
|
-
// http://jsperf.com/1-vs-infinity
|
|
7
|
-
// micro-opt, but this is simple.
|
|
8
|
-
distance: -1,
|
|
9
|
-
parent: null
|
|
10
|
-
};
|
|
11
|
-
return t;
|
|
12
|
-
}
|
|
13
|
-
function f(t) {
|
|
14
|
-
const n = l(), c = [t];
|
|
15
|
-
for (n[t].distance = 0; c.length > 0; ) {
|
|
16
|
-
const e = c.pop(), r = Object.keys(i[e]);
|
|
17
|
-
for (let { length: s } = r, o = 0; o < s; o++) {
|
|
18
|
-
const u = r[o], a = n[u];
|
|
19
|
-
a.distance === -1 && (a.distance = n[e].distance + 1, a.parent = e, c.unshift(u));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return n;
|
|
23
|
-
}
|
|
24
|
-
function p(t, n) {
|
|
25
|
-
return function(c) {
|
|
26
|
-
return n(t(c));
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function d(t, n) {
|
|
30
|
-
const c = [n[t].parent, t];
|
|
31
|
-
let e = i[n[t].parent][t], r = n[t].parent;
|
|
32
|
-
for (; n[r].parent; )
|
|
33
|
-
c.unshift(n[r].parent), e = p(i[n[r].parent][r], e), r = n[r].parent;
|
|
34
|
-
return e.conversion = c, e;
|
|
35
|
-
}
|
|
36
|
-
function j(t) {
|
|
37
|
-
const n = f(t), c = {}, e = Object.keys(n);
|
|
38
|
-
for (let { length: r } = e, s = 0; s < r; s++) {
|
|
39
|
-
const o = e[s];
|
|
40
|
-
n[o].parent !== null && (c[o] = d(o, n));
|
|
41
|
-
}
|
|
42
|
-
return c;
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
j as default
|
|
46
|
-
};
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
aliceblue: [240, 248, 255],
|
|
3
|
-
antiquewhite: [250, 235, 215],
|
|
4
|
-
aqua: [0, 255, 255],
|
|
5
|
-
aquamarine: [127, 255, 212],
|
|
6
|
-
azure: [240, 255, 255],
|
|
7
|
-
beige: [245, 245, 220],
|
|
8
|
-
bisque: [255, 228, 196],
|
|
9
|
-
black: [0, 0, 0],
|
|
10
|
-
blanchedalmond: [255, 235, 205],
|
|
11
|
-
blue: [0, 0, 255],
|
|
12
|
-
blueviolet: [138, 43, 226],
|
|
13
|
-
brown: [165, 42, 42],
|
|
14
|
-
burlywood: [222, 184, 135],
|
|
15
|
-
cadetblue: [95, 158, 160],
|
|
16
|
-
chartreuse: [127, 255, 0],
|
|
17
|
-
chocolate: [210, 105, 30],
|
|
18
|
-
coral: [255, 127, 80],
|
|
19
|
-
cornflowerblue: [100, 149, 237],
|
|
20
|
-
cornsilk: [255, 248, 220],
|
|
21
|
-
crimson: [220, 20, 60],
|
|
22
|
-
cyan: [0, 255, 255],
|
|
23
|
-
darkblue: [0, 0, 139],
|
|
24
|
-
darkcyan: [0, 139, 139],
|
|
25
|
-
darkgoldenrod: [184, 134, 11],
|
|
26
|
-
darkgray: [169, 169, 169],
|
|
27
|
-
darkgreen: [0, 100, 0],
|
|
28
|
-
darkgrey: [169, 169, 169],
|
|
29
|
-
darkkhaki: [189, 183, 107],
|
|
30
|
-
darkmagenta: [139, 0, 139],
|
|
31
|
-
darkolivegreen: [85, 107, 47],
|
|
32
|
-
darkorange: [255, 140, 0],
|
|
33
|
-
darkorchid: [153, 50, 204],
|
|
34
|
-
darkred: [139, 0, 0],
|
|
35
|
-
darksalmon: [233, 150, 122],
|
|
36
|
-
darkseagreen: [143, 188, 143],
|
|
37
|
-
darkslateblue: [72, 61, 139],
|
|
38
|
-
darkslategray: [47, 79, 79],
|
|
39
|
-
darkslategrey: [47, 79, 79],
|
|
40
|
-
darkturquoise: [0, 206, 209],
|
|
41
|
-
darkviolet: [148, 0, 211],
|
|
42
|
-
deeppink: [255, 20, 147],
|
|
43
|
-
deepskyblue: [0, 191, 255],
|
|
44
|
-
dimgray: [105, 105, 105],
|
|
45
|
-
dimgrey: [105, 105, 105],
|
|
46
|
-
dodgerblue: [30, 144, 255],
|
|
47
|
-
firebrick: [178, 34, 34],
|
|
48
|
-
floralwhite: [255, 250, 240],
|
|
49
|
-
forestgreen: [34, 139, 34],
|
|
50
|
-
fuchsia: [255, 0, 255],
|
|
51
|
-
gainsboro: [220, 220, 220],
|
|
52
|
-
ghostwhite: [248, 248, 255],
|
|
53
|
-
gold: [255, 215, 0],
|
|
54
|
-
goldenrod: [218, 165, 32],
|
|
55
|
-
gray: [128, 128, 128],
|
|
56
|
-
green: [0, 128, 0],
|
|
57
|
-
greenyellow: [173, 255, 47],
|
|
58
|
-
grey: [128, 128, 128],
|
|
59
|
-
honeydew: [240, 255, 240],
|
|
60
|
-
hotpink: [255, 105, 180],
|
|
61
|
-
indianred: [205, 92, 92],
|
|
62
|
-
indigo: [75, 0, 130],
|
|
63
|
-
ivory: [255, 255, 240],
|
|
64
|
-
khaki: [240, 230, 140],
|
|
65
|
-
lavender: [230, 230, 250],
|
|
66
|
-
lavenderblush: [255, 240, 245],
|
|
67
|
-
lawngreen: [124, 252, 0],
|
|
68
|
-
lemonchiffon: [255, 250, 205],
|
|
69
|
-
lightblue: [173, 216, 230],
|
|
70
|
-
lightcoral: [240, 128, 128],
|
|
71
|
-
lightcyan: [224, 255, 255],
|
|
72
|
-
lightgoldenrodyellow: [250, 250, 210],
|
|
73
|
-
lightgray: [211, 211, 211],
|
|
74
|
-
lightgreen: [144, 238, 144],
|
|
75
|
-
lightgrey: [211, 211, 211],
|
|
76
|
-
lightpink: [255, 182, 193],
|
|
77
|
-
lightsalmon: [255, 160, 122],
|
|
78
|
-
lightseagreen: [32, 178, 170],
|
|
79
|
-
lightskyblue: [135, 206, 250],
|
|
80
|
-
lightslategray: [119, 136, 153],
|
|
81
|
-
lightslategrey: [119, 136, 153],
|
|
82
|
-
lightsteelblue: [176, 196, 222],
|
|
83
|
-
lightyellow: [255, 255, 224],
|
|
84
|
-
lime: [0, 255, 0],
|
|
85
|
-
limegreen: [50, 205, 50],
|
|
86
|
-
linen: [250, 240, 230],
|
|
87
|
-
magenta: [255, 0, 255],
|
|
88
|
-
maroon: [128, 0, 0],
|
|
89
|
-
mediumaquamarine: [102, 205, 170],
|
|
90
|
-
mediumblue: [0, 0, 205],
|
|
91
|
-
mediumorchid: [186, 85, 211],
|
|
92
|
-
mediumpurple: [147, 112, 219],
|
|
93
|
-
mediumseagreen: [60, 179, 113],
|
|
94
|
-
mediumslateblue: [123, 104, 238],
|
|
95
|
-
mediumspringgreen: [0, 250, 154],
|
|
96
|
-
mediumturquoise: [72, 209, 204],
|
|
97
|
-
mediumvioletred: [199, 21, 133],
|
|
98
|
-
midnightblue: [25, 25, 112],
|
|
99
|
-
mintcream: [245, 255, 250],
|
|
100
|
-
mistyrose: [255, 228, 225],
|
|
101
|
-
moccasin: [255, 228, 181],
|
|
102
|
-
navajowhite: [255, 222, 173],
|
|
103
|
-
navy: [0, 0, 128],
|
|
104
|
-
oldlace: [253, 245, 230],
|
|
105
|
-
olive: [128, 128, 0],
|
|
106
|
-
olivedrab: [107, 142, 35],
|
|
107
|
-
orange: [255, 165, 0],
|
|
108
|
-
orangered: [255, 69, 0],
|
|
109
|
-
orchid: [218, 112, 214],
|
|
110
|
-
palegoldenrod: [238, 232, 170],
|
|
111
|
-
palegreen: [152, 251, 152],
|
|
112
|
-
paleturquoise: [175, 238, 238],
|
|
113
|
-
palevioletred: [219, 112, 147],
|
|
114
|
-
papayawhip: [255, 239, 213],
|
|
115
|
-
peachpuff: [255, 218, 185],
|
|
116
|
-
peru: [205, 133, 63],
|
|
117
|
-
pink: [255, 192, 203],
|
|
118
|
-
plum: [221, 160, 221],
|
|
119
|
-
powderblue: [176, 224, 230],
|
|
120
|
-
purple: [128, 0, 128],
|
|
121
|
-
rebeccapurple: [102, 51, 153],
|
|
122
|
-
red: [255, 0, 0],
|
|
123
|
-
rosybrown: [188, 143, 143],
|
|
124
|
-
royalblue: [65, 105, 225],
|
|
125
|
-
saddlebrown: [139, 69, 19],
|
|
126
|
-
salmon: [250, 128, 114],
|
|
127
|
-
sandybrown: [244, 164, 96],
|
|
128
|
-
seagreen: [46, 139, 87],
|
|
129
|
-
seashell: [255, 245, 238],
|
|
130
|
-
sienna: [160, 82, 45],
|
|
131
|
-
silver: [192, 192, 192],
|
|
132
|
-
skyblue: [135, 206, 235],
|
|
133
|
-
slateblue: [106, 90, 205],
|
|
134
|
-
slategray: [112, 128, 144],
|
|
135
|
-
slategrey: [112, 128, 144],
|
|
136
|
-
snow: [255, 250, 250],
|
|
137
|
-
springgreen: [0, 255, 127],
|
|
138
|
-
steelblue: [70, 130, 180],
|
|
139
|
-
tan: [210, 180, 140],
|
|
140
|
-
teal: [0, 128, 128],
|
|
141
|
-
thistle: [216, 191, 216],
|
|
142
|
-
tomato: [255, 99, 71],
|
|
143
|
-
turquoise: [64, 224, 208],
|
|
144
|
-
violet: [238, 130, 238],
|
|
145
|
-
wheat: [245, 222, 179],
|
|
146
|
-
white: [255, 255, 255],
|
|
147
|
-
whitesmoke: [245, 245, 245],
|
|
148
|
-
yellow: [255, 255, 0],
|
|
149
|
-
yellowgreen: [154, 205, 50]
|
|
150
|
-
};
|
|
151
|
-
export {
|
|
152
|
-
e as default
|
|
153
|
-
};
|