@appquality/unguess-design-system 2.2.0 → 2.4.0
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/CHANGELOG.md +45 -0
- package/build/index.d.ts +31 -1
- package/build/index.js +625 -19
- package/build/stories/accordions/index.stories.d.ts +1 -0
- package/build/stories/avatar/index.d.ts +1 -1
- package/build/stories/dropdowns/field/_types.d.ts +2 -0
- package/build/stories/dropdowns/field/index.d.ts +4 -0
- package/build/stories/dropdowns/item/_types.d.ts +9 -0
- package/build/stories/dropdowns/item/index.d.ts +4 -0
- package/build/stories/dropdowns/menu/_types.d.ts +31 -0
- package/build/stories/dropdowns/menu/index.d.ts +7 -0
- package/build/stories/dropdowns/multiselect/_types.d.ts +17 -0
- package/build/stories/dropdowns/multiselect/index.d.ts +11 -0
- package/build/stories/dropdowns/multiselect/index.stories.d.ts +21 -0
- package/build/stories/dropdowns/select/_types.d.ts +5 -1
- package/build/stories/dropdowns/select/index.d.ts +16 -0
- package/build/stories/dropdowns/select/index.stories.d.ts +20 -0
- package/build/stories/{field → forms/field}/_types.d.ts +0 -0
- package/build/stories/{field → forms/field}/index.d.ts +0 -0
- package/build/stories/{field → forms/field}/index.stories.d.ts +0 -0
- package/build/stories/forms/radio/_types.d.ts +3 -0
- package/build/stories/forms/radio/index.d.ts +14 -0
- package/build/stories/forms/radio/index.stories.d.ts +7 -0
- package/build/stories/forms/textarea/_types.d.ts +15 -0
- package/build/stories/forms/textarea/index.d.ts +10 -0
- package/build/stories/forms/textarea/index.stories.d.ts +8 -0
- package/build/stories/forms/toggle/_types.d.ts +3 -0
- package/build/stories/forms/toggle/index.d.ts +13 -0
- package/build/stories/forms/toggle/index.stories.d.ts +10 -0
- package/build/stories/login-form/_types.d.ts +19 -0
- package/build/stories/login-form/index.d.ts +10 -0
- package/build/stories/login-form/index.stories.d.ts +7 -0
- package/build/stories/pagination/_types.d.ts +34 -0
- package/build/stories/pagination/index.d.ts +17 -0
- package/build/stories/pagination/index.stories.d.ts +7 -0
- package/build/stories/table/_types.d.ts +54 -0
- package/build/stories/table/index.d.ts +21 -0
- package/build/stories/table/index.stories.d.ts +32 -0
- package/build/stories/tags/_types.d.ts +17 -0
- package/build/stories/tags/index.d.ts +22 -0
- package/build/stories/tags/index.stories.d.ts +19 -0
- package/build/stories/theme/gradients.d.ts +4 -0
- package/build/stories/theme/index.d.ts +155 -11
- package/build/stories/theme/palette.d.ts +141 -0
- package/build/stories/theme/palette.stories.d.ts +15 -0
- package/build/stories/theme/utils.d.ts +1 -0
- package/build/stories/tiles/_types.d.ts +12 -0
- package/build/stories/tiles/index.d.ts +22 -0
- package/build/stories/tiles/index.stories.d.ts +25 -0
- package/build/stories/trigger/_types.d.ts +3 -0
- package/build/stories/trigger/index.d.ts +7 -0
- package/build/stories/typography/paragraph/{ordered.stories.d.ts → index.stories.d.ts} +0 -0
- package/build/stories/typography/span/_types.d.ts +13 -0
- package/build/stories/typography/span/index.d.ts +13 -0
- package/build/stories/typography/span/index.stories.d.ts +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -5,14 +5,42 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var styled = require('styled-components');
|
|
6
6
|
var reactTheming = require('@zendeskgarden/react-theming');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
var reactAccordions = require('@zendeskgarden/react-accordions');
|
|
8
9
|
var reactAvatars = require('@zendeskgarden/react-avatars');
|
|
9
10
|
var reactBreadcrumbs = require('@zendeskgarden/react-breadcrumbs');
|
|
10
11
|
var reactButtons = require('@zendeskgarden/react-buttons');
|
|
12
|
+
var reactNotifications = require('@zendeskgarden/react-notifications');
|
|
13
|
+
var reactDropdowns = require('@zendeskgarden/react-dropdowns');
|
|
14
|
+
var reactForms = require('@zendeskgarden/react-forms');
|
|
15
|
+
var reactGrid = require('@zendeskgarden/react-grid');
|
|
11
16
|
var reactLoaders = require('@zendeskgarden/react-loaders');
|
|
17
|
+
var formik = require('formik');
|
|
18
|
+
var React = require('react');
|
|
19
|
+
var reactTables = require('@zendeskgarden/react-tables');
|
|
20
|
+
var reactTypography = require('@zendeskgarden/react-typography');
|
|
12
21
|
|
|
13
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
23
|
|
|
24
|
+
function _interopNamespace(e) {
|
|
25
|
+
if (e && e.__esModule) return e;
|
|
26
|
+
var n = Object.create(null);
|
|
27
|
+
if (e) {
|
|
28
|
+
Object.keys(e).forEach(function (k) {
|
|
29
|
+
if (k !== 'default') {
|
|
30
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
31
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return e[k]; }
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
n["default"] = e;
|
|
39
|
+
return Object.freeze(n);
|
|
40
|
+
}
|
|
41
|
+
|
|
15
42
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
43
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
16
44
|
|
|
17
45
|
/*! *****************************************************************************
|
|
18
46
|
Copyright (c) Microsoft Corporation.
|
|
@@ -45,21 +73,172 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
45
73
|
return cooked;
|
|
46
74
|
}
|
|
47
75
|
|
|
48
|
-
var
|
|
76
|
+
var palette = __assign(__assign({}, reactTheming.DEFAULT_THEME.palette), { black: "#000", white: "#fff", product: {
|
|
77
|
+
support: "#00a656",
|
|
78
|
+
message: "#37b8af",
|
|
79
|
+
explore: "#30aabc",
|
|
80
|
+
gather: "#f6c8be",
|
|
81
|
+
guide: "#ff6224",
|
|
82
|
+
connect: "#ff6224",
|
|
83
|
+
chat: "#f79a3e",
|
|
84
|
+
talk: "#efc93d",
|
|
85
|
+
sell: "#c38f00",
|
|
86
|
+
}, grey: {
|
|
87
|
+
"100": "#f8f9f9",
|
|
88
|
+
"200": "#e9ebed",
|
|
89
|
+
"300": "#d8dcde",
|
|
90
|
+
"400": "#c2c8cc",
|
|
91
|
+
"500": "#87929d",
|
|
92
|
+
"600": "#68737d",
|
|
93
|
+
"700": "#49545c",
|
|
94
|
+
"800": "#2f3941",
|
|
95
|
+
}, blue: {
|
|
96
|
+
"100": "#E6EBEE",
|
|
97
|
+
"200": "#B0C2CB",
|
|
98
|
+
"300": "#8AA4B2",
|
|
99
|
+
"400": "#547B8E",
|
|
100
|
+
"500": "#336179",
|
|
101
|
+
"600": "#003A57",
|
|
102
|
+
"700": "#00293E",
|
|
103
|
+
"800": "#001825",
|
|
104
|
+
}, red: {
|
|
105
|
+
"100": "#F9E2E1",
|
|
106
|
+
"200": "#F3C5C4",
|
|
107
|
+
"300": "#EA9B99",
|
|
108
|
+
"400": "#E2716F",
|
|
109
|
+
"500": "#DB4D50",
|
|
110
|
+
"600": "#D53032",
|
|
111
|
+
"700": "#A92329",
|
|
112
|
+
"800": "#771823",
|
|
113
|
+
}, yellow: {
|
|
114
|
+
"100": "#FEF6E7",
|
|
115
|
+
"200": "#FDEDCE",
|
|
116
|
+
"300": "#FBE1AC",
|
|
117
|
+
"400": "#F9CF7B",
|
|
118
|
+
"500": "#F7BF50",
|
|
119
|
+
"600": "#F4AC1A",
|
|
120
|
+
"700": "#D1820A",
|
|
121
|
+
"800": "#A15908",
|
|
122
|
+
}, green: {
|
|
123
|
+
"100": "#D7F9E5",
|
|
124
|
+
"200": "#ABF2C7",
|
|
125
|
+
"300": "#7FEBAA",
|
|
126
|
+
"400": "#53E48D",
|
|
127
|
+
"500": "#27DD70",
|
|
128
|
+
"600": "#1CB559",
|
|
129
|
+
"700": "#158944",
|
|
130
|
+
"800": "#0E5D2E",
|
|
131
|
+
}, kale: {
|
|
132
|
+
"100": "#f1f9f3",
|
|
133
|
+
"200": "#d3ecdb",
|
|
134
|
+
"300": "#9fd7b1",
|
|
135
|
+
"400": "#70c38a",
|
|
136
|
+
"500": "#66b17e",
|
|
137
|
+
"600": "#508a62",
|
|
138
|
+
"700": "#3e6b4c",
|
|
139
|
+
"800": "#2f523a",
|
|
140
|
+
}, fuschia: {
|
|
141
|
+
"400": "#d653c2",
|
|
142
|
+
"600": "#a81897",
|
|
143
|
+
M400: "#cf62a8",
|
|
144
|
+
M600: "#a8458c",
|
|
145
|
+
}, pink: {
|
|
146
|
+
"400": "#ec4d63",
|
|
147
|
+
"600": "#d42054",
|
|
148
|
+
M400: "#d57287",
|
|
149
|
+
M600: "#b23a5d",
|
|
150
|
+
}, crimson: {
|
|
151
|
+
"400": "#e34f32",
|
|
152
|
+
"600": "#c72a1c",
|
|
153
|
+
M400: "#cc6c5b",
|
|
154
|
+
M600: "#b24a3c",
|
|
155
|
+
}, orange: {
|
|
156
|
+
"400": "#de701d",
|
|
157
|
+
"600": "#bf5000",
|
|
158
|
+
M400: "#d4772c",
|
|
159
|
+
M600: "#b35827",
|
|
160
|
+
}, lemon: {
|
|
161
|
+
"400": "#ffd424",
|
|
162
|
+
"600": "#ffbb10",
|
|
163
|
+
M400: "#e7a500",
|
|
164
|
+
M600: "#c38f00",
|
|
165
|
+
}, lime: {
|
|
166
|
+
"400": "#43b324",
|
|
167
|
+
"600": "#2e8200",
|
|
168
|
+
M400: "#519e2d",
|
|
169
|
+
M600: "#47782c",
|
|
170
|
+
}, mint: {
|
|
171
|
+
"400": "#00a656",
|
|
172
|
+
"600": "#058541",
|
|
173
|
+
M400: "#299c66",
|
|
174
|
+
M600: "#2e8057",
|
|
175
|
+
}, teal: {
|
|
176
|
+
"400": "#02a191",
|
|
177
|
+
"600": "#028079",
|
|
178
|
+
M400: "#2d9e8f",
|
|
179
|
+
M600: "#3c7873",
|
|
180
|
+
}, azure: {
|
|
181
|
+
"400": "#3091ec",
|
|
182
|
+
"600": "#1371d6",
|
|
183
|
+
M400: "#5f8dcf",
|
|
184
|
+
M600: "#3a70b2",
|
|
185
|
+
}, royal: {
|
|
186
|
+
"400": "#5d7df5",
|
|
187
|
+
"600": "#3353e2",
|
|
188
|
+
M400: "#7986d8",
|
|
189
|
+
M600: "#4b61c3",
|
|
190
|
+
}, purple: {
|
|
191
|
+
"400": "#b552e2",
|
|
192
|
+
"600": "#6a27b8",
|
|
193
|
+
M400: "#b072cc",
|
|
194
|
+
M600: "#9358b0",
|
|
195
|
+
} });
|
|
49
196
|
|
|
50
|
-
var
|
|
51
|
-
|
|
197
|
+
var hex2rgba = function (hex, alpha) {
|
|
198
|
+
if (alpha === void 0) { alpha = 1; }
|
|
199
|
+
var rgb = hex.match(/\w\w/g);
|
|
200
|
+
var _a = rgb ? rgb.map(function (x) { return parseInt(x, 16); }) : [0, 0, 0], r = _a[0], g = _a[1], b = _a[2];
|
|
201
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(alpha, ")");
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
var gradients = {
|
|
205
|
+
horizontal: "linear-gradient(90.81deg, ".concat(hex2rgba(palette.blue[600]), " 11.98%, ").concat(hex2rgba(palette.kale[400]), " 100%);"),
|
|
206
|
+
dark: "linear-gradient(90.81deg, ".concat(hex2rgba(palette.blue[800]), " 0%, ").concat(hex2rgba(palette.blue[600]), " 100%);"),
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
var theme = __assign(__assign({}, reactTheming.DEFAULT_THEME), { palette: palette, fonts: __assign(__assign({}, reactTheming.DEFAULT_THEME.fonts), { system: '"Poppins",sans-serif,Helvetica,Arial,sans-serif' }), gradients: gradients });
|
|
210
|
+
|
|
211
|
+
var GlobalStyle = styled.createGlobalStyle(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "], ["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "])), theme.fonts.system);
|
|
212
|
+
var templateObject_1$h;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Accordions are headers that can be expanded to reveal content or collapsed to hide it.
|
|
216
|
+
* <hr>
|
|
217
|
+
* Used for this:
|
|
218
|
+
- To organize related information into sections
|
|
219
|
+
- To surface information through progressive disclosure
|
|
220
|
+
*/
|
|
221
|
+
var Accordion = function (props) { return jsxRuntime.jsx(reactAccordions.Accordion, __assign({}, props)); };
|
|
222
|
+
Accordion.Section = reactAccordions.Accordion.Section;
|
|
223
|
+
Accordion.Header = reactAccordions.Accordion.Header;
|
|
224
|
+
Accordion.Label = reactAccordions.Accordion.Label;
|
|
225
|
+
Accordion.Panel = reactAccordions.Accordion.Panel;
|
|
52
226
|
|
|
53
|
-
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$
|
|
227
|
+
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
228
|
+
return "\n background: ".concat(props.backgroundColor || theme.gradients.dark, ";\n ");
|
|
229
|
+
});
|
|
54
230
|
/**
|
|
55
231
|
* An Avatar is a visual way to represent a person or brand in the product. They can display text, icons, or images.
|
|
56
232
|
* <hr>
|
|
57
233
|
* Used for this:
|
|
58
234
|
- To visually represent a person, brand, or product
|
|
59
235
|
*/
|
|
60
|
-
var Avatar = function (props) {
|
|
236
|
+
var Avatar = function (props) {
|
|
237
|
+
var fixedBadge = props.badge && props.badge > 9 ? "9+" : props.badge;
|
|
238
|
+
return jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge }));
|
|
239
|
+
};
|
|
61
240
|
Avatar.Text = UgAvatar.Text;
|
|
62
|
-
var templateObject_1$
|
|
241
|
+
var templateObject_1$g;
|
|
63
242
|
|
|
64
243
|
/**
|
|
65
244
|
* Breadcrumbs mark and communicate a user’s location in the product.
|
|
@@ -70,7 +249,17 @@ var templateObject_1$2;
|
|
|
70
249
|
*/
|
|
71
250
|
var Breadcrumb = function (props) { return jsxRuntime.jsx(reactBreadcrumbs.Breadcrumb, __assign({}, props)); };
|
|
72
251
|
|
|
73
|
-
|
|
252
|
+
/**
|
|
253
|
+
* The Anchor is a link that helps users navigate from one location to another.
|
|
254
|
+
* <hr>
|
|
255
|
+
* Used for this:
|
|
256
|
+
- To navigate from one page to another
|
|
257
|
+
- To navigate within a page
|
|
258
|
+
- To display links alongside text
|
|
259
|
+
*/
|
|
260
|
+
var Anchor = function (props) { return jsxRuntime.jsx(reactButtons.Anchor, __assign({}, props)); };
|
|
261
|
+
|
|
262
|
+
var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([""], [""])));
|
|
74
263
|
/**
|
|
75
264
|
* Buttons let users take action quickly.
|
|
76
265
|
* Use a Button to enable actions or decisions that are important to a user’s workflow.
|
|
@@ -82,17 +271,7 @@ var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$
|
|
|
82
271
|
var Button = function (props) { return jsxRuntime.jsx(UgButton, __assign({}, props)); };
|
|
83
272
|
Button.StartIcon = UgButton.StartIcon;
|
|
84
273
|
Button.EndIcon = UgButton.EndIcon;
|
|
85
|
-
var templateObject_1$
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The Anchor is a link that helps users navigate from one location to another.
|
|
89
|
-
* <hr>
|
|
90
|
-
* Used for this:
|
|
91
|
-
- To navigate from one page to another
|
|
92
|
-
- To navigate within a page
|
|
93
|
-
- To display links alongside text
|
|
94
|
-
*/
|
|
95
|
-
var Anchor = function (props) { return jsxRuntime.jsx(reactButtons.Anchor, __assign({}, props)); };
|
|
274
|
+
var templateObject_1$f;
|
|
96
275
|
|
|
97
276
|
/**
|
|
98
277
|
A Button group lets users make a selection from a set of options.
|
|
@@ -122,7 +301,157 @@ Used for this:
|
|
|
122
301
|
**/
|
|
123
302
|
var SplitButton = function (props) { return (jsxRuntime.jsx(reactButtons.SplitButton, __assign({}, props))); };
|
|
124
303
|
|
|
125
|
-
|
|
304
|
+
/**
|
|
305
|
+
* A Card is a container that groups related content.
|
|
306
|
+
* <hr>
|
|
307
|
+
* Used for this:
|
|
308
|
+
- To group related content
|
|
309
|
+
*/
|
|
310
|
+
var Card = function (props) { return jsxRuntime.jsx(reactNotifications.Well, __assign({}, props)); };
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Title is a basic component used to display a title. Often used in card headers.
|
|
314
|
+
*/
|
|
315
|
+
var Close = function (props) { return jsxRuntime.jsx(reactNotifications.Close, __assign({}, props)); };
|
|
316
|
+
|
|
317
|
+
var UgField$1 = styled__default["default"](reactDropdowns.Field)(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([""], [""])));
|
|
318
|
+
var Field$1 = function (props) { return jsxRuntime.jsx(UgField$1, __assign({}, props)); };
|
|
319
|
+
var templateObject_1$e;
|
|
320
|
+
|
|
321
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
322
|
+
__proto__: null,
|
|
323
|
+
Field: Field$1
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([""], [""])));
|
|
327
|
+
var Item = function (props) { return jsxRuntime.jsx(UgItem, __assign({}, props)); };
|
|
328
|
+
var templateObject_1$d;
|
|
329
|
+
|
|
330
|
+
var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$c || (templateObject_1$c = __makeTemplateObject([""], [""])));
|
|
331
|
+
/**
|
|
332
|
+
* A Menu is a wrapper for items elements
|
|
333
|
+
**/
|
|
334
|
+
var Menu = function (props) { return jsxRuntime.jsx(UgMenu, __assign({}, props)); };
|
|
335
|
+
var templateObject_1$c;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Multiselect lets users select multiple items from a list. Options are dynamically filtered as a user types in the input field and their selections appear as tags in the input field.
|
|
339
|
+
* <hr>
|
|
340
|
+
* Used for this:
|
|
341
|
+
- To choose multiple items from a list of options
|
|
342
|
+
- To filter through a set of data by typing
|
|
343
|
+
*/
|
|
344
|
+
var Multiselect = function (props) { return (jsxRuntime.jsx(reactDropdowns.Multiselect, __assign({}, props))); };
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Select allows a user to pick one option from a list. This helps simplify the UI when space is limited
|
|
348
|
+
* <hr>
|
|
349
|
+
* Used for this:
|
|
350
|
+
- To make a selection from a list of options
|
|
351
|
+
* Not for this:
|
|
352
|
+
- To filter a large list of options, use Autocomplete instead
|
|
353
|
+
- To make multiple selections from a list, use Multiselect instead
|
|
354
|
+
- To select from a list on mobile, use a native Select instead
|
|
355
|
+
*/
|
|
356
|
+
var Select = function (props) { return jsxRuntime.jsx(reactDropdowns.Select, __assign({}, props)); };
|
|
357
|
+
var Dropdown = function (props) { return jsxRuntime.jsx(reactDropdowns.Dropdown, __assign({}, props)); };
|
|
358
|
+
var Message = function (props) { return jsxRuntime.jsx(reactDropdowns.Message, __assign({}, props)); };
|
|
359
|
+
|
|
360
|
+
var UgCheckbox = styled__default["default"](reactForms.Checkbox)(templateObject_1$b || (templateObject_1$b = __makeTemplateObject([""], [""])));
|
|
361
|
+
/**
|
|
362
|
+
* A Checkbox lets users select and unselect options from a list.
|
|
363
|
+
* <hr>
|
|
364
|
+
* Used for this:
|
|
365
|
+
* - To let users compare options from a list and select all, any, or none of those items
|
|
366
|
+
* - To turn a single option on or off
|
|
367
|
+
* Not for this:
|
|
368
|
+
* - To give the user a mutually exclusive choice, use the Radio component instead
|
|
369
|
+
* - To let users activate an option that takes effect immediately, use a Toggle instead
|
|
370
|
+
**/
|
|
371
|
+
var Checkbox = function (props) { return jsxRuntime.jsx(UgCheckbox, __assign({}, props)); };
|
|
372
|
+
var templateObject_1$b;
|
|
373
|
+
|
|
374
|
+
var UgField = styled__default["default"](reactForms.Field)(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([""], [""])));
|
|
375
|
+
/**
|
|
376
|
+
* A Field is a wrapper for input elements
|
|
377
|
+
**/
|
|
378
|
+
var Field = function (props) { return jsxRuntime.jsx(UgField, __assign({}, props)); };
|
|
379
|
+
var templateObject_1$a;
|
|
380
|
+
|
|
381
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
382
|
+
__proto__: null,
|
|
383
|
+
Field: Field
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
var UgInput = styled__default["default"](reactForms.Input)(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([""], [""])));
|
|
387
|
+
/**
|
|
388
|
+
* An Input lets users enter text into a field.
|
|
389
|
+
* <hr>
|
|
390
|
+
* Used for this:
|
|
391
|
+
* - To let the user enter data into a field
|
|
392
|
+
* - To enter multiline text, use a Textarea
|
|
393
|
+
**/
|
|
394
|
+
var Input = function (props) { return jsxRuntime.jsx(UgInput, __assign({}, props)); };
|
|
395
|
+
var templateObject_1$9;
|
|
396
|
+
|
|
397
|
+
var UgRadio = styled__default["default"](reactForms.Radio)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""])));
|
|
398
|
+
/**
|
|
399
|
+
* Radio buttons let users choose a single option among two or more mutually exclusive options.
|
|
400
|
+
* <hr>
|
|
401
|
+
* Used for this:
|
|
402
|
+
* - For choices or options that can't occur at the same time
|
|
403
|
+
* - To indicate that two or more options are mutually exclusive
|
|
404
|
+
* Not for this:
|
|
405
|
+
* - If the user can choose more than one option at once, use a Checkbox instead
|
|
406
|
+
* - To select from a long list of options, use Select instead
|
|
407
|
+
**/
|
|
408
|
+
var Radio = function (props) { return jsxRuntime.jsx(UgRadio, __assign({}, props)); };
|
|
409
|
+
var templateObject_1$8;
|
|
410
|
+
|
|
411
|
+
var UgTextarea = styled__default["default"](reactForms.Textarea)(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([""], [""])));
|
|
412
|
+
/**
|
|
413
|
+
* A Textarea is a form control for multi-line text.
|
|
414
|
+
* <hr>
|
|
415
|
+
* Used for this:
|
|
416
|
+
* - To enter multi-line text
|
|
417
|
+
**/
|
|
418
|
+
var Textarea = function (props) { return jsxRuntime.jsx(UgTextarea, __assign({}, props)); };
|
|
419
|
+
var templateObject_1$7;
|
|
420
|
+
|
|
421
|
+
var UgToggle = styled__default["default"](reactForms.Toggle)(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([""], [""])));
|
|
422
|
+
/**
|
|
423
|
+
* A Toggle lets users turn something on and off like a light switch. Unlike a Checkbox, which is used for selection, a Toggle is used for activation.
|
|
424
|
+
* <hr>
|
|
425
|
+
* Used for this:
|
|
426
|
+
* - To see or compare the results of a settings change
|
|
427
|
+
* - To activate a mode (such as "dark mode") which takes immediate effect
|
|
428
|
+
* Not for this:
|
|
429
|
+
* - To let users select from a list of settings, use Checkboxes instead
|
|
430
|
+
**/
|
|
431
|
+
var Toggle = function (props) { return jsxRuntime.jsx(UgToggle, __assign({}, props)); };
|
|
432
|
+
var templateObject_1$6;
|
|
433
|
+
|
|
434
|
+
var Col = function (props) { return jsxRuntime.jsx(reactGrid.Col, __assign({}, props)); };
|
|
435
|
+
|
|
436
|
+
var Row = function (props) { return jsxRuntime.jsx(reactGrid.Row, __assign({}, props)); };
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* The Grid component is a framework for building modular layouts.
|
|
440
|
+
* <hr>
|
|
441
|
+
* Used for this:
|
|
442
|
+
- To structure the layout of a page
|
|
443
|
+
*/
|
|
444
|
+
var Grid = function (props) { return jsxRuntime.jsx(reactGrid.Grid, __assign({}, props)); };
|
|
445
|
+
|
|
446
|
+
var UgLabel = styled__default["default"](reactForms.Label)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([""], [""])));
|
|
447
|
+
/**
|
|
448
|
+
* A Label is used to specify a title for an input.
|
|
449
|
+
* <hr>
|
|
450
|
+
**/
|
|
451
|
+
var Label = function (props) { return jsxRuntime.jsx(UgLabel, __assign({}, props)); };
|
|
452
|
+
var templateObject_1$5;
|
|
453
|
+
|
|
454
|
+
var UgSpinner = styled__default["default"](reactLoaders.Spinner)(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([""], [""])));
|
|
126
455
|
/**
|
|
127
456
|
* Breadcrumbs mark and communicate a user’s location in the product.
|
|
128
457
|
* <hr>
|
|
@@ -131,15 +460,292 @@ var UgSpinner = styled__default["default"](reactLoaders.Spinner)(templateObject_
|
|
|
131
460
|
- To provide a quick way to navigate to ancestor pages
|
|
132
461
|
*/
|
|
133
462
|
var Spinner = function (props) { return jsxRuntime.jsx(UgSpinner, __assign({}, props)); };
|
|
463
|
+
var templateObject_1$4;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Title is a basic component used to display a title. Often used in card headers.
|
|
467
|
+
*/
|
|
468
|
+
var Title = function (props) { return jsxRuntime.jsx(reactNotifications.Title, __assign({}, props)); };
|
|
469
|
+
|
|
470
|
+
var _g;
|
|
471
|
+
|
|
472
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
473
|
+
|
|
474
|
+
var SvgLogo = function SvgLogo(props) {
|
|
475
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
476
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
477
|
+
width: 189.135,
|
|
478
|
+
height: 30.792,
|
|
479
|
+
viewBox: "0 0 189.135 30.792"
|
|
480
|
+
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
481
|
+
id: "Group_2",
|
|
482
|
+
"data-name": "Group 2",
|
|
483
|
+
transform: "translate(-356.09 231.603)"
|
|
484
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
485
|
+
id: "Path_10",
|
|
486
|
+
"data-name": "Path 10",
|
|
487
|
+
d: "M531.1-170.478v-10.108c0-2.8-1.5-4.406-4.12-4.406-2.466,0-3.881,1.606-3.881,4.406v10.108h-3.525v-10.108c0-4.73,2.847-7.669,7.43-7.669,4.629,0,7.62,3.01,7.62,7.669v10.108Z",
|
|
488
|
+
transform: "translate(-116.123 -30.79)",
|
|
489
|
+
fill: "#003a57"
|
|
490
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
491
|
+
id: "Path_11",
|
|
492
|
+
"data-name": "Path 11",
|
|
493
|
+
d: "M617.594-170.308c-6.8,0-9.223-4.6-9.223-8.906,0-6.523,4.632-9.443,9.223-9.443a9.179,9.179,0,0,1,6.482,2.667l.141.139-2.276,2.331-.143-.136a6.385,6.385,0,0,0-4.2-1.651c-3.343,0-5.678,2.506-5.678,6.093,0,2.662,1.492,5.508,5.678,5.508a5.452,5.452,0,0,0,3.654-1.263V-177.7h-4.365v-3.277h7.928v7.212l-.261.314A8.759,8.759,0,0,1,617.594-170.308Z",
|
|
494
|
+
transform: "translate(-179.191 -30.504)",
|
|
495
|
+
fill: "#003a57"
|
|
496
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
497
|
+
id: "Path_12",
|
|
498
|
+
"data-name": "Path 12",
|
|
499
|
+
d: "M710.01-170.478c-4.629,0-7.621-3.01-7.621-7.669v-10.107h3.525v10.107c0,2.8,1.5,4.407,4.119,4.407,2.467,0,3.881-1.606,3.881-4.407v-10.107h3.525v10.107C717.44-173.416,714.592-170.478,710.01-170.478Z",
|
|
500
|
+
transform: "translate(-245.97 -30.79)",
|
|
501
|
+
fill: "#003a57"
|
|
502
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
503
|
+
id: "Path_13",
|
|
504
|
+
"data-name": "Path 13",
|
|
505
|
+
d: "M791.18-170.215v-17.669H805.1v3.453h-10.4v3.9h8.7v3.334h-8.7v3.484h10.4v3.5Z",
|
|
506
|
+
transform: "translate(-309.038 -31.053)",
|
|
507
|
+
fill: "#003a57"
|
|
508
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
509
|
+
id: "Path_14",
|
|
510
|
+
"data-name": "Path 14",
|
|
511
|
+
d: "M880.688-170.132c-3.866,0-6.307-1.383-7.463-4.229l-.069-.169,2.981-1.545.082.2c.636,1.58,2.324,2.524,4.516,2.524.854,0,3.642-.166,3.642-2.306,0-1.254-1.206-1.993-3.687-2.26-5.94-.706-6.741-3.054-6.741-5.258,0-3.465,3.347-5.042,6.665-5.067,3.311,0,5.642,1.186,6.743,3.429l.086.176-2.846,1.463-.1-.16a4.623,4.623,0,0,0-3.79-1.764c-2.011,0-3.26.774-3.26,2.02,0,1.228,1.417,1.648,3.546,1.9,3.587.442,6.905,1.417,6.905,5.52C887.9-171.582,884.176-170.132,880.688-170.132Z",
|
|
512
|
+
transform: "translate(-367.264 -30.802)",
|
|
513
|
+
fill: "#003a57"
|
|
514
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
515
|
+
id: "Path_15",
|
|
516
|
+
"data-name": "Path 15",
|
|
517
|
+
d: "M965.594-169.8c-3.862,0-6.3-1.382-7.455-4.225l-.068-.169,2.978-1.543.082.2c.636,1.579,2.322,2.521,4.511,2.521.854,0,3.639-.166,3.639-2.3,0-1.253-1.2-1.991-3.684-2.257-5.933-.705-6.733-3.051-6.733-5.252,0-3.461,3.344-5.036,6.657-5.062,3.307,0,5.636,1.184,6.736,3.425l.086.176-2.843,1.461-.1-.16a4.619,4.619,0,0,0-3.786-1.762c-2.009,0-3.257.773-3.257,2.018,0,1.227,1.416,1.647,3.543,1.9,3.583.442,6.9,1.416,6.9,5.514C972.8-171.253,969.079-169.8,965.594-169.8Z",
|
|
518
|
+
transform: "translate(-427.577 -31.049)",
|
|
519
|
+
fill: "#003a57"
|
|
520
|
+
}), /*#__PURE__*/React__namespace.createElement("g", {
|
|
521
|
+
id: "Group_1",
|
|
522
|
+
"data-name": "Group 1",
|
|
523
|
+
transform: "translate(356.09 -231.603)"
|
|
524
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
525
|
+
id: "Path_16",
|
|
526
|
+
"data-name": "Path 16",
|
|
527
|
+
d: "M441.7-157.552v1.74h-.013c-.149,2.52-1.542,3.954-3.874,3.954a3.812,3.812,0,0,1-4.112-3.954h-.012v-1.74h-3.525v1.74h0v.023h0c.2,4.391,3.148,7.2,7.624,7.2,4.434,0,7.245-2.745,7.434-7.2h0v-1.762Z",
|
|
528
|
+
transform: "translate(-408.704 179.006)",
|
|
529
|
+
fill: "#003a57"
|
|
530
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
531
|
+
id: "Rectangle_55",
|
|
532
|
+
"data-name": "Rectangle 55",
|
|
533
|
+
width: 3.535,
|
|
534
|
+
height: 3.535,
|
|
535
|
+
transform: "translate(21.459 12.573)",
|
|
536
|
+
fill: "#54c38a"
|
|
537
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
538
|
+
id: "Rectangle_56",
|
|
539
|
+
"data-name": "Rectangle 56",
|
|
540
|
+
width: 3.585,
|
|
541
|
+
height: 3.585,
|
|
542
|
+
transform: "translate(32.908 12.573)",
|
|
543
|
+
fill: "#003a57"
|
|
544
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
545
|
+
id: "Rectangle_57",
|
|
546
|
+
"data-name": "Rectangle 57",
|
|
547
|
+
width: 3.535,
|
|
548
|
+
height: 3.535,
|
|
549
|
+
transform: "translate(15.427 3.989) rotate(90)",
|
|
550
|
+
fill: "#b2c4cd"
|
|
551
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
552
|
+
id: "Rectangle_58",
|
|
553
|
+
"data-name": "Rectangle 58",
|
|
554
|
+
width: 3.535,
|
|
555
|
+
height: 3.535,
|
|
556
|
+
transform: "translate(20.618 8.614) rotate(90)",
|
|
557
|
+
fill: "#809cab"
|
|
558
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
559
|
+
id: "Rectangle_59",
|
|
560
|
+
"data-name": "Rectangle 59",
|
|
561
|
+
width: 3.535,
|
|
562
|
+
height: 3.535,
|
|
563
|
+
transform: "translate(8.944 7.179) rotate(90)",
|
|
564
|
+
fill: "#cceddc"
|
|
565
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
566
|
+
id: "Rectangle_60",
|
|
567
|
+
"data-name": "Rectangle 60",
|
|
568
|
+
width: 3.535,
|
|
569
|
+
height: 3.535,
|
|
570
|
+
transform: "translate(3.535 0) rotate(90)",
|
|
571
|
+
fill: "#ccd8dd"
|
|
572
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
573
|
+
id: "Rectangle_61",
|
|
574
|
+
"data-name": "Rectangle 61",
|
|
575
|
+
width: 3.535,
|
|
576
|
+
height: 3.535,
|
|
577
|
+
transform: "translate(10.631 23.196) rotate(90)",
|
|
578
|
+
fill: "#e5ebee"
|
|
579
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
580
|
+
id: "Rectangle_62",
|
|
581
|
+
"data-name": "Rectangle 62",
|
|
582
|
+
width: 3.535,
|
|
583
|
+
height: 3.535,
|
|
584
|
+
transform: "translate(16.831 16.898) rotate(90)",
|
|
585
|
+
fill: "#a9e1c5"
|
|
586
|
+
})))));
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Login Form
|
|
591
|
+
* <hr>
|
|
592
|
+
* Used for this:
|
|
593
|
+
- Login user to the application
|
|
594
|
+
*/
|
|
595
|
+
var LoginForm = function (props) { return (jsxRuntime.jsx(Grid, { children: jsxRuntime.jsx(Row, __assign({ justifyContent: "center", alignItems: "center" }, { children: jsxRuntime.jsxs(Col, __assign({ size: 4, xs: 12, sm: 12 }, { children: [jsxRuntime.jsx(SvgLogo, { style: { marginBottom: theme.space.md } }), jsxRuntime.jsx(formik.Formik, __assign({}, props, { initialValues: props.initialValues, onSubmit: props.onSubmit, validate: props.validate }, { children: function (_a) {
|
|
596
|
+
var values = _a.values, errors = _a.errors, touched = _a.touched, handleChange = _a.handleChange, handleSubmit = _a.handleSubmit, isSubmitting = _a.isSubmitting;
|
|
597
|
+
return (jsxRuntime.jsx(formik.Form, __assign({ onSubmit: handleSubmit }, { children: jsxRuntime.jsxs(Card, __assign({ isFloating: true }, { children: [jsxRuntime.jsx(Title, __assign({ style: { textAlign: "center", margin: theme.space.md } }, { children: "Log In" })), jsxRuntime.jsxs(Field, { children: [jsxRuntime.jsx(Input, __assign({ type: "email", name: "email", placeholder: "Email Address", onChange: handleChange, value: values.email }, touched && values.email ? touched.email = true : touched.email = false, errors && errors.email ? { validation: "error" } : (touched.email ? { validation: "success" } : ""))), (errors.email) ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.email }))) : ""] }), jsxRuntime.jsxs(Field, __assign({ style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Input, __assign({ type: "password", name: "password", placeholder: "Password", onChange: handleChange, value: values.password }, touched && values.password ? touched.password = true : touched.password = false, errors && errors.password ? { validation: "error" } : (touched.password ? { validation: "success" } : ""))), (errors.password) ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.password }))) : ""] })), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Button, __assign({ type: "submit", isStretched: true, disabled: (Object.keys(errors).length) ? true : (isSubmitting) ? true : false, isPrimary: true }, { children: "Log in" }))] })) })));
|
|
598
|
+
} }))] })) })) })); };
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* A Notification is a passive status update that keeps users informed of system progress.
|
|
602
|
+
* <hr>
|
|
603
|
+
* Used for this:
|
|
604
|
+
- For a passive status update about user or system activity
|
|
605
|
+
*/
|
|
606
|
+
var Notification = function (props) { return (jsxRuntime.jsx(reactNotifications.Notification, __assign({}, props))); };
|
|
607
|
+
//Extras
|
|
608
|
+
var ToastProvider = function (props) { return jsxRuntime.jsx(reactNotifications.ToastProvider, __assign({}, props)); };
|
|
609
|
+
var useToast = reactNotifications.useToast;
|
|
610
|
+
|
|
611
|
+
var UgTable = styled__default["default"](reactTables.Table)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([""], [""])));
|
|
612
|
+
/**
|
|
613
|
+
* A Table organizes data into columns and rows. Tables make it easier for users to compare and analyze information.
|
|
614
|
+
|
|
615
|
+
* Used for this:
|
|
616
|
+
- To organize and display read-only data with logical relationships
|
|
617
|
+
|
|
618
|
+
* Not for this:
|
|
619
|
+
- To structure content on a page, use the Grid component instead
|
|
620
|
+
*/
|
|
621
|
+
var Table = function (props) { return jsxRuntime.jsx(UgTable, __assign({}, props)); };
|
|
622
|
+
// Extras
|
|
623
|
+
var Head = function (props) { return jsxRuntime.jsx(reactTables.Head, __assign({}, props)); };
|
|
624
|
+
var HeaderRow = function (props) { return jsxRuntime.jsx(reactTables.HeaderRow, __assign({}, props)); };
|
|
625
|
+
var HeaderCell = function (props) { return jsxRuntime.jsx(reactTables.HeaderCell, __assign({}, props)); };
|
|
626
|
+
var Body = function (props) { return jsxRuntime.jsx(reactTables.Body, __assign({}, props)); };
|
|
627
|
+
var Cell = function (props) { return jsxRuntime.jsx(reactTables.Cell, __assign({}, props)); };
|
|
628
|
+
var GroupRow = function (props) { return jsxRuntime.jsx(reactTables.GroupRow, __assign({}, props)); };
|
|
629
|
+
var Caption = function (props) { return jsxRuntime.jsx(reactTables.Caption, __assign({}, props)); };
|
|
630
|
+
var templateObject_1$3;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* A Trigger is a wrapper for input elements
|
|
634
|
+
**/
|
|
635
|
+
var Trigger = function (props) { return jsxRuntime.jsx(reactDropdowns.Trigger, __assign({}, props)); };
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Use Blockquote to represent a body of text that is from another source.
|
|
639
|
+
*/
|
|
640
|
+
var Blockquote = function (props) { return jsxRuntime.jsx(reactTypography.Blockquote, __assign({}, props)); };
|
|
641
|
+
|
|
642
|
+
var UgCode = styled__default["default"](reactTypography.Code)(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject([""], [""])));
|
|
643
|
+
/**
|
|
644
|
+
* Use Code to style and format inline fragments of computer code.
|
|
645
|
+
*/
|
|
646
|
+
var Code = function (props) { return jsxRuntime.jsx(UgCode, __assign({}, props)); };
|
|
647
|
+
var templateObject_1$2;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Use Ellipsis to automatically provide text content with a native title attribute and text-overflow styling.
|
|
651
|
+
*/
|
|
652
|
+
var Ellipsis = function (props) { return jsxRuntime.jsx(reactTypography.Ellipsis, __assign({}, props)); };
|
|
653
|
+
|
|
654
|
+
var UgOrderedList = styled__default["default"](reactTypography.OrderedList)(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject([""], [""])));
|
|
655
|
+
var UgUnorderedList = styled__default["default"](reactTypography.UnorderedList)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
|
|
656
|
+
/**
|
|
657
|
+
* Use Lists to style and format ordered and unordered lists.
|
|
658
|
+
* <hr>
|
|
659
|
+
* Use Lists to style and format ordered (`<ol>`) and unordered (`<ul>`) lists.
|
|
660
|
+
*/
|
|
661
|
+
var OrderedList = function (props) { return jsxRuntime.jsx(UgOrderedList, __assign({}, props)); };
|
|
662
|
+
OrderedList.Item = UgOrderedList.Item;
|
|
663
|
+
var UnorderedList = function (props) { return jsxRuntime.jsx(UgUnorderedList, __assign({}, props)); };
|
|
664
|
+
UnorderedList.Item = UgUnorderedList.Item;
|
|
665
|
+
var templateObject_1$1, templateObject_2;
|
|
666
|
+
|
|
667
|
+
var UgParagraph = styled__default["default"](reactTypography.Paragraph)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
|
|
668
|
+
/**
|
|
669
|
+
* Use Paragraph to render blocks of text with Garden styling.
|
|
670
|
+
*/
|
|
671
|
+
var Paragraph = function (props) { return jsxRuntime.jsx(UgParagraph, __assign({}, props)); };
|
|
134
672
|
var templateObject_1;
|
|
135
673
|
|
|
674
|
+
/**
|
|
675
|
+
* Use Span to style and format inline text elements.
|
|
676
|
+
* <hr>
|
|
677
|
+
* Used for this:
|
|
678
|
+
- To apply styles to short strings of text
|
|
679
|
+
- To include icons inline with text
|
|
680
|
+
* Not for this:
|
|
681
|
+
- To style an entire block of text, use Paragraph instead
|
|
682
|
+
*/
|
|
683
|
+
var Span = function (props) { return jsxRuntime.jsx(reactTypography.Span, __assign({}, props)); };
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
|
|
687
|
+
*/
|
|
688
|
+
var SM = function (props) { return jsxRuntime.jsx(reactTypography.SM, __assign({}, props)); };
|
|
689
|
+
var MD = function (props) { return jsxRuntime.jsx(reactTypography.MD, __assign({}, props)); };
|
|
690
|
+
var LG = function (props) { return jsxRuntime.jsx(reactTypography.LG, __assign({}, props)); };
|
|
691
|
+
var XL = function (props) { return jsxRuntime.jsx(reactTypography.XL, __assign({}, props)); };
|
|
692
|
+
var XXL = function (props) { return jsxRuntime.jsx(reactTypography.XXL, __assign({}, props)); };
|
|
693
|
+
var XXXL = function (props) { return jsxRuntime.jsx(reactTypography.XXXL, __assign({}, props)); };
|
|
694
|
+
|
|
695
|
+
exports.Accordion = Accordion;
|
|
136
696
|
exports.Anchor = Anchor;
|
|
137
697
|
exports.Avatar = Avatar;
|
|
698
|
+
exports.Blockquote = Blockquote;
|
|
138
699
|
exports.Breadcrumb = Breadcrumb;
|
|
139
700
|
exports.Button = Button;
|
|
140
701
|
exports.ButtonGroup = ButtonGroup;
|
|
702
|
+
exports.Caption = Caption;
|
|
703
|
+
exports.Card = Card;
|
|
704
|
+
exports.Checkbox = Checkbox;
|
|
705
|
+
exports.Close = Close;
|
|
706
|
+
exports.Code = Code;
|
|
707
|
+
exports.Col = Col;
|
|
708
|
+
exports.Dropdown = Dropdown;
|
|
709
|
+
exports.DropdownField = index$1;
|
|
710
|
+
exports.Ellipsis = Ellipsis;
|
|
711
|
+
exports.FormField = index;
|
|
141
712
|
exports.GlobalStyle = GlobalStyle;
|
|
713
|
+
exports.Grid = Grid;
|
|
714
|
+
exports.GroupRow = GroupRow;
|
|
715
|
+
exports.HeaderCell = HeaderCell;
|
|
716
|
+
exports.HeaderRow = HeaderRow;
|
|
142
717
|
exports.IconButton = IconButton;
|
|
718
|
+
exports.Input = Input;
|
|
719
|
+
exports.Item = Item;
|
|
720
|
+
exports.LG = LG;
|
|
721
|
+
exports.Label = Label;
|
|
722
|
+
exports.LoginForm = LoginForm;
|
|
723
|
+
exports.MD = MD;
|
|
724
|
+
exports.Menu = Menu;
|
|
725
|
+
exports.Message = Message;
|
|
726
|
+
exports.Multiselect = Multiselect;
|
|
727
|
+
exports.Notification = Notification;
|
|
728
|
+
exports.OrderedList = OrderedList;
|
|
729
|
+
exports.Paragraph = Paragraph;
|
|
730
|
+
exports.Radio = Radio;
|
|
731
|
+
exports.Row = Row;
|
|
732
|
+
exports.SM = SM;
|
|
733
|
+
exports.Select = Select;
|
|
734
|
+
exports.Span = Span;
|
|
143
735
|
exports.Spinner = Spinner;
|
|
144
736
|
exports.SplitButton = SplitButton;
|
|
737
|
+
exports.Table = Table;
|
|
738
|
+
exports.TableCell = Cell;
|
|
739
|
+
exports.TableHead = Head;
|
|
740
|
+
exports.TableRow = Body;
|
|
741
|
+
exports.Textarea = Textarea;
|
|
742
|
+
exports.Title = Title;
|
|
743
|
+
exports.ToastProvider = ToastProvider;
|
|
744
|
+
exports.Toggle = Toggle;
|
|
745
|
+
exports.Trigger = Trigger;
|
|
746
|
+
exports.UnorderedList = UnorderedList;
|
|
747
|
+
exports.XL = XL;
|
|
748
|
+
exports.XXL = XXL;
|
|
749
|
+
exports.XXXL = XXXL;
|
|
145
750
|
exports.theme = theme;
|
|
751
|
+
exports.useToast = useToast;
|