@deepfuture/dui-cdn 1.4.4 → 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 +9 -0
  2. package/dui.min.js +172 -172
  3. package/package.json +1 -1
package/dui.js CHANGED
@@ -12449,6 +12449,9 @@ var DuiPopoverPopupPrimitive = class extends (_a32 = i8, _showArrow_dec = [n7({
12449
12449
  styles: portalPopupStyles3,
12450
12450
  contentContainer: ".Content",
12451
12451
  forwardProperties: ["--popover-popup-padding"],
12452
+ onClose: () => {
12453
+ __privateGet(this, _ctx3).value?.closePopover();
12454
+ },
12452
12455
  onPosition: ({ placement }) => {
12453
12456
  const actualSide = placement.split("-")[0];
12454
12457
  if (actualSide !== __privateGet(this, _DuiPopoverPopupPrimitive_instances, side_get)) {
@@ -12967,6 +12970,9 @@ var DuiPreviewCardPopupPrimitive = class extends (_a35 = i8, _showArrow_dec2 = [
12967
12970
  offset: 8,
12968
12971
  styles: portalPopupStyles4,
12969
12972
  contentContainer: ".PreviewCardContent",
12973
+ onClose: () => {
12974
+ __privateGet(this, _ctx4).value?.closePreviewCard();
12975
+ },
12970
12976
  forwardProperties: ["--preview-card-popup-padding", "--preview-card-popup-max-width"],
12971
12977
  onPosition: ({ placement }) => {
12972
12978
  const actualSide = placement.split("-")[0];
@@ -22388,6 +22394,9 @@ var DuiTooltipPopupPrimitive = class extends (_a66 = i8, _showArrow_dec3 = [n7({
22388
22394
  offset: 6,
22389
22395
  styles: portalPopupStyles7,
22390
22396
  contentContainer: ".Content",
22397
+ onClose: () => {
22398
+ __privateGet(this, _ctx8).value?.closeTooltip();
22399
+ },
22391
22400
  onPosition: ({ placement }) => {
22392
22401
  const actualSide = placement.split("-")[0];
22393
22402
  if (actualSide !== __privateGet(this, _DuiTooltipPopupPrimitive_instances, side_get3)) {