@destyler/color-picker 0.0.7-beta.1 → 0.0.7-beta.3

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 CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as _zag_js_anatomy from '@zag-js/anatomy';
2
- import { RequiredBy, Orientation, PropTypes, CommonProperties, DirectionProperty, NormalizeProps } from '@zag-js/types';
3
- import { Color, ColorFormat, ColorChannel, ColorAxes } from '@zag-js/color-utils';
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 { Machine, StateMachine } from '@zag-js/core';
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 { RequiredBy, Orientation, PropTypes, CommonProperties, DirectionProperty, NormalizeProps } from '@zag-js/types';
3
- import { Color, ColorFormat, ColorChannel, ColorAxes } from '@zag-js/color-utils';
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 { Machine, StateMachine } from '@zag-js/core';
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 { RequiredBy, Orientation, PropTypes, CommonProperties, DirectionProperty, NormalizeProps } from '@zag-js/types';
3
- import { Color, ColorFormat, ColorChannel, ColorAxes } from '@zag-js/color-utils';
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 { Machine, StateMachine } from '@zag-js/core';
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, normalizeColor, getColorAreaGradient } from '@zag-js/color-utils';
3
- import { getRelativePoint, isLeftClick, isModifierKey, getEventPoint, getEventStep, getEventKey, trackPointerMove } from '@zag-js/dom-event';
4
- import { createScope, queryAll, dataAttr, query, visuallyHiddenStyle, raf, getInitialFocus } from '@zag-js/dom-query';
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 { createMachine, guards } from '@zag-js/core';
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.1",
4
+ "version": "0.0.7-beta.3",
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.80.0",
24
- "@zag-js/color-utils": "^0.80.0",
25
- "@zag-js/core": "^0.80.0",
26
- "@zag-js/dismissable": "^0.80.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.80.0",
29
- "@zag-js/form-utils": "^0.80.0",
30
- "@zag-js/popper": "^0.80.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.80.0",
33
- "@zag-js/utils": "^0.80.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",