@plasmicpkgs/react-aria 0.0.56 → 0.0.57

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.
@@ -569,7 +569,7 @@ function registerButton(loader, overrides) {
569
569
  type: "boolean",
570
570
  displayName: "Submits form?",
571
571
  defaultValueHint: false,
572
- hidden: (ps) => Boolean(ps.resetsForm),
572
+ hidden: (props) => Boolean(props.resetsForm),
573
573
  description: "Whether clicking this button should submit the enclosing form.",
574
574
  advanced: true
575
575
  },
@@ -577,7 +577,7 @@ function registerButton(loader, overrides) {
577
577
  type: "boolean",
578
578
  displayName: "Resets form?",
579
579
  defaultValueHint: false,
580
- hidden: (ps) => Boolean(ps.submitsForm),
580
+ hidden: (props) => Boolean(props.submitsForm),
581
581
  description: "Whether clicking this button should reset the enclosing form.",
582
582
  advanced: true
583
583
  },
@@ -2111,7 +2111,7 @@ function registerPopover(loader, overrides) {
2111
2111
  shouldFlip: {
2112
2112
  type: "boolean",
2113
2113
  description: "Whether the element should flip its orientation (e.g. top to bottom or left to right) when there is insufficient room for it to render completely.",
2114
- defaultValueHint: (_ps, ctx) => {
2114
+ defaultValueHint: (_props, ctx) => {
2115
2115
  var _a;
2116
2116
  return (_a = ctx == null ? void 0 : ctx.defaultShouldFlip) != null ? _a : true;
2117
2117
  }
@@ -2214,6 +2214,13 @@ function registerComboBox(loader) {
2214
2214
  // React Aria ComboBox do not support multiple comboBoxions yet
2215
2215
  multiSelect: false
2216
2216
  },
2217
+ disabledKeys: {
2218
+ type: "choice",
2219
+ description: "The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with.",
2220
+ options: (_props, ctx) => (ctx == null ? void 0 : ctx.itemIds) ? Array.from(ctx.itemIds) : [],
2221
+ multiSelect: true,
2222
+ advanced: true
2223
+ },
2217
2224
  isOpen: {
2218
2225
  type: "boolean",
2219
2226
  defaultValue: false,
@@ -3101,6 +3108,7 @@ function BaseSelect(props) {
3101
3108
  className,
3102
3109
  style,
3103
3110
  children,
3111
+ disabledKeys,
3104
3112
  name,
3105
3113
  isOpen,
3106
3114
  setControlContextData,
@@ -3127,6 +3135,7 @@ function BaseSelect(props) {
3127
3135
  className,
3128
3136
  style,
3129
3137
  name,
3138
+ disabledKeys,
3130
3139
  "aria-label": ariaLabel,
3131
3140
  isOpen: openProp
3132
3141
  }, extractPlasmicDataProps(props)),
@@ -3161,7 +3170,7 @@ function registerSelect(loader) {
3161
3170
  value: "Selected value..."
3162
3171
  }
3163
3172
  ],
3164
- hidden: (ps) => !ps.customize
3173
+ hidden: (props) => !props.customize
3165
3174
  },
3166
3175
  className: {
3167
3176
  type: "class",
@@ -3514,7 +3523,7 @@ function registerSliderThumb(loader, overrides) {
3514
3523
  children: {
3515
3524
  type: "slot",
3516
3525
  mergeWithParent: true,
3517
- hidden: (ps) => !ps.advanced
3526
+ hidden: (props) => !props.advanced
3518
3527
  }
3519
3528
  }),
3520
3529
  trapsFocus: true