@pareto-engineering/design-system 4.0.0-alpha.43 → 4.0.0-alpha.44
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/cjs/a/Removable/Removable.js +72 -0
- package/dist/cjs/a/Removable/index.js +13 -0
- package/dist/cjs/a/Removable/styles.scss +33 -0
- package/dist/cjs/a/index.js +8 -1
- package/dist/cjs/f/fields/Checkbox/styles.scss +1 -0
- package/dist/cjs/f/fields/TextInput/TextInput.js +3 -3
- package/dist/es/a/Removable/Removable.js +64 -0
- package/dist/es/a/Removable/index.js +2 -0
- package/dist/es/a/Removable/styles.scss +33 -0
- package/dist/es/a/index.js +2 -1
- package/dist/es/f/fields/Checkbox/styles.scss +1 -0
- package/dist/es/f/fields/TextInput/TextInput.js +3 -3
- package/package.json +2 -2
- package/src/stories/a/Removable.stories.jsx +22 -0
- package/src/ui/a/Removable/Removable.jsx +85 -0
- package/src/ui/a/Removable/index.js +2 -0
- package/src/ui/a/Removable/styles.scss +33 -0
- package/src/ui/a/index.js +1 -0
- package/src/ui/f/fields/Checkbox/styles.scss +1 -0
- package/src/ui/f/fields/TextInput/TextInput.jsx +2 -1
- package/tests/__snapshots__/Storyshots.test.js.snap +19 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } /* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
13
|
+
// Local Definitions
|
|
14
|
+
|
|
15
|
+
const baseClassName = _exports.default.base;
|
|
16
|
+
const componentClassName = 'removable';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* This is a wrapper component that adds a close button to its children.
|
|
20
|
+
*/
|
|
21
|
+
const Removable = _ref => {
|
|
22
|
+
let {
|
|
23
|
+
id,
|
|
24
|
+
className: userClassName,
|
|
25
|
+
style,
|
|
26
|
+
handleClose,
|
|
27
|
+
children
|
|
28
|
+
// ...otherProps
|
|
29
|
+
} = _ref;
|
|
30
|
+
(0, React.useInsertionEffect)(() => {
|
|
31
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
|
|
32
|
+
}, []);
|
|
33
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
id: id,
|
|
35
|
+
className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
|
|
36
|
+
style: style
|
|
37
|
+
// {...otherProps}
|
|
38
|
+
}, children, /*#__PURE__*/React.createElement("button", {
|
|
39
|
+
type: "button",
|
|
40
|
+
className: "close-button",
|
|
41
|
+
onClick: handleClose || (() => null)
|
|
42
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
className: "icon"
|
|
44
|
+
}, "Y")));
|
|
45
|
+
};
|
|
46
|
+
Removable.propTypes = {
|
|
47
|
+
/**
|
|
48
|
+
* The HTML id for this element
|
|
49
|
+
*/
|
|
50
|
+
id: _propTypes.default.string,
|
|
51
|
+
/**
|
|
52
|
+
* The HTML class names for this element
|
|
53
|
+
*/
|
|
54
|
+
className: _propTypes.default.string,
|
|
55
|
+
/**
|
|
56
|
+
* The React-written, css properties for this element.
|
|
57
|
+
*/
|
|
58
|
+
style: _propTypes.default.objectOf(_propTypes.default.string),
|
|
59
|
+
/**
|
|
60
|
+
* The function to call when the close button is clicked
|
|
61
|
+
*/
|
|
62
|
+
handleClose: _propTypes.default.func,
|
|
63
|
+
/**
|
|
64
|
+
* The children JSX
|
|
65
|
+
*/
|
|
66
|
+
children: _propTypes.default.node
|
|
67
|
+
};
|
|
68
|
+
Removable.defaultProps = {
|
|
69
|
+
// someProp:false
|
|
70
|
+
};
|
|
71
|
+
var _default = Removable;
|
|
72
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Removable", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Removable.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Removable = _interopRequireDefault(require("./Removable"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
2
|
+
|
|
3
|
+
@use "@pareto-engineering/bem";
|
|
4
|
+
|
|
5
|
+
$default-padding: .5rem;
|
|
6
|
+
|
|
7
|
+
.#{bem.$base}.removable {
|
|
8
|
+
align-items: center;
|
|
9
|
+
background-color: var(--background-inputs);
|
|
10
|
+
border: var(--theme-default-border-style) var(--main2);
|
|
11
|
+
border-radius: $default-padding;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
padding: $default-padding;
|
|
15
|
+
|
|
16
|
+
> :first-child {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.close-button {
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
border: none;
|
|
23
|
+
color: var(--metadata);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
margin-left: var(--gap);
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
color: var(--hard-metadata);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
package/dist/cjs/a/index.js
CHANGED
|
@@ -111,6 +111,12 @@ Object.defineProperty(exports, "Quote", {
|
|
|
111
111
|
return _Quote.Quote;
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
|
+
Object.defineProperty(exports, "Removable", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return _Removable.Removable;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
114
120
|
Object.defineProperty(exports, "SVG", {
|
|
115
121
|
enumerable: true,
|
|
116
122
|
get: function () {
|
|
@@ -181,4 +187,5 @@ var _MetaCard = require("./MetaCard");
|
|
|
181
187
|
var _AnimatedBlobs = require("./AnimatedBlobs");
|
|
182
188
|
var _Tip = require("./Tip");
|
|
183
189
|
var _AnimatedGradient = require("./AnimatedGradient");
|
|
184
|
-
var _TextSteps = require("./TextSteps");
|
|
190
|
+
var _TextSteps = require("./TextSteps");
|
|
191
|
+
var _Removable = require("./Removable");
|
|
@@ -41,8 +41,8 @@ const TextInput = _ref => {
|
|
|
41
41
|
desktopLabelSpan,
|
|
42
42
|
inputSpan,
|
|
43
43
|
desktopInputSpan,
|
|
44
|
-
symbol
|
|
45
|
-
|
|
44
|
+
symbol,
|
|
45
|
+
...otherProps
|
|
46
46
|
} = _ref;
|
|
47
47
|
(0, React.useInsertionEffect)(() => {
|
|
48
48
|
Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
|
|
@@ -77,7 +77,7 @@ const TextInput = _ref => {
|
|
|
77
77
|
disabled: disabled,
|
|
78
78
|
placeholder: placeholder,
|
|
79
79
|
autoComplete: autoComplete
|
|
80
|
-
}, field)), /*#__PURE__*/React.createElement(_common.FormDescription, {
|
|
80
|
+
}, field, otherProps)), /*#__PURE__*/React.createElement(_common.FormDescription, {
|
|
81
81
|
className: "s-1",
|
|
82
82
|
description: description,
|
|
83
83
|
name: name
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useInsertionEffect } from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import styleNames from '@pareto-engineering/bem/exports';
|
|
6
|
+
|
|
7
|
+
// Local Definitions
|
|
8
|
+
|
|
9
|
+
const baseClassName = styleNames.base;
|
|
10
|
+
const componentClassName = 'removable';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* This is a wrapper component that adds a close button to its children.
|
|
14
|
+
*/
|
|
15
|
+
const Removable = ({
|
|
16
|
+
id,
|
|
17
|
+
className: userClassName,
|
|
18
|
+
style,
|
|
19
|
+
handleClose,
|
|
20
|
+
children
|
|
21
|
+
// ...otherProps
|
|
22
|
+
}) => {
|
|
23
|
+
useInsertionEffect(() => {
|
|
24
|
+
import("./styles.scss");
|
|
25
|
+
}, []);
|
|
26
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
id: id,
|
|
28
|
+
className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
|
|
29
|
+
style: style
|
|
30
|
+
// {...otherProps}
|
|
31
|
+
}, children, /*#__PURE__*/React.createElement("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
className: "close-button",
|
|
34
|
+
onClick: handleClose || (() => null)
|
|
35
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
36
|
+
className: "icon"
|
|
37
|
+
}, "Y")));
|
|
38
|
+
};
|
|
39
|
+
Removable.propTypes = {
|
|
40
|
+
/**
|
|
41
|
+
* The HTML id for this element
|
|
42
|
+
*/
|
|
43
|
+
id: PropTypes.string,
|
|
44
|
+
/**
|
|
45
|
+
* The HTML class names for this element
|
|
46
|
+
*/
|
|
47
|
+
className: PropTypes.string,
|
|
48
|
+
/**
|
|
49
|
+
* The React-written, css properties for this element.
|
|
50
|
+
*/
|
|
51
|
+
style: PropTypes.objectOf(PropTypes.string),
|
|
52
|
+
/**
|
|
53
|
+
* The function to call when the close button is clicked
|
|
54
|
+
*/
|
|
55
|
+
handleClose: PropTypes.func,
|
|
56
|
+
/**
|
|
57
|
+
* The children JSX
|
|
58
|
+
*/
|
|
59
|
+
children: PropTypes.node
|
|
60
|
+
};
|
|
61
|
+
Removable.defaultProps = {
|
|
62
|
+
// someProp:false
|
|
63
|
+
};
|
|
64
|
+
export default Removable;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
2
|
+
|
|
3
|
+
@use "@pareto-engineering/bem";
|
|
4
|
+
|
|
5
|
+
$default-padding: .5rem;
|
|
6
|
+
|
|
7
|
+
.#{bem.$base}.removable {
|
|
8
|
+
align-items: center;
|
|
9
|
+
background-color: var(--background-inputs);
|
|
10
|
+
border: var(--theme-default-border-style) var(--main2);
|
|
11
|
+
border-radius: $default-padding;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
padding: $default-padding;
|
|
15
|
+
|
|
16
|
+
> :first-child {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.close-button {
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
border: none;
|
|
23
|
+
color: var(--metadata);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
margin-left: var(--gap);
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
color: var(--hard-metadata);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
package/dist/es/a/index.js
CHANGED
|
@@ -20,4 +20,5 @@ export { MetaCard } from "./MetaCard";
|
|
|
20
20
|
export { AnimatedBlobs } from "./AnimatedBlobs";
|
|
21
21
|
export { Tip } from "./Tip";
|
|
22
22
|
export { AnimatedGradient } from "./AnimatedGradient";
|
|
23
|
-
export { TextSteps } from "./TextSteps";
|
|
23
|
+
export { TextSteps } from "./TextSteps";
|
|
24
|
+
export { Removable } from "./Removable";
|
|
@@ -34,8 +34,8 @@ const TextInput = ({
|
|
|
34
34
|
desktopLabelSpan,
|
|
35
35
|
inputSpan,
|
|
36
36
|
desktopInputSpan,
|
|
37
|
-
symbol
|
|
38
|
-
|
|
37
|
+
symbol,
|
|
38
|
+
...otherProps
|
|
39
39
|
}) => {
|
|
40
40
|
useInsertionEffect(() => {
|
|
41
41
|
import("./styles.scss");
|
|
@@ -70,7 +70,7 @@ const TextInput = ({
|
|
|
70
70
|
disabled: disabled,
|
|
71
71
|
placeholder: placeholder,
|
|
72
72
|
autoComplete: autoComplete
|
|
73
|
-
}, field)), /*#__PURE__*/React.createElement(FormDescription, {
|
|
73
|
+
}, field, otherProps)), /*#__PURE__*/React.createElement(FormDescription, {
|
|
74
74
|
className: "s-1",
|
|
75
75
|
description: description,
|
|
76
76
|
name: name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pareto-engineering/design-system",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.44",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"relay-test-utils": "^15.0.0"
|
|
71
71
|
},
|
|
72
72
|
"browserslist": "> 2%",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "02e37ad192a8bffa34cd4b7af353aa3e1c71acc5"
|
|
74
74
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
2
|
+
import * as React from 'react'
|
|
3
|
+
|
|
4
|
+
import { Removable } from 'ui'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title :'a/Removable',
|
|
8
|
+
component :Removable,
|
|
9
|
+
subcomponents:{
|
|
10
|
+
// Item:Removable.Item
|
|
11
|
+
},
|
|
12
|
+
decorators:[
|
|
13
|
+
// storyfn => <div className="">{ storyfn() }</div>,
|
|
14
|
+
],
|
|
15
|
+
argTypes:{
|
|
16
|
+
backgroundColor:{ control: 'color' },
|
|
17
|
+
},
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const Base = () => (
|
|
21
|
+
<Removable>Sample Removable</Removable>
|
|
22
|
+
)
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
2
|
+
import * as React from 'react'
|
|
3
|
+
|
|
4
|
+
import { useInsertionEffect } from 'react'
|
|
5
|
+
|
|
6
|
+
import PropTypes from 'prop-types'
|
|
7
|
+
|
|
8
|
+
import styleNames from '@pareto-engineering/bem/exports'
|
|
9
|
+
|
|
10
|
+
// Local Definitions
|
|
11
|
+
|
|
12
|
+
const baseClassName = styleNames.base
|
|
13
|
+
|
|
14
|
+
const componentClassName = 'removable'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This is a wrapper component that adds a close button to its children.
|
|
18
|
+
*/
|
|
19
|
+
const Removable = ({
|
|
20
|
+
id,
|
|
21
|
+
className:userClassName,
|
|
22
|
+
style,
|
|
23
|
+
handleClose,
|
|
24
|
+
children,
|
|
25
|
+
// ...otherProps
|
|
26
|
+
}) => {
|
|
27
|
+
useInsertionEffect(() => {
|
|
28
|
+
import('./styles.scss')
|
|
29
|
+
}, [])
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<div
|
|
33
|
+
id={id}
|
|
34
|
+
className={[
|
|
35
|
+
|
|
36
|
+
baseClassName,
|
|
37
|
+
|
|
38
|
+
componentClassName,
|
|
39
|
+
userClassName,
|
|
40
|
+
]
|
|
41
|
+
.filter((e) => e)
|
|
42
|
+
.join(' ')}
|
|
43
|
+
style={style}
|
|
44
|
+
// {...otherProps}
|
|
45
|
+
>
|
|
46
|
+
{children}
|
|
47
|
+
<button type="button" className="close-button" onClick={handleClose || (() => null)}>
|
|
48
|
+
<span className="icon">Y</span>
|
|
49
|
+
</button>
|
|
50
|
+
</div>
|
|
51
|
+
)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
Removable.propTypes = {
|
|
55
|
+
/**
|
|
56
|
+
* The HTML id for this element
|
|
57
|
+
*/
|
|
58
|
+
id:PropTypes.string,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The HTML class names for this element
|
|
62
|
+
*/
|
|
63
|
+
className:PropTypes.string,
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The React-written, css properties for this element.
|
|
67
|
+
*/
|
|
68
|
+
style:PropTypes.objectOf(PropTypes.string),
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The function to call when the close button is clicked
|
|
72
|
+
*/
|
|
73
|
+
handleClose:PropTypes.func,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The children JSX
|
|
77
|
+
*/
|
|
78
|
+
children:PropTypes.node,
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
Removable.defaultProps = {
|
|
82
|
+
// someProp:false
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export default Removable
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.1.1-alpha.1 */
|
|
2
|
+
|
|
3
|
+
@use "@pareto-engineering/bem";
|
|
4
|
+
|
|
5
|
+
$default-padding: .5rem;
|
|
6
|
+
|
|
7
|
+
.#{bem.$base}.removable {
|
|
8
|
+
align-items: center;
|
|
9
|
+
background-color: var(--background-inputs);
|
|
10
|
+
border: var(--theme-default-border-style) var(--main2);
|
|
11
|
+
border-radius: $default-padding;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
padding: $default-padding;
|
|
15
|
+
|
|
16
|
+
> :first-child {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.close-button {
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
border: none;
|
|
23
|
+
color: var(--metadata);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
margin-left: var(--gap);
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
color: var(--hard-metadata);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
package/src/ui/a/index.js
CHANGED
|
@@ -40,7 +40,7 @@ const TextInput = ({
|
|
|
40
40
|
inputSpan,
|
|
41
41
|
desktopInputSpan,
|
|
42
42
|
symbol,
|
|
43
|
-
|
|
43
|
+
...otherProps
|
|
44
44
|
}) => {
|
|
45
45
|
useInsertionEffect(() => {
|
|
46
46
|
import('./styles.scss')
|
|
@@ -88,6 +88,7 @@ const TextInput = ({
|
|
|
88
88
|
placeholder={placeholder}
|
|
89
89
|
autoComplete={autoComplete}
|
|
90
90
|
{...field}
|
|
91
|
+
{...otherProps}
|
|
91
92
|
/>
|
|
92
93
|
<FormDescription className="s-1" description={description} name={name} />
|
|
93
94
|
</InputWrapper>
|
|
@@ -2864,6 +2864,25 @@ exports[`Storyshots a/Quote Base 1`] = `
|
|
|
2864
2864
|
</div>
|
|
2865
2865
|
`;
|
|
2866
2866
|
|
|
2867
|
+
exports[`Storyshots a/Removable Base 1`] = `
|
|
2868
|
+
<div
|
|
2869
|
+
className="base removable"
|
|
2870
|
+
>
|
|
2871
|
+
Sample Removable
|
|
2872
|
+
<button
|
|
2873
|
+
className="close-button"
|
|
2874
|
+
onClick={[Function]}
|
|
2875
|
+
type="button"
|
|
2876
|
+
>
|
|
2877
|
+
<span
|
|
2878
|
+
className="icon"
|
|
2879
|
+
>
|
|
2880
|
+
Y
|
|
2881
|
+
</span>
|
|
2882
|
+
</button>
|
|
2883
|
+
</div>
|
|
2884
|
+
`;
|
|
2885
|
+
|
|
2867
2886
|
exports[`Storyshots a/SVG Animated 1`] = `
|
|
2868
2887
|
[
|
|
2869
2888
|
<svg
|