@plasmicpkgs/react-aria 0.0.80 → 0.0.82

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.
@@ -535,7 +535,7 @@ var __spreadValues$p = (a, b) => {
535
535
  return a;
536
536
  };
537
537
  var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
538
- var __objRest$n = (source, exclude) => {
538
+ var __objRest$m = (source, exclude) => {
539
539
  var target = {};
540
540
  for (var prop in source)
541
541
  if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -558,7 +558,7 @@ const { variants: variants$f, withObservedValues: withObservedValues$d } = pickA
558
558
  const BaseButton = React.forwardRef(
559
559
  (props, ref) => {
560
560
  var _b;
561
- const _a = props, { submitsForm, resetsForm, children, plasmicUpdateVariant } = _a, rest = __objRest$n(_a, ["submitsForm", "resetsForm", "children", "plasmicUpdateVariant"]);
561
+ const _a = props, { submitsForm, resetsForm, children, plasmicUpdateVariant } = _a, rest = __objRest$m(_a, ["submitsForm", "resetsForm", "children", "plasmicUpdateVariant"]);
562
562
  const canvasContext = (_b = usePlasmicCanvasContext) == null ? void 0 : _b();
563
563
  const isEditMode = canvasContext && canvasContext.interactive === false;
564
564
  const type = submitsForm ? "submit" : resetsForm ? "reset" : "button";
@@ -674,7 +674,7 @@ var __spreadValues$o = (a, b) => {
674
674
  return a;
675
675
  };
676
676
  var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
677
- var __objRest$m = (source, exclude) => {
677
+ var __objRest$l = (source, exclude) => {
678
678
  var target = {};
679
679
  for (var prop in source)
680
680
  if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -699,7 +699,7 @@ const CHECKBOX_VARIANTS = [
699
699
  ];
700
700
  const { variants: variants$e, withObservedValues: withObservedValues$c } = pickAriaComponentVariants(CHECKBOX_VARIANTS);
701
701
  function BaseCheckbox(props) {
702
- const _a = props, { children, plasmicUpdateVariant, setControlContextData } = _a, rest = __objRest$m(_a, ["children", "plasmicUpdateVariant", "setControlContextData"]);
702
+ const _a = props, { children, plasmicUpdateVariant, setControlContextData } = _a, rest = __objRest$l(_a, ["children", "plasmicUpdateVariant", "setControlContextData"]);
703
703
  const contextProps = React.useContext(PlasmicCheckboxGroupContext);
704
704
  setControlContextData == null ? void 0 : setControlContextData({
705
705
  parent: contextProps
@@ -872,7 +872,7 @@ var __spreadValues$n = (a, b) => {
872
872
  return a;
873
873
  };
874
874
  var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
875
- var __objRest$l = (source, exclude) => {
875
+ var __objRest$k = (source, exclude) => {
876
876
  var target = {};
877
877
  for (var prop in source)
878
878
  if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -885,7 +885,7 @@ var __objRest$l = (source, exclude) => {
885
885
  return target;
886
886
  };
887
887
  function BaseText(_a) {
888
- var _b = _a, { children, slot, className } = _b, rest = __objRest$l(_b, ["children", "slot", "className"]);
888
+ var _b = _a, { children, slot, className } = _b, rest = __objRest$k(_b, ["children", "slot", "className"]);
889
889
  return /* @__PURE__ */ React.createElement(Text, __spreadProps$d(__spreadValues$n({}, extractPlasmicDataProps(rest)), { slot, className }), children);
890
890
  }
891
891
  const TEXT_COMPONENT_NAME = makeComponentName("text");
@@ -973,7 +973,7 @@ var __spreadValues$l = (a, b) => {
973
973
  return a;
974
974
  };
975
975
  var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
976
- var __objRest$k = (source, exclude) => {
976
+ var __objRest$j = (source, exclude) => {
977
977
  var target = {};
978
978
  for (var prop in source)
979
979
  if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -986,7 +986,7 @@ var __objRest$k = (source, exclude) => {
986
986
  return target;
987
987
  };
988
988
  function BaseLabel(_a) {
989
- var _b = _a, { children, className } = _b, rest = __objRest$k(_b, ["children", "className"]);
989
+ var _b = _a, { children, className } = _b, rest = __objRest$j(_b, ["children", "className"]);
990
990
  return /* @__PURE__ */ React.createElement(Label, __spreadProps$b(__spreadValues$l({}, extractPlasmicDataProps(rest)), { className }), children);
991
991
  }
992
992
  const LABEL_COMPONENT_NAME = makeComponentName("label");
@@ -1037,7 +1037,7 @@ var __spreadValues$k = (a, b) => {
1037
1037
  return a;
1038
1038
  };
1039
1039
  var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
1040
- var __objRest$j = (source, exclude) => {
1040
+ var __objRest$i = (source, exclude) => {
1041
1041
  var target = {};
1042
1042
  for (var prop in source)
1043
1043
  if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1054,7 +1054,7 @@ const { variants: variants$d, withObservedValues: withObservedValues$b } = pickA
1054
1054
  CHECKBOX_GROUP_VARIANTS
1055
1055
  );
1056
1056
  function BaseCheckboxGroup(props) {
1057
- const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$j(_a, ["children", "plasmicUpdateVariant"]);
1057
+ const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$i(_a, ["children", "plasmicUpdateVariant"]);
1058
1058
  return /* @__PURE__ */ React.createElement(PlasmicCheckboxGroupContext.Provider, { value: rest }, /* @__PURE__ */ React.createElement(CheckboxGroup, __spreadValues$k({}, rest), ({ isDisabled, isReadOnly }) => withObservedValues$b(
1059
1059
  children,
1060
1060
  {
@@ -1260,7 +1260,7 @@ var __spreadValues$j = (a, b) => {
1260
1260
  }
1261
1261
  return a;
1262
1262
  };
1263
- var __objRest$i = (source, exclude) => {
1263
+ var __objRest$h = (source, exclude) => {
1264
1264
  var target = {};
1265
1265
  for (var prop in source)
1266
1266
  if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1295,7 +1295,7 @@ function BaseInput(props) {
1295
1295
  disabled,
1296
1296
  autoComplete,
1297
1297
  value
1298
- } = _a, rest = __objRest$i(_a, [
1298
+ } = _a, rest = __objRest$h(_a, [
1299
1299
  "plasmicUpdateVariant",
1300
1300
  "setControlContextData",
1301
1301
  "disabled",
@@ -1430,7 +1430,7 @@ var __spreadValues$i = (a, b) => {
1430
1430
  }
1431
1431
  return a;
1432
1432
  };
1433
- var __objRest$h = (source, exclude) => {
1433
+ var __objRest$g = (source, exclude) => {
1434
1434
  var target = {};
1435
1435
  for (var prop in source)
1436
1436
  if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1454,7 +1454,7 @@ const { variants: variants$b, withObservedValues: withObservedValues$a } = pickA
1454
1454
  LIST_BOX_ITEM_VARIANTS
1455
1455
  );
1456
1456
  function BaseListBoxItem(props) {
1457
- const _a = props, { children, setControlContextData, plasmicUpdateVariant, id } = _a, rest = __objRest$h(_a, ["children", "setControlContextData", "plasmicUpdateVariant", "id"]);
1457
+ const _a = props, { children, setControlContextData, plasmicUpdateVariant, id } = _a, rest = __objRest$g(_a, ["children", "setControlContextData", "plasmicUpdateVariant", "id"]);
1458
1458
  const listboxContext = React.useContext(PlasmicListBoxContext);
1459
1459
  const isStandalone = !listboxContext;
1460
1460
  const [registeredId, setRegisteredId] = useState();
@@ -1603,7 +1603,7 @@ var __spreadValues$h = (a, b) => {
1603
1603
  }
1604
1604
  return a;
1605
1605
  };
1606
- var __objRest$g = (source, exclude) => {
1606
+ var __objRest$f = (source, exclude) => {
1607
1607
  var target = {};
1608
1608
  for (var prop in source)
1609
1609
  if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1616,7 +1616,7 @@ var __objRest$g = (source, exclude) => {
1616
1616
  return target;
1617
1617
  };
1618
1618
  function BaseSection(props) {
1619
- const _a = props, { header, items } = _a, rest = __objRest$g(_a, ["header", "items"]);
1619
+ const _a = props, { header, items } = _a, rest = __objRest$f(_a, ["header", "items"]);
1620
1620
  const contextProps = React.useContext(PlasmicListBoxContext);
1621
1621
  const isStandalone = !contextProps;
1622
1622
  const section = /* @__PURE__ */ React.createElement(Section, __spreadValues$h({}, rest), /* @__PURE__ */ React.createElement(Header, null, header), items);
@@ -1680,7 +1680,7 @@ var __spreadValues$g = (a, b) => {
1680
1680
  }
1681
1681
  return a;
1682
1682
  };
1683
- var __objRest$f = (source, exclude) => {
1683
+ var __objRest$e = (source, exclude) => {
1684
1684
  var target = {};
1685
1685
  for (var prop in source)
1686
1686
  if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1710,7 +1710,7 @@ function BaseListBox(props) {
1710
1710
  children,
1711
1711
  selectedKeys,
1712
1712
  defaultSelectedKeys
1713
- } = _a, rest = __objRest$f(_a, [
1713
+ } = _a, rest = __objRest$e(_a, [
1714
1714
  "setControlContextData",
1715
1715
  "children",
1716
1716
  "selectedKeys",
@@ -1942,7 +1942,7 @@ var __spreadValues$f = (a, b) => {
1942
1942
  }
1943
1943
  return a;
1944
1944
  };
1945
- var __objRest$e = (source, exclude) => {
1945
+ var __objRest$d = (source, exclude) => {
1946
1946
  var target = {};
1947
1947
  for (var prop in source)
1948
1948
  if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1967,7 +1967,7 @@ function BasePopover(props) {
1967
1967
  plasmicUpdateVariant,
1968
1968
  setControlContextData,
1969
1969
  matchTriggerWidth
1970
- } = _a, restProps = __objRest$e(_a, [
1970
+ } = _a, restProps = __objRest$d(_a, [
1971
1971
  "resetClassName",
1972
1972
  "plasmicUpdateVariant",
1973
1973
  "setControlContextData",
@@ -1994,7 +1994,7 @@ function BasePopover(props) {
1994
1994
  // In component view, we never want to start with an empty artboard, so isOpen has to be true
1995
1995
  isOpen: true
1996
1996
  } : null
1997
- ), { children } = _b, mergedProps = __objRest$e(_b, ["children"]);
1997
+ ), { children } = _b, mergedProps = __objRest$d(_b, ["children"]);
1998
1998
  useEffect(() => {
1999
1999
  setControlContextData == null ? void 0 : setControlContextData({
2000
2000
  canMatchTriggerWidth: hasTrigger
@@ -2140,7 +2140,7 @@ var __spreadValues$e = (a, b) => {
2140
2140
  return a;
2141
2141
  };
2142
2142
  var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
2143
- var __objRest$d = (source, exclude) => {
2143
+ var __objRest$c = (source, exclude) => {
2144
2144
  var target = {};
2145
2145
  for (var prop in source)
2146
2146
  if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -2169,7 +2169,7 @@ function BaseComboBox(props) {
2169
2169
  className,
2170
2170
  isDisabled,
2171
2171
  isOpen: _isOpen
2172
- } = _a, rest = __objRest$d(_a, [
2172
+ } = _a, rest = __objRest$c(_a, [
2173
2173
  "children",
2174
2174
  "setControlContextData",
2175
2175
  "plasmicUpdateVariant",
@@ -2217,7 +2217,6 @@ function registerComboBox(loader) {
2217
2217
  props: __spreadProps$9(__spreadValues$e({}, getCommonProps("ComboBox", [
2218
2218
  "name",
2219
2219
  "aria-label",
2220
- "placeholder",
2221
2220
  "isDisabled"
2222
2221
  ])), {
2223
2222
  selectedKey: {
@@ -2275,12 +2274,16 @@ function registerComboBox(loader) {
2275
2274
  },
2276
2275
  {
2277
2276
  type: "hbox",
2277
+ styles: {
2278
+ padding: 0
2279
+ },
2278
2280
  children: [
2279
2281
  {
2280
2282
  type: "component",
2281
2283
  name: INPUT_COMPONENT_NAME,
2282
2284
  styles: {
2283
- width: "100%"
2285
+ width: "100%",
2286
+ borderRightWidth: 0
2284
2287
  }
2285
2288
  },
2286
2289
  {
@@ -2293,7 +2296,11 @@ function registerComboBox(loader) {
2293
2296
  src: "https://static1.plasmic.app/arrow-up.svg",
2294
2297
  styles: {
2295
2298
  width: "15px",
2296
- transform: "rotate(180deg)"
2299
+ transform: "rotate(180deg)",
2300
+ display: "flex",
2301
+ alignItems: "center",
2302
+ justifyContent: "center",
2303
+ padding: 0
2297
2304
  }
2298
2305
  }
2299
2306
  }
@@ -2365,7 +2372,7 @@ var __spreadValues$d = (a, b) => {
2365
2372
  }
2366
2373
  return a;
2367
2374
  };
2368
- var __objRest$c = (source, exclude) => {
2375
+ var __objRest$b = (source, exclude) => {
2369
2376
  var target = {};
2370
2377
  for (var prop in source)
2371
2378
  if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -2378,7 +2385,7 @@ var __objRest$c = (source, exclude) => {
2378
2385
  return target;
2379
2386
  };
2380
2387
  function BaseHeading(_a) {
2381
- var _b = _a, { children } = _b, rest = __objRest$c(_b, ["children"]);
2388
+ var _b = _a, { children } = _b, rest = __objRest$b(_b, ["children"]);
2382
2389
  return /* @__PURE__ */ React.createElement(Heading, __spreadValues$d({}, rest), children);
2383
2390
  }
2384
2391
  const HEADING_COMPONENT_NAME = makeComponentName("heading");
@@ -2436,7 +2443,7 @@ var __spreadValues$c = (a, b) => {
2436
2443
  return a;
2437
2444
  };
2438
2445
  var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
2439
- var __objRest$b = (source, exclude) => {
2446
+ var __objRest$a = (source, exclude) => {
2440
2447
  var target = {};
2441
2448
  for (var prop in source)
2442
2449
  if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -2462,7 +2469,7 @@ const BaseModal = forwardRef(
2462
2469
  resetClassName,
2463
2470
  setControlContextData,
2464
2471
  isDismissable
2465
- } = _a, rest = __objRest$b(_a, [
2472
+ } = _a, rest = __objRest$a(_a, [
2466
2473
  "children",
2467
2474
  "modalOverlayClass",
2468
2475
  "className",
@@ -2644,7 +2651,7 @@ var __spreadValues$b = (a, b) => {
2644
2651
  return a;
2645
2652
  };
2646
2653
  var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
2647
- var __objRest$a = (source, exclude) => {
2654
+ var __objRest$9 = (source, exclude) => {
2648
2655
  var target = {};
2649
2656
  for (var prop in source)
2650
2657
  if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -2658,7 +2665,7 @@ var __objRest$a = (source, exclude) => {
2658
2665
  };
2659
2666
  function BaseDialogTrigger(props) {
2660
2667
  var _b, _c, _d;
2661
- const _a = props, { trigger, dialog, isOpen } = _a, rest = __objRest$a(_a, ["trigger", "dialog", "isOpen"]);
2668
+ const _a = props, { trigger, dialog, isOpen } = _a, rest = __objRest$9(_a, ["trigger", "dialog", "isOpen"]);
2662
2669
  const { isSelected, selectedSlotName } = (_c = (_b = usePlasmicCanvasComponentInfo) == null ? void 0 : _b(props)) != null ? _c : {};
2663
2670
  const isAutoOpen = selectedSlotName !== "trigger" && isSelected;
2664
2671
  const mergedProps = __spreadProps$7(__spreadValues$b({}, rest), {
@@ -2744,7 +2751,7 @@ var __spreadValues$a = (a, b) => {
2744
2751
  return a;
2745
2752
  };
2746
2753
  var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
2747
- var __objRest$9 = (source, exclude) => {
2754
+ var __objRest$8 = (source, exclude) => {
2748
2755
  var target = {};
2749
2756
  for (var prop in source)
2750
2757
  if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -2768,7 +2775,7 @@ const RADIO_VARIANTS = [
2768
2775
  ];
2769
2776
  const { variants: variants$9, withObservedValues: withObservedValues$8 } = pickAriaComponentVariants(RADIO_VARIANTS);
2770
2777
  function BaseRadio(props) {
2771
- const _a = props, { children, setControlContextData, plasmicUpdateVariant } = _a, rest = __objRest$9(_a, ["children", "setControlContextData", "plasmicUpdateVariant"]);
2778
+ const _a = props, { children, setControlContextData, plasmicUpdateVariant } = _a, rest = __objRest$8(_a, ["children", "setControlContextData", "plasmicUpdateVariant"]);
2772
2779
  const contextProps = React.useContext(PlasmicRadioGroupContext);
2773
2780
  const isStandalone = !contextProps;
2774
2781
  setControlContextData == null ? void 0 : setControlContextData({
@@ -2882,7 +2889,7 @@ var __spreadValues$9 = (a, b) => {
2882
2889
  return a;
2883
2890
  };
2884
2891
  var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
2885
- var __objRest$8 = (source, exclude) => {
2892
+ var __objRest$7 = (source, exclude) => {
2886
2893
  var target = {};
2887
2894
  for (var prop in source)
2888
2895
  if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -2897,7 +2904,7 @@ var __objRest$8 = (source, exclude) => {
2897
2904
  const RADIO_GROUP_VARIANTS = ["disabled", "readonly"];
2898
2905
  const { variants: variants$8, withObservedValues: withObservedValues$7 } = pickAriaComponentVariants(RADIO_GROUP_VARIANTS);
2899
2906
  function BaseRadioGroup(props) {
2900
- const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$8(_a, ["children", "plasmicUpdateVariant"]);
2907
+ const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$7(_a, ["children", "plasmicUpdateVariant"]);
2901
2908
  return /* @__PURE__ */ React.createElement(PlasmicRadioGroupContext.Provider, { value: props }, /* @__PURE__ */ React.createElement(RadioGroup, __spreadValues$9({}, rest), ({ isDisabled, isReadOnly }) => withObservedValues$7(
2902
2909
  children,
2903
2910
  {
@@ -3065,7 +3072,6 @@ function BaseSelect(props) {
3065
3072
  const {
3066
3073
  selectedKey,
3067
3074
  onSelectionChange,
3068
- placeholder,
3069
3075
  onOpenChange,
3070
3076
  isDisabled,
3071
3077
  className,
@@ -3093,7 +3099,6 @@ function BaseSelect(props) {
3093
3099
  return /* @__PURE__ */ React.createElement(
3094
3100
  Select,
3095
3101
  __spreadValues$8({
3096
- placeholder,
3097
3102
  selectedKey,
3098
3103
  onSelectionChange,
3099
3104
  onOpenChange,
@@ -3126,14 +3131,17 @@ function registerSelect(loader) {
3126
3131
  props: {
3127
3132
  customize: {
3128
3133
  type: "boolean",
3129
- description: "Whether to customize the selected value display"
3134
+ displayName: "Customize placeholder",
3135
+ defaultValue: true,
3136
+ description: "Customize the placeholder text and styles"
3130
3137
  },
3131
3138
  children: {
3132
3139
  type: "slot",
3140
+ displayName: "Placeholder",
3133
3141
  defaultValue: [
3134
3142
  {
3135
3143
  type: "text",
3136
- value: "Selected value..."
3144
+ value: "Select an item"
3137
3145
  }
3138
3146
  ],
3139
3147
  hidden: (props) => !props.customize
@@ -3150,7 +3158,6 @@ function registerSelect(loader) {
3150
3158
  props: __spreadProps$4(__spreadValues$8({}, getCommonProps("Select", [
3151
3159
  "name",
3152
3160
  "aria-label",
3153
- "placeholder",
3154
3161
  "isDisabled",
3155
3162
  "autoFocus"
3156
3163
  ])), {
@@ -3212,7 +3219,9 @@ function registerSelect(loader) {
3212
3219
  type: "component",
3213
3220
  name: BUTTON_COMPONENT_NAME,
3214
3221
  styles: {
3215
- width: "100%"
3222
+ width: "100%",
3223
+ padding: "4px 10px",
3224
+ background: "white"
3216
3225
  },
3217
3226
  props: {
3218
3227
  children: {
@@ -3221,7 +3230,7 @@ function registerSelect(loader) {
3221
3230
  width: "stretch",
3222
3231
  justifyContent: "space-between",
3223
3232
  alignItems: "center",
3224
- padding: "2px 5px"
3233
+ padding: 0
3225
3234
  },
3226
3235
  children: [
3227
3236
  {
@@ -3232,8 +3241,8 @@ function registerSelect(loader) {
3232
3241
  type: "img",
3233
3242
  src: "https://static1.plasmic.app/arrow-up.svg",
3234
3243
  styles: {
3235
- height: "20px",
3236
- width: "20px",
3244
+ height: "15px",
3245
+ width: "15px",
3237
3246
  transform: "rotate(180deg)"
3238
3247
  }
3239
3248
  }
@@ -3305,7 +3314,7 @@ var __spreadValues$7 = (a, b) => {
3305
3314
  }
3306
3315
  return a;
3307
3316
  };
3308
- var __objRest$7 = (source, exclude) => {
3317
+ var __objRest$6 = (source, exclude) => {
3309
3318
  var target = {};
3310
3319
  for (var prop in source)
3311
3320
  if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3322,7 +3331,7 @@ const { variants: variants$7, withObservedValues: withObservedValues$6 } = pickA
3322
3331
  SLIDER_OUTPUT_VARIANTS
3323
3332
  );
3324
3333
  function BaseSliderOutput(props) {
3325
- const _a = props, { plasmicUpdateVariant, children } = _a, rest = __objRest$7(_a, ["plasmicUpdateVariant", "children"]);
3334
+ const _a = props, { plasmicUpdateVariant, children } = _a, rest = __objRest$6(_a, ["plasmicUpdateVariant", "children"]);
3326
3335
  return /* @__PURE__ */ React.createElement(SliderOutput, __spreadValues$7({}, rest), ({ isDisabled }) => withObservedValues$6(
3327
3336
  children,
3328
3337
  {
@@ -3389,7 +3398,7 @@ var __spreadValues$6 = (a, b) => {
3389
3398
  return a;
3390
3399
  };
3391
3400
  var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
3392
- var __objRest$6 = (source, exclude) => {
3401
+ var __objRest$5 = (source, exclude) => {
3393
3402
  var target = {};
3394
3403
  for (var prop in source)
3395
3404
  if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3416,7 +3425,7 @@ function BaseSliderThumb(_a) {
3416
3425
  children,
3417
3426
  advanced,
3418
3427
  plasmicUpdateVariant
3419
- } = _b, rest = __objRest$6(_b, [
3428
+ } = _b, rest = __objRest$5(_b, [
3420
3429
  "children",
3421
3430
  "advanced",
3422
3431
  "plasmicUpdateVariant"
@@ -3498,7 +3507,7 @@ var __spreadValues$5 = (a, b) => {
3498
3507
  }
3499
3508
  return a;
3500
3509
  };
3501
- var __objRest$5 = (source, exclude) => {
3510
+ var __objRest$4 = (source, exclude) => {
3502
3511
  var target = {};
3503
3512
  for (var prop in source)
3504
3513
  if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3535,7 +3544,7 @@ function isMultiValueGuard(value) {
3535
3544
  function BaseSliderTrack(props) {
3536
3545
  const context = React.useContext(PlasmicSliderContext);
3537
3546
  const isStandalone = !context;
3538
- const _a = props, { children, progressBar, plasmicUpdateVariant } = _a, rest = __objRest$5(_a, ["children", "progressBar", "plasmicUpdateVariant"]);
3547
+ const _a = props, { children, progressBar, plasmicUpdateVariant } = _a, rest = __objRest$4(_a, ["children", "progressBar", "plasmicUpdateVariant"]);
3539
3548
  const thumbsLength = context && isMultiValueGuard(context.value) ? context.value.length : 1;
3540
3549
  const isMultiValue = thumbsLength > 1;
3541
3550
  const { minIndex, maxIndex } = useMemo(() => {
@@ -3682,7 +3691,7 @@ var __spreadValues$4 = (a, b) => {
3682
3691
  return a;
3683
3692
  };
3684
3693
  var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
3685
- var __objRest$4 = (source, exclude) => {
3694
+ var __objRest$3 = (source, exclude) => {
3686
3695
  var target = {};
3687
3696
  for (var prop in source)
3688
3697
  if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3699,7 +3708,7 @@ const RANGE_SLIDER_COMPONENT_NAME = makeComponentName("range-slider");
3699
3708
  const SLIDER_VARIANTS = ["disabled"];
3700
3709
  const { variants: variants$4, withObservedValues: withObservedValues$3 } = pickAriaComponentVariants(SLIDER_VARIANTS);
3701
3710
  function BaseSlider(props) {
3702
- const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$4(_a, ["children", "plasmicUpdateVariant"]);
3711
+ const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$3(_a, ["children", "plasmicUpdateVariant"]);
3703
3712
  return /* @__PURE__ */ React.createElement(
3704
3713
  PlasmicSliderContext.Provider,
3705
3714
  {
@@ -3971,7 +3980,7 @@ var __spreadValues$3 = (a, b) => {
3971
3980
  return a;
3972
3981
  };
3973
3982
  var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
3974
- var __objRest$3 = (source, exclude) => {
3983
+ var __objRest$2 = (source, exclude) => {
3975
3984
  var target = {};
3976
3985
  for (var prop in source)
3977
3986
  if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3994,7 +4003,7 @@ const SWITCH_VARIANTS = [
3994
4003
  ];
3995
4004
  const { variants: variants$3, withObservedValues: withObservedValues$2 } = pickAriaComponentVariants(SWITCH_VARIANTS);
3996
4005
  function BaseSwitch(props) {
3997
- const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$3(_a, ["children", "plasmicUpdateVariant"]);
4006
+ const _a = props, { children, plasmicUpdateVariant } = _a, rest = __objRest$2(_a, ["children", "plasmicUpdateVariant"]);
3998
4007
  return /* @__PURE__ */ React.createElement(Switch, __spreadValues$3({}, rest), ({
3999
4008
  isHovered,
4000
4009
  isPressed,
@@ -4160,7 +4169,7 @@ var __spreadValues$2 = (a, b) => {
4160
4169
  }
4161
4170
  return a;
4162
4171
  };
4163
- var __objRest$2 = (source, exclude) => {
4172
+ var __objRest$1 = (source, exclude) => {
4164
4173
  var target = {};
4165
4174
  for (var prop in source)
4166
4175
  if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4189,7 +4198,7 @@ const inputHelpers = {
4189
4198
  };
4190
4199
  function BaseTextArea(props) {
4191
4200
  var _b;
4192
- const _a = props, { disabled, plasmicUpdateVariant, setControlContextData } = _a, rest = __objRest$2(_a, ["disabled", "plasmicUpdateVariant", "setControlContextData"]);
4201
+ const _a = props, { disabled, plasmicUpdateVariant, setControlContextData } = _a, rest = __objRest$1(_a, ["disabled", "plasmicUpdateVariant", "setControlContextData"]);
4193
4202
  const textFieldContext = React.useContext(PlasmicTextFieldContext);
4194
4203
  const mergedProps = mergeProps(rest, {
4195
4204
  disabled: (_b = textFieldContext == null ? void 0 : textFieldContext.isDisabled) != null ? _b : disabled
@@ -4297,7 +4306,7 @@ var __spreadValues$1 = (a, b) => {
4297
4306
  return a;
4298
4307
  };
4299
4308
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
4300
- var __objRest$1 = (source, exclude) => {
4309
+ var __objRest = (source, exclude) => {
4301
4310
  var target = {};
4302
4311
  for (var prop in source)
4303
4312
  if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4312,7 +4321,7 @@ var __objRest$1 = (source, exclude) => {
4312
4321
  const TEXT_FIELD_VARIANTS = ["disabled", "readonly"];
4313
4322
  const { variants: variants$1, withObservedValues: withObservedValues$1 } = pickAriaComponentVariants(TEXT_FIELD_VARIANTS);
4314
4323
  function BaseTextField(props) {
4315
- const _a = props, { children, plasmicUpdateVariant, autoComplete } = _a, rest = __objRest$1(_a, ["children", "plasmicUpdateVariant", "autoComplete"]);
4324
+ const _a = props, { children, plasmicUpdateVariant, autoComplete } = _a, rest = __objRest(_a, ["children", "plasmicUpdateVariant", "autoComplete"]);
4316
4325
  return /* @__PURE__ */ React.createElement(PlasmicTextFieldContext.Provider, { value: props }, /* @__PURE__ */ React.createElement(TextField, __spreadValues$1({ autoComplete: resolveAutoComplete(autoComplete) }, rest), ({ isDisabled, isReadOnly }) => withObservedValues$1(
4317
4326
  children,
4318
4327
  {
@@ -4374,7 +4383,8 @@ function registerTextField(loader, overrides) {
4374
4383
  justifyContent: "flex-start",
4375
4384
  alignItems: "flex-start",
4376
4385
  width: "300px",
4377
- gap: "5px"
4386
+ gap: "5px",
4387
+ padding: 0
4378
4388
  },
4379
4389
  children: [
4380
4390
  {
@@ -4450,18 +4460,6 @@ var __spreadValues = (a, b) => {
4450
4460
  }
4451
4461
  return a;
4452
4462
  };
4453
- var __objRest = (source, exclude) => {
4454
- var target = {};
4455
- for (var prop in source)
4456
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
4457
- target[prop] = source[prop];
4458
- if (source != null && __getOwnPropSymbols)
4459
- for (var prop of __getOwnPropSymbols(source)) {
4460
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
4461
- target[prop] = source[prop];
4462
- }
4463
- return target;
4464
- };
4465
4463
  const TOOLTIP_VARIANTS = [
4466
4464
  "placementTop",
4467
4465
  "placementBottom",
@@ -4469,18 +4467,13 @@ const TOOLTIP_VARIANTS = [
4469
4467
  "placementRight"
4470
4468
  ];
4471
4469
  const { variants, withObservedValues } = pickAriaComponentVariants(TOOLTIP_VARIANTS);
4472
- function TriggerWrapper(_a) {
4473
- var _b = _a, {
4474
- children
4475
- } = _b, rest = __objRest(_b, [
4476
- "children"
4477
- ]);
4470
+ function TriggerWrapper({ children, className }) {
4478
4471
  const ref = React.useRef(null);
4479
- const { focusableProps } = useFocusable(rest, ref);
4480
- return /* @__PURE__ */ React.createElement("div", __spreadValues({ ref }, focusableProps), children);
4472
+ const { focusableProps } = useFocusable({}, ref);
4473
+ return /* @__PURE__ */ React.createElement("div", __spreadValues({ ref, className }, focusableProps), children);
4481
4474
  }
4482
4475
  function BaseTooltip(props) {
4483
- var _a, _b;
4476
+ var _a, _b, _c;
4484
4477
  const {
4485
4478
  children,
4486
4479
  isDisabled,
@@ -4501,7 +4494,7 @@ function BaseTooltip(props) {
4501
4494
  } = props;
4502
4495
  const { isSelected, selectedSlotName } = (_b = (_a = usePlasmicCanvasComponentInfo) == null ? void 0 : _a(props)) != null ? _b : {};
4503
4496
  const isAutoOpen = selectedSlotName !== "children" && isSelected;
4504
- const _isOpen = isAutoOpen || isOpen;
4497
+ const _isOpen = (_c = isAutoOpen || isOpen) != null ? _c : false;
4505
4498
  return /* @__PURE__ */ React.createElement(
4506
4499
  TooltipTrigger,
4507
4500
  {
@@ -4513,7 +4506,7 @@ function BaseTooltip(props) {
4513
4506
  defaultOpen,
4514
4507
  onOpenChange
4515
4508
  },
4516
- /* @__PURE__ */ React.createElement(TriggerWrapper, null, children),
4509
+ /* @__PURE__ */ React.createElement(TriggerWrapper, { className: resetClassName }, children),
4517
4510
  /* @__PURE__ */ React.createElement(
4518
4511
  Tooltip,
4519
4512
  {