@sendoutcards/quantum-design-ui 1.8.6 → 1.8.7

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/index.es.js CHANGED
@@ -21571,14 +21571,9 @@ var StaticNavigation = function (_a) {
21571
21571
  onClick: function () {
21572
21572
  return setIsOpen(!isOpen);
21573
21573
  }
21574
- })), !links && !isMobile && jsx("div", null), jsx(Logo, {
21575
- brand: logo.brand,
21576
- href: logo.href,
21577
- onClick: logo.onClick,
21578
- color: logo.color,
21579
- width: isMobile ? '130px' : '200px',
21580
- secondaryLogo: logo.secondaryLogo
21581
- }), links && !isMobile && jsx(Flex, {
21574
+ })), !links && !isMobile && jsx("div", null), jsx(Logo, _extends({}, logo, {
21575
+ width: logo.width ? logo.width : isMobile ? '130px' : '200px'
21576
+ })), links && !isMobile && jsx(Flex, {
21582
21577
  height: "100%",
21583
21578
  width: "100%",
21584
21579
  alignItems: "center",
@@ -1,6 +1,6 @@
1
1
  import React, { FC } from 'react';
2
2
  import { TextColor, IconType } from "../../exports/atoms";
3
- import { BrandTypes, LogoColorTypes, SecodaryLogo } from "../../exports/molecules";
3
+ import { LogoProps } from "../../exports/molecules";
4
4
  export declare type Target = '_self' | '_blank' | '_parent' | '_top' | undefined;
5
5
  export declare type Link = {
6
6
  title: string;
@@ -21,13 +21,7 @@ export declare type DropdownLink = {
21
21
  linkColumns: LinkColumnType[];
22
22
  };
23
23
  export declare type StaticNavigationProps = {
24
- logo: {
25
- brand: BrandTypes;
26
- color: LogoColorTypes;
27
- href?: string;
28
- onClick?: () => void;
29
- secondaryLogo?: SecodaryLogo;
30
- };
24
+ logo: LogoProps;
31
25
  accountSection?: React.ReactNode;
32
26
  links?: (DropdownLink | Link)[];
33
27
  zIndex?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "UI component library for Quantum Design System",
5
5
  "module": "dist/index.es.js",
6
6
  "jsnext:main": "dist/index.es.js",