@slimr/css 2.1.84 → 2.1.88
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/cjs/shorthandProps.d.ts +6 -0
- package/cjs/shorthandProps.js +3 -0
- package/cjs/shorthandProps.js.map +1 -1
- package/cjs/shorthandProps.ts +9 -0
- package/esm/shorthandProps.d.ts +6 -0
- package/esm/shorthandProps.js +3 -0
- package/esm/shorthandProps.js.map +1 -1
- package/esm/shorthandProps.ts +9 -0
- package/package.json +1 -1
- package/src/shorthandProps.ts +9 -0
package/cjs/shorthandProps.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ export interface ShorthandProps {
|
|
|
18
18
|
f?: string;
|
|
19
19
|
/** shorthand for css:flex-direction */
|
|
20
20
|
fd?: string;
|
|
21
|
+
/** shorthand for css:font-size */
|
|
22
|
+
fs?: number | string;
|
|
23
|
+
/** shorthand for css:font-weight */
|
|
24
|
+
fw?: number | string;
|
|
25
|
+
/** shorthand for css:gap */
|
|
26
|
+
g?: number | string;
|
|
21
27
|
/** shorthand for css:height */
|
|
22
28
|
h?: number | string;
|
|
23
29
|
/** shorthand for css:inset */
|
package/cjs/shorthandProps.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shorthandProps.js","sourceRoot":"","sources":["../src/shorthandProps.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"shorthandProps.js","sourceRoot":"","sources":["../src/shorthandProps.ts"],"names":[],"mappings":";;;AA6EA,4CAUC;AAbD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,GAAW;IAC3C,GAAG,GAAG,KAAK,GAAG,EAAE,CAAA,CAAC,4CAA4C;IAC7D,gCAAgC;IAChC,GAAG,GAAG,GAAG;SACP,OAAO,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;SAC9C,OAAO,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAAA;IACjD,MAAM,CAAC,OAAO,CAAC,yBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;QACpD,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;IACjE,CAAC,CAAC,CAAA;IACF,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AAClB,CAAC;AAED;;GAEG;AACU,QAAA,iBAAiB,GAG1B;IACH,EAAE,EAAE,aAAa;IACjB,CAAC,EAAE,QAAQ;IACX,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,YAAY;IAChB,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,gBAAgB;IACpB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,aAAa;IACjB,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,QAAQ;IACX,EAAE,EAAE,iBAAiB;IACrB,CAAC,EAAE,QAAQ;IACX,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,CAAC,EAAE,SAAS;IACZ,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,gBAAgB;IACpB,GAAG,EAAE,UAAU;IACf,EAAE,EAAE,YAAY;IAChB,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,SAAS;CACZ,CAAA"}
|
package/cjs/shorthandProps.ts
CHANGED
|
@@ -18,6 +18,12 @@ export interface ShorthandProps {
|
|
|
18
18
|
f?: string
|
|
19
19
|
/** shorthand for css:flex-direction */
|
|
20
20
|
fd?: string
|
|
21
|
+
/** shorthand for css:font-size */
|
|
22
|
+
fs?: number | string
|
|
23
|
+
/** shorthand for css:font-weight */
|
|
24
|
+
fw?: number | string
|
|
25
|
+
/** shorthand for css:gap */
|
|
26
|
+
g?: number | string
|
|
21
27
|
/** shorthand for css:height */
|
|
22
28
|
h?: number | string
|
|
23
29
|
/** shorthand for css:inset */
|
|
@@ -96,6 +102,9 @@ export const shorthandPropsMap: Record<
|
|
|
96
102
|
d: "display",
|
|
97
103
|
f: "flex",
|
|
98
104
|
fd: "flex-direction",
|
|
105
|
+
fs: "font-size",
|
|
106
|
+
fw: "font-weight",
|
|
107
|
+
g: "gap",
|
|
99
108
|
i: "inset",
|
|
100
109
|
h: "height",
|
|
101
110
|
jc: "justify-content",
|
package/esm/shorthandProps.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ export interface ShorthandProps {
|
|
|
18
18
|
f?: string;
|
|
19
19
|
/** shorthand for css:flex-direction */
|
|
20
20
|
fd?: string;
|
|
21
|
+
/** shorthand for css:font-size */
|
|
22
|
+
fs?: number | string;
|
|
23
|
+
/** shorthand for css:font-weight */
|
|
24
|
+
fw?: number | string;
|
|
25
|
+
/** shorthand for css:gap */
|
|
26
|
+
g?: number | string;
|
|
21
27
|
/** shorthand for css:height */
|
|
22
28
|
h?: number | string;
|
|
23
29
|
/** shorthand for css:inset */
|
package/esm/shorthandProps.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shorthandProps.js","sourceRoot":"","sources":["../src/shorthandProps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shorthandProps.js","sourceRoot":"","sources":["../src/shorthandProps.ts"],"names":[],"mappings":"AA0EA;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,GAAW;IAC3C,GAAG,GAAG,KAAK,GAAG,EAAE,CAAA,CAAC,4CAA4C;IAC7D,gCAAgC;IAChC,GAAG,GAAG,GAAG;SACP,OAAO,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;SAC9C,OAAO,CAAC,mBAAmB,EA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for css:flex-direction */
|
|
20
20
|
fd?: string
|
|
21
|
+
/** shorthand for css:font-size */
|
|
22
|
+
fs?: number | string
|
|
23
|
+
/** shorthand for css:font-weight */
|
|
24
|
+
fw?: number | string
|
|
25
|
+
/** shorthand for css:gap */
|
|
26
|
+
g?: number | string
|
|
21
27
|
/** shorthand for css:height */
|
|
22
28
|
h?: number | string
|
|
23
29
|
/** shorthand for css:inset */
|
|
@@ -96,6 +102,9 @@ export const shorthandPropsMap: Record<
|
|
|
96
102
|
d: "display",
|
|
97
103
|
f: "flex",
|
|
98
104
|
fd: "flex-direction",
|
|
105
|
+
fs: "font-size",
|
|
106
|
+
fw: "font-weight",
|
|
107
|
+
g: "gap",
|
|
99
108
|
i: "inset",
|
|
100
109
|
h: "height",
|
|
101
110
|
jc: "justify-content",
|
package/package.json
CHANGED
package/src/shorthandProps.ts
CHANGED
|
@@ -18,6 +18,12 @@ export interface ShorthandProps {
|
|
|
18
18
|
f?: string
|
|
19
19
|
/** shorthand for css:flex-direction */
|
|
20
20
|
fd?: string
|
|
21
|
+
/** shorthand for css:font-size */
|
|
22
|
+
fs?: number | string
|
|
23
|
+
/** shorthand for css:font-weight */
|
|
24
|
+
fw?: number | string
|
|
25
|
+
/** shorthand for css:gap */
|
|
26
|
+
g?: number | string
|
|
21
27
|
/** shorthand for css:height */
|
|
22
28
|
h?: number | string
|
|
23
29
|
/** shorthand for css:inset */
|
|
@@ -96,6 +102,9 @@ export const shorthandPropsMap: Record<
|
|
|
96
102
|
d: "display",
|
|
97
103
|
f: "flex",
|
|
98
104
|
fd: "flex-direction",
|
|
105
|
+
fs: "font-size",
|
|
106
|
+
fw: "font-weight",
|
|
107
|
+
g: "gap",
|
|
99
108
|
i: "inset",
|
|
100
109
|
h: "height",
|
|
101
110
|
jc: "justify-content",
|