@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.
- package/README.md +6 -14
- package/dist/color-picker-BOgYy7CG.js +280 -0
- package/dist/color-picker-TyD80Z4B.cjs +6 -0
- package/dist/color-picker-impl-DA7UeGtW.cjs +1 -0
- package/dist/color-picker-impl-DjkdN7hE.js +9 -0
- package/dist/color-picker.cjs +1 -0
- package/dist/color-picker.d.ts +21 -0
- package/dist/color-picker.js +5 -0
- package/dist/emperor-ui.cjs +15 -0
- package/dist/emperor-ui.js +20257 -157
- package/dist/features-animation-DdCMs_MW.js +10 -0
- package/dist/features-animation-DktJr1YK.cjs +1 -0
- package/dist/header-CKvu3NO_.js +39917 -0
- package/dist/header-z5lsi6Rz.cjs +58 -0
- package/dist/index-BIu8oeWo.js +6 -0
- package/dist/index-BJlb9Jlo.cjs +1 -0
- package/dist/index-BYU33Pd2.cjs +1 -0
- package/dist/index-CjoMpwTQ.cjs +1 -0
- package/dist/{index-DrsKwOSa.js → index-DSXll4zA.js} +59 -57
- package/dist/index-Djx9iQNe.js +19 -0
- package/dist/src-UW24ZMRV-De_K1Fe9.js +6 -0
- package/dist/src-UW24ZMRV-asCEYJY2.cjs +1 -0
- package/package.json +8 -3
- package/src/entries/color-picker.ts +4 -0
- package/src/entries/index.ts +1 -0
- package/vite.config.ts +9 -2
- package/dist/color-picker-impl-D4fYqmHw.js +0 -8
- package/dist/emperor-ui.umd.cjs +0 -77
- package/dist/index-DYyUdSUy.js +0 -6
- package/dist/index-N24la87s.js +0 -60203
- package/dist/src-UW24ZMRV-BO0l5GbB.js +0 -6
- /package/dist/{index.d.ts → emperor-ui.d.ts} +0 -0
|
@@ -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,
|
|
3
|
-
import { A as
|
|
4
|
-
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
c as AnimatePresence,
|
|
13
|
+
l as AsyncMotionValueAnimation,
|
|
14
|
+
m as DOMKeyframesResolver,
|
|
13
15
|
d as DOMVisualElement,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
43
|
-
|
|
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
|
-
|
|
68
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
97
|
-
|
|
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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
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
|
-
|
|
153
|
-
|
|
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
|
-
|
|
178
|
-
|
|
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
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
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
|
-
|
|
207
|
-
|
|
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
|
-
|
|
232
|
-
|
|
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
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
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
|
-
|
|
261
|
-
|
|
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
|
-
|
|
286
|
-
|
|
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 @@
|
|
|
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.
|
|
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
|
|
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
|
|
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 @@
|
|
|
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:
|
|
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:
|
|
36
|
+
fileName: (format, entryName) =>
|
|
37
|
+
`${entryName}.${format === "es" ? "js" : "cjs"}`,
|
|
31
38
|
},
|
|
32
39
|
cssCodeSplit: false,
|
|
33
40
|
rollupOptions: {
|