@plasmicpkgs/react-aria 0.0.36 → 0.0.38

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.
@@ -260,7 +260,8 @@ function registerButton(loader, overrides) {
260
260
  borderWidth: "1px",
261
261
  borderStyle: "solid",
262
262
  borderColor: "black",
263
- padding: "2px 10px"
263
+ padding: "2px 10px",
264
+ cursor: "pointer"
264
265
  },
265
266
  props: __spreadProps$c(__spreadValues$p({}, getCommonInputProps("button", [
266
267
  "isDisabled",
@@ -576,7 +577,10 @@ function registerText(loader, overrides) {
576
577
  }
577
578
  },
578
579
  slot: {
579
- type: "string"
580
+ type: "choice",
581
+ options: ["label", "description"],
582
+ defaultValueHint: "label",
583
+ defaultValue: "label"
580
584
  }
581
585
  },
582
586
  trapsFocus: true
@@ -2504,17 +2508,20 @@ function registerRadio(loader, overrides) {
2504
2508
  type: "string",
2505
2509
  description: "The value of the input element, used when submitting an HTML form."
2506
2510
  },
2511
+ // Keeping for backwards compatibility reasons
2507
2512
  onSelectionChange: {
2508
2513
  type: "eventHandler",
2509
- argTypes: [{ name: "isSelected", type: "boolean" }]
2514
+ argTypes: [{ name: "isSelected", type: "boolean" }],
2515
+ hidden: () => true
2510
2516
  }
2511
2517
  }),
2512
2518
  states: {
2519
+ // Keeping for backwards compatibility reasons
2513
2520
  isSelected: {
2514
2521
  type: "readonly",
2515
2522
  onChangeProp: "onSelectionChange",
2516
2523
  variableType: "boolean",
2517
- hidden: (_ps, ctx) => !(ctx == null ? void 0 : ctx.isStandalone)
2524
+ hidden: () => true
2518
2525
  }
2519
2526
  },
2520
2527
  trapsFocus: true