@destyler/color-picker 0.0.7-beta.2 → 0.0.7-beta.4
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.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +4 -4
- package/package.json +10 -10
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
-
import {
|
|
3
|
-
import { Color, ColorFormat,
|
|
2
|
+
import { CommonProperties, DirectionProperty, Orientation, PropTypes, RequiredBy, NormalizeProps } from '@zag-js/types';
|
|
3
|
+
import { ColorChannel, Color, ColorFormat, ColorAxes } from '@zag-js/color-utils';
|
|
4
4
|
export { Color, ColorAxes, ColorChannel, ColorFormat, ColorType } from '@zag-js/color-utils';
|
|
5
5
|
import * as _zag_js_core from '@zag-js/core';
|
|
6
|
-
import {
|
|
6
|
+
import { StateMachine, Machine } from '@zag-js/core';
|
|
7
7
|
import { InteractOutsideHandlers } from '@zag-js/dismissable';
|
|
8
8
|
export { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/dismissable';
|
|
9
9
|
import { PositioningOptions } from '@zag-js/popper';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
-
import {
|
|
3
|
-
import { Color, ColorFormat,
|
|
2
|
+
import { CommonProperties, DirectionProperty, Orientation, PropTypes, RequiredBy, NormalizeProps } from '@zag-js/types';
|
|
3
|
+
import { ColorChannel, Color, ColorFormat, ColorAxes } from '@zag-js/color-utils';
|
|
4
4
|
export { Color, ColorAxes, ColorChannel, ColorFormat, ColorType } from '@zag-js/color-utils';
|
|
5
5
|
import * as _zag_js_core from '@zag-js/core';
|
|
6
|
-
import {
|
|
6
|
+
import { StateMachine, Machine } from '@zag-js/core';
|
|
7
7
|
import { InteractOutsideHandlers } from '@zag-js/dismissable';
|
|
8
8
|
export { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/dismissable';
|
|
9
9
|
import { PositioningOptions } from '@zag-js/popper';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
-
import {
|
|
3
|
-
import { Color, ColorFormat,
|
|
2
|
+
import { CommonProperties, DirectionProperty, Orientation, PropTypes, RequiredBy, NormalizeProps } from '@zag-js/types';
|
|
3
|
+
import { ColorChannel, Color, ColorFormat, ColorAxes } from '@zag-js/color-utils';
|
|
4
4
|
export { Color, ColorAxes, ColorChannel, ColorFormat, ColorType } from '@zag-js/color-utils';
|
|
5
5
|
import * as _zag_js_core from '@zag-js/core';
|
|
6
|
-
import {
|
|
6
|
+
import { StateMachine, Machine } from '@zag-js/core';
|
|
7
7
|
import { InteractOutsideHandlers } from '@zag-js/dismissable';
|
|
8
8
|
export { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/dismissable';
|
|
9
9
|
import { PositioningOptions } from '@zag-js/popper';
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createAnatomy } from '@zag-js/anatomy';
|
|
2
|
-
import { parseColor,
|
|
3
|
-
import { getRelativePoint,
|
|
4
|
-
import { createScope, queryAll, dataAttr,
|
|
2
|
+
import { parseColor, getColorAreaGradient, normalizeColor } from '@zag-js/color-utils';
|
|
3
|
+
import { getRelativePoint, getEventStep, getEventKey, isLeftClick, isModifierKey, getEventPoint, trackPointerMove } from '@zag-js/dom-event';
|
|
4
|
+
import { createScope, queryAll, dataAttr, visuallyHiddenStyle, query, raf, getInitialFocus } from '@zag-js/dom-query';
|
|
5
5
|
import { getPlacementStyles, getPlacement } from '@zag-js/popper';
|
|
6
|
-
import {
|
|
6
|
+
import { guards, createMachine } from '@zag-js/core';
|
|
7
7
|
import { trackDismissableElement } from '@zag-js/dismissable';
|
|
8
8
|
import { trackFormControl, dispatchInputValueEvent } from '@zag-js/form-utils';
|
|
9
9
|
import { disableTextSelection } from '@zag-js/text-selection';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/color-picker",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.7-beta.
|
|
4
|
+
"version": "0.0.7-beta.4",
|
|
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",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@zag-js/anatomy": "^0.
|
|
24
|
-
"@zag-js/color-utils": "^0.
|
|
25
|
-
"@zag-js/core": "^0.
|
|
26
|
-
"@zag-js/dismissable": "^0.
|
|
23
|
+
"@zag-js/anatomy": "^0.82.1",
|
|
24
|
+
"@zag-js/color-utils": "^0.82.1",
|
|
25
|
+
"@zag-js/core": "^0.82.1",
|
|
26
|
+
"@zag-js/dismissable": "^0.82.1",
|
|
27
27
|
"@zag-js/dom-event": "^0.80.0",
|
|
28
|
-
"@zag-js/dom-query": "^0.
|
|
29
|
-
"@zag-js/form-utils": "^0.
|
|
30
|
-
"@zag-js/popper": "^0.
|
|
28
|
+
"@zag-js/dom-query": "^0.82.1",
|
|
29
|
+
"@zag-js/form-utils": "^0.81.1",
|
|
30
|
+
"@zag-js/popper": "^0.82.1",
|
|
31
31
|
"@zag-js/text-selection": "^0.80.0",
|
|
32
|
-
"@zag-js/types": "^0.
|
|
33
|
-
"@zag-js/utils": "^0.
|
|
32
|
+
"@zag-js/types": "^0.82.1",
|
|
33
|
+
"@zag-js/utils": "^0.82.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"clear": "rimraf ./dist",
|