@plasmicpkgs/radix-ui 0.0.26 → 0.0.27

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/dist/index.d.mts CHANGED
@@ -66,7 +66,7 @@ declare const popoverProps: {
66
66
  };
67
67
  readonly sideOffset: {
68
68
  readonly type: "number";
69
- readonly defaultValueHint: 4;
69
+ readonly defaultValueHint: 0;
70
70
  readonly advanced: true;
71
71
  };
72
72
  readonly align: {
package/dist/index.d.ts CHANGED
@@ -66,7 +66,7 @@ declare const popoverProps: {
66
66
  };
67
67
  readonly sideOffset: {
68
68
  readonly type: "number";
69
- readonly defaultValueHint: 4;
69
+ readonly defaultValueHint: 0;
70
70
  readonly advanced: true;
71
71
  };
72
72
  readonly align: {
package/dist/index.js CHANGED
@@ -469,7 +469,7 @@ var popoverProps = {
469
469
  },
470
470
  sideOffset: {
471
471
  type: "number",
472
- defaultValueHint: 4,
472
+ defaultValueHint: 0,
473
473
  advanced: true
474
474
  },
475
475
  align: {
@@ -894,6 +894,9 @@ function registerDialog(PLASMIC) {
894
894
  parentComponentName: "hostless-radix-dialog",
895
895
  defaultStyles: {
896
896
  // No need for position here, just relying on layout container parent.
897
+ position: "relative",
898
+ margin: "10% auto",
899
+ // for horizontally centered dialog
897
900
  padding: "24px",
898
901
  borderRadius: "8px",
899
902
  ...dialogStyles
@@ -1038,7 +1041,13 @@ function registerTooltip(PLASMIC) {
1038
1041
  defaultSlotContent: { type: "text", value: "I have a tooltip." },
1039
1042
  openDisplay: "Preview open"
1040
1043
  }),
1041
- ...popoverProps,
1044
+ ...{
1045
+ ...popoverProps,
1046
+ side: {
1047
+ ...popoverProps.side,
1048
+ defaultValueHint: "top"
1049
+ }
1050
+ },
1042
1051
  overlay: {
1043
1052
  type: "slot",
1044
1053
  defaultValue: {
package/dist/index.mjs CHANGED
@@ -424,7 +424,7 @@ var popoverProps = {
424
424
  },
425
425
  sideOffset: {
426
426
  type: "number",
427
- defaultValueHint: 4,
427
+ defaultValueHint: 0,
428
428
  advanced: true
429
429
  },
430
430
  align: {
@@ -849,6 +849,9 @@ function registerDialog(PLASMIC) {
849
849
  parentComponentName: "hostless-radix-dialog",
850
850
  defaultStyles: {
851
851
  // No need for position here, just relying on layout container parent.
852
+ position: "relative",
853
+ margin: "10% auto",
854
+ // for horizontally centered dialog
852
855
  padding: "24px",
853
856
  borderRadius: "8px",
854
857
  ...dialogStyles
@@ -993,7 +996,13 @@ function registerTooltip(PLASMIC) {
993
996
  defaultSlotContent: { type: "text", value: "I have a tooltip." },
994
997
  openDisplay: "Preview open"
995
998
  }),
996
- ...popoverProps,
999
+ ...{
1000
+ ...popoverProps,
1001
+ side: {
1002
+ ...popoverProps.side,
1003
+ defaultValueHint: "top"
1004
+ }
1005
+ },
997
1006
  overlay: {
998
1007
  type: "slot",
999
1008
  defaultValue: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/radix-ui",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Radix UI components for Plasmic",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -56,5 +56,5 @@
56
56
  "lucide-react": "^0.279.0",
57
57
  "remeda": "^1.27.0"
58
58
  },
59
- "gitHead": "1089fbd93d2ac0d2ac7e0e8f755ba98d5c21f0eb"
59
+ "gitHead": "099707f3f48a4bea00afa7c392f59de1ea68580a"
60
60
  }