@sendoutcards/quantum-design-ui 1.7.23 → 1.7.27

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.
@@ -28,7 +28,7 @@ export declare const concepts: {
28
28
  mediumLight: string;
29
29
  mediumDark: string;
30
30
  dark: string;
31
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
31
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
32
32
  };
33
33
  typography: {
34
34
  imports: {
@@ -13,7 +13,7 @@ export declare const makeResponsive: (property: string, value: HOCValues | CSSVa
13
13
  mediumLight: string;
14
14
  mediumDark: string;
15
15
  dark: string;
16
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
16
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
17
17
  } | {
18
18
  primaryBrand: string;
19
19
  secondaryBrand: string;
@@ -46,7 +46,7 @@ export declare const colors: {
46
46
  mediumLight: string;
47
47
  mediumDark: string;
48
48
  dark: string;
49
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
49
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
50
50
  }, textColors: {
51
51
  primaryBrand: string;
52
52
  secondaryBrand: string;
@@ -1,4 +1,4 @@
1
1
  import { shadows } from "../../theme/tokens/shadows";
2
2
  declare type ShadowConceptKey = keyof typeof shadows;
3
- export declare const computeShadow: (shadow: ShadowConceptKey, color?: string | undefined, reverseOffset?: boolean | undefined) => string;
3
+ export declare const computeShadow: (shadow: ShadowConceptKey | number[], color?: string | undefined, reverseOffset?: boolean | undefined) => string;
4
4
  export {};
@@ -73,7 +73,7 @@ export declare const useEntities: () => {
73
73
  mediumLight: string;
74
74
  mediumDark: string;
75
75
  dark: string;
76
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
76
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
77
77
  };
78
78
  borders: {
79
79
  thin: string;
@@ -220,7 +220,7 @@ export declare const useEntities: () => {
220
220
  fontColor: string;
221
221
  fontFamily: string;
222
222
  };
223
- boxShadow: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
223
+ boxShadow: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
224
224
  borderSize: string;
225
225
  outlinedBackgroundColor: string;
226
226
  fontWeight: number;
@@ -447,6 +447,16 @@ export declare const useEntities: () => {
447
447
  hoverBoxShadow: string;
448
448
  hoverBottomDirectionShadow: string;
449
449
  defaultInset: string;
450
+ tab: {
451
+ dark: {
452
+ backgroundColor: string | undefined;
453
+ arrowColor: string;
454
+ };
455
+ light: {
456
+ backgroundColor: string;
457
+ arrowColor: string | undefined;
458
+ };
459
+ };
450
460
  };
451
461
  sheet: {
452
462
  mobileBorderRadius: string;
@@ -490,4 +500,11 @@ export declare const useEntities: () => {
490
500
  backgroundColor: string;
491
501
  fontColor: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue";
492
502
  }>;
503
+ colorOption: {
504
+ defaults: {
505
+ circleFill: string;
506
+ innerRing: string;
507
+ outerRing: string;
508
+ };
509
+ };
493
510
  };
@@ -0,0 +1 @@
1
+ export declare const useProgressiveImage: (src: string) => string | null;
@@ -17,5 +17,6 @@ export declare type DrawerProps = {
17
17
  overflow?: Overflow;
18
18
  closedValue?: number;
19
19
  tabMode?: 'dark' | 'light';
20
+ shoudHideScroll?: boolean;
20
21
  };
21
22
  export declare const Drawer: FC<DrawerProps>;
@@ -2,6 +2,7 @@ import { DrawerLocation } from './drawer';
2
2
  import { DrawerEntity } from "../../theme/theming/entities";
3
3
  declare const _default: {
4
4
  drawerContainer: (location: DrawerLocation, drawerEntity: DrawerEntity) => import("@emotion/utils").SerializedStyles;
5
+ childContainer: (shouldHideScroll?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
5
6
  drawerTab: (location: DrawerLocation, openValue: number) => import("@emotion/utils").SerializedStyles;
6
7
  };
7
8
  export default _default;
@@ -14,9 +14,6 @@ export declare type ImageProps = {
14
14
  title?: string;
15
15
  borderRadius?: BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>;
16
16
  onClick?: () => void;
17
- lazyLoadOffset?: number | number[];
18
- lazyLoadOverflow?: boolean;
19
- shouldLoadOnce?: boolean;
20
17
  backgroundSize?: Responsive<BackgroundSize> | BackgroundSize;
21
18
  };
22
19
  export declare const Image: FC<ImageProps>;
@@ -6,5 +6,7 @@ export declare type LogoProps = {
6
6
  color: LogoColorTypes;
7
7
  type?: 'fullLogo' | 'icon';
8
8
  width?: string;
9
+ href?: string;
10
+ onClick?: () => void;
9
11
  };
10
12
  export declare const Logo: FC<LogoProps>;
@@ -24,6 +24,8 @@ export declare type StaticNavigationProps = {
24
24
  logo: {
25
25
  brand: BrandTypes;
26
26
  color: LogoColorTypes;
27
+ href?: string;
28
+ onClick?: () => void;
27
29
  };
28
30
  accountSection?: React.ReactNode;
29
31
  links: (DropdownLink | Link)[];
@@ -28,7 +28,7 @@ export declare const concepts: {
28
28
  mediumLight: string;
29
29
  mediumDark: string;
30
30
  dark: string;
31
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
31
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
32
32
  };
33
33
  typography: {
34
34
  imports: {
@@ -171,7 +171,7 @@ declare const hocs: {
171
171
  mediumLight: string;
172
172
  mediumDark: string;
173
173
  dark: string;
174
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
174
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
175
175
  };
176
176
  borders: {
177
177
  thin: string;
@@ -220,7 +220,7 @@ declare const buttons: {
220
220
  fontColor: string;
221
221
  fontFamily: string;
222
222
  };
223
- boxShadow: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
223
+ boxShadow: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
224
224
  borderSize: string;
225
225
  outlinedBackgroundColor: string;
226
226
  fontWeight: number;
@@ -494,6 +494,13 @@ declare const colorPicker: {
494
494
  };
495
495
  declare const sphere: Sphere;
496
496
  declare const widget: Widget;
497
+ declare const colorOption: {
498
+ defaults: {
499
+ circleFill: string;
500
+ innerRing: string;
501
+ outerRing: string;
502
+ };
503
+ };
497
504
  export declare const entities: {
498
505
  mediaQueries: {
499
506
  queries: {
@@ -569,7 +576,7 @@ export declare const entities: {
569
576
  mediumLight: string;
570
577
  mediumDark: string;
571
578
  dark: string;
572
- generate: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
579
+ generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
573
580
  };
574
581
  borders: {
575
582
  thin: string;
@@ -716,7 +723,7 @@ export declare const entities: {
716
723
  fontColor: string;
717
724
  fontFamily: string;
718
725
  };
719
- boxShadow: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
726
+ boxShadow: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
720
727
  borderSize: string;
721
728
  outlinedBackgroundColor: string;
722
729
  fontWeight: number;
@@ -996,6 +1003,13 @@ export declare const entities: {
996
1003
  backgroundColor: string;
997
1004
  fontColor: "inverseBody" | "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "accent" | "success" | "warning" | "danger" | "anchorBlue";
998
1005
  }>;
1006
+ colorOption: {
1007
+ defaults: {
1008
+ circleFill: string;
1009
+ innerRing: string;
1010
+ outerRing: string;
1011
+ };
1012
+ };
999
1013
  };
1000
1014
  export declare type MediaQueriesEntity = typeof mediaQueries;
1001
1015
  export declare type HOCEntity = typeof hocs;
@@ -1019,5 +1033,6 @@ export declare type TooltipEntity = typeof tooltip;
1019
1033
  export declare type ColorPicker = typeof colorPicker;
1020
1034
  export declare type SphereEntity = typeof sphere;
1021
1035
  export declare type WidgetEntity = typeof widget;
1036
+ export declare type ColorOptionEntity = typeof colorOption;
1022
1037
  export declare type Entities = typeof entities;
1023
1038
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.7.23",
3
+ "version": "1.7.27",
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",
@@ -61,7 +61,6 @@
61
61
  "react-eyedrop": "^5.1.3",
62
62
  "react-infinite-scroll-component": "^6.1.0",
63
63
  "react-infinite-scroller": "^1.2.4",
64
- "react-lazyload": "^3.1.1",
65
64
  "react-use-dimensions": "^1.2.1",
66
65
  "ttypescript": "^1.5.12",
67
66
  "use-callback-ref": "^1.2.4",
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- featureListContainer: import("@emotion/utils").SerializedStyles;
3
- };
4
- export default _default;