@deepfuture/dui-cdn 1.4.3 → 1.4.4

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 (3) hide show
  1. package/dui.js +3 -2
  2. package/dui.min.js +3 -3
  3. package/package.json +1 -1
package/dui.js CHANGED
@@ -12448,6 +12448,7 @@ var DuiPopoverPopupPrimitive = class extends (_a32 = i8, _showArrow_dec = [n7({
12448
12448
  offset: 8,
12449
12449
  styles: portalPopupStyles3,
12450
12450
  contentContainer: ".Content",
12451
+ forwardProperties: ["--popover-popup-padding"],
12451
12452
  onPosition: ({ placement }) => {
12452
12453
  const actualSide = placement.split("-")[0];
12453
12454
  if (actualSide !== __privateGet(this, _DuiPopoverPopupPrimitive_instances, side_get)) {
@@ -12966,7 +12967,7 @@ var DuiPreviewCardPopupPrimitive = class extends (_a35 = i8, _showArrow_dec2 = [
12966
12967
  offset: 8,
12967
12968
  styles: portalPopupStyles4,
12968
12969
  contentContainer: ".PreviewCardContent",
12969
- forwardProperties: ["--preview-card-popup-padding"],
12970
+ forwardProperties: ["--preview-card-popup-padding", "--preview-card-popup-max-width"],
12970
12971
  onPosition: ({ placement }) => {
12971
12972
  const actualSide = placement.split("-")[0];
12972
12973
  if (actualSide !== __privateGet(this, _DuiPreviewCardPopupPrimitive_instances, side_get2)) {
@@ -13052,7 +13053,7 @@ var styles77 = i`
13052
13053
  line-height: var(--text-sm--line-height);
13053
13054
  box-shadow: var(--shadow-lg);
13054
13055
  border: var(--border-width-thin) solid var(--border);
13055
- max-width: var(--max-width, var(--space-80));
13056
+ max-width: var(--preview-card-popup-max-width, var(--space-80));
13056
13057
  transition-duration: var(--duration-faster);
13057
13058
  transition-timing-function: var(--ease-out-3);
13058
13059
  }
package/dui.min.js CHANGED
@@ -4674,7 +4674,7 @@ label, legend, caption, figcaption, th, td {
4674
4674
  left: 50%;
4675
4675
  transform: translateX(-50%) rotate(180deg);
4676
4676
  }
4677
- `],jM,KM,WM,YM,yr,PE,UE,qE,jE,Af,GM,wr,ps,kl,Bs,_f,XM,Go=class extends(YM=x,WM=[u({type:Boolean,attribute:"show-arrow"})],KM=[u({type:Boolean,attribute:"close-on-click"})],jM=[C()],YM){constructor(){super(...arguments);a(this,wr);a(this,PE,n(yr,8,this,!0)),n(yr,11,this);a(this,UE,n(yr,12,this,!1)),n(yr,15,this);a(this,qE,n(yr,16,this,"bottom")),n(yr,19,this);a(this,ps,new q(this,{context:Hs,subscribe:!0}));a(this,kl,!1);a(this,Bs,new Te(this,{getAnchor:()=>o(this,ps).value?.triggerEl,matchWidth:!1,placement:"bottom",offset:8,styles:FP,contentContainer:".Content",onPosition:({placement:t})=>{let e=t.split("-")[0];e!==o(this,wr,Af)&&h(this,wr,e,GM)},renderPopup:t=>{let e=o(this,ps).value?.popupId??"";return f`
4677
+ `],jM,KM,WM,YM,yr,PE,UE,qE,jE,Af,GM,wr,ps,kl,Bs,_f,XM,Go=class extends(YM=x,WM=[u({type:Boolean,attribute:"show-arrow"})],KM=[u({type:Boolean,attribute:"close-on-click"})],jM=[C()],YM){constructor(){super(...arguments);a(this,wr);a(this,PE,n(yr,8,this,!0)),n(yr,11,this);a(this,UE,n(yr,12,this,!1)),n(yr,15,this);a(this,qE,n(yr,16,this,"bottom")),n(yr,19,this);a(this,ps,new q(this,{context:Hs,subscribe:!0}));a(this,kl,!1);a(this,Bs,new Te(this,{getAnchor:()=>o(this,ps).value?.triggerEl,matchWidth:!1,placement:"bottom",offset:8,styles:FP,contentContainer:".Content",forwardProperties:["--popover-popup-padding"],onPosition:({placement:t})=>{let e=t.split("-")[0];e!==o(this,wr,Af)&&h(this,wr,e,GM)},renderPopup:t=>{let e=o(this,ps).value?.popupId??"";return f`
4678
4678
  <div
4679
4679
  class="Popup"
4680
4680
  id="${e}"
@@ -4800,7 +4800,7 @@ label, legend, caption, figcaption, th, td {
4800
4800
  left: 50%;
4801
4801
  transform: translateX(-50%) rotate(180deg);
4802
4802
  }
4803
- `],g5,v5,b5,Zi,pC,hC,uC,Hf,x5,Tr,Cr,_l,tn,Bf,Ff,y5,$r=class extends(b5=x,v5=[u({type:Boolean,attribute:"show-arrow"})],g5=[C()],b5){constructor(){super(...arguments);a(this,Tr);a(this,pC,n(Zi,8,this,!0)),n(Zi,11,this);a(this,hC,n(Zi,12,this,"top")),n(Zi,15,this);a(this,Cr,new q(this,{context:Al,subscribe:!0}));a(this,_l,!1);a(this,tn,new Te(this,{getAnchor:()=>o(this,Cr).value?.triggerEl,matchWidth:!1,placement:"top",offset:8,styles:XP,contentContainer:".PreviewCardContent",forwardProperties:["--preview-card-popup-padding"],onPosition:({placement:t})=>{let e=t.split("-")[0];e!==o(this,Tr,Hf)&&h(this,Tr,e,x5)},renderPopup:t=>{let e=o(this,Cr).value?.popupId??"";return f`
4803
+ `],g5,v5,b5,Zi,pC,hC,uC,Hf,x5,Tr,Cr,_l,tn,Bf,Ff,y5,$r=class extends(b5=x,v5=[u({type:Boolean,attribute:"show-arrow"})],g5=[C()],b5){constructor(){super(...arguments);a(this,Tr);a(this,pC,n(Zi,8,this,!0)),n(Zi,11,this);a(this,hC,n(Zi,12,this,"top")),n(Zi,15,this);a(this,Cr,new q(this,{context:Al,subscribe:!0}));a(this,_l,!1);a(this,tn,new Te(this,{getAnchor:()=>o(this,Cr).value?.triggerEl,matchWidth:!1,placement:"top",offset:8,styles:XP,contentContainer:".PreviewCardContent",forwardProperties:["--preview-card-popup-padding","--preview-card-popup-max-width"],onPosition:({placement:t})=>{let e=t.split("-")[0];e!==o(this,Tr,Hf)&&h(this,Tr,e,x5)},renderPopup:t=>{let e=o(this,Cr).value?.popupId??"";return f`
4804
4804
  <div
4805
4805
  class="Popup"
4806
4806
  id="${e}"
@@ -4825,7 +4825,7 @@ label, legend, caption, figcaption, th, td {
4825
4825
  line-height: var(--text-sm--line-height);
4826
4826
  box-shadow: var(--shadow-lg);
4827
4827
  border: var(--border-width-thin) solid var(--border);
4828
- max-width: var(--max-width, var(--space-80));
4828
+ max-width: var(--preview-card-popup-max-width, var(--space-80));
4829
4829
  transition-duration: var(--duration-faster);
4830
4830
  transition-timing-function: var(--ease-out-3);
4831
4831
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepfuture/dui-cdn",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "DUI CDN bundle — all components, Lit inlined. Zero dependencies.",
5
5
  "type": "module",
6
6
  "license": "MIT",