elseware-ui 3.0.14 → 3.0.15

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.
@@ -245,7 +245,19 @@ function useButton(props) {
245
245
  onMouseMove: _onMouseMove,
246
246
  ...rootRest
247
247
  } = props;
248
- const { shape: resolvedShape, size: resolvedSize, variant: resolvedVariant, appearance: resolvedAppearance } = useResolvedButtonConfig({ compact, mode, variant, appearance, shape, size });
248
+ const {
249
+ shape: resolvedShape,
250
+ size: resolvedSize,
251
+ variant: resolvedVariant,
252
+ appearance: resolvedAppearance
253
+ } = useResolvedButtonConfig({
254
+ compact,
255
+ mode,
256
+ variant,
257
+ appearance,
258
+ shape,
259
+ size
260
+ });
249
261
  const tokens = buttonSizeTokens[resolvedSize];
250
262
  const variantClassName = resolveButtonVariantStyles({
251
263
  appearance: resolvedAppearance,
@@ -331,7 +343,10 @@ var Button = react.forwardRef(
331
343
  ref,
332
344
  accessibilityLabel,
333
345
  accessibilityRole,
334
- accessibilityState: { disabled: model.isBusy, selected: model.selected },
346
+ accessibilityState: {
347
+ disabled: model.isBusy,
348
+ selected: model.selected
349
+ },
335
350
  testID,
336
351
  disabled: model.isBusy,
337
352
  onPress: model.onPress,