shadcn-svelte 0.3.1 → 0.3.3

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/index.js CHANGED
@@ -4776,8 +4776,8 @@ var rawConfigSchema = z.object({
4776
4776
  // cssVariables: z.boolean().default(true)
4777
4777
  }),
4778
4778
  aliases: z.object({
4779
- components: z.string(),
4780
- utils: z.string()
4779
+ components: z.string().transform((v) => v.replace(/[\u{0080}-\u{FFFF}]/gu, "")),
4780
+ utils: z.string().transform((v) => v.replace(/[\u{0080}-\u{FFFF}]/gu, ""))
4781
4781
  })
4782
4782
  }).strict();
4783
4783
  var configSchema = rawConfigSchema.extend({
@@ -6340,38 +6340,38 @@ const config = {
6340
6340
  },
6341
6341
  extend: {
6342
6342
  colors: {
6343
- border: "hsl(var(--border))",
6344
- input: "hsl(var(--input))",
6345
- ring: "hsl(var(--ring))",
6346
- background: "hsl(var(--background))",
6347
- foreground: "hsl(var(--foreground))",
6343
+ border: "hsl(var(--border) / <alpha-value>)",
6344
+ input: "hsl(var(--input) / <alpha-value>)",
6345
+ ring: "hsl(var(--ring) / <alpha-value>)",
6346
+ background: "hsl(var(--background) / <alpha-value>)",
6347
+ foreground: "hsl(var(--foreground) / <alpha-value>)",
6348
6348
  primary: {
6349
- DEFAULT: "hsl(var(--primary))",
6350
- foreground: "hsl(var(--primary-foreground))"
6349
+ DEFAULT: "hsl(var(--primary) / <alpha-value>)",
6350
+ foreground: "hsl(var(--primary-foreground) / <alpha-value>)"
6351
6351
  },
6352
6352
  secondary: {
6353
- DEFAULT: "hsl(var(--secondary))",
6354
- foreground: "hsl(var(--secondary-foreground))"
6353
+ DEFAULT: "hsl(var(--secondary) / <alpha-value>)",
6354
+ foreground: "hsl(var(--secondary-foreground) / <alpha-value>)"
6355
6355
  },
6356
6356
  destructive: {
6357
- DEFAULT: "hsl(var(--destructive))",
6358
- foreground: "hsl(var(--destructive-foreground))"
6357
+ DEFAULT: "hsl(var(--destructive) / <alpha-value>)",
6358
+ foreground: "hsl(var(--destructive-foreground) / <alpha-value>)"
6359
6359
  },
6360
6360
  muted: {
6361
- DEFAULT: "hsl(var(--muted))",
6362
- foreground: "hsl(var(--muted-foreground))"
6361
+ DEFAULT: "hsl(var(--muted) / <alpha-value>)",
6362
+ foreground: "hsl(var(--muted-foreground) / <alpha-value>)"
6363
6363
  },
6364
6364
  accent: {
6365
- DEFAULT: "hsl(var(--accent))",
6366
- foreground: "hsl(var(--accent-foreground))"
6365
+ DEFAULT: "hsl(var(--accent) / <alpha-value>)",
6366
+ foreground: "hsl(var(--accent-foreground) / <alpha-value>)"
6367
6367
  },
6368
6368
  popover: {
6369
- DEFAULT: "hsl(var(--popover))",
6370
- foreground: "hsl(var(--popover-foreground))"
6369
+ DEFAULT: "hsl(var(--popover) / <alpha-value>)",
6370
+ foreground: "hsl(var(--popover-foreground) / <alpha-value>)"
6371
6371
  },
6372
6372
  card: {
6373
- DEFAULT: "hsl(var(--card))",
6374
- foreground: "hsl(var(--card-foreground))"
6373
+ DEFAULT: "hsl(var(--card) / <alpha-value>)",
6374
+ foreground: "hsl(var(--card-foreground) / <alpha-value>)"
6375
6375
  }
6376
6376
  },
6377
6377
  borderRadius: {
@@ -6413,7 +6413,7 @@ var init2 = new Command2().command("init").description("Configure your SvelteKit
6413
6413
  {
6414
6414
  type: "confirm",
6415
6415
  name: "proceed",
6416
- message: "Running this command will install dependencies and overwrite your existing tailwind.config.[cjs|js|ts]. Proceed?",
6416
+ message: "Running this command will install dependencies and overwrite your existing tailwind.config.[cjs|js|ts] & app.postcss file. Proceed?",
6417
6417
  initial: true
6418
6418
  }
6419
6419
  ]);