@yummacss/core 3.13.0 → 3.14.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/package.json +4 -9
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -363
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yummacss/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"description": "Core utility definitions for Yumma CSS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css-framework",
|
|
@@ -18,16 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
|
-
"types":
|
|
22
|
-
|
|
23
|
-
"require": "./dist/index.d.cts"
|
|
24
|
-
},
|
|
25
|
-
"import": "./dist/index.mjs",
|
|
26
|
-
"require": "./dist/index.cjs"
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"import": "./dist/index.mjs"
|
|
27
23
|
}
|
|
28
24
|
},
|
|
29
|
-
"main": "dist/index.
|
|
30
|
-
"module": "dist/index.mjs",
|
|
25
|
+
"main": "dist/index.mjs",
|
|
31
26
|
"types": "dist/index.d.mts",
|
|
32
27
|
"files": [
|
|
33
28
|
"dist"
|
package/dist/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require(`tinycolor2`);c=s(c);const l=[{prefix:`pc`,value:`@media (pointer: coarse)`},{prefix:`sm`,value:`@media (width >= 40rem)`},{prefix:`md`,value:`@media (width >= 48rem)`},{prefix:`lg`,value:`@media (width >= 64rem)`},{prefix:`xl`,value:`@media (width >= 80rem)`},{prefix:`xxl`,value:`@media (width >= 96rem)`}],u=[{prefix:`0`,value:`00`},{prefix:`5`,value:`0d`},{prefix:`10`,value:`1a`},{prefix:`15`,value:`26`},{prefix:`20`,value:`33`},{prefix:`25`,value:`40`},{prefix:`30`,value:`4d`},{prefix:`35`,value:`59`},{prefix:`40`,value:`66`},{prefix:`45`,value:`73`},{prefix:`50`,value:`80`},{prefix:`55`,value:`8c`},{prefix:`60`,value:`99`},{prefix:`65`,value:`a6`},{prefix:`70`,value:`b3`},{prefix:`75`,value:`bf`},{prefix:`80`,value:`cc`},{prefix:`85`,value:`d9`},{prefix:`90`,value:`e6`},{prefix:`95`,value:`f2`}],d=[{prefix:`a`,value:`:active`},{prefix:`c`,value:`:checked`},{prefix:`d`,value:`:disabled`},{prefix:`e`,value:`:empty`},{prefix:`f`,value:`:focus`},{prefix:`fc`,value:`:first-child`},{prefix:`fv`,value:`:focus-visible`},{prefix:`fw`,value:`:focus-within`},{prefix:`h`,value:`:hover`},{prefix:`i`,value:`:invalid`},{prefix:`in`,value:`:indeterminate`},{prefix:`lc`,value:`:last-child`},{prefix:`nc`,value:`:nth-child`},{prefix:`r`,value:`:required`},{prefix:`ro`,value:`:read-only`},{prefix:`v`,value:`:valid`}],f=[{prefix:`a`,value:`::after`},{prefix:`b`,value:`::before`},{prefix:`p`,value:`::placeholder`},{prefix:`s`,value:`::selection`}],p={pseudoClasses:d,pseudoElements:f,mediaQueries:l},m={mediaQueries:l,opacity:u,pseudoClasses:d,pseudoElements:f},h={"background-attachment":{prefix:`ba`,properties:[`background-attachment`],slug:`background-attachment`,values:{f:`fixed`,l:`local`,s:`scroll`},variants:p},"background-clip":{prefix:`bc`,properties:[`background-clip`],slug:`background-clip`,values:{bb:`border-box`,cb:`content-box`,pb:`padding-box`,t:`text`},variants:p},"background-origin":{prefix:`bo`,properties:[`background-origin`],slug:`background-origin`,values:{bb:`border-box`,cb:`content-box`,pb:`padding-box`},variants:p},"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`},variants:p},"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`},variants:p},"background-size":{prefix:`bs`,properties:[`background-size`],slug:`background-size`,values:{auto:`auto`,c:`cover`,co:`contain`},variants:p}},g=({base:e,unit:t=``,min:n=0,max:r=100,step:i=1,keyAsValue:a=!1,wrapper:o,extras:s})=>{let c={};for(let s=n;s<=r;s+=i){let n=e*s,r=a?n.toString():s.toString(),i=`${n}${t}`;o&&(i=o(i)),c[r]=i}return s&&Object.assign(c,s),c},ee=1,te=.25,ne=.25,re=1,ie=1,ae=`#e63946`,oe=`#ff6b35`,se=`#ffb81c`,ce=`#84cc16`,le=`#10b981`,ue=`#06d6a0`,de=`#06b6d4`,fe=`#38bdf8`,pe=`#2563eb`,me=`#6366f1`,he=`#8b5cf6`,ge=`#a78bfa`,_e=`#d946ef`,ve=`#ec4899`,ye=`#ff6f91`,be=`#52525b`,xe=`#6b7280`,Se=`#64748b`,Ce=`#9ca3af`,we=`#000000`,Te=`#ffffff`,Ee=`transparent`,De=`currentColor`,Oe=.25,ke=.25,Ae=.25,je=.25,Me=.25,Ne=.25,Pe=.25,Fe=4,Ie=`1px 3px 5px -3px #0000001a`,Le=`1px 3px 5px -2px #0000001a`,Re=`1px 3px 5px -1px #0000001a`,ze=`1px 3px 5px 1px #0000001a`,Be=`1px 3px 5px 2px #0000001a`,Ve=10,He=.25,Ue=`ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, 'Roboto Mono', 'Ubuntu Mono', Consolas, 'Liberation Mono', 'Courier New', monospace`,We=`'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif`,Ge=`system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,Ke=.75,qe=.875,Je=1,Ye=1.125,Xe=1.25,Ze=1.5,Qe=1.875,$e=2.25,et=3,tt=3.75,nt=4.5,rt=6,it=8,at=1,_={...g({base:.25,unit:`rem`,min:0,max:8}),full:`100%`,half:`50%`,pill:`9999px`,px:`1px`},v={...g({base:.25,unit:`rem`,min:0,max:8}),px:`1px`},y=g({base:1,unit:`px`,min:0,max:8}),b={...g({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`,s:`stretch`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`},x={...g({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`,s:`stretch`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`},S={...g({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`,s:`stretch`,sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,xxl:`96rem`},C={...g({base:.25,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`},w={...g({base:.25,unit:`rem`,min:0,max:100}),auto:`auto`,px:`1px`},ot={red:`#e63946`,orange:`#ff6b35`,yellow:`#ffb81c`,lime:`#84cc16`,mint:`#10b981`,green:`#06d6a0`,cyan:`#06b6d4`,sky:`#38bdf8`,blue:`#2563eb`,indigo:`#6366f1`,violet:`#8b5cf6`,lavender:`#a78bfa`,magenta:`#d946ef`,pink:`#ec4899`,coral:`#ff6f91`,zinc:`#52525b`,gray:`#6b7280`,slate:`#64748b`,silver:`#9ca3af`},st=14,ct=e=>{let t=[];for(let n=1;n<=6;n++){let r=(7-n)*14,i=c.default.mix(e,`white`,r);t.push(i.toHexString())}t.push((0,c.default)(e).toHexString());for(let n=1;n<=6;n++){let r=n*14,i=c.default.mix(e,`black`,r);t.push(i.toHexString())}return t},lt=()=>{let e={};return Object.entries(ot).forEach(([t,n])=>{let r=ct(n);for(let n=0;n<6;n++){let i=`${t}-${n+1}`,a=r[n];a&&(e[i]=a)}let i=r[6];i&&(e[t]=i);for(let n=7;n<13;n++){let i=`${t}-${n}`,a=r[n];a&&(e[i]=a)}}),e},ut=lt(),T={...ut,black:`#000000`,current:`currentColor`,transparent:`transparent`,white:`#ffffff`},E={none:`blur(0px)`,xs:`blur(4px)`,sm:`blur(8px)`,md:`blur(16px)`,lg:`blur(32px)`,xl:`blur(64px)`},D={...g({base:1,min:0,max:8})},O={...g({base:.25,unit:`rem`,min:0,max:100}),px:`1px`},k={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`},A={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))`},j={auto:`auto`,max:`max-content`,min:`min-content`},M={...g({base:1,min:1,max:16})},N=C,P=w,F={...g({base:.25,unit:`rem`,min:0,max:100}),auto:`auto`,full:`100%`,half:`50%`},I=g({base:1,unit:`ms`,min:0,max:1e3,step:50,keyAsValue:!0}),L={"border-collapse":{prefix:`bc`,properties:[`border-collapse`],slug:`border-collapse`,values:{c:`collapse`,s:`separate`},variants:p},"border-radius":{prefix:`br`,properties:[`border-radius`],slug:`border-radius`,values:_,variants:p},"border-bottom-radius":{prefix:`br-b`,properties:[`border-bottom-left-radius`,`border-bottom-right-radius`],slug:`border-radius#bottom-radius`,values:_,variants:p},"border-left-radius":{prefix:`br-l`,properties:[`border-bottom-left-radius`,`border-top-left-radius`],slug:`border-radius#left-radius`,values:_,variants:p},"border-right-radius":{prefix:`br-r`,properties:[`border-bottom-right-radius`,`border-top-right-radius`],slug:`border-radius#right-radius`,values:_,variants:p},"border-bottom-left-radius":{prefix:`br-bl`,properties:[`border-bottom-left-radius`],slug:`border-radius#bottom-left-radius`,values:_,variants:p},"border-bottom-right-radius":{prefix:`br-br`,properties:[`border-bottom-right-radius`],slug:`border-radius#bottom-right-radius`,values:_,variants:p},"border-top-radius":{prefix:`br-t`,properties:[`border-top-left-radius`,`border-top-right-radius`],slug:`border-radius#top-radius`,values:_,variants:p},"border-top-left-radius":{prefix:`br-tl`,properties:[`border-top-left-radius`],slug:`border-radius#top-left-radius`,values:_,variants:p},"border-top-right-radius":{prefix:`br-tr`,properties:[`border-top-right-radius`],slug:`border-radius#top-right-radius`,values:_,variants:p},"border-spacing":{prefix:`bs`,properties:[`border-spacing`],slug:`border-spacing`,values:v,variants:p},"border-style":{prefix:`bs`,properties:[`border-style`],slug:`border-style`,values:{none:`none`,d:`dashed`,s:`solid`},variants:p},"border-width":{prefix:`bw`,properties:[`border-width`],slug:`border-width`,values:y,variants:p},"border-bottom-width":{prefix:`bbw`,properties:[`border-bottom-width`],slug:`border-bottom-radius`,values:y,variants:p},"border-left-width":{prefix:`blw`,properties:[`border-left-width`],slug:`border-width#left-width`,values:y,variants:p},"border-right-width":{prefix:`brw`,properties:[`border-right-width`],slug:`border-width#right-width`,values:y,variants:p},"border-top-width":{prefix:`btw`,properties:[`border-top-width`],slug:`border-width#top-width`,values:y,variants:p}},R={"box-sizing":{prefix:`bs`,properties:[`box-sizing`],slug:`box-sizing`,values:{bb:`border-box`,cb:`content-box`},variants:p},dimension:{prefix:`d`,properties:[`height`,`width`],slug:`dimension`,values:b,variants:p},"max-dimension":{prefix:`max-d`,properties:[`max-height`,`max-width`],slug:`dimension#max-dimension`,values:b,variants:p},"min-dimension":{prefix:`min-d`,properties:[`min-height`,`min-width`],slug:`dimension#min-dimension`,values:b,variants:p},height:{prefix:`h`,properties:[`height`],slug:`height`,values:x,variants:p},"max-height":{prefix:`max-h`,properties:[`max-height`],slug:`height#max-height`,values:x,variants:p},"min-height":{prefix:`min-h`,properties:[`min-height`],slug:`height#min-height`,values:x,variants:p},margin:{prefix:`m`,properties:[`margin`],slug:`margin`,values:C,variants:p},"margin-block-end":{prefix:`mbe`,properties:[`margin-block-end`],slug:`margin#block-end`,values:C,variants:p},"margin-block-start":{prefix:`mbs`,properties:[`margin-block-start`],slug:`margin#block-start`,values:C,variants:p},"margin-bottom":{prefix:`mb`,properties:[`margin-bottom`],slug:`margin#bottom`,values:C,variants:p},"margin-inline-end":{prefix:`mie`,properties:[`margin-inline-end`],slug:`margin#inline-end`,values:C,variants:p},"margin-inline-start":{prefix:`mis`,properties:[`margin-inline-start`],slug:`margin#inline-start`,values:C,variants:p},"margin-left":{prefix:`ml`,properties:[`margin-left`],slug:`margin#left`,values:C,variants:p},"margin-right":{prefix:`mr`,properties:[`margin-right`],slug:`margin#right`,values:C,variants:p},"margin-top":{prefix:`mt`,properties:[`margin-top`],slug:`margin#top`,values:C,variants:p},"margin-inline":{prefix:`mx`,properties:[`margin-inline`],slug:`margin#margin-inline`,values:C,variants:p},"margin-block":{prefix:`my`,properties:[`margin-block`],slug:`margin#margin-block`,values:C,variants:p},padding:{prefix:`p`,properties:[`padding`],slug:`padding`,values:w,variants:p},"padding-block-end":{prefix:`pbe`,properties:[`padding-block-end`],slug:`padding#block-end`,values:w,variants:p},"padding-block-start":{prefix:`pbs`,properties:[`padding-block-start`],slug:`padding#block-start`,values:w,variants:p},"padding-bottom":{prefix:`pb`,properties:[`padding-bottom`],slug:`padding#bottom`,values:w,variants:p},"padding-inline-end":{prefix:`pie`,properties:[`padding-inline-end`],slug:`padding#inline-end`,values:w,variants:p},"padding-inline-start":{prefix:`pis`,properties:[`padding-inline-start`],slug:`padding#inline-start`,values:w,variants:p},"padding-left":{prefix:`pl`,properties:[`padding-left`],slug:`padding#left`,values:w,variants:p},"padding-right":{prefix:`pr`,properties:[`padding-right`],slug:`padding#right`,values:w,variants:p},"padding-top":{prefix:`pt`,properties:[`padding-top`],slug:`padding#top`,values:w,variants:p},"padding-inline":{prefix:`px`,properties:[`padding-inline`],slug:`padding#padding-inline`,values:w,variants:p},"padding-block":{prefix:`py`,properties:[`padding-block`],slug:`padding#padding-block`,values:w,variants:p},width:{prefix:`w`,properties:[`width`],slug:`width`,values:S,variants:p},"max-width":{prefix:`max-w`,properties:[`max-width`],slug:`width#max-width`,values:S,variants:p},"min-width":{prefix:`min-w`,properties:[`min-width`],slug:`width#min-width`,values:S,variants:p}},z={"accent-color":{prefix:`ac`,properties:[`accent-color`],slug:`accent-color`,values:T,variants:m},"background-color":{prefix:`bg`,properties:[`background-color`],slug:`background-color`,values:T,variants:m},"border-color":{prefix:`bc`,properties:[`border-color`],slug:`border-color`,values:T,variants:m},"border-bottom-color":{prefix:`bc-b`,properties:[`border-bottom-color`],slug:`border-bottom-color`,values:T,variants:m},"border-left-color":{prefix:`bc-l`,properties:[`border-left-color`],slug:`border-left-color`,values:T,variants:m},"border-right-color":{prefix:`bc-r`,properties:[`border-right-color`],slug:`border-right-color`,values:T,variants:m},"border-top-color":{prefix:`bc-t`,properties:[`border-top-color`],slug:`border-top-color`,values:T,variants:m},"caret-color":{prefix:`cc`,properties:[`caret-color`],slug:`caret-color`,values:T,variants:m},color:{prefix:`c`,properties:[`color`],slug:`color`,values:T,variants:m},fill:{prefix:`f`,properties:[`fill`],slug:`fill`,values:T,variants:m},"outline-color":{prefix:`oc`,properties:[`outline-color`],slug:`outline-color`,values:T,variants:m},stroke:{prefix:`s`,properties:[`stroke`],slug:`stroke`,values:T,variants:m},"text-decoration-color":{prefix:`tdc`,properties:[`text-decoration-color`],slug:`text-decoration-color`,values:T,variants:m}},B={"backdrop-blur":{prefix:`bf-b`,properties:[`backdrop-filter`],slug:`backdrop-blur`,values:E,variants:p},blur:{prefix:`f-b`,properties:[`filter`],slug:`blur`,values:E,variants:p},"box-shadow":{prefix:`bsh`,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`},variants:p},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%)`},variants:p},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`},variants:p}},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`},variants:p},"align-items":{prefix:`ai`,properties:[`align-items`],slug:`align-items`,values:{b:`baseline`,c:`center`,fe:`flex-end`,fs:`flex-start`,st:`stretch`},variants:p},"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`},variants:p},"flex-basis":{prefix:`fb`,properties:[`flex-basis`],slug:`flex-basis`,values:{...g({base:.25,unit:`rem`,min:0,max:100}),auto:`auto`,full:`100%`,half:`50%`},variants:p},"flex-direction":{prefix:`fd`,properties:[`flex-direction`],slug:`flex-direction`,values:{c:`column`,cr:`column-reverse`,r:`row`,rr:`row-reverse`},variants:p},"flex-grow":{prefix:`fg`,properties:[`flex-grow`],slug:`flex-grow`,values:D,variants:p},"flex-shrink":{prefix:`fs`,properties:[`flex-shrink`],slug:`flex-shrink`,values:D,variants:p},"flex-wrap":{prefix:`fw`,properties:[`flex-wrap`],slug:`flex-wrap`,values:{nw:`nowrap`,w:`wrap`,wr:`wrap-reverse`},variants:p},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`},variants:p},"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`},variants:p},"justify-items":{prefix:`ji`,properties:[`justify-items`],slug:`justify-items`,values:{c:`center`,e:`end`,s:`start`,st:`stretch`},variants:p},"justify-self":{prefix:`js`,properties:[`justify-self`],slug:`justify-self`,values:{auto:`auto`,c:`center`,e:`end`,s:`start`,st:`stretch`},variants:p},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`},variants:p}},H={"font-family":{prefix:`ff`,properties:[`font-family`],slug:`font-family`,values:{d:`system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,m:`ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, 'Roboto Mono', 'Ubuntu Mono', Consolas, 'Liberation Mono', 'Courier New', monospace`,s:`'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif`},variants:p},"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`},variants:p},"font-style":{prefix:`fs`,properties:[`font-style`],slug:`font-style`,values:{i:`italic`,n:`normal`},variants:p},"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`},variants:p}},U={"column-gap":{prefix:`cg`,properties:[`column-gap`],slug:`column-gap`,values:O,variants:p},gap:{prefix:`g`,properties:[`gap`],slug:`gap`,values:O,variants:p},"grid-auto-columns":{prefix:`gac`,properties:[`grid-auto-columns`],slug:`grid-auto-columns`,values:j,variants:p},"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`},variants:p},"grid-auto-rows":{prefix:`gar`,properties:[`grid-auto-rows`],slug:`grid-auto-rows`,values:j,variants:p},"grid-column":{prefix:`gc-s`,properties:[`grid-column`],slug:`grid-column`,values:k,variants:p},"grid-column-end":{prefix:`gce`,properties:[`grid-column-end`],slug:`grid-column-end`,values:M,variants:p},"grid-column-start":{prefix:`gcs`,properties:[`grid-column-start`],slug:`grid-column-start`,values:M,variants:p},"grid-row":{prefix:`gr-s`,properties:[`grid-row`],slug:`grid-row`,values:k,variants:p},"grid-row-end":{prefix:`gre`,properties:[`grid-row-end`],slug:`grid-row-end`,values:M,variants:p},"grid-row-start":{prefix:`grs`,properties:[`grid-row-start`],slug:`grid-row-start`,values:M,variants:p},"grid-template-columns":{prefix:`gtc`,properties:[`grid-template-columns`],slug:`grid-template-columns`,values:A,variants:p},"grid-template-rows":{prefix:`gtr`,properties:[`grid-template-rows`],slug:`grid-template-rows`,values:A,variants:p},"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`},variants:p},"place-items":{prefix:`pi`,properties:[`place-items`],slug:`place-items`,values:{b:`baseline`,c:`center`,e:`end`,s:`start`,st:`stretch`},variants:p},"place-self":{prefix:`ps`,properties:[`place-self`],slug:`place-self`,values:{auto:`auto`,c:`center`,e:`end`,s:`start`,st:`stretch`},variants:p},"row-gap":{prefix:`rg`,properties:[`row-gap`],slug:`row-gap`,values:O,variants:p}},W={appearance:{prefix:`a`,properties:[`appearance`],slug:`appearance`,values:{auto:`auto`,none:`none`},variants:p},cursor:{prefix:`c`,properties:[`cursor`],slug:`cursor`,values:{a:`alias`,as:`all-scroll`,auto:`auto`,c:`cell`,ch:`crosshair`,cm:`context-menu`,co:`copy`,cr:`col-resize`,d:`default`,er:`ew-resize`,g:`grab`,gr:`grabbing`,h:`help`,m:`move`,na:`not-allowed`,ner:`ne-resize`,neswr:`nesw-resize`,none:`none`,nr:`n-resize`,nsr:`ns-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`,vt:`vertical-text`,w:`wait`,wr:`w-resize`,zi:`zoom-in`,zo:`zoom-out`},variants:p},"field-sizing":{prefix:`fs`,properties:[`field-sizing`],slug:`field-sizing`,values:{f:`fixed`,c:`content`},variants:p},"pointer-events":{prefix:`pe`,properties:[`pointer-events`],slug:`pointer-events`,values:{auto:`auto`,none:`none`},variants:p},resize:{prefix:`r`,properties:[`resize`],slug:`resize`,values:{b:`both`,h:`horizontal`,none:`none`,v:`vertical`},variants:p},"scroll-behavior":{prefix:`sb`,properties:[`scroll-behavior`],slug:`scroll-behavior`,values:{auto:`auto`,s:`smooth`},variants:p},"scroll-margin":{prefix:`sm`,properties:[`scroll-margin`],slug:`scroll-margin`,values:N,variants:p},"scroll-margin-bottom":{prefix:`smb`,properties:[`scroll-margin-bottom`],slug:`scroll-margin#bottom`,values:N,variants:p},"scroll-margin-inline-start":{prefix:`smis`,properties:[`scroll-margin-inline-start`],slug:`scroll-margin#inline-start`,values:N,variants:p},"scroll-margin-left":{prefix:`sml`,properties:[`scroll-margin-left`],slug:`scroll-margin#scroll-margin-left`,values:N,variants:p},"scroll-margin-right":{prefix:`smr`,properties:[`scroll-margin-right`],slug:`scroll-margin#scroll-margin-right`,values:N,variants:p},"scroll-margin-top":{prefix:`smt`,properties:[`scroll-margin-top`],slug:`scroll-margin#scroll-margin-top`,values:N,variants:p},"scroll-margin-inline-end":{prefix:`smie`,properties:[`scroll-margin-inline-end`],slug:`scroll-margin#scroll-margin-inline-end`,values:N,variants:p},"scroll-margin-x":{prefix:`smx`,properties:[`scroll-margin-left`,`scroll-margin-right`],slug:`scroll-margin#scroll-margin-x`,values:N,variants:p},"scroll-margin-y":{prefix:`smy`,properties:[`scroll-margin-bottom`,`scroll-margin-top`],slug:`scroll-margin#scroll-margin-y`,values:N,variants:p},"scroll-padding":{prefix:`sp`,properties:[`scroll-padding`],slug:`scroll-padding`,values:P,variants:p},"scroll-padding-bottom":{prefix:`spb`,properties:[`scroll-padding-bottom`],slug:`scroll-padding#bottom`,values:P,variants:p},"scroll-padding-inline-start":{prefix:`spis`,properties:[`scroll-padding-inline-start`],slug:`scroll-padding#scroll-padding-inline-start`,values:P,variants:p},"scroll-padding-left":{prefix:`spl`,properties:[`scroll-padding-left`],slug:`scroll-padding#scroll-padding-left`,values:P,variants:p},"scroll-padding-right":{prefix:`spr`,properties:[`scroll-padding-right`],slug:`scroll-padding#scroll-padding-right`,values:P,variants:p},"scroll-padding-top":{prefix:`spt`,properties:[`scroll-padding-top`],slug:`scroll-padding#scroll-padding-top`,values:P,variants:p},"scroll-padding-inline-end":{prefix:`spie`,properties:[`scroll-padding-inline-end`],slug:`scroll-padding#scroll-padding-inline-end`,values:P,variants:p},"scroll-padding-x":{prefix:`spx`,properties:[`scroll-padding-left`,`scroll-padding-right`],slug:`scroll-padding#scroll-padding-x`,values:P,variants:p},"scroll-padding-y":{prefix:`spy`,properties:[`scroll-padding-bottom`,`scroll-padding-top`],slug:`scroll-padding#scroll-padding-y`,values:P,variants:p},"scroll-snap-align":{prefix:`ssa`,properties:[`scroll-snap-align`],slug:`scroll-snap-align`,values:{c:`center`,e:`end`,none:`none`,s:`start`},variants:p},"scroll-snap-stop":{prefix:`sss`,properties:[`scroll-snap-stop`],slug:`scroll-snap-stop`,values:{a:`always`,n:`normal`},variants:p},"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`},variants:p},"user-select":{prefix:`us`,properties:[`user-select`],slug:`user-select`,values:{a:`all`,auto:`auto`,none:`none`,t:`text`},variants:p},"touch-action":{prefix:`ta`,properties:[`touch-action`],slug:`touch-action`,values:{auto:`auto`,m:`manipulation`,none:`none`,pd:`pan-down`,pl:`pan-left`,pr:`pan-right`,pu:`pan-up`,px:`pan-x`,py:`pan-y`,pz:`pinch-zoom`},variants:p}},G={"outline-offset":{prefix:`oo`,properties:[`outline-offset`],slug:`outline-offset`,values:g({base:1,unit:`px`,min:0,max:4}),variants:p},"outline-style":{prefix:`os`,properties:[`outline-style`],slug:`outline-style`,values:{none:`none`,d:`dashed`,s:`solid`},variants:p},"outline-width":{prefix:`ow`,properties:[`outline-width`],slug:`outline-width`,values:g({base:1,unit:`px`,min:0,max:4}),variants:p}},K={"aspect-ratio":{prefix:`ar`,properties:[`aspect-ratio`],slug:`aspect-ratio`,values:{auto:`auto`,"1/1":`1/1`,"1/2":`1/2`,"2/1":`2/1`,"2/3":`2/3`,"3/2":`3/2`,"3/4":`3/4`,"4/3":`4/3`,"4/5":`4/5`,"5/4":`5/4`,"5/7":`5/7`,"7/5":`7/5`,"9/16":`9/16`,"16/9":`16/9`,"21/9":`21/9`,"9/21":`9/21`},variants:p},clear:{prefix:`cl`,properties:[`clear`],slug:`clear`,values:{b:`both`,ie:`inline-end`,is:`inline-start`,l:`left`,none:`none`,r:`right`},variants:p},columns:{prefix:`c`,properties:[`columns`],slug:`columns`,values:g({base:1,min:1,max:16}),variants:p},bottom:{prefix:`b`,properties:[`bottom`],slug:`bottom`,values:F,variants:p},inset:{prefix:`i`,properties:[`inset`],slug:`inset`,values:F,variants:p},"inset-x":{prefix:`ix`,properties:[`left`,`right`],slug:`inset-x`,values:F,variants:p},"inset-y":{prefix:`iy`,properties:[`top`,`bottom`],slug:`inset-y`,values:F,variants:p},isolation:{prefix:`is`,properties:[`isolation`],slug:`isolation`,values:{auto:`auto`,i:`isolate`},variants:p},left:{prefix:`l`,properties:[`left`],slug:`left`,values:F,variants:p},right:{prefix:`r`,properties:[`right`],slug:`right`,values:F,variants:p},top:{prefix:`t`,properties:[`top`],slug:`top`,values:F,variants:p},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`},variants:p},float:{prefix:`fl`,properties:[`float`],slug:`float`,values:{ie:`inline-end`,is:`inline-start`,l:`left`,none:`none`,r:`right`},variants:p},"object-fit":{prefix:`of`,properties:[`object-fit`],slug:`object-fit`,values:{c:`cover`,f:`fill`,none:`none`,sd:`scale-down`},variants:p},"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`},variants:p},overflow:{prefix:`o`,properties:[`overflow`],slug:`overflow`,values:{auto:`auto`,c:`clip`,h:`hidden`,s:`scroll`,v:`visible`},variants:p},"overflow-x":{prefix:`o-x`,properties:[`overflow-x`],slug:`overflow-x`,values:{auto:`auto`,c:`clip`,h:`hidden`,s:`scroll`,v:`visible`},variants:p},"overflow-y":{prefix:`o-y`,properties:[`overflow-y`],slug:`overflow-y`,values:{auto:`auto`,c:`clip`,h:`hidden`,s:`scroll`,v:`visible`},variants:p},position:{prefix:`p`,properties:[`position`],slug:`position`,values:{a:`absolute`,f:`fixed`,r:`relative`,s:`static`,st:`sticky`},variants:p},visibility:{prefix:`v`,properties:[`visibility`],slug:`visibility`,values:{c:`collapse`,h:`hidden`,v:`visible`},variants:p},"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`},variants:p}},q={"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`},variants:p}},J={"caption-side":{prefix:`cs`,properties:[`caption-side`],slug:`caption-side`,values:{t:`top`,b:`bottom`},variants:p},"table-layout":{prefix:`tl`,properties:[`table-layout`],slug:`table-layout`,values:{a:`auto`,f:`fixed`},variants:p}},Y={"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`},variants:p},"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`},variants:p},"list-style-position":{prefix:`lsp`,properties:[`list-style-position`],slug:`list-style-position`,values:{i:`inside`,o:`outside`},variants:p},"list-style-type":{prefix:`lst`,properties:[`list-style-type`],slug:`list-style-type`,values:{c:`circle`,d:`disc`,s:`square`},variants:p},"tab-size":{prefix:`ts`,properties:[`tab-size`],slug:`tab-size`,values:{0:`0`,2:`2`,4:`4`,8:`8`},variants:p},"overflow-wrap":{prefix:`ow`,properties:[`overflow-wrap`],slug:`overflow-wrap`,values:{bw:`break-word`,n:`normal`},variants:p},"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`},variants:p},"text-decoration-line":{prefix:`tdl`,properties:[`text-decoration-line`],slug:`text-decoration-line`,values:{lt:`line-through`,none:`none`,o:`overline`,u:`underline`},variants:p},"text-decoration-style":{prefix:`tds`,properties:[`text-decoration-style`],slug:`text-decoration-style`,values:{d:`dashed`,s:`solid`,w:`wavy`},variants:p},"text-decoration-thickness":{prefix:`tdt`,properties:[`text-decoration-thickness`],slug:`text-decoration-thickness`,values:{...g({base:1,unit:`px`,min:0,max:4}),auto:`auto`,ff:`from-font`},variants:p},"text-decoration":{prefix:`td`,properties:[`text-decoration`],slug:`text-decoration`,values:{none:`none`,u:`underline`},variants:p},"text-indent":{prefix:`ti`,properties:[`text-indent`],slug:`text-indent`,values:{0:`0px`,1:`1px`,2:`0.25rem`,3:`0.5rem`,4:`0.75rem`},variants:p},"text-overflow":{prefix:`to`,properties:[`text-overflow`],slug:`text-overflow`,values:{c:`clip`,e:`ellipsis`},variants:p},"text-transform":{prefix:`tt`,properties:[`text-transform`],slug:`text-transform`,values:{c:`capitalize`,l:`lowercase`,n:`none`,u:`uppercase`},variants:p},"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`},variants:p},"text-wrap":{prefix:`tw`,properties:[`text-wrap`],slug:`text-wrap`,values:{b:`balance`,n:`nowrap`,p:`pretty`,w:`wrap`},variants:p},"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`},variants:p},"vertical-align":{prefix:`va`,properties:[`vertical-align`],slug:`vertical-align`,values:{b:`bottom`,ba:`baseline`,m:`middle`,s:`sub`,su:`super`,t:`top`,tb:`text-bottom`,tt:`text-top`},variants:p},"writing-mode":{prefix:`wm`,properties:[`writing-mode`],slug:`writing-mode`,values:{htb:`horizontal-tb`,slr:`sideways-lr`,srl:`sideways-rl`,vlr:`vertical-lr`,vrl:`vertical-rl`},variants:p}},X={rotate:{prefix:`ro`,properties:[`rotate`],slug:`rotate`,values:g({base:5,unit:`deg`,min:0,max:360}),variants:p},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%)`},variants:p},"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%)`},variants:p},"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%)`},variants:p},skew:{prefix:`t-sk`,properties:[`transform`],slug:`skew`,values:{1:`skew(1deg)`,2:`skew(2deg)`,3:`skew(3deg)`,6:`skew(6deg)`,12:`skew(12deg)`},variants:p},"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)`},variants:p},"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)`},variants:p},"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`},variants:p},"translate-x":{prefix:`t-tx`,properties:[`transform`],slug:`translate-x`,values:g({base:.25,unit:`rem`,min:0,max:100,wrapper:e=>`translateX(${e})`,extras:{full:`translateX(100%)`,half:`translateX(50%)`}}),variants:p},"translate-y":{prefix:`t-ty`,properties:[`transform`],slug:`translate-y`,values:g({base:.25,unit:`rem`,min:0,max:100,wrapper:e=>`translateY(${e})`,extras:{full:`translateY(100%)`,half:`translateY(50%)`}}),variants:p}},Z={"transition-delay":{prefix:`td`,properties:[`transition-delay`],slug:`transition-delay`,values:I,variants:p},"transition-duration":{prefix:`tdu`,properties:[`transition-duration`],slug:`transition-duration`,values:I,variants:p},"transition-property":{prefix:`tp`,properties:[`transition-property`],slug:`transition-property`,values:{a:`all`,bs:`box-shadow`,c:`color, background-color, border-color, text-decoration-color, fill, stroke`,d:`height, width`,h:`height`,none:`none`,o:`opacity`,t:`transform`,w:`width`},variants:p},"transition-timing-function":{prefix:`ttf`,properties:[`transition-timing-function`],slug:`transition-timing-function`,values:{l:`linear`,ei:`ease-in`,eo:`ease-out`,io:`ease-in-out`},variants:p}},dt={...h,...L,...R,...z,...B,...V,...H,...U,...W,...G,...K,...q,...J,...Y,...X,...Z},ft=l,pt=u,mt=d,ht=f,gt=()=>dt,_t=()=>h,vt=()=>L,yt=()=>R,bt=()=>z,Q=()=>B,xt=()=>V,St=()=>H,Ct=()=>U,wt=()=>W,Tt=()=>G,Et=()=>K,Dt=()=>q,Ot=()=>J,kt=()=>Y,At=()=>X,$=()=>Z;exports.backgroundUtils=_t,exports.borderUtils=vt,exports.boxModelUtils=yt,exports.colorUtils=bt,exports.coreUtils=gt,exports.effectUtils=Q,exports.flexboxUtils=xt,exports.fontUtils=St,exports.gridUtils=Ct,exports.interactivityUtils=wt,exports.mediaQueries=ft,exports.opacity=pt,exports.outlineUtils=Tt,exports.positioningUtils=Et,exports.pseudoClasses=mt,exports.pseudoElements=ht,exports.svgUtils=Dt,exports.tableUtils=Ot,exports.textUtils=kt,exports.transformUtils=At,exports.transitionUtils=$;
|
package/dist/index.d.cts
DELETED
|
@@ -1,363 +0,0 @@
|
|
|
1
|
-
//#region src/interfaces/variants.d.ts
|
|
2
|
-
interface PseudoClass {
|
|
3
|
-
readonly prefix: string;
|
|
4
|
-
readonly value: string;
|
|
5
|
-
}
|
|
6
|
-
interface PseudoElement {
|
|
7
|
-
readonly prefix: string;
|
|
8
|
-
readonly value: string;
|
|
9
|
-
}
|
|
10
|
-
interface MediaQuery {
|
|
11
|
-
readonly prefix: string;
|
|
12
|
-
readonly value: string;
|
|
13
|
-
}
|
|
14
|
-
interface Opacity {
|
|
15
|
-
readonly prefix: string;
|
|
16
|
-
readonly value: string;
|
|
17
|
-
}
|
|
18
|
-
interface Variants {
|
|
19
|
-
readonly pseudoClasses?: readonly PseudoClass[];
|
|
20
|
-
readonly pseudoElements?: readonly PseudoElement[];
|
|
21
|
-
readonly mediaQueries?: readonly MediaQuery[];
|
|
22
|
-
readonly opacity?: readonly Opacity[];
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region src/interfaces/utility.d.ts
|
|
26
|
-
interface Utility {
|
|
27
|
-
readonly prefix: string;
|
|
28
|
-
readonly properties: readonly string[];
|
|
29
|
-
readonly slug: string;
|
|
30
|
-
readonly values: {
|
|
31
|
-
readonly [key: string]: string;
|
|
32
|
-
};
|
|
33
|
-
readonly variants?: Variants;
|
|
34
|
-
}
|
|
35
|
-
interface Utilities {
|
|
36
|
-
readonly [key: string]: Utility;
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/interfaces/color.d.ts
|
|
40
|
-
interface Color extends Utility {}
|
|
41
|
-
interface Colors {
|
|
42
|
-
[key: string]: Color;
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/defaults/variants/media-queries.d.ts
|
|
46
|
-
declare const mediaQueries$1: readonly [{
|
|
47
|
-
readonly prefix: "pc";
|
|
48
|
-
readonly value: "@media (pointer: coarse)";
|
|
49
|
-
}, {
|
|
50
|
-
readonly prefix: "sm";
|
|
51
|
-
readonly value: "@media (width >= 40rem)";
|
|
52
|
-
}, {
|
|
53
|
-
readonly prefix: "md";
|
|
54
|
-
readonly value: "@media (width >= 48rem)";
|
|
55
|
-
}, {
|
|
56
|
-
readonly prefix: "lg";
|
|
57
|
-
readonly value: "@media (width >= 64rem)";
|
|
58
|
-
}, {
|
|
59
|
-
readonly prefix: "xl";
|
|
60
|
-
readonly value: "@media (width >= 80rem)";
|
|
61
|
-
}, {
|
|
62
|
-
readonly prefix: "xxl";
|
|
63
|
-
readonly value: "@media (width >= 96rem)";
|
|
64
|
-
}];
|
|
65
|
-
//#endregion
|
|
66
|
-
//#region src/defaults/variants/opacity.d.ts
|
|
67
|
-
declare const opacity$1: readonly [{
|
|
68
|
-
readonly prefix: "0";
|
|
69
|
-
readonly value: "00";
|
|
70
|
-
}, {
|
|
71
|
-
readonly prefix: "5";
|
|
72
|
-
readonly value: "0d";
|
|
73
|
-
}, {
|
|
74
|
-
readonly prefix: "10";
|
|
75
|
-
readonly value: "1a";
|
|
76
|
-
}, {
|
|
77
|
-
readonly prefix: "15";
|
|
78
|
-
readonly value: "26";
|
|
79
|
-
}, {
|
|
80
|
-
readonly prefix: "20";
|
|
81
|
-
readonly value: "33";
|
|
82
|
-
}, {
|
|
83
|
-
readonly prefix: "25";
|
|
84
|
-
readonly value: "40";
|
|
85
|
-
}, {
|
|
86
|
-
readonly prefix: "30";
|
|
87
|
-
readonly value: "4d";
|
|
88
|
-
}, {
|
|
89
|
-
readonly prefix: "35";
|
|
90
|
-
readonly value: "59";
|
|
91
|
-
}, {
|
|
92
|
-
readonly prefix: "40";
|
|
93
|
-
readonly value: "66";
|
|
94
|
-
}, {
|
|
95
|
-
readonly prefix: "45";
|
|
96
|
-
readonly value: "73";
|
|
97
|
-
}, {
|
|
98
|
-
readonly prefix: "50";
|
|
99
|
-
readonly value: "80";
|
|
100
|
-
}, {
|
|
101
|
-
readonly prefix: "55";
|
|
102
|
-
readonly value: "8c";
|
|
103
|
-
}, {
|
|
104
|
-
readonly prefix: "60";
|
|
105
|
-
readonly value: "99";
|
|
106
|
-
}, {
|
|
107
|
-
readonly prefix: "65";
|
|
108
|
-
readonly value: "a6";
|
|
109
|
-
}, {
|
|
110
|
-
readonly prefix: "70";
|
|
111
|
-
readonly value: "b3";
|
|
112
|
-
}, {
|
|
113
|
-
readonly prefix: "75";
|
|
114
|
-
readonly value: "bf";
|
|
115
|
-
}, {
|
|
116
|
-
readonly prefix: "80";
|
|
117
|
-
readonly value: "cc";
|
|
118
|
-
}, {
|
|
119
|
-
readonly prefix: "85";
|
|
120
|
-
readonly value: "d9";
|
|
121
|
-
}, {
|
|
122
|
-
readonly prefix: "90";
|
|
123
|
-
readonly value: "e6";
|
|
124
|
-
}, {
|
|
125
|
-
readonly prefix: "95";
|
|
126
|
-
readonly value: "f2";
|
|
127
|
-
}];
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region src/defaults/variants/pseudo-classes.d.ts
|
|
130
|
-
declare const pseudoClasses$1: readonly [{
|
|
131
|
-
readonly prefix: "a";
|
|
132
|
-
readonly value: ":active";
|
|
133
|
-
}, {
|
|
134
|
-
readonly prefix: "c";
|
|
135
|
-
readonly value: ":checked";
|
|
136
|
-
}, {
|
|
137
|
-
readonly prefix: "d";
|
|
138
|
-
readonly value: ":disabled";
|
|
139
|
-
}, {
|
|
140
|
-
readonly prefix: "e";
|
|
141
|
-
readonly value: ":empty";
|
|
142
|
-
}, {
|
|
143
|
-
readonly prefix: "f";
|
|
144
|
-
readonly value: ":focus";
|
|
145
|
-
}, {
|
|
146
|
-
readonly prefix: "fc";
|
|
147
|
-
readonly value: ":first-child";
|
|
148
|
-
}, {
|
|
149
|
-
readonly prefix: "fv";
|
|
150
|
-
readonly value: ":focus-visible";
|
|
151
|
-
}, {
|
|
152
|
-
readonly prefix: "fw";
|
|
153
|
-
readonly value: ":focus-within";
|
|
154
|
-
}, {
|
|
155
|
-
readonly prefix: "h";
|
|
156
|
-
readonly value: ":hover";
|
|
157
|
-
}, {
|
|
158
|
-
readonly prefix: "i";
|
|
159
|
-
readonly value: ":invalid";
|
|
160
|
-
}, {
|
|
161
|
-
readonly prefix: "in";
|
|
162
|
-
readonly value: ":indeterminate";
|
|
163
|
-
}, {
|
|
164
|
-
readonly prefix: "lc";
|
|
165
|
-
readonly value: ":last-child";
|
|
166
|
-
}, {
|
|
167
|
-
readonly prefix: "nc";
|
|
168
|
-
readonly value: ":nth-child";
|
|
169
|
-
}, {
|
|
170
|
-
readonly prefix: "r";
|
|
171
|
-
readonly value: ":required";
|
|
172
|
-
}, {
|
|
173
|
-
readonly prefix: "ro";
|
|
174
|
-
readonly value: ":read-only";
|
|
175
|
-
}, {
|
|
176
|
-
readonly prefix: "v";
|
|
177
|
-
readonly value: ":valid";
|
|
178
|
-
}];
|
|
179
|
-
//#endregion
|
|
180
|
-
//#region src/defaults/variants/pseudo-elements.d.ts
|
|
181
|
-
declare const pseudoElements$1: readonly [{
|
|
182
|
-
readonly prefix: "a";
|
|
183
|
-
readonly value: "::after";
|
|
184
|
-
}, {
|
|
185
|
-
readonly prefix: "b";
|
|
186
|
-
readonly value: "::before";
|
|
187
|
-
}, {
|
|
188
|
-
readonly prefix: "p";
|
|
189
|
-
readonly value: "::placeholder";
|
|
190
|
-
}, {
|
|
191
|
-
readonly prefix: "s";
|
|
192
|
-
readonly value: "::selection";
|
|
193
|
-
}];
|
|
194
|
-
//#endregion
|
|
195
|
-
//#region src/variants.d.ts
|
|
196
|
-
declare const mediaQueries: readonly [{
|
|
197
|
-
readonly prefix: "pc";
|
|
198
|
-
readonly value: "@media (pointer: coarse)";
|
|
199
|
-
}, {
|
|
200
|
-
readonly prefix: "sm";
|
|
201
|
-
readonly value: "@media (width >= 40rem)";
|
|
202
|
-
}, {
|
|
203
|
-
readonly prefix: "md";
|
|
204
|
-
readonly value: "@media (width >= 48rem)";
|
|
205
|
-
}, {
|
|
206
|
-
readonly prefix: "lg";
|
|
207
|
-
readonly value: "@media (width >= 64rem)";
|
|
208
|
-
}, {
|
|
209
|
-
readonly prefix: "xl";
|
|
210
|
-
readonly value: "@media (width >= 80rem)";
|
|
211
|
-
}, {
|
|
212
|
-
readonly prefix: "xxl";
|
|
213
|
-
readonly value: "@media (width >= 96rem)";
|
|
214
|
-
}];
|
|
215
|
-
declare const opacity: readonly [{
|
|
216
|
-
readonly prefix: "0";
|
|
217
|
-
readonly value: "00";
|
|
218
|
-
}, {
|
|
219
|
-
readonly prefix: "5";
|
|
220
|
-
readonly value: "0d";
|
|
221
|
-
}, {
|
|
222
|
-
readonly prefix: "10";
|
|
223
|
-
readonly value: "1a";
|
|
224
|
-
}, {
|
|
225
|
-
readonly prefix: "15";
|
|
226
|
-
readonly value: "26";
|
|
227
|
-
}, {
|
|
228
|
-
readonly prefix: "20";
|
|
229
|
-
readonly value: "33";
|
|
230
|
-
}, {
|
|
231
|
-
readonly prefix: "25";
|
|
232
|
-
readonly value: "40";
|
|
233
|
-
}, {
|
|
234
|
-
readonly prefix: "30";
|
|
235
|
-
readonly value: "4d";
|
|
236
|
-
}, {
|
|
237
|
-
readonly prefix: "35";
|
|
238
|
-
readonly value: "59";
|
|
239
|
-
}, {
|
|
240
|
-
readonly prefix: "40";
|
|
241
|
-
readonly value: "66";
|
|
242
|
-
}, {
|
|
243
|
-
readonly prefix: "45";
|
|
244
|
-
readonly value: "73";
|
|
245
|
-
}, {
|
|
246
|
-
readonly prefix: "50";
|
|
247
|
-
readonly value: "80";
|
|
248
|
-
}, {
|
|
249
|
-
readonly prefix: "55";
|
|
250
|
-
readonly value: "8c";
|
|
251
|
-
}, {
|
|
252
|
-
readonly prefix: "60";
|
|
253
|
-
readonly value: "99";
|
|
254
|
-
}, {
|
|
255
|
-
readonly prefix: "65";
|
|
256
|
-
readonly value: "a6";
|
|
257
|
-
}, {
|
|
258
|
-
readonly prefix: "70";
|
|
259
|
-
readonly value: "b3";
|
|
260
|
-
}, {
|
|
261
|
-
readonly prefix: "75";
|
|
262
|
-
readonly value: "bf";
|
|
263
|
-
}, {
|
|
264
|
-
readonly prefix: "80";
|
|
265
|
-
readonly value: "cc";
|
|
266
|
-
}, {
|
|
267
|
-
readonly prefix: "85";
|
|
268
|
-
readonly value: "d9";
|
|
269
|
-
}, {
|
|
270
|
-
readonly prefix: "90";
|
|
271
|
-
readonly value: "e6";
|
|
272
|
-
}, {
|
|
273
|
-
readonly prefix: "95";
|
|
274
|
-
readonly value: "f2";
|
|
275
|
-
}];
|
|
276
|
-
declare const pseudoClasses: readonly [{
|
|
277
|
-
readonly prefix: "a";
|
|
278
|
-
readonly value: ":active";
|
|
279
|
-
}, {
|
|
280
|
-
readonly prefix: "c";
|
|
281
|
-
readonly value: ":checked";
|
|
282
|
-
}, {
|
|
283
|
-
readonly prefix: "d";
|
|
284
|
-
readonly value: ":disabled";
|
|
285
|
-
}, {
|
|
286
|
-
readonly prefix: "e";
|
|
287
|
-
readonly value: ":empty";
|
|
288
|
-
}, {
|
|
289
|
-
readonly prefix: "f";
|
|
290
|
-
readonly value: ":focus";
|
|
291
|
-
}, {
|
|
292
|
-
readonly prefix: "fc";
|
|
293
|
-
readonly value: ":first-child";
|
|
294
|
-
}, {
|
|
295
|
-
readonly prefix: "fv";
|
|
296
|
-
readonly value: ":focus-visible";
|
|
297
|
-
}, {
|
|
298
|
-
readonly prefix: "fw";
|
|
299
|
-
readonly value: ":focus-within";
|
|
300
|
-
}, {
|
|
301
|
-
readonly prefix: "h";
|
|
302
|
-
readonly value: ":hover";
|
|
303
|
-
}, {
|
|
304
|
-
readonly prefix: "i";
|
|
305
|
-
readonly value: ":invalid";
|
|
306
|
-
}, {
|
|
307
|
-
readonly prefix: "in";
|
|
308
|
-
readonly value: ":indeterminate";
|
|
309
|
-
}, {
|
|
310
|
-
readonly prefix: "lc";
|
|
311
|
-
readonly value: ":last-child";
|
|
312
|
-
}, {
|
|
313
|
-
readonly prefix: "nc";
|
|
314
|
-
readonly value: ":nth-child";
|
|
315
|
-
}, {
|
|
316
|
-
readonly prefix: "r";
|
|
317
|
-
readonly value: ":required";
|
|
318
|
-
}, {
|
|
319
|
-
readonly prefix: "ro";
|
|
320
|
-
readonly value: ":read-only";
|
|
321
|
-
}, {
|
|
322
|
-
readonly prefix: "v";
|
|
323
|
-
readonly value: ":valid";
|
|
324
|
-
}];
|
|
325
|
-
declare const pseudoElements: readonly [{
|
|
326
|
-
readonly prefix: "a";
|
|
327
|
-
readonly value: "::after";
|
|
328
|
-
}, {
|
|
329
|
-
readonly prefix: "b";
|
|
330
|
-
readonly value: "::before";
|
|
331
|
-
}, {
|
|
332
|
-
readonly prefix: "p";
|
|
333
|
-
readonly value: "::placeholder";
|
|
334
|
-
}, {
|
|
335
|
-
readonly prefix: "s";
|
|
336
|
-
readonly value: "::selection";
|
|
337
|
-
}];
|
|
338
|
-
type MediaQueryPrefix = (typeof mediaQueries$1)[number]["prefix"];
|
|
339
|
-
type OpacityPrefix = (typeof opacity$1)[number]["prefix"];
|
|
340
|
-
type PseudoClassPrefix = (typeof pseudoClasses$1)[number]["prefix"];
|
|
341
|
-
type PseudoElementPrefix = (typeof pseudoElements$1)[number]["prefix"];
|
|
342
|
-
type VariantPrefix = MediaQueryPrefix | OpacityPrefix | PseudoClassPrefix | PseudoElementPrefix;
|
|
343
|
-
//#endregion
|
|
344
|
-
//#region src/index.d.ts
|
|
345
|
-
declare const coreUtils: () => Utilities;
|
|
346
|
-
declare const backgroundUtils: () => Utilities;
|
|
347
|
-
declare const borderUtils: () => Utilities;
|
|
348
|
-
declare const boxModelUtils: () => Utilities;
|
|
349
|
-
declare const colorUtils: () => Utilities;
|
|
350
|
-
declare const effectUtils: () => Utilities;
|
|
351
|
-
declare const flexboxUtils: () => Utilities;
|
|
352
|
-
declare const fontUtils: () => Utilities;
|
|
353
|
-
declare const gridUtils: () => Utilities;
|
|
354
|
-
declare const interactivityUtils: () => Utilities;
|
|
355
|
-
declare const outlineUtils: () => Utilities;
|
|
356
|
-
declare const positioningUtils: () => Utilities;
|
|
357
|
-
declare const svgUtils: () => Utilities;
|
|
358
|
-
declare const tableUtils: () => Utilities;
|
|
359
|
-
declare const textUtils: () => Utilities;
|
|
360
|
-
declare const transformUtils: () => Utilities;
|
|
361
|
-
declare const transitionUtils: () => Utilities;
|
|
362
|
-
//#endregion
|
|
363
|
-
export { Color, Colors, MediaQuery, MediaQueryPrefix, Opacity, OpacityPrefix, PseudoClass, PseudoClassPrefix, PseudoElement, PseudoElementPrefix, Utilities, Utility, VariantPrefix, Variants, backgroundUtils, borderUtils, boxModelUtils, colorUtils, coreUtils, effectUtils, flexboxUtils, fontUtils, gridUtils, interactivityUtils, mediaQueries, opacity, outlineUtils, positioningUtils, pseudoClasses, pseudoElements, svgUtils, tableUtils, textUtils, transformUtils, transitionUtils };
|