@react-xp/design-system 1.0.0-beta.6 → 1.0.0-beta.8

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.
@@ -18,6 +18,7 @@ const Button = (props) => {
18
18
  size,
19
19
  props,
20
20
  });
21
+ console.log('Button > styles:', st);
21
22
  const content = ((0, jsx_runtime_1.jsxs)(aeiou_1.A, { testId: testId, accessibilityRole: "button", accessibilityLabel: accessibilityLabel, accessibilityState: { disabled: isDisabled, busy: !!loading }, disabled: isDisabled, onPress: onPress, style: st.container, onClick: onClick, children: [(0, button_shared_1.applyIconStyle)(leftIcon, st.icon), (0, jsx_runtime_1.jsx)(aeiou_1.T, { style: st.label, children: children }), (0, button_shared_1.applyIconStyle)(rightIcon, st.icon), loading ? ((0, jsx_runtime_1.jsx)(aeiou_1.E, { style: { marginLeft: 8 }, children: (0, jsx_runtime_1.jsx)(react_native_1.ActivityIndicator, {}) })) : null] }));
22
23
  // focus wrapper (RN) – quando focused, coloca ring + gap
23
24
  if (!st.focusWrapper || !st.focusRing)
package/dist/cjs/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./components"), exports);
17
+ __exportStar(require("./components/button/button.web"), exports);
18
18
  __exportStar(require("./helpers"), exports);
19
19
  __exportStar(require("./showcase/buttons/buttons.web"), exports);
20
20
  __exportStar(require("./styles"), exports);
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./components"), exports);
17
+ __exportStar(require("./components/button/button.native"), exports);
18
18
  __exportStar(require("./helpers"), exports);
19
19
  __exportStar(require("./showcase/buttons/buttons.native"), exports);
20
20
  __exportStar(require("./styles"), exports);
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./components"), exports);
17
+ __exportStar(require("./components/button/button.web"), exports);
18
18
  __exportStar(require("./helpers"), exports);
19
19
  __exportStar(require("./showcase/buttons/buttons.web"), exports);
20
20
  __exportStar(require("./styles"), exports);
@@ -15,6 +15,7 @@ export const Button = (props) => {
15
15
  size,
16
16
  props,
17
17
  });
18
+ console.log('Button > styles:', st);
18
19
  const content = (_jsxs(A, { testId: testId, accessibilityRole: "button", accessibilityLabel: accessibilityLabel, accessibilityState: { disabled: isDisabled, busy: !!loading }, disabled: isDisabled, onPress: onPress, style: st.container, onClick: onClick, children: [applyIconStyle(leftIcon, st.icon), _jsx(T, { style: st.label, children: children }), applyIconStyle(rightIcon, st.icon), loading ? (_jsx(E, { style: { marginLeft: 8 }, children: _jsx(ActivityIndicator, {}) })) : null] }));
19
20
  // focus wrapper (RN) – quando focused, coloca ring + gap
20
21
  if (!st.focusWrapper || !st.focusRing)
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from './components';
1
+ export * from './components/button/button.web';
2
2
  export * from './helpers';
3
3
  export * from './showcase/buttons/buttons.web';
4
4
  export * from './styles';
@@ -1,4 +1,4 @@
1
- export * from './components';
1
+ export * from './components/button/button.native';
2
2
  export * from './helpers';
3
3
  export * from './showcase/buttons/buttons.native';
4
4
  export * from './styles';
@@ -1,4 +1,4 @@
1
- export * from './components';
1
+ export * from './components/button/button.web';
2
2
  export * from './helpers';
3
3
  export * from './showcase/buttons/buttons.web';
4
4
  export * from './styles';