@epam/ai-dial-ui-kit 0.15.0-dev.18 → 0.15.0-dev.19
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/README.md +4 -0
- package/dist/CHANGELOG.md +2 -0
- package/dist/{DateCellRenderer-CWkRbOzj.cjs → DateCellRenderer-BZR0gzAZ.cjs} +1 -1
- package/dist/{DateCellRenderer-lgC9R6XK.cjs → DateCellRenderer-Cm8zyHcC.cjs} +1 -1
- package/dist/components/New/FileIcon/FileIcon.js +55 -0
- package/dist/components/New/FileIcon/constants.js +134 -0
- package/dist/components/New/FileIcon/icons/FileGlyph.js +150 -0
- package/dist/components/New/FileIcon/icons/FolderGlyph.js +50 -0
- package/dist/components/New/FileName/FileName.js +78 -0
- package/dist/components/New/FolderName/FolderName.js +16 -0
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +34 -0
- package/dist/components-manifest.json +263 -7
- package/dist/constants/public-class-names.js +14 -0
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +122 -114
- package/dist/file-manager.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/src/components/New/FileIcon/FileIcon.d.ts +61 -0
- package/dist/src/components/New/FileIcon/constants.d.ts +16 -0
- package/dist/src/components/New/FileIcon/icons/FileGlyph.d.ts +18 -0
- package/dist/src/components/New/FileIcon/icons/FolderGlyph.d.ts +17 -0
- package/dist/src/components/New/FileName/FileName.d.ts +79 -0
- package/dist/src/components/New/FolderName/FolderName.d.ts +37 -0
- package/dist/src/components/New/SharedEntityIndicator/SharedEntityIndicator.d.ts +35 -0
- package/dist/src/constants/public-class-names.d.ts +14 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/{use-file-manager-tabs-BhQiRABT.cjs → use-file-manager-tabs-wwM2gh2N.cjs} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { EllipsisTooltip as T } from "../EllipsisTooltip/EllipsisTooltip.js";
|
|
3
|
+
import { FileIcon as g } from "../FileIcon/FileIcon.js";
|
|
4
|
+
import { DIAL_KIT_CLASS as v } from "../../../constants/public-class-names.js";
|
|
5
|
+
import { DialItemType as w } from "../../../types/item.js";
|
|
6
|
+
import { mergeClasses as l } from "../../../utils/merge-classes.js";
|
|
7
|
+
const D = ({
|
|
8
|
+
name: s,
|
|
9
|
+
type: o = w.File,
|
|
10
|
+
fileExtension: t,
|
|
11
|
+
shared: i = !1,
|
|
12
|
+
loading: m = !1,
|
|
13
|
+
loadingLabel: p,
|
|
14
|
+
iconSize: f,
|
|
15
|
+
details: r,
|
|
16
|
+
isInvalidName: c = !1,
|
|
17
|
+
className: n,
|
|
18
|
+
nameClassName: x,
|
|
19
|
+
sharedIndicatorClassName: d,
|
|
20
|
+
sharedIndicatorTooltip: N,
|
|
21
|
+
sharedLabel: h = "Shared",
|
|
22
|
+
hideTooltip: y = !1,
|
|
23
|
+
tooltipContent: I
|
|
24
|
+
}) => /* @__PURE__ */ a(
|
|
25
|
+
"div",
|
|
26
|
+
{
|
|
27
|
+
className: l(
|
|
28
|
+
"flex w-full min-w-0 items-center gap-2",
|
|
29
|
+
n,
|
|
30
|
+
v.fileName
|
|
31
|
+
),
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ e(
|
|
34
|
+
g,
|
|
35
|
+
{
|
|
36
|
+
name: s,
|
|
37
|
+
type: o,
|
|
38
|
+
fileExtension: t,
|
|
39
|
+
shared: i,
|
|
40
|
+
loading: m,
|
|
41
|
+
loadingLabel: p,
|
|
42
|
+
size: f,
|
|
43
|
+
sharedIndicatorClassName: d,
|
|
44
|
+
sharedIndicatorTooltip: N,
|
|
45
|
+
decorative: !m
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ a(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: l("flex min-w-0 flex-1", {
|
|
52
|
+
"flex-col gap-1": !!r
|
|
53
|
+
}),
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ e(
|
|
56
|
+
T,
|
|
57
|
+
{
|
|
58
|
+
className: l(
|
|
59
|
+
"dial-small-paragraph-text",
|
|
60
|
+
c ? "text-secondary" : "text-primary",
|
|
61
|
+
x
|
|
62
|
+
),
|
|
63
|
+
text: s,
|
|
64
|
+
hideTooltip: y,
|
|
65
|
+
customTooltipContent: I
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
i && /* @__PURE__ */ e("span", { className: "sr-only", children: h }),
|
|
69
|
+
r
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
export {
|
|
77
|
+
D as FileName
|
|
78
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { FileName as r } from "../FileName/FileName.js";
|
|
3
|
+
import { DIAL_KIT_CLASS as t } from "../../../constants/public-class-names.js";
|
|
4
|
+
import { DialItemType as p } from "../../../types/item.js";
|
|
5
|
+
import { mergeClasses as a } from "../../../utils/merge-classes.js";
|
|
6
|
+
const d = ({ className: m, ...e }) => /* @__PURE__ */ o(
|
|
7
|
+
r,
|
|
8
|
+
{
|
|
9
|
+
...e,
|
|
10
|
+
type: p.Folder,
|
|
11
|
+
className: a(m, t.folderName)
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
d as FolderName
|
|
16
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { IconArrowUpRight as a } from "@tabler/icons-react";
|
|
3
|
+
import { DIAL_KIT_ICON_STROKE as m } from "../constants/icon.js";
|
|
4
|
+
import { Tooltip as d } from "../Tooltip/Tooltip.js";
|
|
5
|
+
import { DIAL_KIT_CLASS as s } from "../../../constants/public-class-names.js";
|
|
6
|
+
import { mergeClasses as n } from "../../../utils/merge-classes.js";
|
|
7
|
+
const S = ({
|
|
8
|
+
label: o = "Shared",
|
|
9
|
+
tooltip: t,
|
|
10
|
+
size: e = 12,
|
|
11
|
+
className: i
|
|
12
|
+
}) => /* @__PURE__ */ r(d, { tooltip: t || "Shared", asChild: !0, children: /* @__PURE__ */ r(
|
|
13
|
+
"span",
|
|
14
|
+
{
|
|
15
|
+
role: "img",
|
|
16
|
+
"aria-label": o,
|
|
17
|
+
className: n(
|
|
18
|
+
"flex shrink-0 rounded-sm bg-layer-raised text-accent",
|
|
19
|
+
i,
|
|
20
|
+
s.sharedEntityIndicator
|
|
21
|
+
),
|
|
22
|
+
children: /* @__PURE__ */ r(
|
|
23
|
+
a,
|
|
24
|
+
{
|
|
25
|
+
size: e,
|
|
26
|
+
stroke: m,
|
|
27
|
+
"aria-hidden": "true"
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
}
|
|
31
|
+
) });
|
|
32
|
+
export {
|
|
33
|
+
S as SharedEntityIndicator
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.15.0-dev.
|
|
3
|
-
"generatedAt": "2026-09-
|
|
2
|
+
"version": "0.15.0-dev.19",
|
|
3
|
+
"generatedAt": "2026-09-24T22:40:58.295Z",
|
|
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",
|
|
@@ -3152,6 +3152,258 @@
|
|
|
3152
3152
|
],
|
|
3153
3153
|
"sourceFile": "components/New/FileDropzone/FileDropzone.tsx"
|
|
3154
3154
|
},
|
|
3155
|
+
{
|
|
3156
|
+
"name": "FileIcon",
|
|
3157
|
+
"category": "Components_2_0",
|
|
3158
|
+
"generation": "2.0",
|
|
3159
|
+
"description": "The icon of a file or folder row in a file manager: a file-type glyph picked\nby extension, or a folder, with an optional shared badge and loading state.\naliases: FileTypeIcon|EntityIcon\nDesign system 2.0\n\nThe root is a `role=\"img\"` whose name says what the item is, and that it is\nshared — the badge itself is drawn inside the image, so its tooltip is a\npointer-only hint and never the only place the state is conveyed. While\n`loading`, the root drops the role and holds a `Spinner`, which announces\nitself as a status. Pass `decorative` when the row already names the item.",
|
|
3160
|
+
"props": [
|
|
3161
|
+
{
|
|
3162
|
+
"name": "type",
|
|
3163
|
+
"type": "DialItemType",
|
|
3164
|
+
"required": true,
|
|
3165
|
+
"description": "Whether the item is a file or a folder"
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"name": "name",
|
|
3169
|
+
"type": "string",
|
|
3170
|
+
"required": true,
|
|
3171
|
+
"description": "Item name; a file's extension is read from it"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"name": "fileExtension",
|
|
3175
|
+
"type": "string",
|
|
3176
|
+
"required": false,
|
|
3177
|
+
"description": "Extension overriding the one in `name`"
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"name": "shared",
|
|
3181
|
+
"type": "boolean",
|
|
3182
|
+
"required": false,
|
|
3183
|
+
"defaultValue": "false",
|
|
3184
|
+
"description": "Draws the shared badge"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"name": "loading",
|
|
3188
|
+
"type": "boolean",
|
|
3189
|
+
"required": false,
|
|
3190
|
+
"defaultValue": "false",
|
|
3191
|
+
"description": "Replaces the glyph with a spinner"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"name": "size",
|
|
3195
|
+
"type": "number",
|
|
3196
|
+
"required": false,
|
|
3197
|
+
"defaultValue": "DIAL_ICON_SIZE.MD",
|
|
3198
|
+
"description": "Glyph size in px"
|
|
3199
|
+
},
|
|
3200
|
+
{
|
|
3201
|
+
"name": "className",
|
|
3202
|
+
"type": "string",
|
|
3203
|
+
"required": false,
|
|
3204
|
+
"description": "Additional CSS classes for the root element"
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"name": "decorative",
|
|
3208
|
+
"type": "boolean",
|
|
3209
|
+
"required": false,
|
|
3210
|
+
"defaultValue": "false",
|
|
3211
|
+
"description": "Hides the icon from assistive technology"
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"name": "label",
|
|
3215
|
+
"type": "string",
|
|
3216
|
+
"required": false,
|
|
3217
|
+
"description": "Accessible name, overriding the generated one"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"name": "loadingLabel",
|
|
3221
|
+
"type": "string",
|
|
3222
|
+
"required": false,
|
|
3223
|
+
"defaultValue": "'Loading'",
|
|
3224
|
+
"description": "Accessible name of the spinner"
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
"name": "sharedIndicatorClassName",
|
|
3228
|
+
"type": "string",
|
|
3229
|
+
"required": false,
|
|
3230
|
+
"description": "Additional CSS classes for the shared badge"
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"name": "sharedIndicatorTooltip",
|
|
3234
|
+
"type": "ReactNode",
|
|
3235
|
+
"required": false,
|
|
3236
|
+
"description": "Tooltip shown over the shared badge"
|
|
3237
|
+
}
|
|
3238
|
+
],
|
|
3239
|
+
"examples": [
|
|
3240
|
+
"<FileIcon name=\"report.pdf\" type={DialItemType.File} shared />\n<FileIcon name=\"Projects\" type={DialItemType.Folder} loading />"
|
|
3241
|
+
],
|
|
3242
|
+
"sourceFile": "components/New/FileIcon/FileIcon.tsx"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"name": "FileName",
|
|
3246
|
+
"category": "Components_2_0",
|
|
3247
|
+
"generation": "2.0",
|
|
3248
|
+
"description": "A file or folder name with its type icon, truncated with a tooltip when it\ndoes not fit.\naliases: FileDisplay|NameDisplay\nDesign system 2.0\n\nThe visible name already says what the item is, so the icon is decorative;\nthe shared state, which only the badge shows, is announced by a\nvisually-hidden `sharedLabel` after the name instead.\n\nWhile `loading` the icon is swapped for a `Spinner`, which is left in the\naccessibility tree so the busy state is announced.\n\nWith `details` the text switches to two lines — the name, then the metadata.",
|
|
3249
|
+
"props": [
|
|
3250
|
+
{
|
|
3251
|
+
"name": "name",
|
|
3252
|
+
"type": "string",
|
|
3253
|
+
"required": true,
|
|
3254
|
+
"description": "Full item name, with or without an extension"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"name": "type",
|
|
3258
|
+
"type": "DialItemType",
|
|
3259
|
+
"required": false,
|
|
3260
|
+
"defaultValue": "DialItemType.File",
|
|
3261
|
+
"description": "Whether the item is a file or a folder"
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"name": "fileExtension",
|
|
3265
|
+
"type": "string",
|
|
3266
|
+
"required": false,
|
|
3267
|
+
"description": "Extension overriding the one in `name`"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"name": "shared",
|
|
3271
|
+
"type": "boolean",
|
|
3272
|
+
"required": false,
|
|
3273
|
+
"defaultValue": "false",
|
|
3274
|
+
"description": "Draws the shared badge on the icon"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"name": "loading",
|
|
3278
|
+
"type": "boolean",
|
|
3279
|
+
"required": false,
|
|
3280
|
+
"defaultValue": "false",
|
|
3281
|
+
"description": "Replaces the icon with a spinner"
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"name": "loadingLabel",
|
|
3285
|
+
"type": "string",
|
|
3286
|
+
"required": false,
|
|
3287
|
+
"description": "Accessible name of the spinner"
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
"name": "iconSize",
|
|
3291
|
+
"type": "number",
|
|
3292
|
+
"required": false,
|
|
3293
|
+
"description": "Icon size in px"
|
|
3294
|
+
},
|
|
3295
|
+
{
|
|
3296
|
+
"name": "details",
|
|
3297
|
+
"type": "ReactNode",
|
|
3298
|
+
"required": false,
|
|
3299
|
+
"description": "Metadata under the name"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"name": "isInvalidName",
|
|
3303
|
+
"type": "boolean",
|
|
3304
|
+
"required": false,
|
|
3305
|
+
"defaultValue": "false",
|
|
3306
|
+
"description": "Mutes the name, marking it as invalid"
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
"name": "className",
|
|
3310
|
+
"type": "string",
|
|
3311
|
+
"required": false,
|
|
3312
|
+
"description": "Additional CSS classes for the root element"
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
"name": "nameClassName",
|
|
3316
|
+
"type": "string",
|
|
3317
|
+
"required": false,
|
|
3318
|
+
"description": "Additional CSS classes for the name text"
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"name": "sharedIndicatorClassName",
|
|
3322
|
+
"type": "string",
|
|
3323
|
+
"required": false,
|
|
3324
|
+
"description": "Additional CSS classes for the shared badge"
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"name": "sharedIndicatorTooltip",
|
|
3328
|
+
"type": "ReactNode",
|
|
3329
|
+
"required": false,
|
|
3330
|
+
"description": "Tooltip shown over the shared badge"
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
"name": "sharedLabel",
|
|
3334
|
+
"type": "string",
|
|
3335
|
+
"required": false,
|
|
3336
|
+
"defaultValue": "'Shared'",
|
|
3337
|
+
"description": "Screen-reader text announcing the shared state"
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"name": "hideTooltip",
|
|
3341
|
+
"type": "boolean",
|
|
3342
|
+
"required": false,
|
|
3343
|
+
"defaultValue": "false",
|
|
3344
|
+
"description": "Suppresses the full-name tooltip"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"name": "tooltipContent",
|
|
3348
|
+
"type": "ReactNode",
|
|
3349
|
+
"required": false,
|
|
3350
|
+
"description": "Shown instead of the full name while truncated"
|
|
3351
|
+
}
|
|
3352
|
+
],
|
|
3353
|
+
"examples": [
|
|
3354
|
+
"<FileName name=\"Document.pdf\" shared />\n<FileName\n name=\"Document.pdf\"\n details={<span className=\"dial-tiny-text text-secondary\">24 KB · Jul 20</span>}\n/>"
|
|
3355
|
+
],
|
|
3356
|
+
"sourceFile": "components/New/FileName/FileName.tsx"
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"name": "FolderName",
|
|
3360
|
+
"category": "Components_2_0",
|
|
3361
|
+
"generation": "2.0",
|
|
3362
|
+
"description": "A folder name with the folder icon, truncated with a tooltip when it does\nnot fit.\naliases: FolderDisplay|DirectoryName\nDesign system 2.0\n\nA `FileName` fixed to `DialItemType.Folder`, so it shares every behaviour of\nit — decorative icon, visually-hidden shared label, `details` line and the\n`loading` spinner. Its root carries `dial-kit-folder-name` on top of\n`dial-kit-file-name`.",
|
|
3363
|
+
"props": [],
|
|
3364
|
+
"examples": [
|
|
3365
|
+
"<FolderName name=\"Organization\" shared />\n<FolderName name=\"Uploads\" loading />"
|
|
3366
|
+
],
|
|
3367
|
+
"sourceFile": "components/New/FolderName/FolderName.tsx"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"name": "SharedEntityIndicator",
|
|
3371
|
+
"category": "Components_2_0",
|
|
3372
|
+
"generation": "2.0",
|
|
3373
|
+
"description": "A small arrow badge marking an entity as shared.\naliases: SharedIcon|AccessIndicator\nDesign system 2.0\n\nA `role=\"img\"` named by `label`, so it can stand on its own. Placed inside a\nlarger `role=\"img\"` — as `FileIcon` does — its name is folded into the\nparent's, which is why `FileIcon` names the shared state itself. The tooltip\nis a pointer-only hint: the badge is not focusable, and the tooltip never\nreaches assistive technology, so `label` is what carries the meaning.",
|
|
3374
|
+
"props": [
|
|
3375
|
+
{
|
|
3376
|
+
"name": "label",
|
|
3377
|
+
"type": "string",
|
|
3378
|
+
"required": false,
|
|
3379
|
+
"defaultValue": "'Shared'",
|
|
3380
|
+
"description": "Accessible name of the badge"
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"name": "tooltip",
|
|
3384
|
+
"type": "ReactNode",
|
|
3385
|
+
"required": false,
|
|
3386
|
+
"description": "Tooltip shown while the badge is hovered"
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
"name": "size",
|
|
3390
|
+
"type": "number",
|
|
3391
|
+
"required": false,
|
|
3392
|
+
"defaultValue": "12",
|
|
3393
|
+
"description": "Arrow size in px"
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"name": "className",
|
|
3397
|
+
"type": "string",
|
|
3398
|
+
"required": false,
|
|
3399
|
+
"description": "Additional CSS classes for the badge"
|
|
3400
|
+
}
|
|
3401
|
+
],
|
|
3402
|
+
"examples": [
|
|
3403
|
+
"<SharedEntityIndicator />\n<SharedEntityIndicator tooltip=\"Shared with 3 people\" className=\"absolute -bottom-0.5 -left-0.5\" />"
|
|
3404
|
+
],
|
|
3405
|
+
"sourceFile": "components/New/SharedEntityIndicator/SharedEntityIndicator.tsx"
|
|
3406
|
+
},
|
|
3155
3407
|
{
|
|
3156
3408
|
"name": "Tag",
|
|
3157
3409
|
"category": "Components_2_0",
|
|
@@ -5655,7 +5907,8 @@
|
|
|
5655
5907
|
"examples": [
|
|
5656
5908
|
"<DialFileIcon extension=\".pdf\" />\n<DialFileIcon extension=\"tsx\" size={28} stroke={1.25} />\n<DialFileIcon extension=\"unknown\" decorative /> // decorative, hidden from AT"
|
|
5657
5909
|
],
|
|
5658
|
-
"sourceFile": "components/FileIcon/FileIcon.tsx"
|
|
5910
|
+
"sourceFile": "components/FileIcon/FileIcon.tsx",
|
|
5911
|
+
"supersededBy": "FileIcon"
|
|
5659
5912
|
},
|
|
5660
5913
|
{
|
|
5661
5914
|
"name": "DialFormItem",
|
|
@@ -5773,7 +6026,8 @@
|
|
|
5773
6026
|
"examples": [
|
|
5774
6027
|
"<DialSharedEntityIndicator />\n<DialSharedEntityIndicator size={12} label=\"Opens in new window\" />"
|
|
5775
6028
|
],
|
|
5776
|
-
"sourceFile": "components/SharedEntityIndicator/SharedEntityIndicator.tsx"
|
|
6029
|
+
"sourceFile": "components/SharedEntityIndicator/SharedEntityIndicator.tsx",
|
|
6030
|
+
"supersededBy": "SharedEntityIndicator"
|
|
5777
6031
|
},
|
|
5778
6032
|
{
|
|
5779
6033
|
"name": "DialFileName",
|
|
@@ -5853,7 +6107,8 @@
|
|
|
5853
6107
|
"examples": [
|
|
5854
6108
|
"// Without details\n<DialFileName name=\"Document.pdf\" />\n\n// With details (file size and updated date)\n<DialFileName\n name=\"Document.pdf\"\n details={<span className=\"text-secondary\">24 KB · Jul 20, 2025</span>}\n/>"
|
|
5855
6109
|
],
|
|
5856
|
-
"sourceFile": "components/FileName/FileName.tsx"
|
|
6110
|
+
"sourceFile": "components/FileName/FileName.tsx",
|
|
6111
|
+
"supersededBy": "FileName"
|
|
5857
6112
|
},
|
|
5858
6113
|
{
|
|
5859
6114
|
"name": "DialFolderName",
|
|
@@ -5930,7 +6185,8 @@
|
|
|
5930
6185
|
"examples": [
|
|
5931
6186
|
"<DialFolderName name=\"Organization\" />"
|
|
5932
6187
|
],
|
|
5933
|
-
"sourceFile": "components/FolderName/FolderName.tsx"
|
|
6188
|
+
"sourceFile": "components/FolderName/FolderName.tsx",
|
|
6189
|
+
"supersededBy": "FolderName"
|
|
5934
6190
|
},
|
|
5935
6191
|
{
|
|
5936
6192
|
"name": "DialResizableContainer",
|
|
@@ -10991,7 +11247,7 @@
|
|
|
10991
11247
|
{
|
|
10992
11248
|
"name": "DIAL_KIT_CLASS",
|
|
10993
11249
|
"sourceFile": "constants/public-class-names.ts",
|
|
10994
|
-
"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\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 `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 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 /* ── 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"
|
|
11250
|
+
"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\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 `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 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\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"
|
|
10995
11251
|
}
|
|
10996
11252
|
]
|
|
10997
11253
|
}
|
|
@@ -110,6 +110,20 @@ const i = {
|
|
|
110
110
|
calendar: "dial-kit-calendar",
|
|
111
111
|
/** The drop area of a `FileDropzone`. */
|
|
112
112
|
fileDropzone: "dial-kit-file-dropzone",
|
|
113
|
+
/**
|
|
114
|
+
* The root of a `FileIcon`, wrapping the file or folder glyph (or
|
|
115
|
+
* its spinner while loading) and the shared badge.
|
|
116
|
+
*/
|
|
117
|
+
fileIcon: "dial-kit-file-icon",
|
|
118
|
+
/** The row of a `FileName`: its type icon, the name and any details. */
|
|
119
|
+
fileName: "dial-kit-file-name",
|
|
120
|
+
/** The `FileName` row of a `FolderName`, additive to `fileName`. */
|
|
121
|
+
folderName: "dial-kit-folder-name",
|
|
122
|
+
/**
|
|
123
|
+
* The `role="img"` badge of a `SharedEntityIndicator` — standalone, or the
|
|
124
|
+
* shared badge a `FileIcon` draws over its glyph.
|
|
125
|
+
*/
|
|
126
|
+
sharedEntityIndicator: "dial-kit-shared-entity-indicator",
|
|
113
127
|
/* ── Controls ──────────────────────────────────────────────────────────── */
|
|
114
128
|
/** The row of a `Switch`: the control and its label. */
|
|
115
129
|
switch: "dial-kit-switch",
|