@tanglemedia/svelte-starter-ui-shadcn 0.0.2 → 0.0.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.
Files changed (38) hide show
  1. package/dist/lib/components/ui/alert-dialog/alert-dialog-action.svelte +2 -1
  2. package/dist/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte +1 -1
  3. package/dist/lib/components/ui/calendar/calendar-day.svelte +1 -1
  4. package/dist/lib/components/ui/calendar/calendar-next-button.svelte +1 -1
  5. package/dist/lib/components/ui/calendar/calendar-prev-button.svelte +1 -1
  6. package/dist/lib/components/ui/pagination/pagination-next-button.svelte +1 -1
  7. package/dist/lib/components/ui/pagination/pagination-prev-button.svelte +1 -1
  8. package/dist/lib/components/ui/range-calendar/range-calendar-day.svelte +1 -1
  9. package/dist/lib/components/ui/range-calendar/range-calendar-next-button.svelte +1 -1
  10. package/dist/lib/components/ui/range-calendar/range-calendar-prev-button.svelte +1 -1
  11. package/dist/lib/components/ui/sidebar/sidebar-input.svelte.d.ts +1 -1
  12. package/package.json +1 -1
  13. package/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte +2 -1
  14. package/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte +1 -1
  15. package/src/lib/components/ui/calendar/calendar-day.svelte +1 -1
  16. package/src/lib/components/ui/calendar/calendar-next-button.svelte +1 -1
  17. package/src/lib/components/ui/calendar/calendar-prev-button.svelte +1 -1
  18. package/src/lib/components/ui/carousel/carousel-next.svelte +1 -1
  19. package/src/lib/components/ui/carousel/carousel-previous.svelte +1 -1
  20. package/src/lib/components/ui/command/command-dialog.svelte +1 -1
  21. package/src/lib/components/ui/form/form-button.svelte +1 -1
  22. package/src/lib/components/ui/form/form-label.svelte +1 -1
  23. package/src/lib/components/ui/pagination/pagination-link.svelte +1 -1
  24. package/src/lib/components/ui/pagination/pagination-next-button.svelte +1 -1
  25. package/src/lib/components/ui/pagination/pagination-prev-button.svelte +1 -1
  26. package/src/lib/components/ui/range-calendar/range-calendar-day.svelte +1 -1
  27. package/src/lib/components/ui/range-calendar/range-calendar-next-button.svelte +1 -1
  28. package/src/lib/components/ui/range-calendar/range-calendar-prev-button.svelte +1 -1
  29. package/src/lib/components/ui/select/select-separator.svelte +1 -1
  30. package/src/lib/components/ui/sidebar/sidebar-input.svelte +1 -1
  31. package/src/lib/components/ui/sidebar/sidebar-menu-button.svelte +1 -1
  32. package/src/lib/components/ui/sidebar/sidebar-menu-skeleton.svelte +1 -1
  33. package/src/lib/components/ui/sidebar/sidebar-provider.svelte +1 -1
  34. package/src/lib/components/ui/sidebar/sidebar-separator.svelte +1 -1
  35. package/src/lib/components/ui/sidebar/sidebar-trigger.svelte +1 -1
  36. package/src/lib/components/ui/sidebar/sidebar.svelte +1 -1
  37. package/src/lib/components/ui/toggle-group/toggle-group-item.svelte +1 -1
  38. package/src/lib/components/ui/toggle-group/toggle-group.svelte +1 -1
@@ -1,6 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3
- import { buttonVariants } from "../button/index.js";
3
+ // import { buttonVariants } from '../button/index';
4
+ import { buttonVariants } from '../button/index';
4
5
  import { cn } from "../../../utils";
5
6
 
6
7
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3
- import { buttonVariants } from "../button/index.js";
3
+ import { buttonVariants } from '../button/index';
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Calendar as CalendarPrimitive } from "bits-ui";
3
- import { buttonVariants } from "../button/index.js";
3
+ import { buttonVariants } from '../button/index';
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { Calendar as CalendarPrimitive } from "bits-ui";
3
3
  import ChevronRight from "@lucide/svelte/icons/chevron-right";
4
- import { buttonVariants } from "../button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
 
7
7
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { Calendar as CalendarPrimitive } from "bits-ui";
3
3
  import ChevronLeft from "@lucide/svelte/icons/chevron-left";
4
- import { buttonVariants } from "../button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
 
7
7
  let {
@@ -2,7 +2,7 @@
2
2
  import { Pagination as PaginationPrimitive } from "bits-ui";
3
3
  import ChevronRight from "@lucide/svelte/icons/chevron-right";
4
4
  import { cn } from "../../../utils";
5
- import { buttonVariants } from "../button/index.js";
5
+ import { buttonVariants } from '../button/index';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -2,7 +2,7 @@
2
2
  import { Pagination as PaginationPrimitive } from "bits-ui";
3
3
  import ChevronLeft from "@lucide/svelte/icons/chevron-left";
4
4
  import { cn } from "../../../utils";
5
- import { buttonVariants } from "../button/index.js";
5
+ import { buttonVariants } from '../button/index';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
3
- import { buttonVariants } from "../button/index.js";
3
+ import { buttonVariants } from '../button/index';
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
3
3
  import ChevronRight from "@lucide/svelte/icons/chevron-right";
4
- import { buttonVariants } from "../button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
3
3
  import ChevronLeft from "@lucide/svelte/icons/chevron-left";
4
- import { buttonVariants } from "../button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,4 +1,4 @@
1
- declare const SidebarInput: import("svelte").Component<(Omit<import("svelte/elements").HTMLInputAttributes, "type"> & ({
1
+ declare const SidebarInput: import("svelte").Component<(Omit<import("svelte/elements.js").HTMLInputAttributes, "type"> & ({
2
2
  type: "file";
3
3
  files?: FileList;
4
4
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanglemedia/svelte-starter-ui-shadcn",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "main": "src/index.ts",
5
5
  "types": "src/index.ts",
6
6
  "description": "UI features and components for use in svelte websites",
@@ -1,6 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3
- import { buttonVariants } from "$lib/components/ui/button/index.js";
3
+ // import { buttonVariants } from '../button/index';
4
+ import { buttonVariants } from '../button/index';
4
5
  import { cn } from "../../../utils";
5
6
 
6
7
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3
- import { buttonVariants } from "$lib/components/ui/button/index.js";
3
+ import { buttonVariants } from '../button/index';
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Calendar as CalendarPrimitive } from "bits-ui";
3
- import { buttonVariants } from "$lib/components/ui/button/index.js";
3
+ import { buttonVariants } from '../button/index';
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { Calendar as CalendarPrimitive } from "bits-ui";
3
3
  import ChevronRight from "@lucide/svelte/icons/chevron-right";
4
- import { buttonVariants } from "$lib/components/ui/button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
 
7
7
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { Calendar as CalendarPrimitive } from "bits-ui";
3
3
  import ChevronLeft from "@lucide/svelte/icons/chevron-left";
4
- import { buttonVariants } from "$lib/components/ui/button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
 
7
7
  let {
@@ -3,7 +3,7 @@
3
3
  import type { WithoutChildren } from "bits-ui";
4
4
  import { getEmblaContext } from "./context.js";
5
5
  import { cn } from "../../../utils";
6
- import { Button, type Props } from "$lib/components/ui/button/index.js";
6
+ import { Button, type Props } from "../button/index.js";
7
7
 
8
8
  let {
9
9
  ref = $bindable(null),
@@ -3,7 +3,7 @@
3
3
  import type { WithoutChildren } from "bits-ui";
4
4
  import { getEmblaContext } from "./context.js";
5
5
  import { cn } from "../../../utils";
6
- import { Button, type Props } from "$lib/components/ui/button/index.js";
6
+ import { Button, type Props } from "../button/index.js";
7
7
 
8
8
  let {
9
9
  ref = $bindable(null),
@@ -6,7 +6,7 @@
6
6
  } from "bits-ui";
7
7
  import type { Snippet } from "svelte";
8
8
  import Command from "./command.svelte";
9
- import * as Dialog from "$lib/components/ui/dialog/index.js";
9
+ import * as Dialog from "../dialog/index.js";
10
10
 
11
11
  let {
12
12
  open = $bindable(false),
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import * as Button from "$lib/components/ui/button/index.js";
2
+ import * as Button from "../button/index.js";
3
3
 
4
4
  let { ref = $bindable(null), ...restProps }: Button.Props = $props();
5
5
  </script>
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import type { WithoutChild } from "bits-ui";
3
3
  import * as FormPrimitive from "formsnap";
4
- import { Label } from "$lib/components/ui/label/index.js";
4
+ import { Label } from "../label/index.js";
5
5
  import { cn } from "../../../utils";
6
6
 
7
7
  let {
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  type Props as ButtonProps,
5
5
  buttonVariants,
6
- } from "$lib/components/ui/button/index.js";
6
+ } from "../button/index.js";
7
7
  import { cn } from "../../../utils";
8
8
 
9
9
  type Props = WithoutChild<PaginationPrimitive.PageProps> &
@@ -2,7 +2,7 @@
2
2
  import { Pagination as PaginationPrimitive } from "bits-ui";
3
3
  import ChevronRight from "@lucide/svelte/icons/chevron-right";
4
4
  import { cn } from "../../../utils";
5
- import { buttonVariants } from "$lib/components/ui/button/index.js";
5
+ import { buttonVariants } from '../button/index';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -2,7 +2,7 @@
2
2
  import { Pagination as PaginationPrimitive } from "bits-ui";
3
3
  import ChevronLeft from "@lucide/svelte/icons/chevron-left";
4
4
  import { cn } from "../../../utils";
5
- import { buttonVariants } from "$lib/components/ui/button/index.js";
5
+ import { buttonVariants } from '../button/index';
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
3
- import { buttonVariants } from "$lib/components/ui/button/index.js";
3
+ import { buttonVariants } from '../button/index';
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
3
3
  import ChevronRight from "@lucide/svelte/icons/chevron-right";
4
- import { buttonVariants } from "$lib/components/ui/button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
3
3
  import ChevronLeft from "@lucide/svelte/icons/chevron-left";
4
- import { buttonVariants } from "$lib/components/ui/button/index.js";
4
+ import { buttonVariants } from '../button/index';
5
5
  import { cn } from "../../../utils";
6
6
  let {
7
7
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { Separator as SeparatorPrimitive } from "bits-ui";
3
- import { Separator } from "$lib/components/ui/separator/index.js";
3
+ import { Separator } from "../separator/index.js";
4
4
  import { cn } from "../../../utils";
5
5
 
6
6
  let {
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Input } from "$lib/components/ui/input/index.js";
2
+ import { Input } from "../input/index.js";
3
3
  import { cn } from "../../../utils";
4
4
  import type { ComponentProps } from "svelte";
5
5
 
@@ -28,7 +28,7 @@
28
28
  </script>
29
29
 
30
30
  <script lang="ts">
31
- import * as Tooltip from "$lib/components/ui/tooltip/index.js";
31
+ import * as Tooltip from "../tooltip/index.js";
32
32
  import { cn } from "../../../utils";
33
33
  import { mergeProps, type WithElementRef, type WithoutChildrenOrChild } from "bits-ui";
34
34
  import type { ComponentProps, Snippet } from "svelte";
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Skeleton } from "$lib/components/ui/skeleton/index.js";
2
+ import { Skeleton } from "../skeleton/index.js";
3
3
  import { cn } from "../../../utils";
4
4
  import type { WithElementRef } from "bits-ui";
5
5
  import type { HTMLAttributes } from "svelte/elements";
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import * as Tooltip from "$lib/components/ui/tooltip/index.js";
2
+ import * as Tooltip from "../tooltip/index.js";
3
3
  import { cn } from "../../../utils";
4
4
  import type { WithElementRef } from "bits-ui";
5
5
  import type { HTMLAttributes } from "svelte/elements";
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Separator } from "$lib/components/ui/separator/index.js";
2
+ import { Separator } from "../separator/index.js";
3
3
  import { cn } from "../../../utils";
4
4
  import type { ComponentProps } from "svelte";
5
5
 
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Button } from "$lib/components/ui/button/index.js";
2
+ import { Button } from "../button/index.js";
3
3
  import { cn } from "../../../utils";
4
4
  import PanelLeft from "@lucide/svelte/icons/panel-left";
5
5
  import type { ComponentProps } from "svelte";
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import * as Sheet from "$lib/components/ui/sheet/index.js";
2
+ import * as Sheet from "../sheet/index.js";
3
3
  import { cn } from "../../../utils";
4
4
  import type { WithElementRef } from "bits-ui";
5
5
  import type { HTMLAttributes } from "svelte/elements";
@@ -2,7 +2,7 @@
2
2
  import { ToggleGroup as ToggleGroupPrimitive } from "bits-ui";
3
3
  import { getToggleGroupCtx } from "./toggle-group.svelte";
4
4
  import { cn } from "../../../utils";
5
- import { type ToggleVariants, toggleVariants } from "$lib/components/ui/toggle/index.js";
5
+ import { type ToggleVariants, toggleVariants } from "../toggle/index.js";
6
6
 
7
7
  let {
8
8
  ref = $bindable(null),
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" module>
2
2
  import { getContext, setContext } from "svelte";
3
- import type { ToggleVariants } from "$lib/components/ui/toggle/index.js";
3
+ import type { ToggleVariants } from "../toggle/index.js";
4
4
  export function setToggleGroupCtx(props: ToggleVariants) {
5
5
  setContext("toggleGroup", props);
6
6
  }