@epam/ai-dial-ui-kit 0.15.0-dev.7 → 0.15.0-dev.9

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.
Files changed (36) hide show
  1. package/README.md +1 -0
  2. package/dist/CHANGELOG.md +2 -0
  3. package/dist/{DateCellRenderer-4iMidqal.cjs → DateCellRenderer-Bu40QyHE.cjs} +1 -1
  4. package/dist/{DateCellRenderer-CTTAnQjB.cjs → DateCellRenderer-C3e61i75.cjs} +1 -1
  5. package/dist/JsonEditor-qv1Z0dLX.cjs +1 -0
  6. package/dist/{MarkdownEditor-C9-ZMRVi.cjs → MarkdownEditor-DHn2pYOJ.cjs} +1 -1
  7. package/dist/{MarkdownEditor-BzEbdj7R.cjs → MarkdownEditor-jQ8nDJfx.cjs} +1 -1
  8. package/dist/MarkdownEditorContainer-Bzcnoemw.cjs +1 -0
  9. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +16 -18
  10. package/dist/components/New/FilterChips/FilterChips.js +43 -0
  11. package/dist/components/New/FilterChips/constants.js +5 -0
  12. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +46 -31
  13. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +223 -135
  14. package/dist/components/SchemaRenderer/types.js +19 -8
  15. package/dist/components/SchemaRenderer/utils.js +121 -96
  16. package/dist/components-manifest.json +81 -3
  17. package/dist/constants/public-class-names.js +5 -0
  18. package/dist/dial-ui-kit.cjs +2 -2
  19. package/dist/dial-ui-kit.js +84 -82
  20. package/dist/editors.cjs +1 -1
  21. package/dist/file-manager.cjs +1 -1
  22. package/dist/grid.cjs +1 -1
  23. package/dist/index.css +1 -1
  24. package/dist/lazy-tfN4sKhq.cjs +1 -0
  25. package/dist/src/components/New/FilterChips/FilterChips.d.ts +69 -0
  26. package/dist/src/components/New/FilterChips/constants.d.ts +13 -0
  27. package/dist/src/components/SchemaRenderer/types.d.ts +11 -0
  28. package/dist/src/components/SchemaRenderer/utils.d.ts +5 -1
  29. package/dist/src/constants/public-class-names.d.ts +5 -0
  30. package/dist/src/index.d.ts +2 -0
  31. package/dist/{use-file-manager-tabs-DKmWaOlC.cjs → use-file-manager-tabs-9DWkp9IJ.cjs} +1 -1
  32. package/package.json +1 -1
  33. package/dist/JsonEditor-D2jSlRFi.cjs +0 -1
  34. package/dist/MarkdownEditorContainer-BvwJjkiZ.cjs +0 -1
  35. package/dist/editor-_174x-qy.cjs +0 -1
  36. package/dist/lazy-DM-7dL0Y.cjs +0 -1
@@ -80,6 +80,17 @@ export interface SchemaRendererTexts {
80
80
  selectTypePlaceholder: string;
81
81
  removeItemAriaLabel: string;
82
82
  removeFieldAriaLabel: string;
83
+ typeColumnHeader: string;
84
+ entryTypeString: string;
85
+ entryTypeNumber: string;
86
+ entryTypeBoolean: string;
87
+ entryTypeNull: string;
88
+ entryTypeObject: string;
89
+ entryTypeArray: string;
90
+ entryTypeChangeWarning: string;
91
+ booleanTrueOption: string;
92
+ booleanFalseOption: string;
93
+ invalidJsonError: string;
83
94
  }
84
95
  export declare const DEFAULT_SCHEMA_TEXTS: SchemaRendererTexts;
85
96
  export interface DialSchemaRendererProps {
@@ -1,4 +1,4 @@
1
- import { JsonSchema, JsonSchemaDef, ValidationError } from './types';
1
+ import { JsonSchemaType, JsonSchema, JsonSchemaDef, ValidationError } from './types';
2
2
  export declare function resolveRef(schema: JsonSchemaDef, rootSchema: JsonSchema, depth?: number): JsonSchemaDef;
3
3
  export declare function sortByPropertyOrder(entries: [string, JsonSchemaDef][]): [string, JsonSchemaDef][];
4
4
  export declare function isMissingRequiredValue(value: unknown): boolean;
@@ -11,3 +11,7 @@ export declare function buildSummary(value: unknown, schema: JsonSchemaDef, root
11
11
  export declare function detectAnyOfVariant(value: unknown, schemas: JsonSchemaDef[], rootSchema: JsonSchema): number;
12
12
  export declare function getItemTitle(item: unknown, discriminatorProp: string | undefined, index: number): string;
13
13
  export declare function getSchemaDefault(schema: JsonSchemaDef): unknown;
14
+ export type EntryType = JsonSchemaType.String | JsonSchemaType.Number | JsonSchemaType.Boolean | JsonSchemaType.Null | JsonSchemaType.Object | JsonSchemaType.Array;
15
+ export declare const ENTRY_TYPE_OPTIONS: EntryType[];
16
+ export declare function inferEntryType(value: unknown): EntryType;
17
+ export declare function getEntryTypeDefault(type: EntryType): unknown;
@@ -124,6 +124,11 @@ export declare const DIAL_KIT_CLASS: {
124
124
  * `dial-kit-tab-selected-underline`.
125
125
  */
126
126
  readonly tab: "dial-kit-tab";
127
+ /**
128
+ * The `role="group"` row of a `FilterChips`. Its chips are `Tag` pills, so
129
+ * they carry `dial-kit-tag` and have no entry of their own.
130
+ */
131
+ readonly filterChips: "dial-kit-filter-chips";
127
132
  /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */
128
133
  readonly tag: "dial-kit-tag";
129
134
  /**
@@ -224,6 +224,8 @@ export { SegmentedControl } from './components/New/SegmentedControl/SegmentedCon
224
224
  export type { SegmentedControlProps, SegmentedControlItem, } from './components/New/SegmentedControl/SegmentedControl';
225
225
  export { Tabs } from './components/New/Tabs/Tabs';
226
226
  export type { TabsProps, TabItem } from './components/New/Tabs/Tabs';
227
+ export { FilterChips } from './components/New/FilterChips/FilterChips';
228
+ export type { FilterChipsProps, FilterChipItem, } from './components/New/FilterChips/FilterChips';
227
229
  export { FileDropzone } from './components/New/FileDropzone/FileDropzone';
228
230
  export type { FileDropzoneProps } from './components/New/FileDropzone/FileDropzone';
229
231
  export { Tag } from './components/New/Tag/Tag';