Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ununura-shared

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ununura-shared - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

54

dist/index.d.ts

@@ -6,2 +6,10 @@ declare const VIRTUAL_CSS_INJECT_FILENAME = "ununura.css";

declare const NULLABLE = "__NULLABLE__";
declare const DEFAULT_UNIT = "px";
declare const DEFAULT_RESPONSIVE: {
xs: string;
sm: string;
md: string;
lg: string;
xl: string;
};

@@ -31,10 +39,11 @@ type Maybe<T> = T | undefined | null;

type SFCType = 'vue' | 'svelte' | 'astro';
type UnunuraBounce = 'padding' | 'margin' | 'border' | 'text' | 'background' | 'flex' | 'grid';
type UnunuraContextualizeTheme = 'light' | 'dark' | 'sepia';
type UnunuraContextualizeResponsive = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
type UnunuraContextualizePseudoClasses = 'hover' | 'focus' | 'active' | 'checked' | 'disabled' | 'empty' | 'enabled' | 'first-child' | 'first-of-type' | 'in-range' | 'invalid' | 'last-child' | 'last-of-type' | 'link' | 'only-child' | 'optional' | 'out-of-range' | 'read-only' | 'read-write' | 'required' | 'valid' | 'visited';
type UnunuraContextualizePseudoElement = 'after' | 'before' | 'cue' | 'first-letter' | 'first-line' | 'selection' | 'slotted' | 'backdrop' | 'placeholder' | 'marker' | 'spelling-error' | 'grammar-error';
type UnunuraDefOrExtended = string;
type UnunuraBounce = 'padding' | 'margin' | 'border' | 'text' | 'background' | 'flex' | 'grid' | UnunuraDefOrExtended;
type UnunuraContextualizeTheme = 'light' | 'dark' | 'sepia' | UnunuraDefOrExtended;
type UnunuraContextualizeResponsive = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | UnunuraDefOrExtended;
type UnunuraContextualizePseudoClasses = 'hover' | 'focus' | 'active' | 'checked' | 'disabled' | 'empty' | 'enabled' | 'first-child' | 'first-of-type' | 'in-range' | 'invalid' | 'last-child' | 'last-of-type' | 'link' | 'only-child' | 'optional' | 'out-of-range' | 'read-only' | 'read-write' | 'required' | 'valid' | 'visited' | UnunuraDefOrExtended;
type UnunuraContextualizePseudoElement = 'after' | 'before' | 'cue' | 'first-letter' | 'first-line' | 'selection' | 'slotted' | 'backdrop' | 'placeholder' | 'marker' | 'spelling-error' | 'grammar-error' | UnunuraDefOrExtended;
type UnunuraContextualize = UnunuraContextualizeTheme | UnunuraContextualizeResponsive | UnunuraContextualizePseudoClasses | UnunuraContextualizePseudoElement;
type UnunuraContextualizeStack = UnunuraContextualize[];
type CSSResourceSizer = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | `${string}xl`;
type CSSResourceSizer = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | `${string}xl` | UnunuraDefOrExtended;

@@ -47,3 +56,3 @@ declare const ANTIALIASED_RESET_CSS: () => string;

declare const browserFonts: string[];
declare const UNUNURA_RESPONSIVE: (target: UnunuraContextualizeResponsive) => string;
declare const UNUNURA_RESPONSIVE: (target: Exclude<UnunuraContextualizeResponsive, UnunuraDefOrExtended>) => string;

@@ -150,3 +159,25 @@ declare enum UnunuraIdentifier {

}
interface UnunuraDefaultsContextsResponsive {
xs?: string;
sm?: string;
md?: string;
lg?: string;
xl?: string;
}
interface UnunuraDefaultsContexts {
responsive?: UnunuraDefaultsContextsResponsive;
}
interface UnunuraDefaultsValues {
unit: string;
}
interface UnunuraDefaults {
values?: UnunuraDefaultsValues;
contexts?: UnunuraDefaultsContexts;
}
interface UnunuraExtendContexts {
responsive?: Option<string>;
theme?: string[];
}
interface UnunuraExtend {
contexts?: UnunuraExtendContexts;
supporters?: UnunuraExtendSupporters;

@@ -156,2 +187,3 @@ }

defines?: ValueOption<string>;
defaults?: UnunuraDefaults;
extend?: UnunuraExtend;

@@ -172,2 +204,3 @@ jsx?: boolean;

defines: ValueOption<string>;
defaults: UnunuraDefaults;
extend: UnunuraExtend;

@@ -232,6 +265,5 @@ jsx: boolean;

declare const isPseudoElementContextIdentifier: (str: string) => Maybe<UnunuraContextualizePseudoElement>;
declare const isContextIdentifier: (str: string) => string | null | undefined;
declare const isContextIdentifier: (str: string) => Maybe<string>;
declare const isCommonIdentifier: (str: string) => boolean;
declare const asCommonIdentifier: (str: string) => boolean;
declare const isIdentifier: (str: string) => string | true | null | undefined;
declare const isIdentifier: (str: string) => true | Maybe<string>;
declare const isTransitionProperty: (i: string) => boolean;

@@ -252,2 +284,2 @@ declare const isTransitionTimingFunction: (i: string) => boolean;

export { ANTIALIASED_RESET_CSS, ArrTuple, ArrTupleWithOptions, AstroSFC, Awaitable, CSSInject, CSSResourceSizer, JSXSFC, MEYER_RESET_CSS, Maybe, NOVOUT_RESET_CSS, NULLABLE, Nullable, Object$1 as Object, ObjectWithOptions, Option, RESOLVED_VIRTUAL_CSS_INJECT_FILENAME, SFC, SFCType, STANDARD_EXCLUDE_SCAN, STANDARD_INCLUDE_SCAN, SvelteSFC, Symbol, Tuple, TupleOption, TupleWithOptions, UNUNURA_RESPONSIVE, UnunuraASTNode, UnunuraBounce, UnunuraContextualize, UnunuraContextualizePseudoClasses, UnunuraContextualizePseudoElement, UnunuraContextualizeResponsive, UnunuraContextualizeStack, UnunuraContextualizeTheme, UnunuraCoreOptions, UnunuraExtend, UnunuraExtendSupporters, UnunuraGenerateContext, UnunuraGlobals, UnunuraIdentifier, UnunuraKeys, UnunuraOptions, UnunuraResolvableOptions, UnunuraScannerFile, VIRTUAL_CSS_INJECT_FILENAME, ValueOption, VueSFC, asCommonIdentifier, browserFonts, findResource, findResourceInStart, getFilename, isAstroFile, isBorderStyle, isCSSColor, isCloseMultipleKey, isCommonIdentifier, isContextCloseKey, isContextIdentifier, isContextKey, isContextOpenKey, isCursor, isDefaultCentralize, isDefaultFont, isFlexHorizontal, isFlexVertical, isGlobal, isHTTPSImage, isHex, isIdentifier, isImage, isImageRepeat, isImageSize, isJSXEntryFile, isJSXFile, isJustifyAlign, isJustifySelf, isKey, isNullable, isNumber, isNumberSuffix, isOpenKey, isOpenMultipleKey, isOutlineStyle, isPseudoClassContextIdentifier, isPseudoElementContextIdentifier, isResponsiveContextIdentifier, isScopedSFCFile, isScroll, isSizer, isSlashImage, isSvelteFile, isThemeContextIdentifier, isTouch, isTransitionProperty, isTransitionTimingFunction, isTypographyOverflow, isTypographyTransform, isUniqueKey, isVueFile, isVueSFC, pseudoClass, pseudoElement };
export { ANTIALIASED_RESET_CSS, ArrTuple, ArrTupleWithOptions, AstroSFC, Awaitable, CSSInject, CSSResourceSizer, DEFAULT_RESPONSIVE, DEFAULT_UNIT, JSXSFC, MEYER_RESET_CSS, Maybe, NOVOUT_RESET_CSS, NULLABLE, Nullable, Object$1 as Object, ObjectWithOptions, Option, RESOLVED_VIRTUAL_CSS_INJECT_FILENAME, SFC, SFCType, STANDARD_EXCLUDE_SCAN, STANDARD_INCLUDE_SCAN, SvelteSFC, Symbol, Tuple, TupleOption, TupleWithOptions, UNUNURA_RESPONSIVE, UnunuraASTNode, UnunuraBounce, UnunuraContextualize, UnunuraContextualizePseudoClasses, UnunuraContextualizePseudoElement, UnunuraContextualizeResponsive, UnunuraContextualizeStack, UnunuraContextualizeTheme, UnunuraCoreOptions, UnunuraDefOrExtended, UnunuraDefaults, UnunuraDefaultsContexts, UnunuraDefaultsContextsResponsive, UnunuraDefaultsValues, UnunuraExtend, UnunuraExtendContexts, UnunuraExtendSupporters, UnunuraGenerateContext, UnunuraGlobals, UnunuraIdentifier, UnunuraKeys, UnunuraOptions, UnunuraResolvableOptions, UnunuraScannerFile, VIRTUAL_CSS_INJECT_FILENAME, ValueOption, VueSFC, browserFonts, findResource, findResourceInStart, getFilename, isAstroFile, isBorderStyle, isCSSColor, isCloseMultipleKey, isCommonIdentifier, isContextCloseKey, isContextIdentifier, isContextKey, isContextOpenKey, isCursor, isDefaultCentralize, isDefaultFont, isFlexHorizontal, isFlexVertical, isGlobal, isHTTPSImage, isHex, isIdentifier, isImage, isImageRepeat, isImageSize, isJSXEntryFile, isJSXFile, isJustifyAlign, isJustifySelf, isKey, isNullable, isNumber, isNumberSuffix, isOpenKey, isOpenMultipleKey, isOutlineStyle, isPseudoClassContextIdentifier, isPseudoElementContextIdentifier, isResponsiveContextIdentifier, isScopedSFCFile, isScroll, isSizer, isSlashImage, isSvelteFile, isThemeContextIdentifier, isTouch, isTransitionProperty, isTransitionTimingFunction, isTypographyOverflow, isTypographyTransform, isUniqueKey, isVueFile, isVueSFC, pseudoClass, pseudoElement };

@@ -1,4 +0,4 @@

"use strict";var g=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var s in t)g(e,s,{get:t[s],enumerable:!0})},P=(e,t,s,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of z(t))!D.call(e,n)&&n!==s&&g(e,n,{get:()=>t[n],enumerable:!(i=T(t,n))||i.enumerable});return e};var A=e=>P(g({},"__esModule",{value:!0}),e);var Te={};R(Te,{ANTIALIASED_RESET_CSS:()=>C,MEYER_RESET_CSS:()=>W,NOVOUT_RESET_CSS:()=>q,NULLABLE:()=>a,RESOLVED_VIRTUAL_CSS_INJECT_FILENAME:()=>F,STANDARD_EXCLUDE_SCAN:()=>N,STANDARD_INCLUDE_SCAN:()=>O,UNUNURA_RESPONSIVE:()=>_,UnunuraGlobals:()=>p,UnunuraIdentifier:()=>l,UnunuraKeys:()=>c,VIRTUAL_CSS_INJECT_FILENAME:()=>S,asCommonIdentifier:()=>ye,browserFonts:()=>h,findResource:()=>ke,findResourceInStart:()=>Ge,getFilename:()=>Be,isAstroFile:()=>Y,isBorderStyle:()=>ne,isCSSColor:()=>X,isCloseMultipleKey:()=>L,isCommonIdentifier:()=>G,isContextCloseKey:()=>he,isContextIdentifier:()=>k,isContextKey:()=>ue,isContextOpenKey:()=>v,isCursor:()=>ce,isDefaultCentralize:()=>V,isDefaultFont:()=>Z,isFlexHorizontal:()=>I,isFlexVertical:()=>U,isGlobal:()=>Se,isHTTPSImage:()=>re,isHex:()=>j,isIdentifier:()=>fe,isImage:()=>ie,isImageRepeat:()=>oe,isImageSize:()=>Q,isJSXEntryFile:()=>$,isJSXFile:()=>K,isJustifyAlign:()=>ee,isJustifySelf:()=>te,isKey:()=>be,isNullable:()=>me,isNumber:()=>H,isNumberSuffix:()=>ge,isOpenKey:()=>xe,isOpenMultipleKey:()=>b,isOutlineStyle:()=>ae,isPseudoClassContextIdentifier:()=>M,isPseudoElementContextIdentifier:()=>Ce,isResponsiveContextIdentifier:()=>E,isScopedSFCFile:()=>J,isScroll:()=>pe,isSizer:()=>le,isSlashImage:()=>se,isSvelteFile:()=>f,isThemeContextIdentifier:()=>w,isTouch:()=>de,isTransitionProperty:()=>Le,isTransitionTimingFunction:()=>ve,isTypographyOverflow:()=>we,isTypographyTransform:()=>Ee,isUniqueKey:()=>u,isVueFile:()=>y,isVueSFC:()=>Me,pseudoClass:()=>m,pseudoElement:()=>x});module.exports=A(Te);var S="ununura.css",F="\0"+S,O=["**/*.{vue,svelte,jsx,tsx,astro}"],N=["**/.{nuxt,output}"],a="__NULLABLE__";var C=()=>`-webkit-font-smoothing: antialiased;
"use strict";var g=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var z=Object.prototype.hasOwnProperty;var A=(e,t)=>{for(var s in t)g(e,s,{get:t[s],enumerable:!0})},P=(e,t,s,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of R(t))!z.call(e,n)&&n!==s&&g(e,n,{get:()=>t[n],enumerable:!(i=D(t,n))||i.enumerable});return e};var F=e=>P(g({},"__esModule",{value:!0}),e);var De={};A(De,{ANTIALIASED_RESET_CSS:()=>y,DEFAULT_RESPONSIVE:()=>x,DEFAULT_UNIT:()=>q,MEYER_RESET_CSS:()=>W,NOVOUT_RESET_CSS:()=>V,NULLABLE:()=>a,RESOLVED_VIRTUAL_CSS_INJECT_FILENAME:()=>O,STANDARD_EXCLUDE_SCAN:()=>_,STANDARD_INCLUDE_SCAN:()=>N,UNUNURA_RESPONSIVE:()=>j,UnunuraGlobals:()=>p,UnunuraIdentifier:()=>l,UnunuraKeys:()=>c,VIRTUAL_CSS_INJECT_FILENAME:()=>C,browserFonts:()=>u,findResource:()=>Ge,findResourceInStart:()=>Te,getFilename:()=>Be,isAstroFile:()=>K,isBorderStyle:()=>le,isCSSColor:()=>Q,isCloseMultipleKey:()=>L,isCommonIdentifier:()=>T,isContextCloseKey:()=>be,isContextIdentifier:()=>G,isContextKey:()=>Se,isContextOpenKey:()=>v,isCursor:()=>ge,isDefaultCentralize:()=>H,isDefaultFont:()=>I,isFlexHorizontal:()=>ee,isFlexVertical:()=>te,isGlobal:()=>ye,isHTTPSImage:()=>ne,isHex:()=>Y,isIdentifier:()=>Ee,isImage:()=>ae,isImageRepeat:()=>re,isImageSize:()=>U,isJSXEntryFile:()=>Z,isJSXFile:()=>X,isJustifyAlign:()=>oe,isJustifySelf:()=>se,isKey:()=>Ce,isNullable:()=>he,isNumber:()=>J,isNumberSuffix:()=>me,isOpenKey:()=>ue,isOpenMultipleKey:()=>S,isOutlineStyle:()=>pe,isPseudoClassContextIdentifier:()=>k,isPseudoElementContextIdentifier:()=>fe,isResponsiveContextIdentifier:()=>M,isScopedSFCFile:()=>$,isScroll:()=>de,isSizer:()=>ce,isSlashImage:()=>ie,isSvelteFile:()=>E,isThemeContextIdentifier:()=>w,isTouch:()=>xe,isTransitionProperty:()=>Le,isTransitionTimingFunction:()=>ve,isTypographyOverflow:()=>we,isTypographyTransform:()=>Me,isUniqueKey:()=>b,isVueFile:()=>f,isVueSFC:()=>ke,pseudoClass:()=>m,pseudoElement:()=>h});module.exports=F(De);var C="ununura.css",O="\0"+C,N=["**/*.{vue,svelte,jsx,tsx,astro}"],_=["**/.{nuxt,output}"],a="__NULLABLE__",q="px",x={xs:"538px",sm:"640px",md:"768px",lg:"1024px",xl:"1536px"};var y=()=>`-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
`,q=()=>`* {
`,V=()=>`* {
padding: 0;

@@ -8,3 +8,3 @@ margin: 0;

font-size: 16px;
${C()}
${y()}
}

@@ -65,2 +65,2 @@

}
`,m=["hover","focus","active","checked","disabled","empty","enabled","first-child","first-of-type","in-range","invalid","last-child","last-of-type","link","only-child","optional","out-of-range","read-only","read-write","required","valid","visited"],x=["after","before","cue","first-letter","first-line","selection","slotted","backdrop","placeholder","marker","spelling-error","grammar-error"],h=["Arial","Arial Black","Bahnschrift","Calibri","Cambria","Cambria Math","Candara","Comic Sans MS","Consolas","Constantia","Corbel","Courier New","Ebrima","Franklin Gothic Medium","Gabriola","Gadugi","Georgia","HoloLens MDL2 Assets","Impact","Ink Free","Javanese Text","Leelawadee UI","Lucida Console","Lucida Sans Unicode","Malgun Gothic","Marlett","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft YaHei","Microsoft Yi Baiti","MingLiU-ExtB","Mongolian Baiti","MS Gothic","MV Boli","Myanmar Text","Nirmala UI","Palatino Linotype","Segoe MDL2 Assets","Segoe Print","Segoe Script","Segoe UI","Segoe UI Historic","Segoe UI Emoji","Segoe UI Symbol","SimSun","Sitka","Sylfaen","Symbol","Tahoma","Times New Roman","Trebuchet MS","Verdana","Webdings","Wingdings","Yu Gothic"],_=e=>({xs:"538px",sm:"640px",md:"768px",lg:"1024px",xl:"1536px"})[e];var l=(o=>(o.Padding="p",o.PaddingExtended="padding",o.Margin="m",o.MarginExtended="m",o.Height="h",o.HeightExtended="height",o.Width="w",o.WidthExtended="width",o.Border="b",o.BorderExtended="border",o.Outline="o",o.OutlineExtended="outline",o.Text="text",o.TextFont="font",o.Background="bg",o.BackgroundExtended="background",o.Flexbox="f",o.FlexboxExtended="flex",o.Grid="g",o.GridExtended="grid",o.Position="pos",o.PositionExtended="position",o.Scroll="sc",o.ScrollExtended="scroll",o.Shadow="sh",o.ShadowExtended="shadow",o.Rounded="r",o.RoundedExtended="rounded",o.ZIndex="z",o.ZIndexExtended="zindex",o.Display="d",o.DisplayExtended="display",o.Float="fl",o.FloatExtended="float",o.Transition="tr",o.TransitionExtended="transition",o.Transform="tf",o.TransformExtended="transform",o.Typography="typo",o.TypographyExtended="typography",o.Filter="fi",o.FilterExtended="filter",o.Style="st",o.StyleExtended="style",o.Gradient="gr",o.GradientExtended="gradient",o.Animation="an",o.AnimationExtended="animation",o.Collection="cl",o.CollectionExtended="collection",o.Reset="reset",o))(l||{}),p=(s=>(s.None="?",s.Important="!",s))(p||{}),c=(r=>(r.MultipleContextOpen="[",r.MultipleContextClose="]",r.SpecificContextOpen="(",r.SpecificContextClose=")",r.UniqueContext=":",r))(c||{});var V=e=>["center","left","right","justify"].some(t=>e===t),j=e=>/^#[0-9a-fA-F]{6}/i.test(e),H=e=>/[-]{0,1}[\d]*[.]{0,1}[\d]+/i.test(e),y=e=>/\.(vue)$/.test(e),f=e=>/\.(svelte)$/.test(e),Y=e=>/\.(astro)$/.test(e),J=e=>y(e)||f(e),K=e=>/\.(jsx|tsx)$/.test(e),$=e=>e.match(/main.(jsx|tsx)/),X=e=>["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].some(t=>t.toLowerCase()===e.toLowerCase()),Z=e=>[...h].some(t=>t.toLowerCase()===e.toLowerCase()),Q=e=>["auto","cover","contain"].some(t=>e.toLowerCase()===t.toLowerCase()),I=e=>["start","end","center","between","around","evenly","initial","inherit"].some(t=>e===t),U=e=>["stretch","center","start","end","baseline","initial","inherit"].some(t=>e===t),ee=e=>["stretch","center","start","end"].some(t=>e===t),te=e=>["auto","stretch","center","start","end"].some(t=>e===t),oe=e=>["repeat","no-repeat","repeat-x","repeat-y","repeat-round","repeat-space"].some(t=>e.toLowerCase()===t.toLowerCase()),se=e=>e.startsWith("//"),re=e=>/(https?:\/\/.*\.(?:png|jpg|gif|jpe?g|tiff?|png|webp|bmp))/i.test(e),ie=e=>/\.(gif|jpe?g|tiff?|png|webp|bmp)$/i.test(e),ne=e=>["solid","dotted","dashed"].some(t=>t===e),ae=e=>["solid","dotted","dashed","double"].some(t=>t===e),le=e=>["xs","sm","base","lg","xl"].some(t=>t===e),pe=e=>["scroll","hidden","auto","clip","visible"].some(t=>t===e),ce=e=>["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grap","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"].some(t=>t===e),de=e=>["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-down","manipulation"].some(t=>t===e),ge=e=>["cm","mm","pc","pt","em","ex","ch","%","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh"].some(t=>e.toLowerCase().endsWith(t.toLowerCase())),me=e=>e===a||e===void 0||e===null,u=e=>e===":",xe=e=>u(e)||b(e)||v(e),b=e=>e==="[",L=e=>e==="]",v=e=>e==="(",he=e=>e===")",ue=e=>u(e)||b(e)||L(e),be=e=>Object.values(c).some(t=>t===e),Se=e=>Object.values(p).find(t=>e.startsWith(t)),w=e=>["dark","light","sepia"].find(t=>t===e),E=e=>["xs","sm","md","lg","xl"].find(t=>t===e),M=e=>m?.find(t=>t===e),Ce=e=>x?.find(t=>t===e),k=e=>w(e)||E(e)||M(e),G=e=>Object.values(l).some(t=>t===e),ye=e=>Object.values(l).some(t=>e.startsWith(t)),fe=e=>G(e)||k(e),Le=e=>["all","none","background","color","transform"].some(t=>e===t),ve=e=>["ease","ease-in","ease-out","ease-in-out","linear","step-start","step-end"].some(t=>e===t),we=e=>["clip","ellipsis"].some(t=>e===t),Ee=e=>["uppercase","lowercase","capitalize"].some(t=>e===t),Me=e=>e==="vue";var B=e=>e.endsWith("ms")||e.endsWith("s");var ke=(e,t)=>e.find(s=>t.some(i=>i===s))??a,Ge=(e,t,s)=>{let i=e.find(r=>t.some(d=>r.startsWith(d)));if(!i)return a;let n=i.substring(i.indexOf("-")+1);if(s?.supporter)return s?.supporter({contents:[n],stack:[],buffer:[]});if(s?.onlyValue)return n;if(s?.onlySpreadValue){let r=i.split("-");if(r.shift(),s?.validate==="timer"){let[d]=r;if(!B(d))return a}return r.join("-")}return i},Be=e=>e.substring(e.lastIndexOf("/")+1);0&&(module.exports={ANTIALIASED_RESET_CSS,MEYER_RESET_CSS,NOVOUT_RESET_CSS,NULLABLE,RESOLVED_VIRTUAL_CSS_INJECT_FILENAME,STANDARD_EXCLUDE_SCAN,STANDARD_INCLUDE_SCAN,UNUNURA_RESPONSIVE,UnunuraGlobals,UnunuraIdentifier,UnunuraKeys,VIRTUAL_CSS_INJECT_FILENAME,asCommonIdentifier,browserFonts,findResource,findResourceInStart,getFilename,isAstroFile,isBorderStyle,isCSSColor,isCloseMultipleKey,isCommonIdentifier,isContextCloseKey,isContextIdentifier,isContextKey,isContextOpenKey,isCursor,isDefaultCentralize,isDefaultFont,isFlexHorizontal,isFlexVertical,isGlobal,isHTTPSImage,isHex,isIdentifier,isImage,isImageRepeat,isImageSize,isJSXEntryFile,isJSXFile,isJustifyAlign,isJustifySelf,isKey,isNullable,isNumber,isNumberSuffix,isOpenKey,isOpenMultipleKey,isOutlineStyle,isPseudoClassContextIdentifier,isPseudoElementContextIdentifier,isResponsiveContextIdentifier,isScopedSFCFile,isScroll,isSizer,isSlashImage,isSvelteFile,isThemeContextIdentifier,isTouch,isTransitionProperty,isTransitionTimingFunction,isTypographyOverflow,isTypographyTransform,isUniqueKey,isVueFile,isVueSFC,pseudoClass,pseudoElement});
`,m=["hover","focus","active","checked","disabled","empty","enabled","first-child","first-of-type","in-range","invalid","last-child","last-of-type","link","only-child","optional","out-of-range","read-only","read-write","required","valid","visited"],h=["after","before","cue","first-letter","first-line","selection","slotted","backdrop","placeholder","marker","spelling-error","grammar-error"],u=["Arial","Arial Black","Bahnschrift","Calibri","Cambria","Cambria Math","Candara","Comic Sans MS","Consolas","Constantia","Corbel","Courier New","Ebrima","Franklin Gothic Medium","Gabriola","Gadugi","Georgia","HoloLens MDL2 Assets","Impact","Ink Free","Javanese Text","Leelawadee UI","Lucida Console","Lucida Sans Unicode","Malgun Gothic","Marlett","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft YaHei","Microsoft Yi Baiti","MingLiU-ExtB","Mongolian Baiti","MS Gothic","MV Boli","Myanmar Text","Nirmala UI","Palatino Linotype","Segoe MDL2 Assets","Segoe Print","Segoe Script","Segoe UI","Segoe UI Historic","Segoe UI Emoji","Segoe UI Symbol","SimSun","Sitka","Sylfaen","Symbol","Tahoma","Times New Roman","Trebuchet MS","Verdana","Webdings","Wingdings","Yu Gothic"],j=e=>x[e]??e;var l=(o=>(o.Padding="p",o.PaddingExtended="padding",o.Margin="m",o.MarginExtended="m",o.Height="h",o.HeightExtended="height",o.Width="w",o.WidthExtended="width",o.Border="b",o.BorderExtended="border",o.Outline="o",o.OutlineExtended="outline",o.Text="text",o.TextFont="font",o.Background="bg",o.BackgroundExtended="background",o.Flexbox="f",o.FlexboxExtended="flex",o.Grid="g",o.GridExtended="grid",o.Position="pos",o.PositionExtended="position",o.Scroll="sc",o.ScrollExtended="scroll",o.Shadow="sh",o.ShadowExtended="shadow",o.Rounded="r",o.RoundedExtended="rounded",o.ZIndex="z",o.ZIndexExtended="zindex",o.Display="d",o.DisplayExtended="display",o.Float="fl",o.FloatExtended="float",o.Transition="tr",o.TransitionExtended="transition",o.Transform="tf",o.TransformExtended="transform",o.Typography="typo",o.TypographyExtended="typography",o.Filter="fi",o.FilterExtended="filter",o.Style="st",o.StyleExtended="style",o.Gradient="gr",o.GradientExtended="gradient",o.Animation="an",o.AnimationExtended="animation",o.Collection="cl",o.CollectionExtended="collection",o.Reset="reset",o))(l||{}),p=(s=>(s.None="?",s.Important="!",s))(p||{}),c=(r=>(r.MultipleContextOpen="[",r.MultipleContextClose="]",r.SpecificContextOpen="(",r.SpecificContextClose=")",r.UniqueContext=":",r))(c||{});var H=e=>["center","left","right","justify"].some(t=>e===t),Y=e=>/^#[0-9a-fA-F]{6}/i.test(e),J=e=>/[-]{0,1}[\d]*[.]{0,1}[\d]+/i.test(e),f=e=>/\.(vue)$/.test(e),E=e=>/\.(svelte)$/.test(e),K=e=>/\.(astro)$/.test(e),$=e=>f(e)||E(e),X=e=>/\.(jsx|tsx)$/.test(e),Z=e=>e.match(/main.(jsx|tsx)/),Q=e=>["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].some(t=>t.toLowerCase()===e.toLowerCase()),I=e=>[...u].some(t=>t.toLowerCase()===e.toLowerCase()),U=e=>["auto","cover","contain"].some(t=>e.toLowerCase()===t.toLowerCase()),ee=e=>["start","end","center","between","around","evenly","initial","inherit"].some(t=>e===t),te=e=>["stretch","center","start","end","baseline","initial","inherit"].some(t=>e===t),oe=e=>["stretch","center","start","end"].some(t=>e===t),se=e=>["auto","stretch","center","start","end"].some(t=>e===t),re=e=>["repeat","no-repeat","repeat-x","repeat-y","repeat-round","repeat-space"].some(t=>e.toLowerCase()===t.toLowerCase()),ie=e=>e.startsWith("//"),ne=e=>/(https?:\/\/.*\.(?:png|jpg|gif|jpe?g|tiff?|png|webp|bmp))/i.test(e),ae=e=>/\.(gif|jpe?g|tiff?|png|webp|bmp)$/i.test(e),le=e=>["solid","dotted","dashed"].some(t=>t===e),pe=e=>["solid","dotted","dashed","double"].some(t=>t===e),ce=e=>["xs","sm","base","lg","xl"].some(t=>t===e),de=e=>["scroll","hidden","auto","clip","visible"].some(t=>t===e),ge=e=>["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grap","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"].some(t=>t===e),xe=e=>["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-down","manipulation"].some(t=>t===e),me=e=>["cm","mm","pc","pt","em","ex","ch","%","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh"].some(t=>e.toLowerCase().endsWith(t.toLowerCase())),he=e=>e===a||e===void 0||e===null,b=e=>e===":",ue=e=>b(e)||S(e)||v(e),S=e=>e==="[",L=e=>e==="]",v=e=>e==="(",be=e=>e===")",Se=e=>b(e)||S(e)||L(e),Ce=e=>Object.values(c).some(t=>t===e),ye=e=>Object.values(p).find(t=>e.startsWith(t)),w=e=>["dark","light","sepia"].find(t=>t===e),M=e=>["xs","sm","md","lg","xl"].find(t=>t===e),k=e=>m?.find(t=>t===e),fe=e=>h?.find(t=>t===e),G=e=>w(e)||M(e)||k(e),T=e=>Object.values(l).some(t=>t===e),Ee=e=>T(e)||G(e),Le=e=>["all","none","background","color","transform"].some(t=>e===t),ve=e=>["ease","ease-in","ease-out","ease-in-out","linear","step-start","step-end"].some(t=>e===t),we=e=>["clip","ellipsis"].some(t=>e===t),Me=e=>["uppercase","lowercase","capitalize"].some(t=>e===t),ke=e=>e==="vue";var B=e=>e.endsWith("ms")||e.endsWith("s");var Ge=(e,t)=>e.find(s=>t.some(i=>i===s))??a,Te=(e,t,s)=>{let i=e.find(r=>t.some(d=>r.startsWith(d)));if(!i)return a;let n=i.substring(i.indexOf("-")+1);if(s?.supporter)return s?.supporter({contents:[n],stack:[],buffer:[]});if(s?.onlyValue)return n;if(s?.onlySpreadValue){let r=i.split("-");if(r.shift(),s?.validate==="timer"){let[d]=r;if(!B(d))return a}return r.join("-")}return i},Be=e=>e.substring(e.lastIndexOf("/")+1);0&&(module.exports={ANTIALIASED_RESET_CSS,DEFAULT_RESPONSIVE,DEFAULT_UNIT,MEYER_RESET_CSS,NOVOUT_RESET_CSS,NULLABLE,RESOLVED_VIRTUAL_CSS_INJECT_FILENAME,STANDARD_EXCLUDE_SCAN,STANDARD_INCLUDE_SCAN,UNUNURA_RESPONSIVE,UnunuraGlobals,UnunuraIdentifier,UnunuraKeys,VIRTUAL_CSS_INJECT_FILENAME,browserFonts,findResource,findResourceInStart,getFilename,isAstroFile,isBorderStyle,isCSSColor,isCloseMultipleKey,isCommonIdentifier,isContextCloseKey,isContextIdentifier,isContextKey,isContextOpenKey,isCursor,isDefaultCentralize,isDefaultFont,isFlexHorizontal,isFlexVertical,isGlobal,isHTTPSImage,isHex,isIdentifier,isImage,isImageRepeat,isImageSize,isJSXEntryFile,isJSXFile,isJustifyAlign,isJustifySelf,isKey,isNullable,isNumber,isNumberSuffix,isOpenKey,isOpenMultipleKey,isOutlineStyle,isPseudoClassContextIdentifier,isPseudoElementContextIdentifier,isResponsiveContextIdentifier,isScopedSFCFile,isScroll,isSizer,isSlashImage,isSvelteFile,isThemeContextIdentifier,isTouch,isTransitionProperty,isTransitionTimingFunction,isTypographyOverflow,isTypographyTransform,isUniqueKey,isVueFile,isVueSFC,pseudoClass,pseudoElement});
{
"name": "ununura-shared",
"version": "1.2.0",
"version": "1.2.1",
"description": "Atomic CSS Engine.",

@@ -32,3 +32,3 @@ "author": "Novout",

},
"gitHead": "1a0658b9f11060b614c66392b8c6d70ccc76d04b"
"gitHead": "12ff7980ff288366f4590b17219c9f26ce29bc5f"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc