@bbl-digital/snorre 3.1.35 → 3.1.36
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/bundle.js
CHANGED
|
@@ -141,10 +141,12 @@
|
|
|
141
141
|
rounded,
|
|
142
142
|
css,
|
|
143
143
|
children,
|
|
144
|
+
className,
|
|
144
145
|
onClose
|
|
145
146
|
}) => {
|
|
146
147
|
return jsxRuntime$1.jsxs("div", {
|
|
147
148
|
css: theme => [styles$z.default(theme), success && styles$z.success(theme), info && styles$z.info(theme), danger && styles$z.danger(theme), rounded && styles$z.rounded, primary && styles$z.primary(theme), css && css],
|
|
149
|
+
className: className,
|
|
148
150
|
children: [children, onClose && jsxRuntime$1.jsx(Button, {
|
|
149
151
|
onClick: onClose,
|
|
150
152
|
nostyle: true,
|
package/esm/core/Alert/index.js
CHANGED
|
@@ -13,10 +13,12 @@ const Alert = ({
|
|
|
13
13
|
rounded,
|
|
14
14
|
css,
|
|
15
15
|
children,
|
|
16
|
+
className,
|
|
16
17
|
onClose
|
|
17
18
|
}) => {
|
|
18
19
|
return _jsxs("div", {
|
|
19
20
|
css: theme => [styles.default(theme), success && styles.success(theme), info && styles.info(theme), danger && styles.danger(theme), rounded && styles.rounded, primary && styles.primary(theme), css && css],
|
|
21
|
+
className: className,
|
|
20
22
|
children: [children, onClose && _jsx(Button, {
|
|
21
23
|
onClick: onClose,
|
|
22
24
|
nostyle: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Alert/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAIjD,UAAU,MAAM;IACd,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CA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CAAA"}
|
package/lib/core/Alert/index.js
CHANGED
|
@@ -13,10 +13,12 @@ const Alert = ({
|
|
|
13
13
|
rounded,
|
|
14
14
|
css,
|
|
15
15
|
children,
|
|
16
|
+
className,
|
|
16
17
|
onClose
|
|
17
18
|
}) => {
|
|
18
19
|
return _jsxs("div", {
|
|
19
20
|
css: theme => [styles.default(theme), success && styles.success(theme), info && styles.info(theme), danger && styles.danger(theme), rounded && styles.rounded, primary && styles.primary(theme), css && css],
|
|
21
|
+
className: className,
|
|
20
22
|
children: [children, onClose && _jsx(Button, {
|
|
21
23
|
onClick: onClose,
|
|
22
24
|
nostyle: true,
|