@alveole/components 0.38.1 → 0.38.3
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/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/ui/Button/Button.js +2 -2
- package/dist/ui/Button/Button.stories.d.ts +1 -2
- package/dist/ui/Button/Button.stories.d.ts.map +1 -1
- package/dist/ui/Button/Button.styles.d.ts +1 -2
- package/dist/ui/Button/Button.styles.d.ts.map +1 -1
- package/dist/ui/Button/Button.styles.js +1 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ALVEOLE_COMPONENTS_VERSION: "0.38.
|
|
1
|
+
export declare const ALVEOLE_COMPONENTS_VERSION: "0.38.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ALVEOLE_COMPONENTS_VERSION = "0.38.
|
|
1
|
+
export const ALVEOLE_COMPONENTS_VERSION = "0.38.3";
|
package/dist/ui/Button/Button.js
CHANGED
|
@@ -212,7 +212,7 @@ export const Button = React.forwardRef(function Button(props, ref) {
|
|
|
212
212
|
: state.hovered
|
|
213
213
|
? styles.secondaryContainerHover.borderColor
|
|
214
214
|
: styles.secondaryContainer.borderColor;
|
|
215
|
-
borderProps = { borderWidth:
|
|
215
|
+
borderProps = { borderWidth: 1, borderStyle: 'solid', borderColor };
|
|
216
216
|
}
|
|
217
217
|
else if (variant === 'danger') {
|
|
218
218
|
const borderColor = disabled
|
|
@@ -220,7 +220,7 @@ export const Button = React.forwardRef(function Button(props, ref) {
|
|
|
220
220
|
: state.hovered
|
|
221
221
|
? styles.dangerContainerHover.borderColor
|
|
222
222
|
: styles.dangerContainer.borderColor;
|
|
223
|
-
borderProps = { borderWidth:
|
|
223
|
+
borderProps = { borderWidth: 1, borderStyle: 'solid', borderColor };
|
|
224
224
|
}
|
|
225
225
|
return {
|
|
226
226
|
...radiusStyle,
|
|
@@ -30,9 +30,8 @@ declare const _default: {
|
|
|
30
30
|
flexDirection: "row";
|
|
31
31
|
justifyContent: "center";
|
|
32
32
|
alignItems: "center";
|
|
33
|
+
flex: number;
|
|
33
34
|
gap: import("@alveole/theme").Spacing;
|
|
34
|
-
marginTop: string;
|
|
35
|
-
marginBottom: string;
|
|
36
35
|
transitionProperty: "all";
|
|
37
36
|
transitionDuration: "150ms";
|
|
38
37
|
transitionTimingFunction: "ease";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAQkB;AAElB,eAAO,MAAM,KAAK,mCAMjB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAKnB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAKpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAKlB,CAAC;AAEF,eAAO,MAAM,IAAI,mCAShB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAAkE,CAAC;AAEzF,eAAO,MAAM,QAAQ,mCAIpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
|
|
@@ -8,9 +8,8 @@ export declare const useStyles: () => {
|
|
|
8
8
|
flexDirection: "row";
|
|
9
9
|
justifyContent: "center";
|
|
10
10
|
alignItems: "center";
|
|
11
|
+
flex: number;
|
|
11
12
|
gap: import("@alveole/theme").Spacing;
|
|
12
|
-
marginTop: string;
|
|
13
|
-
marginBottom: string;
|
|
14
13
|
transitionProperty: "all";
|
|
15
14
|
transitionDuration: "150ms";
|
|
16
15
|
transitionTimingFunction: "ease";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmRnB,CAAC"}
|
|
@@ -9,9 +9,8 @@ export const useStyles = makeStyles(({ text, color, spacing, radius }) => ({
|
|
|
9
9
|
flexDirection: 'row',
|
|
10
10
|
justifyContent: 'center',
|
|
11
11
|
alignItems: 'center',
|
|
12
|
+
flex: 1,
|
|
12
13
|
gap: spacing('050'),
|
|
13
|
-
marginTop: 'auto',
|
|
14
|
-
marginBottom: 'auto',
|
|
15
14
|
transitionProperty: 'all',
|
|
16
15
|
transitionDuration: '150ms',
|
|
17
16
|
transitionTimingFunction: 'ease',
|