@shellicar/ui-shadcn 1.0.3 → 1.0.5

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 (103) hide show
  1. package/dist/components/ui/button/button.svelte +37 -35
  2. package/dist/components/ui/button/button.svelte.d.ts +11 -11
  3. package/dist/components/ui/button/index.d.ts +1 -1
  4. package/dist/components/ui/button/index.js +1 -1
  5. package/dist/components/ui/card/card-action.svelte +8 -3
  6. package/dist/components/ui/card/card-action.svelte.d.ts +2 -2
  7. package/dist/components/ui/card/card-content.svelte +8 -3
  8. package/dist/components/ui/card/card-content.svelte.d.ts +2 -2
  9. package/dist/components/ui/card/card-description.svelte +8 -3
  10. package/dist/components/ui/card/card-description.svelte.d.ts +2 -2
  11. package/dist/components/ui/card/card-footer.svelte +8 -3
  12. package/dist/components/ui/card/card-footer.svelte.d.ts +2 -2
  13. package/dist/components/ui/card/card-header.svelte +8 -3
  14. package/dist/components/ui/card/card-header.svelte.d.ts +2 -2
  15. package/dist/components/ui/card/card-title.svelte +8 -3
  16. package/dist/components/ui/card/card-title.svelte.d.ts +2 -2
  17. package/dist/components/ui/card/card.svelte +8 -3
  18. package/dist/components/ui/card/card.svelte.d.ts +2 -2
  19. package/dist/components/ui/card/index.d.ts +7 -7
  20. package/dist/components/ui/card/index.js +7 -7
  21. package/dist/components/ui/form/form-button.svelte +2 -2
  22. package/dist/components/ui/form/form-button.svelte.d.ts +1 -1
  23. package/dist/components/ui/form/form-description.svelte +7 -3
  24. package/dist/components/ui/form/form-description.svelte.d.ts +1 -1
  25. package/dist/components/ui/form/form-element-field.svelte +0 -3
  26. package/dist/components/ui/form/form-field-errors.svelte +11 -11
  27. package/dist/components/ui/form/form-field-errors.svelte.d.ts +2 -2
  28. package/dist/components/ui/form/form-field.svelte +0 -4
  29. package/dist/components/ui/form/form-fieldset.svelte +0 -3
  30. package/dist/components/ui/form/form-label.svelte +9 -4
  31. package/dist/components/ui/form/form-label.svelte.d.ts +1 -1
  32. package/dist/components/ui/form/form-legend.svelte +7 -3
  33. package/dist/components/ui/form/form-legend.svelte.d.ts +1 -1
  34. package/dist/components/ui/form/index.d.ts +9 -9
  35. package/dist/components/ui/form/index.js +9 -9
  36. package/dist/components/ui/input/index.d.ts +1 -1
  37. package/dist/components/ui/input/index.js +1 -1
  38. package/dist/components/ui/input/input.svelte +16 -5
  39. package/dist/components/ui/input/input.svelte.d.ts +5 -5
  40. package/dist/components/ui/label/index.d.ts +1 -1
  41. package/dist/components/ui/label/index.js +1 -1
  42. package/dist/components/ui/label/label.svelte +7 -3
  43. package/dist/components/ui/label/label.svelte.d.ts +1 -1
  44. package/dist/components/ui/popover/index.d.ts +5 -5
  45. package/dist/components/ui/popover/index.js +5 -5
  46. package/dist/components/ui/popover/popover-close.svelte +2 -2
  47. package/dist/components/ui/popover/popover-close.svelte.d.ts +1 -1
  48. package/dist/components/ui/popover/popover-content.svelte +14 -14
  49. package/dist/components/ui/popover/popover-content.svelte.d.ts +4 -4
  50. package/dist/components/ui/popover/popover-portal.svelte +2 -2
  51. package/dist/components/ui/popover/popover-trigger.svelte +7 -3
  52. package/dist/components/ui/popover/popover-trigger.svelte.d.ts +1 -1
  53. package/dist/components/ui/popover/popover.svelte +2 -2
  54. package/dist/components/ui/select/index.d.ts +11 -11
  55. package/dist/components/ui/select/index.js +11 -11
  56. package/dist/components/ui/select/select-content.svelte +18 -18
  57. package/dist/components/ui/select/select-content.svelte.d.ts +5 -5
  58. package/dist/components/ui/select/select-group-heading.svelte +9 -4
  59. package/dist/components/ui/select/select-group.svelte +3 -3
  60. package/dist/components/ui/select/select-group.svelte.d.ts +1 -1
  61. package/dist/components/ui/select/select-item.svelte +11 -4
  62. package/dist/components/ui/select/select-item.svelte.d.ts +1 -1
  63. package/dist/components/ui/select/select-label.svelte +8 -3
  64. package/dist/components/ui/select/select-label.svelte.d.ts +2 -2
  65. package/dist/components/ui/select/select-portal.svelte +2 -2
  66. package/dist/components/ui/select/select-scroll-down-button.svelte +8 -4
  67. package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +1 -1
  68. package/dist/components/ui/select/select-scroll-up-button.svelte +8 -4
  69. package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +1 -1
  70. package/dist/components/ui/select/select-separator.svelte +8 -4
  71. package/dist/components/ui/select/select-separator.svelte.d.ts +1 -1
  72. package/dist/components/ui/select/select-trigger.svelte +12 -12
  73. package/dist/components/ui/select/select-trigger.svelte.d.ts +3 -3
  74. package/dist/components/ui/select/select.svelte +6 -2
  75. package/dist/components/ui/separator/index.d.ts +1 -1
  76. package/dist/components/ui/separator/index.js +1 -1
  77. package/dist/components/ui/separator/separator.svelte +9 -4
  78. package/dist/components/ui/separator/separator.svelte.d.ts +1 -1
  79. package/dist/components/ui/sheet/index.d.ts +10 -10
  80. package/dist/components/ui/sheet/index.js +10 -10
  81. package/dist/components/ui/sheet/sheet-close.svelte +2 -2
  82. package/dist/components/ui/sheet/sheet-close.svelte.d.ts +1 -1
  83. package/dist/components/ui/sheet/sheet-content.svelte +16 -16
  84. package/dist/components/ui/sheet/sheet-content.svelte.d.ts +2 -2
  85. package/dist/components/ui/sheet/sheet-description.svelte +7 -3
  86. package/dist/components/ui/sheet/sheet-description.svelte.d.ts +1 -1
  87. package/dist/components/ui/sheet/sheet-footer.svelte +8 -3
  88. package/dist/components/ui/sheet/sheet-footer.svelte.d.ts +2 -2
  89. package/dist/components/ui/sheet/sheet-header.svelte +8 -3
  90. package/dist/components/ui/sheet/sheet-header.svelte.d.ts +2 -2
  91. package/dist/components/ui/sheet/sheet-overlay.svelte +7 -3
  92. package/dist/components/ui/sheet/sheet-overlay.svelte.d.ts +1 -1
  93. package/dist/components/ui/sheet/sheet-portal.svelte +2 -2
  94. package/dist/components/ui/sheet/sheet-title.svelte +7 -3
  95. package/dist/components/ui/sheet/sheet-title.svelte.d.ts +1 -1
  96. package/dist/components/ui/sheet/sheet-trigger.svelte +2 -2
  97. package/dist/components/ui/sheet/sheet-trigger.svelte.d.ts +1 -1
  98. package/dist/components/ui/sheet/sheet.svelte +2 -2
  99. package/dist/components/ui/textarea/index.d.ts +1 -1
  100. package/dist/components/ui/textarea/index.js +1 -1
  101. package/dist/components/ui/textarea/textarea.svelte +9 -3
  102. package/dist/components/ui/textarea/textarea.svelte.d.ts +2 -2
  103. package/package.json +9 -2
@@ -1,15 +1,20 @@
1
1
  <script lang="ts">
2
- import type { Separator as SeparatorPrimitive } from 'bits-ui';
3
- import { cn } from '../../../utils.js';
2
+ import { Separator as SeparatorPrimitive } from "bits-ui";
3
+ import { cn } from "../../../utils.js";
4
4
 
5
- const { ref = $bindable(null), class: className, 'data-slot': dataSlot = 'separator', ...restProps }: SeparatorPrimitive.RootProps = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ class: className,
8
+ "data-slot": dataSlot = "separator",
9
+ ...restProps
10
+ }: SeparatorPrimitive.RootProps = $props();
6
11
  </script>
7
12
 
8
13
  <SeparatorPrimitive.Root
9
14
  bind:ref
10
15
  data-slot={dataSlot}
11
16
  class={cn(
12
- "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
17
+ "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:min-h-full data-[orientation=vertical]:w-px",
13
18
  className
14
19
  )}
15
20
  {...restProps}
@@ -1,4 +1,4 @@
1
- import type { Separator as SeparatorPrimitive } from 'bits-ui';
1
+ import { Separator as SeparatorPrimitive } from "bits-ui";
2
2
  declare const Separator: import("svelte").Component<SeparatorPrimitive.RootProps, {}, "ref">;
3
3
  type Separator = ReturnType<typeof Separator>;
4
4
  export default Separator;
@@ -1,11 +1,11 @@
1
- import Root from './sheet.svelte';
2
- import Close from './sheet-close.svelte';
3
- import Content from './sheet-content.svelte';
4
- import Description from './sheet-description.svelte';
5
- import Footer from './sheet-footer.svelte';
6
- import Header from './sheet-header.svelte';
7
- import Overlay from './sheet-overlay.svelte';
8
- import Portal from './sheet-portal.svelte';
9
- import Title from './sheet-title.svelte';
10
- import Trigger from './sheet-trigger.svelte';
1
+ import Root from "./sheet.svelte";
2
+ import Portal from "./sheet-portal.svelte";
3
+ import Trigger from "./sheet-trigger.svelte";
4
+ import Close from "./sheet-close.svelte";
5
+ import Overlay from "./sheet-overlay.svelte";
6
+ import Content from "./sheet-content.svelte";
7
+ import Header from "./sheet-header.svelte";
8
+ import Footer from "./sheet-footer.svelte";
9
+ import Title from "./sheet-title.svelte";
10
+ import Description from "./sheet-description.svelte";
11
11
  export { Root, Close, Trigger, Portal, Overlay, Content, Header, Footer, Title, Description, Root as Sheet, Close as SheetClose, Trigger as SheetTrigger, Portal as SheetPortal, Overlay as SheetOverlay, Content as SheetContent, Header as SheetHeader, Footer as SheetFooter, Title as SheetTitle, Description as SheetDescription, };
@@ -1,13 +1,13 @@
1
- import Root from './sheet.svelte';
2
- import Close from './sheet-close.svelte';
3
- import Content from './sheet-content.svelte';
4
- import Description from './sheet-description.svelte';
5
- import Footer from './sheet-footer.svelte';
6
- import Header from './sheet-header.svelte';
7
- import Overlay from './sheet-overlay.svelte';
8
- import Portal from './sheet-portal.svelte';
9
- import Title from './sheet-title.svelte';
10
- import Trigger from './sheet-trigger.svelte';
1
+ import Root from "./sheet.svelte";
2
+ import Portal from "./sheet-portal.svelte";
3
+ import Trigger from "./sheet-trigger.svelte";
4
+ import Close from "./sheet-close.svelte";
5
+ import Overlay from "./sheet-overlay.svelte";
6
+ import Content from "./sheet-content.svelte";
7
+ import Header from "./sheet-header.svelte";
8
+ import Footer from "./sheet-footer.svelte";
9
+ import Title from "./sheet-title.svelte";
10
+ import Description from "./sheet-description.svelte";
11
11
  export { Root, Close, Trigger, Portal, Overlay, Content, Header, Footer, Title, Description,
12
12
  //
13
13
  Root as Sheet, Close as SheetClose, Trigger as SheetTrigger, Portal as SheetPortal, Overlay as SheetOverlay, Content as SheetContent, Header as SheetHeader, Footer as SheetFooter, Title as SheetTitle, Description as SheetDescription, };
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
3
 
4
- const { ref = $bindable(null), ...restProps }: SheetPrimitive.CloseProps = $props();
4
+ let { ref = $bindable(null), ...restProps }: SheetPrimitive.CloseProps = $props();
5
5
  </script>
6
6
 
7
7
  <SheetPrimitive.Close bind:ref data-slot="sheet-close" {...restProps} />
@@ -1,4 +1,4 @@
1
- import type { Dialog as SheetPrimitive } from 'bits-ui';
1
+ import { Dialog as SheetPrimitive } from "bits-ui";
2
2
  declare const SheetClose: import("svelte").Component<SheetPrimitive.TriggerProps, {}, "ref">;
3
3
  type SheetClose = ReturnType<typeof SheetClose>;
4
4
  export default SheetClose;
@@ -1,21 +1,21 @@
1
1
  <script lang="ts" module>
2
- import { tv, type VariantProps } from 'tailwind-variants';
3
- export const sheetVariants = tv({
4
- base: 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',
5
- variants: {
6
- side: {
7
- top: 'data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b',
8
- bottom: 'data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t',
9
- left: 'data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start inset-y-0 start-0 h-full w-3/4 border-e sm:max-w-sm',
10
- right: 'data-[state=closed]:slide-out-to-end data-[state=open]:slide-in-from-end inset-y-0 end-0 h-full w-3/4 border-s sm:max-w-sm',
11
- },
12
- },
13
- defaultVariants: {
14
- side: 'right',
15
- },
16
- });
2
+ import { tv, type VariantProps } from "tailwind-variants";
3
+ export const sheetVariants = tv({
4
+ base: "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
5
+ variants: {
6
+ side: {
7
+ top: "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
8
+ bottom: "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
9
+ left: "data-[state=closed]:slide-out-to-start data-[state=open]:slide-in-from-start inset-y-0 start-0 h-full w-3/4 border-e sm:max-w-sm",
10
+ right: "data-[state=closed]:slide-out-to-end data-[state=open]:slide-in-from-end inset-y-0 end-0 h-full w-3/4 border-s sm:max-w-sm",
11
+ },
12
+ },
13
+ defaultVariants: {
14
+ side: "right",
15
+ },
16
+ });
17
17
 
18
- export type Side = VariantProps<typeof sheetVariants>['side'];
18
+ export type Side = VariantProps<typeof sheetVariants>["side"];
19
19
  </script>
20
20
 
21
21
  <script lang="ts">
@@ -1,4 +1,4 @@
1
- import { type VariantProps } from 'tailwind-variants';
1
+ import { type VariantProps } from "tailwind-variants";
2
2
  export declare const sheetVariants: import("tailwind-variants").TVReturnType<{
3
3
  side: {
4
4
  top: string;
@@ -21,7 +21,7 @@ export declare const sheetVariants: import("tailwind-variants").TVReturnType<{
21
21
  right: string;
22
22
  };
23
23
  }, undefined, "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", unknown, unknown, undefined>>;
24
- export type Side = VariantProps<typeof sheetVariants>['side'];
24
+ export type Side = VariantProps<typeof sheetVariants>["side"];
25
25
  import { Dialog as SheetPrimitive } from "bits-ui";
26
26
  import type { Snippet } from "svelte";
27
27
  import SheetPortal from "./sheet-portal.svelte";
@@ -1,8 +1,12 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
3
- import { cn } from '../../../utils.js';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
+ import { cn } from "../../../utils.js";
4
4
 
5
- const { ref = $bindable(null), class: className, ...restProps }: SheetPrimitive.DescriptionProps = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ class: className,
8
+ ...restProps
9
+ }: SheetPrimitive.DescriptionProps = $props();
6
10
  </script>
7
11
 
8
12
  <SheetPrimitive.Description
@@ -1,4 +1,4 @@
1
- import type { Dialog as SheetPrimitive } from 'bits-ui';
1
+ import { Dialog as SheetPrimitive } from "bits-ui";
2
2
  declare const SheetDescription: import("svelte").Component<SheetPrimitive.DescriptionProps, {}, "ref">;
3
3
  type SheetDescription = ReturnType<typeof SheetDescription>;
4
4
  export default SheetDescription;
@@ -1,8 +1,13 @@
1
1
  <script lang="ts">
2
- import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '../../../utils.js';
2
+ import { cn, type WithElementRef } from "../../../utils.js";
3
+ import type { HTMLAttributes } from "svelte/elements";
4
4
 
5
- const { ref = $bindable(null), class: className, children, ...restProps }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ class: className,
8
+ children,
9
+ ...restProps
10
+ }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
6
11
  </script>
7
12
 
8
13
  <div
@@ -1,5 +1,5 @@
1
- import type { HTMLAttributes } from 'svelte/elements';
2
- import { type WithElementRef } from '../../../utils.js';
1
+ import { type WithElementRef } from "../../../utils.js";
2
+ import type { HTMLAttributes } from "svelte/elements";
3
3
  declare const SheetFooter: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
4
4
  type SheetFooter = ReturnType<typeof SheetFooter>;
5
5
  export default SheetFooter;
@@ -1,8 +1,13 @@
1
1
  <script lang="ts">
2
- import type { HTMLAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef } from '../../../utils.js';
2
+ import type { HTMLAttributes } from "svelte/elements";
3
+ import { cn, type WithElementRef } from "../../../utils.js";
4
4
 
5
- const { ref = $bindable(null), class: className, children, ...restProps }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ class: className,
8
+ children,
9
+ ...restProps
10
+ }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
6
11
  </script>
7
12
 
8
13
  <div
@@ -1,5 +1,5 @@
1
- import type { HTMLAttributes } from 'svelte/elements';
2
- import { type WithElementRef } from '../../../utils.js';
1
+ import type { HTMLAttributes } from "svelte/elements";
2
+ import { type WithElementRef } from "../../../utils.js";
3
3
  declare const SheetHeader: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
4
4
  type SheetHeader = ReturnType<typeof SheetHeader>;
5
5
  export default SheetHeader;
@@ -1,8 +1,12 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
3
- import { cn } from '../../../utils.js';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
+ import { cn } from "../../../utils.js";
4
4
 
5
- const { ref = $bindable(null), class: className, ...restProps }: SheetPrimitive.OverlayProps = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ class: className,
8
+ ...restProps
9
+ }: SheetPrimitive.OverlayProps = $props();
6
10
  </script>
7
11
 
8
12
  <SheetPrimitive.Overlay
@@ -1,4 +1,4 @@
1
- import type { Dialog as SheetPrimitive } from 'bits-ui';
1
+ import { Dialog as SheetPrimitive } from "bits-ui";
2
2
  declare const SheetOverlay: import("svelte").Component<SheetPrimitive.OverlayProps, {}, "ref">;
3
3
  type SheetOverlay = ReturnType<typeof SheetOverlay>;
4
4
  export default SheetOverlay;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
3
 
4
- const { ...restProps }: SheetPrimitive.PortalProps = $props();
4
+ let { ...restProps }: SheetPrimitive.PortalProps = $props();
5
5
  </script>
6
6
 
7
7
  <SheetPrimitive.Portal {...restProps} />
@@ -1,8 +1,12 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
3
- import { cn } from '../../../utils.js';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
+ import { cn } from "../../../utils.js";
4
4
 
5
- const { ref = $bindable(null), class: className, ...restProps }: SheetPrimitive.TitleProps = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ class: className,
8
+ ...restProps
9
+ }: SheetPrimitive.TitleProps = $props();
6
10
  </script>
7
11
 
8
12
  <SheetPrimitive.Title
@@ -1,4 +1,4 @@
1
- import type { Dialog as SheetPrimitive } from 'bits-ui';
1
+ import { Dialog as SheetPrimitive } from "bits-ui";
2
2
  declare const SheetTitle: import("svelte").Component<SheetPrimitive.TitleProps, {}, "ref">;
3
3
  type SheetTitle = ReturnType<typeof SheetTitle>;
4
4
  export default SheetTitle;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
3
 
4
- const { ref = $bindable(null), ...restProps }: SheetPrimitive.TriggerProps = $props();
4
+ let { ref = $bindable(null), ...restProps }: SheetPrimitive.TriggerProps = $props();
5
5
  </script>
6
6
 
7
7
  <SheetPrimitive.Trigger bind:ref data-slot="sheet-trigger" {...restProps} />
@@ -1,4 +1,4 @@
1
- import type { Dialog as SheetPrimitive } from 'bits-ui';
1
+ import { Dialog as SheetPrimitive } from "bits-ui";
2
2
  declare const SheetTrigger: import("svelte").Component<SheetPrimitive.TriggerProps, {}, "ref">;
3
3
  type SheetTrigger = ReturnType<typeof SheetTrigger>;
4
4
  export default SheetTrigger;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import type { Dialog as SheetPrimitive } from 'bits-ui';
2
+ import { Dialog as SheetPrimitive } from "bits-ui";
3
3
 
4
- const { open = $bindable(false), ...restProps }: SheetPrimitive.RootProps = $props();
4
+ let { open = $bindable(false), ...restProps }: SheetPrimitive.RootProps = $props();
5
5
  </script>
6
6
 
7
7
  <SheetPrimitive.Root bind:open {...restProps} />
@@ -1,2 +1,2 @@
1
- import Root from './textarea.svelte';
1
+ import Root from "./textarea.svelte";
2
2
  export { Root, Root as Textarea, };
@@ -1,4 +1,4 @@
1
- import Root from './textarea.svelte';
1
+ import Root from "./textarea.svelte";
2
2
  export { Root,
3
3
  //
4
4
  Root as Textarea, };
@@ -1,8 +1,14 @@
1
1
  <script lang="ts">
2
- import type { HTMLTextareaAttributes } from 'svelte/elements';
3
- import { cn, type WithElementRef, type WithoutChildren } from '../../../utils.js';
2
+ import { cn, type WithElementRef, type WithoutChildren } from "../../../utils.js";
3
+ import type { HTMLTextareaAttributes } from "svelte/elements";
4
4
 
5
- const { ref = $bindable(null), value = $bindable(), class: className, 'data-slot': dataSlot = 'textarea', ...restProps }: WithoutChildren<WithElementRef<HTMLTextareaAttributes>> = $props();
5
+ let {
6
+ ref = $bindable(null),
7
+ value = $bindable(),
8
+ class: className,
9
+ "data-slot": dataSlot = "textarea",
10
+ ...restProps
11
+ }: WithoutChildren<WithElementRef<HTMLTextareaAttributes>> = $props();
6
12
  </script>
7
13
 
8
14
  <textarea
@@ -1,5 +1,5 @@
1
- import type { HTMLTextareaAttributes } from 'svelte/elements';
2
- import { type WithElementRef } from '../../../utils.js';
1
+ import { type WithElementRef } from "../../../utils.js";
2
+ import type { HTMLTextareaAttributes } from "svelte/elements";
3
3
  declare const Textarea: import("svelte").Component<Omit<WithElementRef<HTMLTextareaAttributes>, "children">, {}, "ref" | "value">;
4
4
  type Textarea = ReturnType<typeof Textarea>;
5
5
  export default Textarea;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shellicar/ui-shadcn",
3
3
  "private": false,
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Stephen Hellicar",
@@ -44,15 +44,22 @@
44
44
  "*.md"
45
45
  ],
46
46
  "peerDependencies": {
47
+ "@lucide/svelte": "^0.500.0",
47
48
  "@tailwindcss/forms": "^0.5.0",
48
49
  "@tailwindcss/typography": "^0.5.0",
50
+ "bits-ui": "^2.0.0",
51
+ "clsx": "^2.0.0",
52
+ "formsnap": "^2.0.0",
49
53
  "svelte": "^5.0.0",
54
+ "sveltekit-superforms": "^2.0.0",
55
+ "tailwind-merge": "^3.0.0",
56
+ "tailwind-variants": "^3.0.0",
50
57
  "tailwindcss": "^4.0.0",
51
58
  "tw-animate-css": "^1.0.0"
52
59
  },
53
60
  "devDependencies": {
54
61
  "@internationalized/date": "^3.11.0",
55
- "@lucide/svelte": "^0.575.0",
62
+ "@lucide/svelte": "^0.561.0",
56
63
  "@sveltejs/adapter-auto": "^7.0.1",
57
64
  "@sveltejs/kit": "^2.53.4",
58
65
  "@sveltejs/package": "^2.5.7",