@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.
@@ -252,7 +252,8 @@ function registerButton(loader, overrides) {
252
252
  borderWidth: "1px",
253
253
  borderStyle: "solid",
254
254
  borderColor: "black",
255
- padding: "2px 10px"
255
+ padding: "2px 10px",
256
+ cursor: "pointer"
256
257
  },
257
258
  props: __spreadProps$c(__spreadValues$p({}, getCommonInputProps("button", [
258
259
  "isDisabled",
@@ -568,7 +569,10 @@ function registerText(loader, overrides) {
568
569
  }
569
570
  },
570
571
  slot: {
571
- type: "string"
572
+ type: "choice",
573
+ options: ["label", "description"],
574
+ defaultValueHint: "label",
575
+ defaultValue: "label"
572
576
  }
573
577
  },
574
578
  trapsFocus: true
@@ -2496,17 +2500,20 @@ function registerRadio(loader, overrides) {
2496
2500
  type: "string",
2497
2501
  description: "The value of the input element, used when submitting an HTML form."
2498
2502
  },
2503
+ // Keeping for backwards compatibility reasons
2499
2504
  onSelectionChange: {
2500
2505
  type: "eventHandler",
2501
- argTypes: [{ name: "isSelected", type: "boolean" }]
2506
+ argTypes: [{ name: "isSelected", type: "boolean" }],
2507
+ hidden: () => true
2502
2508
  }
2503
2509
  }),
2504
2510
  states: {
2511
+ // Keeping for backwards compatibility reasons
2505
2512
  isSelected: {
2506
2513
  type: "readonly",
2507
2514
  onChangeProp: "onSelectionChange",
2508
2515
  variableType: "boolean",
2509
- hidden: (_ps, ctx) => !(ctx == null ? void 0 : ctx.isStandalone)
2516
+ hidden: () => true
2510
2517
  }
2511
2518
  },
2512
2519
  trapsFocus: true