@deepfuture/dui-cdn 1.4.3 → 1.4.5

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 +12 -2
  2. package/dui.min.js +173 -173
  3. package/package.json +1 -1
package/dui.js CHANGED
@@ -12448,6 +12448,10 @@ 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"],
12452
+ onClose: () => {
12453
+ __privateGet(this, _ctx3).value?.closePopover();
12454
+ },
12451
12455
  onPosition: ({ placement }) => {
12452
12456
  const actualSide = placement.split("-")[0];
12453
12457
  if (actualSide !== __privateGet(this, _DuiPopoverPopupPrimitive_instances, side_get)) {
@@ -12966,7 +12970,10 @@ var DuiPreviewCardPopupPrimitive = class extends (_a35 = i8, _showArrow_dec2 = [
12966
12970
  offset: 8,
12967
12971
  styles: portalPopupStyles4,
12968
12972
  contentContainer: ".PreviewCardContent",
12969
- forwardProperties: ["--preview-card-popup-padding"],
12973
+ onClose: () => {
12974
+ __privateGet(this, _ctx4).value?.closePreviewCard();
12975
+ },
12976
+ forwardProperties: ["--preview-card-popup-padding", "--preview-card-popup-max-width"],
12970
12977
  onPosition: ({ placement }) => {
12971
12978
  const actualSide = placement.split("-")[0];
12972
12979
  if (actualSide !== __privateGet(this, _DuiPreviewCardPopupPrimitive_instances, side_get2)) {
@@ -13052,7 +13059,7 @@ var styles77 = i`
13052
13059
  line-height: var(--text-sm--line-height);
13053
13060
  box-shadow: var(--shadow-lg);
13054
13061
  border: var(--border-width-thin) solid var(--border);
13055
- max-width: var(--max-width, var(--space-80));
13062
+ max-width: var(--preview-card-popup-max-width, var(--space-80));
13056
13063
  transition-duration: var(--duration-faster);
13057
13064
  transition-timing-function: var(--ease-out-3);
13058
13065
  }
@@ -22387,6 +22394,9 @@ var DuiTooltipPopupPrimitive = class extends (_a66 = i8, _showArrow_dec3 = [n7({
22387
22394
  offset: 6,
22388
22395
  styles: portalPopupStyles7,
22389
22396
  contentContainer: ".Content",
22397
+ onClose: () => {
22398
+ __privateGet(this, _ctx8).value?.closeTooltip();
22399
+ },
22390
22400
  onPosition: ({ placement }) => {
22391
22401
  const actualSide = placement.split("-")[0];
22392
22402
  if (actualSide !== __privateGet(this, _DuiTooltipPopupPrimitive_instances, side_get3)) {