@appquality/unguess-design-system 2.8.19 → 2.8.22

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 CHANGED
@@ -1,3 +1,39 @@
1
+ # v2.8.22 (Fri Apr 15 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - feat(app-header): add onclick to be used for logo item click [#37](https://github.com/AppQuality/unguess-design-system/pull/37) ([@marcbon](https://github.com/marcbon))
6
+
7
+ #### Authors: 1
8
+
9
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
10
+
11
+ ---
12
+
13
+ # v2.8.21 (Fri Apr 15 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - fix(dropdown-menu): set auto width for dropdown menu list detached fr… [#36](https://github.com/AppQuality/unguess-design-system/pull/36) ([@marcbon](https://github.com/marcbon))
18
+
19
+ #### Authors: 1
20
+
21
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
22
+
23
+ ---
24
+
25
+ # v2.8.20 (Fri Apr 15 2022)
26
+
27
+ #### 🐛 Bug Fix
28
+
29
+ - fix(campaign-cards): add tag max-width [#35](https://github.com/AppQuality/unguess-design-system/pull/35) ([@marcbon](https://github.com/marcbon))
30
+
31
+ #### Authors: 1
32
+
33
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
34
+
35
+ ---
36
+
1
37
  # v2.8.19 (Thu Apr 14 2022)
2
38
 
3
39
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -594,7 +594,7 @@ var getTypeData = function (type) {
594
594
  }
595
595
  };
596
596
  var Wrapper = styled__default["default"](Card)(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n border-radius: ", ";\n padding: 1rem;\n border: 1px solid ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &:hover {\n box-shadow: ", ";\n }\n"], ["\n border-radius: ", ";\n padding: 1rem;\n border: 1px solid ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &:hover {\n box-shadow: ", ";\n }\n"])), theme.borderRadii.lg, theme.palette.grey["200"], theme.shadows.boxShadow(theme));
597
- var StyledTag$1 = styled__default["default"](Tag)(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), theme.palette.grey["700"]);
597
+ var StyledTag$1 = styled__default["default"](Tag)(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n color: ", ";\n max-width: 75%;\n"], ["\n color: ", ";\n max-width: 75%;\n"])), theme.palette.grey["700"]);
598
598
  var StyledTagNew = styled__default["default"](Tag)(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n height: ", "px;\n padding: ", "px ", "px;\n color: ", ";\n"], ["\n height: ", "px;\n padding: ", "px ", "px;\n color: ", ";\n"])), function (_a) {
599
599
  var theme = _a.theme;
600
600
  return theme.space.base * 6;
@@ -602,7 +602,7 @@ var StyledTagNew = styled__default["default"](Tag)(templateObject_3$6 || (templa
602
602
  var theme = _a.theme;
603
603
  return theme.space.base * 2;
604
604
  }, theme.palette.white);
605
- var StyledLabel = styled__default["default"](Label)(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n font-size: ", ";\n color: ", "\n"], ["\n font-size: ", ";\n color: ", "\n"])), theme.fontSizes.sm, theme.palette.grey["500"]);
605
+ var StyledLabel = styled__default["default"](Label)(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n font-size: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n color: ", ";\n"])), theme.fontSizes.sm, theme.palette.grey["500"]);
606
606
  var StyledTitleLabel = styled__default["default"](Label)(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n word-wrap: break-word;\n"], ["\n color: ", ";\n font-size: ", ";\n word-wrap: break-word;\n"])), theme.palette.blue["600"], theme.fontSizes.lg);
607
607
  var Divider = styled__default["default"].div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 100%;\n height: 1px;\n margin: ", " 0;\n background-color: ", ";\n"], ["\n width: 100%;\n height: 1px;\n margin: ", " 0;\n background-color: ", ";\n"])), theme.space.lg, theme.palette.grey["300"]);
608
608
  var CardHeader = styled__default["default"].div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n height: ", "px;\n"], ["\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n height: ", "px;\n"])), theme.space.base * 6);
@@ -883,7 +883,7 @@ var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$H
883
883
  var Item = function (props) { return jsxRuntime.jsx(UgItem, __assign({}, props)); };
884
884
  var templateObject_1$H;
885
885
 
886
- var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$G || (templateObject_1$G = __makeTemplateObject([""], [""])));
886
+ var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n width: auto;\n min-width: 100%;\n"], ["\n width: auto;\n min-width: 100%;\n"])));
887
887
  /**
888
888
  * A Menu is a wrapper for items elements
889
889
  **/
@@ -11,8 +11,12 @@ export interface AppHeaderArgs extends HeaderArgs {
11
11
  brand?: BrandItemArgs;
12
12
  /** Set Avatar settings */
13
13
  avatar?: AvatarArgs;
14
+ /** Set the profile modal open flag */
14
15
  isProfileModalOpen?: boolean;
16
+ /** Callback when the Profile Modal is toggled */
15
17
  onProfileModalToggle?: () => void;
16
- /** Toggle Sidebar */
18
+ /** Callback when the Sidebar is toggled */
17
19
  onSidebarMenuToggle?: () => void;
20
+ /** Callback when the Logo Item is clicked */
21
+ onLogoItemClick?: () => void;
18
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.8.19",
3
+ "version": "2.8.22",
4
4
  "dependencies": {
5
5
  "@zendeskgarden/react-accordions": "^8.49.0",
6
6
  "@zendeskgarden/react-avatars": "^8.49.0",