@julseb-lib/react 1.1.25 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Image-SKLDS4YE.js → Image-4MLJ7FPA.js} +2 -2
- package/dist/{chunk-UHS3R3PM.js → chunk-PXJ4JXEH.js} +3 -1
- package/dist/{chunk-UHS3R3PM.js.map → chunk-PXJ4JXEH.js.map} +1 -1
- package/dist/index.cjs +87 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +86 -79
- package/dist/index.js.map +1 -1
- package/dist/types/global.cjs.map +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/tailwind.cjs.map +1 -1
- package/dist/types/tailwind.d.cts +31 -1
- package/dist/types/tailwind.d.ts +31 -1
- package/package.json +2 -1
- /package/dist/{Image-SKLDS4YE.js.map → Image-4MLJ7FPA.js.map} +0 -0
|
@@ -335,6 +335,19 @@ type PerspectiveOriginRef3 = "bottom" | "center" | "left" | "right" | "top";
|
|
|
335
335
|
type PlaceContentRef1 = "around" | "baseline" | "between" | "center" | "center-safe" | "end" | "end-safe" | "evenly" | "start" | "stretch";
|
|
336
336
|
type PlaceItemsRef1 = "baseline" | "center" | "center-safe" | "end" | "end-safe" | "start" | "stretch";
|
|
337
337
|
type PlaceSelfRef1 = "auto" | "center" | "center-safe" | "end" | "end-safe" | "start" | "stretch";
|
|
338
|
+
type ColorRef1 = "foreground";
|
|
339
|
+
type ColorRef2 = "1" | "2" | "3" | "4" | "5";
|
|
340
|
+
type ColorRef3 = "foreground";
|
|
341
|
+
type ColorRef4 = "accent" | "accent-foreground" | "border" | "foreground" | "primary" | "primary-foreground" | "ring";
|
|
342
|
+
type ColorRef5 = "foreground";
|
|
343
|
+
type ColorRef6 = "foreground";
|
|
344
|
+
type ColorRef7 = "1" | "2" | "3" | "4" | "5";
|
|
345
|
+
type ColorRef8 = "foreground";
|
|
346
|
+
type ColorRef9 = "foreground";
|
|
347
|
+
type ColorRef10 = "foreground";
|
|
348
|
+
type ColorRef11 = "foreground";
|
|
349
|
+
type ColorRef12 = "foreground";
|
|
350
|
+
type ColorRef13 = "accent" | "background" | "border" | "card" | "current" | "destructive" | "foreground" | "inherit" | "input" | "muted" | "popover" | "primary" | "ring" | "secondary" | "sidebar" | "transparent" | TailwindGlobalColor;
|
|
338
351
|
type AnimationIterationCountRef1 = "0" | "1" | "infinite";
|
|
339
352
|
type ResizeRef1 = "none" | "x" | "y";
|
|
340
353
|
type BorderRadiusRef1 = "2xl" | "3xl" | "4xl" | "full" | "lg" | "md" | "none" | "sm" | "xl" | "xs";
|
|
@@ -2805,6 +2818,23 @@ interface TailwindPlaceSelf {
|
|
|
2805
2818
|
*/
|
|
2806
2819
|
placeSelf: PlaceSelfValue;
|
|
2807
2820
|
}
|
|
2821
|
+
type ColorPlaceholderaccentLiteral = `placeholder-accent-${ColorRef1}`;
|
|
2822
|
+
type ColorPlaceholderchartLiteral = `placeholder-chart-${ColorRef2}`;
|
|
2823
|
+
type ColorPlaceholderprimaryLiteral = `placeholder-primary-${ColorRef3}`;
|
|
2824
|
+
type ColorPlaceholdersidebarLiteral = `placeholder-sidebar-${ColorRef4}`;
|
|
2825
|
+
type ColorTextaccentLiteral = `text-accent-${ColorRef5}`;
|
|
2826
|
+
type ColorTextcardLiteral = `text-card-${ColorRef6}`;
|
|
2827
|
+
type ColorTextchartLiteral = `text-chart-${ColorRef7}`;
|
|
2828
|
+
type ColorTextdestructiveLiteral = `text-destructive-${ColorRef8}`;
|
|
2829
|
+
type ColorTextmutedLiteral = `text-muted-${ColorRef9}`;
|
|
2830
|
+
type ColorTextpopoverLiteral = `text-popover-${ColorRef10}`;
|
|
2831
|
+
type ColorTextprimaryLiteral = `text-primary-${ColorRef11}`;
|
|
2832
|
+
type ColorTextsecondaryLiteral = `text-secondary-${ColorRef12}`;
|
|
2833
|
+
type ColorTextshadowLiteral = `text-shadow-${ColorRef4}` | "text-shadow-2xs" | "text-shadow-amber-50" | "text-shadow-amber-100" | "text-shadow-amber-200" | "text-shadow-amber-300" | "text-shadow-amber-400" | "text-shadow-amber-500" | "text-shadow-amber-600" | "text-shadow-amber-700" | "text-shadow-amber-800" | "text-shadow-amber-900" | "text-shadow-amber-950" | "text-shadow-background" | "text-shadow-black" | "text-shadow-blue-50" | "text-shadow-blue-100" | "text-shadow-blue-200" | "text-shadow-blue-300" | "text-shadow-blue-400" | "text-shadow-blue-500" | "text-shadow-blue-600" | "text-shadow-blue-700" | "text-shadow-blue-800" | "text-shadow-blue-900" | "text-shadow-blue-950" | "text-shadow-card" | "text-shadow-card-foreground" | "text-shadow-chart-1" | "text-shadow-chart-2" | "text-shadow-chart-3" | "text-shadow-chart-4" | "text-shadow-chart-5" | "text-shadow-current" | "text-shadow-cyan-50" | "text-shadow-cyan-100" | "text-shadow-cyan-200" | "text-shadow-cyan-300" | "text-shadow-cyan-400" | "text-shadow-cyan-500" | "text-shadow-cyan-600" | "text-shadow-cyan-700" | "text-shadow-cyan-800" | "text-shadow-cyan-900" | "text-shadow-cyan-950" | "text-shadow-destructive" | "text-shadow-destructive-foreground" | "text-shadow-emerald-50" | "text-shadow-emerald-100" | "text-shadow-emerald-200" | "text-shadow-emerald-300" | "text-shadow-emerald-400" | "text-shadow-emerald-500" | "text-shadow-emerald-600" | "text-shadow-emerald-700" | "text-shadow-emerald-800" | "text-shadow-emerald-900" | "text-shadow-emerald-950" | "text-shadow-fuchsia-50" | "text-shadow-fuchsia-100" | "text-shadow-fuchsia-200" | "text-shadow-fuchsia-300" | "text-shadow-fuchsia-400" | "text-shadow-fuchsia-500" | "text-shadow-fuchsia-600" | "text-shadow-fuchsia-700" | "text-shadow-fuchsia-800" | "text-shadow-fuchsia-900" | "text-shadow-fuchsia-950" | "text-shadow-gray-50" | "text-shadow-gray-100" | "text-shadow-gray-200" | "text-shadow-gray-300" | "text-shadow-gray-400" | "text-shadow-gray-500" | "text-shadow-gray-600" | "text-shadow-gray-700" | "text-shadow-gray-800" | "text-shadow-gray-900" | "text-shadow-gray-950" | "text-shadow-green-50" | "text-shadow-green-100" | "text-shadow-green-200" | "text-shadow-green-300" | "text-shadow-green-400" | "text-shadow-green-500" | "text-shadow-green-600" | "text-shadow-green-700" | "text-shadow-green-800" | "text-shadow-green-900" | "text-shadow-green-950" | "text-shadow-indigo-50" | "text-shadow-indigo-100" | "text-shadow-indigo-200" | "text-shadow-indigo-300" | "text-shadow-indigo-400" | "text-shadow-indigo-500" | "text-shadow-indigo-600" | "text-shadow-indigo-700" | "text-shadow-indigo-800" | "text-shadow-indigo-900" | "text-shadow-indigo-950" | "text-shadow-inherit" | "text-shadow-initial" | "text-shadow-input" | "text-shadow-lg" | "text-shadow-lime-50" | "text-shadow-lime-100" | "text-shadow-lime-200" | "text-shadow-lime-300" | "text-shadow-lime-400" | "text-shadow-lime-500" | "text-shadow-lime-600" | "text-shadow-lime-700" | "text-shadow-lime-800" | "text-shadow-lime-900" | "text-shadow-lime-950" | "text-shadow-md" | "text-shadow-muted" | "text-shadow-muted-foreground" | "text-shadow-neutral-50" | "text-shadow-neutral-100" | "text-shadow-neutral-200" | "text-shadow-neutral-300" | "text-shadow-neutral-400" | "text-shadow-neutral-500" | "text-shadow-neutral-600" | "text-shadow-neutral-700" | "text-shadow-neutral-800" | "text-shadow-neutral-900" | "text-shadow-neutral-950" | "text-shadow-none" | "text-shadow-orange-50" | "text-shadow-orange-100" | "text-shadow-orange-200" | "text-shadow-orange-300" | "text-shadow-orange-400" | "text-shadow-orange-500" | "text-shadow-orange-600" | "text-shadow-orange-700" | "text-shadow-orange-800" | "text-shadow-orange-900" | "text-shadow-orange-950" | "text-shadow-pink-50" | "text-shadow-pink-100" | "text-shadow-pink-200" | "text-shadow-pink-300" | "text-shadow-pink-400" | "text-shadow-pink-500" | "text-shadow-pink-600" | "text-shadow-pink-700" | "text-shadow-pink-800" | "text-shadow-pink-900" | "text-shadow-pink-950" | "text-shadow-popover" | "text-shadow-popover-foreground" | "text-shadow-purple-50" | "text-shadow-purple-100" | "text-shadow-purple-200" | "text-shadow-purple-300" | "text-shadow-purple-400" | "text-shadow-purple-500" | "text-shadow-purple-600" | "text-shadow-purple-700" | "text-shadow-purple-800" | "text-shadow-purple-900" | "text-shadow-purple-950" | "text-shadow-red-50" | "text-shadow-red-100" | "text-shadow-red-200" | "text-shadow-red-300" | "text-shadow-red-400" | "text-shadow-red-500" | "text-shadow-red-600" | "text-shadow-red-700" | "text-shadow-red-800" | "text-shadow-red-900" | "text-shadow-red-950" | "text-shadow-rose-50" | "text-shadow-rose-100" | "text-shadow-rose-200" | "text-shadow-rose-300" | "text-shadow-rose-400" | "text-shadow-rose-500" | "text-shadow-rose-600" | "text-shadow-rose-700" | "text-shadow-rose-800" | "text-shadow-rose-900" | "text-shadow-rose-950" | "text-shadow-secondary" | "text-shadow-secondary-foreground" | "text-shadow-sidebar" | "text-shadow-sidebar-accent" | "text-shadow-sidebar-accent-foreground" | "text-shadow-sidebar-border" | "text-shadow-sidebar-foreground" | "text-shadow-sidebar-primary" | "text-shadow-sidebar-primary-foreground" | "text-shadow-sidebar-ring" | "text-shadow-sky-50" | "text-shadow-sky-100" | "text-shadow-sky-200" | "text-shadow-sky-300" | "text-shadow-sky-400" | "text-shadow-sky-500" | "text-shadow-sky-600" | "text-shadow-sky-700" | "text-shadow-sky-800" | "text-shadow-sky-900" | "text-shadow-sky-950" | "text-shadow-slate-50" | "text-shadow-slate-100" | "text-shadow-slate-200" | "text-shadow-slate-300" | "text-shadow-slate-400" | "text-shadow-slate-500" | "text-shadow-slate-600" | "text-shadow-slate-700" | "text-shadow-slate-800" | "text-shadow-slate-900" | "text-shadow-slate-950" | "text-shadow-sm" | "text-shadow-stone-50" | "text-shadow-stone-100" | "text-shadow-stone-200" | "text-shadow-stone-300" | "text-shadow-stone-400" | "text-shadow-stone-500" | "text-shadow-stone-600" | "text-shadow-stone-700" | "text-shadow-stone-800" | "text-shadow-stone-900" | "text-shadow-stone-950" | "text-shadow-teal-50" | "text-shadow-teal-100" | "text-shadow-teal-200" | "text-shadow-teal-300" | "text-shadow-teal-400" | "text-shadow-teal-500" | "text-shadow-teal-600" | "text-shadow-teal-700" | "text-shadow-teal-800" | "text-shadow-teal-900" | "text-shadow-teal-950" | "text-shadow-transparent" | "text-shadow-violet-50" | "text-shadow-violet-100" | "text-shadow-violet-200" | "text-shadow-violet-300" | "text-shadow-violet-400" | "text-shadow-violet-500" | "text-shadow-violet-600" | "text-shadow-violet-700" | "text-shadow-violet-800" | "text-shadow-violet-900" | "text-shadow-violet-950" | "text-shadow-white" | "text-shadow-xs" | "text-shadow-yellow-50" | "text-shadow-yellow-100" | "text-shadow-yellow-200" | "text-shadow-yellow-300" | "text-shadow-yellow-400" | "text-shadow-yellow-500" | "text-shadow-yellow-600" | "text-shadow-yellow-700" | "text-shadow-yellow-800" | "text-shadow-yellow-900" | "text-shadow-yellow-950" | "text-shadow-zinc-50" | "text-shadow-zinc-100" | "text-shadow-zinc-200" | "text-shadow-zinc-300" | "text-shadow-zinc-400" | "text-shadow-zinc-500" | "text-shadow-zinc-600" | "text-shadow-zinc-700" | "text-shadow-zinc-800" | "text-shadow-zinc-900" | "text-shadow-zinc-950";
|
|
2834
|
+
type ColorTextsidebarLiteral = `text-sidebar-${ColorRef4}`;
|
|
2835
|
+
type ColorPlaceholderLiteral = `placeholder-${ColorRef13}` | "placeholder-card-foreground" | "placeholder-destructive-foreground" | "placeholder-muted-foreground" | "placeholder-popover-foreground" | "placeholder-secondary-foreground";
|
|
2836
|
+
type ColorTextLiteral = `text-${ColorRef13}`;
|
|
2837
|
+
type ColorValue = ColorPlaceholderaccentLiteral | ColorPlaceholderchartLiteral | ColorPlaceholderprimaryLiteral | ColorPlaceholdersidebarLiteral | ColorTextaccentLiteral | ColorTextcardLiteral | ColorTextchartLiteral | ColorTextdestructiveLiteral | ColorTextmutedLiteral | ColorTextpopoverLiteral | ColorTextprimaryLiteral | ColorTextsecondaryLiteral | ColorTextshadowLiteral | ColorTextsidebarLiteral | ColorPlaceholderLiteral | ColorTextLiteral;
|
|
2808
2838
|
interface TailwindColor {
|
|
2809
2839
|
/**
|
|
2810
2840
|
* `Color`
|
|
@@ -3256,4 +3286,4 @@ interface Tailwind extends TailwindBackgroundImage, TailwindBottom, TailwindGrid
|
|
|
3256
3286
|
*/
|
|
3257
3287
|
type TailwindNestGroups = "*" | "**" | "not-first" | "not-last" | "not-only" | "not-odd" | "not-even" | "not-first-of-type" | "not-last-of-type" | "not-only-of-type" | "not-visited" | "not-target" | "not-open" | "not-default" | "not-checked" | "not-indeterminate" | "not-placeholder-shown" | "not-autofill" | "not-optional" | "not-required" | "not-valid" | "not-invalid" | "not-user-valid" | "not-user-invalid" | "not-in-range" | "not-out-of-range" | "not-read-only" | "not-empty" | "not-focus-within" | "not-hover" | "not-focus" | "not-focus-visible" | "not-active" | "not-enabled" | "not-disabled" | "not-inert" | "not-in" | "not-has" | "not-aria" | "not-data" | "not-nth" | "not-nth-last" | "not-nth-of-type" | "not-nth-last-of-type" | "not-supports" | "not-motion-safe" | "not-motion-reduce" | "not-contrast-more" | "not-contrast-less" | "not-max" | "not-sm" | "not-md" | "not-lg" | "not-xl" | "not-2xl" | "not-min" | "not-@max" | "not-@" | "not-@min" | "not-portrait" | "not-landscape" | "not-ltr" | "not-rtl" | "not-dark" | "not-print" | "not-forced-colors" | "not-inverted-colors" | "not-pointer-none" | "not-pointer-coarse" | "not-pointer-fine" | "not-any-pointer-none" | "not-any-pointer-coarse" | "not-any-pointer-fine" | "not-noscript" | "group-first" | "group-last" | "group-only" | "group-odd" | "group-even" | "group-first-of-type" | "group-last-of-type" | "group-only-of-type" | "group-visited" | "group-target" | "group-open" | "group-default" | "group-checked" | "group-indeterminate" | "group-placeholder-shown" | "group-autofill" | "group-optional" | "group-required" | "group-valid" | "group-invalid" | "group-user-valid" | "group-user-invalid" | "group-in-range" | "group-out-of-range" | "group-read-only" | "group-empty" | "group-focus-within" | "group-hover" | "group-focus" | "group-focus-visible" | "group-active" | "group-enabled" | "group-disabled" | "group-inert" | "group-in" | "group-has" | "group-aria" | "group-data" | "group-nth" | "group-nth-last" | "group-nth-of-type" | "group-nth-last-of-type" | "group-ltr" | "group-rtl" | "group-dark" | "peer-first" | "peer-last" | "peer-only" | "peer-odd" | "peer-even" | "peer-first-of-type" | "peer-last-of-type" | "peer-only-of-type" | "peer-visited" | "peer-target" | "peer-open" | "peer-default" | "peer-checked" | "peer-indeterminate" | "peer-placeholder-shown" | "peer-autofill" | "peer-optional" | "peer-required" | "peer-valid" | "peer-invalid" | "peer-user-valid" | "peer-user-invalid" | "peer-in-range" | "peer-out-of-range" | "peer-read-only" | "peer-empty" | "peer-focus-within" | "peer-hover" | "peer-focus" | "peer-focus-visible" | "peer-active" | "peer-enabled" | "peer-disabled" | "peer-inert" | "peer-in" | "peer-has" | "peer-aria" | "peer-data" | "peer-nth" | "peer-nth-last" | "peer-nth-of-type" | "peer-nth-last-of-type" | "peer-ltr" | "peer-rtl" | "peer-dark" | "first-letter" | "first-line" | "marker" | "selection" | "file" | "placeholder" | "backdrop" | "details-content" | "before" | "after" | "first" | "last" | "only" | "odd" | "even" | "first-of-type" | "last-of-type" | "only-of-type" | "visited" | "target" | "open" | "default" | "checked" | "indeterminate" | "placeholder-shown" | "autofill" | "optional" | "required" | "valid" | "invalid" | "user-valid" | "user-invalid" | "in-range" | "out-of-range" | "read-only" | "empty" | "focus-within" | "hover" | "focus" | "focus-visible" | "active" | "enabled" | "disabled" | "inert" | "in-first" | "in-last" | "in-only" | "in-odd" | "in-even" | "in-first-of-type" | "in-last-of-type" | "in-only-of-type" | "in-visited" | "in-target" | "in-open" | "in-default" | "in-checked" | "in-indeterminate" | "in-placeholder-shown" | "in-autofill" | "in-optional" | "in-required" | "in-valid" | "in-invalid" | "in-user-valid" | "in-user-invalid" | "in-in-range" | "in-out-of-range" | "in-read-only" | "in-empty" | "in-focus-within" | "in-hover" | "in-focus" | "in-focus-visible" | "in-active" | "in-enabled" | "in-disabled" | "in-inert" | "in-in" | "in-has" | "in-aria" | "in-data" | "in-nth" | "in-nth-last" | "in-nth-of-type" | "in-nth-last-of-type" | "in-ltr" | "in-rtl" | "in-dark" | "has-first" | "has-last" | "has-only" | "has-odd" | "has-even" | "has-first-of-type" | "has-last-of-type" | "has-only-of-type" | "has-visited" | "has-target" | "has-open" | "has-default" | "has-checked" | "has-indeterminate" | "has-placeholder-shown" | "has-autofill" | "has-optional" | "has-required" | "has-valid" | "has-invalid" | "has-user-valid" | "has-user-invalid" | "has-in-range" | "has-out-of-range" | "has-read-only" | "has-empty" | "has-focus-within" | "has-hover" | "has-focus" | "has-focus-visible" | "has-active" | "has-enabled" | "has-disabled" | "has-inert" | "has-in" | "has-has" | "has-aria" | "has-data" | "has-nth" | "has-nth-last" | "has-nth-of-type" | "has-nth-last-of-type" | "has-ltr" | "has-rtl" | "has-dark" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-pressed" | "aria-readonly" | "aria-required" | "aria-selected" | "data" | "nth" | "nth-last" | "nth-of-type" | "nth-last-of-type" | "supports" | "motion-safe" | "motion-reduce" | "contrast-more" | "contrast-less" | "max-sm" | "max-md" | "max-lg" | "max-xl" | "max-2xl" | "sm" | "md" | "lg" | "xl" | "2xl" | "min-sm" | "min-md" | "min-lg" | "min-xl" | "min-2xl" | "@max-3xs" | "@max-2xs" | "@max-xs" | "@max-sm" | "@max-md" | "@max-lg" | "@max-xl" | "@max-2xl" | "@max-3xl" | "@max-4xl" | "@max-5xl" | "@max-6xl" | "@max-7xl" | "@3xs" | "@2xs" | "@xs" | "@sm" | "@md" | "@lg" | "@xl" | "@2xl" | "@3xl" | "@4xl" | "@5xl" | "@6xl" | "@7xl" | "@min-3xs" | "@min-2xs" | "@min-xs" | "@min-sm" | "@min-md" | "@min-lg" | "@min-xl" | "@min-2xl" | "@min-3xl" | "@min-4xl" | "@min-5xl" | "@min-6xl" | "@min-7xl" | "portrait" | "landscape" | "ltr" | "rtl" | "dark" | "starting" | "print" | "forced-colors" | "inverted-colors" | "pointer-none" | "pointer-coarse" | "pointer-fine" | "any-pointer-none" | "any-pointer-coarse" | "any-pointer-fine" | "noscript";
|
|
3258
3288
|
|
|
3259
|
-
export type { Tailwind, TailwindGlobalColor, TailwindNestGroups };
|
|
3289
|
+
export type { ColorValue, Tailwind, TailwindGlobalColor, TailwindNestGroups };
|
package/dist/types/tailwind.d.ts
CHANGED
|
@@ -335,6 +335,19 @@ type PerspectiveOriginRef3 = "bottom" | "center" | "left" | "right" | "top";
|
|
|
335
335
|
type PlaceContentRef1 = "around" | "baseline" | "between" | "center" | "center-safe" | "end" | "end-safe" | "evenly" | "start" | "stretch";
|
|
336
336
|
type PlaceItemsRef1 = "baseline" | "center" | "center-safe" | "end" | "end-safe" | "start" | "stretch";
|
|
337
337
|
type PlaceSelfRef1 = "auto" | "center" | "center-safe" | "end" | "end-safe" | "start" | "stretch";
|
|
338
|
+
type ColorRef1 = "foreground";
|
|
339
|
+
type ColorRef2 = "1" | "2" | "3" | "4" | "5";
|
|
340
|
+
type ColorRef3 = "foreground";
|
|
341
|
+
type ColorRef4 = "accent" | "accent-foreground" | "border" | "foreground" | "primary" | "primary-foreground" | "ring";
|
|
342
|
+
type ColorRef5 = "foreground";
|
|
343
|
+
type ColorRef6 = "foreground";
|
|
344
|
+
type ColorRef7 = "1" | "2" | "3" | "4" | "5";
|
|
345
|
+
type ColorRef8 = "foreground";
|
|
346
|
+
type ColorRef9 = "foreground";
|
|
347
|
+
type ColorRef10 = "foreground";
|
|
348
|
+
type ColorRef11 = "foreground";
|
|
349
|
+
type ColorRef12 = "foreground";
|
|
350
|
+
type ColorRef13 = "accent" | "background" | "border" | "card" | "current" | "destructive" | "foreground" | "inherit" | "input" | "muted" | "popover" | "primary" | "ring" | "secondary" | "sidebar" | "transparent" | TailwindGlobalColor;
|
|
338
351
|
type AnimationIterationCountRef1 = "0" | "1" | "infinite";
|
|
339
352
|
type ResizeRef1 = "none" | "x" | "y";
|
|
340
353
|
type BorderRadiusRef1 = "2xl" | "3xl" | "4xl" | "full" | "lg" | "md" | "none" | "sm" | "xl" | "xs";
|
|
@@ -2805,6 +2818,23 @@ interface TailwindPlaceSelf {
|
|
|
2805
2818
|
*/
|
|
2806
2819
|
placeSelf: PlaceSelfValue;
|
|
2807
2820
|
}
|
|
2821
|
+
type ColorPlaceholderaccentLiteral = `placeholder-accent-${ColorRef1}`;
|
|
2822
|
+
type ColorPlaceholderchartLiteral = `placeholder-chart-${ColorRef2}`;
|
|
2823
|
+
type ColorPlaceholderprimaryLiteral = `placeholder-primary-${ColorRef3}`;
|
|
2824
|
+
type ColorPlaceholdersidebarLiteral = `placeholder-sidebar-${ColorRef4}`;
|
|
2825
|
+
type ColorTextaccentLiteral = `text-accent-${ColorRef5}`;
|
|
2826
|
+
type ColorTextcardLiteral = `text-card-${ColorRef6}`;
|
|
2827
|
+
type ColorTextchartLiteral = `text-chart-${ColorRef7}`;
|
|
2828
|
+
type ColorTextdestructiveLiteral = `text-destructive-${ColorRef8}`;
|
|
2829
|
+
type ColorTextmutedLiteral = `text-muted-${ColorRef9}`;
|
|
2830
|
+
type ColorTextpopoverLiteral = `text-popover-${ColorRef10}`;
|
|
2831
|
+
type ColorTextprimaryLiteral = `text-primary-${ColorRef11}`;
|
|
2832
|
+
type ColorTextsecondaryLiteral = `text-secondary-${ColorRef12}`;
|
|
2833
|
+
type ColorTextshadowLiteral = `text-shadow-${ColorRef4}` | "text-shadow-2xs" | "text-shadow-amber-50" | "text-shadow-amber-100" | "text-shadow-amber-200" | "text-shadow-amber-300" | "text-shadow-amber-400" | "text-shadow-amber-500" | "text-shadow-amber-600" | "text-shadow-amber-700" | "text-shadow-amber-800" | "text-shadow-amber-900" | "text-shadow-amber-950" | "text-shadow-background" | "text-shadow-black" | "text-shadow-blue-50" | "text-shadow-blue-100" | "text-shadow-blue-200" | "text-shadow-blue-300" | "text-shadow-blue-400" | "text-shadow-blue-500" | "text-shadow-blue-600" | "text-shadow-blue-700" | "text-shadow-blue-800" | "text-shadow-blue-900" | "text-shadow-blue-950" | "text-shadow-card" | "text-shadow-card-foreground" | "text-shadow-chart-1" | "text-shadow-chart-2" | "text-shadow-chart-3" | "text-shadow-chart-4" | "text-shadow-chart-5" | "text-shadow-current" | "text-shadow-cyan-50" | "text-shadow-cyan-100" | "text-shadow-cyan-200" | "text-shadow-cyan-300" | "text-shadow-cyan-400" | "text-shadow-cyan-500" | "text-shadow-cyan-600" | "text-shadow-cyan-700" | "text-shadow-cyan-800" | "text-shadow-cyan-900" | "text-shadow-cyan-950" | "text-shadow-destructive" | "text-shadow-destructive-foreground" | "text-shadow-emerald-50" | "text-shadow-emerald-100" | "text-shadow-emerald-200" | "text-shadow-emerald-300" | "text-shadow-emerald-400" | "text-shadow-emerald-500" | "text-shadow-emerald-600" | "text-shadow-emerald-700" | "text-shadow-emerald-800" | "text-shadow-emerald-900" | "text-shadow-emerald-950" | "text-shadow-fuchsia-50" | "text-shadow-fuchsia-100" | "text-shadow-fuchsia-200" | "text-shadow-fuchsia-300" | "text-shadow-fuchsia-400" | "text-shadow-fuchsia-500" | "text-shadow-fuchsia-600" | "text-shadow-fuchsia-700" | "text-shadow-fuchsia-800" | "text-shadow-fuchsia-900" | "text-shadow-fuchsia-950" | "text-shadow-gray-50" | "text-shadow-gray-100" | "text-shadow-gray-200" | "text-shadow-gray-300" | "text-shadow-gray-400" | "text-shadow-gray-500" | "text-shadow-gray-600" | "text-shadow-gray-700" | "text-shadow-gray-800" | "text-shadow-gray-900" | "text-shadow-gray-950" | "text-shadow-green-50" | "text-shadow-green-100" | "text-shadow-green-200" | "text-shadow-green-300" | "text-shadow-green-400" | "text-shadow-green-500" | "text-shadow-green-600" | "text-shadow-green-700" | "text-shadow-green-800" | "text-shadow-green-900" | "text-shadow-green-950" | "text-shadow-indigo-50" | "text-shadow-indigo-100" | "text-shadow-indigo-200" | "text-shadow-indigo-300" | "text-shadow-indigo-400" | "text-shadow-indigo-500" | "text-shadow-indigo-600" | "text-shadow-indigo-700" | "text-shadow-indigo-800" | "text-shadow-indigo-900" | "text-shadow-indigo-950" | "text-shadow-inherit" | "text-shadow-initial" | "text-shadow-input" | "text-shadow-lg" | "text-shadow-lime-50" | "text-shadow-lime-100" | "text-shadow-lime-200" | "text-shadow-lime-300" | "text-shadow-lime-400" | "text-shadow-lime-500" | "text-shadow-lime-600" | "text-shadow-lime-700" | "text-shadow-lime-800" | "text-shadow-lime-900" | "text-shadow-lime-950" | "text-shadow-md" | "text-shadow-muted" | "text-shadow-muted-foreground" | "text-shadow-neutral-50" | "text-shadow-neutral-100" | "text-shadow-neutral-200" | "text-shadow-neutral-300" | "text-shadow-neutral-400" | "text-shadow-neutral-500" | "text-shadow-neutral-600" | "text-shadow-neutral-700" | "text-shadow-neutral-800" | "text-shadow-neutral-900" | "text-shadow-neutral-950" | "text-shadow-none" | "text-shadow-orange-50" | "text-shadow-orange-100" | "text-shadow-orange-200" | "text-shadow-orange-300" | "text-shadow-orange-400" | "text-shadow-orange-500" | "text-shadow-orange-600" | "text-shadow-orange-700" | "text-shadow-orange-800" | "text-shadow-orange-900" | "text-shadow-orange-950" | "text-shadow-pink-50" | "text-shadow-pink-100" | "text-shadow-pink-200" | "text-shadow-pink-300" | "text-shadow-pink-400" | "text-shadow-pink-500" | "text-shadow-pink-600" | "text-shadow-pink-700" | "text-shadow-pink-800" | "text-shadow-pink-900" | "text-shadow-pink-950" | "text-shadow-popover" | "text-shadow-popover-foreground" | "text-shadow-purple-50" | "text-shadow-purple-100" | "text-shadow-purple-200" | "text-shadow-purple-300" | "text-shadow-purple-400" | "text-shadow-purple-500" | "text-shadow-purple-600" | "text-shadow-purple-700" | "text-shadow-purple-800" | "text-shadow-purple-900" | "text-shadow-purple-950" | "text-shadow-red-50" | "text-shadow-red-100" | "text-shadow-red-200" | "text-shadow-red-300" | "text-shadow-red-400" | "text-shadow-red-500" | "text-shadow-red-600" | "text-shadow-red-700" | "text-shadow-red-800" | "text-shadow-red-900" | "text-shadow-red-950" | "text-shadow-rose-50" | "text-shadow-rose-100" | "text-shadow-rose-200" | "text-shadow-rose-300" | "text-shadow-rose-400" | "text-shadow-rose-500" | "text-shadow-rose-600" | "text-shadow-rose-700" | "text-shadow-rose-800" | "text-shadow-rose-900" | "text-shadow-rose-950" | "text-shadow-secondary" | "text-shadow-secondary-foreground" | "text-shadow-sidebar" | "text-shadow-sidebar-accent" | "text-shadow-sidebar-accent-foreground" | "text-shadow-sidebar-border" | "text-shadow-sidebar-foreground" | "text-shadow-sidebar-primary" | "text-shadow-sidebar-primary-foreground" | "text-shadow-sidebar-ring" | "text-shadow-sky-50" | "text-shadow-sky-100" | "text-shadow-sky-200" | "text-shadow-sky-300" | "text-shadow-sky-400" | "text-shadow-sky-500" | "text-shadow-sky-600" | "text-shadow-sky-700" | "text-shadow-sky-800" | "text-shadow-sky-900" | "text-shadow-sky-950" | "text-shadow-slate-50" | "text-shadow-slate-100" | "text-shadow-slate-200" | "text-shadow-slate-300" | "text-shadow-slate-400" | "text-shadow-slate-500" | "text-shadow-slate-600" | "text-shadow-slate-700" | "text-shadow-slate-800" | "text-shadow-slate-900" | "text-shadow-slate-950" | "text-shadow-sm" | "text-shadow-stone-50" | "text-shadow-stone-100" | "text-shadow-stone-200" | "text-shadow-stone-300" | "text-shadow-stone-400" | "text-shadow-stone-500" | "text-shadow-stone-600" | "text-shadow-stone-700" | "text-shadow-stone-800" | "text-shadow-stone-900" | "text-shadow-stone-950" | "text-shadow-teal-50" | "text-shadow-teal-100" | "text-shadow-teal-200" | "text-shadow-teal-300" | "text-shadow-teal-400" | "text-shadow-teal-500" | "text-shadow-teal-600" | "text-shadow-teal-700" | "text-shadow-teal-800" | "text-shadow-teal-900" | "text-shadow-teal-950" | "text-shadow-transparent" | "text-shadow-violet-50" | "text-shadow-violet-100" | "text-shadow-violet-200" | "text-shadow-violet-300" | "text-shadow-violet-400" | "text-shadow-violet-500" | "text-shadow-violet-600" | "text-shadow-violet-700" | "text-shadow-violet-800" | "text-shadow-violet-900" | "text-shadow-violet-950" | "text-shadow-white" | "text-shadow-xs" | "text-shadow-yellow-50" | "text-shadow-yellow-100" | "text-shadow-yellow-200" | "text-shadow-yellow-300" | "text-shadow-yellow-400" | "text-shadow-yellow-500" | "text-shadow-yellow-600" | "text-shadow-yellow-700" | "text-shadow-yellow-800" | "text-shadow-yellow-900" | "text-shadow-yellow-950" | "text-shadow-zinc-50" | "text-shadow-zinc-100" | "text-shadow-zinc-200" | "text-shadow-zinc-300" | "text-shadow-zinc-400" | "text-shadow-zinc-500" | "text-shadow-zinc-600" | "text-shadow-zinc-700" | "text-shadow-zinc-800" | "text-shadow-zinc-900" | "text-shadow-zinc-950";
|
|
2834
|
+
type ColorTextsidebarLiteral = `text-sidebar-${ColorRef4}`;
|
|
2835
|
+
type ColorPlaceholderLiteral = `placeholder-${ColorRef13}` | "placeholder-card-foreground" | "placeholder-destructive-foreground" | "placeholder-muted-foreground" | "placeholder-popover-foreground" | "placeholder-secondary-foreground";
|
|
2836
|
+
type ColorTextLiteral = `text-${ColorRef13}`;
|
|
2837
|
+
type ColorValue = ColorPlaceholderaccentLiteral | ColorPlaceholderchartLiteral | ColorPlaceholderprimaryLiteral | ColorPlaceholdersidebarLiteral | ColorTextaccentLiteral | ColorTextcardLiteral | ColorTextchartLiteral | ColorTextdestructiveLiteral | ColorTextmutedLiteral | ColorTextpopoverLiteral | ColorTextprimaryLiteral | ColorTextsecondaryLiteral | ColorTextshadowLiteral | ColorTextsidebarLiteral | ColorPlaceholderLiteral | ColorTextLiteral;
|
|
2808
2838
|
interface TailwindColor {
|
|
2809
2839
|
/**
|
|
2810
2840
|
* `Color`
|
|
@@ -3256,4 +3286,4 @@ interface Tailwind extends TailwindBackgroundImage, TailwindBottom, TailwindGrid
|
|
|
3256
3286
|
*/
|
|
3257
3287
|
type TailwindNestGroups = "*" | "**" | "not-first" | "not-last" | "not-only" | "not-odd" | "not-even" | "not-first-of-type" | "not-last-of-type" | "not-only-of-type" | "not-visited" | "not-target" | "not-open" | "not-default" | "not-checked" | "not-indeterminate" | "not-placeholder-shown" | "not-autofill" | "not-optional" | "not-required" | "not-valid" | "not-invalid" | "not-user-valid" | "not-user-invalid" | "not-in-range" | "not-out-of-range" | "not-read-only" | "not-empty" | "not-focus-within" | "not-hover" | "not-focus" | "not-focus-visible" | "not-active" | "not-enabled" | "not-disabled" | "not-inert" | "not-in" | "not-has" | "not-aria" | "not-data" | "not-nth" | "not-nth-last" | "not-nth-of-type" | "not-nth-last-of-type" | "not-supports" | "not-motion-safe" | "not-motion-reduce" | "not-contrast-more" | "not-contrast-less" | "not-max" | "not-sm" | "not-md" | "not-lg" | "not-xl" | "not-2xl" | "not-min" | "not-@max" | "not-@" | "not-@min" | "not-portrait" | "not-landscape" | "not-ltr" | "not-rtl" | "not-dark" | "not-print" | "not-forced-colors" | "not-inverted-colors" | "not-pointer-none" | "not-pointer-coarse" | "not-pointer-fine" | "not-any-pointer-none" | "not-any-pointer-coarse" | "not-any-pointer-fine" | "not-noscript" | "group-first" | "group-last" | "group-only" | "group-odd" | "group-even" | "group-first-of-type" | "group-last-of-type" | "group-only-of-type" | "group-visited" | "group-target" | "group-open" | "group-default" | "group-checked" | "group-indeterminate" | "group-placeholder-shown" | "group-autofill" | "group-optional" | "group-required" | "group-valid" | "group-invalid" | "group-user-valid" | "group-user-invalid" | "group-in-range" | "group-out-of-range" | "group-read-only" | "group-empty" | "group-focus-within" | "group-hover" | "group-focus" | "group-focus-visible" | "group-active" | "group-enabled" | "group-disabled" | "group-inert" | "group-in" | "group-has" | "group-aria" | "group-data" | "group-nth" | "group-nth-last" | "group-nth-of-type" | "group-nth-last-of-type" | "group-ltr" | "group-rtl" | "group-dark" | "peer-first" | "peer-last" | "peer-only" | "peer-odd" | "peer-even" | "peer-first-of-type" | "peer-last-of-type" | "peer-only-of-type" | "peer-visited" | "peer-target" | "peer-open" | "peer-default" | "peer-checked" | "peer-indeterminate" | "peer-placeholder-shown" | "peer-autofill" | "peer-optional" | "peer-required" | "peer-valid" | "peer-invalid" | "peer-user-valid" | "peer-user-invalid" | "peer-in-range" | "peer-out-of-range" | "peer-read-only" | "peer-empty" | "peer-focus-within" | "peer-hover" | "peer-focus" | "peer-focus-visible" | "peer-active" | "peer-enabled" | "peer-disabled" | "peer-inert" | "peer-in" | "peer-has" | "peer-aria" | "peer-data" | "peer-nth" | "peer-nth-last" | "peer-nth-of-type" | "peer-nth-last-of-type" | "peer-ltr" | "peer-rtl" | "peer-dark" | "first-letter" | "first-line" | "marker" | "selection" | "file" | "placeholder" | "backdrop" | "details-content" | "before" | "after" | "first" | "last" | "only" | "odd" | "even" | "first-of-type" | "last-of-type" | "only-of-type" | "visited" | "target" | "open" | "default" | "checked" | "indeterminate" | "placeholder-shown" | "autofill" | "optional" | "required" | "valid" | "invalid" | "user-valid" | "user-invalid" | "in-range" | "out-of-range" | "read-only" | "empty" | "focus-within" | "hover" | "focus" | "focus-visible" | "active" | "enabled" | "disabled" | "inert" | "in-first" | "in-last" | "in-only" | "in-odd" | "in-even" | "in-first-of-type" | "in-last-of-type" | "in-only-of-type" | "in-visited" | "in-target" | "in-open" | "in-default" | "in-checked" | "in-indeterminate" | "in-placeholder-shown" | "in-autofill" | "in-optional" | "in-required" | "in-valid" | "in-invalid" | "in-user-valid" | "in-user-invalid" | "in-in-range" | "in-out-of-range" | "in-read-only" | "in-empty" | "in-focus-within" | "in-hover" | "in-focus" | "in-focus-visible" | "in-active" | "in-enabled" | "in-disabled" | "in-inert" | "in-in" | "in-has" | "in-aria" | "in-data" | "in-nth" | "in-nth-last" | "in-nth-of-type" | "in-nth-last-of-type" | "in-ltr" | "in-rtl" | "in-dark" | "has-first" | "has-last" | "has-only" | "has-odd" | "has-even" | "has-first-of-type" | "has-last-of-type" | "has-only-of-type" | "has-visited" | "has-target" | "has-open" | "has-default" | "has-checked" | "has-indeterminate" | "has-placeholder-shown" | "has-autofill" | "has-optional" | "has-required" | "has-valid" | "has-invalid" | "has-user-valid" | "has-user-invalid" | "has-in-range" | "has-out-of-range" | "has-read-only" | "has-empty" | "has-focus-within" | "has-hover" | "has-focus" | "has-focus-visible" | "has-active" | "has-enabled" | "has-disabled" | "has-inert" | "has-in" | "has-has" | "has-aria" | "has-data" | "has-nth" | "has-nth-last" | "has-nth-of-type" | "has-nth-last-of-type" | "has-ltr" | "has-rtl" | "has-dark" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-pressed" | "aria-readonly" | "aria-required" | "aria-selected" | "data" | "nth" | "nth-last" | "nth-of-type" | "nth-last-of-type" | "supports" | "motion-safe" | "motion-reduce" | "contrast-more" | "contrast-less" | "max-sm" | "max-md" | "max-lg" | "max-xl" | "max-2xl" | "sm" | "md" | "lg" | "xl" | "2xl" | "min-sm" | "min-md" | "min-lg" | "min-xl" | "min-2xl" | "@max-3xs" | "@max-2xs" | "@max-xs" | "@max-sm" | "@max-md" | "@max-lg" | "@max-xl" | "@max-2xl" | "@max-3xl" | "@max-4xl" | "@max-5xl" | "@max-6xl" | "@max-7xl" | "@3xs" | "@2xs" | "@xs" | "@sm" | "@md" | "@lg" | "@xl" | "@2xl" | "@3xl" | "@4xl" | "@5xl" | "@6xl" | "@7xl" | "@min-3xs" | "@min-2xs" | "@min-xs" | "@min-sm" | "@min-md" | "@min-lg" | "@min-xl" | "@min-2xl" | "@min-3xl" | "@min-4xl" | "@min-5xl" | "@min-6xl" | "@min-7xl" | "portrait" | "landscape" | "ltr" | "rtl" | "dark" | "starting" | "print" | "forced-colors" | "inverted-colors" | "pointer-none" | "pointer-coarse" | "pointer-fine" | "any-pointer-none" | "any-pointer-coarse" | "any-pointer-fine" | "noscript";
|
|
3258
3288
|
|
|
3259
|
-
export type { Tailwind, TailwindGlobalColor, TailwindNestGroups };
|
|
3289
|
+
export type { ColorValue, Tailwind, TailwindGlobalColor, TailwindNestGroups };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julseb-lib/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"dotenv": "^17.2.3",
|
|
62
62
|
"eslint": "^9.39.2",
|
|
63
63
|
"eslint-plugin-import": "^2.32.0",
|
|
64
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
64
65
|
"eslint-plugin-react": "^7.37.5",
|
|
65
66
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
66
67
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
File without changes
|