@js-empire/emperor-ui 1.3.1 → 1.3.2

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.
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import { d as a } from "./features-animation-DdCMs_MW.js";
3
+ var t = a;
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";const a=require("./color-picker-TyD80Z4B.cjs"),i=require("react"),n=require("./header-z5lsi6Rz.cjs");function u({children:r,isValidProp:e,...t}){e&&n.loadExternalIsValidProp(e);const o=i.useContext(n.MotionConfigContext);t={...o,...t},t.transition=n.resolveTransition(t.transition,o.transition),t.isStatic=n.useConstant(()=>t.isStatic);const s=i.useMemo(()=>t,[JSON.stringify(t.transition),t.transformPagePoint,t.reducedMotion,t.skipAnimations]);return a.jsxRuntimeExports.jsx(n.MotionConfigContext.Provider,{value:s,children:r})}exports.MotionConfig=u;
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./header-z5lsi6Rz.cjs"),i=require("./index-BJlb9Jlo.cjs"),a=require("./features-animation-DktJr1YK.cjs"),t={...a.domAnimation,...e.drag,...e.layout};exports.AnimatePresence=e.AnimatePresence;exports.AsyncMotionValueAnimation=e.AsyncMotionValueAnimation;exports.DOMKeyframesResolver=e.DOMKeyframesResolver;exports.DOMVisualElement=e.DOMVisualElement;exports.DocumentProjectionNode=e.DocumentProjectionNode;exports.Feature=e.Feature;exports.FlatTree=e.FlatTree;exports.HTMLProjectionNode=e.HTMLProjectionNode;exports.HTMLVisualElement=e.HTMLVisualElement;exports.JSAnimation=e.JSAnimation;exports.KeyframeResolver=e.KeyframeResolver;exports.LayoutGroupContext=e.LayoutGroupContext;exports.LazyMotion=e.LazyMotion;exports.MotionConfigContext=e.MotionConfigContext;exports.MotionContext=e.MotionContext;exports.MotionGlobalConfig=e.MotionGlobalConfig;exports.MotionValue=e.MotionValue;exports.NativeAnimation=e.NativeAnimation;exports.NativeAnimationExtended=e.NativeAnimationExtended;exports.NodeStack=e.NodeStack;exports.PopChild=e.PopChild;exports.PresenceChild=e.PresenceChild;exports.PresenceContext=e.PresenceContext;exports.SVGVisualElement=e.SVGVisualElement;exports.SubscriptionManager=e.SubscriptionManager;exports.SwitchLayoutGroupContext=e.SwitchLayoutGroupContext;exports.VisualElement=e.VisualElement;exports.acceleratedValues=e.acceleratedValues;exports.addDomEvent=e.addDomEvent;exports.addPointerEvent=e.addPointerEvent;exports.addPointerInfo=e.addPointerInfo;exports.addUniqueItem=e.addUniqueItem;exports.addValueToWillChange=e.addValueToWillChange;exports.alpha=e.alpha;exports.analyseComplexValue=e.analyseComplexValue;exports.animateMotionValue=e.animateMotionValue;exports.animateSingleValue=e.animateSingleValue;exports.animateTarget=e.animateTarget;exports.animateVariant=e.animateVariant;exports.animateVisualElement=e.animateVisualElement;exports.animations=e.animations;exports.anticipate=e.anticipate;exports.applyAxisDelta=e.applyAxisDelta;exports.applyBoxDelta=e.applyBoxDelta;exports.applyGeneratorOptions=e.applyGeneratorOptions;exports.applyPointDelta=e.applyPointDelta;exports.applyTreeDeltas=e.applyTreeDeltas;exports.aspectRatio=e.aspectRatio;exports.axisDeltaEquals=e.axisDeltaEquals;exports.axisEquals=e.axisEquals;exports.axisEqualsRounded=e.axisEqualsRounded;exports.backIn=e.backIn;exports.backInOut=e.backInOut;exports.backOut=e.backOut;exports.boxEquals=e.boxEquals;exports.boxEqualsRounded=e.boxEqualsRounded;exports.buildHTMLStyles=e.buildHTMLStyles;exports.buildProjectionTransform=e.buildProjectionTransform;exports.buildSVGAttrs=e.buildSVGAttrs;exports.buildSVGPath=e.buildSVGPath;exports.buildTransform=e.buildTransform;exports.calcAxisDelta=e.calcAxisDelta;exports.calcBoxDelta=e.calcBoxDelta;exports.calcChildStagger=e.calcChildStagger;exports.calcGeneratorDuration=e.calcGeneratorDuration;exports.calcLength=e.calcLength;exports.calcRelativeAxis=e.calcRelativeAxis;exports.calcRelativeAxisPosition=e.calcRelativeAxisPosition;exports.calcRelativeBox=e.calcRelativeBox;exports.calcRelativePosition=e.calcRelativePosition;exports.camelCaseAttributes=e.camelCaseAttributes;exports.camelToDash=e.camelToDash;exports.cancelFrame=e.cancelFrame;exports.checkVariantsDidChange=e.checkVariantsDidChange;exports.circIn=e.circIn;exports.circInOut=e.circInOut;exports.circOut=e.circOut;exports.clamp=e.clamp;exports.cleanDirtyNodes=e.cleanDirtyNodes;exports.color=e.color;exports.compareByDepth=e.compareByDepth;exports.complex=e.complex;exports.containsCSSVariable=e.containsCSSVariable;exports.convertBoundingBoxToBox=e.convertBoundingBoxToBox;exports.convertBoxToBoundingBox=e.convertBoxToBoundingBox;exports.convertOffsetToTimes=e.convertOffsetToTimes;exports.copyAxisDeltaInto=e.copyAxisDeltaInto;exports.copyAxisInto=e.copyAxisInto;exports.copyBoxInto=e.copyBoxInto;exports.correctBorderRadius=e.correctBorderRadius;exports.correctBoxShadow=e.correctBoxShadow;exports.createAnimationState=e.createAnimationState;exports.createAxis=e.createAxis;exports.createAxisDelta=e.createAxisDelta;exports.createBox=e.createBox;exports.createDelta=e.createDelta;exports.createGeneratorEasing=e.createGeneratorEasing;exports.createProjectionNode=e.createProjectionNode;exports.createRenderBatcher=e.createRenderBatcher;exports.cubicBezier=e.cubicBezier;exports.cubicBezierAsString=e.cubicBezierAsString;exports.defaultEasing=e.defaultEasing;exports.defaultOffset=e.defaultOffset;exports.defaultTransformValue=e.defaultTransformValue;exports.defaultValueTypes=e.defaultValueTypes;exports.degrees=e.degrees;exports.delay=e.delay;exports.dimensionValueTypes=e.dimensionValueTypes;exports.distance=e.distance;exports.distance2D=e.distance2D;exports.eachAxis=e.eachAxis;exports.easeIn=e.easeIn;exports.easeInOut=e.easeInOut;exports.easeOut=e.easeOut;exports.easingDefinitionToFunction=e.easingDefinitionToFunction;exports.fillOffset=e.fillOffset;exports.fillWildcards=e.fillWildcards;exports.filterProps=e.filterProps;exports.findDimensionValueType=e.findDimensionValueType;exports.findValueType=e.findValueType;exports.flushKeyframeResolvers=e.flushKeyframeResolvers;exports.frame=e.frame;exports.frameData=e.frameData;exports.frameSteps=e.frameSteps;exports.generateLinearEasing=e.generateLinearEasing;exports.getAnimatableNone=e.getAnimatableNone;exports.getDefaultTransition=e.getDefaultTransition;exports.getDefaultValueType=e.getDefaultValueType;exports.getFeatureDefinitions=e.getFeatureDefinitions;exports.getFinalKeyframe=e.getFinalKeyframe;exports.getMixer=e.getMixer;exports.getOptimisedAppearId=e.getOptimisedAppearId;exports.getValueAsType=e.getValueAsType;exports.getValueTransition=e.getValueTransition;exports.getVariableValue=e.getVariableValue;exports.getVariantContext=e.getVariantContext;exports.globalProjectionState=e.globalProjectionState;exports.has2DTranslate=e.has2DTranslate;exports.hasReducedMotionListener=e.hasReducedMotionListener;exports.hasScale=e.hasScale;exports.hasTransform=e.hasTransform;exports.hex=e.hex;exports.hover=e.hover;exports.hsla=e.hsla;exports.hslaToRgba=e.hslaToRgba;exports.inertia=e.inertia;exports.initPrefersReducedMotion=e.initPrefersReducedMotion;exports.interpolate=e.interpolate;Object.defineProperty(exports,"invariant",{enumerable:!0,get:()=>e.invariant});exports.invisibleValues=e.invisibleValues;exports.isAnimationControls=e.isAnimationControls;exports.isBezierDefinition=e.isBezierDefinition;exports.isBrowser=e.isBrowser;exports.isCSSVariableName=e.isCSSVariableName;exports.isCSSVariableToken=e.isCSSVariableToken;exports.isControllingVariants=e.isControllingVariants;exports.isDeltaZero=e.isDeltaZero;exports.isDragActive=e.isDragActive;exports.isDragging=e.isDragging;exports.isEasingArray=e.isEasingArray;exports.isElementKeyboardAccessible=e.isElementKeyboardAccessible;exports.isElementTextInput=e.isElementTextInput;exports.isForcedMotionValue=e.isForcedMotionValue;exports.isGenerator=e.isGenerator;exports.isHTMLElement=e.isHTMLElement;exports.isKeyframesTarget=e.isKeyframesTarget;exports.isMotionValue=e.isMotionValue;exports.isNear=e.isNear;exports.isNodeOrChild=e.isNodeOrChild;exports.isNumericalString=e.isNumericalString;exports.isObject=e.isObject;exports.isPrimaryPointer=e.isPrimaryPointer;exports.isSVGElement=e.isSVGElement;exports.isSVGSVGElement=e.isSVGSVGElement;exports.isSVGTag=e.isSVGTag;exports.isTransitionDefined=e.isTransitionDefined;exports.isValidMotionProp=e.isValidMotionProp;exports.isVariantLabel=e.isVariantLabel;exports.isVariantNode=e.isVariantNode;exports.isWillChangeMotionValue=e.isWillChangeMotionValue;exports.isZeroValueString=e.isZeroValueString;exports.keyframes=e.keyframes;exports.m=e.m;exports.makeAnimationInstant=e.makeAnimationInstant;exports.makeUseVisualState=e.makeUseVisualState;exports.mapEasingToNativeEasing=e.mapEasingToNativeEasing;exports.maxGeneratorDuration=e.maxGeneratorDuration;exports.measurePageBox=e.measurePageBox;exports.measureViewportBox=e.measureViewportBox;exports.memo=e.memo;exports.microtask=e.microtask;exports.millisecondsToSeconds=e.millisecondsToSeconds;exports.mirrorEasing=e.mirrorEasing;exports.mix=e.mix;exports.mixArray=e.mixArray;exports.mixColor=e.mixColor;exports.mixComplex=e.mixComplex;exports.mixImmediate=e.mixImmediate;exports.mixLinearColor=e.mixLinearColor;exports.mixNumber=e.mixNumber;exports.mixObject=e.mixObject;exports.mixValues=e.mixValues;exports.mixVisibility=e.mixVisibility;exports.motion=e.motion;exports.motionValue=e.motionValue;exports.noop=e.noop;exports.number=e.number;exports.numberValueTypes=e.numberValueTypes;exports.optimizedAppearDataAttribute=e.optimizedAppearDataAttribute;exports.optimizedAppearDataId=e.optimizedAppearDataId;exports.parseCSSVariable=e.parseCSSVariable;exports.parseValueFromTransform=e.parseValueFromTransform;exports.percent=e.percent;exports.pipe=e.pipe;exports.pixelsToPercent=e.pixelsToPercent;exports.positionalKeys=e.positionalKeys;exports.prefersReducedMotion=e.prefersReducedMotion;exports.press=e.press;exports.progress=e.progress;exports.progressPercentage=e.progressPercentage;exports.propagateDirtyNodes=e.propagateDirtyNodes;exports.px=e.px;exports.readTransformValue=e.readTransformValue;exports.removeAxisDelta=e.removeAxisDelta;exports.removeAxisTransforms=e.removeAxisTransforms;exports.removeBoxTransforms=e.removeBoxTransforms;exports.removeItem=e.removeItem;exports.removePointDelta=e.removePointDelta;exports.renderHTML=e.renderHTML;exports.renderSVG=e.renderSVG;exports.resize=e.resize;exports.resolveElements=e.resolveElements;exports.resolveMotionValue=e.resolveMotionValue;exports.resolveTransition=e.resolveTransition;exports.resolveVariant=e.resolveVariant;exports.resolveVariantFromProps=e.resolveVariantFromProps;exports.reverseEasing=e.reverseEasing;exports.rgbUnit=e.rgbUnit;exports.rgba=e.rgba;exports.rootProjectionNode=e.rootProjectionNode;exports.scale=e.scale;exports.scaleCorrectors=e.scaleCorrectors;exports.scalePoint=e.scalePoint;exports.scrapeHTMLMotionValuesFromProps=e.scrapeMotionValuesFromProps;exports.scrapeSVGMotionValuesFromProps=e.scrapeMotionValuesFromProps$1;exports.secondsToMilliseconds=e.secondsToMilliseconds;exports.setDragLock=e.setDragLock;exports.setFeatureDefinitions=e.setFeatureDefinitions;exports.setStyle=e.setStyle;exports.setTarget=e.setTarget;exports.spring=e.spring;exports.startWaapiAnimation=e.startWaapiAnimation;exports.supportedWaapiEasing=e.supportedWaapiEasing;exports.supportsBrowserAnimation=e.supportsBrowserAnimation;exports.supportsFlags=e.supportsFlags;exports.supportsLinearEasing=e.supportsLinearEasing;exports.supportsScrollTimeline=e.supportsScrollTimeline;exports.testValueType=e.testValueType;exports.time=e.time;exports.transformAxis=e.transformAxis;exports.transformBox=e.transformBox;exports.transformBoxPoints=e.transformBoxPoints;exports.transformPropOrder=e.transformPropOrder;exports.transformProps=e.transformProps;exports.transformValueTypes=e.transformValueTypes;exports.translateAxis=e.translateAxis;exports.updateMotionValuesFromProps=e.updateMotionValuesFromProps;exports.useComposedRefs=e.useComposedRefs;exports.useIsomorphicLayoutEffect=e.useIsomorphicLayoutEffect;exports.usePresence=e.usePresence;exports.variantPriorityOrder=e.variantPriorityOrder;exports.variantProps=e.variantProps;exports.velocityPerSecond=e.velocityPerSecond;exports.vh=e.vh;exports.visualElementStore=e.visualElementStore;exports.vw=e.vw;exports.warnOnce=e.warnOnce;Object.defineProperty(exports,"warning",{enumerable:!0,get:()=>e.warning});exports.MotionConfig=i.MotionConfig;exports.domAnimation=a.domAnimation;exports.domMax=t;
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./features-animation-DktJr1YK.cjs");var t=e.domAnimation;exports.default=t;
@@ -1,35 +1,37 @@
1
1
  "use client";
2
- import { l as a, a as s, d as e } from "./index-N24la87s.js";
3
- import { A as n, b as c, D as l, c as d, e as m, f as u, g as b, H as p, h as g, J as x, K as V, L as f, i as T, M as y, k as D, m as A, n as S, o as v, N as P, p as E, q as M, r as C, s as h, t as B, S as O, u as I, v as G, V as L, w as N, x as R, y as F, z as k, B as w, C as j, E as z, G as q, I as K, O as H, Q as W, R as U, T as Z, U as J, W as Q, X, Y, Z as _, _ as $, $ as aa, a0 as sa, a1 as ea, a2 as ia, a3 as ta, a4 as oa, a5 as ra, a6 as na, a7 as ca, a8 as la, a9 as da, aa as ma, ab as ua, ac as ba, ad as pa, ae as ga, af as xa, ag as Va, ah as fa, ai as Ta, aj as ya, ak as Da, al as Aa, am as Sa, an as va, ao as Pa, ap as Ea, aq as Ma, ar as Ca, as as ha, at as Ba, au as Oa, av as Ia, aw as Ga, ax as La, ay as Na, az as Ra, aA as Fa, aB as ka, aC as wa, aD as ja, aE as za, aF as qa, aG as Ka, aH as Ha, aI as Wa, aJ as Ua, aK as Za, aL as Ja, aM as Qa, aN as Xa, aO as Ya, aP as _a, aQ as $a, aR as as, aS as ss, aT as es, aU as is, aV as ts, aW as os, aX as rs, aY as ns, aZ as cs, a_ as ls, a$ as ds, b0 as ms, b1 as us, b2 as bs, b3 as ps, b4 as gs, b5 as xs, b6 as Vs, b7 as fs, b8 as Ts, b9 as ys, ba as Ds, bb as As, bc as Ss, bd as vs, be as Ps, bf as Es, bg as Ms, bh as Cs, bi as hs, bj as Bs, bk as Os, bl as Is, bm as Gs, bn as Ls, bo as Ns, bp as Rs, bq as Fs, br as ks, bs as ws, bt as js, bu as zs, bv as qs, bw as Ks, bx as Hs, by as Ws, bz as Us, bA as Zs, bB as Js, bC as Qs, bD as Xs, bE as Ys, bF as _s, bG as $s, bH as ae, bI as se, bJ as ee, bK as ie, bL as te, bM as oe, bN as re, bO as ne, bP as ce, bQ as le, bR as de, bS as me, bT as ue, bU as be, bV as pe, bW as ge, bX as xe, bY as Ve, bZ as fe, b_ as Te, b$ as ye, c0 as De, c1 as Ae, c2 as Se, c3 as ve, c4 as Pe, c5 as Ee, c6 as Me, c7 as Ce, c8 as he, c9 as Be, ca as Oe, cb as Ie, cc as Ge, cd as Le, ce as Ne, cf as Re, cg as Fe, ch as ke, ci as we, cj as je, ck as ze, cl as qe, cm as Ke, cn as He, co as We, cp as Ue, cq as Ze, cr as Je, cs as Qe, ct as Xe, cu as Ye, cv as _e, cw as $e, cx as ai, cy as si, cz as ei, cA as ii, cB as ti, cC as oi, cD as ri, cE as ni, cF as ci, cG as li, cH as di, cI as mi, cJ as ui, cK as bi, cL as pi, cM as gi, cN as xi, cO as Vi, cP as fi, cQ as Ti, cR as yi, cS as Di, cT as Ai, cU as Si, cV as vi, cW as Pi, cX as Ei, cY as Mi, cZ as Ci, c_ as hi, c$ as Bi, d0 as Oi, d1 as Ii, d2 as Gi, d3 as Li, d4 as Ni, d5 as Ri, d6 as Fi, d7 as ki, d8 as wi, d9 as ji, da as zi, db as qi, dc as Ki, dd as Hi, de as Wi, df as Ui, dg as Zi, dh as Ji, di as Qi, dj as Xi, dk as Yi, dl as _i, dm as $i, dn as at, dp as st, dq as et, dr as it, ds as tt, dt as ot, du as rt, dv as nt, dw as ct, dx as lt, dy as dt, dz as mt, dA as ut, dB as bt, dC as pt, dD as gt } from "./index-N24la87s.js";
4
- const t = {
2
+ import { l as a, d as s } from "./header-CKvu3NO_.js";
3
+ import { A as c, a as l, D as m, b as d, c as u, e as b, f as p, H as g, g as x, J as V, K as f, L as T, h as y, M as D, i as A, j as S, k as v, N as P, m as M, n as E, o as h, p as C, q as B, S as O, r as I, s as G, V as L, t as N, u as R, v as F, w as k, x as j, y as w, z, B as q, C as K, E as H, G as W, I as U, O as Z, Q as J, R as Q, T as X, U as Y, W as _, X as $, Y as aa, Z as sa, _ as ea, $ as ia, a0 as ta, a1 as oa, a2 as ra, a3 as na, a4 as ca, a5 as la, a6 as ma, a7 as da, a8 as ua, a9 as ba, aa as pa, ab as ga, ac as xa, ad as Va, ae as fa, af as Ta, ag as ya, ah as Da, ai as Aa, aj as Sa, ak as va, al as Pa, am as Ma, an as Ea, ao as ha, ap as Ca, aq as Ba, ar as Oa, as as Ia, at as Ga, au as La, av as Na, aw as Ra, ax as Fa, ay as ka, az as ja, aA as wa, aB as za, aC as qa, aD as Ka, aE as Ha, aF as Wa, aG as Ua, aH as Za, aI as Ja, aJ as Qa, aK as Xa, aL as Ya, aM as _a, aN as $a, aO as as, aP as ss, aQ as es, aR as is, aS as ts, aT as os, aU as rs, aV as ns, aW as cs, aX as ls, aY as ms, aZ as ds, a_ as us, a$ as bs, b0 as ps, b1 as gs, b2 as xs, b3 as Vs, b4 as fs, b5 as Ts, b6 as ys, b7 as Ds, b8 as As, b9 as Ss, ba as vs, bb as Ps, bc as Ms, bd as Es, be as hs, bf as Cs, bg as Bs, bh as Os, bi as Is, bj as Gs, bk as Ls, bl as Ns, bm as Rs, bn as Fs, bo as ks, bp as js, bq as ws, br as zs, bs as qs, bt as Ks, bu as Hs, bv as Ws, bw as Us, bx as Zs, by as Js, bz as Qs, bA as Xs, bB as Ys, bC as _s, bD as $s, bE as ae, bF as se, bG as ee, bH as ie, bI as te, bJ as oe, bK as re, bL as ne, bM as ce, bN as le, bO as me, bP as de, bQ as ue, bR as be, bS as pe, bT as ge, bU as xe, bV as Ve, bW as fe, bX as Te, bY as ye, bZ as De, b_ as Ae, b$ as Se, c0 as ve, c1 as Pe, c2 as Me, c3 as Ee, c4 as he, c5 as Ce, c6 as Be, c7 as Oe, c8 as Ie, c9 as Ge, ca as Le, cb as Ne, cc as Re, cd as Fe, ce as ke, cf as je, cg as we, ch as ze, ci as qe, cj as Ke, ck as He, cl as We, cm as Ue, cn as Ze, co as Je, cp as Qe, cq as Xe, cr as Ye, cs as _e, ct as $e, cu as ai, cv as si, cw as ei, cx as ii, cy as ti, cz as oi, cA as ri, cB as ni, cC as ci, cD as li, cE as mi, cF as di, cG as ui, cH as bi, cI as pi, cJ as gi, cK as xi, cL as Vi, cM as fi, cN as Ti, cO as yi, cP as Di, cQ as Ai, cR as Si, cS as vi, cT as Pi, cU as Mi, cV as Ei, cW as hi, cX as Ci, cY as Bi, cZ as Oi, c_ as Ii, c$ as Gi, d0 as Li, d1 as Ni, d2 as Ri, d3 as Fi, d4 as ki, d5 as ji, d6 as wi, d7 as zi, d8 as qi, d9 as Ki, da as Hi, db as Wi, dc as Ui, dd as Zi, de as Ji, df as Qi, dg as Xi, dh as Yi, di as _i, dj as $i, dk as at, dl as st, dm as et, dn as it, dp as tt, dq as ot, dr as rt, ds as nt, dt as ct, du as lt, dv as mt, dw as dt, dx as ut, dy as bt, dz as pt, dA as gt } from "./header-CKvu3NO_.js";
4
+ import { M as Vt } from "./index-Djx9iQNe.js";
5
+ import { d as e } from "./features-animation-DdCMs_MW.js";
6
+ const o = {
5
7
  ...e,
6
8
  ...s,
7
9
  ...a
8
10
  };
9
11
  export {
10
- n as AnimatePresence,
11
- c as AsyncMotionValueAnimation,
12
- l as DOMKeyframesResolver,
12
+ c as AnimatePresence,
13
+ l as AsyncMotionValueAnimation,
14
+ m as DOMKeyframesResolver,
13
15
  d as DOMVisualElement,
14
- m as DocumentProjectionNode,
15
- u as Feature,
16
- b as FlatTree,
17
- p as HTMLProjectionNode,
18
- g as HTMLVisualElement,
19
- x as JSAnimation,
20
- V as KeyframeResolver,
21
- f as LayoutGroupContext,
22
- T as LazyMotion,
23
- y as MotionConfig,
16
+ u as DocumentProjectionNode,
17
+ b as Feature,
18
+ p as FlatTree,
19
+ g as HTMLProjectionNode,
20
+ x as HTMLVisualElement,
21
+ V as JSAnimation,
22
+ f as KeyframeResolver,
23
+ T as LayoutGroupContext,
24
+ y as LazyMotion,
25
+ Vt as MotionConfig,
24
26
  D as MotionConfigContext,
25
27
  A as MotionContext,
26
28
  S as MotionGlobalConfig,
27
29
  v as MotionValue,
28
30
  P as NativeAnimation,
29
- E as NativeAnimationExtended,
30
- M as NodeStack,
31
- C as PopChild,
32
- h as PresenceChild,
31
+ M as NativeAnimationExtended,
32
+ E as NodeStack,
33
+ h as PopChild,
34
+ C as PresenceChild,
33
35
  B as PresenceContext,
34
36
  O as SVGVisualElement,
35
37
  I as SubscriptionManager,
@@ -39,8 +41,8 @@ export {
39
41
  R as addDomEvent,
40
42
  F as addPointerEvent,
41
43
  k as addPointerInfo,
42
- w as addUniqueItem,
43
- j as addValueToWillChange,
44
+ j as addUniqueItem,
45
+ w as addValueToWillChange,
44
46
  z as alpha,
45
47
  q as analyseComplexValue,
46
48
  K as animateMotionValue,
@@ -64,8 +66,8 @@ export {
64
66
  na as backOut,
65
67
  ca as boxEquals,
66
68
  la as boxEqualsRounded,
67
- da as buildHTMLStyles,
68
- ma as buildProjectionTransform,
69
+ ma as buildHTMLStyles,
70
+ da as buildProjectionTransform,
69
71
  ua as buildSVGAttrs,
70
72
  ba as buildSVGPath,
71
73
  pa as buildTransform,
@@ -80,10 +82,10 @@ export {
80
82
  Sa as calcRelativePosition,
81
83
  va as camelCaseAttributes,
82
84
  Pa as camelToDash,
83
- Ea as cancelFrame,
84
- Ma as checkVariantsDidChange,
85
- Ca as circIn,
86
- ha as circInOut,
85
+ Ma as cancelFrame,
86
+ Ea as checkVariantsDidChange,
87
+ ha as circIn,
88
+ Ca as circInOut,
87
89
  Ba as circOut,
88
90
  Oa as clamp,
89
91
  Ia as cleanDirtyNodes,
@@ -93,8 +95,8 @@ export {
93
95
  Ra as containsCSSVariable,
94
96
  Fa as convertBoundingBoxToBox,
95
97
  ka as convertBoxToBoundingBox,
96
- wa as convertOffsetToTimes,
97
- ja as copyAxisDeltaInto,
98
+ ja as convertOffsetToTimes,
99
+ wa as copyAxisDeltaInto,
98
100
  za as copyAxisInto,
99
101
  qa as copyBoxInto,
100
102
  Ka as correctBorderRadius,
@@ -119,9 +121,9 @@ export {
119
121
  cs as distance,
120
122
  ls as distance2D,
121
123
  e as domAnimation,
122
- t as domMax,
123
- ds as eachAxis,
124
- ms as easeIn,
124
+ o as domMax,
125
+ ms as eachAxis,
126
+ ds as easeIn,
125
127
  us as easeInOut,
126
128
  bs as easeOut,
127
129
  ps as easingDefinitionToFunction,
@@ -136,10 +138,10 @@ export {
136
138
  Ss as frameSteps,
137
139
  vs as generateLinearEasing,
138
140
  Ps as getAnimatableNone,
139
- Es as getDefaultTransition,
140
- Ms as getDefaultValueType,
141
- Cs as getFeatureDefinitions,
142
- hs as getFinalKeyframe,
141
+ Ms as getDefaultTransition,
142
+ Es as getDefaultValueType,
143
+ hs as getFeatureDefinitions,
144
+ Cs as getFinalKeyframe,
143
145
  Bs as getMixer,
144
146
  Os as getOptimisedAppearId,
145
147
  Is as getValueAsType,
@@ -149,8 +151,8 @@ export {
149
151
  Rs as globalProjectionState,
150
152
  Fs as has2DTranslate,
151
153
  ks as hasReducedMotionListener,
152
- ws as hasScale,
153
- js as hasTransform,
154
+ js as hasScale,
155
+ ws as hasTransform,
154
156
  zs as hex,
155
157
  qs as hover,
156
158
  Ks as hsla,
@@ -174,8 +176,8 @@ export {
174
176
  ne as isElementTextInput,
175
177
  ce as isForcedMotionValue,
176
178
  le as isGenerator,
177
- de as isHTMLElement,
178
- me as isKeyframesTarget,
179
+ me as isHTMLElement,
180
+ de as isKeyframesTarget,
179
181
  ue as isMotionValue,
180
182
  be as isNear,
181
183
  pe as isNodeOrChild,
@@ -190,10 +192,10 @@ export {
190
192
  Se as isVariantLabel,
191
193
  ve as isVariantNode,
192
194
  Pe as isWillChangeMotionValue,
193
- Ee as isZeroValueString,
194
- Me as keyframes,
195
- Ce as m,
196
- he as makeAnimationInstant,
195
+ Me as isZeroValueString,
196
+ Ee as keyframes,
197
+ he as m,
198
+ Ce as makeAnimationInstant,
197
199
  Be as makeUseVisualState,
198
200
  Oe as mapEasingToNativeEasing,
199
201
  Ie as maxGeneratorDuration,
@@ -203,8 +205,8 @@ export {
203
205
  Re as microtask,
204
206
  Fe as millisecondsToSeconds,
205
207
  ke as mirrorEasing,
206
- we as mix,
207
- je as mixArray,
208
+ je as mix,
209
+ we as mixArray,
208
210
  ze as mixColor,
209
211
  qe as mixComplex,
210
212
  Ke as mixImmediate,
@@ -228,8 +230,8 @@ export {
228
230
  ni as positionalKeys,
229
231
  ci as prefersReducedMotion,
230
232
  li as press,
231
- di as progress,
232
- mi as progressPercentage,
233
+ mi as progress,
234
+ di as progressPercentage,
233
235
  ui as propagateDirtyNodes,
234
236
  bi as px,
235
237
  pi as readTransformValue,
@@ -244,10 +246,10 @@ export {
244
246
  Si as resolveElements,
245
247
  vi as resolveMotionValue,
246
248
  Pi as resolveTransition,
247
- Ei as resolveVariant,
248
- Mi as resolveVariantFromProps,
249
- Ci as reverseEasing,
250
- hi as rgbUnit,
249
+ Mi as resolveVariant,
250
+ Ei as resolveVariantFromProps,
251
+ hi as reverseEasing,
252
+ Ci as rgbUnit,
251
253
  Bi as rgba,
252
254
  Oi as rootProjectionNode,
253
255
  Ii as scale,
@@ -257,8 +259,8 @@ export {
257
259
  Ri as scrapeSVGMotionValuesFromProps,
258
260
  Fi as secondsToMilliseconds,
259
261
  ki as setDragLock,
260
- wi as setFeatureDefinitions,
261
- ji as setStyle,
262
+ ji as setFeatureDefinitions,
263
+ wi as setStyle,
262
264
  zi as setTarget,
263
265
  qi as spring,
264
266
  Ki as startWaapiAnimation,
@@ -282,8 +284,8 @@ export {
282
284
  nt as usePresence,
283
285
  ct as variantPriorityOrder,
284
286
  lt as variantProps,
285
- dt as velocityPerSecond,
286
- mt as vh,
287
+ mt as velocityPerSecond,
288
+ dt as vh,
287
289
  ut as visualElementStore,
288
290
  bt as vw,
289
291
  pt as warnOnce,
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import { j as e } from "./color-picker-BOgYy7CG.js";
3
+ import { useContext as a, useMemo as m } from "react";
4
+ import { dB as u, M as o, cT as x, dC as d } from "./header-CKvu3NO_.js";
5
+ function M({ children: r, isValidProp: s, ...t }) {
6
+ s && u(s);
7
+ const n = a(o);
8
+ t = { ...n, ...t }, t.transition = x(t.transition, n.transition), t.isStatic = d(() => t.isStatic);
9
+ const i = m(() => t, [
10
+ JSON.stringify(t.transition),
11
+ t.transformPagePoint,
12
+ t.reducedMotion,
13
+ t.skipAnimations
14
+ ]);
15
+ return e.jsx(o.Provider, { value: i, children: r });
16
+ }
17
+ export {
18
+ M
19
+ };
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import { d as a } from "./features-animation-DdCMs_MW.js";
3
+ var e = a;
4
+ export {
5
+ e as default
6
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./features-animation-DktJr1YK.cjs");var t=e.domAnimation;exports.default=t;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@js-empire/emperor-ui",
3
3
  "description": "They provide the atoms, we provide the empire.",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "author": "JS Empire - Mustafa Alhasanat",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
- "main": "dist/emperor-ui-umd.cjs",
8
+ "main": "dist/emperor-ui.cjs",
9
9
  "module": "dist/emperor-ui.js",
10
10
  "types": "dist/index.d.ts",
11
11
  "keywords": [],
@@ -13,7 +13,12 @@
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
15
  "import": "./dist/emperor-ui.js",
16
- "require": "./dist/emperor-ui-umd.cjs"
16
+ "require": "./dist/emperor-ui.cjs"
17
+ },
18
+ "./color-picker": {
19
+ "types": "./dist/color-picker.d.ts",
20
+ "import": "./dist/color-picker.js",
21
+ "require": "./dist/color-picker.cjs"
17
22
  },
18
23
  "./globals.css": "./dist/globals.css"
19
24
  },
@@ -0,0 +1,4 @@
1
+ "use client";
2
+
3
+ export { ColorPicker } from "@/components/atoms/color-picker/color-picker";
4
+ export type { ColorPickerProps, ColorPickerInputType } from "@/types";
@@ -0,0 +1 @@
1
+ export * from "./color-picker";
package/vite.config.ts CHANGED
@@ -25,9 +25,16 @@ export default defineConfig({
25
25
  },
26
26
  build: {
27
27
  lib: {
28
- entry: path.resolve(__dirname, "./src/index.ts"),
28
+ entry: {
29
+ "emperor-ui": path.resolve(__dirname, "./src/index.ts"),
30
+ "color-picker": path.resolve(
31
+ __dirname,
32
+ "./src/entries/color-picker.ts",
33
+ ),
34
+ },
29
35
  name: "EmperorUI",
30
- fileName: "emperor-ui",
36
+ fileName: (format, entryName) =>
37
+ `${entryName}.${format === "es" ? "js" : "cjs"}`,
31
38
  },
32
39
  cssCodeSplit: false,
33
40
  rollupOptions: {
@@ -1,8 +0,0 @@
1
- "use client";
2
- import { j as r, P as t, F as i } from "./index-N24la87s.js";
3
- function s({ ...e }) {
4
- return e?.inputType === "preset" ? /* @__PURE__ */ r.jsx(t, { ...e }) : /* @__PURE__ */ r.jsx(i, { ...e });
5
- }
6
- export {
7
- s as ColorPicker
8
- };