@zag-js/slider 0.0.0-dev-20240216185224 → 0.0.0-dev-20240218175520

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _zag_js_anatomy from '@zag-js/anatomy';
2
- import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, Context, NormalizeProps } from '@zag-js/types';
2
+ import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, NormalizeProps } from '@zag-js/types';
3
3
  import * as _zag_js_core from '@zag-js/core';
4
4
  import { StateMachine } from '@zag-js/core';
5
5
 
@@ -157,7 +157,8 @@ type ComputedContext = Readonly<{
157
157
  */
158
158
  isDisabled: boolean;
159
159
  }>;
160
- type PrivateContext = Context<{}>;
160
+ interface PrivateContext {
161
+ }
161
162
  interface MachineContext extends PublicContext, ComputedContext, PrivateContext {
162
163
  }
163
164
  interface MachineState {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _zag_js_anatomy from '@zag-js/anatomy';
2
- import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, Context, NormalizeProps } from '@zag-js/types';
2
+ import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, NormalizeProps } from '@zag-js/types';
3
3
  import * as _zag_js_core from '@zag-js/core';
4
4
  import { StateMachine } from '@zag-js/core';
5
5
 
@@ -157,7 +157,8 @@ type ComputedContext = Readonly<{
157
157
  */
158
158
  isDisabled: boolean;
159
159
  }>;
160
- type PrivateContext = Context<{}>;
160
+ interface PrivateContext {
161
+ }
161
162
  interface MachineContext extends PublicContext, ComputedContext, PrivateContext {
162
163
  }
163
164
  interface MachineState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/slider",
3
- "version": "0.0.0-dev-20240216185224",
3
+ "version": "0.0.0-dev-20240218175520",
4
4
  "description": "Core logic for the slider widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -28,15 +28,15 @@
28
28
  "url": "https://github.com/chakra-ui/zag/issues"
29
29
  },
30
30
  "dependencies": {
31
- "@zag-js/anatomy": "0.0.0-dev-20240216185224",
32
- "@zag-js/form-utils": "0.0.0-dev-20240216185224",
33
- "@zag-js/core": "0.0.0-dev-20240216185224",
34
- "@zag-js/dom-query": "0.0.0-dev-20240216185224",
35
- "@zag-js/dom-event": "0.0.0-dev-20240216185224",
36
- "@zag-js/utils": "0.0.0-dev-20240216185224",
37
- "@zag-js/numeric-range": "0.0.0-dev-20240216185224",
38
- "@zag-js/element-size": "0.0.0-dev-20240216185224",
39
- "@zag-js/types": "0.0.0-dev-20240216185224"
31
+ "@zag-js/anatomy": "0.0.0-dev-20240218175520",
32
+ "@zag-js/core": "0.0.0-dev-20240218175520",
33
+ "@zag-js/form-utils": "0.0.0-dev-20240218175520",
34
+ "@zag-js/dom-query": "0.0.0-dev-20240218175520",
35
+ "@zag-js/dom-event": "0.0.0-dev-20240218175520",
36
+ "@zag-js/utils": "0.0.0-dev-20240218175520",
37
+ "@zag-js/numeric-range": "0.0.0-dev-20240218175520",
38
+ "@zag-js/element-size": "0.0.0-dev-20240218175520",
39
+ "@zag-js/types": "0.0.0-dev-20240218175520"
40
40
  },
41
41
  "devDependencies": {
42
42
  "clean-package": "2.2.0"
@@ -1,5 +1,5 @@
1
1
  import type { StateMachine as S } from "@zag-js/core"
2
- import type { CommonProperties, Context, DirectionProperty, PropTypes, RequiredBy } from "@zag-js/types"
2
+ import type { CommonProperties, DirectionProperty, PropTypes, RequiredBy } from "@zag-js/types"
3
3
 
4
4
  /* -----------------------------------------------------------------------------
5
5
  * Callback details
@@ -164,7 +164,7 @@ type ComputedContext = Readonly<{
164
164
  isDisabled: boolean
165
165
  }>
166
166
 
167
- type PrivateContext = Context<{
167
+ interface PrivateContext {
168
168
  /**
169
169
  * @internal
170
170
  * The active index of the range slider. This represents
@@ -176,7 +176,7 @@ type PrivateContext = Context<{
176
176
  * Whether the slider fieldset is disabled
177
177
  */
178
178
  fieldsetDisabled: boolean
179
- }>
179
+ }
180
180
 
181
181
  export interface MachineContext extends PublicContext, ComputedContext, PrivateContext {}
182
182