@platned/ui 0.10.0 → 0.10.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/index.cjs CHANGED
@@ -160,6 +160,7 @@ __export(src_exports, {
160
160
  FileRow: () => FileRow,
161
161
  FilterBar: () => FilterBar,
162
162
  Flex: () => Flex,
163
+ Form: () => Form,
163
164
  FormCard: () => FormCard,
164
165
  FormCardFooter: () => FormCardFooter,
165
166
  FormCardHeader: () => FormCardHeader,
@@ -3871,10 +3872,10 @@ function FormCardFooter({
3871
3872
  );
3872
3873
  }
3873
3874
 
3874
- // src/components/forms/schema-form.tsx
3875
+ // src/components/forms/form.tsx
3875
3876
  var import_react35 = require("react");
3876
3877
 
3877
- // src/components/forms/schema-form-fields.tsx
3878
+ // src/components/forms/form-fields.tsx
3878
3879
  var import_react34 = require("react");
3879
3880
  var import_clsx33 = __toESM(require("clsx"), 1);
3880
3881
  var import_lucide_react13 = require("lucide-react");
@@ -4732,7 +4733,7 @@ function TimeZoneSelect({
4732
4733
  );
4733
4734
  }
4734
4735
 
4735
- // src/components/forms/schema-form-fields.tsx
4736
+ // src/components/forms/form-fields.tsx
4736
4737
  var import_jsx_runtime35 = require("react/jsx-runtime");
4737
4738
  function resolve(maybe, values) {
4738
4739
  return typeof maybe === "function" ? maybe(values) : maybe;
@@ -5176,7 +5177,7 @@ function formatDate(iso) {
5176
5177
  return new Intl.DateTimeFormat(void 0, { dateStyle: "medium" }).format(date);
5177
5178
  }
5178
5179
 
5179
- // src/components/forms/schema-form.tsx
5180
+ // src/components/forms/form.tsx
5180
5181
  var import_jsx_runtime36 = require("react/jsx-runtime");
5181
5182
  var LAYOUT = {
5182
5183
  grid: {
@@ -5200,7 +5201,7 @@ function clean(errors) {
5200
5201
  return out;
5201
5202
  }
5202
5203
  var defaultRequired = (field) => `${field.label ?? "This field"} is required.`;
5203
- function SchemaForm({
5204
+ function Form({
5204
5205
  fields: fieldsProp,
5205
5206
  title,
5206
5207
  defaultValues,
@@ -5539,6 +5540,9 @@ function useDependentOptions(parentValue, load) {
5539
5540
  };
5540
5541
  }
5541
5542
 
5543
+ // src/components/forms/form-deprecated.ts
5544
+ var SchemaForm = Form;
5545
+
5542
5546
  // src/components/status/badge.tsx
5543
5547
  var import_clsx34 = __toESM(require("clsx"), 1);
5544
5548
  var import_lucide_react14 = require("lucide-react");
@@ -14119,6 +14123,7 @@ function AuroraBackdrop() {
14119
14123
  FileRow,
14120
14124
  FilterBar,
14121
14125
  Flex,
14126
+ Form,
14122
14127
  FormCard,
14123
14128
  FormCardFooter,
14124
14129
  FormCardHeader,