@appquality/unguess-design-system 2.10.15 → 2.10.16
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 +12 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +20 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v2.10.16 (Fri May 06 2022)
|
|
2
|
+
|
|
3
|
+
#### ⚠️ Pushed to `master`
|
|
4
|
+
|
|
5
|
+
- fix(alerts): add missing export ([@marcbon](https://github.com/marcbon))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v2.10.15 (Fri May 06 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -7,10 +7,10 @@ require('@zendeskgarden/css-bedrock');
|
|
|
7
7
|
var reactTheming = require('@zendeskgarden/react-theming');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
var reactAccordions = require('@zendeskgarden/react-accordions');
|
|
10
|
+
var reactNotifications = require('@zendeskgarden/react-notifications');
|
|
10
11
|
var reactAvatars = require('@zendeskgarden/react-avatars');
|
|
11
12
|
var reactBreadcrumbs = require('@zendeskgarden/react-breadcrumbs');
|
|
12
13
|
var reactButtons = require('@zendeskgarden/react-buttons');
|
|
13
|
-
var reactNotifications = require('@zendeskgarden/react-notifications');
|
|
14
14
|
var reactTags = require('@zendeskgarden/react-tags');
|
|
15
15
|
var reactForms = require('@zendeskgarden/react-forms');
|
|
16
16
|
var React = require('react');
|
|
@@ -243,8 +243,8 @@ var components = __assign(__assign({}, reactTheming.DEFAULT_THEME.components), {
|
|
|
243
243
|
|
|
244
244
|
var theme = __assign(__assign({}, reactTheming.DEFAULT_THEME), { colors: __assign(__assign({}, reactTheming.DEFAULT_THEME.colors), { primaryHue: palette.blue[600], warningHue: palette.yellow[600], successHue: palette.teal["M600"], dangerHue: palette.red[400] }), palette: palette, fonts: __assign(__assign({}, reactTheming.DEFAULT_THEME.fonts), { system: '"Poppins",sans-serif,Helvetica,Arial,sans-serif' }), fontWeights: __assign(__assign({}, reactTheming.DEFAULT_THEME.fontWeights), { semibold: 500 }), gradients: gradients, borderRadii: __assign(__assign({}, reactTheming.DEFAULT_THEME.borderRadii), { lg: "8px", xl: "16px", xxl: "32px" }), components: components, shadows: __assign(__assign({}, reactTheming.DEFAULT_THEME.shadows), { boxShadow: boxShadow }) });
|
|
245
245
|
|
|
246
|
-
var GlobalStyle = styled.createGlobalStyle(templateObject_1$
|
|
247
|
-
var templateObject_1$
|
|
246
|
+
var GlobalStyle = styled.createGlobalStyle(templateObject_1$V || (templateObject_1$V = __makeTemplateObject(["\n ::-webkit-scrollbar-track:hover {\n border-left: solid 1px ", ";\n border-right: solid 1px ", ";\n }\n\n ::-webkit-scrollbar {\n width: 10px;\n }\n\n ::-webkit-scrollbar-track {\n border: solid 2px transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px ", ";\n border: solid 2px transparent;\n border-radius: 25px;\n }\n\n /* This stuff is for Firefox */\n * {\n scrollbar-color: ", " #FFFFFF;\n scrollbar-width: thin;\n }\n \n body {\n font-family: ", ";\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n\n"], ["\n ::-webkit-scrollbar-track:hover {\n border-left: solid 1px ", ";\n border-right: solid 1px ", ";\n }\n\n ::-webkit-scrollbar {\n width: 10px;\n }\n\n ::-webkit-scrollbar-track {\n border: solid 2px transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px ", ";\n border: solid 2px transparent;\n border-radius: 25px;\n }\n\n /* This stuff is for Firefox */\n * {\n scrollbar-color: ", " #FFFFFF;\n scrollbar-width: thin;\n }\n \n body {\n font-family: ", ";\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n\n"])), theme.palette.grey["200"], theme.palette.grey["200"], theme.palette.blue["200"], theme.palette.blue["200"], theme.fonts.system);
|
|
247
|
+
var templateObject_1$V;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* Accordions are headers that can be expanded to reveal content or collapsed to hide it.
|
|
@@ -259,6 +259,22 @@ Accordion.Header = reactAccordions.Accordion.Header;
|
|
|
259
259
|
Accordion.Label = reactAccordions.Accordion.Label;
|
|
260
260
|
Accordion.Panel = reactAccordions.Accordion.Panel;
|
|
261
261
|
|
|
262
|
+
var UgAlert = styled__default["default"](reactNotifications.Alert)(templateObject_1$U || (templateObject_1$U = __makeTemplateObject(["\n background-color: white;\n color: ", ";\n border-width: 2px;\n"], ["\n background-color: white;\n color: ", ";\n border-width: 2px;\n"])), function (_a) {
|
|
263
|
+
var theme = _a.theme;
|
|
264
|
+
return theme.palette.grey[700];
|
|
265
|
+
});
|
|
266
|
+
/**
|
|
267
|
+
* Breadcrumbs mark and communicate a user’s location in the product.
|
|
268
|
+
* <hr>
|
|
269
|
+
* Used for this:
|
|
270
|
+
- To show the user where they are in a nested navigation
|
|
271
|
+
- To provide a quick way to navigate to ancestor pages
|
|
272
|
+
*/
|
|
273
|
+
var Alert = function (props) { return jsxRuntime.jsx(UgAlert, __assign({}, props)); };
|
|
274
|
+
Alert.Title = reactNotifications.Title;
|
|
275
|
+
Alert.Close = reactNotifications.Close;
|
|
276
|
+
var templateObject_1$U;
|
|
277
|
+
|
|
262
278
|
// import useWindowSize from "../../hooks/useWindowSize";
|
|
263
279
|
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
264
280
|
return props.avatarType &&
|
|
@@ -2398,6 +2414,7 @@ Object.defineProperty(exports, 'ModalClose', {
|
|
|
2398
2414
|
get: function () { return reactModals.Close; }
|
|
2399
2415
|
});
|
|
2400
2416
|
exports.Accordion = Accordion;
|
|
2417
|
+
exports.Alert = Alert;
|
|
2401
2418
|
exports.Anchor = Anchor;
|
|
2402
2419
|
exports.AppHeader = AppHeader;
|
|
2403
2420
|
exports.Autocomplete = Autocomplete;
|