@epam/ai-dial-share 1.1.0-dev.294 → 1.1.0-dev.296
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/components/AccessControl/AccessControl.d.ts +1 -1
- package/components/AccessControl/AccessControl.d.ts.map +1 -1
- package/components/LinkView/LinkView.d.ts +3 -7
- package/components/LinkView/LinkView.d.ts.map +1 -1
- package/components/SharePopover/SharePopover.d.ts.map +1 -1
- package/components/SharePopover/SharePopoverHeader.d.ts +1 -1
- package/components/SharePopover/SharePopoverHeader.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.js +320 -328
- package/models/share-popover-props.d.ts +6 -4
- package/models/share-popover-props.d.ts.map +1 -1
- package/package.json +2 -2
- package/test-setup.d.ts +5 -0
- package/test-setup.d.ts.map +1 -1
|
@@ -30,7 +30,7 @@ interface AccessControlProps {
|
|
|
30
30
|
menuRef: RefObject<HTMLDivElement | null>;
|
|
31
31
|
/** CSS class applied to the primary row text. Defaults to `'dial-small-semi-text'`. */
|
|
32
32
|
titleClassName?: string;
|
|
33
|
-
/** CSS class applied to the secondary row text. Defaults to `'dial-
|
|
33
|
+
/** CSS class applied to the secondary row text. Defaults to `'dial-small-text'`. */
|
|
34
34
|
subtitleClassName?: string;
|
|
35
35
|
/** CSS class applied to the access trigger label. Defaults to `'dial-small-semi-text'`. */
|
|
36
36
|
accessTriggerLabelClassName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessControl.d.ts","sourceRoot":"","sources":["../../../src/components/AccessControl/AccessControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,uCAAuC;AACvC,UAAU,kBAAkB;IAC1B,qDAAqD;IACrD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uDAAuD;IACvD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kDAAkD;IAClD,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,mFAAmF;IACnF,aAAa,EAAE,OAAO,CAAC;IACvB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,MAAM,EAAE,OAAO,CAAC;IAChB,yDAAyD;IACzD,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,6DAA6D;IAC7D,cAAc,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACpD,sDAAsD;IACtD,aAAa,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC1D,uFAAuF;IACvF,UAAU,EAAE,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAChD,wFAAwF;IACxF,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"AccessControl.d.ts","sourceRoot":"","sources":["../../../src/components/AccessControl/AccessControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,uCAAuC;AACvC,UAAU,kBAAkB;IAC1B,qDAAqD;IACrD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uDAAuD;IACvD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kDAAkD;IAClD,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,mFAAmF;IACnF,aAAa,EAAE,OAAO,CAAC;IACvB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,MAAM,EAAE,OAAO,CAAC;IAChB,yDAAyD;IACzD,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,6DAA6D;IAC7D,cAAc,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACpD,sDAAsD;IACtD,aAAa,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC1D,uFAAuF;IACvF,UAAU,EAAE,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAChD,wFAAwF;IACxF,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,yFAAyF;IACzF,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACvC;AAED,gHAAgH;AAChH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyKhD,CAAC"}
|
|
@@ -3,22 +3,18 @@ import { FC } from 'react';
|
|
|
3
3
|
interface LinkViewProps {
|
|
4
4
|
/** The share URL shown in the read-only input. */
|
|
5
5
|
url: string;
|
|
6
|
-
/** Label above the URL field. */
|
|
7
|
-
linkLabel: string;
|
|
8
6
|
/** `aria-label` for the URL input. */
|
|
9
7
|
linkAriaLabel: string;
|
|
10
8
|
/** Whether the URL was just copied to the clipboard. */
|
|
11
9
|
isCopied: boolean;
|
|
12
|
-
/** Copy button default label. */
|
|
10
|
+
/** Copy button default label, used for its `aria-label`/tooltip. */
|
|
13
11
|
copyButtonLabel: string;
|
|
14
|
-
/** Copy button label after copying. */
|
|
12
|
+
/** Copy button label after copying, used for its `aria-label`/tooltip. */
|
|
15
13
|
copiedButtonLabel: string;
|
|
16
14
|
/** Called when the Copy button is clicked. */
|
|
17
15
|
onCopy: () => void;
|
|
18
|
-
/** CSS class applied to the section label above the URL field. Defaults to `'dial-tiny-lead-semi-text'`. */
|
|
19
|
-
sectionLabelClassName?: string;
|
|
20
16
|
}
|
|
21
|
-
/**
|
|
17
|
+
/** Pill-shaped read-only URL field with an icon-only copy-to-clipboard button. */
|
|
22
18
|
export declare const LinkView: FC<LinkViewProps>;
|
|
23
19
|
export {};
|
|
24
20
|
//# sourceMappingURL=LinkView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkView.d.ts","sourceRoot":"","sources":["../../../src/components/LinkView/LinkView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LinkView.d.ts","sourceRoot":"","sources":["../../../src/components/LinkView/LinkView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,kCAAkC;AAClC,UAAU,aAAa;IACrB,kDAAkD;IAClD,GAAG,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,QAAQ,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,eAAe,EAAE,MAAM,CAAC;IACxB,0EAA0E;IAC1E,iBAAiB,EAAE,MAAM,CAAC;IAC1B,8CAA8C;IAC9C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,kFAAkF;AAClF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA0CtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharePopover.d.ts","sourceRoot":"","sources":["../../../src/components/SharePopover/SharePopover.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;;
|
|
1
|
+
{"version":3,"file":"SharePopover.d.ts","sourceRoot":"","sources":["../../../src/components/SharePopover/SharePopover.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;;AA0T1E,wBAAkC"}
|
|
@@ -16,7 +16,7 @@ interface SharePopoverHeaderProps {
|
|
|
16
16
|
linkLabel: string;
|
|
17
17
|
/** Called with the view the user switched to. */
|
|
18
18
|
onViewChange: (view: SharePopoverView) => void;
|
|
19
|
-
/** CSS class applied to the title text. Defaults to `'dial-
|
|
19
|
+
/** CSS class applied to the title text. Defaults to `'dial-h3-text'`. */
|
|
20
20
|
titleClassName?: string;
|
|
21
21
|
}
|
|
22
22
|
/** Popover title bar with the Link/QR view-toggle button. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharePopoverHeader.d.ts","sourceRoot":"","sources":["../../../src/components/SharePopover/SharePopoverHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGrD,0FAA0F;AAC1F,eAAO,MAAM,YAAY,4BAA4B,CAAC;AACtD,gGAAgG;AAChG,eAAO,MAAM,cAAc,8BAA8B,CAAC;AAE1D,4CAA4C;AAC5C,UAAU,uBAAuB;IAC/B,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,YAAY,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/C,
|
|
1
|
+
{"version":3,"file":"SharePopoverHeader.d.ts","sourceRoot":"","sources":["../../../src/components/SharePopover/SharePopoverHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGrD,0FAA0F;AAC1F,eAAO,MAAM,YAAY,4BAA4B,CAAC;AACtD,gGAAgG;AAChG,eAAO,MAAM,cAAc,8BAA8B,CAAC;AAE1D,4CAA4C;AAC5C,UAAU,uBAAuB;IAC/B,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,YAAY,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/C,yEAAyE;IACzE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,6DAA6D;AAC7D,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA4B1D,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._accessTriggerBtn_7tw3f_1{background-color:var(--shp-access-trigger-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--shp-access-trigger-border,transparent)}@media (hover:hover){button._accessTriggerBtn_7tw3f_1:hover{border-color:var(--shp-access-trigger-border-hover,var(--stroke-accent,#1d4ed8))}}button._accessTriggerBtn_7tw3f_1:focus-visible{outline:1px solid var(--shp-access-trigger-border-focus,var(--stroke-accent,#1d4ed8));outline-offset:-1px;border-color:#0000}._accessTriggerBtnOpen_7tw3f_17{border-color:var(--shp-access-trigger-border-focus,var(--stroke-accent,#1d4ed8))}._accessTriggerLabel_7tw3f_21{color:var(--shp-access-trigger-text,var(--text-primary,#161b2d))}._title_7tw3f_25{color:var(--shp-title-text,var(--text-primary,#161b2d))}._linkIconBadge_7tw3f_29{background:var(--shp-link-icon-bg,var(--bg-control-accent-alpha-active,#2764d933));color:var(--shp-link-icon-text,var(--text-accent,#1d4ed8))}._anyoneWithLinkTitle_7tw3f_34{color:var(--shp-anyone-title,var(--text-primary,#161b2d))}._anyoneWithLinkSubtitle_7tw3f_38{color:var(--shp-anyone-subtitle,var(--text-secondary,#57647a))}._accessTriggerChevron_7tw3f_42{color:var(--shp-access-chevron,var(--text-tertiary,#848e9c));transition:transform .15s}@media (prefers-reduced-motion:reduce){._accessTriggerChevron_7tw3f_42{transition:none}}@media (hover:hover){._accessMenuItem_7tw3f_53:hover{background:var(--shp-menu-item-hover,var(--bg-control-accent-alpha-hover,#2764d924))}}._accessMenuItem_7tw3f_53:focus-visible{background:var(--shp-menu-item-hover,var(--bg-control-accent-alpha-hover,#2764d924));box-shadow:inset 0 0 0 2px var(--shp-menu-item-focus-shadow,var(--stroke-accent,#1d4ed8))}._accessMenuItemChecked_7tw3f_66{background:var(--shp-menu-item-checked-bg,var(--bg-control-accent-alpha-hover,#2764d924))}@media (hover:hover){._accessMenuItemChecked_7tw3f_66:hover{background:var(--shp-menu-item-checked-bg,var(--bg-control-accent-alpha-hover,#2764d924))}}._accessMenuItemLabel_7tw3f_75{color:var(--shp-menu-item-label,var(--text-primary,#161b2d))}._accessMenuItemCheck_7tw3f_66{color:var(--shp-menu-item-check,var(--text-accent,#1d4ed8))}._linkRow_7tw3f_83{background:var(--shp-link-row-bg,var(--bg-layer-base,#f5f7fa))}._linkRow_7tw3f_83 input{color:var(--shp-link-text,var(--text-primary,#161b2d))!important}._errorText_7tw3f_90{color:var(--shp-error-text,var(--text-error,#ae2f2f))}._note_7tw3f_94{color:var(--shp-note-text,var(--text-secondary,#57647a))}._divider_7tw3f_98{background:var(--shp-divider,var(--stroke-tertiary,#e0e6f0))}._container_hzzl6_1{border-color:var(--qr-border,var(--stroke-tertiary,#e0e6f0));background:var(--qr-bg,var(--bg-layer-sunken,#eef1f7))}._qrColor_hzzl6_6{color:var(--qr-color,var(--text-primary,#161b2d))}
|
|
2
2
|
/*$vite$:1*/
|