@app-studio/web 0.8.85 → 0.8.87
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.
- package/dist/components/Button/Button/Button.style.d.ts +0 -3
- package/dist/components/Button/Button/Button.view.d.ts +3 -3
- package/dist/web.cjs.development.js +341 -434
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +341 -434
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +345 -438
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +2 -2
- package/dist/assets/svg/index.d.ts +0 -2
|
@@ -22,7 +22,4 @@ export declare const ButtonShapes: Record<Shape, number | string>;
|
|
|
22
22
|
* Icon sizes for different button sizes
|
|
23
23
|
*/
|
|
24
24
|
export declare const IconSizes: Record<Size, ViewProps>;
|
|
25
|
-
/**
|
|
26
|
-
* Button variants with consistent styling
|
|
27
|
-
*/
|
|
28
25
|
export declare const getButtonVariants: (color: string, isLight: boolean) => Record<Variant, ViewProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* ButtonView component – minimal and design‑system aligned.
|
|
3
|
+
* - Chooses a **main color** with priority: `backgroundColor` → `color` → `theme.primary`.
|
|
4
|
+
* - Uses `getButtonVariants` to derive base/hover/active styles per variant.
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { ButtonProps } from './Button.props';
|