@epam/ai-dial-attachment-input 1.1.0-dev.62 → 1.1.0-dev.68
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/index.css +1 -1
- package/index.js +16 -16
- package/package.json +3 -3
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tile_1khux_1{background:var(--ci-tile-bg,var(--bg-layer-3,#fcfcfc));border-color:var(--ci-tile-border,var(--stroke-secondary,#d1dbea))}._tile_1khux_1:hover{border-color:var(--ci-tile-border-hover,var(--stroke-hover-tint,#0000001f))}._tile_1khux_1:focus-visible{outline-color:var(--ci-tile-focus-outline,var(--controls-stroke-focus,#eef1f7))}._tileLight_1khux_12{background:var(--ci-tile-bg,var(--bg-layer-6,#f8fafc))}._tileError_1khux_16{background:var(--ci-tile-bg-error,var(--bg-error,#f3d6d8));border-color:var(--ci-tile-border-error,var(--stroke-error,#ae2f2f))}._tileError_1khux_16:hover{border-color:var(--ci-tile-border-error,var(--stroke-error,#ae2f2f))}._tileError_1khux_16 ._nameText_1khux_23,._tileError_1khux_16 ._typeText_1khux_24{color:var(--ci-tile-error-text,var(--text-error,#ae2f2f))}._nameText_1khux_23{color:var(--ci-tile-name-text,var(--text-primary,#161b2d))}._typeText_1khux_24{color:var(--ci-tile-type-text,var(--text-secondary,#6b7280))}._retryIcon_1khux_36{color:var(--ci-tile-error-text,var(--text-error,#ae2f2f))}._hoverIcon_1khux_40{background:var(--ci-tile-hover-icon-bg,var(--bg-layer-2,#eef1f7));color:var(--ci-tile-hover-icon-color,var(--text-primary,#161b2d))}._hoverIcon_1khux_40:hover{background:var(--ci-tile-hover-icon-bg,var(--bg-layer-2,#eef1f7))!important}._track_1khux_48{background:var(--ci-tile-track-bg,var(--bg-layer-1,#e0e6f0))}._indeterminateFill_1khux_52{background:var(--ci-tile-fill-bg,var(--bg-accent-primary-fill,#5c8dea));animation:1.2s ease-in-out infinite _attachment-tile-indeterminate_1khux_1}@media (prefers-reduced-motion:reduce){._indeterminateFill_1khux_52{animation:none}}@keyframes _attachment-tile-indeterminate_1khux_1{0%{transform:translate(-100%)}to{transform:translate(300%)}}._tile_1m13z_1{background:var(--ci-more-tile-bg,var(--bg-layer-2,#eef1f7));border-color:var(--ci-more-tile-border,var(--stroke-secondary,#d1dbea));color:var(--ci-more-tile-color,var(--text-secondary,#6b7280))}._tile_1m13z_1:hover{background:var(--ci-more-tile-bg-hover,var(--bg-accent-primary-alpha,#7da4ff2e));color:var(--ci-more-tile-color-hover,var(--text-accent,#1d4ed8));border-color:var(--ci-more-tile-border-hover,color-mix(in srgb, var(--stroke-accent-primary-hover,#7da4ff) 50%, transparent))}._tile_1m13z_1:focus-visible{outline-color:var(--ci-more-tile-focus-outline,var(--controls-stroke-focus,#eef1f7))}._container_109up_1{background:var(--ci-group-bg,var(--bg-layer-2,#eef1f7));border-color:var(--ci-group-border,var(--stroke-secondary,#d1dbea))}._headerIcon_109up_6,._headerLabel_109up_7,._downloadAllButton_109up_8{color:var(--ci-group-text,var(--text-secondary,#6b7280))}._imageTile_109up_12{--ci-card-bg:var(--bg-layer-3,#fcfcfc)}._overlay_1f3nw_1{background:var(--fd-bg,var(--bg-backdrop,#0c101d4d))}._icon_1f3nw_5{color:var(--fd-icon,var(--text-accent-primary,#124ace))}._deniedIcon_1f3nw_9{color:var(--fd-denied-icon,var(--text-error,#ae2f2f))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.js
CHANGED
|
@@ -121,16 +121,16 @@ var ue = 5, de = 4, fe = "flex size-[84px] items-center justify-center rounded-x
|
|
|
121
121
|
visibleCount: 4,
|
|
122
122
|
hiddenCount: e - 4
|
|
123
123
|
}, X = {
|
|
124
|
-
tile: "
|
|
125
|
-
tileLight: "
|
|
126
|
-
tileError: "
|
|
127
|
-
nameText: "
|
|
128
|
-
typeText: "
|
|
129
|
-
retryIcon: "
|
|
130
|
-
hoverIcon: "
|
|
131
|
-
track: "
|
|
132
|
-
indeterminateFill: "
|
|
133
|
-
"attachment-tile-indeterminate": "_attachment-tile-
|
|
124
|
+
tile: "_tile_1khux_1",
|
|
125
|
+
tileLight: "_tileLight_1khux_12",
|
|
126
|
+
tileError: "_tileError_1khux_16",
|
|
127
|
+
nameText: "_nameText_1khux_23",
|
|
128
|
+
typeText: "_typeText_1khux_24",
|
|
129
|
+
retryIcon: "_retryIcon_1khux_36",
|
|
130
|
+
hoverIcon: "_hoverIcon_1khux_40",
|
|
131
|
+
track: "_track_1khux_48",
|
|
132
|
+
indeterminateFill: "_indeterminateFill_1khux_52",
|
|
133
|
+
"attachment-tile-indeterminate": "_attachment-tile-indeterminate_1khux_1"
|
|
134
134
|
}, Z = ({ ariaLabel: e, errorTitle: t, errorDescId: n, onClick: r, id: i, icon: o, className: s }) => /* @__PURE__ */ K(ae, {
|
|
135
135
|
icon: o,
|
|
136
136
|
size: ce.Small,
|
|
@@ -431,7 +431,7 @@ var ue = 5, de = 4, fe = "flex size-[84px] items-center justify-center rounded-x
|
|
|
431
431
|
})
|
|
432
432
|
}, e.id))
|
|
433
433
|
});
|
|
434
|
-
}, Pe = { tile: "
|
|
434
|
+
}, Pe = { tile: "_tile_1m13z_1" }, Fe = ({ count: e, onClick: t, labels: n, children: r, styles: o }) => {
|
|
435
435
|
let { ariaLabel: s } = n ?? {}, { typography: { fontClassName: c = "dial-small-semi-text" } = {}, className: l, colors: u } = o ?? {}, d = i({
|
|
436
436
|
"--ci-more-tile-bg": u?.background,
|
|
437
437
|
"--ci-more-tile-border": u?.border,
|
|
@@ -453,11 +453,11 @@ var ue = 5, de = 4, fe = "flex size-[84px] items-center justify-center rounded-x
|
|
|
453
453
|
})
|
|
454
454
|
});
|
|
455
455
|
}, $ = {
|
|
456
|
-
container: "
|
|
457
|
-
headerIcon: "
|
|
458
|
-
headerLabel: "
|
|
459
|
-
downloadAllButton: "
|
|
460
|
-
imageTile: "
|
|
456
|
+
container: "_container_109up_1",
|
|
457
|
+
headerIcon: "_headerIcon_109up_6",
|
|
458
|
+
headerLabel: "_headerLabel_109up_7",
|
|
459
|
+
downloadAllButton: "_downloadAllButton_109up_8",
|
|
460
|
+
imageTile: "_imageTile_109up_12"
|
|
461
461
|
}, Ie = (e, t) => `${e} ${t}${e === 1 ? "" : "s"}`, Le = ({ attachments: e, onAttachmentClick: n, onDownloadAll: o, onRetry: s, labels: c, styles: u }) => {
|
|
462
462
|
let { ariaLabel: p = "Attachments", clickLabel: h = "Download attachment", retryLabel: _ = "Retry upload", showLessLabel: v = "Show less", downloadAllLabel: y = "Download all", openInNewTabLabel: b, getHeaderLabel: x = (e) => Ie(e, "attachment"), promptLabel: S, pastedLabel: C, imageLabel: w } = c ?? {}, { typography: { headerLabelClassName: T = "dial-tiny-semi-text" } = {}, colors: E, className: D } = u ?? {}, O = i({
|
|
463
463
|
"--ci-group-bg": E?.background,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-attachment-input",
|
|
3
3
|
"description": "File attachment input components with upload validation, drag-and-drop, and progress tracking",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.68",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
20
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.68",
|
|
21
21
|
"@tabler/icons-react": "^3.44.0",
|
|
22
22
|
"react": "^19.0.0",
|
|
23
|
-
"@epam/ai-dial-ui-kit": "^0.13.0-dev.
|
|
23
|
+
"@epam/ai-dial-ui-kit": "^0.13.0-dev.23"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|