flowbite-svelte 1.19.0 → 1.20.0

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 (89) hide show
  1. package/dist/accordion/AccordionItem.svelte +15 -1
  2. package/dist/alert/Alert.svelte +15 -2
  3. package/dist/badge/Badge.svelte +19 -2
  4. package/dist/banner/Banner.svelte +16 -1
  5. package/dist/bottom-navigation/BottomNavItem.svelte +7 -1
  6. package/dist/breadcrumb/BreadcrumbItem.svelte +3 -1
  7. package/dist/carousel/Carousel.svelte +35 -4
  8. package/dist/datepicker/Datepicker.svelte +69 -6
  9. package/dist/device-mockups/Android.svelte +5 -1
  10. package/dist/device-mockups/DefaultMockup.svelte +5 -1
  11. package/dist/device-mockups/Ios.svelte +5 -1
  12. package/dist/device-mockups/Laptop.svelte +5 -1
  13. package/dist/device-mockups/Smartwatch.svelte +5 -1
  14. package/dist/device-mockups/Tablet.svelte +5 -1
  15. package/dist/dialog/Dialog.svelte +38 -7
  16. package/dist/drawer/Drawer.svelte +29 -2
  17. package/dist/forms/button-toggle/ButtonToggle.svelte +9 -1
  18. package/dist/forms/button-toggle/ButtonToggleGroup.svelte +14 -1
  19. package/dist/forms/button-toggle/CheckIcon.svelte +13 -1
  20. package/dist/forms/checkbox/Checkbox.svelte +18 -1
  21. package/dist/forms/fileupload/Fileupload.svelte +14 -1
  22. package/dist/forms/floating-label/FloatingLabelInput.svelte +48 -5
  23. package/dist/forms/input-addon/InputAddon.svelte +12 -1
  24. package/dist/forms/input-field/Input.svelte +60 -9
  25. package/dist/forms/phoneinput/PhoneInput.svelte +14 -2
  26. package/dist/forms/phoneinput/PhoneInput.svelte.d.ts +1 -1
  27. package/dist/forms/radio/Radio.svelte +14 -1
  28. package/dist/forms/search/Search.svelte +16 -1
  29. package/dist/forms/select/MultiSelect.svelte +10 -1
  30. package/dist/forms/select/Select.svelte +20 -1
  31. package/dist/forms/tags/Tags.svelte +35 -11
  32. package/dist/forms/textarea/Textarea.svelte +27 -2
  33. package/dist/forms/textarea/theme.js +3 -1
  34. package/dist/forms/timepicker/Timepicker.svelte +143 -13
  35. package/dist/index.d.ts +1 -0
  36. package/dist/index.js +1 -0
  37. package/dist/kanban/KanbanBoard.svelte +98 -0
  38. package/dist/kanban/KanbanBoard.svelte.d.ts +4 -0
  39. package/dist/kanban/KanbanCard.svelte +58 -0
  40. package/dist/kanban/KanbanCard.svelte.d.ts +16 -0
  41. package/dist/kanban/index.d.ts +3 -0
  42. package/dist/kanban/index.js +3 -0
  43. package/dist/kanban/theme.d.ts +108 -0
  44. package/dist/kanban/theme.js +43 -0
  45. package/dist/mega-menu/MegaMenu.svelte +1 -8
  46. package/dist/modal/Modal.svelte +30 -2
  47. package/dist/navbar/NavHamburger.svelte +1 -1
  48. package/dist/navbar/NavLi.svelte +3 -1
  49. package/dist/navbar/NavUl.svelte +14 -1
  50. package/dist/pagination/theme.js +4 -1
  51. package/dist/popover/Popover.svelte +13 -1
  52. package/dist/progress/Progressbar.svelte +14 -1
  53. package/dist/progress/Progressradial.svelte +28 -2
  54. package/dist/rating/AdvancedRating.svelte +5 -1
  55. package/dist/rating/CustomIcon.svelte +13 -1
  56. package/dist/rating/Heart.svelte +19 -2
  57. package/dist/rating/Review.svelte +6 -3
  58. package/dist/rating/Review.svelte.d.ts +0 -1
  59. package/dist/rating/Star.svelte +12 -1
  60. package/dist/rating/Thumbup.svelte +19 -2
  61. package/dist/sidebar/Sidebar.svelte +30 -2
  62. package/dist/sidebar/SidebarButton.svelte +5 -1
  63. package/dist/sidebar/SidebarDropdownWrapper.svelte +18 -1
  64. package/dist/skeleton/CardPlaceholder.svelte +8 -2
  65. package/dist/skeleton/ImagePlaceholder.svelte +3 -1
  66. package/dist/skeleton/TestimonialPlaceholder.svelte +5 -1
  67. package/dist/skeleton/VideoPlaceholder.svelte +3 -1
  68. package/dist/speed-dial/SpeedDial.svelte +13 -1
  69. package/dist/speed-dial/SpeedDialButton.svelte +12 -1
  70. package/dist/spinner/Spinner.svelte +8 -2
  71. package/dist/step-indicator/StepIndicator.svelte +14 -2
  72. package/dist/stepper/DetailedStepper.svelte +1 -1
  73. package/dist/stepper/ProgressStepper.svelte +3 -1
  74. package/dist/stepper/TimelineStepper.svelte +3 -1
  75. package/dist/stepper/VerticalStepper.svelte +1 -1
  76. package/dist/table/TableSearch.svelte +26 -2
  77. package/dist/theme/themeUtils.js +3 -1
  78. package/dist/theme/themes.d.ts +1 -0
  79. package/dist/theme/themes.js +1 -0
  80. package/dist/timeline/GroupItem.svelte +10 -2
  81. package/dist/timeline/TimelineItem.svelte +24 -2
  82. package/dist/toast/Toast.svelte +17 -2
  83. package/dist/tooltip/Tooltip.svelte +12 -4
  84. package/dist/types.d.ts +27 -1
  85. package/dist/typography/paragraph/P.svelte +14 -1
  86. package/dist/utils/CloseButton.svelte +10 -2
  87. package/dist/utils/Popper.svelte +38 -2
  88. package/dist/virtuallist/VirtualList.svelte +8 -1
  89. package/package.json +12 -4
@@ -11,7 +11,20 @@
11
11
  let navState = getContext<NavbarState>("navState");
12
12
  let navBreakpoint = getContext<NavbarBreakpoint>("breakpoint");
13
13
 
14
- let { children, activeUrl = $bindable(), ulClass, slideParams, transition = slide, transitionParams, activeClass, nonActiveClass, respectMotionPreference = true, class: clasName, classes, ...restProps }: NavUlProps = $props();
14
+ let {
15
+ children,
16
+ activeUrl = $bindable(),
17
+ ulClass,
18
+ slideParams,
19
+ transition = slide,
20
+ transitionParams,
21
+ activeClass,
22
+ nonActiveClass,
23
+ respectMotionPreference = true,
24
+ class: clasName,
25
+ classes,
26
+ ...restProps
27
+ }: NavUlProps = $props();
15
28
 
16
29
  warnThemeDeprecation("NavUl", { ulClass, activeClass, nonActiveClass }, { ulClass: "ul", activeClass: "active", nonActiveClass: "nonActive" });
17
30
  const styling = $derived(classes ?? { ul: ulClass, active: activeClass, nonActive: nonActiveClass });
@@ -14,7 +14,10 @@ export const paginationNav = tv({
14
14
  large: ""
15
15
  },
16
16
  layout: {
17
- table: { prev: "rounded-s bg-gray-800 hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white text-white hover:text-gray-200", next: "text-white bg-gray-800 border-0 border-s border-gray-700 rounded-e hover:bg-gray-900 hover:text-gray-200 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white" },
17
+ table: {
18
+ prev: "rounded-s bg-gray-800 hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white text-white hover:text-gray-200",
19
+ next: "text-white bg-gray-800 border-0 border-s border-gray-700 rounded-e hover:bg-gray-900 hover:text-gray-200 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
20
+ },
18
21
  navigation: { prev: "rounded-s-lg", next: "rounded-e-lg" },
19
22
  pagination: { prev: "rounded-s-lg", next: "rounded-e-lg" }
20
23
  }
@@ -5,7 +5,19 @@
5
5
  import type { PopoverProps } from "../types";
6
6
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
7
7
 
8
- let { title: titleSlot, color = "default", trigger = "hover", defaultClass, arrow = true, children, placement = "top", class: className, classes, isOpen = $bindable(false), ...restProps }: PopoverProps = $props();
8
+ let {
9
+ title: titleSlot,
10
+ color = "default",
11
+ trigger = "hover",
12
+ defaultClass,
13
+ arrow = true,
14
+ children,
15
+ placement = "top",
16
+ class: className,
17
+ classes,
18
+ isOpen = $bindable(false),
19
+ ...restProps
20
+ }: PopoverProps = $props();
9
21
 
10
22
  // content, title, h3
11
23
  warnThemeDeprecation("Popover", { defaultClass }, { defaultClass: "content" });
@@ -6,7 +6,20 @@
6
6
  import { progressbar } from "./theme";
7
7
  import { getTheme } from "../theme/themeUtils";
8
8
 
9
- let { progress = "45", precision = 0, tweenDuration = 400, animate = false, size = "h-2.5", labelInside = false, labelOutside = "", easing = cubicOut, color = "primary", class: className, classes, ...restProps }: ProgressbarProps = $props();
9
+ let {
10
+ progress = "45",
11
+ precision = 0,
12
+ tweenDuration = 400,
13
+ animate = false,
14
+ size = "h-2.5",
15
+ labelInside = false,
16
+ labelOutside = "",
17
+ easing = cubicOut,
18
+ color = "primary",
19
+ class: className,
20
+ classes,
21
+ ...restProps
22
+ }: ProgressbarProps = $props();
10
23
 
11
24
  const theme = getTheme("progressbar");
12
25
 
@@ -6,7 +6,23 @@
6
6
  import { Tween } from "svelte/motion";
7
7
  import { getTheme } from "../theme/themeUtils";
8
8
 
9
- let { progress = 45, radius = 42, startingPosition = "top", precision = 0, tweenDuration = 400, animate = false, size = "h-24 w-24", thickness = 4, labelInside = false, labelOutside = "", easing = cubicOut, color = "primary", class: className, classes, ...restProps }: ProgressradialProps = $props();
9
+ let {
10
+ progress = 45,
11
+ radius = 42,
12
+ startingPosition = "top",
13
+ precision = 0,
14
+ tweenDuration = 400,
15
+ animate = false,
16
+ size = "h-24 w-24",
17
+ thickness = 4,
18
+ labelInside = false,
19
+ labelOutside = "",
20
+ easing = cubicOut,
21
+ color = "primary",
22
+ class: className,
23
+ classes,
24
+ ...restProps
25
+ }: ProgressradialProps = $props();
10
26
 
11
27
  const theme = getTheme("progressradial");
12
28
 
@@ -50,7 +66,17 @@
50
66
  <circle cx="50" cy="50" r={radius} class={background({ class: clsx(theme?.background, classes?.background) })} fill="none" stroke-width={thickness} />
51
67
 
52
68
  <!-- Foreground circle (progress indicator) -->
53
- <circle cx="50" cy="50" r={radius} class={foreground({ class: clsx(theme?.foreground, classes?.foreground) })} fill="none" stroke-width={thickness} stroke-dasharray={circumference} stroke-dashoffset={strokeDashoffset} stroke-linecap="round" />
69
+ <circle
70
+ cx="50"
71
+ cy="50"
72
+ r={radius}
73
+ class={foreground({ class: clsx(theme?.foreground, classes?.foreground) })}
74
+ fill="none"
75
+ stroke-width={thickness}
76
+ stroke-dasharray={circumference}
77
+ stroke-dashoffset={strokeDashoffset}
78
+ stroke-linecap="round"
79
+ />
54
80
  </svg>
55
81
 
56
82
  {#if labelInside}
@@ -6,7 +6,11 @@
6
6
 
7
7
  let { rating, globalText, ratings, divClass, spanClass, div2Class, div3Class, span2Class, class: className, classes, unit }: AdvancedRatingProps = $props();
8
8
 
9
- warnThemeDeprecation("AdvancedRating", { divClass, spanClass, div2Class, div3Class, span2Class }, { divClass: "class", spanClass: "span", div2Class: "div2", div3Class: "div3", span2Class: "span2" });
9
+ warnThemeDeprecation(
10
+ "AdvancedRating",
11
+ { divClass, spanClass, div2Class, div3Class, span2Class },
12
+ { divClass: "class", spanClass: "span", div2Class: "div2", div3Class: "div3", span2Class: "span2" }
13
+ );
10
14
  const styling = $derived(
11
15
  classes ?? {
12
16
  span: spanClass,
@@ -2,7 +2,19 @@
2
2
  import clsx from "clsx";
3
3
  import type { RatingIconProps } from "../types";
4
4
 
5
- let { fillPercent = 100, fillColor = "#00ff00", strokeColor = "#00ff00", size = 24, ariaLabel = "custom icon", iconIndex = 0, groupId = "custom", role = "img", svgClass, pathd = "M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z", ...restProps }: RatingIconProps = $props();
5
+ let {
6
+ fillPercent = 100,
7
+ fillColor = "#00ff00",
8
+ strokeColor = "#00ff00",
9
+ size = 24,
10
+ ariaLabel = "custom icon",
11
+ iconIndex = 0,
12
+ groupId = "custom",
13
+ role = "img",
14
+ svgClass,
15
+ pathd = "M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z",
16
+ ...restProps
17
+ }: RatingIconProps = $props();
6
18
 
7
19
  const uniqueId = `${groupId}-${iconIndex}`;
8
20
  </script>
@@ -2,7 +2,18 @@
2
2
  import clsx from "clsx";
3
3
  import type { RatingIconProps } from "../types";
4
4
 
5
- let { fillPercent = 100, fillColor = "#ff0000", strokeColor = "#ff0000", size = 24, ariaLabel = "star", iconIndex = 0, groupId = "star", role = "img", svgClass, ...restProps }: RatingIconProps = $props();
5
+ let {
6
+ fillPercent = 100,
7
+ fillColor = "#ff0000",
8
+ strokeColor = "#ff0000",
9
+ size = 24,
10
+ ariaLabel = "star",
11
+ iconIndex = 0,
12
+ groupId = "star",
13
+ role = "img",
14
+ svgClass,
15
+ ...restProps
16
+ }: RatingIconProps = $props();
6
17
 
7
18
  const uniqueId = `${groupId}-${iconIndex}`;
8
19
  </script>
@@ -21,7 +32,13 @@
21
32
  {/if}
22
33
  </linearGradient>
23
34
  </defs>
24
- <path fill="url(#{uniqueId})" stroke={strokeColor} stroke-linecap="round" stroke-linejoin="round" d="M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z" />
35
+ <path
36
+ fill="url(#{uniqueId})"
37
+ stroke={strokeColor}
38
+ stroke-linecap="round"
39
+ stroke-linejoin="round"
40
+ d="M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z"
41
+ />
25
42
  </svg>
26
43
 
27
44
  <!--
@@ -4,9 +4,13 @@
4
4
  import type { ReviewProps } from "../types";
5
5
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
6
6
 
7
- let { children, address, item1, item2, item3, review, class: className, classes, articleClass, divClass, div2Class, div3Class, imgClass, ulClass, liClass }: ReviewProps = $props();
7
+ let { children, address, item1, item2, item3, review, classes, articleClass, divClass, div2Class, div3Class, imgClass, ulClass, liClass }: ReviewProps = $props();
8
8
 
9
- warnThemeDeprecation("Review", { articleClass, divClass, div2Class, div3Class, imgClass, ulClass, liClass }, { articleClass: "article", divClass: "div", div2Class: "div2", div3Class: "div3", imgClass: "img", ulClass: "ul", liClass: "li" });
9
+ warnThemeDeprecation(
10
+ "Review",
11
+ { articleClass, divClass, div2Class, div3Class, imgClass, ulClass, liClass },
12
+ { articleClass: "article", divClass: "div", div2Class: "div2", div3Class: "div3", imgClass: "img", ulClass: "ul", liClass: "li" }
13
+ );
10
14
  const styling = $derived(
11
15
  classes ?? {
12
16
  article: articleClass,
@@ -102,7 +106,6 @@
102
106
  @prop item2
103
107
  @prop item3
104
108
  @prop review
105
- @prop class: className
106
109
  @prop classes
107
110
  @prop articleClass
108
111
  @prop divClass
@@ -10,7 +10,6 @@ import type { ReviewProps } from "../types";
10
10
  * @prop item2
11
11
  * @prop item3
12
12
  * @prop review
13
- * @prop class: className
14
13
  * @prop classes
15
14
  * @prop articleClass
16
15
  * @prop divClass
@@ -2,7 +2,18 @@
2
2
  import clsx from "clsx";
3
3
  import type { RatingIconProps } from "../types";
4
4
 
5
- let { fillPercent = 100, fillColor = "#F5CA14", strokeColor = "#F5CA14", size = 24, ariaLabel = "star", iconIndex = 0, groupId = "star", role = "img", svgClass, ...restProps }: RatingIconProps = $props();
5
+ let {
6
+ fillPercent = 100,
7
+ fillColor = "#F5CA14",
8
+ strokeColor = "#F5CA14",
9
+ size = 24,
10
+ ariaLabel = "star",
11
+ iconIndex = 0,
12
+ groupId = "star",
13
+ role = "img",
14
+ svgClass,
15
+ ...restProps
16
+ }: RatingIconProps = $props();
6
17
 
7
18
  const uniqueId = `${groupId}-${iconIndex}`;
8
19
  </script>
@@ -2,7 +2,18 @@
2
2
  import clsx from "clsx";
3
3
  import type { RatingIconProps } from "../types";
4
4
 
5
- let { fillPercent = 100, fillColor = "#00b500", strokeColor = "#00b500", size = 24, ariaLabel = "thumbup", iconIndex = 0, groupId = "star", role = "img", svgClass, ...restProps }: RatingIconProps = $props();
5
+ let {
6
+ fillPercent = 100,
7
+ fillColor = "#00b500",
8
+ strokeColor = "#00b500",
9
+ size = 24,
10
+ ariaLabel = "thumbup",
11
+ iconIndex = 0,
12
+ groupId = "star",
13
+ role = "img",
14
+ svgClass,
15
+ ...restProps
16
+ }: RatingIconProps = $props();
6
17
 
7
18
  const uniqueId = `${groupId}-${iconIndex}`;
8
19
  </script>
@@ -21,7 +32,13 @@
21
32
  {/if}
22
33
  </linearGradient>
23
34
  </defs>
24
- <path fill="url(#{uniqueId})" stroke={strokeColor} stroke-linecap="round" stroke-linejoin="round" d="M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 01-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 10.203 4.167 9.75 5 9.75h1.053c.472 0 .745.556.5.96a8.958 8.958 0 00-1.302 4.665c0 1.194.232 2.333.654 3.375z" />
35
+ <path
36
+ fill="url(#{uniqueId})"
37
+ stroke={strokeColor}
38
+ stroke-linecap="round"
39
+ stroke-linejoin="round"
40
+ d="M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 01-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 10.203 4.167 9.75 5 9.75h1.053c.472 0 .745.556.5.96a8.958 8.958 0 00-1.302 4.665c0 1.194.232 2.333.654 3.375z"
41
+ />
25
42
  </svg>
26
43
 
27
44
  <!--
@@ -8,7 +8,29 @@
8
8
  import { fly } from "svelte/transition";
9
9
  import { sidebar } from "./theme";
10
10
 
11
- let { children, isOpen = false, closeSidebar, isSingle = true, breakpoint = "md", alwaysOpen = false, position = "fixed", activateClickOutside = true, backdrop = true, backdropClass, transition = fly, params, divClass, ariaLabel, nonActiveClass, activeClass, activeUrl = "", class: className, classes, disableBreakpoints = false, ...restProps }: SidebarProps = $props();
11
+ let {
12
+ children,
13
+ isOpen = false,
14
+ closeSidebar,
15
+ isSingle = true,
16
+ breakpoint = "md",
17
+ alwaysOpen = false,
18
+ position = "fixed",
19
+ activateClickOutside = true,
20
+ backdrop = true,
21
+ backdropClass,
22
+ transition = fly,
23
+ params,
24
+ divClass,
25
+ ariaLabel,
26
+ nonActiveClass,
27
+ activeClass,
28
+ activeUrl = "",
29
+ class: className,
30
+ classes,
31
+ disableBreakpoints = false,
32
+ ...restProps
33
+ }: SidebarProps = $props();
12
34
 
13
35
  warnThemeDeprecation("Sidebar", { backdropClass, divClass, nonActiveClass, activeClass }, { backdropClass: "backdrop", divClass: "div", nonActiveClass: "nonactive", activeClass: "active" });
14
36
  const styling = $derived(
@@ -81,7 +103,13 @@
81
103
  <div role="presentation" class="fixed start-0 top-0 z-50 h-full w-full"></div>
82
104
  {/if}
83
105
  {/if}
84
- <aside use:trapFocus={!isLargeScreen && isOpen && !alwaysOpen ? { onEscape: closeSidebar ? handleEscape : undefined } : null} transition:transition={!alwaysOpen ? transitionParams : undefined} {...restProps} class={base({ class: clsx(theme?.base, className) })} aria-label={ariaLabel}>
106
+ <aside
107
+ use:trapFocus={!isLargeScreen && isOpen && !alwaysOpen ? { onEscape: closeSidebar ? handleEscape : undefined } : null}
108
+ transition:transition={!alwaysOpen ? transitionParams : undefined}
109
+ {...restProps}
110
+ class={base({ class: clsx(theme?.base, className) })}
111
+ aria-label={ariaLabel}
112
+ >
85
113
  <div class={div({ class: clsx(theme?.base, styling.div) })}>
86
114
  {@render children()}
87
115
  </div>
@@ -14,7 +14,11 @@
14
14
  <button {...restProps} type="button" class={base({ class: clsx(theme?.base, className) })}>
15
15
  <span class="sr-only">Open sidebar</span>
16
16
  <svg class={svg({ class: clsx(theme?.svg, classes?.svg) })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
17
- <path clip-rule="evenodd" fill-rule="evenodd" d="M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z"></path>
17
+ <path
18
+ clip-rule="evenodd"
19
+ fill-rule="evenodd"
20
+ d="M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z"
21
+ ></path>
18
22
  </svg>
19
23
  </button>
20
24
 
@@ -13,7 +13,24 @@
13
13
  isSingle: boolean;
14
14
  };
15
15
 
16
- let { children, arrowup, arrowdown, icon, isOpen = $bindable(false), btnClass, label, spanClass, ulClass, transition = slide, params, svgClass, class: className, classes, onclick, ...restProps }: SidebarDropdownWrapperProps = $props();
16
+ let {
17
+ children,
18
+ arrowup,
19
+ arrowdown,
20
+ icon,
21
+ isOpen = $bindable(false),
22
+ btnClass,
23
+ label,
24
+ spanClass,
25
+ ulClass,
26
+ transition = slide,
27
+ params,
28
+ svgClass,
29
+ class: className,
30
+ classes,
31
+ onclick,
32
+ ...restProps
33
+ }: SidebarDropdownWrapperProps = $props();
17
34
 
18
35
  warnThemeDeprecation("SidebarDropdownWrapper", { btnClass, spanClass, ulClass, svgClass }, { btnClass: "btn", spanClass: "span", ulClass: "ul", svgClass: "svg" });
19
36
  const styling = $derived(
@@ -14,7 +14,9 @@
14
14
  <div role="status" {...restProps} class={base({ class: clsx(theme?.base, className) })}>
15
15
  <div class={area({ class: clsx(theme?.area, classes?.area) })}>
16
16
  <svg width="48" height="48" class={icon({ class: clsx(theme?.icon) })} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
17
- <path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
17
+ <path
18
+ d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"
19
+ ></path>
18
20
  </svg>
19
21
  </div>
20
22
  <div class={line({ class: clsx("mb-4 h-2.5 w-1/2", theme?.line, classes?.line) })}></div>
@@ -23,7 +25,11 @@
23
25
  <div class={line({ class: clsx("h-2", theme?.line, classes?.line) })}></div>
24
26
  <div class={footer({ class: clsx(theme?.footer, classes?.footer) })}>
25
27
  <svg class={line({ class: clsx("h-14 w-14", theme?.line, classes?.line) })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
26
- <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
28
+ <path
29
+ fill-rule="evenodd"
30
+ d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
31
+ clip-rule="evenodd"
32
+ ></path>
27
33
  </svg>
28
34
  <div class={line({ class: clsx("mb-2 h-2.5 w-32", theme?.line, classes?.line) })}></div>
29
35
  <div class={line({ class: clsx("mb-2 h-2 w-32", theme?.line, classes?.line) })}></div>
@@ -19,7 +19,9 @@
19
19
  <div role="status" {...restProps} class={base({ class: clsx(className, theme?.base) })}>
20
20
  <div class={image({ class: clsx(theme?.image, classes?.image) })}>
21
21
  <svg width="48" height="48" class={svg({ class: clsx(theme?.svg, classes?.svg) })} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
22
- <path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
22
+ <path
23
+ d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"
24
+ ></path>
23
25
  </svg>
24
26
  </div>
25
27
  {#if !imgOnly}
@@ -28,7 +28,11 @@
28
28
  })}
29
29
  >
30
30
  <svg class={svg({ class: clsx(theme?.svg, classes?.svg) })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
31
- <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
31
+ <path
32
+ fill-rule="evenodd"
33
+ d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
34
+ clip-rule="evenodd"
35
+ ></path>
32
36
  </svg>
33
37
  <div
34
38
  class={lineA({
@@ -13,7 +13,9 @@
13
13
 
14
14
  <div role="status" class={base}>
15
15
  <svg width="48" height="48" class="text-gray-200 dark:text-gray-600" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 384 512">
16
- <path d="M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"></path>
16
+ <path
17
+ d="M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"
18
+ ></path>
17
19
  </svg>
18
20
  <span class="sr-only">Loading...</span>
19
21
  </div>
@@ -7,7 +7,19 @@
7
7
  import type { SpeedDialProps, SpeedCtxType } from "../types";
8
8
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
9
9
 
10
- let { children, popperClass, placement = "top", pill = true, tooltip = "left", trigger = "hover", textOutside = false, class: className, classes, isOpen = $bindable(false), ...restProps }: SpeedDialProps = $props();
10
+ let {
11
+ children,
12
+ popperClass,
13
+ placement = "top",
14
+ pill = true,
15
+ tooltip = "left",
16
+ trigger = "hover",
17
+ textOutside = false,
18
+ class: className,
19
+ classes,
20
+ isOpen = $bindable(false),
21
+ ...restProps
22
+ }: SpeedDialProps = $props();
11
23
 
12
24
  warnThemeDeprecation("SpeedDial", { popperClass }, { popperClass: "popper" });
13
25
  const styling = $derived(
@@ -10,7 +10,18 @@
10
10
 
11
11
  const context = getContext<SpeedCtxType>("speed-dial");
12
12
 
13
- let { children, name = "", color = "light", tooltip: _tooltip, pill = context.pill, textOutside = context.textOutside, textClass, class: className, classes, ...restProps }: SpeedDialButtonProps = $props();
13
+ let {
14
+ children,
15
+ name = "",
16
+ color = "light",
17
+ tooltip: _tooltip,
18
+ pill = context.pill,
19
+ textOutside = context.textOutside,
20
+ textClass,
21
+ class: className,
22
+ classes,
23
+ ...restProps
24
+ }: SpeedDialButtonProps = $props();
14
25
 
15
26
  warnThemeDeprecation("SpeedDialButton", { textClass }, { textClass: "span" });
16
27
  const styling = $derived(
@@ -12,8 +12,14 @@
12
12
  </script>
13
13
 
14
14
  <svg {...restProps} role="status" class={spinnerClass} viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
15
- <path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill={currentColor} />
16
- <path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill={currentFill} />
15
+ <path
16
+ d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
17
+ fill={currentColor}
18
+ />
19
+ <path
20
+ d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
21
+ fill={currentFill}
22
+ />
17
23
  </svg>
18
24
 
19
25
  <!--
@@ -4,7 +4,19 @@
4
4
  import { stepIndicator, getStepStateClasses, type StepIndicatorTheme } from "./theme";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
- let { steps = ["Step 1", "Step 2", "Step 3", "Step 4", "Step 5"], currentStep = 1, size = "md", color = "primary", glow = false, hideLabel = false, completedCustom = "", currentCustom = "", class: className, classes, ...restProps }: StepIndicatorProps = $props();
7
+ let {
8
+ steps = ["Step 1", "Step 2", "Step 3", "Step 4", "Step 5"],
9
+ currentStep = 1,
10
+ size = "md",
11
+ color = "primary",
12
+ glow = false,
13
+ hideLabel = false,
14
+ completedCustom = "",
15
+ currentCustom = "",
16
+ class: className,
17
+ classes,
18
+ ...restProps
19
+ }: StepIndicatorProps = $props();
8
20
 
9
21
  const theme = getTheme("stepIndicator");
10
22
 
@@ -33,7 +45,7 @@
33
45
  {/if}
34
46
 
35
47
  <div class={container({ class: clsx((theme as StepIndicatorTheme)?.container, classes?.container) })}>
36
- {#each steps as step, i}
48
+ {#each steps as _step, i}
37
49
  {#if i === currentStep - 1}
38
50
  <div class={wrapper({ class: clsx((theme as StepIndicatorTheme)?.wrapper, classes?.wrapper) })}>
39
51
  <div class={stepCls({ class: clsx(getStepStateClasses(i, currentStep), getCustomStepClass(i), (theme as StepIndicatorTheme)?.step, classes?.step) })} data-state="current"></div>
@@ -18,7 +18,7 @@
18
18
  {#if children}
19
19
  {@render children()}
20
20
  {:else if steps}
21
- {#each steps as step, index}
21
+ {#each steps as step}
22
22
  <li class={item({ status: step.status, class: clsx(theme?.item, classes?.item) })}>
23
23
  <span class={indicator({ status: step.status, class: clsx(theme?.indicator, classes?.indicator) })}>
24
24
  {#if step.status === "completed" && step.icon}
@@ -39,7 +39,9 @@
39
39
  <step.icon class={clsx(step.iconClass) || "h-5 w-5 lg:h-6 lg:w-6"} />
40
40
  {:else}
41
41
  <svg class="h-4 w-4 text-gray-500 lg:h-5 lg:w-5 dark:text-gray-100" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 16">
42
- <path d="M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z" />
42
+ <path
43
+ d="M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z"
44
+ />
43
45
  </svg>
44
46
  {/if}
45
47
  </span>
@@ -33,7 +33,9 @@
33
33
  <step.icon class={clsx(step.iconClass) || "h-3.5 w-3.5"} />
34
34
  {:else}
35
35
  <svg class="h-3.5 w-3.5 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 16">
36
- <path d="M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z" />
36
+ <path
37
+ d="M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z"
38
+ />
37
39
  </svg>
38
40
  {/if}
39
41
  </span>
@@ -18,7 +18,7 @@
18
18
  {#if children}
19
19
  {@render children()}
20
20
  {:else if steps}
21
- {#each steps as step, index}
21
+ {#each steps as step}
22
22
  <li class={clsx(liClass)}>
23
23
  <div class={card({ status: step.status, class: clsx(theme?.card, classes?.card) })} role="alert">
24
24
  <div class={content({ class: clsx(theme?.content, classes?.content) })}>
@@ -5,9 +5,33 @@
5
5
  import { tableSearch } from "./theme";
6
6
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
7
7
 
8
- let { children, header, footer, divClass, inputValue = $bindable(), striped = false, hoverable = false, customColor = "", color = "default", innerDivClass, inputClass, searchClass, svgDivClass, svgClass, tableClass, class: className, classes, placeholder = "Search", ...restProps }: TableSearchProps = $props();
8
+ let {
9
+ children,
10
+ header,
11
+ footer,
12
+ divClass,
13
+ inputValue = $bindable(),
14
+ striped = false,
15
+ hoverable = false,
16
+ customColor = "",
17
+ color = "default",
18
+ innerDivClass,
19
+ inputClass,
20
+ searchClass,
21
+ svgDivClass,
22
+ svgClass,
23
+ tableClass,
24
+ class: className,
25
+ classes,
26
+ placeholder = "Search",
27
+ ...restProps
28
+ }: TableSearchProps = $props();
9
29
 
10
- warnThemeDeprecation("TableSearch", { divClass, innerDivClass, inputClass, searchClass, svgDivClass, svgClass, tableClass }, { divClass: "root", innerDivClass: "inner", inputClass: "input", searchClass: "search", svgDivClass: "svgDiv", svgClass: "svg", tableClass: "table" });
30
+ warnThemeDeprecation(
31
+ "TableSearch",
32
+ { divClass, innerDivClass, inputClass, searchClass, svgDivClass, svgClass, tableClass },
33
+ { divClass: "root", innerDivClass: "inner", inputClass: "input", searchClass: "search", svgDivClass: "svgDiv", svgClass: "svg", tableClass: "table" }
34
+ );
11
35
  const styling = $derived(
12
36
  classes ?? {
13
37
  root: divClass,
@@ -50,7 +50,9 @@ export function warnThemeDeprecation(component, names, replacements) {
50
50
  // Stack trace parsing to find external caller
51
51
  const stack = new Error().stack;
52
52
  const externalCaller = getExternalCaller(stack);
53
- console.warn(`⚠️ The following "${component}" props are deprecated: ${nonEmptyNames.map((n) => `"${n}"`).join(", ")}.\n` + `💡 Please use the ${propText} prop instead.${migrationHint}\n` + (externalCaller ? `🔍 Used at: ${externalCaller}` : ""));
53
+ console.warn(`⚠️ The following "${component}" props are deprecated: ${nonEmptyNames.map((n) => `"${n}"`).join(", ")}.\n` +
54
+ `💡 Please use the ${propText} prop instead.${migrationHint}\n` +
55
+ (externalCaller ? `🔍 Used at: ${externalCaller}` : ""));
54
56
  }
55
57
  // Extracts the first file in the stack trace that is NOT the current component file
56
58
  function getExternalCaller(stack) {
@@ -69,3 +69,4 @@ export { paragraph } from "../typography/paragraph";
69
69
  export { secondary } from "../typography/secondary";
70
70
  export { span } from "../typography/span";
71
71
  export { virtualList } from "../virtuallist";
72
+ export { kanbanBoard, kanbanCard } from "../kanban/theme";