@epam/ai-dial-ui-kit 0.12.0-dev.3 → 0.12.0-dev.30
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/CHANGELOG.md +9 -0
- package/dist/{JsonEditor-BChf7gyY.js → JsonEditor-BqKutzC3.js} +3 -4
- package/dist/JsonEditor-DiUgycbj.cjs +1 -0
- package/dist/MarkdownEditor-BECxx9cj.js +35 -0
- package/dist/MarkdownEditor-C8FS2irR.cjs +1 -0
- package/dist/components-manifest.json +421 -3
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +137 -126
- package/dist/{index-Cq70XHZ5.js → index-9yzOzks2.js} +12119 -11473
- package/dist/index-mhZPfHnD.cjs +71 -0
- package/dist/index.css +2 -2
- package/dist/migration-guides/0.12.0/legacy-typography-classes-removal.md +57 -0
- package/dist/migration-guides/README.md +1 -0
- package/dist/src/components/Accordion/Accordion.d.ts +56 -0
- package/dist/src/components/Analytics/Bar/Bar.d.ts +81 -0
- package/dist/src/components/Analytics/Bar/utils.d.ts +20 -0
- package/dist/src/components/Analytics/Bar/utils.spec.d.ts +1 -0
- package/dist/src/components/Analytics/BarGroup/BarGroup.d.ts +63 -0
- package/dist/src/components/Analytics/Card/Card.d.ts +55 -0
- package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +21 -0
- package/dist/src/components/Analytics/Histogram/Histogram.d.ts +47 -0
- package/dist/src/components/Analytics/Histogram/utils.d.ts +37 -0
- package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +1 -0
- package/dist/src/components/Analytics/index.d.ts +13 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem.d.ts +1 -0
- package/dist/src/components/Breadcrumb/constants.d.ts +2 -3
- package/dist/src/components/ConfirmationPopup/constants.d.ts +1 -1
- package/dist/src/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/src/components/FileManager/FileManager.d.ts +3 -0
- package/dist/src/components/FileManager/errors.d.ts +3 -0
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +2 -1
- package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +1 -0
- package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +1 -0
- package/dist/src/components/InfoButton/constants.d.ts +1 -1
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +2 -0
- package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +1 -0
- package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +1 -0
- package/dist/src/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.d.ts +20 -0
- package/dist/src/components/SchemaRenderer/types.d.ts +6 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +39 -0
- package/dist/src/components/SegmentedControl/constants.d.ts +5 -0
- package/dist/src/components/Slider/Slider.d.ts +3 -0
- package/dist/src/components/Tab/Tab.d.ts +4 -0
- package/dist/src/components/Tabs/Tabs.d.ts +7 -1
- package/dist/src/index.d.ts +20 -1
- package/dist/src/models/analytics.d.ts +8 -0
- package/dist/src/models/segmented-control.d.ts +7 -0
- package/dist/src/models/select.d.ts +6 -0
- package/dist/src/types/analytics.d.ts +4 -0
- package/dist/src/types/tab.d.ts +4 -0
- package/package.json +3 -2
- package/dist/JsonEditor-BS0ggIlL.cjs +0 -1
- package/dist/MarkdownEditor-BSlmBmbj.js +0 -36
- package/dist/MarkdownEditor-D7SqU1MB.cjs +0 -1
- package/dist/editor-Ba3vCFHk.cjs +0 -1
- package/dist/editor-Cu1dRT39.js +0 -4
- package/dist/index-5EdIfkh9.cjs +0 -71
package/dist/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,15 @@ _No unreleased changes yet._
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
+
## [0.12.0]
|
|
17
|
+
|
|
18
|
+
### Breaking Changes
|
|
19
|
+
|
|
20
|
+
- **Legacy typography classes removed** — `dial-h1`, `dial-h2`, `dial-h3`, `dial-body`, `dial-small`, `dial-small-semi`, `dial-small-medium`, `dial-small-150`, `dial-tiny`, `dial-tiny-150`, `dial-tiny-semi`, and `dial-caption` have been removed in favor of the `dial-*-text` typography scale (e.g. `dial-h1-text`, `dial-small-text`, `dial-caption-text`). This consolidates typography onto a single naming convention.
|
|
21
|
+
See [migration guide](migration-guides/0.12.0/legacy-typography-classes-removal.md).
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
16
25
|
## [0.11.0]
|
|
17
26
|
|
|
18
27
|
### Breaking Changes
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { j as l } from "./index-
|
|
2
|
-
import { E as o } from "./editor-Cu1dRT39.js";
|
|
1
|
+
import { E as o, j as l } from "./index-9yzOzks2.js";
|
|
3
2
|
import { Editor as u } from "@monaco-editor/react";
|
|
4
3
|
const c = {
|
|
5
4
|
[o.dark]: {
|
|
@@ -48,7 +47,7 @@ const c = {
|
|
|
48
47
|
"scrollbarSlider.activeBackground": "#242C42"
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
|
-
},
|
|
50
|
+
}, k = ({
|
|
52
51
|
value: n,
|
|
53
52
|
onChange: t,
|
|
54
53
|
onValidateJSON: i,
|
|
@@ -107,5 +106,5 @@ const c = {
|
|
|
107
106
|
);
|
|
108
107
|
};
|
|
109
108
|
export {
|
|
110
|
-
|
|
109
|
+
k as DialJsonEditor
|
|
111
110
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-mhZPfHnD.cjs"),l=require("@monaco-editor/react"),u={[r.EditorThemes.dark]:{base:"vs-dark",inherit:!1,rules:[{token:"string.key.json",foreground:"#37BABC"},{token:"string.value.json",foreground:"#5C8DEA"},{token:"number",foreground:"#D97C27"},{token:"keyword.json",foreground:"#F4CE46"},{token:"delimiter",foreground:"#EEF1F7"},{token:"delimiter.bracket.json",foreground:"#A972FF"},{token:"delimiter.parenthesis",foreground:"#A972FF"}],colors:{"editor.foreground":"#F76464","editor.background":"#161B2D","editorCursor.foreground":"#EEF1F7","editor.selectionBackground":"#5C8DEA2B","editorLineNumber.foreground":"#242C42","scrollbarSlider.background":"#242C42","scrollbarSlider.hoverBackground":"#242C42","scrollbarSlider.activeBackground":"#242C42"}},[r.EditorThemes.light]:{base:"vs",inherit:!1,rules:[{token:"string.key.json",foreground:"#009D9F"},{token:"string.value.json",foreground:"#2764D9"},{token:"number",foreground:"#B25500"},{token:"keyword.json",foreground:"#3F3D25"},{token:"delimiter",foreground:"#161B2D"},{token:"delimiter.bracket.json",foreground:"#7E39EC"},{token:"delimiter.parenthesis",foreground:"#7E39EC"}],colors:{"editor.foreground":"#AE2F2F","editor.background":"#EEF1F7","editorCursor.foreground":"#161B2D","editor.selectionBackground":"#5C8DEA2B","editorLineNumber.foreground":"#242C42","scrollbarSlider.background":"#242C42","scrollbarSlider.hoverBackground":"#242C42","scrollbarSlider.activeBackground":"#242C42"}}},c=({value:n,onChange:t,onValidateJSON:i,options:s,currentTheme:e,themesConfig:d=u})=>{function a(o){o?.editor?.defineTheme(e,d[e]),o.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:[{uri:"http://custom-schema/object-required.json",fileMatch:["*"],schema:{type:"object",description:"Top-level value must be an object",additionalProperties:!0}}]})}return r.jsxRuntimeExports.jsx(l.Editor,{beforeMount:a,height:"100%",defaultLanguage:"json",value:n,onChange:t,theme:e,onValidate:i,options:{minimap:{enabled:!1},formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!1,automaticLayout:!0,scrollBeyondLastLine:!1,wordWrap:"on",smoothScrolling:!0,overviewRulerLanes:0,scrollbar:{horizontal:"hidden",verticalScrollbarSize:4,verticalSliderSize:4},...s??{}}})};exports.DialJsonEditor=c;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { j as e, E as m, m as c } from "./index-9yzOzks2.js";
|
|
2
|
+
import x from "@uiw/react-md-editor";
|
|
3
|
+
const j = ({
|
|
4
|
+
value: o,
|
|
5
|
+
onChange: t,
|
|
6
|
+
height: r = 300,
|
|
7
|
+
preview: a = "edit",
|
|
8
|
+
theme: i = m.dark,
|
|
9
|
+
className: d,
|
|
10
|
+
placeholder: s
|
|
11
|
+
}) => {
|
|
12
|
+
const n = s !== void 0 && !o;
|
|
13
|
+
return /* @__PURE__ */ e.jsxs(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
"data-color-mode": i,
|
|
17
|
+
className: c("relative", d),
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ e.jsx(
|
|
20
|
+
x,
|
|
21
|
+
{
|
|
22
|
+
value: o,
|
|
23
|
+
onChange: (l) => t?.(l || ""),
|
|
24
|
+
height: r,
|
|
25
|
+
preview: a
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
n && /* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40", children: s })
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
j as DialMarkdownEditor
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-mhZPfHnD.cjs"),c=require("@uiw/react-md-editor"),x=({value:t,onChange:s,height:r=300,preview:i="edit",theme:n=e.EditorThemes.dark,className:a,placeholder:o})=>{const d=o!==void 0&&!t;return e.jsxRuntimeExports.jsxs("div",{"data-color-mode":n,className:e.mergeClasses("relative",a),children:[e.jsxRuntimeExports.jsx(c,{value:t,onChange:l=>s?.(l||""),height:r,preview:i}),d&&e.jsxRuntimeExports.jsx("div",{className:"pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40",children:o})]})};exports.DialMarkdownEditor=x;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.12.0-dev.
|
|
3
|
-
"generatedAt": "2026-
|
|
2
|
+
"version": "0.12.0-dev.30",
|
|
3
|
+
"generatedAt": "2026-07-15T10:04:57.742Z",
|
|
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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"setupNotes": "## Next.js Integration\n1. Install the package and peer dependencies that are not currently in your project\n``` bash\nnpm install @epam/ai-dial-ui-kit\nnpm install react react-dom @tabler/icons-react classnames\nnpm install @floating-ui/react monaco-editor @monaco-editor/react\n```\n\n2. Import style in the root layout of the project:\n\n```tsx\n// app/layout.tsx\nimport \"@epam/ai-dial-ui-kit/styles.css\";\n```\n\n3. Usage example\n\n```tsx\n// app/page.tsx\n\"use client\";\nimport { DialPrimaryButton } from \"@epam/ai-dial-ui-kit\";\n\nexport default function Home() {\n return (\n <div className=\"w-full h-full flex flex-col gap-3 items-center justify-center\">\n <h1>Test library</h1>\n <DialPrimaryButton onClick={() => alert('Hello AI DIAL!')} />\n </div>\n );\n}\n```\nSee \"🎨 Theming & Customization\" section in README."
|
|
22
22
|
},
|
|
23
|
-
"styles": "# Typography CSS Utility Classes\n\n## Design-system-compliant classes (`dial-*-text`)\n\nUse these by default. They follow the design system type scale.\n\n| Class
|
|
23
|
+
"styles": "# Typography CSS Utility Classes\n\n## Design-system-compliant classes (`dial-*-text`)\n\nUse these by default. They follow the design system type scale.\n\n| Class | Weight | Size / Line-height |\n| -------------------------------- | -------- | ----------------------- |\n| `.dial-display1-text` | semibold | 32px / 48px |\n| `.dial-display2-text` | semibold | 28px / 40px |\n| `.dial-h1-text` | semibold | 22px / 32px |\n| `.dial-h2-text` | semibold | 20px / 28px |\n| `.dial-h3-text` | semibold | 18px / 26px |\n| `.dial-body-text` | normal | 16px / 24px |\n| `.dial-body-semi-text` | semibold | 16px / 24px |\n| `.dial-body-paragraph-text` | normal | 16px / 26px |\n| `.dial-body-paragraph-semi-text` | semibold | 16px / 26px |\n| `.dial-small-text` | normal | 14px / 20px |\n| `.dial-small-semi-text` | semibold | 14px / 20px |\n| `.dial-tiny-text` | normal | 12px / 16px |\n| `.dial-tiny-semi-text` | semibold | 12px / 16px |\n| `.dial-caption-text` | normal | 10px / 12px |\n| `.dial-code-text` | normal | 14px / 20px (monospace) |\n\n## Legacy classes (avoid in new code)\n\nClasses like `dial-h1`, `dial-h2`, `dial-body`, `dial-small*`, `dial-tiny*`, `dial-caption` are legacy. They can be used in legacy projects if user explicidly specify they need legacy typography.\n\n## Raw SCSS source\n",
|
|
24
24
|
"theming": "# Theming & CSS Variable Tokens\n\nAI DIAL UI Kit uses CSS custom properties (variables) for theming.\nDark and light themes are switched by setting different values for these variables on `:root` or a theme wrapper element.\n\n## Usage in Tailwind\n\nThe Tailwind config maps CSS variables to utility classes.\nUse these classes in your components:\n\n```tsx\n// Backgrounds\n<div className=\"bg-layer-0\" /> // darkest background\n<div className=\"bg-layer-1\" /> // main content area\n<div className=\"bg-layer-2\" /> // elevated panels\n\n// Text\n<span className=\"text-primary\" /> // main text color\n<span className=\"text-secondary\" /> // muted text\n<span className=\"text-error\" /> // error state\n\n// Borders\n<div className=\"border border-primary\" /> // standard border\n<div className=\"border border-error\" /> // error border\n```\n\n## Override CSS Variables\n\n```css\n:root {\n --bg-layer-0: #000000;\n --bg-layer-1: #0c101d;\n --bg-layer-2: #161b2d;\n --bg-layer-3: #1d2439;\n --text-primary: #eef1f7;\n --text-secondary: #9fa6bd;\n --text-error: #f76464;\n --stroke-primary: #696e7c;\n --controls-bg-accent-primary: #3664e2;\n /* ... see tailwind.config.js for full list */\n}\n```\n\n## Token Reference\n\n\n### backgroundsColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-0` | `var(--bg-layer-0)` | `#000000` |\n| `layer-1` | `var(--bg-layer-1)` | `#0C101D` |\n| `layer-2` | `var(--bg-layer-2)` | `#161B2D` |\n| `layer-3` | `var(--bg-layer-3)` | `#1D2439` |\n| `layer-4` | `var(--bg-layer-4)` | `#242C42` |\n| `accent-primary-alpha` | `var(--bg-accent-primary-alpha)` | `#7DA4FF26` |\n| `accent-secondary-alpha` | `var(--bg-accent-secondary-alpha)` | `#37BABC2E` |\n| `accent-tertiary-alpha` | `var(--bg-accent-tertiary-alpha)` | `#A972FF2E` |\n| `model-icon` | `var(--bg-model-icon)` | `#FFFFFF` |\n| `accent-primary` | `var(--bg-accent-primary)` | `#5C8DEA` |\n| `accent-secondary` | `var(--bg-accent-secondary)` | `#37BABC` |\n| `accent-tertiary` | `var(--bg-accent-tertiary)` | `#A972FF` |\n| `red-400` | `var(--bg-red-400)` | `#F76464` |\n| `orange-400` | `var(--bg-orange-400)` | `#D97C27` |\n| `orange-800` | `var(--bg-orange-800)` | `#B25500` |\n\n### controlsBgColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `controls-accent-primary` | `var(--controls-bg-accent-primary)` | `#3664E2` |\n| `controls-accent-primary-hover` | `var(--controls-bg-accent-primary-hover)` | `#2656D9` |\n| `controls-accent-primary-active` | `var(--controls-bg-accent-primary-active)` | `#124ACE` |\n| `controls-accent-primary-alpha-active` | `var(--controls-bg-accent-primary-alpha-active)` | `#7DA4FF4D` |\n| `controls-accent-secondary-alpha-active` | `var(--controls-bg-accent-secondary-alpha-active)` | `#37BABC5C` |\n| `controls-accent-tertiary-alpha-active` | `var(--controls-bg-accent-tertiary-alpha-active)` | `#A972FF5C` |\n| `controls-error` | `var(--controls-bg-error)` | `#CC4545` |\n| `controls-error-hover` | `var(--controls-bg-error-hover)` | `#BF3939` |\n| `controls-error-active` | `var(--controls-bg-error-active)` | `#AE2F2F` |\n| `controls-error-alpha-hover` | `var(--controls-bg-alpha-hover)` | `#F764642E` |\n| `controls-error-alpha-active` | `var(--controls-bg-error-alpha-active)` | `#F764645C` |\n| `controls-disable-accent` | `var(--controls-bg-disable-accent)` | `#696E7C` |\n| `controls-disable` | `var(--controls-bg-disable)` | `#242C42` |\n| `controls-neutral-hover` | `var(--controls-bg-neutral-hover)` | `#242C42` |\n| `controls-neutral-active` | `var(--controls-bg-neutral-active)` | `#575F73` |\n| `controls-accent-success-alpha-hover` | `var(--controls-bg-accent-success-alpha-hover)` | `#37BABC2E` |\n| `controls-accent-success-alpha-active` | `var(--controls-bg-accent-success-alpha-active)` | `#37BABC5C` |\n| `controls-accent` | `var(--controls-bg-accent)` | `#5C8DEA` |\n| `controls-accent-hover` | `var(--controls-bg-accent-hover)` | `#4878D2` |\n| `controls-accent-alpha` | `var(--controls-bg-accent-alpha)` | `#5C8DEA2B` |\n| `controls-enable-primary` | `var(--controls-enable-primary)` | `#FCFCFC` |\n\n### borderColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--stroke-accent-primary)` | `#7DA4FF` |\n| `accent-secondary` | `var(--stroke-accent-secondary)` | `#37BABC` |\n| `accent-tertiary` | `var(--stroke-accent-tertiary)` | `#A972FF` |\n| `controls-accent` | `var(--controls-bg-accent)` | `#5C8DEA` |\n| `accent-primary-hover` | `var(--stroke-accent-primary-hover)` | `#4878d2` |\n| `red-900` | `var(--red-900)` | `#402027` |\n\n### textColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `warning-icon` | `var(--text-warning-icon)` | `#EEC840` |\n| `accent-primary` | `var(--text-accent-primary)` | `#7DA4FF` |\n| `accent-secondary` | `var(--text-accent-secondary)` | `#37BABC` |\n| `accent-tertiary` | `var(--text-accent-tertiary)` | `#A972FF` |\n| `controls-disable` | `var(--controls-text-disable)` | `#0C101D` |\n\n### controlsTextColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `controls-permanent` | `var(--controls-text-permanent)` | `#FCFCFC` |\n| `controls-accent-disable` | `var(--controls-text-accent-disable)` | `#242C42` |\n| `controls-primary-disable` | `var(--controls-text-primary-disable)` | `#7C8293` |\n| `controls-secondary-disable` | `var(--controls-text-secondary-disable)` | `#575F73` |\n| `controls-neutral` | `var(--controls-text-neutral)` | `#FCFCFC` |\n| `controls-accent-primary-hover` | `var(--controls-text-accent-primary-hover)` | `#3664E2` |\n| `controls-accent-primary-active` | `var(--controls-text-accent-primary-active)` | `#124ACE` |\n| `controls-primary` | `var(--controls-primary)` | `#FCFCFC` |\n| `controls-disable` | `var(--controls-text-disable)` | `#575F73` |",
|
|
25
25
|
"components": [
|
|
26
26
|
{
|
|
@@ -84,6 +84,84 @@
|
|
|
84
84
|
],
|
|
85
85
|
"sourceFile": "components/Label/Label.tsx"
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"name": "DialAccordion",
|
|
89
|
+
"category": "Layout",
|
|
90
|
+
"description": "A collapsible panel that toggles its content when the header is clicked.\naliases: Collapse|Disclosure|ExpandablePanel\n\nWorks as a controlled component when `expanded` is provided, otherwise it manages\nits own state from `defaultExpanded`. The header shows a chevron that rotates when\nexpanded, a title, and an optional description.",
|
|
91
|
+
"props": [
|
|
92
|
+
{
|
|
93
|
+
"name": "title",
|
|
94
|
+
"type": "ReactNode",
|
|
95
|
+
"required": true,
|
|
96
|
+
"description": "Title rendered in the header."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "description",
|
|
100
|
+
"type": "ReactNode",
|
|
101
|
+
"required": false,
|
|
102
|
+
"description": "Optional secondary text rendered under the title."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "children",
|
|
106
|
+
"type": "ReactNode",
|
|
107
|
+
"required": false,
|
|
108
|
+
"description": "Content revealed when expanded."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "expanded",
|
|
112
|
+
"type": "boolean",
|
|
113
|
+
"required": false,
|
|
114
|
+
"description": "Controlled expanded state."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "defaultExpanded",
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"required": false,
|
|
120
|
+
"defaultValue": "false",
|
|
121
|
+
"description": "Initial expanded state when uncontrolled."
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "disabled",
|
|
125
|
+
"type": "boolean",
|
|
126
|
+
"required": false,
|
|
127
|
+
"description": "Disables toggling."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "nonCollapsible",
|
|
131
|
+
"type": "boolean",
|
|
132
|
+
"required": false,
|
|
133
|
+
"description": "Renders the panel permanently expanded without a chevron or toggle."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "onToggle",
|
|
137
|
+
"type": "(expanded: boolean) => void",
|
|
138
|
+
"required": false,
|
|
139
|
+
"description": "Fired when the header is clicked. Receives the next expanded state."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "className",
|
|
143
|
+
"type": "string",
|
|
144
|
+
"required": false,
|
|
145
|
+
"description": "Additional CSS classes for the outer container."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "headerClassName",
|
|
149
|
+
"type": "string",
|
|
150
|
+
"required": false,
|
|
151
|
+
"description": "Additional CSS classes for the header button."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "contentClassName",
|
|
155
|
+
"type": "string",
|
|
156
|
+
"required": false,
|
|
157
|
+
"description": "Additional CSS classes for the content region."
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"examples": [
|
|
161
|
+
"<DialAccordion title=\"Advanced settings\" description=\"Optional configuration\">\n <p>Panel content</p>\n</DialAccordion>"
|
|
162
|
+
],
|
|
163
|
+
"sourceFile": "components/Accordion/Accordion.tsx"
|
|
164
|
+
},
|
|
87
165
|
{
|
|
88
166
|
"name": "DialIcon",
|
|
89
167
|
"category": "Data Display",
|
|
@@ -520,6 +598,12 @@
|
|
|
520
598
|
"required": true,
|
|
521
599
|
"description": "Layout direction of radios: row or column"
|
|
522
600
|
},
|
|
601
|
+
{
|
|
602
|
+
"name": "labelDescription",
|
|
603
|
+
"type": "string",
|
|
604
|
+
"required": false,
|
|
605
|
+
"description": "Optional description rendered by `DialFormItem`"
|
|
606
|
+
},
|
|
523
607
|
{
|
|
524
608
|
"name": "onChange",
|
|
525
609
|
"type": "(radioId: string) => void",
|
|
@@ -631,6 +715,12 @@
|
|
|
631
715
|
"defaultValue": "false",
|
|
632
716
|
"description": "Disables interaction"
|
|
633
717
|
},
|
|
718
|
+
{
|
|
719
|
+
"name": "labelProps",
|
|
720
|
+
"type": "DialLabelProps",
|
|
721
|
+
"required": false,
|
|
722
|
+
"description": "Props forwarded to DialLabel rendered above the slider"
|
|
723
|
+
},
|
|
634
724
|
{
|
|
635
725
|
"name": "labels",
|
|
636
726
|
"type": "[string, string] | [string, string, string]",
|
|
@@ -1668,6 +1758,13 @@
|
|
|
1668
1758
|
"defaultValue": "TabOrientation.Horizontal",
|
|
1669
1759
|
"description": "Layout direction of the tabs. Uses the enum."
|
|
1670
1760
|
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "view",
|
|
1763
|
+
"type": "TabView",
|
|
1764
|
+
"required": false,
|
|
1765
|
+
"defaultValue": "TabView.Default",
|
|
1766
|
+
"description": "Visual style of the tabs. Uses the enum.\n`Inline` renders a compact segmented control where the active tab is marked with a\nleading check icon. The inline view is not responsive and ignores overflow/dropdown logic."
|
|
1767
|
+
},
|
|
1671
1768
|
{
|
|
1672
1769
|
"name": "className",
|
|
1673
1770
|
"type": "string",
|
|
@@ -1703,6 +1800,16 @@
|
|
|
1703
1800
|
"type": "string",
|
|
1704
1801
|
"required": false,
|
|
1705
1802
|
"description": "Optional CSS class applied to tab in non small-screed mode."
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"name": "inlineContainerClassName",
|
|
1806
|
+
"type": "string",
|
|
1807
|
+
"required": false
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"name": "inlineTabClassName",
|
|
1811
|
+
"type": "string",
|
|
1812
|
+
"required": false
|
|
1706
1813
|
}
|
|
1707
1814
|
],
|
|
1708
1815
|
"examples": [
|
|
@@ -1806,6 +1913,11 @@
|
|
|
1806
1913
|
"type": "boolean",
|
|
1807
1914
|
"required": false
|
|
1808
1915
|
},
|
|
1916
|
+
{
|
|
1917
|
+
"name": "isFirst",
|
|
1918
|
+
"type": "boolean",
|
|
1919
|
+
"required": false
|
|
1920
|
+
},
|
|
1809
1921
|
{
|
|
1810
1922
|
"name": "separator",
|
|
1811
1923
|
"type": "ReactNode",
|
|
@@ -2292,6 +2404,53 @@
|
|
|
2292
2404
|
],
|
|
2293
2405
|
"sourceFile": "components/Switch/Switch.tsx"
|
|
2294
2406
|
},
|
|
2407
|
+
{
|
|
2408
|
+
"name": "DialSegmentedControl",
|
|
2409
|
+
"category": "Form",
|
|
2410
|
+
"description": "A single-select control for switching between a small set of mutually exclusive,\nequally-sized options (e.g. view switchers).\naliases: SegmentedButton|ViewSwitcher\n\nRenders a horizontal group of segments where every option is always visible and\nequally sized. Supports 2 or more segments, optional per-option icons, and\nkeyboard navigation (Arrow keys, Home, End).",
|
|
2411
|
+
"props": [
|
|
2412
|
+
{
|
|
2413
|
+
"name": "options",
|
|
2414
|
+
"type": "SegmentedControlOption<T>[]",
|
|
2415
|
+
"required": true,
|
|
2416
|
+
"description": "Segments to render. Each option needs a unique `value` and may include a `label`, `icon`, and `disabled` flag."
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "value",
|
|
2420
|
+
"type": "T",
|
|
2421
|
+
"required": true,
|
|
2422
|
+
"description": "The currently selected option `value`."
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"name": "onChange",
|
|
2426
|
+
"type": "(value: T) => void",
|
|
2427
|
+
"required": true,
|
|
2428
|
+
"description": "Callback fired with the selected option `value`."
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "disabled",
|
|
2432
|
+
"type": "boolean",
|
|
2433
|
+
"required": false,
|
|
2434
|
+
"description": "Disables the entire control when set."
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "className",
|
|
2438
|
+
"type": "string",
|
|
2439
|
+
"required": false,
|
|
2440
|
+
"description": "Additional classes applied to the container."
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"name": "ariaLabel",
|
|
2444
|
+
"type": "string",
|
|
2445
|
+
"required": false,
|
|
2446
|
+
"description": "Accessible label for the control (applied to the `tablist`)."
|
|
2447
|
+
}
|
|
2448
|
+
],
|
|
2449
|
+
"examples": [
|
|
2450
|
+
"<DialSegmentedControl\n ariaLabel=\"View\"\n value={view}\n onChange={setView}\n options={[\n { value: 'list', label: 'List' },\n { value: 'grid', label: 'Grid' },\n ]}\n/>"
|
|
2451
|
+
],
|
|
2452
|
+
"sourceFile": "components/SegmentedControl/SegmentedControl.tsx"
|
|
2453
|
+
},
|
|
2295
2454
|
{
|
|
2296
2455
|
"name": "DialPopup",
|
|
2297
2456
|
"category": "Overlay",
|
|
@@ -3358,6 +3517,16 @@
|
|
|
3358
3517
|
"type": "string",
|
|
3359
3518
|
"required": false
|
|
3360
3519
|
},
|
|
3520
|
+
{
|
|
3521
|
+
"name": "overlayContentClassName",
|
|
3522
|
+
"type": "string",
|
|
3523
|
+
"required": false
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"name": "separatorClassName",
|
|
3527
|
+
"type": "string",
|
|
3528
|
+
"required": false
|
|
3529
|
+
},
|
|
3361
3530
|
{
|
|
3362
3531
|
"name": "listClassName",
|
|
3363
3532
|
"type": "string",
|
|
@@ -3743,6 +3912,12 @@
|
|
|
3743
3912
|
"required": false,
|
|
3744
3913
|
"description": "Callback fired when files are uploaded"
|
|
3745
3914
|
},
|
|
3915
|
+
{
|
|
3916
|
+
"name": "prepareUploadFileName",
|
|
3917
|
+
"type": "(name: string) => string",
|
|
3918
|
+
"required": false,
|
|
3919
|
+
"description": "Optional mapper applied to each uploaded item's name before conflict resolution runs and before `onUploadFiles`/`onUploadArchive` are called. Use it to sanitize or normalize names (e.g. stripping forbidden symbols). Conflict detection is performed against the mapped names, so renames take place before the conflict check."
|
|
3920
|
+
},
|
|
3746
3921
|
{
|
|
3747
3922
|
"name": "onValidateUpload",
|
|
3748
3923
|
"type": "(\n files: DialUploadFileItem[],\n existingFiles: DialFile[],\n destinationFolder: string,\n ) => FileUploadValidationResult | Promise<FileUploadValidationResult>",
|
|
@@ -3938,6 +4113,11 @@
|
|
|
3938
4113
|
"name": "onNewFolderDepthExceeded",
|
|
3939
4114
|
"type": "() => void",
|
|
3940
4115
|
"required": false
|
|
4116
|
+
},
|
|
4117
|
+
{
|
|
4118
|
+
"name": "initialUploadFilesOpen",
|
|
4119
|
+
"type": "boolean",
|
|
4120
|
+
"required": false
|
|
3941
4121
|
}
|
|
3942
4122
|
],
|
|
3943
4123
|
"examples": [
|
|
@@ -3955,6 +4135,178 @@
|
|
|
3955
4135
|
],
|
|
3956
4136
|
"sourceFile": "components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.tsx"
|
|
3957
4137
|
},
|
|
4138
|
+
{
|
|
4139
|
+
"name": "DialFoldersTree",
|
|
4140
|
+
"category": "Data Display",
|
|
4141
|
+
"description": "DialFoldersTree — A hierarchical folder tree component with nested expand/collapse support, selection highlighting,\nand optional file display.\n\nProvides a fully interactive, recursive folder structure with:\n- Expandable and collapsible items\n- Optional file visibility\n- Loading state indicators for specific paths\n- Inline renaming support for folders or files\n- Multi-item selection highlighting\n- Context menu integration via `DialDropdown`\n- Recursive rendering with indentation and icons\n- Customizable empty state (title, description, and icon)",
|
|
4142
|
+
"props": [
|
|
4143
|
+
{
|
|
4144
|
+
"name": "items",
|
|
4145
|
+
"type": "DialFile[]",
|
|
4146
|
+
"required": true,
|
|
4147
|
+
"description": "Array of folder and file nodes to display in the tree."
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
"name": "expandedPaths",
|
|
4151
|
+
"type": "Set<string>",
|
|
4152
|
+
"required": false,
|
|
4153
|
+
"description": "Set of folder paths that should be expanded."
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
"name": "loadingPaths",
|
|
4157
|
+
"type": "Set<string>",
|
|
4158
|
+
"required": false,
|
|
4159
|
+
"defaultValue": "new Set()",
|
|
4160
|
+
"description": "Set of folder paths currently loading (shows spinner or placeholder)."
|
|
4161
|
+
},
|
|
4162
|
+
{
|
|
4163
|
+
"name": "loadedPaths",
|
|
4164
|
+
"type": "Set<string>",
|
|
4165
|
+
"required": false,
|
|
4166
|
+
"defaultValue": "new Set()",
|
|
4167
|
+
"description": "Set of folder paths that have loaded."
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"name": "sharedByMePaths",
|
|
4171
|
+
"type": "Set<string>",
|
|
4172
|
+
"required": false,
|
|
4173
|
+
"defaultValue": "new Set()",
|
|
4174
|
+
"description": "Set of items paths that the user has shared with others. Enables UI indicators (icons/badges)."
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
"name": "selectedPath",
|
|
4178
|
+
"type": "string",
|
|
4179
|
+
"required": false,
|
|
4180
|
+
"description": "Path representing the currently selected folder or file."
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
"name": "renamedPath",
|
|
4184
|
+
"type": "string",
|
|
4185
|
+
"required": false,
|
|
4186
|
+
"description": "Path of the folder or file currently being edited."
|
|
4187
|
+
},
|
|
4188
|
+
{
|
|
4189
|
+
"name": "createdFolderPath",
|
|
4190
|
+
"type": "string | null",
|
|
4191
|
+
"required": false,
|
|
4192
|
+
"description": "Optional Path of the new created folder."
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"name": "showFiles",
|
|
4196
|
+
"type": "boolean",
|
|
4197
|
+
"required": false,
|
|
4198
|
+
"defaultValue": "false",
|
|
4199
|
+
"description": "Whether to show files in addition to folders."
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"name": "rootItemPath",
|
|
4203
|
+
"type": "string",
|
|
4204
|
+
"required": false,
|
|
4205
|
+
"description": "Path of the folder to treat as the custom root node (no context menu, special label)."
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
"name": "rootItemLabel",
|
|
4209
|
+
"type": "string",
|
|
4210
|
+
"required": false,
|
|
4211
|
+
"description": "Label to display for the root node instead of its actual name."
|
|
4212
|
+
},
|
|
4213
|
+
{
|
|
4214
|
+
"name": "emptyStateTitle",
|
|
4215
|
+
"type": "string",
|
|
4216
|
+
"required": false,
|
|
4217
|
+
"defaultValue": "'No Folders'",
|
|
4218
|
+
"description": "Title text displayed when there are no items."
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"name": "emptyStateDescription",
|
|
4222
|
+
"type": "string",
|
|
4223
|
+
"required": false,
|
|
4224
|
+
"description": "Optional description text for the empty state."
|
|
4225
|
+
},
|
|
4226
|
+
{
|
|
4227
|
+
"name": "emptyStateIcon",
|
|
4228
|
+
"type": "ReactNode",
|
|
4229
|
+
"required": false,
|
|
4230
|
+
"description": "Optional icon to display in the empty state."
|
|
4231
|
+
},
|
|
4232
|
+
{
|
|
4233
|
+
"name": "onItemClick",
|
|
4234
|
+
"type": "(item: DialFile) => void",
|
|
4235
|
+
"required": false,
|
|
4236
|
+
"description": "Callback fired when a folder or file is clicked (receives the corresponding `DialFile` node)."
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
"name": "onRenameSave",
|
|
4240
|
+
"type": "(value: string) => void",
|
|
4241
|
+
"required": false,
|
|
4242
|
+
"description": "Callback fired when editing is confirmed with a valid name (receives the new name)."
|
|
4243
|
+
},
|
|
4244
|
+
{
|
|
4245
|
+
"name": "onRenameCancel",
|
|
4246
|
+
"type": "() => void",
|
|
4247
|
+
"required": false,
|
|
4248
|
+
"description": "Callback fired when editing is cancelled."
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
"name": "onRenameValidate",
|
|
4252
|
+
"type": "(value: string, item: DialFile) => string | null",
|
|
4253
|
+
"required": false,
|
|
4254
|
+
"description": "Function to validate the new name during editing. Should return an error string or `null` if valid."
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"name": "onCreateFolderSave",
|
|
4258
|
+
"type": "(value: string) => void",
|
|
4259
|
+
"required": false,
|
|
4260
|
+
"description": "Optional Callback fired when create new folder is confirmed"
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
"name": "onCreateFolderCancel",
|
|
4264
|
+
"type": "() => void",
|
|
4265
|
+
"required": false,
|
|
4266
|
+
"description": "Optional Callback fired when create new folder is cancelled"
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "getContextMenuItems",
|
|
4270
|
+
"type": "(item: DialFile) => DropdownItem[]",
|
|
4271
|
+
"required": false,
|
|
4272
|
+
"description": "Function returning context menu items for a given node."
|
|
4273
|
+
},
|
|
4274
|
+
{
|
|
4275
|
+
"name": "areHiddenFilesVisible",
|
|
4276
|
+
"type": "boolean",
|
|
4277
|
+
"required": false,
|
|
4278
|
+
"defaultValue": "false",
|
|
4279
|
+
"description": "Whether hidden files (dotfiles) should be visible in the tree."
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"name": "onExpandedPathsChange",
|
|
4283
|
+
"type": "(expandedPaths: Set<string>) => void",
|
|
4284
|
+
"required": false
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
"name": "forbiddenSymbolsRegExp",
|
|
4288
|
+
"type": "RegExp",
|
|
4289
|
+
"required": false,
|
|
4290
|
+
"description": "Optional RegExp used to validate folder and file names for forbidden characters."
|
|
4291
|
+
},
|
|
4292
|
+
{
|
|
4293
|
+
"name": "forbiddenSymbolsTooltip",
|
|
4294
|
+
"type": "ReactNode",
|
|
4295
|
+
"required": false,
|
|
4296
|
+
"description": "Optional tooltip content displayed when a name contains forbidden characters."
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
"name": "newFolderDefaultName",
|
|
4300
|
+
"type": "string",
|
|
4301
|
+
"required": false,
|
|
4302
|
+
"description": "Optional new folder default name."
|
|
4303
|
+
}
|
|
4304
|
+
],
|
|
4305
|
+
"examples": [
|
|
4306
|
+
"// Basic usage with folders and files\nconst items: DialFile[] = [\n {\n path: '/documents',\n name: 'Documents',\n nodeType: DialFileNodeType.FOLDER,\n items: [\n {\n path: '/documents/file.txt',\n name: 'file.txt',\n nodeType: DialFileNodeType.FILE,\n },\n ],\n },\n];\n\n<DialFoldersTree items={items} showFiles />\n\n// With expanded and selected items\nconst expandedPaths = new Set(['/documents']);\n\n<DialFoldersTree\n items={items}\n expandedPaths={expandedPaths}\n selectedPath=\"/documents/file.txt\"\n onItemClick={(item) => console.log('Clicked:', item.path)}\n/>\n\n// With inline renaming and validation\n<DialFoldersTree\n items={items}\n renamedPath=\"/documents\"\n onRenameValidate={(value) => (value.trim() ? null : 'Name cannot be empty')}\n onRenameSave={(newValue) => console.log('Saved new name:', newValue)}\n onRenameCancel={() => console.log('Edit cancelled')}\n/>\n\n// With custom empty state and context menu\nconst getContextMenuItems = (item: DialFile): DropdownItem[] => [\n { key: 'rename', label: 'Rename' },\n { key: 'delete', label: 'Delete', danger: true },\n];\n\n<DialFoldersTree\n items={[]}\n emptyStateTitle=\"No Content\"\n emptyStateDescription=\"Upload files or create a new folder to get started.\"\n emptyStateIcon={<IconFolderPlus />}\n getContextMenuItems={getContextMenuItems}\n/>"
|
|
4307
|
+
],
|
|
4308
|
+
"sourceFile": "components/FileManager/components/FoldersTree/FoldersTree.tsx"
|
|
4309
|
+
},
|
|
3958
4310
|
{
|
|
3959
4311
|
"name": "DialSchemaRenderer",
|
|
3960
4312
|
"category": "Name",
|
|
@@ -4081,6 +4433,25 @@
|
|
|
4081
4433
|
}
|
|
4082
4434
|
],
|
|
4083
4435
|
"types": [
|
|
4436
|
+
{
|
|
4437
|
+
"name": "AnalyticsBarColorStop",
|
|
4438
|
+
"kind": "interface",
|
|
4439
|
+
"members": [
|
|
4440
|
+
{
|
|
4441
|
+
"name": "from",
|
|
4442
|
+
"value": "number"
|
|
4443
|
+
},
|
|
4444
|
+
{
|
|
4445
|
+
"name": "to",
|
|
4446
|
+
"value": "number"
|
|
4447
|
+
},
|
|
4448
|
+
{
|
|
4449
|
+
"name": "color",
|
|
4450
|
+
"value": "string"
|
|
4451
|
+
}
|
|
4452
|
+
],
|
|
4453
|
+
"sourceFile": "models/analytics.ts"
|
|
4454
|
+
},
|
|
4084
4455
|
{
|
|
4085
4456
|
"name": "FileManagerGridRow",
|
|
4086
4457
|
"kind": "interface",
|
|
@@ -4424,6 +4795,21 @@
|
|
|
4424
4795
|
],
|
|
4425
4796
|
"sourceFile": "types/tab.ts"
|
|
4426
4797
|
},
|
|
4798
|
+
{
|
|
4799
|
+
"name": "TabView",
|
|
4800
|
+
"kind": "enum",
|
|
4801
|
+
"members": [
|
|
4802
|
+
{
|
|
4803
|
+
"name": "Default",
|
|
4804
|
+
"value": "'default'"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"name": "Inline",
|
|
4808
|
+
"value": "'inline'"
|
|
4809
|
+
}
|
|
4810
|
+
],
|
|
4811
|
+
"sourceFile": "types/tab.ts"
|
|
4812
|
+
},
|
|
4427
4813
|
{
|
|
4428
4814
|
"name": "DialBreadcrumbPathItem",
|
|
4429
4815
|
"kind": "interface",
|
|
@@ -4797,6 +5183,10 @@
|
|
|
4797
5183
|
"name": "label",
|
|
4798
5184
|
"value": "string"
|
|
4799
5185
|
},
|
|
5186
|
+
{
|
|
5187
|
+
"name": "labelNode?",
|
|
5188
|
+
"value": "ReactNode"
|
|
5189
|
+
},
|
|
4800
5190
|
{
|
|
4801
5191
|
"name": "description?",
|
|
4802
5192
|
"value": "string"
|
|
@@ -4816,6 +5206,29 @@
|
|
|
4816
5206
|
],
|
|
4817
5207
|
"sourceFile": "models/select.ts"
|
|
4818
5208
|
},
|
|
5209
|
+
{
|
|
5210
|
+
"name": "SegmentedControlOption",
|
|
5211
|
+
"kind": "interface",
|
|
5212
|
+
"members": [
|
|
5213
|
+
{
|
|
5214
|
+
"name": "value",
|
|
5215
|
+
"value": "T"
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
"name": "label?",
|
|
5219
|
+
"value": "ReactNode"
|
|
5220
|
+
},
|
|
5221
|
+
{
|
|
5222
|
+
"name": "icon?",
|
|
5223
|
+
"value": "ReactNode"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"name": "disabled?",
|
|
5227
|
+
"value": "boolean"
|
|
5228
|
+
}
|
|
5229
|
+
],
|
|
5230
|
+
"sourceFile": "models/segmented-control.ts"
|
|
5231
|
+
},
|
|
4819
5232
|
{
|
|
4820
5233
|
"name": "TabModel",
|
|
4821
5234
|
"kind": "interface",
|
|
@@ -5252,6 +5665,11 @@
|
|
|
5252
5665
|
}
|
|
5253
5666
|
],
|
|
5254
5667
|
"hooks": [
|
|
5668
|
+
{
|
|
5669
|
+
"name": "AnalyticsCardVariant",
|
|
5670
|
+
"sourceFile": "types/analytics.ts",
|
|
5671
|
+
"signature": "enum AnalyticsCardVariant { Default = 'default', Compact = 'compact' }"
|
|
5672
|
+
},
|
|
5255
5673
|
{
|
|
5256
5674
|
"name": "useDialFileManagerTabs",
|
|
5257
5675
|
"sourceFile": "components/FileManager/hooks/use-file-manager-tabs.tsx",
|