@entur/button 3.3.13-beta.8 → 3.3.13
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/button.cjs.js +268 -0
- package/dist/button.cjs.js.map +1 -0
- package/dist/button.esm.js +245 -269
- package/dist/button.esm.js.map +1 -1
- package/dist/index.d.ts +383 -13
- package/dist/styles.css +772 -790
- package/package.json +23 -13
- package/dist/Button.d.ts +0 -42
- package/dist/ButtonGroup.d.ts +0 -14
- package/dist/FloatingButton.d.ts +0 -18
- package/dist/IconButton.d.ts +0 -32
- package/dist/NegativeButton.d.ts +0 -29
- package/dist/PrimaryButton.d.ts +0 -29
- package/dist/SecondaryButton.d.ts +0 -29
- package/dist/SecondarySquareButton.d.ts +0 -21
- package/dist/SquareButton.d.ts +0 -26
- package/dist/SuccessButton.d.ts +0 -29
- package/dist/SuccessSquareButton.d.ts +0 -21
- package/dist/TertiaryButton.d.ts +0 -30
- package/dist/TertiarySquareButton.d.ts +0 -23
- package/dist/button.cjs.development.js +0 -309
- package/dist/button.cjs.development.js.map +0 -1
- package/dist/button.cjs.production.min.js +0 -2
- package/dist/button.cjs.production.min.js.map +0 -1
- package/dist/index.js +0 -8
package/dist/button.esm.js
CHANGED
|
@@ -1,276 +1,252 @@
|
|
|
1
|
-
import { warnAboutMissingStyles } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { warnAboutMissingStyles } from "@entur/utils";
|
|
2
|
+
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import React__default from "react";
|
|
5
|
+
import classNames from "classnames";
|
|
6
|
+
import { LoadingDots } from "@entur/loader";
|
|
7
|
+
const defaultElement$9 = "button";
|
|
8
|
+
const Button = React.forwardRef(
|
|
9
|
+
({
|
|
10
|
+
as,
|
|
11
|
+
children,
|
|
12
|
+
variant = "primary",
|
|
13
|
+
size = "medium",
|
|
14
|
+
loading,
|
|
15
|
+
className,
|
|
16
|
+
disabled = false,
|
|
17
|
+
width = "auto",
|
|
18
|
+
"aria-label": ariaLabel,
|
|
19
|
+
...rest
|
|
20
|
+
}, ref) => {
|
|
21
|
+
const Element = as || defaultElement$9;
|
|
22
|
+
const childrenArray = React.Children.toArray(children);
|
|
23
|
+
const hasLeadingIcon = childrenArray.length > 1 && typeof childrenArray[0] !== "string";
|
|
24
|
+
const hasTrailingIcon = childrenArray.length > 1 && typeof childrenArray[childrenArray.length - 1] !== "string";
|
|
25
|
+
const ariaLabelWhenLoading = childrenArray.filter((child) => typeof child === "string").join(" ");
|
|
26
|
+
const ariaLabelValue = () => {
|
|
27
|
+
if (ariaLabel) return ariaLabel;
|
|
28
|
+
if (loading) return ariaLabelWhenLoading;
|
|
29
|
+
return void 0;
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
Element,
|
|
33
|
+
{
|
|
34
|
+
className: classNames(
|
|
35
|
+
"eds-button",
|
|
36
|
+
{
|
|
37
|
+
[`eds-button--variant-${variant}`]: variant,
|
|
38
|
+
[`eds-button--size-${size}`]: size,
|
|
39
|
+
"eds-button--width-fluid": width === "fluid",
|
|
40
|
+
"eds-button--loading": loading,
|
|
41
|
+
"eds-button--leading-icon": hasLeadingIcon,
|
|
42
|
+
"eds-button--trailing-icon": hasTrailingIcon
|
|
43
|
+
},
|
|
44
|
+
className
|
|
45
|
+
),
|
|
46
|
+
ref,
|
|
47
|
+
"aria-busy": loading,
|
|
48
|
+
disabled,
|
|
49
|
+
"aria-disabled": disabled,
|
|
50
|
+
"aria-label": ariaLabelValue(),
|
|
51
|
+
...rest,
|
|
52
|
+
children: loading ? /* @__PURE__ */ jsx(LoadingDots, { className: "eds-button__loading-dots" }) : children
|
|
53
|
+
}
|
|
54
|
+
);
|
|
22
55
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}, props, {
|
|
75
|
-
ref: ref,
|
|
76
|
-
variant: "primary"
|
|
77
|
-
}));
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
var defaultElement$7 = 'button';
|
|
81
|
-
var SecondaryButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
82
|
-
var Element = props.as || defaultElement$7;
|
|
83
|
-
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
84
|
-
return React__default.createElement(Button, _extends({
|
|
85
|
-
as: Element
|
|
86
|
-
}, props, {
|
|
87
|
-
ref: ref,
|
|
88
|
-
variant: "secondary"
|
|
89
|
-
}));
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
var defaultElement$6 = 'button';
|
|
93
|
-
var SuccessButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
94
|
-
var Element = props.as || defaultElement$6;
|
|
95
|
-
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
96
|
-
return React__default.createElement(Button, _extends({
|
|
97
|
-
as: Element
|
|
98
|
-
}, props, {
|
|
99
|
-
ref: ref,
|
|
100
|
-
variant: "success"
|
|
101
|
-
}));
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
var defaultElement$5 = 'button';
|
|
105
|
-
var NegativeButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
106
|
-
var Element = props.as || defaultElement$5;
|
|
107
|
-
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
108
|
-
return React__default.createElement(Button, _extends({
|
|
109
|
-
as: Element
|
|
110
|
-
}, props, {
|
|
111
|
-
ref: ref,
|
|
112
|
-
variant: "negative"
|
|
113
|
-
}));
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
var defaultElement$4 = 'button';
|
|
117
|
-
/** @deprecated use SecondaryButton size="small" instead */
|
|
118
|
-
var TertiaryButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
119
|
-
var Element = props.as || defaultElement$4;
|
|
120
|
-
return React__default.createElement(Button, _extends({
|
|
121
|
-
as: Element
|
|
122
|
-
}, props, {
|
|
123
|
-
ref: ref,
|
|
124
|
-
variant: "tertiary",
|
|
125
|
-
size: "small"
|
|
126
|
-
}));
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
var _excluded$3 = ["as", "className"];
|
|
130
|
-
var ButtonGroup = function ButtonGroup(_ref) {
|
|
131
|
-
var _ref$as = _ref.as,
|
|
132
|
-
Element = _ref$as === void 0 ? 'div' : _ref$as,
|
|
133
|
-
className = _ref.className,
|
|
134
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
135
|
-
return React__default.createElement(Element, _extends({
|
|
136
|
-
className: classNames('eds-button-group', className)
|
|
137
|
-
}, rest));
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
var _excluded$2 = ["className", "children", "size"];
|
|
141
|
-
var FloatingButton = function FloatingButton(_ref) {
|
|
142
|
-
var className = _ref.className,
|
|
143
|
-
children = _ref.children,
|
|
144
|
-
_ref$size = _ref.size,
|
|
145
|
-
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
146
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
147
|
-
return React__default.createElement("button", _extends({
|
|
148
|
-
className: classNames('eds-floating-button', {
|
|
149
|
-
'eds-floating-button--extended': React__default.Children.count(children) > 1
|
|
150
|
-
}, {
|
|
151
|
-
'eds-floating-button--small': size === 'small'
|
|
152
|
-
}, className),
|
|
153
|
-
type: "button"
|
|
154
|
-
}, rest), wrapStringsInSpans(children));
|
|
155
|
-
};
|
|
156
|
-
var wrapStringsInSpans = function wrapStringsInSpans(children) {
|
|
157
|
-
return React__default.Children.map(children, function (child) {
|
|
158
|
-
return typeof child === 'string' ? React__default.createElement("span", null, child) : child;
|
|
159
|
-
});
|
|
56
|
+
);
|
|
57
|
+
const defaultElement$8 = "button";
|
|
58
|
+
const PrimaryButton = React__default.forwardRef(
|
|
59
|
+
(props, ref) => {
|
|
60
|
+
const Element = props.as || defaultElement$8;
|
|
61
|
+
return /* @__PURE__ */ jsx(Button, { as: Element, ...props, ref, variant: "primary" });
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
const defaultElement$7 = "button";
|
|
65
|
+
const SecondaryButton = React__default.forwardRef(
|
|
66
|
+
(props, ref) => {
|
|
67
|
+
const Element = props.as || defaultElement$7;
|
|
68
|
+
return /* @__PURE__ */ jsx(Button, { as: Element, ...props, ref, variant: "secondary" });
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
const defaultElement$6 = "button";
|
|
72
|
+
const SuccessButton = React__default.forwardRef(
|
|
73
|
+
(props, ref) => {
|
|
74
|
+
const Element = props.as || defaultElement$6;
|
|
75
|
+
return /* @__PURE__ */ jsx(Button, { as: Element, ...props, ref, variant: "success" });
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
const defaultElement$5 = "button";
|
|
79
|
+
const NegativeButton = React__default.forwardRef(
|
|
80
|
+
(props, ref) => {
|
|
81
|
+
const Element = props.as || defaultElement$5;
|
|
82
|
+
return /* @__PURE__ */ jsx(Button, { as: Element, ...props, ref, variant: "negative" });
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
const defaultElement$4 = "button";
|
|
86
|
+
const TertiaryButton = React__default.forwardRef(
|
|
87
|
+
(props, ref) => {
|
|
88
|
+
const Element = props.as || defaultElement$4;
|
|
89
|
+
return /* @__PURE__ */ jsx(
|
|
90
|
+
Button,
|
|
91
|
+
{
|
|
92
|
+
as: Element,
|
|
93
|
+
...props,
|
|
94
|
+
ref,
|
|
95
|
+
variant: "tertiary",
|
|
96
|
+
size: "small"
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
);
|
|
101
|
+
const ButtonGroup = ({
|
|
102
|
+
as: Element = "div",
|
|
103
|
+
className,
|
|
104
|
+
...rest
|
|
105
|
+
}) => {
|
|
106
|
+
return /* @__PURE__ */ jsx(Element, { className: classNames("eds-button-group", className), ...rest });
|
|
160
107
|
};
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}, className),
|
|
180
|
-
"aria-busy": loading,
|
|
181
|
-
disabled: disabled,
|
|
182
|
-
"aria-disabled": disabled,
|
|
183
|
-
ref: ref
|
|
184
|
-
}, rest), React.Children.map(children, function (child) {
|
|
185
|
-
if (typeof child === 'string') {
|
|
186
|
-
return React.createElement("span", {
|
|
187
|
-
className: "eds-square-button__label"
|
|
188
|
-
}, child);
|
|
108
|
+
const FloatingButton = ({
|
|
109
|
+
className,
|
|
110
|
+
children,
|
|
111
|
+
size = "medium",
|
|
112
|
+
...rest
|
|
113
|
+
}) => {
|
|
114
|
+
return /* @__PURE__ */ jsx(
|
|
115
|
+
"button",
|
|
116
|
+
{
|
|
117
|
+
className: classNames(
|
|
118
|
+
"eds-floating-button",
|
|
119
|
+
{ "eds-floating-button--extended": React__default.Children.count(children) > 1 },
|
|
120
|
+
{ "eds-floating-button--small": size === "small" },
|
|
121
|
+
className
|
|
122
|
+
),
|
|
123
|
+
type: "button",
|
|
124
|
+
...rest,
|
|
125
|
+
children: wrapStringsInSpans(children)
|
|
189
126
|
}
|
|
190
|
-
return React.createElement("span", {
|
|
191
|
-
className: "eds-square-button__button"
|
|
192
|
-
}, loading ? React.createElement(LoadingDots, {
|
|
193
|
-
className: "eds-square-button__loading-dots"
|
|
194
|
-
}) : child);
|
|
195
|
-
}));
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
var defaultElement$2 = 'button';
|
|
199
|
-
var SecondarySquareButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
200
|
-
var Element = props.as || defaultElement$2;
|
|
201
|
-
return (
|
|
202
|
-
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
203
|
-
React__default.createElement(SquareButton, _extends({
|
|
204
|
-
as: Element,
|
|
205
|
-
ref: ref
|
|
206
|
-
}, props, {
|
|
207
|
-
variant: "secondary"
|
|
208
|
-
}))
|
|
209
|
-
);
|
|
210
|
-
});
|
|
211
|
-
|
|
212
|
-
var defaultElement$1 = 'button';
|
|
213
|
-
var SuccessSquareButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
214
|
-
var Element = props.as || defaultElement$1;
|
|
215
|
-
return (
|
|
216
|
-
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
217
|
-
React__default.createElement(SquareButton, _extends({
|
|
218
|
-
as: Element,
|
|
219
|
-
ref: ref
|
|
220
|
-
}, props, {
|
|
221
|
-
variant: "success"
|
|
222
|
-
}))
|
|
223
127
|
);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
128
|
+
};
|
|
129
|
+
const wrapStringsInSpans = (children) => React__default.Children.map(
|
|
130
|
+
children,
|
|
131
|
+
(child) => typeof child === "string" ? /* @__PURE__ */ jsx("span", { children: child }) : child
|
|
132
|
+
);
|
|
133
|
+
const defaultElement$3 = "button";
|
|
134
|
+
const SquareButton = React.forwardRef(
|
|
135
|
+
({
|
|
136
|
+
as,
|
|
137
|
+
children,
|
|
138
|
+
className,
|
|
139
|
+
disabled = false,
|
|
140
|
+
loading = false,
|
|
141
|
+
variant = "secondary",
|
|
142
|
+
...rest
|
|
143
|
+
}, ref) => {
|
|
144
|
+
const Element = as || defaultElement$3;
|
|
145
|
+
return /* @__PURE__ */ jsx(
|
|
146
|
+
Element,
|
|
147
|
+
{
|
|
148
|
+
className: classNames(
|
|
149
|
+
"eds-square-button",
|
|
150
|
+
`eds-square-button--${variant}`,
|
|
151
|
+
{
|
|
152
|
+
"eds-square-button--loading": loading
|
|
153
|
+
},
|
|
154
|
+
className
|
|
155
|
+
),
|
|
156
|
+
"aria-busy": loading,
|
|
157
|
+
disabled,
|
|
158
|
+
"aria-disabled": disabled,
|
|
159
|
+
ref,
|
|
160
|
+
...rest,
|
|
161
|
+
children: React.Children.map(children, (child) => {
|
|
162
|
+
if (typeof child === "string") {
|
|
163
|
+
return /* @__PURE__ */ jsx("span", { className: "eds-square-button__label", children: child });
|
|
164
|
+
}
|
|
165
|
+
return /* @__PURE__ */ jsx("span", { className: "eds-square-button__button", children: loading ? /* @__PURE__ */ jsx(LoadingDots, { className: "eds-square-button__loading-dots" }) : child });
|
|
166
|
+
})
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
);
|
|
171
|
+
const defaultElement$2 = "button";
|
|
172
|
+
const SecondarySquareButton = React__default.forwardRef(
|
|
173
|
+
(props, ref) => {
|
|
174
|
+
const Element = props.as || defaultElement$2;
|
|
175
|
+
return (
|
|
176
|
+
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
177
|
+
/* @__PURE__ */ jsx(SquareButton, { as: Element, ref, ...props, variant: "secondary" })
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
);
|
|
181
|
+
const defaultElement$1 = "button";
|
|
182
|
+
const SuccessSquareButton = React__default.forwardRef(
|
|
183
|
+
(props, ref) => {
|
|
184
|
+
const Element = props.as || defaultElement$1;
|
|
185
|
+
return (
|
|
186
|
+
// @ts-expect-error type error due to props not being BaseButtonProps
|
|
187
|
+
/* @__PURE__ */ jsx(SquareButton, { as: Element, ref, ...props, variant: "success" })
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
const TertiarySquareButton = React__default.forwardRef(
|
|
192
|
+
(props, ref) => /* @__PURE__ */ jsx(SquareButton, { ref, ...props, variant: "tertiary" })
|
|
193
|
+
);
|
|
194
|
+
const defaultElement = "button";
|
|
195
|
+
const IconButton = React__default.forwardRef(
|
|
196
|
+
({
|
|
197
|
+
children,
|
|
198
|
+
className,
|
|
199
|
+
disabled = false,
|
|
200
|
+
size = "medium",
|
|
201
|
+
as,
|
|
202
|
+
loading,
|
|
203
|
+
...rest
|
|
204
|
+
}, ref) => {
|
|
205
|
+
const Element = as || defaultElement;
|
|
206
|
+
const IconWithAriaHidden = React__default.Children.map(children, (child) => {
|
|
207
|
+
if (React__default.isValidElement(child)) {
|
|
208
|
+
return React__default.cloneElement(child, { "aria-hidden": true });
|
|
209
|
+
}
|
|
210
|
+
return child;
|
|
211
|
+
});
|
|
212
|
+
const iconButtonElement = /* @__PURE__ */ jsx(
|
|
213
|
+
Element,
|
|
214
|
+
{
|
|
215
|
+
className: classNames(
|
|
216
|
+
"eds-icon-button",
|
|
217
|
+
className,
|
|
218
|
+
{
|
|
219
|
+
"eds-icon-button--disabled": disabled
|
|
220
|
+
},
|
|
221
|
+
`eds-icon-button--size-${size}`
|
|
222
|
+
),
|
|
223
|
+
disabled,
|
|
224
|
+
"aria-disabled": disabled,
|
|
225
|
+
"aria-busy": loading,
|
|
226
|
+
ref,
|
|
227
|
+
...rest,
|
|
228
|
+
children: loading ? /* @__PURE__ */ jsx(LoadingDots, {}) : /* @__PURE__ */ jsx(Fragment, { children: IconWithAriaHidden })
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
if (disabled) {
|
|
232
|
+
return /* @__PURE__ */ jsx("div", { className: "eds-icon-button--disabled__wrapper", children: iconButtonElement });
|
|
253
233
|
}
|
|
254
|
-
return
|
|
255
|
-
});
|
|
256
|
-
var iconButtonElement = React__default.createElement(Element, _extends({
|
|
257
|
-
className: classNames('eds-icon-button', className, {
|
|
258
|
-
'eds-icon-button--disabled': disabled
|
|
259
|
-
}, "eds-icon-button--size-" + size),
|
|
260
|
-
disabled: disabled,
|
|
261
|
-
"aria-disabled": disabled,
|
|
262
|
-
"aria-busy": loading,
|
|
263
|
-
ref: ref
|
|
264
|
-
}, rest), loading ? React__default.createElement(LoadingDots, null) : React__default.createElement(React__default.Fragment, null, IconWithAriaHidden));
|
|
265
|
-
if (disabled) {
|
|
266
|
-
return React__default.createElement("div", {
|
|
267
|
-
className: "eds-icon-button--disabled__wrapper"
|
|
268
|
-
}, iconButtonElement);
|
|
234
|
+
return /* @__PURE__ */ jsx(Fragment, { children: iconButtonElement });
|
|
269
235
|
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
236
|
+
);
|
|
237
|
+
warnAboutMissingStyles("button");
|
|
238
|
+
export {
|
|
239
|
+
Button,
|
|
240
|
+
ButtonGroup,
|
|
241
|
+
FloatingButton,
|
|
242
|
+
IconButton,
|
|
243
|
+
NegativeButton,
|
|
244
|
+
PrimaryButton,
|
|
245
|
+
SecondaryButton,
|
|
246
|
+
SecondarySquareButton,
|
|
247
|
+
SuccessButton,
|
|
248
|
+
SuccessSquareButton,
|
|
249
|
+
TertiaryButton,
|
|
250
|
+
TertiarySquareButton
|
|
251
|
+
};
|
|
276
252
|
//# sourceMappingURL=button.esm.js.map
|