@epam/ai-dial-attachment-input 1.0.0-dev.514 → 1.0.0-dev.517

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 (30) hide show
  1. package/components/AttachmentCard/AttachmentCard.d.ts.map +1 -1
  2. package/components/AttachmentCard/Attachments/Actions.d.ts +29 -0
  3. package/components/AttachmentCard/Attachments/Actions.d.ts.map +1 -0
  4. package/components/AttachmentCard/Attachments/Audio.d.ts +16 -0
  5. package/components/AttachmentCard/Attachments/Audio.d.ts.map +1 -0
  6. package/components/{AttachmentFileRow/AttachmentFileRow.d.ts → AttachmentCard/Attachments/File.d.ts} +3 -3
  7. package/components/AttachmentCard/Attachments/File.d.ts.map +1 -0
  8. package/components/AttachmentCard/Attachments/Image.d.ts +17 -0
  9. package/components/AttachmentCard/Attachments/Image.d.ts.map +1 -0
  10. package/components/AttachmentGroup/AttachmentGroup.d.ts.map +1 -1
  11. package/components/AttachmentMoreTile/AttachmentMoreTile.d.ts.map +1 -1
  12. package/components/AttachmentTray/AttachmentTray.d.ts.map +1 -1
  13. package/constants/attachment-group.d.ts +2 -0
  14. package/constants/attachment-group.d.ts.map +1 -1
  15. package/index.css +1 -1
  16. package/index.d.ts +0 -2
  17. package/index.d.ts.map +1 -1
  18. package/index.js +391 -462
  19. package/models/attachment-card.d.ts +30 -47
  20. package/models/attachment-card.d.ts.map +1 -1
  21. package/models/attachment-file-row.d.ts +28 -51
  22. package/models/attachment-file-row.d.ts.map +1 -1
  23. package/models/attachment-group.d.ts +4 -12
  24. package/models/attachment-group.d.ts.map +1 -1
  25. package/models/attachment-tray.d.ts +1 -1
  26. package/models/attachment-tray.d.ts.map +1 -1
  27. package/package.json +2 -2
  28. package/utils/attachment.d.ts +2 -2
  29. package/utils/attachment.d.ts.map +1 -1
  30. package/components/AttachmentFileRow/AttachmentFileRow.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentCard.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentCard/AttachmentCard.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,KAAK,EAAE,EAAgD,MAAM,OAAO,CAAC;AAK9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAOxE,8GAA8G;AAC9G,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAiYlD,CAAC"}
1
+ {"version":3,"file":"AttachmentCard.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentCard/AttachmentCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAMxE,8GAA8G;AAC9G,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAgFlD,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { ReactNode, FC } from 'react';
2
+ interface ActionProps {
3
+ /** Icon to render inside the button. */
4
+ icon: ReactNode;
5
+ /** Optional additional class name for the button. */
6
+ className?: string;
7
+ /** Localised accessible label for the retry button. */
8
+ ariaLabel?: string;
9
+ /** Localised accessible title for the error state. */
10
+ errorTitle?: string;
11
+ /** ID of the element that describes the error state. */
12
+ errorDescId?: string;
13
+ /** Called when the user clicks the retry button. */
14
+ onClick: (id: string) => void;
15
+ /** ID of the attachment to retry. */
16
+ id?: string;
17
+ }
18
+ /** Download button for completed uploads. */
19
+ export declare const ActionButton: FC<ActionProps>;
20
+ /** Retry button for failed uploads. */
21
+ export declare const ReloadAction: FC<Omit<ActionProps, 'icon'>>;
22
+ /** Download button for completed uploads. */
23
+ export declare const DownloadAction: FC<Omit<ActionProps, 'icon'>>;
24
+ /** Open-in-new-tab button for link attachments. */
25
+ export declare const OpenLinkAction: FC<Omit<ActionProps, 'icon'>>;
26
+ /** Remove button for attachments. */
27
+ export declare const RemoveAction: FC<Omit<ActionProps, 'icon'>>;
28
+ export {};
29
+ //# sourceMappingURL=Actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentCard/Attachments/Actions.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,EAAmB,MAAM,OAAO,CAAC;AAG5D,UAAU,WAAW;IACnB,wCAAwC;IACxC,IAAI,EAAE,SAAS,CAAC;IAChB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,6CAA6C;AAC7C,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CAyBxC,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAQtD,CAAC;AAEF,6CAA6C;AAC7C,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAOxD,CAAC;AAEF,mDAAmD;AACnD,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAOxD,CAAC;AAEF,qCAAqC;AACrC,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAQtD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { DisplayAttachment } from '@epam/ai-dial-chat-shared';
2
+ import { CSSProperties, FC } from 'react';
3
+ import { AttachmentCardLabels, AttachmentCardStyles } from '../../../models/attachment-card';
4
+ interface AudioAttachmentProps {
5
+ attachment: DisplayAttachment;
6
+ searchQuery?: string;
7
+ onClick?: (id: string) => void;
8
+ shouldAlwaysShowActions?: boolean;
9
+ labels?: AttachmentCardLabels;
10
+ styles?: AttachmentCardStyles;
11
+ cssVars?: CSSProperties;
12
+ }
13
+ /** Square tile for a single audio attachment inside the composer tray. */
14
+ export declare const AudioAttachment: FC<AudioAttachmentProps>;
15
+ export {};
16
+ //# sourceMappingURL=Audio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentCard/Attachments/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAGlB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAIzC,UAAU,oBAAoB;IAC5B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AACD,0EAA0E;AAC1E,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyDpD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { AttachmentFileRowProps } from '../../models/attachment-file-row';
2
+ import { FileAttachmentProps } from '../../../models/attachment-file-row';
3
3
  /**
4
4
  * Non-previewable attachment tile: a uniform neutral square holding the
5
5
  * glyph, extension label, and filename together (no external caption, no
@@ -8,5 +8,5 @@ import { AttachmentFileRowProps } from '../../models/attachment-file-row';
8
8
  * uploading = progress bar). Download/retry are icon-only, matching the
9
9
  * rest of the app.
10
10
  */
11
- export declare const AttachmentFileRow: FC<AttachmentFileRowProps>;
12
- //# sourceMappingURL=AttachmentFileRow.d.ts.map
11
+ export declare const FileAttachment: FC<FileAttachmentProps>;
12
+ //# sourceMappingURL=File.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentCard/Attachments/File.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,EAAE,EAKR,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAmB/E;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAwNlD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { DisplayAttachment } from '@epam/ai-dial-chat-shared';
2
+ import { CSSProperties, FC } from 'react';
3
+ import { AttachmentCardLabels, AttachmentCardStyles } from '../../../models/attachment-card';
4
+ interface ImageAttachmentProps {
5
+ attachment: DisplayAttachment;
6
+ onExpand?: (attachmentId: string) => void;
7
+ onClick?: (attachmentId: string) => void;
8
+ onRemove?: (attachmentId: string) => void;
9
+ labels?: AttachmentCardLabels;
10
+ styles?: AttachmentCardStyles;
11
+ cssVars?: CSSProperties;
12
+ onDownload?: (id: string) => void;
13
+ }
14
+ /** Square tile for a single image attachment inside the composer tray. */
15
+ export declare const ImageAttachment: FC<ImageAttachmentProps>;
16
+ export {};
17
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentCard/Attachments/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAElB,MAAM,2BAA2B,CAAC;AAOnC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAM5E,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAKzC,UAAU,oBAAoB;IAC5B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,0EAA0E;AAC1E,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAsGpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentGroup.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentGroup/AttachmentGroup.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAEnD,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AAUvC;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAsLpD,CAAC"}
1
+ {"version":3,"file":"AttachmentGroup.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentGroup/AttachmentGroup.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AASvC;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAsKpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentMoreTile.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentMoreTile/AttachmentMoreTile.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAGjF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAuC1D,CAAC"}
1
+ {"version":3,"file":"AttachmentMoreTile.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentMoreTile/AttachmentMoreTile.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAGjF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAuC1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentTray.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentTray/AttachmentTray.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,gHAAgH;AAChH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA8ClD,CAAC"}
1
+ {"version":3,"file":"AttachmentTray.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentTray/AttachmentTray.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,gHAAgH;AAChH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA0ClD,CAAC"}
@@ -2,4 +2,6 @@
2
2
  export declare const ATTACHMENT_COLLAPSE_THRESHOLD = 5;
3
3
  /** Number of tiles shown before the "+N" tile while collapsed. */
4
4
  export declare const ATTACHMENT_COLLAPSED_VISIBLE_COUNT = 4;
5
+ /** Base Tailwind classes shared by every square attachment tile (84 × 84 px). */
6
+ export declare const ATTACHMENT_TILE_BASE_CLASS = "flex size-[84px] items-center justify-center rounded-xl border";
5
7
  //# sourceMappingURL=attachment-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attachment-group.d.ts","sourceRoot":"","sources":["../../src/constants/attachment-group.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAC/C,kEAAkE;AAClE,eAAO,MAAM,kCAAkC,IAAI,CAAC"}
1
+ {"version":3,"file":"attachment-group.d.ts","sourceRoot":"","sources":["../../src/constants/attachment-group.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAC/C,kEAAkE;AAClE,eAAO,MAAM,kCAAkC,IAAI,CAAC;AACpD,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,mEAC2B,CAAC"}
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
- ._card_ywrb5_1{border-color:var(--ci-card-border,var(--stroke-secondary,#d1dbea));background:var(--ci-card-bg,var(--bg-layer-0,#fcfcfc))}._cardError_ywrb5_6{border-color:var(--ci-card-border-error,var(--stroke-error,#ae2f2f))}._cardSelected_ywrb5_10{background:var(--ci-card-bg-selected,var(--bg-accent-primary-alpha,#7da4ff2e));border-color:var(--ci-card-border-selected,var(--stroke-accent-primary,#124ace))}._cardPrompt_ywrb5_15:hover,._cardPasted_ywrb5_16:hover{background:var(--ci-card-bg-hover,var(--controls-bg-neutral-hover,#d1dbea))}._name_ywrb5_20{color:var(--ci-card-name,var(--text-primary,#161b2d))}._meta_ywrb5_24{color:var(--ci-card-meta,var(--text-secondary,#575f73))}._loadingOverlay_ywrb5_28{background:var(--ci-loading-overlay-bg,var(--bg-blackout,#0c101d4d))}._actionBtn_ywrb5_32{color:var(--ci-card-action-color,var(--text-primary,#161b2d))}._actionBtn_ywrb5_32:hover{background:var(--ci-card-remove-bg-hover,var(--bg-layer-3,#fcfcfc))}._card_ywrb5_1:focus-within{outline-color:var(--ci-card-focus-outline,var(--controls-stroke-focus,#eef1f7))}._removeBtnImage_ywrb5_43{background:var(--ci-card-remove-bg,var(--bg-layer-2,#eef1f7));color:var(--ci-card-remove-color,var(--text-primary,#161b2d))}._removeBtnImage_ywrb5_43:hover{background:var(--ci-card-remove-bg-hover,var(--bg-layer-3,#fcfcfc))}._hoverDownloadIcon_ywrb5_51{background:var(--ci-card-hover-icon-bg,var(--bg-layer-2,#eef1f7));color:var(--ci-card-hover-icon-color,var(--text-primary,#161b2d))}._tile_1l1lz_1{background:var(--ci-tile-bg,var(--bg-layer-3,#fcfcfc));border-color:var(--ci-tile-border,var(--stroke-secondary,#d1dbea))}._tile_1l1lz_1:hover{border-color:var(--ci-tile-border-hover,var(--stroke-hover-tint,#0000001f))}._tile_1l1lz_1:focus-visible{outline-color:var(--ci-tile-focus-outline,var(--controls-stroke-focus,#eef1f7))}._tileLight_1l1lz_12{background:var(--ci-tile-bg,var(--bg-layer-6,#f8fafc))}._tileError_1l1lz_16{background:var(--ci-tile-bg-error,var(--bg-error,#f3d6d8));border-color:var(--ci-tile-border-error,var(--stroke-error,#ae2f2f))}._tileError_1l1lz_16:hover{border-color:var(--ci-tile-border-error,var(--stroke-error,#ae2f2f))}._tileError_1l1lz_16 ._nameText_1l1lz_23,._tileError_1l1lz_16 ._typeText_1l1lz_24{color:var(--ci-tile-error-text,var(--text-error,#ae2f2f))}._nameText_1l1lz_23{color:var(--ci-tile-name-text,var(--text-primary,#161b2d))}._typeText_1l1lz_24{color:var(--ci-tile-type-text,var(--text-secondary,#575f73))}._retryIcon_1l1lz_36{color:var(--ci-tile-error-text,var(--text-error,#ae2f2f))}._hoverIcon_1l1lz_40{background:var(--ci-tile-hover-icon-bg,var(--bg-layer-2,#eef1f7));color:var(--ci-tile-hover-icon-color,var(--text-primary,#161b2d))}._track_1l1lz_45{background:var(--ci-tile-track-bg,var(--bg-layer-1,#e0e6f0))}._indeterminateFill_1l1lz_49{background:var(--ci-tile-fill-bg,var(--bg-accent-primary-fill,#5c8dea));animation:1.2s ease-in-out infinite _attachment-tile-indeterminate_1l1lz_1}@media (prefers-reduced-motion:reduce){._indeterminateFill_1l1lz_49{animation:none}}@keyframes _attachment-tile-indeterminate_1l1lz_1{0%{transform:translate(-100%)}to{transform:translate(300%)}}._tile_1s4d7_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,#575f73))}._tile_1s4d7_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-primary-hover,#2764d9));border-color:var(--ci-more-tile-border-hover,color-mix(in srgb, var(--stroke-accent-primary-hover,#7da4ff) 50%, transparent))}._tile_1s4d7_1:focus-visible{outline-color:var(--ci-more-tile-focus-outline,var(--controls-stroke-focus,#eef1f7))}._container_7fktb_1{background:var(--ci-group-bg,var(--bg-layer-2,#eef1f7));border-color:var(--ci-group-border,var(--stroke-secondary,#d1dbea))}._headerIcon_7fktb_6,._headerLabel_7fktb_7,._downloadAllButton_7fktb_8{color:var(--ci-group-text,var(--text-secondary,#575f73))}._imageTile_7fktb_12{--ci-card-bg:var(--bg-layer-3,#fcfcfc)}._overlay_wr7ez_1{background:var(--fd-bg,var(--bg-blackout,#0c101d4d))}._icon_wr7ez_5{color:var(--fd-icon,var(--text-accent-primary,#124ace))}._deniedIcon_wr7ez_9{color:var(--fd-denied-icon,var(--text-error,#ae2f2f))}
1
+ ._tile_3x6ks_1{background:var(--ci-tile-bg,var(--bg-layer-3,#fcfcfc));border-color:var(--ci-tile-border,var(--stroke-secondary,#d1dbea))}._tile_3x6ks_1:hover{border-color:var(--ci-tile-border-hover,var(--stroke-hover-tint,#0000001f))}._tile_3x6ks_1:focus-visible{outline-color:var(--ci-tile-focus-outline,var(--controls-stroke-focus,#eef1f7))}._tileLight_3x6ks_12{background:var(--ci-tile-bg,var(--bg-layer-6,#f8fafc))}._tileError_3x6ks_16{background:var(--ci-tile-bg-error,var(--bg-error,#f3d6d8));border-color:var(--ci-tile-border-error,var(--stroke-error,#ae2f2f))}._tileError_3x6ks_16:hover{border-color:var(--ci-tile-border-error,var(--stroke-error,#ae2f2f))}._tileError_3x6ks_16 ._nameText_3x6ks_23,._tileError_3x6ks_16 ._typeText_3x6ks_24{color:var(--ci-tile-error-text,var(--text-error,#ae2f2f))}._nameText_3x6ks_23{color:var(--ci-tile-name-text,var(--text-primary,#161b2d))}._typeText_3x6ks_24{color:var(--ci-tile-type-text,var(--text-secondary,#575f73))}._retryIcon_3x6ks_36{color:var(--ci-tile-error-text,var(--text-error,#ae2f2f))}._hoverIcon_3x6ks_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_3x6ks_40:hover{background:var(--ci-tile-hover-icon-bg,var(--bg-layer-2,#eef1f7))!important}._track_3x6ks_48{background:var(--ci-tile-track-bg,var(--bg-layer-1,#e0e6f0))}._indeterminateFill_3x6ks_52{background:var(--ci-tile-fill-bg,var(--bg-accent-primary-fill,#5c8dea));animation:1.2s ease-in-out infinite _attachment-tile-indeterminate_3x6ks_1}@media (prefers-reduced-motion:reduce){._indeterminateFill_3x6ks_52{animation:none}}@keyframes _attachment-tile-indeterminate_3x6ks_1{0%{transform:translate(-100%)}to{transform:translate(300%)}}._tile_1s4d7_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,#575f73))}._tile_1s4d7_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-primary-hover,#2764d9));border-color:var(--ci-more-tile-border-hover,color-mix(in srgb, var(--stroke-accent-primary-hover,#7da4ff) 50%, transparent))}._tile_1s4d7_1:focus-visible{outline-color:var(--ci-more-tile-focus-outline,var(--controls-stroke-focus,#eef1f7))}._container_7fktb_1{background:var(--ci-group-bg,var(--bg-layer-2,#eef1f7));border-color:var(--ci-group-border,var(--stroke-secondary,#d1dbea))}._headerIcon_7fktb_6,._headerLabel_7fktb_7,._downloadAllButton_7fktb_8{color:var(--ci-group-text,var(--text-secondary,#575f73))}._imageTile_7fktb_12{--ci-card-bg:var(--bg-layer-3,#fcfcfc)}._overlay_wr7ez_1{background:var(--fd-bg,var(--bg-blackout,#0c101d4d))}._icon_wr7ez_5{color:var(--fd-icon,var(--text-accent-primary,#124ace))}._deniedIcon_wr7ez_9{color:var(--fd-denied-icon,var(--text-error,#ae2f2f))}
2
2
  /*$vite$:1*/
package/index.d.ts CHANGED
@@ -1,13 +1,11 @@
1
1
  export { AttachmentCard } from './components/AttachmentCard/AttachmentCard';
2
2
  export { AttachmentTray } from './components/AttachmentTray/AttachmentTray';
3
3
  export { AttachmentGroup } from './components/AttachmentGroup/AttachmentGroup';
4
- export { AttachmentFileRow } from './components/AttachmentFileRow/AttachmentFileRow';
5
4
  export { AttachmentMoreTile } from './components/AttachmentMoreTile/AttachmentMoreTile';
6
5
  export { FileDndOverlay } from './components/FileDndOverlay/FileDndOverlay';
7
6
  export type { AttachmentCardProps, AttachmentCardColors, AttachmentCardTypography, AttachmentCardStyles, AttachmentCardLabels, AttachmentCardState, AttachmentTypeLabels, } from './models/attachment-card';
8
7
  export type { AttachmentTrayProps, AttachmentTrayLabels, AttachmentTrayStyles, } from './models/attachment-tray';
9
8
  export { AttachmentTilesLayout, type AttachmentGroupProps, type AttachmentGroupLabels, type AttachmentGroupColors, type AttachmentGroupTypography, type AttachmentGroupStyles, type AttachmentTilesPlan, } from './models/attachment-group';
10
- export type { AttachmentFileRowProps, AttachmentFileRowLabels, AttachmentFileRowColors, AttachmentFileRowTypography, AttachmentFileRowStyles, } from './models/attachment-file-row';
11
9
  export type { AttachmentMoreTileProps, AttachmentMoreTileLabels, AttachmentMoreTileColors, AttachmentMoreTileTypography, AttachmentMoreTileStyles, } from './models/attachment-more-tile';
12
10
  export type { FileDndOverlayProps, FileDndOverlayLabels, FileDndOverlayColors, FileDndOverlayTypography, FileDndOverlayStyles, } from './models/file-dnd-overlay';
13
11
  export { useClipboardPaste, type UseClipboardPasteLabels, } from './hooks/useClipboardPaste';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAE5E,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV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