@yummacss/api 1.3.0 → 1.4.0
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/LICENSE +19 -19
- package/README.md +7 -8
- package/dist/index.d.ts +41 -44
- package/dist/index.js +1 -1
- package/package.json +14 -16
package/LICENSE
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
Copyright (c) 2024-present Yumma CSS
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
1
|
+
Copyright (c) 2024-present Yumma CSS API maintained by Renildo Pereira.
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
20
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# [@yummacss/api](https://www.npmjs.com/package/@yummacss/api)
|
|
2
2
|
|
|
3
|
-
Yumma CSS
|
|
3
|
+
Yumma CSS definitions for Javascript apps.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@yummacss/api)
|
|
6
6
|
[](https://www.npmjs.com/package/@yummacss/api)
|
|
7
7
|
|
|
8
8
|
## Getting started
|
|
9
9
|
|
|
10
|
-
Yumma CSS API
|
|
10
|
+
Yumma CSS API provides access to Yumma CSS utilities through Javascript functions.
|
|
11
11
|
|
|
12
12
|
### Installing
|
|
13
13
|
|
|
@@ -42,9 +42,7 @@ const boxModel = getBoxModelUtils();
|
|
|
42
42
|
const margin = boxModel["margin"];
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
## Available
|
|
46
|
-
|
|
47
|
-
Import utility group functions individually:
|
|
45
|
+
## Available functions
|
|
48
46
|
|
|
49
47
|
```ts
|
|
50
48
|
import {
|
|
@@ -67,15 +65,16 @@ import {
|
|
|
67
65
|
} from "@yummacss/api";
|
|
68
66
|
```
|
|
69
67
|
|
|
70
|
-
|
|
68
|
+
## Using Typescript
|
|
71
69
|
|
|
72
70
|
```ts
|
|
73
|
-
import type {
|
|
71
|
+
import type { Utilities, Colors } from "@yummacss/api"; // returns a map of utilities
|
|
72
|
+
import type { Color, Utility } from "@yummacss/api"; // returns a single object
|
|
74
73
|
```
|
|
75
74
|
|
|
76
75
|
## Built with
|
|
77
76
|
|
|
78
|
-
- [
|
|
77
|
+
- [tsdown](https://www.npmjs.com/package/tsdown)
|
|
79
78
|
- [tinycolor2](https://www.npmjs.com/package/tinycolor2)
|
|
80
79
|
- [typescript](https://www.npmjs.com/package/typescript)
|
|
81
80
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,48 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
//#region src/interfaces/color.d.ts
|
|
2
|
+
interface Color {
|
|
3
|
+
prefix: string;
|
|
4
|
+
properties: string[];
|
|
5
|
+
slug: string;
|
|
6
|
+
values: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
8
9
|
}
|
|
9
|
-
interface
|
|
10
|
-
|
|
10
|
+
interface Colors {
|
|
11
|
+
[key: string]: Color;
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/interfaces/utility.d.ts
|
|
15
|
+
interface Utility {
|
|
16
|
+
prefix: string;
|
|
17
|
+
properties: string[];
|
|
18
|
+
slug: string;
|
|
19
|
+
values: {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
17
22
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
prefix: string;
|
|
21
|
-
properties: string[];
|
|
22
|
-
slug: string;
|
|
23
|
-
values: {
|
|
24
|
-
[key: string]: string;
|
|
25
|
-
};
|
|
23
|
+
interface Utilities {
|
|
24
|
+
[key: string]: Utility;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
declare const
|
|
32
|
-
declare const
|
|
33
|
-
declare const
|
|
34
|
-
declare const
|
|
35
|
-
declare const
|
|
36
|
-
declare const
|
|
37
|
-
declare const
|
|
38
|
-
declare const
|
|
39
|
-
declare const
|
|
40
|
-
declare const
|
|
41
|
-
declare const
|
|
42
|
-
declare const
|
|
43
|
-
declare const
|
|
44
|
-
declare const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export { type ApiResponse, type ColorUtilityItem, type ColorUtilityMap, type UtilityItem, type UtilityMap, getAllUtils, getBackgroundUtils, getBorderUtils, getBoxModelUtils, getColorUtils, getEffectUtils, getFlexboxUtils, getFontUtils, getGridUtils, getInteractivityUtils, getOutlineUtils, getPositioningUtils, getSvgUtils, getTableUtils, getTextUtils, getTransformUtils };
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/index.d.ts
|
|
28
|
+
declare const getAllUtils: () => Utilities;
|
|
29
|
+
declare const getBackgroundUtils: () => Utilities;
|
|
30
|
+
declare const getBorderUtils: () => Utilities;
|
|
31
|
+
declare const getBoxModelUtils: () => Utilities;
|
|
32
|
+
declare const getColorUtils: () => Utilities;
|
|
33
|
+
declare const getEffectUtils: () => Utilities;
|
|
34
|
+
declare const getFlexboxUtils: () => Utilities;
|
|
35
|
+
declare const getFontUtils: () => Utilities;
|
|
36
|
+
declare const getGridUtils: () => Utilities;
|
|
37
|
+
declare const getInteractivityUtils: () => Utilities;
|
|
38
|
+
declare const getOutlineUtils: () => Utilities;
|
|
39
|
+
declare const getPositioningUtils: () => Utilities;
|
|
40
|
+
declare const getSvgUtils: () => Utilities;
|
|
41
|
+
declare const getTableUtils: () => Utilities;
|
|
42
|
+
declare const getTextUtils: () => Utilities;
|
|
43
|
+
declare const getTransformUtils: () => Utilities;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { Color, Colors, Utilities, Utility, getAllUtils, getBackgroundUtils, getBorderUtils, getBoxModelUtils, getColorUtils, getEffectUtils, getFlexboxUtils, getFontUtils, getGridUtils, getInteractivityUtils, getOutlineUtils, getPositioningUtils, getSvgUtils, getTableUtils, getTextUtils, getTransformUtils };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import I from'tinycolor2';var f={"background-attachment":{prefix:"ba",properties:["background-attachment"],slug:"background-attachment",values:{f:"fixed",l:"local",s:"scroll"}},"background-clip":{prefix:"bc",properties:["background-clip"],slug:"background-clip",values:{bb:"border-box",cb:"content-box",pb:"padding-box",t:"text"}},"background-origin":{prefix:"bo",properties:["background-origin"],slug:"background-origin",values:{bb:"border-box",cb:"content-box",pb:"padding-box"}},"background-position":{prefix:"bp",properties:["background-position"],slug:"background-position",values:{b:"bottom",c:"center",l:"left",lb:"left bottom",lt:"left top",r:"right",rb:"right bottom",rt:"right top",t:"top"}},"background-repeat":{prefix:"br",properties:["background-repeat"],slug:"background-repeat",values:{nr:"no-repeat",r:"repeat",ro:"round",rx:"repeat-x",ry:"repeat-y",s:"space"}},"background-size":{prefix:"bs",properties:["background-size"],slug:"background-size",values:{auto:"auto",c:"cover",co:"contain"}}};var A="#d73d3d",X="#e06814",F="#d3a107",D="#1fb155",$="#12a695",z="#05a4bf",B="#3575dd",G="#595cd9",H="#7d53dd",Z="#d4418a",j="#3f3f4e",P="#606773",W="#bfc2c7",V="black",K="white",q="transparent",J="currentColor";var Q="1px 3px 5px 1px #0000001a",ee="1px 3px 5px -1px #0000001a",re="1px 3px 5px -2px #0000001a",te="1px 3px 5px 2px #0000001a",ie="1px 3px 5px -3px #0000001a";var oe='Charter, "Bitstream Charter", "Sitka Text", Cambria, serif',se='Nimbus Mono PS", "Courier New", monospace',ae="system_ui, sans_serif";var e=({base:a,unit:l="",min:s=0,max:n=100})=>{let i={};for(let u=s;u<=n;u++){let ue=a*u;i[u.toString()]=`${ue}${l}`;}return i};var b={"border-collapse":{prefix:"bc",properties:["border-collapse"],slug:"border-collapse",values:{c:"collapse",s:"separate"}},"border-radius":{prefix:"rad",properties:["border-radius"],slug:"border-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-bottom-radius":{prefix:"rad-b",properties:["border-bottom-left-radius","border-bottom-right-radius"],slug:"border-radius/#bottom-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-left-radius":{prefix:"rad-l",properties:["border-bottom-left-radius","border-top-left-radius"],slug:"border-radius/#left-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-right-radius":{prefix:"rad-r",properties:["border-bottom-right-radius","border-top-right-radius"],slug:"border-radius/#right-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-bottom-left-radius":{prefix:"rad-bl",properties:["border-bottom-left-radius"],slug:"border-radius/#bottom-left-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-bottom-right-radius":{prefix:"rad-br",properties:["border-bottom-right-radius"],slug:"border-radius/#bottom-right-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-top-radius":{prefix:"rad-t",properties:["border-top-left-radius","border-top-right-radius"],slug:"border-radius/#top-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-top-left-radius":{prefix:"rad-tl",properties:["border-top-left-radius"],slug:"border-radius/#top-left-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-top-right-radius":{prefix:"rad-tr",properties:["border-top-right-radius"],slug:"border-radius/#top-right-radius",values:{...e({base:.25,unit:"rem",min:0,max:8}),full:"100%",half:"50%",9:"9999px"}},"border-spacing":{prefix:"bs",properties:["border-spacing"],slug:"border-spacing",values:e({base:.25,unit:"rem",min:0,max:8})},"border-style":{prefix:"b",properties:["border-style"],slug:"border-style",values:{none:"none",d:"dashed",s:"solid"}},"border-width":{prefix:"b",properties:["border-width"],slug:"border-width",values:e({base:1,unit:"px",min:0,max:8})},"border-bottom-width":{prefix:"bb",properties:["border-bottom-width"],slug:"border-bottom-radius",values:e({base:1,unit:"px",min:0,max:8})},"border-left-width":{prefix:"bl",properties:["border-left-width"],slug:"border-width/#left-width",values:e({base:1,unit:"px",min:0,max:8})},"border-right-width":{prefix:"br",properties:["border-right-width"],slug:"border-width/#right-width",values:e({base:1,unit:"px",min:0,max:8})},"border-top-width":{prefix:"bt",properties:["border-top-width"],slug:"border-width/#top-width",values:e({base:1,unit:"px",min:0,max:8})}};var v={"box-sizing":{prefix:"bs",properties:["box-sizing"],slug:"box-sizing",values:{bb:"border-box",cb:"content-box"}},dimension:{prefix:"d",properties:["height","width"],slug:"dimension",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},"max-dimension":{prefix:"max-d",properties:["max-height","max-width"],slug:"dimension/#max-dimension",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},"min-dimension":{prefix:"min-d",properties:["min-height","min-width"],slug:"dimension/#min-dimension",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},height:{prefix:"h",properties:["height"],slug:"height",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},"max-height":{prefix:"max-h",properties:["max-height"],slug:"height/#max-height",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},"min-height":{prefix:"min-h",properties:["min-height"],slug:"height/#min-height",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},margin:{prefix:"m",properties:["margin"],slug:"margin",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-block-end":{prefix:"mbe",properties:["margin-block-end"],slug:"margin/#block-end",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-block-start":{prefix:"mbs",properties:["margin-block-start"],slug:"margin/#block-start",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-bottom":{prefix:"mb",properties:["margin-bottom"],slug:"margin/#bottom",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-inline-end":{prefix:"mie",properties:["margin-inline-end"],slug:"margin/#inline-end",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-inline-start":{prefix:"mis",properties:["margin-inline-start"],slug:"margin/#inline-start",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-left":{prefix:"ml",properties:["margin-left"],slug:"margin/#left",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-right":{prefix:"mr",properties:["margin-right"],slug:"margin/#right",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-top":{prefix:"mt",properties:["margin-top"],slug:"margin/#top",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-x":{prefix:"mx",properties:["margin-left","margin-right"],slug:"margin/#x-axis",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"margin-y":{prefix:"my",properties:["margin-top","margin-bottom"],slug:"margin/#y-axis",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},padding:{prefix:"p",properties:["padding"],slug:"padding",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-block-end":{prefix:"pbe",properties:["padding-block-end"],slug:"padding/#block-end",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-block-start":{prefix:"pbs",properties:["padding-block-start"],slug:"padding/#block-start",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-bottom":{prefix:"pb",properties:["padding-bottom"],slug:"padding/#bottom",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-inline-end":{prefix:"pie",properties:["padding-inline-end"],slug:"padding/#inline-end",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-inline-start":{prefix:"pis",properties:["padding-inline-start"],slug:"padding/#inline-start",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-left":{prefix:"pl",properties:["padding-left"],slug:"padding/#left",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-right":{prefix:"pr",properties:["padding-right"],slug:"padding/#right",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-top":{prefix:"pt",properties:["padding-top"],slug:"padding/#top",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-x":{prefix:"px",properties:["padding-left","padding-right"],slug:"padding/#x-axis",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},"padding-y":{prefix:"py",properties:["padding-top","padding-bottom"],slug:"padding/#y-axis",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",px:"1px"}},width:{prefix:"w",properties:["width"],slug:"width",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},"max-width":{prefix:"max-w",properties:["max-width"],slug:"width/#max-width",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}},"min-width":{prefix:"min-w",properties:["min-width"],slug:"width/#min-width",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",dvh:"100dvh",dvw:"100dvw",vh:"100vh",vw:"100vw",fc:"fit-content",full:"100%",half:"50%",max:"max-content",min:"min-content",px:"1px",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem",xxl:"96rem"}}};var le={red:A,orange:X,yellow:F,green:D,teal:$,cyan:z,blue:B,indigo:G,violet:H,pink:Z,slate:j,gray:P,silver:W};var pe=14,ce=a=>{let l=[];for(let s=1;s<=6;s++){let n=(7-s)*pe,i=I.mix(a,"white",n);l.push(i.toHexString());}l.push(I(a).toHexString());for(let s=1;s<=6;s++){let n=s*pe,i=I.mix(a,"black",n);l.push(i.toHexString());}return l},ne=()=>{let a={};return Object.entries(le).forEach(([l,s])=>{let n=ce(s);for(let i=0;i<6;i++){let u=`${l}-${i+1}`;a[u]=n[i];}a[l]=n[6];for(let i=7;i<13;i++){let u=`${l}-${i}`;a[u]=n[i];}}),a};var ge=ne(),o={...ge,black:V,white:K,transparent:q,current:J},S={"accent-color":{prefix:"ac",properties:["accent-color"],slug:"accent-color",values:o},"background-color":{prefix:"bg",properties:["background-color"],slug:"background-color",values:o},"border-color":{prefix:"bc",properties:["border-color"],slug:"border-color",values:o},"border-bottom-color":{prefix:"bc-b",properties:["border-bottom-color"],slug:"border-bottom-color",values:o},"border-left-color":{prefix:"bc-l",properties:["border-left-color"],slug:"border-left-color",values:o},"border-right-color":{prefix:"bc-r",properties:["border-right-color"],slug:"border-right-color",values:o},"border-top-color":{prefix:"bc-t",properties:["border-top-color"],slug:"border-top-color",values:o},"caret-color":{prefix:"cc",properties:["caret-color"],slug:"caret-color",values:o},color:{prefix:"tc",properties:["color"],slug:"color",values:o},fill:{prefix:"f",properties:["fill"],slug:"fill",values:o},"outline-color":{prefix:"oc",properties:["outline-color"],slug:"outline-color",values:o},stroke:{prefix:"s",properties:["stroke"],slug:"stroke",values:o},"text-decoration-color":{prefix:"tdc",properties:["text-decoration-color"],slug:"text-decoration-color",values:o}};var _={"backdrop-blur":{prefix:"bf-b",properties:["backdrop-filter"],slug:"backdrop-blur",values:{none:`blur(${4*0}px)`,xs:`blur(${4}px)`,sm:`blur(${4*2}px)`,md:`blur(${4*4}px)`,lg:`blur(${4*8}px)`,xl:`blur(${4*16}px)`}},blur:{prefix:"f-b",properties:["filter"],slug:"blur",values:{none:`blur(${4*0}px)`,xs:`blur(${4}px)`,sm:`blur(${4*2}px)`,md:`blur(${4*4}px)`,lg:`blur(${4*8}px)`,xl:`blur(${4*16}px)`}},"box-shadow":{prefix:"bs",properties:["box-shadow"],slug:"box-shadow",values:{none:"none",xs:ie,sm:re,md:ee,lg:Q,xl:te}},grayscale:{prefix:"f-g",properties:["filter"],slug:"grayscale",values:{0:`grayscale(${10*0}%)`,10:`grayscale(${10}%)`,20:`grayscale(${10*2}%)`,30:`grayscale(${10*3}%)`,40:`grayscale(${10*4}%)`,50:`grayscale(${10*5}%)`,60:`grayscale(${10*6}%)`,70:`grayscale(${10*7}%)`,80:`grayscale(${10*8}%)`,90:`grayscale(${10*9}%)`,100:"grayscale(100%)"}},opacity:{prefix:"o",properties:["opacity"],slug:"opacity",values:{0:"0",10:"0.1",20:"0.2",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",80:"0.8",90:"0.9",100:"1"}}};var h={"align-content":{prefix:"ac",properties:["align-content"],slug:"align-content",values:{b:"baseline",c:"center",fe:"flex-end",fs:"flex-start",n:"normal",st:"stretch",sa:"space-around",sb:"space-between",se:"space-evenly"}},"align-items":{prefix:"ai",properties:["align-items"],slug:"align-items",values:{b:"baseline",c:"center",fe:"flex-end",fs:"flex-start",st:"stretch"}},"align-self":{prefix:"as",properties:["align-self"],slug:"align-self",values:{auto:"auto",b:"baseline",c:"center",fe:"flex-end",fs:"flex-start",st:"stretch"}},"flex-basis":{prefix:"fb",properties:["flex-basis"],slug:"flex-basis",values:{...e({base:.25,unit:"rem",min:0,max:100}),auto:"auto",full:"100%",half:"50%"}},"flex-direction":{prefix:"fd",properties:["flex-direction"],slug:"flex-direction",values:{c:"column",cr:"column-reverse",r:"row",rr:"row-reverse"}},"flex-grow":{prefix:"fg",properties:["flex-grow"],slug:"flex-grow",values:e({base:1,min:0,max:8})},"flex-shrink":{prefix:"fs",properties:["flex-shrink"],slug:"flex-shrink",values:e({base:1,min:0,max:8})},"flex-wrap":{prefix:"fw",properties:["flex-wrap"],slug:"flex-wrap",values:{nw:"nowrap",w:"wrap",wr:"wrap-reverse"}},flex:{prefix:"f",properties:["flex"],slug:"flex",values:{1:"1 1 0%",2:"2 2 0%",3:"3 3 0%",4:"4 4 0%",5:"5 5 0%",6:"6 6 0%",auto:"1 1 auto",none:"none"}},"justify-content":{prefix:"jc",properties:["justify-content"],slug:"justify-content",values:{c:"center",fe:"flex-end",fs:"flex-start",n:"normal",st:"stretch",sa:"space-around",sb:"space-between",se:"space-evenly"}},"justify-items":{prefix:"ji",properties:["justify-items"],slug:"justify-items",values:{c:"center",e:"end",s:"start",st:"stretch"}},"justify-self":{prefix:"js",properties:["justify-self"],slug:"justify-self",values:{auto:"auto",c:"center",e:"end",s:"start",st:"stretch"}},order:{prefix:"or",properties:["order"],slug:"order",values:{l:"-9999",0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",f:"9999"}}};var w={"font-family":{prefix:"ff",properties:["font-family"],slug:"font-family",values:{c:oe,m:se,s:ae}},"font-size":{prefix:"fs",properties:["font-size"],slug:"font-size",values:{xs:`${.75}rem`,sm:`${.875}rem`,md:`${1}rem`,lg:`${1.125}rem`,xl:`${1.25}rem`,xxl:`${1.5}rem`,"3xl":`${1.875}rem`,"4xl":`${2.25}rem`,"5xl":`${3}rem`,"6xl":`${3.75}rem`,"7xl":`${4.5}rem`,"8xl":`${6}rem`,"9xl":`${8}rem`}},"font-style":{prefix:"fs",properties:["font-style"],slug:"font-style",values:{i:"italic",n:"normal"}},"font-weight":{prefix:"fw",properties:["font-weight"],slug:"font-weight",values:{100:"100",200:"200",300:"300",400:"400",500:"500",600:"600",700:"700",800:"800",900:"900"}}};var C={"column-gap":{prefix:"cg",properties:["column-gap"],slug:"column-gap",values:e({base:.25,unit:"rem",min:0,max:100})},gap:{prefix:"g",properties:["gap"],slug:"gap",values:e({base:.25,unit:"rem",min:0,max:100})},"grid-auto-columns":{prefix:"gac",properties:["grid-auto-columns"],slug:"grid-auto-columns",values:{auto:"auto",max:"max-content",min:"min-content"}},"grid-auto-flow":{prefix:"gaf",properties:["grid-auto-flow"],slug:"grid-auto-flow",values:{c:"column",cd:"column dense",d:"dense",r:"row",rd:"row dense"}},"grid-auto-rows":{prefix:"gar",properties:["grid-auto-rows"],slug:"grid-auto-rows",values:{auto:"auto",max:"max-content",min:"min-content"}},"grid-column":{prefix:"gc-s",properties:["grid-column"],slug:"grid-column",values:{1:"span 1 / span 1",2:"span 2 / span 2",3:"span 3 / span 3",4:"span 4 / span 4",5:"span 5 / span 5",6:"span 6 / span 6",7:"span 7 / span 7",8:"span 8 / span 8",9:"span 9 / span 9",10:"span 10 / span 10",11:"span 11 / span 11",12:"span 12 / span 12",13:"span 13 / span 13",14:"span 14 / span 14",15:"span 15 / span 15",16:"span 16 / span 16"}},"grid-column-end":{prefix:"gce",properties:["grid-column-end"],slug:"grid-column-end",values:e({base:1,min:1,max:16})},"grid-column-start":{prefix:"gcs",properties:["grid-column-start"],slug:"grid-column-start",values:e({base:1,min:1,max:16})},"grid-row":{prefix:"gr-s",properties:["grid-row"],slug:"grid-row",values:{1:"span 1 / span 1",2:"span 2 / span 2",3:"span 3 / span 3",4:"span 4 / span 4",5:"span 5 / span 5",6:"span 6 / span 6",7:"span 7 / span 7",8:"span 8 / span 8",9:"span 9 / span 9",10:"span 10 / span 10",11:"span 11 / span 11",12:"span 12 / span 12",13:"span 13 / span 13",14:"span 14 / span 14",15:"span 15 / span 15",16:"span 16 / span 16"}},"grid-row-end":{prefix:"gre",properties:["grid-row-end"],slug:"grid-row-end",values:e({base:1,min:1,max:16})},"grid-row-start":{prefix:"grs",properties:["grid-row-start"],slug:"grid-row-start",values:e({base:1,min:1,max:16})},"grid-template-columns":{prefix:"gtc",properties:["grid-template-columns"],slug:"grid-template-columns",values:{1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",13:"repeat(13, minmax(0, 1fr))",14:"repeat(14, minmax(0, 1fr))",15:"repeat(15, minmax(0, 1fr))",16:"repeat(16, minmax(0, 1fr))"}},"grid-template-rows":{prefix:"gtr",properties:["grid-template-rows"],slug:"grid-template-rows",values:{1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",13:"repeat(13, minmax(0, 1fr))",14:"repeat(14, minmax(0, 1fr))",15:"repeat(15, minmax(0, 1fr))",16:"repeat(16, minmax(0, 1fr))"}},"place-content":{prefix:"pc",properties:["place-content"],slug:"place-content",values:{b:"baseline",c:"center",e:"end",s:"start",sa:"space-around",sb:"space-between",se:"space-evenly",st:"stretch"}},"place-items":{prefix:"pi",properties:["place-items"],slug:"place-items",values:{b:"baseline",c:"center",e:"end",s:"start",st:"stretch"}},"place-self":{prefix:"ps",properties:["place-self"],slug:"place-self",values:{auto:"auto",c:"center",e:"end",s:"start",st:"stretch"}},"row-gap":{prefix:"rg",properties:["row-gap"],slug:"row-gap",values:e({base:.25,unit:"rem",min:0,max:100})}};var y={appearance:{prefix:"a",properties:["appearance"],slug:"appearance",values:{auto:"auto",none:"none"}},cursor:{prefix:"c",properties:["cursor"],slug:"cursor",values:{auto:"auto",ch:"crosshair",cr:"col-resize",d:"default",h:"help",m:"move",na:"not-allowed",ner:"ne-resize",neswr:"nesw-resize",none:"none",nr:"n-resize",nwr:"nw-resize",nwser:"nwse-resize",p:"pointer",pr:"progress",rs:"row-resize",ser:"se-resize",sr:"s-resize",swr:"sw-resize",t:"text",w:"wait",wr:"w-resize",zi:"zoom-in",zo:"zoom-out"}},"field-sizing":{prefix:"fs",properties:["field-sizing"],slug:"field-sizing",values:{f:"fixed",c:"content"}},"pointer-events":{prefix:"pe",properties:["pointer-events"],slug:"pointer-events",values:{auto:"auto",none:"none"}},resize:{prefix:"r",properties:["resize"],slug:"resize",values:{b:"both",h:"horizontal",none:"none",v:"vertical"}},"scroll-behavior":{prefix:"sb",properties:["scroll-behavior"],slug:"scroll-behavior",values:{auto:"auto",s:"smooth"}},"scroll-margin":{prefix:"sm",properties:["scroll-margin"],slug:"scroll-margin",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-bottom":{prefix:"smb",properties:["scroll-margin-bottom"],slug:"scroll-margin/#bottom",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-inline-start":{prefix:"smis",properties:["scroll-margin-inline-start"],slug:"scroll-margin/#inline-start",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-left":{prefix:"sml",properties:["scroll-margin-left"],slug:"scroll-margin/#scroll-margin-left",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-right":{prefix:"smr",properties:["scroll-margin-right"],slug:"scroll-margin/#scroll-margin-right",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-top":{prefix:"smt",properties:["scroll-margin-top"],slug:"scroll-margin/#scroll-margin-top",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-inline-end":{prefix:"smie",properties:["scroll-margin-inline-end"],slug:"scroll-margin/#scroll-margin-inline-end",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-x":{prefix:"smx",properties:["scroll-margin-left","scroll-margin-right"],slug:"scroll-margin/#scroll-margin-x",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-margin-y":{prefix:"smy",properties:["scroll-margin-bottom","scroll-margin-top"],slug:"scroll-margin/#scroll-margin-y",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding":{prefix:"sp",properties:["scroll-padding"],slug:"scroll-padding",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-bottom":{prefix:"spb",properties:["scroll-padding-bottom"],slug:"scroll-padding/#bottom",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-inline-start":{prefix:"spis",properties:["scroll-padding-inline-start"],slug:"scroll-padding/#scroll-padding-inline-start",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-left":{prefix:"spl",properties:["scroll-padding-left"],slug:"scroll-padding/#scroll-padding-left",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-right":{prefix:"spr",properties:["scroll-padding-right"],slug:"scroll-padding/#scroll-padding-right",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-top":{prefix:"spt",properties:["scroll-padding-top"],slug:"scroll-padding/#scroll-padding-top",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-inline-end":{prefix:"spie",properties:["scroll-padding-inline-end"],slug:"scroll-padding/#scroll-padding-inline-end",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-x":{prefix:"spx",properties:["scroll-padding-left","scroll-padding-right"],slug:"scroll-padding/#scroll-padding-x",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-padding-y":{prefix:"spy",properties:["scroll-padding-bottom","scroll-padding-top"],slug:"scroll-padding/#scroll-padding-y",values:e({base:.25,unit:"rem",min:0,max:100})},"scroll-snap-align":{prefix:"ssa",properties:["scroll-snap-align"],slug:"scroll-snap-align",values:{c:"center",e:"end",none:"none",s:"start"}},"scroll-snap-stop":{prefix:"sss",properties:["scroll-snap-stop"],slug:"scroll-snap-stop",values:{a:"always",n:"normal"}},"scroll-snap-type":{prefix:"sst",properties:["scroll-snap-type"],slug:"scroll-snap-type",values:{"b-m":"both mandatory",none:"none","x-m":"x mandatory","x-p":"x proximity","y-m":"y mandatory","y-p":"y proximity"}},"user-select":{prefix:"us",properties:["user-select"],slug:"user-select",values:{a:"all",auto:"auto",none:"none",t:"text"}}};var O={"outline-offset":{prefix:"oo",properties:["outline-offset"],slug:"outline-offset",values:e({base:1,unit:"px",min:0,max:4})},"outline-style":{prefix:"os",properties:["outline-style"],slug:"outline-style",values:{none:"none",d:"dashed",s:"solid"}},"outline-width":{prefix:"ow",properties:["outline-width"],slug:"outline-width",values:e({base:1,unit:"px",min:0,max:4})}};var Y={"aspect-ratio":{prefix:"ar",properties:["aspect-ratio"],slug:"aspect-ratio",values:{auto:"auto","1/1":"1/1","1/2":"1/2","16/9":"16/9","2/1":"2/1","2/3":"2/3","3/2":"3/2","9/16":"9/16"}},clear:{prefix:"cl",properties:["clear"],slug:"clear",values:{b:"both",ie:"inline-end",is:"inline-start",l:"left",none:"none",r:"right"}},columns:{prefix:"c",properties:["columns"],slug:"columns",values:e({base:1,min:1,max:16})},bottom:{prefix:"bo",properties:["bottom"],slug:"bottom",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},inset:{prefix:"i",properties:["inset"],slug:"inset",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},"inset-x":{prefix:"ix",properties:["left","right"],slug:"inset-x",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},"inset-y":{prefix:"iy",properties:["top","bottom"],slug:"inset-y",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},isolation:{prefix:"i",properties:["isolation"],slug:"isolation",values:{auto:"auto",i:"isolate"}},left:{prefix:"l",properties:["left"],slug:"left",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},right:{prefix:"r",properties:["right"],slug:"right",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},top:{prefix:"t",properties:["top"],slug:"top",values:{...e({base:.25,unit:"rem",min:0,max:16}),full:"100%",half:"50%"}},display:{prefix:"d",properties:["display"],slug:"display",values:{b:"block",f:"flex",fr:"flow-root",g:"grid",i:"inline",ib:"inline-block",if:"inline-flex",ig:"inline-grid",it:"inline-table",none:"none",t:"table",tc:"table-cell",tco:"table-column",tr:"table-row"}},float:{prefix:"fl",properties:["float"],slug:"float",values:{ie:"inline-end",is:"inline-start",l:"left",none:"none",r:"right"}},"object-fit":{prefix:"of",properties:["object-fit"],slug:"object-fit",values:{c:"cover",f:"fill",none:"none",sd:"scale-down"}},"object-position":{prefix:"op",properties:["object-position"],slug:"object-position",values:{b:"bottom",c:"center",l:"left",lb:"left bottom",lt:"left top",r:"right",rb:"right bottom",rt:"right top",t:"top"}},overflow:{prefix:"o",properties:["overflow"],slug:"overflow",values:{auto:"auto",c:"clip",h:"hidden",s:"scroll",v:"visible"}},"overflow-x":{prefix:"o-x",properties:["overflow-x"],slug:"overflow-x",values:{auto:"auto",c:"clip",h:"hidden",s:"scroll",v:"visible"}},"overflow-y":{prefix:"o-y",properties:["overflow-y"],slug:"overflow-y",values:{auto:"auto",c:"clip",h:"hidden",s:"scroll",v:"visible"}},position:{prefix:"p",properties:["position"],slug:"position",values:{a:"absolute",f:"fixed",r:"relative",s:"static",st:"sticky"}},visibility:{prefix:"v",properties:["visibility"],slug:"visibility",values:{c:"collapse",h:"hidden",v:"visible"}},"z-index":{prefix:"zi",properties:["z-index"],slug:"z-index",values:{0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",60:"60",70:"70",80:"80",90:"90",auto:"auto"}}};var U={"stroke-width":{prefix:"sw",properties:["stroke-width"],slug:"stroke-width",values:{0:"0",2:"0.2",4:"0.4",6:"0.6",8:"0.8",1:"1"}}};var E={"caption-side":{prefix:"cs",properties:["caption-side"],slug:"caption-side",values:{t:"top",b:"bottom"}},"table-layout":{prefix:"tl",properties:["table-layout"],slug:"table-layout",values:{a:"auto",f:"fixed"}}};var L={"letter-spacing":{prefix:"ls",properties:["letter-spacing"],slug:"letter-spacing",values:{0:"0em",1:"-0.05em",2:"-0.025em",3:"0.025em",4:"0.05em",5:"0.1em"}},"line-height":{prefix:"lh",properties:["line-height"],slug:"line-height",values:{1:"1",2:"1.25",3:"1.375",4:"1.5",5:"1.625",6:"2"}},"list-style-position":{prefix:"lsp",properties:["list-style-position"],slug:"list-style-position",values:{i:"inside",o:"outside"}},"list-style-type":{prefix:"lst",properties:["list-style-type"],slug:"list-style-type",values:{c:"circle",d:"disc",s:"square"}},"overflow-wrap":{prefix:"ow",properties:["overflow-wrap"],slug:"overflow-wrap",values:{bw:"break-word",n:"normal"}},"text-align":{prefix:"ta",properties:["text-align"],slug:"text-align",values:{c:"center",e:"end",j:"justify",ja:"justify-all",l:"left",mp:"match-parent",r:"right",s:"start"}},"text-decoration-line":{prefix:"tdl",properties:["text-decoration-line"],slug:"text-decoration-line",values:{lt:"line-through",none:"none",o:"overline",u:"underline"}},"text-decoration-style":{prefix:"tds",properties:["text-decoration-style"],slug:"text-decoration-style",values:{d:"dashed",s:"solid",w:"wavy"}},"text-decoration-thickness":{prefix:"tdt",properties:["text-decoration-thickness"],slug:"text-decoration-thickness",values:{...e({base:1,unit:"rem",min:0,max:4}),auto:"auto",ff:"from-font"}},"text-decoration":{prefix:"td",properties:["text-decoration"],slug:"text-decoration",values:{none:"none",u:"underline"}},"text-indent":{prefix:"ti",properties:["text-indent"],slug:"text-indent",values:{0:"0px",1:"1px",2:"0.25rem",3:"0.5rem",4:"0.75rem"}},"text-overflow":{prefix:"to",properties:["text-overflow"],slug:"text-overflow",values:{c:"clip",e:"ellipsis"}},"text-transform":{prefix:"tt",properties:["text-transform"],slug:"text-transform",values:{c:"capitalize",l:"lowercase",n:"none",u:"uppercase"}},"text-underline-offset":{prefix:"tuo",properties:["text-underline-offset"],slug:"text-underline-offset",values:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",auto:"auto"}},"text-wrap":{prefix:"tw",properties:["text-wrap"],slug:"text-wrap",values:{b:"balance",n:"nowrap",p:"pretty",w:"wrap"}},"white-space":{prefix:"ws",properties:["white-space"],slug:"white-space",values:{bs:"break-spaces",n:"normal",nw:"nowrap",p:"pre",pl:"pre-line",pw:"pre-wrap"}}};var R={rotate:{prefix:"t-r",properties:["transform"],slug:"rotate",values:{0:"rotate(0)",5:"rotate(5deg)",10:"rotate(10deg)",15:"rotate(15deg)",20:"rotate(20deg)",25:"rotate(25deg)",30:"rotate(30deg)",35:"rotate(35deg)",40:"rotate(40deg)",45:"rotate(45deg)",50:"rotate(50deg)",55:"rotate(55deg)",60:"rotate(60deg)",65:"rotate(65deg)",70:"rotate(70deg)",75:"rotate(75deg)",80:"rotate(80deg)",85:"rotate(85deg)",90:"rotate(90deg)",95:"rotate(95deg)",100:"rotate(100deg)"}},scale:{prefix:"t-s",properties:["transform"],slug:"scale",values:{0:"scale(0%)",10:"scale(10%)",20:"scale(20%)",30:"scale(30%)",40:"scale(40%)",50:"scale(50%)",60:"scale(60%)",70:"scale(70%)",80:"scale(80%)",90:"scale(90%)",100:"scale(100%)"}},"scale-x":{prefix:"t-sx",properties:["transform"],slug:"scale-x",values:{0:"scaleX(0%)",10:"scaleX(10%)",20:"scaleX(20%)",30:"scaleX(30%)",40:"scaleX(40%)",50:"scaleX(50%)",60:"scaleX(60%)",70:"scaleX(70%)",80:"scaleX(80%)",90:"scaleX(90%)",100:"scaleX(100%)"}},"scale-y":{prefix:"t-sy",properties:["transform"],slug:"scale-y",values:{0:"scaleY(0%)",10:"scaleY(10%)",20:"scaleY(20%)",30:"scaleY(30%)",40:"scaleY(40%)",50:"scaleY(50%)",60:"scaleY(60%)",70:"scaleY(70%)",80:"scaleY(80%)",90:"scaleY(90%)",100:"scaleY(100%)"}},skew:{prefix:"t-sk",properties:["transform"],slug:"skew",values:{1:"skew(1deg)",2:"skew(2deg)",3:"skew(3deg)",6:"skew(6deg)",12:"skew(12deg)"}},"skew-x":{prefix:"t-skx",properties:["transform"],slug:"skew-x",values:{1:"skewX(1deg)",2:"skewX(2deg)",3:"skewX(3deg)",6:"skewX(6deg)",12:"skewX(12deg)"}},"skew-y":{prefix:"t-sky",properties:["transform"],slug:"skew-y",values:{1:"skewY(1deg)",2:"skewY(2deg)",3:"skewY(3deg)",6:"skewY(6deg)",12:"skewY(12deg)"}},"transform-origin":{prefix:"t-o",properties:["transform-origin"],slug:"transform-origin",values:{b:"bottom",bl:"bottom left",br:"bottom right",c:"center",l:"left",r:"right",t:"top",tl:"top left",tr:"top right"}}};var me={...f,...b,...v,...S,..._,...h,...w,...C,...y,...O,...Y,...U,...E,...L,...R};var rt=()=>me,tt=()=>f,it=()=>b,ot=()=>v,st=()=>S,at=()=>_,lt=()=>h,pt=()=>w,nt=()=>C,mt=()=>y,ut=()=>O,xt=()=>Y,ct=()=>U,gt=()=>E,dt=()=>L,ft=()=>R;export{rt as getAllUtils,tt as getBackgroundUtils,it as getBorderUtils,ot as getBoxModelUtils,st as getColorUtils,at as getEffectUtils,lt as getFlexboxUtils,pt as getFontUtils,nt as getGridUtils,mt as getInteractivityUtils,ut as getOutlineUtils,xt as getPositioningUtils,ct as getSvgUtils,gt as getTableUtils,dt as getTextUtils,ft as getTransformUtils};
|
|
1
|
+
import e from"tinycolor2";const t={"background-attachment":{prefix:`ba`,properties:[`background-attachment`],slug:`background-attachment`,values:{f:`fixed`,l:`local`,s:`scroll`}},"background-clip":{prefix:`bc`,properties:[`background-clip`],slug:`background-clip`,values:{bb:`border-box`,cb:`content-box`,pb:`padding-box`,t:`text`}},"background-origin":{prefix:`bo`,properties:[`background-origin`],slug:`background-origin`,values:{bb:`border-box`,cb:`content-box`,pb:`padding-box`}},"background-position":{prefix:`bp`,properties:[`background-position`],slug:`background-position`,values:{b:`bottom`,c:`center`,l:`left`,lb:`left bottom`,lt:`left top`,r:`right`,rb:`right bottom`,rt:`right top`,t:`top`}},"background-repeat":{prefix:`br`,properties:[`background-repeat`],slug:`background-repeat`,values:{nr:`no-repeat`,r:`repeat`,ro:`round`,rx:`repeat-x`,ry:`repeat-y`,s:`space`}},"background-size":{prefix:`bs`,properties:[`background-size`],slug:`background-size`,values:{auto:`auto`,c:`cover`,co:`contain`}}},n=.25,r=.25,i=.25,a=.25,o=.25,s=.25,c=.25,l=.25,u=({base:e,unit:t=``,min:n=0,max:r=100})=>{let i={};for(let a=n;a<=r;a++){let n=e*a;i[a.toString()]=`${n}${t}`}return i},d={"border-collapse":{prefix:`bc`,properties:[`border-collapse`],slug:`border-collapse`,values:{c:`collapse`,s:`separate`}},"border-radius":{prefix:`rad`,properties:[`border-radius`],slug:`border-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-bottom-radius":{prefix:`rad-b`,properties:[`border-bottom-left-radius`,`border-bottom-right-radius`],slug:`border-radius/#bottom-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-left-radius":{prefix:`rad-l`,properties:[`border-bottom-left-radius`,`border-top-left-radius`],slug:`border-radius/#left-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-right-radius":{prefix:`rad-r`,properties:[`border-bottom-right-radius`,`border-top-right-radius`],slug:`border-radius/#right-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-bottom-left-radius":{prefix:`rad-bl`,properties:[`border-bottom-left-radius`],slug:`border-radius/#bottom-left-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-bottom-right-radius":{prefix:`rad-br`,properties:[`border-bottom-right-radius`],slug:`border-radius/#bottom-right-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-top-radius":{prefix:`rad-t`,properties:[`border-top-left-radius`,`border-top-right-radius`],slug:`border-radius/#top-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-top-left-radius":{prefix:`rad-tl`,properties:[`border-top-left-radius`],slug:`border-radius/#top-left-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-top-right-radius":{prefix:`rad-tr`,properties:[`border-top-right-radius`],slug:`border-radius/#top-right-radius`,values:{...u({base:n,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,9:`9999px`}},"border-spacing":{prefix:`bs`,properties:[`border-spacing`],slug:`border-spacing`,values:u({base:.25,unit:`rem`,min:0,max:8})},"border-style":{prefix:`b`,properties:[`border-style`],slug:`border-style`,values:{none:`none`,d:`dashed`,s:`solid`}},"border-width":{prefix:`b`,properties:[`border-width`],slug:`border-width`,values:u({base:1,unit:`px`,min:0,max:8})},"border-bottom-width":{prefix:`bb`,properties:[`border-bottom-width`],slug:`border-bottom-radius`,values:u({base:1,unit:`px`,min:0,max:8})},"border-left-width":{prefix:`bl`,properties:[`border-left-width`],slug:`border-width/#left-width`,values:u({base:1,unit:`px`,min:0,max:8})},"border-right-width":{prefix:`br`,properties:[`border-right-width`],slug:`border-width/#right-width`,values:u({base:1,unit:`px`,min:0,max:8})},"border-top-width":{prefix:`bt`,properties:[`border-top-width`],slug:`border-width/#top-width`,values:u({base:1,unit:`px`,min:0,max:8})}},f={"box-sizing":{prefix:`bs`,properties:[`box-sizing`],slug:`box-sizing`,values:{bb:`border-box`,cb:`content-box`}},dimension:{prefix:`d`,properties:[`height`,`width`],slug:`dimension`,values:{...u({base:r,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},"max-dimension":{prefix:`max-d`,properties:[`max-height`,`max-width`],slug:`dimension/#max-dimension`,values:{...u({base:r,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},"min-dimension":{prefix:`min-d`,properties:[`min-height`,`min-width`],slug:`dimension/#min-dimension`,values:{...u({base:r,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},height:{prefix:`h`,properties:[`height`],slug:`height`,values:{...u({base:i,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},"max-height":{prefix:`max-h`,properties:[`max-height`],slug:`height/#max-height`,values:{...u({base:i,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},"min-height":{prefix:`min-h`,properties:[`min-height`],slug:`height/#min-height`,values:{...u({base:i,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},margin:{prefix:`m`,properties:[`margin`],slug:`margin`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-block-end":{prefix:`mbe`,properties:[`margin-block-end`],slug:`margin/#block-end`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-block-start":{prefix:`mbs`,properties:[`margin-block-start`],slug:`margin/#block-start`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-bottom":{prefix:`mb`,properties:[`margin-bottom`],slug:`margin/#bottom`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-inline-end":{prefix:`mie`,properties:[`margin-inline-end`],slug:`margin/#inline-end`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-inline-start":{prefix:`mis`,properties:[`margin-inline-start`],slug:`margin/#inline-start`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-left":{prefix:`ml`,properties:[`margin-left`],slug:`margin/#left`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-right":{prefix:`mr`,properties:[`margin-right`],slug:`margin/#right`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-top":{prefix:`mt`,properties:[`margin-top`],slug:`margin/#top`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-x":{prefix:`mx`,properties:[`margin-left`,`margin-right`],slug:`margin/#x-axis`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"margin-y":{prefix:`my`,properties:[`margin-top`,`margin-bottom`],slug:`margin/#y-axis`,values:{...u({base:s,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},padding:{prefix:`p`,properties:[`padding`],slug:`padding`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-block-end":{prefix:`pbe`,properties:[`padding-block-end`],slug:`padding/#block-end`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-block-start":{prefix:`pbs`,properties:[`padding-block-start`],slug:`padding/#block-start`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-bottom":{prefix:`pb`,properties:[`padding-bottom`],slug:`padding/#bottom`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-inline-end":{prefix:`pie`,properties:[`padding-inline-end`],slug:`padding/#inline-end`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-inline-start":{prefix:`pis`,properties:[`padding-inline-start`],slug:`padding/#inline-start`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-left":{prefix:`pl`,properties:[`padding-left`],slug:`padding/#left`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-right":{prefix:`pr`,properties:[`padding-right`],slug:`padding/#right`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-top":{prefix:`pt`,properties:[`padding-top`],slug:`padding/#top`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-x":{prefix:`px`,properties:[`padding-left`,`padding-right`],slug:`padding/#x-axis`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},"padding-y":{prefix:`py`,properties:[`padding-top`,`padding-bottom`],slug:`padding/#y-axis`,values:{...u({base:o,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`}},width:{prefix:`w`,properties:[`width`],slug:`width`,values:{...u({base:a,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},"max-width":{prefix:`max-w`,properties:[`max-width`],slug:`width/#max-width`,values:{...u({base:a,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}},"min-width":{prefix:`min-w`,properties:[`min-width`],slug:`width/#min-width`,values:{...u({base:a,unit:`rem`,min:0,max:100}),auto:`auto`,dvh:`100dvh`,dvw:`100dvw`,vh:`100vh`,vw:`100vw`,fc:`fit-content`,full:`100%`,half:`50%`,max:`max-content`,min:`min-content`,px:`1px`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`}}},p={red:`#d73d3d`,orange:`#e06814`,yellow:`#d3a107`,green:`#1fb155`,teal:`#12a695`,cyan:`#05a4bf`,blue:`#3575dd`,indigo:`#595cd9`,violet:`#7d53dd`,pink:`#d4418a`,slate:`#3f3f4e`,gray:`#606773`,silver:`#bfc2c7`},m=t=>{let n=[];for(let r=1;r<=6;r++){let i=(7-r)*14,a=e.mix(t,`white`,i);n.push(a.toHexString())}n.push(e(t).toHexString());for(let r=1;r<=6;r++){let i=r*14,a=e.mix(t,`black`,i);n.push(a.toHexString())}return n},h={...(()=>{let e={};return Object.entries(p).forEach(([t,n])=>{let r=m(n);for(let n=0;n<6;n++){let i=`${t}-${n+1}`;e[i]=r[n]}e[t]=r[6];for(let n=7;n<13;n++){let i=`${t}-${n}`;e[i]=r[n]}}),e})(),black:`black`,white:`white`,transparent:`transparent`,current:`currentColor`},g={"accent-color":{prefix:`ac`,properties:[`accent-color`],slug:`accent-color`,values:h},"background-color":{prefix:`bg`,properties:[`background-color`],slug:`background-color`,values:h},"border-color":{prefix:`bc`,properties:[`border-color`],slug:`border-color`,values:h},"border-bottom-color":{prefix:`bc-b`,properties:[`border-bottom-color`],slug:`border-bottom-color`,values:h},"border-left-color":{prefix:`bc-l`,properties:[`border-left-color`],slug:`border-left-color`,values:h},"border-right-color":{prefix:`bc-r`,properties:[`border-right-color`],slug:`border-right-color`,values:h},"border-top-color":{prefix:`bc-t`,properties:[`border-top-color`],slug:`border-top-color`,values:h},"caret-color":{prefix:`cc`,properties:[`caret-color`],slug:`caret-color`,values:h},color:{prefix:`tc`,properties:[`color`],slug:`color`,values:h},fill:{prefix:`f`,properties:[`fill`],slug:`fill`,values:h},"outline-color":{prefix:`oc`,properties:[`outline-color`],slug:`outline-color`,values:h},stroke:{prefix:`s`,properties:[`stroke`],slug:`stroke`,values:h},"text-decoration-color":{prefix:`tdc`,properties:[`text-decoration-color`],slug:`text-decoration-color`,values:h}},_={"backdrop-blur":{prefix:`bf-b`,properties:[`backdrop-filter`],slug:`backdrop-blur`,values:{none:`blur(0px)`,xs:`blur(4px)`,sm:`blur(8px)`,md:`blur(16px)`,lg:`blur(32px)`,xl:`blur(64px)`}},blur:{prefix:`f-b`,properties:[`filter`],slug:`blur`,values:{none:`blur(0px)`,xs:`blur(4px)`,sm:`blur(8px)`,md:`blur(16px)`,lg:`blur(32px)`,xl:`blur(64px)`}},"box-shadow":{prefix:`bs`,properties:[`box-shadow`],slug:`box-shadow`,values:{none:`none`,xs:`1px 3px 5px -3px #0000001a`,sm:`1px 3px 5px -2px #0000001a`,md:`1px 3px 5px -1px #0000001a`,lg:`1px 3px 5px 1px #0000001a`,xl:`1px 3px 5px 2px #0000001a`}},grayscale:{prefix:`f-g`,properties:[`filter`],slug:`grayscale`,values:{0:`grayscale(0%)`,10:`grayscale(10%)`,20:`grayscale(20%)`,30:`grayscale(30%)`,40:`grayscale(40%)`,50:`grayscale(50%)`,60:`grayscale(60%)`,70:`grayscale(70%)`,80:`grayscale(80%)`,90:`grayscale(90%)`,100:`grayscale(100%)`}},opacity:{prefix:`o`,properties:[`opacity`],slug:`opacity`,values:{0:`0`,10:`0.1`,20:`0.2`,30:`0.3`,40:`0.4`,50:`0.5`,60:`0.6`,70:`0.7`,80:`0.8`,90:`0.9`,100:`1`}}},v={"align-content":{prefix:`ac`,properties:[`align-content`],slug:`align-content`,values:{b:`baseline`,c:`center`,fe:`flex-end`,fs:`flex-start`,n:`normal`,st:`stretch`,sa:`space-around`,sb:`space-between`,se:`space-evenly`}},"align-items":{prefix:`ai`,properties:[`align-items`],slug:`align-items`,values:{b:`baseline`,c:`center`,fe:`flex-end`,fs:`flex-start`,st:`stretch`}},"align-self":{prefix:`as`,properties:[`align-self`],slug:`align-self`,values:{auto:`auto`,b:`baseline`,c:`center`,fe:`flex-end`,fs:`flex-start`,st:`stretch`}},"flex-basis":{prefix:`fb`,properties:[`flex-basis`],slug:`flex-basis`,values:{...u({base:.25,unit:`rem`,min:0,max:100}),auto:`auto`,full:`100%`,half:`50%`}},"flex-direction":{prefix:`fd`,properties:[`flex-direction`],slug:`flex-direction`,values:{c:`column`,cr:`column-reverse`,r:`row`,rr:`row-reverse`}},"flex-grow":{prefix:`fg`,properties:[`flex-grow`],slug:`flex-grow`,values:u({base:1,min:0,max:8})},"flex-shrink":{prefix:`fs`,properties:[`flex-shrink`],slug:`flex-shrink`,values:u({base:1,min:0,max:8})},"flex-wrap":{prefix:`fw`,properties:[`flex-wrap`],slug:`flex-wrap`,values:{nw:`nowrap`,w:`wrap`,wr:`wrap-reverse`}},flex:{prefix:`f`,properties:[`flex`],slug:`flex`,values:{1:`1 1 0%`,2:`2 2 0%`,3:`3 3 0%`,4:`4 4 0%`,5:`5 5 0%`,6:`6 6 0%`,auto:`1 1 auto`,none:`none`}},"justify-content":{prefix:`jc`,properties:[`justify-content`],slug:`justify-content`,values:{c:`center`,fe:`flex-end`,fs:`flex-start`,n:`normal`,st:`stretch`,sa:`space-around`,sb:`space-between`,se:`space-evenly`}},"justify-items":{prefix:`ji`,properties:[`justify-items`],slug:`justify-items`,values:{c:`center`,e:`end`,s:`start`,st:`stretch`}},"justify-self":{prefix:`js`,properties:[`justify-self`],slug:`justify-self`,values:{auto:`auto`,c:`center`,e:`end`,s:`start`,st:`stretch`}},order:{prefix:`or`,properties:[`order`],slug:`order`,values:{l:`-9999`,0:`0`,1:`1`,2:`2`,3:`3`,4:`4`,5:`5`,6:`6`,7:`7`,8:`8`,9:`9`,10:`10`,f:`9999`}}},y={"font-family":{prefix:`ff`,properties:[`font-family`],slug:`font-family`,values:{c:`Charter, "Bitstream Charter", "Sitka Text", Cambria, serif`,m:`Nimbus Mono PS", "Courier New", monospace`,s:`system_ui, sans_serif`}},"font-size":{prefix:`fs`,properties:[`font-size`],slug:`font-size`,values:{xs:`0.75rem`,sm:`0.875rem`,md:`1rem`,lg:`1.125rem`,xl:`1.25rem`,xxl:`1.5rem`,"3xl":`1.875rem`,"4xl":`2.25rem`,"5xl":`3rem`,"6xl":`3.75rem`,"7xl":`4.5rem`,"8xl":`6rem`,"9xl":`8rem`}},"font-style":{prefix:`fs`,properties:[`font-style`],slug:`font-style`,values:{i:`italic`,n:`normal`}},"font-weight":{prefix:`fw`,properties:[`font-weight`],slug:`font-weight`,values:{100:`100`,200:`200`,300:`300`,400:`400`,500:`500`,600:`600`,700:`700`,800:`800`,900:`900`}}},b={"column-gap":{prefix:`cg`,properties:[`column-gap`],slug:`column-gap`,values:u({base:c,unit:`rem`,min:0,max:100})},gap:{prefix:`g`,properties:[`gap`],slug:`gap`,values:u({base:c,unit:`rem`,min:0,max:100})},"grid-auto-columns":{prefix:`gac`,properties:[`grid-auto-columns`],slug:`grid-auto-columns`,values:{auto:`auto`,max:`max-content`,min:`min-content`}},"grid-auto-flow":{prefix:`gaf`,properties:[`grid-auto-flow`],slug:`grid-auto-flow`,values:{c:`column`,cd:`column dense`,d:`dense`,r:`row`,rd:`row dense`}},"grid-auto-rows":{prefix:`gar`,properties:[`grid-auto-rows`],slug:`grid-auto-rows`,values:{auto:`auto`,max:`max-content`,min:`min-content`}},"grid-column":{prefix:`gc-s`,properties:[`grid-column`],slug:`grid-column`,values:{1:`span 1 / span 1`,2:`span 2 / span 2`,3:`span 3 / span 3`,4:`span 4 / span 4`,5:`span 5 / span 5`,6:`span 6 / span 6`,7:`span 7 / span 7`,8:`span 8 / span 8`,9:`span 9 / span 9`,10:`span 10 / span 10`,11:`span 11 / span 11`,12:`span 12 / span 12`,13:`span 13 / span 13`,14:`span 14 / span 14`,15:`span 15 / span 15`,16:`span 16 / span 16`}},"grid-column-end":{prefix:`gce`,properties:[`grid-column-end`],slug:`grid-column-end`,values:u({base:1,min:1,max:16})},"grid-column-start":{prefix:`gcs`,properties:[`grid-column-start`],slug:`grid-column-start`,values:u({base:1,min:1,max:16})},"grid-row":{prefix:`gr-s`,properties:[`grid-row`],slug:`grid-row`,values:{1:`span 1 / span 1`,2:`span 2 / span 2`,3:`span 3 / span 3`,4:`span 4 / span 4`,5:`span 5 / span 5`,6:`span 6 / span 6`,7:`span 7 / span 7`,8:`span 8 / span 8`,9:`span 9 / span 9`,10:`span 10 / span 10`,11:`span 11 / span 11`,12:`span 12 / span 12`,13:`span 13 / span 13`,14:`span 14 / span 14`,15:`span 15 / span 15`,16:`span 16 / span 16`}},"grid-row-end":{prefix:`gre`,properties:[`grid-row-end`],slug:`grid-row-end`,values:u({base:1,min:1,max:16})},"grid-row-start":{prefix:`grs`,properties:[`grid-row-start`],slug:`grid-row-start`,values:u({base:1,min:1,max:16})},"grid-template-columns":{prefix:`gtc`,properties:[`grid-template-columns`],slug:`grid-template-columns`,values:{1:`repeat(1, minmax(0, 1fr))`,2:`repeat(2, minmax(0, 1fr))`,3:`repeat(3, minmax(0, 1fr))`,4:`repeat(4, minmax(0, 1fr))`,5:`repeat(5, minmax(0, 1fr))`,6:`repeat(6, minmax(0, 1fr))`,7:`repeat(7, minmax(0, 1fr))`,8:`repeat(8, minmax(0, 1fr))`,9:`repeat(9, minmax(0, 1fr))`,10:`repeat(10, minmax(0, 1fr))`,11:`repeat(11, minmax(0, 1fr))`,12:`repeat(12, minmax(0, 1fr))`,13:`repeat(13, minmax(0, 1fr))`,14:`repeat(14, minmax(0, 1fr))`,15:`repeat(15, minmax(0, 1fr))`,16:`repeat(16, minmax(0, 1fr))`}},"grid-template-rows":{prefix:`gtr`,properties:[`grid-template-rows`],slug:`grid-template-rows`,values:{1:`repeat(1, minmax(0, 1fr))`,2:`repeat(2, minmax(0, 1fr))`,3:`repeat(3, minmax(0, 1fr))`,4:`repeat(4, minmax(0, 1fr))`,5:`repeat(5, minmax(0, 1fr))`,6:`repeat(6, minmax(0, 1fr))`,7:`repeat(7, minmax(0, 1fr))`,8:`repeat(8, minmax(0, 1fr))`,9:`repeat(9, minmax(0, 1fr))`,10:`repeat(10, minmax(0, 1fr))`,11:`repeat(11, minmax(0, 1fr))`,12:`repeat(12, minmax(0, 1fr))`,13:`repeat(13, minmax(0, 1fr))`,14:`repeat(14, minmax(0, 1fr))`,15:`repeat(15, minmax(0, 1fr))`,16:`repeat(16, minmax(0, 1fr))`}},"place-content":{prefix:`pc`,properties:[`place-content`],slug:`place-content`,values:{b:`baseline`,c:`center`,e:`end`,s:`start`,sa:`space-around`,sb:`space-between`,se:`space-evenly`,st:`stretch`}},"place-items":{prefix:`pi`,properties:[`place-items`],slug:`place-items`,values:{b:`baseline`,c:`center`,e:`end`,s:`start`,st:`stretch`}},"place-self":{prefix:`ps`,properties:[`place-self`],slug:`place-self`,values:{auto:`auto`,c:`center`,e:`end`,s:`start`,st:`stretch`}},"row-gap":{prefix:`rg`,properties:[`row-gap`],slug:`row-gap`,values:u({base:c,unit:`rem`,min:0,max:100})}},x={appearance:{prefix:`a`,properties:[`appearance`],slug:`appearance`,values:{auto:`auto`,none:`none`}},cursor:{prefix:`c`,properties:[`cursor`],slug:`cursor`,values:{auto:`auto`,ch:`crosshair`,cr:`col-resize`,d:`default`,h:`help`,m:`move`,na:`not-allowed`,ner:`ne-resize`,neswr:`nesw-resize`,none:`none`,nr:`n-resize`,nwr:`nw-resize`,nwser:`nwse-resize`,p:`pointer`,pr:`progress`,rs:`row-resize`,ser:`se-resize`,sr:`s-resize`,swr:`sw-resize`,t:`text`,w:`wait`,wr:`w-resize`,zi:`zoom-in`,zo:`zoom-out`}},"field-sizing":{prefix:`fs`,properties:[`field-sizing`],slug:`field-sizing`,values:{f:`fixed`,c:`content`}},"pointer-events":{prefix:`pe`,properties:[`pointer-events`],slug:`pointer-events`,values:{auto:`auto`,none:`none`}},resize:{prefix:`r`,properties:[`resize`],slug:`resize`,values:{b:`both`,h:`horizontal`,none:`none`,v:`vertical`}},"scroll-behavior":{prefix:`sb`,properties:[`scroll-behavior`],slug:`scroll-behavior`,values:{auto:`auto`,s:`smooth`}},"scroll-margin":{prefix:`sm`,properties:[`scroll-margin`],slug:`scroll-margin`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-bottom":{prefix:`smb`,properties:[`scroll-margin-bottom`],slug:`scroll-margin/#bottom`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-inline-start":{prefix:`smis`,properties:[`scroll-margin-inline-start`],slug:`scroll-margin/#inline-start`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-left":{prefix:`sml`,properties:[`scroll-margin-left`],slug:`scroll-margin/#scroll-margin-left`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-right":{prefix:`smr`,properties:[`scroll-margin-right`],slug:`scroll-margin/#scroll-margin-right`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-top":{prefix:`smt`,properties:[`scroll-margin-top`],slug:`scroll-margin/#scroll-margin-top`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-inline-end":{prefix:`smie`,properties:[`scroll-margin-inline-end`],slug:`scroll-margin/#scroll-margin-inline-end`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-x":{prefix:`smx`,properties:[`scroll-margin-left`,`scroll-margin-right`],slug:`scroll-margin/#scroll-margin-x`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-margin-y":{prefix:`smy`,properties:[`scroll-margin-bottom`,`scroll-margin-top`],slug:`scroll-margin/#scroll-margin-y`,values:u({base:s,unit:`rem`,min:0,max:100})},"scroll-padding":{prefix:`sp`,properties:[`scroll-padding`],slug:`scroll-padding`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-bottom":{prefix:`spb`,properties:[`scroll-padding-bottom`],slug:`scroll-padding/#bottom`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-inline-start":{prefix:`spis`,properties:[`scroll-padding-inline-start`],slug:`scroll-padding/#scroll-padding-inline-start`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-left":{prefix:`spl`,properties:[`scroll-padding-left`],slug:`scroll-padding/#scroll-padding-left`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-right":{prefix:`spr`,properties:[`scroll-padding-right`],slug:`scroll-padding/#scroll-padding-right`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-top":{prefix:`spt`,properties:[`scroll-padding-top`],slug:`scroll-padding/#scroll-padding-top`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-inline-end":{prefix:`spie`,properties:[`scroll-padding-inline-end`],slug:`scroll-padding/#scroll-padding-inline-end`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-x":{prefix:`spx`,properties:[`scroll-padding-left`,`scroll-padding-right`],slug:`scroll-padding/#scroll-padding-x`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-padding-y":{prefix:`spy`,properties:[`scroll-padding-bottom`,`scroll-padding-top`],slug:`scroll-padding/#scroll-padding-y`,values:u({base:o,unit:`rem`,min:0,max:100})},"scroll-snap-align":{prefix:`ssa`,properties:[`scroll-snap-align`],slug:`scroll-snap-align`,values:{c:`center`,e:`end`,none:`none`,s:`start`}},"scroll-snap-stop":{prefix:`sss`,properties:[`scroll-snap-stop`],slug:`scroll-snap-stop`,values:{a:`always`,n:`normal`}},"scroll-snap-type":{prefix:`sst`,properties:[`scroll-snap-type`],slug:`scroll-snap-type`,values:{"b-m":`both mandatory`,none:`none`,"x-m":`x mandatory`,"x-p":`x proximity`,"y-m":`y mandatory`,"y-p":`y proximity`}},"user-select":{prefix:`us`,properties:[`user-select`],slug:`user-select`,values:{a:`all`,auto:`auto`,none:`none`,t:`text`}}},S={"outline-offset":{prefix:`oo`,properties:[`outline-offset`],slug:`outline-offset`,values:u({base:1,unit:`px`,min:0,max:4})},"outline-style":{prefix:`os`,properties:[`outline-style`],slug:`outline-style`,values:{none:`none`,d:`dashed`,s:`solid`}},"outline-width":{prefix:`ow`,properties:[`outline-width`],slug:`outline-width`,values:u({base:1,unit:`px`,min:0,max:4})}},C={"aspect-ratio":{prefix:`ar`,properties:[`aspect-ratio`],slug:`aspect-ratio`,values:{auto:`auto`,"1/1":`1/1`,"1/2":`1/2`,"16/9":`16/9`,"2/1":`2/1`,"2/3":`2/3`,"3/2":`3/2`,"9/16":`9/16`}},clear:{prefix:`cl`,properties:[`clear`],slug:`clear`,values:{b:`both`,ie:`inline-end`,is:`inline-start`,l:`left`,none:`none`,r:`right`}},columns:{prefix:`c`,properties:[`columns`],slug:`columns`,values:u({base:1,min:1,max:16})},bottom:{prefix:`bo`,properties:[`bottom`],slug:`bottom`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},inset:{prefix:`i`,properties:[`inset`],slug:`inset`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},"inset-x":{prefix:`ix`,properties:[`left`,`right`],slug:`inset-x`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},"inset-y":{prefix:`iy`,properties:[`top`,`bottom`],slug:`inset-y`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},isolation:{prefix:`i`,properties:[`isolation`],slug:`isolation`,values:{auto:`auto`,i:`isolate`}},left:{prefix:`l`,properties:[`left`],slug:`left`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},right:{prefix:`r`,properties:[`right`],slug:`right`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},top:{prefix:`t`,properties:[`top`],slug:`top`,values:{...u({base:l,unit:`rem`,min:0,max:16}),full:`100%`,half:`50%`}},display:{prefix:`d`,properties:[`display`],slug:`display`,values:{b:`block`,f:`flex`,fr:`flow-root`,g:`grid`,i:`inline`,ib:`inline-block`,if:`inline-flex`,ig:`inline-grid`,it:`inline-table`,none:`none`,t:`table`,tc:`table-cell`,tco:`table-column`,tr:`table-row`}},float:{prefix:`fl`,properties:[`float`],slug:`float`,values:{ie:`inline-end`,is:`inline-start`,l:`left`,none:`none`,r:`right`}},"object-fit":{prefix:`of`,properties:[`object-fit`],slug:`object-fit`,values:{c:`cover`,f:`fill`,none:`none`,sd:`scale-down`}},"object-position":{prefix:`op`,properties:[`object-position`],slug:`object-position`,values:{b:`bottom`,c:`center`,l:`left`,lb:`left bottom`,lt:`left top`,r:`right`,rb:`right bottom`,rt:`right top`,t:`top`}},overflow:{prefix:`o`,properties:[`overflow`],slug:`overflow`,values:{auto:`auto`,c:`clip`,h:`hidden`,s:`scroll`,v:`visible`}},"overflow-x":{prefix:`o-x`,properties:[`overflow-x`],slug:`overflow-x`,values:{auto:`auto`,c:`clip`,h:`hidden`,s:`scroll`,v:`visible`}},"overflow-y":{prefix:`o-y`,properties:[`overflow-y`],slug:`overflow-y`,values:{auto:`auto`,c:`clip`,h:`hidden`,s:`scroll`,v:`visible`}},position:{prefix:`p`,properties:[`position`],slug:`position`,values:{a:`absolute`,f:`fixed`,r:`relative`,s:`static`,st:`sticky`}},visibility:{prefix:`v`,properties:[`visibility`],slug:`visibility`,values:{c:`collapse`,h:`hidden`,v:`visible`}},"z-index":{prefix:`zi`,properties:[`z-index`],slug:`z-index`,values:{0:`0`,10:`10`,20:`20`,30:`30`,40:`40`,50:`50`,60:`60`,70:`70`,80:`80`,90:`90`,auto:`auto`}}},w={"stroke-width":{prefix:`sw`,properties:[`stroke-width`],slug:`stroke-width`,values:{0:`0`,2:`0.2`,4:`0.4`,6:`0.6`,8:`0.8`,1:`1`}}},T={"caption-side":{prefix:`cs`,properties:[`caption-side`],slug:`caption-side`,values:{t:`top`,b:`bottom`}},"table-layout":{prefix:`tl`,properties:[`table-layout`],slug:`table-layout`,values:{a:`auto`,f:`fixed`}}},E={"letter-spacing":{prefix:`ls`,properties:[`letter-spacing`],slug:`letter-spacing`,values:{0:`0em`,1:`-0.05em`,2:`-0.025em`,3:`0.025em`,4:`0.05em`,5:`0.1em`}},"line-height":{prefix:`lh`,properties:[`line-height`],slug:`line-height`,values:{1:`1`,2:`1.25`,3:`1.375`,4:`1.5`,5:`1.625`,6:`2`}},"list-style-position":{prefix:`lsp`,properties:[`list-style-position`],slug:`list-style-position`,values:{i:`inside`,o:`outside`}},"list-style-type":{prefix:`lst`,properties:[`list-style-type`],slug:`list-style-type`,values:{c:`circle`,d:`disc`,s:`square`}},"overflow-wrap":{prefix:`ow`,properties:[`overflow-wrap`],slug:`overflow-wrap`,values:{bw:`break-word`,n:`normal`}},"text-align":{prefix:`ta`,properties:[`text-align`],slug:`text-align`,values:{c:`center`,e:`end`,j:`justify`,ja:`justify-all`,l:`left`,mp:`match-parent`,r:`right`,s:`start`}},"text-decoration-line":{prefix:`tdl`,properties:[`text-decoration-line`],slug:`text-decoration-line`,values:{lt:`line-through`,none:`none`,o:`overline`,u:`underline`}},"text-decoration-style":{prefix:`tds`,properties:[`text-decoration-style`],slug:`text-decoration-style`,values:{d:`dashed`,s:`solid`,w:`wavy`}},"text-decoration-thickness":{prefix:`tdt`,properties:[`text-decoration-thickness`],slug:`text-decoration-thickness`,values:{...u({base:1,unit:`rem`,min:0,max:4}),auto:`auto`,ff:`from-font`}},"text-decoration":{prefix:`td`,properties:[`text-decoration`],slug:`text-decoration`,values:{none:`none`,u:`underline`}},"text-indent":{prefix:`ti`,properties:[`text-indent`],slug:`text-indent`,values:{0:`0px`,1:`1px`,2:`0.25rem`,3:`0.5rem`,4:`0.75rem`}},"text-overflow":{prefix:`to`,properties:[`text-overflow`],slug:`text-overflow`,values:{c:`clip`,e:`ellipsis`}},"text-transform":{prefix:`tt`,properties:[`text-transform`],slug:`text-transform`,values:{c:`capitalize`,l:`lowercase`,n:`none`,u:`uppercase`}},"text-underline-offset":{prefix:`tuo`,properties:[`text-underline-offset`],slug:`text-underline-offset`,values:{0:`0px`,1:`1px`,2:`2px`,4:`4px`,8:`8px`,auto:`auto`}},"text-wrap":{prefix:`tw`,properties:[`text-wrap`],slug:`text-wrap`,values:{b:`balance`,n:`nowrap`,p:`pretty`,w:`wrap`}},"white-space":{prefix:`ws`,properties:[`white-space`],slug:`white-space`,values:{bs:`break-spaces`,n:`normal`,nw:`nowrap`,p:`pre`,pl:`pre-line`,pw:`pre-wrap`}}},D={rotate:{prefix:`t-r`,properties:[`transform`],slug:`rotate`,values:{0:`rotate(0)`,5:`rotate(5deg)`,10:`rotate(10deg)`,15:`rotate(15deg)`,20:`rotate(20deg)`,25:`rotate(25deg)`,30:`rotate(30deg)`,35:`rotate(35deg)`,40:`rotate(40deg)`,45:`rotate(45deg)`,50:`rotate(50deg)`,55:`rotate(55deg)`,60:`rotate(60deg)`,65:`rotate(65deg)`,70:`rotate(70deg)`,75:`rotate(75deg)`,80:`rotate(80deg)`,85:`rotate(85deg)`,90:`rotate(90deg)`,95:`rotate(95deg)`,100:`rotate(100deg)`}},scale:{prefix:`t-s`,properties:[`transform`],slug:`scale`,values:{0:`scale(0%)`,10:`scale(10%)`,20:`scale(20%)`,30:`scale(30%)`,40:`scale(40%)`,50:`scale(50%)`,60:`scale(60%)`,70:`scale(70%)`,80:`scale(80%)`,90:`scale(90%)`,100:`scale(100%)`}},"scale-x":{prefix:`t-sx`,properties:[`transform`],slug:`scale-x`,values:{0:`scaleX(0%)`,10:`scaleX(10%)`,20:`scaleX(20%)`,30:`scaleX(30%)`,40:`scaleX(40%)`,50:`scaleX(50%)`,60:`scaleX(60%)`,70:`scaleX(70%)`,80:`scaleX(80%)`,90:`scaleX(90%)`,100:`scaleX(100%)`}},"scale-y":{prefix:`t-sy`,properties:[`transform`],slug:`scale-y`,values:{0:`scaleY(0%)`,10:`scaleY(10%)`,20:`scaleY(20%)`,30:`scaleY(30%)`,40:`scaleY(40%)`,50:`scaleY(50%)`,60:`scaleY(60%)`,70:`scaleY(70%)`,80:`scaleY(80%)`,90:`scaleY(90%)`,100:`scaleY(100%)`}},skew:{prefix:`t-sk`,properties:[`transform`],slug:`skew`,values:{1:`skew(1deg)`,2:`skew(2deg)`,3:`skew(3deg)`,6:`skew(6deg)`,12:`skew(12deg)`}},"skew-x":{prefix:`t-skx`,properties:[`transform`],slug:`skew-x`,values:{1:`skewX(1deg)`,2:`skewX(2deg)`,3:`skewX(3deg)`,6:`skewX(6deg)`,12:`skewX(12deg)`}},"skew-y":{prefix:`t-sky`,properties:[`transform`],slug:`skew-y`,values:{1:`skewY(1deg)`,2:`skewY(2deg)`,3:`skewY(3deg)`,6:`skewY(6deg)`,12:`skewY(12deg)`}},"transform-origin":{prefix:`t-o`,properties:[`transform-origin`],slug:`transform-origin`,values:{b:`bottom`,bl:`bottom left`,br:`bottom right`,c:`center`,l:`left`,r:`right`,t:`top`,tl:`top left`,tr:`top right`}}},O={...t,...d,...f,...g,..._,...v,...y,...b,...x,...S,...C,...w,...T,...E,...D},k=()=>O,A=()=>t,j=()=>d,M=()=>f,N=()=>g,P=()=>_,F=()=>v,I=()=>y,L=()=>b,R=()=>x,z=()=>S,B=()=>C,V=()=>w,H=()=>T,U=()=>E,W=()=>D;export{k as getAllUtils,A as getBackgroundUtils,j as getBorderUtils,M as getBoxModelUtils,N as getColorUtils,P as getEffectUtils,F as getFlexboxUtils,I as getFontUtils,L as getGridUtils,R as getInteractivityUtils,z as getOutlineUtils,B as getPositioningUtils,V as getSvgUtils,H as getTableUtils,U as getTextUtils,W as getTransformUtils};
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yummacss/api",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Yumma CSS
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "Yumma CSS definitions for Javascript apps.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"api",
|
|
7
|
-
"css-utilities",
|
|
8
|
-
"typescript-library",
|
|
9
6
|
"typescript",
|
|
10
7
|
"yummacss"
|
|
11
8
|
],
|
|
@@ -28,27 +25,28 @@
|
|
|
28
25
|
"type": "git",
|
|
29
26
|
"url": "https://github.com/yumma-lib/yumma-css-api.git"
|
|
30
27
|
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "tsup",
|
|
33
|
-
"check": "tsc --noEmit",
|
|
34
|
-
"dev": "tsup --watch",
|
|
35
|
-
"format": "prettier --write .",
|
|
36
|
-
"lint": "eslint src --ext .ts"
|
|
37
|
-
},
|
|
38
28
|
"dependencies": {
|
|
39
|
-
"@types/tinycolor2": "^1.4.6",
|
|
40
29
|
"tinycolor2": "^1.6.0"
|
|
41
30
|
},
|
|
42
31
|
"devDependencies": {
|
|
43
32
|
"@types/node": "^20.17.27",
|
|
33
|
+
"@types/tinycolor2": "^1.4.6",
|
|
44
34
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
45
35
|
"@typescript-eslint/parser": "^7.0.0",
|
|
46
36
|
"eslint": "^8.57.1",
|
|
47
37
|
"prettier-plugin-organize-imports": "^4.2.0",
|
|
48
|
-
"
|
|
38
|
+
"tsdown": "^0.15.0",
|
|
49
39
|
"typescript": "^5.8.2"
|
|
50
40
|
},
|
|
51
41
|
"publishConfig": {
|
|
52
|
-
"access": "public"
|
|
42
|
+
"access": "public",
|
|
43
|
+
"provenance": true
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "tsdown",
|
|
47
|
+
"check": "tsc --noEmit",
|
|
48
|
+
"dev": "tsdown --watch",
|
|
49
|
+
"format": "prettier --write .",
|
|
50
|
+
"lint": "eslint src --ext .ts"
|
|
53
51
|
}
|
|
54
|
-
}
|
|
52
|
+
}
|