shadcn-svelte 1.8.0 → 1.8.1

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.
@@ -43,8 +43,8 @@ declare const resolvedConfigSchema: ZodObject<{
43
43
  "inverted-translucent": "inverted-translucent";
44
44
  }>>;
45
45
  menuAccent: ZodDefault<ZodEnum<{
46
- bold: "bold";
47
46
  subtle: "subtle";
47
+ bold: "bold";
48
48
  }>>;
49
49
  }, $strip>;
50
50
  //#endregion
@@ -161,7 +161,7 @@ declare const PRESET_RADII: {
161
161
  readonly value: "0.875rem";
162
162
  };
163
163
  };
164
- declare const PRESET_RADII_KEYS: ("default" | "small" | "none" | "medium" | "large")[];
164
+ declare const PRESET_RADII_KEYS: ("default" | "none" | "small" | "medium" | "large")[];
165
165
  declare const PRESET_MENU_ACCENTS: readonly ["subtle", "bold"];
166
166
  declare const PRESET_MENU_COLORS: readonly ["default", "inverted", "default-translucent", "inverted-translucent"];
167
167
  type PresetConfig = {
@@ -1,2 +1,2 @@
1
- import { _ as registryItemFileSchema, a as RegistryIndex, b as registrySchema, c as RegistryItemFile, d as componentsJsonSchema, f as naiveDeepPartialify, g as registryItemCommonSchema, h as registryIndexSchema, i as RegistryFont, l as RegistryItemFileType, m as registryIndexItemSchema, n as CssVars, o as RegistryIndexItem, p as registryBaseColorSchema, r as Registry, s as RegistryItem, t as CssSchema, u as RegistryItemType, v as registryItemFontSchema, y as registryItemSchema } from "../schema-CLzYtnw5.mjs";
1
+ import { _ as registryItemFileSchema, a as RegistryIndex, b as registrySchema, c as RegistryItemFile, d as componentsJsonSchema, f as naiveDeepPartialify, g as registryItemCommonSchema, h as registryIndexSchema, i as RegistryFont, l as RegistryItemFileType, m as registryIndexItemSchema, n as CssVars, o as RegistryIndexItem, p as registryBaseColorSchema, r as Registry, s as RegistryItem, t as CssSchema, u as RegistryItemType, v as registryItemFontSchema, y as registryItemSchema } from "../schema-Bq2uExa4.mjs";
2
2
  export { CssSchema, CssVars, Registry, RegistryFont, RegistryIndex, RegistryIndexItem, RegistryItem, RegistryItemFile, RegistryItemFileType, RegistryItemType, componentsJsonSchema, naiveDeepPartialify, registryBaseColorSchema, registryIndexItemSchema, registryIndexSchema, registryItemCommonSchema, registryItemFileSchema, registryItemFontSchema, registryItemSchema, registrySchema };
@@ -437,8 +437,8 @@ declare const componentsJsonSchema: ZodObject<{
437
437
  "inverted-translucent": "inverted-translucent";
438
438
  }>>;
439
439
  menuAccent: ZodOptional<ZodEnum<{
440
- bold: "bold";
441
440
  subtle: "subtle";
441
+ bold: "bold";
442
442
  }>>;
443
443
  }, $strip>;
444
444
  /**
package/dist/tailwind.css CHANGED
@@ -575,6 +575,12 @@
575
575
  &:where([dir="rtl"], [dir="rtl"] *) {
576
576
  animation-direction: reverse;
577
577
  }
578
+
579
+ @media (prefers-reduced-motion: reduce) {
580
+ animation: none;
581
+ background-image: none;
582
+ -webkit-text-fill-color: currentColor;
583
+ }
578
584
  }
579
585
 
580
586
  @utility shimmer-once {
@@ -612,6 +618,8 @@
612
618
  --shimmer-angle: calc(--value(integer) * 1deg);
613
619
  }
614
620
 
621
+ /* Kept for backwards compatibility. Unlayered, so it still wins over other
622
+ utilities on a plain .shimmer element. Variants are handled in the utility. */
615
623
  @media (prefers-reduced-motion: reduce) {
616
624
  .shimmer {
617
625
  animation: none;
@@ -1,4 +1,4 @@
1
- import { t as CssSchema } from "../schema-CLzYtnw5.mjs";
1
+ import { t as CssSchema } from "../schema-Bq2uExa4.mjs";
2
2
  //#region src/utils/css.d.ts
3
3
  declare function createGlobalCssFile(): string;
4
4
  declare const shadcnSvelteTailwindCssImport: CssSchema;
@@ -1,2 +1,2 @@
1
- import { a as rewriteFontMarkers, c as transformImports, i as transform, l as transformIcons, n as Transformer, o as transformFont, r as TransformerResult, s as transformMenu, t as TransformOptions, u as transformStripTypes } from "../../index-D8gZsv5-.mjs";
1
+ import { a as rewriteFontMarkers, c as transformImports, i as transform, l as transformIcons, n as Transformer, o as transformFont, r as TransformerResult, s as transformMenu, t as TransformOptions, u as transformStripTypes } from "../../index-Ch0UJ9Cm.mjs";
2
2
  export { TransformOptions, Transformer, TransformerResult, rewriteFontMarkers, transform, transformFont, transformIcons, transformImports, transformMenu, transformStripTypes };
@@ -1,2 +1,2 @@
1
- import { a as rewriteFontMarkers, o as transformFont } from "../../index-D8gZsv5-.mjs";
1
+ import { a as rewriteFontMarkers, o as transformFont } from "../../index-Ch0UJ9Cm.mjs";
2
2
  export { rewriteFontMarkers, transformFont };
@@ -1,2 +1,2 @@
1
- import { l as transformIcons } from "../../index-D8gZsv5-.mjs";
1
+ import { l as transformIcons } from "../../index-Ch0UJ9Cm.mjs";
2
2
  export { transformIcons };
@@ -1,2 +1,2 @@
1
- import { c as transformImports } from "../../index-D8gZsv5-.mjs";
1
+ import { c as transformImports } from "../../index-Ch0UJ9Cm.mjs";
2
2
  export { transformImports };
@@ -1,2 +1,2 @@
1
- import { s as transformMenu } from "../../index-D8gZsv5-.mjs";
1
+ import { s as transformMenu } from "../../index-Ch0UJ9Cm.mjs";
2
2
  export { transformMenu };
@@ -1,2 +1,2 @@
1
- import { u as transformStripTypes } from "../../index-D8gZsv5-.mjs";
1
+ import { u as transformStripTypes } from "../../index-Ch0UJ9Cm.mjs";
2
2
  export { transformStripTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadcn-svelte",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Add components to your apps.",
5
5
  "license": "MIT",
6
6
  "author": {