@zag-js/slider 0.0.0-dev-20221121143513 → 0.0.0-dev-20221122060649

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.ts CHANGED
@@ -25,6 +25,10 @@ declare type PublicContext = DirectionProperty & CommonProperties & {
25
25
  * The name associated with the slider (when used in a form)
26
26
  */
27
27
  name?: string;
28
+ /**
29
+ * The associate form of the underlying input element.
30
+ */
31
+ form?: string;
28
32
  /**
29
33
  * Whether the slider is disabled
30
34
  */
package/dist/index.js CHANGED
@@ -806,6 +806,7 @@ function connect(state2, send, normalize) {
806
806
  type: "text",
807
807
  defaultValue: state2.context.value,
808
808
  name: state2.context.name,
809
+ form: state2.context.form,
809
810
  id: dom.getInputId(state2.context),
810
811
  hidden: true
811
812
  }),
package/dist/index.mjs CHANGED
@@ -778,6 +778,7 @@ function connect(state2, send, normalize) {
778
778
  type: "text",
779
779
  defaultValue: state2.context.value,
780
780
  name: state2.context.name,
781
+ form: state2.context.form,
781
782
  id: dom.getInputId(state2.context),
782
783
  hidden: true
783
784
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/slider",
3
- "version": "0.0.0-dev-20221121143513",
3
+ "version": "0.0.0-dev-20221122060649",
4
4
  "description": "Core logic for the slider widget implemented as a state machine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@zag-js/dom-utils": "0.2.1",
38
- "@zag-js/form-utils": "0.0.0-dev-20221121143513",
38
+ "@zag-js/form-utils": "0.0.0-dev-20221122060649",
39
39
  "@zag-js/utils": "0.3.1",
40
40
  "@zag-js/number-utils": "0.2.0"
41
41
  },