@elliemae/ds-shared 2.0.2 → 2.1.0-rc.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-shared",
3
- "version": "2.0.2",
3
+ "version": "2.1.0-rc.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Shared components and utilities",
6
6
  "module": "./esm/index.js",
@@ -213,8 +213,8 @@
213
213
  "generateSubmodules": true
214
214
  },
215
215
  "dependencies": {
216
- "@elliemae/ds-popper": "2.0.2",
217
- "@elliemae/ds-utilities": "2.0.2",
216
+ "@elliemae/ds-popper": "2.1.0-rc.3",
217
+ "@elliemae/ds-utilities": "2.1.0-rc.3",
218
218
  "hoist-non-react-statics": "~3.3.2",
219
219
  "hotkeys-js": "~3.8.2",
220
220
  "prop-types": "~15.7.2",
@@ -1,41 +1,41 @@
1
- export declare const dsBasicSizes: string[];
2
- export declare const sizes: string[];
3
- export declare const iconSizes: string[];
4
- export declare const iconColors: string[][];
1
+ export declare const dsBasicSizes: ("s" | "m" | "l")[];
2
+ export declare const sizes: ("xsmall" | "small" | "medium" | "large" | "xlarge")[];
3
+ export declare const iconSizes: ("s" | "m" | "l" | "xxs" | "xs" | "xl" | "xxl")[];
4
+ export declare const iconColors: readonly [readonly ["neutral", "900"], readonly ["neutral", "0"], readonly ["danger", "900"], readonly ["warning", "500"], readonly ["success", "900"], readonly ["brand-primary", "600"]];
5
5
  export declare const CHECKBOX_VARIANT: {
6
- DEFAULT: string;
7
- FOCUS: string;
8
- ACTIVE: string;
9
- DISABLED: string;
10
- ERROR: string;
6
+ DEFAULT: "variant-default";
7
+ FOCUS: "variant-focus";
8
+ ACTIVE: "variant-active";
9
+ DISABLED: "variant-disabled";
10
+ ERROR: "variant-error";
11
11
  };
12
- export declare const checkboxVariants: string[];
12
+ export declare const checkboxVariants: readonly ["variant-default", "variant-focus", "variant-active", "variant-disabled", "variant-error"];
13
13
  export declare const COMBOBOX_VARIANT: {
14
- DEFAULT: string;
15
- FOCUS: string;
16
- FOCUS_ICON: string;
17
- ACTIVE: string;
18
- ACTIVE_ICON: string;
19
- DISABLED: string;
20
- ERROR: string;
14
+ DEFAULT: "variant-default";
15
+ FOCUS: "variant-focus-input";
16
+ FOCUS_ICON: "variant-focus-icon";
17
+ ACTIVE: "variant-active-input";
18
+ ACTIVE_ICON: "variant-active-icon";
19
+ DISABLED: "variant-disabled";
20
+ ERROR: "variant-error";
21
21
  };
22
- export declare const comboBoxVariants: string[];
22
+ export declare const comboBoxVariants: readonly ["variant-default", "variant-focus-input", "variant-focus-icon", "variant-active-input", "variant-active-icon", "variant-disabled", "variant-error"];
23
23
  export declare const sizeVariants: {
24
- S: string;
25
- M: string;
26
- L: string;
24
+ S: "s";
25
+ M: "m";
26
+ L: "l";
27
27
  };
28
28
  export declare const position: {
29
- LEFT: string;
30
- RIGHT: string;
31
- CENTER: string;
29
+ LEFT: "left";
30
+ RIGHT: "right";
31
+ CENTER: "center";
32
32
  };
33
33
  export declare const fontColor: {
34
- NEUTRAL500: string;
35
- NEUTRAL700: string;
34
+ NEUTRAL500: "neutral500";
35
+ NEUTRAL700: "neutral700";
36
36
  };
37
- export declare const orientation: string[];
37
+ export declare const orientation: readonly ["horizontal", "vertical"];
38
38
  export declare const orientationVariants: {
39
- HORIZONTAL: string;
40
- VERTICAL: string;
39
+ HORIZONTAL: "horizontal";
40
+ VERTICAL: "vertical";
41
41
  };