gantri-components 2.20.0 → 2.21.1

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.
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { ModalProps } from './modal.types';
3
+ export declare const StyledModal: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
4
  export declare const StyledModalBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ModalProps & {
4
5
  isFullScreen?: boolean | undefined;
5
6
  noTopSpacing?: boolean | undefined;
6
7
  } & {
7
8
  $height?: 0 | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<string & {}> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-initial"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"inherit"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"initial"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"revert"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"unset"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"auto"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<0> | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "fit-content" | "max-content" | "min-content" | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-max-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-min-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-webkit-fit-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"fit-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"max-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"min-content"> | undefined;
8
- $index?: number | undefined;
9
9
  $width?: 0 | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<string & {}> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-initial"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"inherit"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"initial"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"revert"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"unset"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"auto"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<0> | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "fit-content" | "max-content" | "min-content" | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-max-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-min-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-webkit-fit-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"fit-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"max-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"min-content"> | "-moz-fit-content" | "-webkit-max-content" | "intrinsic" | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-moz-fit-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"-webkit-max-content"> | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"intrinsic"> | "min-intrinsic" | import("../../types/resolution-aware-prop.type").ResolutionAwarePropBase<"min-intrinsic"> | undefined;
10
10
  }, never>;
11
11
  export declare const StyledModalContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../stack/stack.types").StackProps & import("react").RefAttributes<import("../stack/stack.types").StackProps>>, import("styled-components").DefaultTheme, {
@@ -22,7 +22,5 @@ export declare const StyledModalHeader: import("styled-components").StyledCompon
22
22
  export declare const StyledModalFooter: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {
23
23
  $hasBorder: boolean;
24
24
  }, never>;
25
- export declare const StyledModalBackdrop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
26
- $index?: number | undefined;
27
- }, never>;
25
+ export declare const StyledModalBackdrop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
28
26
  export declare const StyledModalCloseButtonContainer: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,6 @@
1
+ export interface Environment {
2
+ CLOUDINARY_ENVIRONMENT: 'develop' | 'staging' | 'gantri';
3
+ }
4
+ export declare const environment: {
5
+ CLOUDINARY_ENVIRONMENT: string;
6
+ };
@@ -1,2 +1,3 @@
1
1
  export * from './hooks';
2
2
  export * from './typings';
3
+ export * from './environment';
@@ -1,3 +1 @@
1
- import { Environment } from './globals.types';
2
- export declare const defaultEnv: Environment;
3
1
  export declare const dynamicFolder = "dynamic-assets";
@@ -1,3 +1,2 @@
1
1
  export type DirectoryName = 'designers' | 'designs' | 'downloads' | 'floating-parts' | 'inventory-purchases' | 'parts' | 'products' | 'stocks' | 'users';
2
2
  export type TemplateVersion = 'draft' | string;
3
- export type Environment = 'local' | 'develop' | 'staging' | 'production';
@@ -1,4 +1,5 @@
1
- import { Environment, TemplateVersion } from '../../globals.types';
1
+ import { TemplateVersion } from '../../globals.types';
2
+ import { Environment } from '../../../../global';
2
3
  export type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'handouts' | 'universal-handouts' | 'instructions' | 'lifestyle-photos' | 'model' | 'part-files' | 'product-photos' | 'scale-photo' | 'value-props';
3
4
  interface ProductsRootLevel {
4
5
  productId: number;
@@ -12,7 +13,7 @@ interface ProductsTemplateLevel extends ProductsSkuLevel {
12
13
  }
13
14
  interface ProductsArgs<FileType extends ProductsFileType, Identifiers extends Record<string, any>> {
14
15
  directory: 'products';
15
- env?: Environment;
16
+ env?: Environment['CLOUDINARY_ENVIRONMENT'];
16
17
  fileType: FileType;
17
18
  identifiers: Identifiers;
18
19
  }