@plasmicpkgs/react-aria 0.0.100 → 0.0.101

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.
@@ -3471,8 +3471,7 @@ function SelectAutoOpen(props) {
3471
3471
  return null;
3472
3472
  }
3473
3473
  const BaseSelectValue = (props) => {
3474
- const { children, customize, className } = props;
3475
- const placeholder = customize ? children : "Select an item";
3474
+ const { children: placeholder, className } = props;
3476
3475
  return /* @__PURE__ */ React__default.default.createElement(reactAriaComponents.SelectValue, { className, style: COMMON_STYLES }, ({ isPlaceholder, selectedText }) => /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, isPlaceholder ? placeholder : selectedText));
3477
3476
  };
3478
3477
  const SELECT_NAME = makeComponentName("select");
@@ -3552,11 +3551,14 @@ function registerSelect(loader) {
3552
3551
  importName: "BaseSelectValue",
3553
3552
  parentComponentName: SELECT_NAME,
3554
3553
  props: {
3554
+ /** @deprecated use children (Placeholder) directly */
3555
3555
  customize: {
3556
3556
  type: "boolean",
3557
3557
  displayName: "Customize placeholder",
3558
3558
  defaultValue: true,
3559
- description: "Customize the placeholder text and styles"
3559
+ description: "Customize the placeholder text and styles",
3560
+ /** Obsolete, but retained (permanently hidden) for backward compatibility. */
3561
+ hidden: () => true
3560
3562
  },
3561
3563
  children: {
3562
3564
  type: "slot",
@@ -3566,8 +3568,7 @@ function registerSelect(loader) {
3566
3568
  type: "text",
3567
3569
  value: "Select an item"
3568
3570
  }
3569
- ],
3570
- hidden: (props) => !props.customize
3571
+ ]
3571
3572
  }
3572
3573
  },
3573
3574
  trapsFocus: true