@epam/ai-dial-ui-kit 0.15.0-dev.45 → 0.15.0-dev.46

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 (70) hide show
  1. package/README.md +2 -0
  2. package/dist/CHANGELOG.md +4 -0
  3. package/dist/{DateCellRenderer-Cl_mNbi1.cjs → DateCellRenderer-CZNa4jVJ.cjs} +1 -1
  4. package/dist/{DateCellRenderer-ChqbDlQ2.cjs → DateCellRenderer-X6vXPDIG.cjs} +1 -1
  5. package/dist/JsonEditor-BDe6elKO.cjs +1 -0
  6. package/dist/{MarkdownEditor-NYMcKLJy.cjs → MarkdownEditor-C7BONfsl.cjs} +1 -1
  7. package/dist/{MarkdownEditor-CPzMv3lE.cjs → MarkdownEditor-FVzYMdkC.cjs} +1 -1
  8. package/dist/MarkdownEditorContainer-GvlxX6kx.cjs +1 -0
  9. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +16 -18
  10. package/dist/components/New/SchemaRenderer/SchemaRenderer.js +164 -0
  11. package/dist/components/New/SchemaRenderer/components/SchemaAnyOfEditor.js +65 -0
  12. package/dist/components/New/SchemaRenderer/components/SchemaArrayEditor.js +109 -0
  13. package/dist/components/New/SchemaRenderer/components/SchemaField.js +83 -0
  14. package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +72 -0
  15. package/dist/components/New/SchemaRenderer/components/SchemaJsonEditor.js +41 -0
  16. package/dist/components/New/SchemaRenderer/components/SchemaKeyValueEditor.js +250 -0
  17. package/dist/components/New/SchemaRenderer/components/SchemaObjectEditor.js +36 -0
  18. package/dist/components/New/SchemaRenderer/components/SchemaOneOfEditor.js +163 -0
  19. package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +150 -0
  20. package/dist/components/New/SchemaRenderer/components/SchemaSection.js +135 -0
  21. package/dist/components/New/SchemaRenderer/context.js +17 -0
  22. package/dist/components/New/Textarea/Textarea.js +21 -20
  23. package/dist/components/SchemaRenderer/SchemaRenderer.js +16 -15
  24. package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +2 -2
  25. package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +1 -1
  26. package/dist/components/SchemaRenderer/components/SchemaField.js +8 -8
  27. package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +2 -2
  28. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +2 -2
  29. package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +1 -1
  30. package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +13 -13
  31. package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +5 -5
  32. package/dist/components-manifest.json +148 -11
  33. package/dist/constants/public-class-names.js +8 -0
  34. package/dist/{components/SchemaRenderer/types.js → constants/schema-renderer.js} +2 -7
  35. package/dist/dial-ui-kit.cjs +2 -2
  36. package/dist/dial-ui-kit.js +241 -239
  37. package/dist/editors.cjs +1 -1
  38. package/dist/file-manager.cjs +1 -1
  39. package/dist/grid.cjs +1 -1
  40. package/dist/index.css +1 -1
  41. package/dist/lazy-BEsZqouS.cjs +1 -0
  42. package/dist/src/components/New/SchemaRenderer/SchemaRenderer.d.ts +38 -0
  43. package/dist/src/components/New/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +37 -0
  44. package/dist/src/components/New/SchemaRenderer/components/SchemaArrayEditor.d.ts +35 -0
  45. package/dist/src/components/New/SchemaRenderer/components/SchemaField.d.ts +33 -0
  46. package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +30 -0
  47. package/dist/src/components/New/SchemaRenderer/components/SchemaJsonEditor.d.ts +29 -0
  48. package/dist/src/components/New/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +37 -0
  49. package/dist/src/components/New/SchemaRenderer/components/SchemaObjectEditor.d.ts +32 -0
  50. package/dist/src/components/New/SchemaRenderer/components/SchemaOneOfEditor.d.ts +39 -0
  51. package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +38 -0
  52. package/dist/src/components/New/SchemaRenderer/components/SchemaSection.d.ts +39 -0
  53. package/dist/src/components/New/SchemaRenderer/context.d.ts +8 -0
  54. package/dist/src/components/New/SchemaRenderer/types.d.ts +76 -0
  55. package/dist/src/components/SchemaRenderer/types.d.ts +5 -93
  56. package/dist/src/components/SchemaRenderer/utils.d.ts +1 -22
  57. package/dist/src/constants/public-class-names.d.ts +8 -0
  58. package/dist/src/constants/schema-renderer.d.ts +2 -0
  59. package/dist/src/index.d.ts +3 -1
  60. package/dist/src/models/json-schema.d.ts +71 -0
  61. package/dist/src/types/json-schema.d.ts +22 -0
  62. package/dist/src/utils/json-schema.d.ts +23 -0
  63. package/dist/types/json-schema.js +7 -0
  64. package/dist/{use-file-manager-tabs-C-dMqEFy.cjs → use-file-manager-tabs-Bzzwwcgk.cjs} +1 -1
  65. package/dist/{components/SchemaRenderer/utils.js → utils/json-schema.js} +1 -1
  66. package/package.json +1 -1
  67. package/dist/JsonEditor-CpSpVa0v.cjs +0 -1
  68. package/dist/MarkdownEditorContainer-DVPRplYf.cjs +0 -1
  69. package/dist/editor-Bc9xzKuR.cjs +0 -1
  70. package/dist/lazy-Cy9WobJf.cjs +0 -1
@@ -6,8 +6,8 @@ import { DialNumberInput as b } from "../../NumberInput/NumberInput.js";
6
6
  import { DialSwitch as C } from "../../Switch/Switch.js";
7
7
  import { DialSelect as y } from "../../Select/Select.js";
8
8
  import { DialRadioButton as P } from "../../RadioButton/RadioButton.js";
9
- import { JsonSchemaType as c, SchemaDisplayMode as w, SchemaOrientation as D } from "../types.js";
10
- import { useSchemaContext as x } from "../context.js";
9
+ import { useSchemaContext as w } from "../context.js";
10
+ import { JsonSchemaType as c, SchemaDisplayMode as D, SchemaOrientation as x } from "../../../types/json-schema.js";
11
11
  const E = ({
12
12
  schema: t,
13
13
  value: e,
@@ -19,7 +19,7 @@ const E = ({
19
19
  readonly: l = !1,
20
20
  inputClassName: p,
21
21
  acceptableResourceTypes: h
22
- } = x(), N = t.const !== void 0, g = Array.isArray(t.enum) && t.enum.length > 0;
22
+ } = w(), N = t.const !== void 0, g = Array.isArray(t.enum) && t.enum.length > 0;
23
23
  if (t["dial:resource"] === !0 && Array.isArray(t.acceptableResourceTypes) && t.acceptableResourceTypes.length > 0 && (t.type === c.String || t.type === void 0)) {
24
24
  const r = (t.acceptableResourceTypes ?? []).flatMap(
25
25
  (o) => {
@@ -53,8 +53,8 @@ const E = ({
53
53
  className: "opacity-60"
54
54
  }
55
55
  );
56
- if (g && t.enumDisplay === w.Radio) {
57
- const r = t.enumOrientation === D.Row;
56
+ if (g && t.enumDisplay === D.Radio) {
57
+ const r = t.enumOrientation === x.Row;
58
58
  return /* @__PURE__ */ i(
59
59
  "div",
60
60
  {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.15.0-dev.45",
3
- "generatedAt": "2026-10-07T15:21:45.405Z",
2
+ "version": "0.15.0-dev.46",
3
+ "generatedAt": "2026-10-07T20:16:57.684Z",
4
4
  "kit": {
5
5
  "name": "@epam/ai-dial-ui-kit",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -180,6 +180,17 @@
180
180
  ],
181
181
  "sourceFile": "components/Skeleton/Skeleton.tsx"
182
182
  },
183
+ {
184
+ "name": "SchemaRenderer",
185
+ "category": "Name",
186
+ "generation": "2.0",
187
+ "description": "Renders a JSON Schema as a form, with collapsible sections, required-field\nvalidation and default values.\naliases: SchemaRenderer|JsonSchemaForm|SchemaForm\nDesign system 2.0\n\nBuilt only from 2.0 controls: `Input`, `NumberInput`, `PasswordInput`,\n`Select`, `Switch` and `RadioGroup`. A value the schema does not describe —\na key absent from `properties`, or an object with no fixed properties — is\nedited as raw JSON in a monospace `Textarea`.",
188
+ "props": [],
189
+ "examples": [
190
+ "<SchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
191
+ ],
192
+ "sourceFile": "components/New/SchemaRenderer/SchemaRenderer.tsx"
193
+ },
183
194
  {
184
195
  "name": "Notification",
185
196
  "category": "Components_2_0",
@@ -9898,7 +9909,8 @@
9898
9909
  "examples": [
9899
9910
  "<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
9900
9911
  ],
9901
- "sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx"
9912
+ "sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
9913
+ "supersededBy": "SchemaRenderer"
9902
9914
  },
9903
9915
  {
9904
9916
  "name": "DialJsonEditor",
@@ -11298,7 +11310,7 @@
11298
11310
  "value": "'flat-sections'"
11299
11311
  }
11300
11312
  ],
11301
- "sourceFile": "components/SchemaRenderer/types.ts"
11313
+ "sourceFile": "types/json-schema.ts"
11302
11314
  },
11303
11315
  {
11304
11316
  "name": "SchemaDisplayMode",
@@ -11313,7 +11325,7 @@
11313
11325
  "value": "'radio'"
11314
11326
  }
11315
11327
  ],
11316
- "sourceFile": "components/SchemaRenderer/types.ts"
11328
+ "sourceFile": "types/json-schema.ts"
11317
11329
  },
11318
11330
  {
11319
11331
  "name": "SchemaOrientation",
@@ -11328,7 +11340,7 @@
11328
11340
  "value": "'column'"
11329
11341
  }
11330
11342
  ],
11331
- "sourceFile": "components/SchemaRenderer/types.ts"
11343
+ "sourceFile": "types/json-schema.ts"
11332
11344
  },
11333
11345
  {
11334
11346
  "name": "JsonSchemaType",
@@ -11363,7 +11375,7 @@
11363
11375
  "value": "'null'"
11364
11376
  }
11365
11377
  ],
11366
- "sourceFile": "components/SchemaRenderer/types.ts"
11378
+ "sourceFile": "types/json-schema.ts"
11367
11379
  },
11368
11380
  {
11369
11381
  "name": "JsonSchema",
@@ -11374,7 +11386,7 @@
11374
11386
  "value": "Record<string, JsonSchemaDef>"
11375
11387
  }
11376
11388
  ],
11377
- "sourceFile": "components/SchemaRenderer/types.ts"
11389
+ "sourceFile": "models/json-schema.ts"
11378
11390
  },
11379
11391
  {
11380
11392
  "name": "JsonSchemaDef",
@@ -11473,7 +11485,7 @@
11473
11485
  "value": "string[]"
11474
11486
  }
11475
11487
  ],
11476
- "sourceFile": "components/SchemaRenderer/types.ts"
11488
+ "sourceFile": "models/json-schema.ts"
11477
11489
  },
11478
11490
  {
11479
11491
  "name": "ValidationError",
@@ -11488,7 +11500,132 @@
11488
11500
  "value": "string"
11489
11501
  }
11490
11502
  ],
11491
- "sourceFile": "components/SchemaRenderer/types.ts"
11503
+ "sourceFile": "models/json-schema.ts"
11504
+ },
11505
+ {
11506
+ "name": "SchemaRendererTexts",
11507
+ "kind": "interface",
11508
+ "members": [
11509
+ {
11510
+ "name": "noItemSchema",
11511
+ "value": "string"
11512
+ },
11513
+ {
11514
+ "name": "noItemsYet",
11515
+ "value": "string"
11516
+ },
11517
+ {
11518
+ "name": "addItem",
11519
+ "value": "string"
11520
+ },
11521
+ {
11522
+ "name": "selectTypeToAdd",
11523
+ "value": "string"
11524
+ },
11525
+ {
11526
+ "name": "noConfigurableProperties",
11527
+ "value": "string"
11528
+ },
11529
+ {
11530
+ "name": "noFieldsYet",
11531
+ "value": "string"
11532
+ },
11533
+ {
11534
+ "name": "keyColumnHeader",
11535
+ "value": "string"
11536
+ },
11537
+ {
11538
+ "name": "valueColumnHeader",
11539
+ "value": "string"
11540
+ },
11541
+ {
11542
+ "name": "addField",
11543
+ "value": "string"
11544
+ },
11545
+ {
11546
+ "name": "keyInputPlaceholder",
11547
+ "value": "string"
11548
+ },
11549
+ {
11550
+ "name": "stringInputPlaceholder",
11551
+ "value": "string"
11552
+ },
11553
+ {
11554
+ "name": "integerInputPlaceholder",
11555
+ "value": "string"
11556
+ },
11557
+ {
11558
+ "name": "numberInputPlaceholder",
11559
+ "value": "string"
11560
+ },
11561
+ {
11562
+ "name": "enumSelectPlaceholder",
11563
+ "value": "string"
11564
+ },
11565
+ {
11566
+ "name": "selectTypePlaceholder",
11567
+ "value": "string"
11568
+ },
11569
+ {
11570
+ "name": "removeItemAriaLabel",
11571
+ "value": "string"
11572
+ },
11573
+ {
11574
+ "name": "removeFieldAriaLabel",
11575
+ "value": "string"
11576
+ },
11577
+ {
11578
+ "name": "typeColumnHeader",
11579
+ "value": "string"
11580
+ },
11581
+ {
11582
+ "name": "entryTypeString",
11583
+ "value": "string"
11584
+ },
11585
+ {
11586
+ "name": "entryTypeNumber",
11587
+ "value": "string"
11588
+ },
11589
+ {
11590
+ "name": "entryTypeBoolean",
11591
+ "value": "string"
11592
+ },
11593
+ {
11594
+ "name": "entryTypeNull",
11595
+ "value": "string"
11596
+ },
11597
+ {
11598
+ "name": "entryTypeObject",
11599
+ "value": "string"
11600
+ },
11601
+ {
11602
+ "name": "entryTypeArray",
11603
+ "value": "string"
11604
+ },
11605
+ {
11606
+ "name": "entryTypeChangeWarning",
11607
+ "value": "string"
11608
+ },
11609
+ {
11610
+ "name": "booleanTrueOption",
11611
+ "value": "string"
11612
+ },
11613
+ {
11614
+ "name": "booleanFalseOption",
11615
+ "value": "string"
11616
+ },
11617
+ {
11618
+ "name": "invalidJsonError",
11619
+ "value": "string"
11620
+ }
11621
+ ],
11622
+ "sourceFile": "models/json-schema.ts"
11623
+ },
11624
+ {
11625
+ "name": "SchemaRenderField",
11626
+ "kind": "type",
11627
+ "sourceFile": "components/New/SchemaRenderer/types.ts",
11628
+ "typeBody": "(\n path: string[],\n schema: JsonSchemaDef,\n defaultElement: ReactElement,\n) => ReactNode"
11492
11629
  },
11493
11630
  {
11494
11631
  "name": "NotificationVariant",
@@ -12336,7 +12473,7 @@
12336
12473
  {
12337
12474
  "name": "DIAL_KIT_CLASS",
12338
12475
  "sourceFile": "constants/public-class-names.ts",
12339
- "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
12476
+ "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
12340
12477
  }
12341
12478
  ]
12342
12479
  }
@@ -116,6 +116,14 @@ const i = {
116
116
  inlineSelect: "dial-kit-inline-select",
117
117
  /** The root of a `Calendar`, wrapping its label and date field. */
118
118
  calendar: "dial-kit-calendar",
119
+ /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */
120
+ schemaRenderer: "dial-kit-schema-renderer",
121
+ /**
122
+ * The card of one collapsible `SchemaRenderer` section, at any depth: a
123
+ * top-level property, a nested object or array, an array item, or a
124
+ * key-value entry holding an object.
125
+ */
126
+ schemaRendererSection: "dial-kit-schema-renderer-section",
119
127
  /** The drop area of a `FileDropzone`. */
120
128
  fileDropzone: "dial-kit-file-dropzone",
121
129
  /**
@@ -1,5 +1,4 @@
1
- var r = /* @__PURE__ */ ((e) => (e.Sections = "sections", e.Flat = "flat", e.FlatSections = "flat-sections", e))(r || {}), t = /* @__PURE__ */ ((e) => (e.Select = "select", e.Radio = "radio", e))(t || {}), l = /* @__PURE__ */ ((e) => (e.Row = "row", e.Column = "column", e))(l || {}), n = /* @__PURE__ */ ((e) => (e.String = "string", e.Number = "number", e.Integer = "integer", e.Boolean = "boolean", e.Object = "object", e.Array = "array", e.Null = "null", e))(n || {});
2
- const o = {
1
+ const e = {
3
2
  noItemSchema: "No item schema defined.",
4
3
  noItemsYet: "No items yet. Add one below.",
5
4
  addItem: "Add Item",
@@ -30,9 +29,5 @@ const o = {
30
29
  invalidJsonError: "Invalid JSON"
31
30
  };
32
31
  export {
33
- o as DEFAULT_SCHEMA_TEXTS,
34
- n as JsonSchemaType,
35
- t as SchemaDisplayMode,
36
- l as SchemaOrientation,
37
- r as SchemaRendererVariant
32
+ e as DEFAULT_SCHEMA_TEXTS
38
33
  };