@epam/ai-dial-share 1.3.0-dev.10 → 1.3.0-dev.102

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 CHANGED
@@ -1,2 +1,3 @@
1
1
  ._accessTriggerBtn_3r1q2_2{background-color:var(--shp-access-trigger-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--shp-access-trigger-border,transparent)}button._accessTriggerBtn_3r1q2_2[aria-expanded=true]{border-color:var(--shp-access-trigger-border-focus,var(--stroke-accent,#1d4ed8))}@media (hover:hover){button._accessTriggerBtn_3r1q2_2:hover{background-color:var(--shp-access-trigger-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--shp-access-trigger-border-hover,var(--stroke-accent,#1d4ed8))}}button._accessTriggerBtn_3r1q2_2:active{background-color:var(--shp-access-trigger-bg,var(--bg-layer-raised,#fcfcfc))}button._accessTriggerBtn_3r1q2_2>svg{color:var(--shp-access-chevron,var(--text-tertiary,#848e9c));transition:transform .15s}@media (prefers-reduced-motion:reduce){button._accessTriggerBtn_3r1q2_2>svg{transition:none}}button._accessTriggerBtn_3r1q2_2:focus-visible{outline:1px solid var(--shp-access-trigger-border-focus,var(--stroke-accent,#1d4ed8));outline-offset:-1px;border-color:#0000}._accessTriggerLabel_3r1q2_40{color:var(--shp-access-trigger-text,var(--text-primary,#161b2d))}._title_3r1q2_44{color:var(--shp-title-text,var(--text-primary,#161b2d))}._linkIconBadge_3r1q2_48{background:var(--shp-link-icon-bg,var(--bg-control-accent-alpha-active,#2764d933));color:var(--shp-link-icon-text,var(--text-accent,#1d4ed8))}._anyoneWithLinkTitle_3r1q2_53{color:var(--shp-anyone-title,var(--text-primary,#161b2d))}._anyoneWithLinkSubtitle_3r1q2_57{color:var(--shp-anyone-subtitle,var(--text-secondary,#57647a))}._accessMenuItem_3r1q2_66>span{color:var(--shp-menu-item-label,var(--text-primary,#161b2d))}._linkRow_3r1q2_70{background:var(--shp-link-row-bg,var(--bg-layer-base,#f5f7fa))}._linkRow_3r1q2_70 input{color:var(--shp-link-text,var(--text-primary,#161b2d))!important}._errorText_3r1q2_77{color:var(--shp-error-text,var(--text-error,#ae2f2f))}._note_3r1q2_81{color:var(--shp-note-text,var(--text-secondary,#57647a))}._divider_3r1q2_85{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
- /*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.-mt-1\.5{margin-top:-.375rem}.ms-auto{margin-inline-start:auto}.flex{display:flex}.size-40{height:10rem;width:10rem}.size-8{height:2rem;width:2rem}.size-full{height:100%;width:100%}.h-10{height:2.5rem}.h-px{height:1px}.w-96{width:24rem}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[160px\]{min-width:160px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.self-center{align-self:center}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.bg-layer-raised{background-color:var(--bg-layer-raised,#fcfcfc)}.bg-transparent{background-color:transparent}.p-3{padding:.75rem}.px-0{padding-left:0;padding-right:0}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-6{padding-top:1.5rem}.pb-6,.py-6{padding-bottom:1.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.shadow-lg{--tw-shadow:0 8px 44px 0 var(--shadow-lg,#2764d914);--tw-shadow-colored:0 8px 44px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}
2
+ /*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
3
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.ms-auto{margin-inline-start:auto}.-mt-1\.5{margin-top:-.375rem}.flex{display:flex}.size-8{width:2rem;height:2rem}.size-40{width:10rem;height:10rem}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-px{height:1px}.w-96{width:24rem}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[160px\]{min-width:160px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:4px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.bg-layer-raised{background-color:var(--bg-layer-raised,#fcfcfc)}.bg-transparent{background-color:#0000}.p-3{padding:.75rem}.px-0{padding-inline:0}.px-3{padding-inline:.75rem}.px-4{padding-inline:1rem}.px-6{padding-inline:1.5rem}.py-2{padding-block:.5rem}.py-6{padding-block:1.5rem}.pt-4{padding-top:1rem}.pb-6{padding-bottom:1.5rem}.text-center{text-align:center}.whitespace-nowrap{white-space:nowrap}.shadow-lg{--tw-shadow:0 8px 44px 0 var(--tw-shadow-color,var(--shadow-lg,#2764d914));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
package/index.js CHANGED
@@ -83,7 +83,7 @@ var k = Object.create, A = Object.defineProperty, j = Object.getOwnPropertyDescr
83
83
  triggerLabelClassName: n(B.accessTriggerLabel, v)
84
84
  }) : /* @__PURE__ */ D("span", {
85
85
  "aria-label": s,
86
- className: n("flex h-10 shrink-0 items-center whitespace-nowrap rounded-full px-3", B.accessTriggerBtn),
86
+ className: n("flex h-10 shrink-0 items-center rounded-full px-3 whitespace-nowrap", B.accessTriggerBtn),
87
87
  children: /* @__PURE__ */ D("span", {
88
88
  className: n(B.accessTriggerLabel, v),
89
89
  children: a
@@ -98,7 +98,7 @@ var k = Object.create, A = Object.defineProperty, j = Object.getOwnPropertyDescr
98
98
  value: e,
99
99
  "aria-label": t,
100
100
  containerClassName: "min-w-0 flex-1",
101
- wrapperClassName: "border-0 bg-transparent px-0 outline-none"
101
+ wrapperClassName: "border-0 bg-transparent px-0 outline-hidden"
102
102
  }), /* @__PURE__ */ D(m, {
103
103
  icon: D(r ? b : x, {
104
104
  size: d.LG,
@@ -3043,7 +3043,7 @@ var He = {
3043
3043
  "aria-label": b,
3044
3044
  tabIndex: -1,
3045
3045
  style: v,
3046
- className: n("flex w-96 flex-col gap-3 rounded-xl bg-layer-raised px-6 pb-6 pt-4 shadow-lg outline-none", m, ee.popover),
3046
+ className: n("flex w-96 flex-col gap-3 rounded-xl bg-layer-raised px-6 pt-4 pb-6 shadow-lg outline-hidden", m, ee.popover),
3047
3047
  onKeyDownCapture: (e) => {
3048
3048
  if (e.key === "Tab") {
3049
3049
  ve(e);
@@ -5,6 +5,8 @@ export interface ShareLinkData {
5
5
  url: string;
6
6
  /** Number of days the link stays active before expiring; omitted when the host cannot determine the expiry. */
7
7
  expiresInDays?: number;
8
+ /** Number of hours the link stays active before expiring, rounded up; lets the host describe a lifetime shorter than a day. Omitted when the host cannot determine the expiry. */
9
+ expiresInHours?: number;
8
10
  /** Access levels granted to anyone with the link. */
9
11
  access: ShareLinkAccess[];
10
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"share-link-data.d.ts","sourceRoot":"","sources":["../../src/models/share-link-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,gFAAgF;AAChF,MAAM,WAAW,aAAa;IAC5B,oCAAoC;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,+GAA+G;IAC/G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qDAAqD;IACrD,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B"}
1
+ {"version":3,"file":"share-link-data.d.ts","sourceRoot":"","sources":["../../src/models/share-link-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,gFAAgF;AAChF,MAAM,WAAW,aAAa;IAC5B,oCAAoC;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,+GAA+G;IAC/G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kLAAkL;IAClL,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qDAAqD;IACrD,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-share",
3
3
  "description": "Share popover UI component and share-link types for AI DIAL catalog deployments",
4
- "version": "1.3.0-dev.10",
4
+ "version": "1.3.0-dev.102",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -21,9 +21,9 @@
21
21
  "react-qr-code": "^2.2.0"
22
22
  },
23
23
  "peerDependencies": {
24
- "@epam/ai-dial-chat-shared": "1.3.0-dev.10",
24
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.102",
25
25
  "react": "^19.2.8",
26
- "@epam/ai-dial-ui-kit": "^0.15.0"
26
+ "@epam/ai-dial-ui-kit": "^0.16.0-dev.16"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",