@appquality/unguess-design-system 2.12.70 → 2.12.71

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,16 @@
1
+ # v2.12.71 (Thu Feb 09 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Add dropdown header item and separator [#205](https://github.com/AppQuality/unguess-design-system/pull/205) ([@cannarocks](https://github.com/cannarocks))
6
+ - feat(dropdown): export header item and separator (skip ci) [#204](https://github.com/AppQuality/unguess-design-system/pull/204) ([@cannarocks](https://github.com/cannarocks))
7
+
8
+ #### Authors: 1
9
+
10
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
11
+
12
+ ---
13
+
1
14
  # v2.12.70 (Fri Feb 03 2023)
2
15
 
3
16
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -1895,7 +1895,9 @@ const StyledDropdown = styled__default["default"].div `
1895
1895
  }
1896
1896
  `;
1897
1897
  const Dropdown = (props) => (jsxRuntime.jsx(StyledDropdown, { children: jsxRuntime.jsx(reactDropdowns.Dropdown, Object.assign({}, props)) }));
1898
- const Message = (props) => jsxRuntime.jsx(reactDropdowns.Message, Object.assign({}, props));
1898
+ const Message = (props) => jsxRuntime.jsx(reactDropdowns.Message, Object.assign({}, props));
1899
+ Dropdown.HeaderItem = HeaderItem;
1900
+ Dropdown.Separator = Separator;
1899
1901
 
1900
1902
  const StyledAutocomplete = styled__default["default"](Autocomplete) `
1901
1903
  ${(props) => props.hasSelectedItems &&
@@ -4671,7 +4673,7 @@ var SvgInfoFill = function SvgInfoFill(props) {
4671
4673
 
4672
4674
  const StyledButton$2 = styled__default["default"](Button) `
4673
4675
  color: ${(props) => props.theme.palette.grey[800]};
4674
- font-weight: ${(props) => props.theme.fontWeights.bold};
4676
+ font-weight: ${(props) => props.theme.fontWeights.semibold};
4675
4677
  padding-left: 0;
4676
4678
  justify-content: flex-start;
4677
4679
 
@@ -11,6 +11,10 @@ import { SelectArgs, DropdownArgs, MessageArgs } from "./_types";
11
11
  - To select from a list on mobile, use a native Select instead
12
12
  */
13
13
  declare const Select: (props: SelectArgs) => JSX.Element;
14
- declare const Dropdown: (props: PropsWithChildren<DropdownArgs>) => JSX.Element;
14
+ declare const Dropdown: {
15
+ (props: PropsWithChildren<DropdownArgs>): JSX.Element;
16
+ HeaderItem: (props: import("../../navigation/header/header-item/_types").HeaderItemArgs) => JSX.Element;
17
+ Separator: (props: import("react").LiHTMLAttributes<HTMLLIElement>) => JSX.Element;
18
+ };
15
19
  declare const Message: (props: MessageArgs) => JSX.Element;
16
20
  export { Select, Dropdown, Message };
@@ -16,5 +16,9 @@ interface MenuStoryArgs {
16
16
  }
17
17
  export declare const Default: Story<MenuStoryArgs>;
18
18
  export declare const Validation: Story<MenuStoryArgs>;
19
- declare const _default: ComponentMeta<(props: import("react").PropsWithChildren<DropdownArgs>) => JSX.Element>;
19
+ declare const _default: ComponentMeta<{
20
+ (props: import("react").PropsWithChildren<DropdownArgs>): JSX.Element;
21
+ HeaderItem: (props: import("../../navigation/header/header-item/_types").HeaderItemArgs) => JSX.Element;
22
+ Separator: (props: import("react").LiHTMLAttributes<HTMLLIElement>) => JSX.Element;
23
+ }>;
20
24
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.12.70",
3
+ "version": "2.12.71",
4
4
  "dependencies": {
5
5
  "@nivo/bar": "^0.80.0",
6
6
  "@nivo/bullet": "^0.80.0",