@destyler/color-picker 0.3.0 → 0.3.1
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/dist/index.d.mts +2 -2
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, Point
|
|
|
4
4
|
import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
|
|
5
5
|
import { CommonProperties, DirectionProperty, NormalizeProps, Orientation, PropTypes, RequiredBy } from "@destyler/types";
|
|
6
6
|
//#region src/anatomy.d.ts
|
|
7
|
-
export declare const anatomy:
|
|
7
|
+
export declare const anatomy: import("@destyler/anatomy").AnatomyInstance<"root" | "label" | "control" | "trigger" | "positioner" | "content" | "area" | "areaThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/types.d.ts
|
|
10
10
|
type ExtendedColorChannel = ColorChannel | 'hex' | 'css';
|
|
@@ -331,7 +331,7 @@ interface MachineApi<T extends PropTypes = PropTypes> {
|
|
|
331
331
|
export declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
|
|
332
332
|
//#endregion
|
|
333
333
|
//#region src/machine.d.ts
|
|
334
|
-
export declare function machine(userContext: UserDefinedContext):
|
|
334
|
+
export declare function machine(userContext: UserDefinedContext): import("@destyler/xstate").Machine<MachineContext, MachineState, import("@destyler/xstate").AnyEventObject>;
|
|
335
335
|
//#endregion
|
|
336
336
|
//#region src/parse.d.ts
|
|
337
337
|
export declare function parse(colorString: string): Color$1;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/color-picker",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"description": "a component that allows users to select a color from a color picker.",
|
|
6
6
|
"author": "Elone Hoo <elonehoo@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"node": ">=22.22.3"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@destyler/anatomy": "0.3.
|
|
29
|
-
"@destyler/color": "0.3.
|
|
30
|
-
"@destyler/dismissable": "0.3.
|
|
31
|
-
"@destyler/dom": "0.3.
|
|
32
|
-
"@destyler/popper": "0.3.
|
|
33
|
-
"@destyler/types": "0.3.
|
|
34
|
-
"@destyler/utils": "0.3.
|
|
35
|
-
"@destyler/xstate": "0.3.
|
|
28
|
+
"@destyler/anatomy": "0.3.1",
|
|
29
|
+
"@destyler/color": "0.3.1",
|
|
30
|
+
"@destyler/dismissable": "0.3.1",
|
|
31
|
+
"@destyler/dom": "0.3.1",
|
|
32
|
+
"@destyler/popper": "0.3.1",
|
|
33
|
+
"@destyler/types": "0.3.1",
|
|
34
|
+
"@destyler/utils": "0.3.1",
|
|
35
|
+
"@destyler/xstate": "0.3.1"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|