ai-design-system 0.1.17 → 0.1.18

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.
@@ -20,7 +20,7 @@ import type {
20
20
  FormFieldOption,
21
21
  FormFieldType,
22
22
  FormFieldValue,
23
- } from "ui-schema-contracts"
23
+ } from "design-schema"
24
24
 
25
25
  export type FormReportsFieldType = FormFieldType
26
26
 
@@ -1,11 +1,10 @@
1
1
  import type { DashboardRow } from "@/components/composites/DataTable"
2
2
  import {
3
- dynamicTableSchema,
4
3
  formSchema,
5
- type DynamicTableSchema,
6
4
  type FormFieldDefinition,
7
5
  type FormSchema,
8
- } from "ui-schema-contracts"
6
+ } from "design-schema"
7
+ import { dynamicTableSchema, type DynamicTableSchema } from "ui-schema-contracts"
9
8
 
10
9
  const dashboardTableSchemaInput = {
11
10
  schemaVersion: "1",
@@ -5,11 +5,10 @@ import type {
5
5
  FormReportsRowAction,
6
6
  } from "@/components/composites/FormReports"
7
7
  import {
8
- dynamicTableSchema,
9
8
  formSchema,
10
- type DynamicTableSchema,
11
9
  type FormSchema,
12
- } from "ui-schema-contracts"
10
+ } from "design-schema"
11
+ import { dynamicTableSchema, type DynamicTableSchema } from "ui-schema-contracts"
13
12
 
14
13
  export const formReportsEntityName = "Feature Flag"
15
14
 
package/dist/index.cjs CHANGED
@@ -48,6 +48,7 @@ var zod = require('zod');
48
48
  var uiSchemaContracts = require('ui-schema-contracts');
49
49
  var react$2 = require('@xyflow/react');
50
50
  require('@xyflow/react/dist/style.css');
51
+ var designSchema = require('design-schema');
51
52
 
52
53
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
53
54
 
@@ -10186,7 +10187,7 @@ var dashboardCreateFormSchemaInput = {
10186
10187
  }
10187
10188
  ]
10188
10189
  };
10189
- uiSchemaContracts.formSchema.parse(dashboardCreateFormSchemaInput).fields;
10190
+ designSchema.formSchema.parse(dashboardCreateFormSchemaInput).fields;
10190
10191
  function buildInitialValues2(fields) {
10191
10192
  return fields.reduce((acc, field) => {
10192
10193
  var _a;
@@ -10338,7 +10339,7 @@ var formReportsFormSchemaInput = {
10338
10339
  }
10339
10340
  ]
10340
10341
  };
10341
- uiSchemaContracts.formSchema.parse(formReportsFormSchemaInput).fields;
10342
+ designSchema.formSchema.parse(formReportsFormSchemaInput).fields;
10342
10343
  var formReportsTableSchemaInput = {
10343
10344
  schemaVersion: "1",
10344
10345
  rowKey: "id",