elseware-ui 3.0.14 → 3.1.0

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