@aviala-design/spiral 3.0.2 → 3.1.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/form.cjs CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkCXGFGGGIcjs = require('./chunk-CXGFGGGI.cjs');
8
+ var _chunkQ6UMVIGMcjs = require('./chunk-Q6UMVIGM.cjs');
9
9
 
10
10
  // src/components/form-field.tsx
11
11
 
@@ -47,7 +47,7 @@ var FormFieldLayout = _react.forwardRef.call(void 0,
47
47
  htmlFor,
48
48
  className: "aviala-form__label aviala-form__label--control",
49
49
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
50
- _chunkCXGFGGGIcjs.Typeface,
50
+ _chunkQ6UMVIGMcjs.Typeface,
51
51
  {
52
52
  id: labelId,
53
53
  content: "textCaption",
@@ -60,7 +60,7 @@ var FormFieldLayout = _react.forwardRef.call(void 0,
60
60
  )
61
61
  }
62
62
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
63
- _chunkCXGFGGGIcjs.Typeface,
63
+ _chunkQ6UMVIGMcjs.Typeface,
64
64
  {
65
65
  id: labelId,
66
66
  className: "aviala-form__label",
@@ -76,14 +76,14 @@ var FormFieldLayout = _react.forwardRef.call(void 0,
76
76
  "div",
77
77
  {
78
78
  ref,
79
- className: _chunkCXGFGGGIcjs.cn.call(void 0, "aviala-form", className),
79
+ className: _chunkQ6UMVIGMcjs.cn.call(void 0, "aviala-form", className),
80
80
  "data-direction": direction,
81
81
  "aria-labelledby": hasLabel ? labelId : void 0,
82
82
  ...props,
83
83
  children: [
84
84
  labelNode,
85
85
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "aviala-form__content", children: [
86
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCXGFGGGIcjs.FormFieldControlContext.Provider, { value: controlContext, children }),
86
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6UMVIGMcjs.FormFieldControlContext.Provider, { value: controlContext, children }),
87
87
  error ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
88
88
  "div",
89
89
  {
@@ -100,7 +100,7 @@ var FormFieldLayout = _react.forwardRef.call(void 0,
100
100
  }
101
101
  ),
102
102
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
103
- _chunkCXGFGGGIcjs.Typography,
103
+ _chunkQ6UMVIGMcjs.Typography,
104
104
  {
105
105
  level: "caption",
106
106
  as: "p",
@@ -122,7 +122,7 @@ var FormFieldLayout = _react.forwardRef.call(void 0,
122
122
  }
123
123
  ),
124
124
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
125
- _chunkCXGFGGGIcjs.Typography,
125
+ _chunkQ6UMVIGMcjs.Typography,
126
126
  {
127
127
  level: "caption",
128
128
  as: "p",
@@ -183,5 +183,5 @@ var Form = _reacthookform.FormProvider;
183
183
 
184
184
 
185
185
 
186
- exports.Form = Form; exports.FormField = FormField; exports.useResolvedControlError = _chunkCXGFGGGIcjs.useResolvedControlError;
186
+ exports.Form = Form; exports.FormField = FormField; exports.useResolvedControlError = _chunkQ6UMVIGMcjs.useResolvedControlError;
187
187
  //# sourceMappingURL=form.cjs.map
package/dist/form.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  Typography,
6
6
  cn,
7
7
  useResolvedControlError
8
- } from "./chunk-XVABQUTX.js";
8
+ } from "./chunk-G7RVHJIV.js";
9
9
 
10
10
  // src/components/form-field.tsx
11
11
  import {