@bbl-digital/snorre 3.1.26 → 3.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +36 -20
- package/esm/core/Button/index.js +1 -1
- package/esm/core/Button/styles.js +30 -18
- package/esm/core/Card/index.js +5 -1
- package/lib/core/Button/index.d.ts.map +1 -1
- package/lib/core/Button/index.js +1 -1
- package/lib/core/Button/styles.d.ts +1 -0
- package/lib/core/Button/styles.d.ts.map +1 -1
- package/lib/core/Button/styles.js +30 -18
- package/lib/core/Card/index.d.ts +2 -0
- package/lib/core/Card/index.d.ts.map +1 -1
- package/lib/core/Card/index.js +5 -1
- package/package.json +2 -1
- package/theme-generator.js +21 -9
package/esm/core/Button/index.js
CHANGED
@@ -39,7 +39,7 @@ const Button = props => {
|
|
39
39
|
tabIndex: tabIndex,
|
40
40
|
disabled: disabled,
|
41
41
|
loading: loading,
|
42
|
-
css: theme => [styles.default(theme), outline && styles.outline(theme), danger && styles.danger(theme), success && styles.success(theme), highlight && styles.highlighted, disabled && styles.disabled(theme), (beforeIcon || afterIcon) && styles.icon(theme), beforeIcon && styles.beforeIcon, afterIcon && styles.afterIcon, border && styles.border(border), nostyle && styles.nostyle, loading && styles.loading(theme), back && styles.back(theme), css && css, small && styles.small, danger && outline && styles.dangerOutline(theme), transparentBg && styles.transparentBg, focusable && styles.focusable],
|
42
|
+
css: theme => [styles.default(theme), outline && styles.outline(theme), danger && styles.danger(theme), success && styles.success(theme), highlight && styles.highlighted, disabled && styles.disabled(theme), (beforeIcon || afterIcon) && styles.icon(theme), beforeIcon && styles.beforeIcon, afterIcon && styles.afterIcon, border && styles.border(border), nostyle && styles.nostyle, loading && styles.loading(theme), back && styles.back(theme), css && css, small && styles.small, danger && outline && styles.dangerOutline(theme), success && outline && styles.successOutline(theme), transparentBg && styles.transparentBg, focusable && styles.focusable],
|
43
43
|
afterIcon: afterIcon,
|
44
44
|
beforeIcon: back ? _jsx(IconChevronLeft, {
|
45
45
|
size: '12px'
|