ados-rcm 1.1.751 → 1.1.753
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/AModule/AUtils/sF.d.ts +13 -11
- package/dist/index.cjs.js +37 -37
- package/dist/index.es.js +7 -8
- package/package.json +1 -1
|
@@ -7,29 +7,25 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export interface AddTypographies {
|
|
10
|
-
_ignore?: never;
|
|
11
10
|
}
|
|
12
11
|
export interface SFTypeSettings {
|
|
13
|
-
disableClasses?: boolean;
|
|
14
|
-
disableFontWeights?: boolean;
|
|
15
|
-
disableTypographies?: boolean;
|
|
16
12
|
}
|
|
17
13
|
type CSSModuleClasses = {
|
|
18
14
|
readonly [key: string]: string;
|
|
19
15
|
};
|
|
20
|
-
declare const classes: {
|
|
16
|
+
export declare const classes: {
|
|
21
17
|
NoSelect: string;
|
|
22
18
|
NoTransition: string;
|
|
23
19
|
IsClickable: string;
|
|
24
20
|
IsInteractive: string;
|
|
25
21
|
};
|
|
26
|
-
declare const fontWeights: {
|
|
22
|
+
export declare const fontWeights: {
|
|
27
23
|
Regular: string;
|
|
28
24
|
Medium: string;
|
|
29
25
|
SemiBold: string;
|
|
30
26
|
Bold: string;
|
|
31
27
|
};
|
|
32
|
-
declare const typographies: {
|
|
28
|
+
export declare const typographies: {
|
|
33
29
|
Display1: string;
|
|
34
30
|
Display2: string;
|
|
35
31
|
Title1: string;
|
|
@@ -44,10 +40,16 @@ declare const typographies: {
|
|
|
44
40
|
Caption1: string;
|
|
45
41
|
Caption2: string;
|
|
46
42
|
};
|
|
47
|
-
type ActiveClassKeys = SFTypeSettings
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
type ActiveClassKeys = SFTypeSettings extends {
|
|
44
|
+
disableClasses: true;
|
|
45
|
+
} ? never : keyof typeof classes;
|
|
46
|
+
type ActiveFontKeys = SFTypeSettings extends {
|
|
47
|
+
disableFontWeights: true;
|
|
48
|
+
} ? never : keyof typeof fontWeights;
|
|
49
|
+
type ActiveTypoKeys = SFTypeSettings extends {
|
|
50
|
+
disableTypographies: true;
|
|
51
|
+
} ? never : keyof typeof typographies;
|
|
52
|
+
export type SFKeys = ActiveClassKeys | ActiveFontKeys | ActiveTypoKeys | AddTypographies;
|
|
51
53
|
export type SFArg = SFKeys | (string & {
|
|
52
54
|
_?: never;
|
|
53
55
|
}) | false | undefined | null;
|