@charcoal-ui/styled 5.0.0-beta.1 → 5.0.0-beta.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/dist/builders/border.d.ts.map +1 -1
- package/dist/builders/borderRadius.d.ts +1 -1
- package/dist/builders/borderRadius.d.ts.map +1 -1
- package/dist/builders/colors.d.ts +2 -2
- package/dist/builders/colors.d.ts.map +1 -1
- package/dist/builders/elementEffect.d.ts.map +1 -1
- package/dist/builders/o.d.ts +57 -57
- package/dist/builders/outline.d.ts.map +1 -1
- package/dist/builders/size.d.ts +4 -4
- package/dist/builders/size.d.ts.map +1 -1
- package/dist/builders/spacing.d.ts +1 -1
- package/dist/builders/spacing.d.ts.map +1 -1
- package/dist/builders/typography.d.ts +1 -1
- package/dist/builders/typography.d.ts.map +1 -1
- package/dist/factories/lib.d.ts.map +1 -1
- package/dist/index.cjs +899 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +803 -0
- package/dist/index.js.map +1 -0
- package/dist/internals/index.d.ts.map +1 -1
- package/dist/util.d.ts +1 -1
- package/dist/util.d.ts.map +1 -1
- package/package.json +16 -20
- package/src/builders/colors.ts +2 -2
- package/dist/index.cjs.js +0 -983
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -953
- package/dist/index.esm.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../src/builders/border.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAQvD,eAAO,MAAM,gBAAgB,6CAA8C,CAAA;AAC3E,KAAK,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAExD,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../src/builders/border.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAQvD,eAAO,MAAM,gBAAgB,6CAA8C,CAAA;AAC3E,KAAK,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAExD,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,qBAAqB,EAC7D,SAAS,MAAM,CAAC,CAAC,QAAQ,CAAC,EAC1B,YAAY,SAAS,eAAe,EAAE,KACrC,QAsBF,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,CAAC,SAAS,qBAAqB,EAAE,KAAK,EAAE,CAAC;;GAcvE"}
|
|
@@ -2,6 +2,6 @@ import { CharcoalAbstractTheme } from '@charcoal-ui/theme';
|
|
|
2
2
|
import { Internal } from '../internals';
|
|
3
3
|
export declare const createBorderRadiusCss: <T extends CharcoalAbstractTheme>(theme: T) => (size: keyof T["borderRadius"]) => Internal;
|
|
4
4
|
export default function borderRadius<T extends CharcoalAbstractTheme>(theme: T): Readonly<{
|
|
5
|
-
borderRadius: (radius: keyof T[
|
|
5
|
+
borderRadius: (radius: keyof T["borderRadius"]) => Internal;
|
|
6
6
|
}>;
|
|
7
7
|
//# sourceMappingURL=borderRadius.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"borderRadius.d.ts","sourceRoot":"","sources":["../../src/builders/borderRadius.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAGvD,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"borderRadius.d.ts","sourceRoot":"","sources":["../../src/builders/borderRadius.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAGvD,eAAO,MAAM,qBAAqB,GAC/B,CAAC,SAAS,qBAAqB,EAAE,OAAO,CAAC,MACzC,MAAM,MAAM,CAAC,CAAC,cAAc,CAAC,KAAG,QAQhC,CAAA;AAEH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,CAAC,SAAS,qBAAqB,EAClE,KAAK,EAAE,CAAC;2BAOmB,MAAM,CAAC,CAAC,cAAc,CAAC;GAMnD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CharcoalAbstractTheme } from '@charcoal-ui/theme';
|
|
2
2
|
import { GradientDirection } from '@charcoal-ui/utils';
|
|
3
3
|
import { Internal } from '../internals';
|
|
4
|
-
|
|
5
|
-
export type ColorProperty =
|
|
4
|
+
type ColorProperties = ['bg', 'font'];
|
|
5
|
+
export type ColorProperty = ColorProperties[number];
|
|
6
6
|
export declare const createColorCss: <T extends CharcoalAbstractTheme>(_theme: T) => (target: ColorProperty, color: keyof T["color"], effects?: readonly (keyof T["effect"])[]) => Internal;
|
|
7
7
|
export declare const createGradientColorCss: <T extends CharcoalAbstractTheme>(theme: T) => (color: keyof T["gradientColor"], effects: readonly (keyof T["effect"])[] | undefined, direction: GradientDirection) => Internal;
|
|
8
8
|
export default function colors<T extends CharcoalAbstractTheme>(theme: T): Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/builders/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAML,iBAAiB,EAClB,MAAM,oBAAoB,CAAA;AAU3B,OAAO,EAEL,QAAQ,EAGT,MAAM,cAAc,CAAA;AAQrB,
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/builders/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAML,iBAAiB,EAClB,MAAM,oBAAoB,CAAA;AAU3B,OAAO,EAEL,QAAQ,EAGT,MAAM,cAAc,CAAA;AAQrB,KAAK,eAAe,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;AACrC,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC,CAAA;AAMnD,eAAO,MAAM,cAAc,GACxB,CAAC,SAAS,qBAAqB,EAAE,QAAQ,CAAC,MAEzC,QAAQ,aAAa,EACrB,OAAO,MAAM,CAAC,CAAC,OAAO,CAAC,EACvB,UAAS,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAO,KAC3C,QAiCF,CAAA;AAEH,eAAO,MAAM,sBAAsB,GAChC,CAAC,SAAS,qBAAqB,EAAE,OAAO,CAAC,MAExC,OAAO,MAAM,CAAC,CAAC,eAAe,CAAC,EAC/B,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,YAAK,EAC5C,WAAW,iBAAiB,KAC3B,QAgEF,CAAA;AAYH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,CAAC,SAAS,qBAAqB,EAAE,KAAK,EAAE,CAAC;0OAqBvC,iBAAiB;;GAejD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementEffect.d.ts","sourceRoot":"","sources":["../../src/builders/elementEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAStE,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAGvD,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"elementEffect.d.ts","sourceRoot":"","sources":["../../src/builders/elementEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAStE,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAGvD,eAAO,MAAM,sBAAsB,GAE/B,CAAC,SAAS,qBAAqB,EAC/B,cAAc,SAAS,CAAC,CAAC,eAAe,CAAC,EACzC,OAAO;IACP,aAAa,EAAE,cAAc,CAAA;CAC9B,MACA,UAAS,SAAS,CAAC,MAAM,cAAc,CAAC,EAAO,KAAG,QAkB/C,CAAA;AAEN,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,CAAC,SAAS,qBAAqB,EACnE,KAAK,EAAE,CAAC,kEAaT"}
|
package/dist/builders/o.d.ts
CHANGED
|
@@ -11,64 +11,64 @@ export default function createO<T extends CharcoalAbstractTheme>(theme: {
|
|
|
11
11
|
outline: T['outline'];
|
|
12
12
|
} & Omit<T, 'color' | 'gradientColor' | 'border' | 'outline'>): Record<string, unknown> & Readonly<{
|
|
13
13
|
bg: Record<string, unknown> & { readonly [key in keyof ({
|
|
14
|
-
color: T[
|
|
15
|
-
gradientColor: T[
|
|
16
|
-
border: T[
|
|
17
|
-
outline: T[
|
|
14
|
+
color: T["color"];
|
|
15
|
+
gradientColor: T["gradientColor"];
|
|
16
|
+
border: T["border"];
|
|
17
|
+
outline: T["outline"];
|
|
18
18
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["color"] & string]: import("../factories/lib").PropertyChain<import("../internals").Internal, keyof ({
|
|
19
|
-
color: T[
|
|
20
|
-
gradientColor: T[
|
|
21
|
-
border: T[
|
|
22
|
-
outline: T[
|
|
19
|
+
color: T["color"];
|
|
20
|
+
gradientColor: T["gradientColor"];
|
|
21
|
+
border: T["border"];
|
|
22
|
+
outline: T["outline"];
|
|
23
23
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["effect"] & string>; } & { readonly [key_1 in keyof ({
|
|
24
|
-
color: T[
|
|
25
|
-
gradientColor: T[
|
|
26
|
-
border: T[
|
|
27
|
-
outline: T[
|
|
28
|
-
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["gradientColor"] & string]: (direction: "
|
|
29
|
-
color: T[
|
|
30
|
-
gradientColor: T[
|
|
31
|
-
border: T[
|
|
32
|
-
outline: T[
|
|
24
|
+
color: T["color"];
|
|
25
|
+
gradientColor: T["gradientColor"];
|
|
26
|
+
border: T["border"];
|
|
27
|
+
outline: T["outline"];
|
|
28
|
+
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["gradientColor"] & string]: (direction: import("@charcoal-ui/utils").GradientDirection) => import("../factories/lib").PropertyChain<import("../internals").Internal, keyof ({
|
|
29
|
+
color: T["color"];
|
|
30
|
+
gradientColor: T["gradientColor"];
|
|
31
|
+
border: T["border"];
|
|
32
|
+
outline: T["outline"];
|
|
33
33
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["effect"] & string>; };
|
|
34
34
|
font: { readonly [key in keyof ({
|
|
35
|
-
color: T[
|
|
36
|
-
gradientColor: T[
|
|
37
|
-
border: T[
|
|
38
|
-
outline: T[
|
|
35
|
+
color: T["color"];
|
|
36
|
+
gradientColor: T["gradientColor"];
|
|
37
|
+
border: T["border"];
|
|
38
|
+
outline: T["outline"];
|
|
39
39
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["color"] & string]: import("../factories/lib").PropertyChain<import("../internals").Internal, keyof ({
|
|
40
|
-
color: T[
|
|
41
|
-
gradientColor: T[
|
|
42
|
-
border: T[
|
|
43
|
-
outline: T[
|
|
40
|
+
color: T["color"];
|
|
41
|
+
gradientColor: T["gradientColor"];
|
|
42
|
+
border: T["border"];
|
|
43
|
+
outline: T["outline"];
|
|
44
44
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["effect"] & string>; };
|
|
45
45
|
}> & {
|
|
46
46
|
readonly typography: (size: keyof ({
|
|
47
|
-
color: T[
|
|
48
|
-
gradientColor: T[
|
|
49
|
-
border: T[
|
|
50
|
-
outline: T[
|
|
47
|
+
color: T["color"];
|
|
48
|
+
gradientColor: T["gradientColor"];
|
|
49
|
+
border: T["border"];
|
|
50
|
+
outline: T["outline"];
|
|
51
51
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["typography"]["size"]) => import("../factories/lib").PropertyChain<import("../internals").Internal, "bold" | "monospace" | "preserveHalfLeading">;
|
|
52
52
|
} & {
|
|
53
53
|
readonly margin: import("../factories/lib").MethodChain<import("../internals").Internal, "bottom" | "left" | "right" | "top" | "all" | "horizontal" | "vertical", ["auto" | keyof ({
|
|
54
|
-
color: T[
|
|
55
|
-
gradientColor: T[
|
|
56
|
-
border: T[
|
|
57
|
-
outline: T[
|
|
54
|
+
color: T["color"];
|
|
55
|
+
gradientColor: T["gradientColor"];
|
|
56
|
+
border: T["border"];
|
|
57
|
+
outline: T["outline"];
|
|
58
58
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["spacing"]]>;
|
|
59
59
|
readonly padding: import("../factories/lib").MethodChain<import("../internals").Internal, "bottom" | "left" | "right" | "top" | "all" | "horizontal" | "vertical", ["auto" | keyof ({
|
|
60
|
-
color: T[
|
|
61
|
-
gradientColor: T[
|
|
62
|
-
border: T[
|
|
63
|
-
outline: T[
|
|
60
|
+
color: T["color"];
|
|
61
|
+
gradientColor: T["gradientColor"];
|
|
62
|
+
border: T["border"];
|
|
63
|
+
outline: T["outline"];
|
|
64
64
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["spacing"]]>;
|
|
65
65
|
} & {
|
|
66
66
|
readonly height: Readonly<{
|
|
67
67
|
px: (size: "auto" | keyof ({
|
|
68
|
-
color: T[
|
|
69
|
-
gradientColor: T[
|
|
70
|
-
border: T[
|
|
71
|
-
outline: T[
|
|
68
|
+
color: T["color"];
|
|
69
|
+
gradientColor: T["gradientColor"];
|
|
70
|
+
border: T["border"];
|
|
71
|
+
outline: T["outline"];
|
|
72
72
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["spacing"]) => import("../internals").Internal;
|
|
73
73
|
column: (span: number) => import("../internals").Internal;
|
|
74
74
|
auto: import("../internals").Internal;
|
|
@@ -76,10 +76,10 @@ export default function createO<T extends CharcoalAbstractTheme>(theme: {
|
|
|
76
76
|
}>;
|
|
77
77
|
readonly width: Readonly<{
|
|
78
78
|
px: (size: "auto" | keyof ({
|
|
79
|
-
color: T[
|
|
80
|
-
gradientColor: T[
|
|
81
|
-
border: T[
|
|
82
|
-
outline: T[
|
|
79
|
+
color: T["color"];
|
|
80
|
+
gradientColor: T["gradientColor"];
|
|
81
|
+
border: T["border"];
|
|
82
|
+
outline: T["outline"];
|
|
83
83
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["spacing"]) => import("../internals").Internal;
|
|
84
84
|
column: (span: number) => import("../internals").Internal;
|
|
85
85
|
auto: import("../internals").Internal;
|
|
@@ -91,24 +91,24 @@ export default function createO<T extends CharcoalAbstractTheme>(theme: {
|
|
|
91
91
|
readonly disabled: import("../factories/lib").PropertyChain<import("../internals").Internal, "hover" | "press">;
|
|
92
92
|
} & Readonly<{
|
|
93
93
|
border: { readonly [key_2 in keyof ({
|
|
94
|
-
color: T[
|
|
95
|
-
gradientColor: T[
|
|
96
|
-
border: T[
|
|
97
|
-
outline: T[
|
|
94
|
+
color: T["color"];
|
|
95
|
+
gradientColor: T["gradientColor"];
|
|
96
|
+
border: T["border"];
|
|
97
|
+
outline: T["outline"];
|
|
98
98
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["border"] & string]: import("../factories/lib").PropertyChain<import("../internals").Internal, "bottom" | "left" | "right" | "top">; };
|
|
99
99
|
}> & Readonly<{
|
|
100
100
|
borderRadius: (radius: keyof ({
|
|
101
|
-
color: T[
|
|
102
|
-
gradientColor: T[
|
|
103
|
-
border: T[
|
|
104
|
-
outline: T[
|
|
101
|
+
color: T["color"];
|
|
102
|
+
gradientColor: T["gradientColor"];
|
|
103
|
+
border: T["border"];
|
|
104
|
+
outline: T["outline"];
|
|
105
105
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["borderRadius"]) => import("../internals").Internal;
|
|
106
106
|
}> & Readonly<{
|
|
107
107
|
outline: { readonly [key_3 in keyof ({
|
|
108
|
-
color: T[
|
|
109
|
-
gradientColor: T[
|
|
110
|
-
border: T[
|
|
111
|
-
outline: T[
|
|
108
|
+
color: T["color"];
|
|
109
|
+
gradientColor: T["gradientColor"];
|
|
110
|
+
border: T["border"];
|
|
111
|
+
outline: T["outline"];
|
|
112
112
|
} & Omit<T, "color" | "border" | "outline" | "gradientColor">)["outline"] & string]: import("../factories/lib").PropertyChain<import("../internals").Internal, "focus">; };
|
|
113
113
|
}>;
|
|
114
114
|
//# sourceMappingURL=o.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outline.d.ts","sourceRoot":"","sources":["../../src/builders/outline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAI1D,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAOvD,eAAO,MAAM,WAAW,oBAAqB,CAAA;AAC7C,KAAK,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAM/C,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"outline.d.ts","sourceRoot":"","sources":["../../src/builders/outline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAI1D,OAAO,EAAE,QAAQ,EAAkB,MAAM,cAAc,CAAA;AAOvD,eAAO,MAAM,WAAW,oBAAqB,CAAA;AAC7C,KAAK,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAM/C,eAAO,MAAM,qBAAqB,GAC/B,CAAC,SAAS,qBAAqB,EAAE,OAAO,CAAC,MAExC,SAAS,MAAM,CAAC,CAAC,SAAS,CAAC,EAC3B,WAAW,SAAS,WAAW,EAAE,KAChC,QAcF,CAAA;AAuBH,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,CAAC,SAAS,qBAAqB,EAAE,KAAK,EAAE,CAAC;;GAkBxE"}
|
package/dist/builders/size.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import { CharcoalAbstractTheme } from '@charcoal-ui/theme';
|
|
|
2
2
|
import { Internal } from '../internals';
|
|
3
3
|
export declare const fixedProperties: readonly ["width", "height"];
|
|
4
4
|
type FixedProperty = (typeof fixedProperties)[number];
|
|
5
|
-
export declare const createFixedPxCss: <T extends CharcoalAbstractTheme>(theme: T) => (property: FixedProperty, size:
|
|
6
|
-
export declare const createFixedRelativeCss: <T extends CharcoalAbstractTheme>(_theme: T) => (property: FixedProperty, amount:
|
|
5
|
+
export declare const createFixedPxCss: <T extends CharcoalAbstractTheme>(theme: T) => (property: FixedProperty, size: keyof T["spacing"] | "auto") => Internal;
|
|
6
|
+
export declare const createFixedRelativeCss: <T extends CharcoalAbstractTheme>(_theme: T) => (property: FixedProperty, amount: "100%" | "auto") => Internal;
|
|
7
7
|
export declare const createFixedColumnCss: <T extends CharcoalAbstractTheme>(theme: T) => (property: FixedProperty, span: number) => Internal;
|
|
8
8
|
export default function size<T extends CharcoalAbstractTheme>(theme: T): {
|
|
9
9
|
readonly height: Readonly<{
|
|
10
|
-
px: (size: keyof T[
|
|
10
|
+
px: (size: keyof T["spacing"] | "auto") => Internal;
|
|
11
11
|
column: (span: number) => Internal;
|
|
12
12
|
auto: Internal;
|
|
13
13
|
full: Internal;
|
|
14
14
|
}>;
|
|
15
15
|
readonly width: Readonly<{
|
|
16
|
-
px: (size: keyof T[
|
|
16
|
+
px: (size: keyof T["spacing"] | "auto") => Internal;
|
|
17
17
|
column: (span: number) => Internal;
|
|
18
18
|
auto: Internal;
|
|
19
19
|
full: Internal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../src/builders/size.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,M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
|
type SpacingDirection = (typeof spacingDirections)[number];
|
|
7
7
|
export declare const createSpacingCss: <T extends CharcoalAbstractTheme>(theme: {
|
|
8
8
|
spacing: T["spacing"];
|
|
9
|
-
}) => (property: SpacingProperty, modifiers: readonly [
|
|
9
|
+
}) => (property: SpacingProperty, modifiers: readonly [SpacingDirection, keyof T["spacing"] | "auto"][]) => Internal;
|
|
10
10
|
export default function spacing<T extends CharcoalAbstractTheme>(theme: T): {
|
|
11
11
|
readonly margin: import("../factories/lib").MethodChain<Internal, "bottom" | "left" | "right" | "top" | "all" | "horizontal" | "vertical", ["auto" | keyof T["spacing"]]>;
|
|
12
12
|
readonly padding: import("../factories/lib").MethodChain<Internal, "bottom" | "left" | "right" | "top" | "all" | "horizontal" | "vertical", ["auto" | keyof T["spacing"]]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/builders/spacing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,OAAO,EAAE,QAAQ,EAA2B,MAAM,cAAc,CAAA;AAGhE,eAAO,MAAM,iBAAiB,gCAAiC,CAAA;AAC/D,eAAO,MAAM,iBAAiB,8EAQpB,CAAA;AACV,KAAK,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;AACzD,KAAK,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;AAS1D,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/builders/spacing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,OAAO,EAAE,QAAQ,EAA2B,MAAM,cAAc,CAAA;AAGhE,eAAO,MAAM,iBAAiB,gCAAiC,CAAA;AAC/D,eAAO,MAAM,iBAAiB,8EAQpB,CAAA;AACV,KAAK,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;AACzD,KAAK,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;AAS1D,eAAO,MAAM,gBAAgB,GAC1B,CAAC,SAAS,qBAAqB,EAAE,OAAO;IAAE,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,CAAA;CAAE,MAEhE,UAAU,eAAe,EACzB,WAAW,SAAS,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,EAAE,KACpE,QAkEF,CAAA;AAEH,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,CAAC,SAAS,qBAAqB,EAAE,KAAK,EAAE,CAAC;;;EAaxE"}
|
|
@@ -6,6 +6,6 @@ export declare const createTypographyCss: <T extends CharcoalAbstractTheme>(them
|
|
|
6
6
|
bold?: boolean;
|
|
7
7
|
}) => Internal;
|
|
8
8
|
export default function typography<T extends CharcoalAbstractTheme>(theme: T): {
|
|
9
|
-
readonly typography: (size: keyof T[
|
|
9
|
+
readonly typography: (size: keyof T["typography"]["size"]) => import("../factories/lib").PropertyChain<Internal, "bold" | "monospace" | "preserveHalfLeading">;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/builders/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,OAAO,EACL,QAAQ,EAIT,MAAM,cAAc,CAAA;AAGrB,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/builders/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,OAAO,EACL,QAAQ,EAIT,MAAM,cAAc,CAAA;AAGrB,eAAO,MAAM,mBAAmB,GAC7B,CAAC,SAAS,qBAAqB,EAAE,OAAO,CAAC,MAExC,MAAM,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,EACnC,UAAS;IACP,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;CACV,KACL,QA2CF,CAAA;AAiBH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,CAAC,SAAS,qBAAqB,EAAE,KAAK,EAAE,CAAC;gCAK1D,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC;EAW9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/factories/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAGxC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/factories/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAGxC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,GAC3B,OAAO,EACP,OAAO,SAAS,SAAS,GAAG,EAAE,EAC9B,MAAM,EAEN,QAAQ,OAAO,EACf,QAAQ,OAAO,EACf,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,MAAM,KAUlC,OAAO,GAAG,EAAE,QAAQ,EAAE,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,GAAE,CAAA;AAE9D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,GACxB,OAAO,EACP,OAAO,SAAS,SAAS,MAAM,EAAE,EACjC,MAAM,EACN,UAAU,SA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