@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.
@@ -561,7 +561,7 @@ function registerButton(loader, overrides) {
561
561
  type: "boolean",
562
562
  displayName: "Submits form?",
563
563
  defaultValueHint: false,
564
- hidden: (ps) => Boolean(ps.resetsForm),
564
+ hidden: (props) => Boolean(props.resetsForm),
565
565
  description: "Whether clicking this button should submit the enclosing form.",
566
566
  advanced: true
567
567
  },
@@ -569,7 +569,7 @@ function registerButton(loader, overrides) {
569
569
  type: "boolean",
570
570
  displayName: "Resets form?",
571
571
  defaultValueHint: false,
572
- hidden: (ps) => Boolean(ps.submitsForm),
572
+ hidden: (props) => Boolean(props.submitsForm),
573
573
  description: "Whether clicking this button should reset the enclosing form.",
574
574
  advanced: true
575
575
  },
@@ -2103,7 +2103,7 @@ function registerPopover(loader, overrides) {
2103
2103
  shouldFlip: {
2104
2104
  type: "boolean",
2105
2105
  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.",
2106
- defaultValueHint: (_ps, ctx) => {
2106
+ defaultValueHint: (_props, ctx) => {
2107
2107
  var _a;
2108
2108
  return (_a = ctx == null ? void 0 : ctx.defaultShouldFlip) != null ? _a : true;
2109
2109
  }
@@ -2206,6 +2206,13 @@ function registerComboBox(loader) {
2206
2206
  // React Aria ComboBox do not support multiple comboBoxions yet
2207
2207
  multiSelect: false
2208
2208
  },
2209
+ disabledKeys: {
2210
+ type: "choice",
2211
+ description: "The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with.",
2212
+ options: (_props, ctx) => (ctx == null ? void 0 : ctx.itemIds) ? Array.from(ctx.itemIds) : [],
2213
+ multiSelect: true,
2214
+ advanced: true
2215
+ },
2209
2216
  isOpen: {
2210
2217
  type: "boolean",
2211
2218
  defaultValue: false,
@@ -3093,6 +3100,7 @@ function BaseSelect(props) {
3093
3100
  className,
3094
3101
  style,
3095
3102
  children,
3103
+ disabledKeys,
3096
3104
  name,
3097
3105
  isOpen,
3098
3106
  setControlContextData,
@@ -3119,6 +3127,7 @@ function BaseSelect(props) {
3119
3127
  className,
3120
3128
  style,
3121
3129
  name,
3130
+ disabledKeys,
3122
3131
  "aria-label": ariaLabel,
3123
3132
  isOpen: openProp
3124
3133
  }, extractPlasmicDataProps(props)),
@@ -3153,7 +3162,7 @@ function registerSelect(loader) {
3153
3162
  value: "Selected value..."
3154
3163
  }
3155
3164
  ],
3156
- hidden: (ps) => !ps.customize
3165
+ hidden: (props) => !props.customize
3157
3166
  },
3158
3167
  className: {
3159
3168
  type: "class",
@@ -3506,7 +3515,7 @@ function registerSliderThumb(loader, overrides) {
3506
3515
  children: {
3507
3516
  type: "slot",
3508
3517
  mergeWithParent: true,
3509
- hidden: (ps) => !ps.advanced
3518
+ hidden: (props) => !props.advanced
3510
3519
  }
3511
3520
  }),
3512
3521
  trapsFocus: true