flowbite-svelte 0.37.2 → 0.37.4

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 (83) hide show
  1. package/dist/accordion/Accordion.svelte.d.ts +1 -1
  2. package/dist/alerts/Alert.svelte.d.ts +1 -1
  3. package/dist/buttons/Button.svelte +1 -0
  4. package/dist/buttons/Button.svelte.d.ts.map +1 -1
  5. package/dist/cards/Card.svelte.d.ts +1 -1
  6. package/dist/carousels/Carousel.svelte +0 -2
  7. package/dist/carousels/Carousel.svelte.d.ts.map +1 -1
  8. package/dist/carousels/CarouselTransition.svelte +0 -2
  9. package/dist/carousels/CarouselTransition.svelte.d.ts.map +1 -1
  10. package/dist/carousels/Thumbnail.svelte +11 -10
  11. package/dist/carousels/Thumbnail.svelte.d.ts +1 -1
  12. package/dist/carousels/Thumbnail.svelte.d.ts.map +1 -1
  13. package/dist/darkmode/DarkMode.svelte +14 -18
  14. package/dist/darkmode/DarkMode.svelte.d.ts +0 -1
  15. package/dist/darkmode/DarkMode.svelte.d.ts.map +1 -1
  16. package/dist/dropdowns/Dropdown.svelte +1 -1
  17. package/dist/dropdowns/DropdownItem.svelte +2 -1
  18. package/dist/forms/Dropzone.svelte +14 -13
  19. package/dist/forms/Dropzone.svelte.d.ts.map +1 -1
  20. package/dist/forms/FloatingLabelInput.svelte +1 -1
  21. package/dist/forms/FloatingLabelInput.svelte.d.ts +1 -1
  22. package/dist/forms/FloatingLabelInput.svelte.d.ts.map +1 -1
  23. package/dist/forms/Input.svelte +1 -1
  24. package/dist/forms/Search.svelte +1 -1
  25. package/dist/forms/Search.svelte.d.ts +1 -1
  26. package/dist/forms/Search.svelte.d.ts.map +1 -1
  27. package/dist/forms/Select.svelte +1 -1
  28. package/dist/forms/Select.svelte.d.ts +1 -1
  29. package/dist/forms/Select.svelte.d.ts.map +1 -1
  30. package/dist/forms/Textarea.svelte +1 -1
  31. package/dist/forms/Textarea.svelte.d.ts +1 -1
  32. package/dist/forms/Textarea.svelte.d.ts.map +1 -1
  33. package/dist/list-group/Listgroup.svelte.d.ts +1 -1
  34. package/dist/modals/Modal.svelte +1 -0
  35. package/dist/modals/Modal.svelte.d.ts +1 -1
  36. package/dist/navbar/Menu.svelte +2 -0
  37. package/dist/navbar/NavLi.svelte +1 -0
  38. package/dist/navbar/NavUl.svelte +1 -1
  39. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  40. package/dist/paginations/PaginationItem.svelte +1 -0
  41. package/dist/paginations/PaginationItem.svelte.d.ts.map +1 -1
  42. package/dist/popover/Popover.svelte.d.ts +1 -1
  43. package/dist/ratings/Heart.svelte +2 -0
  44. package/dist/ratings/Heart.svelte.d.ts +1 -0
  45. package/dist/ratings/Heart.svelte.d.ts.map +1 -1
  46. package/dist/ratings/Star.svelte +2 -0
  47. package/dist/ratings/Star.svelte.d.ts +1 -0
  48. package/dist/ratings/Star.svelte.d.ts.map +1 -1
  49. package/dist/ratings/Thumbup.svelte +2 -0
  50. package/dist/ratings/Thumbup.svelte.d.ts +1 -0
  51. package/dist/ratings/Thumbup.svelte.d.ts.map +1 -1
  52. package/dist/tables/TableBodyCell.svelte +4 -9
  53. package/dist/tables/TableBodyCell.svelte.d.ts +0 -7
  54. package/dist/tables/TableBodyCell.svelte.d.ts.map +1 -1
  55. package/dist/toasts/Toast.svelte +34 -22
  56. package/dist/toasts/Toast.svelte.d.ts +5 -3
  57. package/dist/toasts/Toast.svelte.d.ts.map +1 -1
  58. package/dist/tooltips/Tooltip.svelte.d.ts +1 -1
  59. package/dist/utils/ChevronDown.svelte +2 -0
  60. package/dist/utils/ChevronDown.svelte.d.ts +1 -0
  61. package/dist/utils/ChevronDown.svelte.d.ts.map +1 -1
  62. package/dist/utils/ChevronLeft.svelte +2 -0
  63. package/dist/utils/ChevronLeft.svelte.d.ts +1 -0
  64. package/dist/utils/ChevronLeft.svelte.d.ts.map +1 -1
  65. package/dist/utils/ChevronRight.svelte +2 -0
  66. package/dist/utils/ChevronRight.svelte.d.ts +1 -0
  67. package/dist/utils/ChevronRight.svelte.d.ts.map +1 -1
  68. package/dist/utils/ChevronUp.svelte +2 -0
  69. package/dist/utils/ChevronUp.svelte.d.ts +1 -0
  70. package/dist/utils/ChevronUp.svelte.d.ts.map +1 -1
  71. package/dist/utils/Frame.svelte +3 -0
  72. package/dist/utils/Frame.svelte.d.ts +1 -1
  73. package/dist/utils/Frame.svelte.d.ts.map +1 -1
  74. package/dist/utils/InformationCircle.svelte +2 -0
  75. package/dist/utils/InformationCircle.svelte.d.ts +1 -0
  76. package/dist/utils/InformationCircle.svelte.d.ts.map +1 -1
  77. package/dist/utils/Popper.svelte.d.ts +1 -1
  78. package/dist/utils/UserCircle.svelte +2 -0
  79. package/dist/utils/UserCircle.svelte.d.ts +1 -0
  80. package/dist/utils/UserCircle.svelte.d.ts.map +1 -1
  81. package/dist/utils/focusTrap.d.ts.map +1 -1
  82. package/dist/utils/focusTrap.js +2 -2
  83. package/package.json +17 -20
@@ -6,13 +6,6 @@ declare const __propDef: {
6
6
  };
7
7
  events: {
8
8
  click: MouseEvent;
9
- focus: FocusEvent;
10
- keydown: KeyboardEvent;
11
- keypress: KeyboardEvent;
12
- keyup: KeyboardEvent;
13
- mouseenter: MouseEvent;
14
- mouseleave: MouseEvent;
15
- mouseover: MouseEvent;
16
9
  } & {
17
10
  [evt: string]: CustomEvent<any>;
18
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableBodyCell.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/tables/TableBodyCell.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AA8BD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACxD,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAExD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,oBAAoB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,CAAC;CAC3H"}
1
+ {"version":3,"file":"TableBodyCell.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/tables/TableBodyCell.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AA8BD,QAAA,MAAM,SAAS;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACxD,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAExD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,oBAAoB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,CAAC;CAC3H"}
@@ -3,14 +3,13 @@ import classNames from 'classnames';
3
3
  import CloseButton from '../utils/CloseButton.svelte';
4
4
  import { fade } from 'svelte/transition';
5
5
  export let simple = false;
6
+ export let color = 'primary';
6
7
  export let position = 'none';
7
8
  export let open = true;
8
- export let divClass = 'w-full max-w-xs p-4';
9
- export let defaultIconClass = 'inline-flex items-center justify-center flex-shrink-0 w-8 h-8 mr-3';
10
- $: {
11
- // override default Frame value
12
- $$restProps.color = $$restProps.color ?? 'blue';
13
- }
9
+ export let divClass = 'w-full max-w-xs p-4 text-gray-500 bg-white shadow dark:text-gray-400 dark:bg-gray-800 gap-3';
10
+ export let defaultIconClass = 'w-8 h-8';
11
+ export let contentClass = 'w-full text-sm font-normal';
12
+ export let align = true;
14
13
  const positions = {
15
14
  'top-left': 'absolute top-5 left-5',
16
15
  'top-right': 'absolute top-5 right-5',
@@ -18,27 +17,40 @@ const positions = {
18
17
  'bottom-right': 'absolute bottom-5 right-5',
19
18
  none: ''
20
19
  };
21
- let classDiv;
22
- $: classDiv = classNames(divClass, positions[position], $$props.class);
20
+ let finalDivClass;
21
+ $: finalDivClass = classNames('flex', align ? 'items-center' : 'items-start', divClass, positions[position], $$props.class);
22
+ const colors = {
23
+ primary: 'text-primary-500 bg-primary-100 dark:bg-primary-800 dark:text-primary-200',
24
+ gray: 'text-gray-500 bg-gray-100 dark:bg-gray-700 dark:text-gray-200',
25
+ red: 'text-red-500 bg-red-100 dark:bg-red-800 dark:text-red-200',
26
+ yellow: 'text-yellow-500 bg-yellow-100 dark:bg-yellow-800 dark:text-yellow-200',
27
+ green: 'text-green-500 bg-green-100 dark:bg-green-800 dark:text-green-200',
28
+ blue: 'text-blue-500 bg-blue-100 dark:bg-blue-800 dark:text-blue-200',
29
+ indigo: 'text-indigo-500 bg-indigo-100 dark:bg-indigo-800 dark:text-indigo-200',
30
+ purple: 'text-purple-500 bg-purple-100 dark:bg-purple-800 dark:text-purple-200',
31
+ orange: 'text-orange-500 bg-orange-100 dark:bg-orange-700 dark:text-orange-200',
32
+ none: ''
33
+ };
23
34
  let iconClass;
24
- $: iconClass = classNames(defaultIconClass);
35
+ $: iconClass = classNames('inline-flex items-center justify-center shrink-0', colors[color], defaultIconClass);
36
+ const clsBtnExtraClass = '-mx-1.5 -my-1.5 text-gray-400 hover:text-gray-900 focus:!ring-gray-300 hover:bg-gray-100 dark:text-gray-500 dark:hover:text-white dark:hover:bg-gray-700';
25
37
  </script>
26
38
 
27
39
  {#if open}
28
- <Frame rounded border transition={fade} {...$$restProps} class={classDiv} role="alert">
29
- <div class="flex {$$slots.extra ? 'items-start' : 'items-center'}">
30
- {#if $$slots.icon}
31
- <Frame rounded class={iconClass}><slot name="icon" /></Frame>
32
- {/if}
40
+ <Frame rounded transition={fade} color="none" {...$$restProps} class={finalDivClass} role="alert">
41
+ {#if $$slots.icon}
42
+ <Frame rounded color="none" class={iconClass}>
43
+ <slot name="icon" />
44
+ </Frame>
45
+ {/if}
33
46
 
34
- <div class="text-sm font-normal w-full">
35
- <slot />
36
- <slot name="extra" />
37
- </div>
38
- {#if !simple}
39
- <CloseButton on:click={() => (open = false)} />
40
- {/if}
47
+ <div class={contentClass}>
48
+ <slot />
41
49
  </div>
50
+
51
+ {#if !simple}
52
+ <CloseButton class={clsBtnExtraClass} on:click={() => (open = false)} />
53
+ {/if}
42
54
  </Frame>
43
55
  {/if}
44
56
 
@@ -56,7 +68,7 @@ $: iconClass = classNames(defaultIconClass);
56
68
  - Blur examples
57
69
  - Fly examples
58
70
  - Undo button
59
- - Extra content
71
+ - Advanced examples
60
72
  - Toast message
61
73
  - Push notification
62
74
  - Interactive toast
@@ -45,7 +45,7 @@ declare const __propDef: {
45
45
  autocapitalize?: string | null | undefined;
46
46
  autocorrect?: string | null | undefined;
47
47
  autosave?: string | null | undefined;
48
- color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "none" | undefined;
48
+ color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "blue" | "orange" | "none" | undefined;
49
49
  itemprop?: string | null | undefined;
50
50
  itemscope?: boolean | null | undefined;
51
51
  itemtype?: string | null | undefined;
@@ -246,6 +246,9 @@ declare const __propDef: {
246
246
  position?: "none" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
247
247
  open?: boolean | undefined;
248
248
  divClass?: string | undefined;
249
+ defaultIconClass?: string | undefined;
250
+ extraIconClass?: string | undefined;
251
+ contentClass?: string | undefined;
249
252
  };
250
253
  events: {
251
254
  [evt: string]: CustomEvent<any>;
@@ -253,7 +256,6 @@ declare const __propDef: {
253
256
  slots: {
254
257
  icon: {};
255
258
  default: {};
256
- extra: {};
257
259
  };
258
260
  };
259
261
  export type ToastProps = typeof __propDef.props;
@@ -272,7 +274,7 @@ export type ToastSlots = typeof __propDef.slots;
272
274
  * - Blur examples
273
275
  * - Fly examples
274
276
  * - Undo button
275
- * - Extra content
277
+ * - Advanced examples
276
278
  * - Toast message
277
279
  * - Push notification
278
280
  * - Interactive toast
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/toasts/Toast.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAsED,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,oBAAoB,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC;CAC3F"}
1
+ {"version":3,"file":"Toast.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/toasts/Toast.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAsHD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,oBAAoB,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC;CAC3F"}
@@ -45,7 +45,7 @@ declare const __propDef: {
45
45
  autocapitalize?: string | null | undefined;
46
46
  autocorrect?: string | null | undefined;
47
47
  autosave?: string | null | undefined;
48
- color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "none" | undefined;
48
+ color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "orange" | "none" | undefined;
49
49
  itemprop?: string | null | undefined;
50
50
  itemscope?: boolean | null | undefined;
51
51
  itemtype?: string | null | undefined;
@@ -2,6 +2,7 @@
2
2
  export let color = 'currentColor';
3
3
  export let variation = 'outline';
4
4
  export let ariaLabel = 'chevron down';
5
+ export let role = 'img';
5
6
  let viewBox;
6
7
  let svgpath;
7
8
  let svgoutline = `<path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7" stroke="${color}"></path>`;
@@ -30,6 +31,7 @@ $: switch (variation) {
30
31
  aria-label={ariaLabel}
31
32
  fill="none"
32
33
  {viewBox}
34
+ {role}
33
35
  stroke-width="2"
34
36
  on:click>
35
37
  {@html svgpath}
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  color?: string | undefined;
7
7
  variation?: "solid" | "outline" | undefined;
8
8
  ariaLabel?: string | undefined;
9
+ role?: string | undefined;
9
10
  };
10
11
  events: {
11
12
  click: MouseEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronDown.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronDown.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAiCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACtD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,oBAAoB,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;CACnH"}
1
+ {"version":3,"file":"ChevronDown.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronDown.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAmCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACtD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,oBAAoB,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;CACnH"}
@@ -2,6 +2,7 @@
2
2
  export let color = 'currentColor';
3
3
  export let variation = 'outline';
4
4
  export let ariaLabel = 'chevron left';
5
+ export let role = 'img';
5
6
  let viewBox;
6
7
  let svgpath;
7
8
  let svgoutline = `<path clip-rule="evenodd" fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" stroke="${color}"></path>`;
@@ -30,6 +31,7 @@ $: switch (variation) {
30
31
  aria-label={ariaLabel}
31
32
  fill="none"
32
33
  {viewBox}
34
+ {role}
33
35
  stroke-width="2"
34
36
  on:click>
35
37
  {@html svgpath}
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  color?: string | undefined;
7
7
  variation?: "solid" | "outline" | undefined;
8
8
  ariaLabel?: string | undefined;
9
+ role?: string | undefined;
9
10
  };
10
11
  events: {
11
12
  click: MouseEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronLeft.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronLeft.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAkCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACtD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,oBAAoB,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;CACnH"}
1
+ {"version":3,"file":"ChevronLeft.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronLeft.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAmCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACtD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,oBAAoB,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;CACnH"}
@@ -2,6 +2,7 @@
2
2
  export let color = 'currentColor';
3
3
  export let variation = 'outline';
4
4
  export let ariaLabel = 'chevron right';
5
+ export let role = 'img';
5
6
  let viewBox;
6
7
  let svgpath;
7
8
  let svgoutline = `<path clip-rule="evenodd" fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" stroke="${color}"></path> `;
@@ -30,6 +31,7 @@ $: switch (variation) {
30
31
  aria-label={ariaLabel}
31
32
  fill="none"
32
33
  {viewBox}
34
+ {role}
33
35
  stroke-width="2"
34
36
  on:click>
35
37
  {@html svgpath}
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  color?: string | undefined;
7
7
  variation?: "solid" | "outline" | undefined;
8
8
  ariaLabel?: string | undefined;
9
+ role?: string | undefined;
9
10
  };
10
11
  events: {
11
12
  click: MouseEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronRight.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronRight.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAkCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACzD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,oBAAoB,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;CACvH"}
1
+ {"version":3,"file":"ChevronRight.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronRight.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAmCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACzD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,oBAAoB,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;CACvH"}
@@ -2,6 +2,7 @@
2
2
  export let color = 'currentColor';
3
3
  export let variation = 'outline';
4
4
  export let ariaLabel = 'chevron up';
5
+ export let role = 'img';
5
6
  let viewBox;
6
7
  let svgpath;
7
8
  let svgoutline = `<path clip-rule="evenodd" fill-rule="evenodd" d="M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z" stroke="${color}"></path>`;
@@ -30,6 +31,7 @@ $: switch (variation) {
30
31
  aria-label={ariaLabel}
31
32
  fill="none"
32
33
  {viewBox}
34
+ {role}
33
35
  stroke-width="2"
34
36
  on:click>
35
37
  {@html svgpath}
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  color?: string | undefined;
7
7
  variation?: "solid" | "outline" | undefined;
8
8
  ariaLabel?: string | undefined;
9
+ role?: string | undefined;
9
10
  };
10
11
  events: {
11
12
  click: MouseEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronUp.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronUp.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAkCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,cAAc,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACpD,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEpD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,oBAAoB,CAAC,cAAc,EAAE,eAAe,EAAE,cAAc,CAAC;CAC3G"}
1
+ {"version":3,"file":"ChevronUp.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/ChevronUp.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAmCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,cAAc,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACpD,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEpD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,oBAAoB,CAAC,cAAc,EAAE,eAAe,EAAE,cAAc,CAAC;CAC3G"}
@@ -36,6 +36,7 @@ const bgColors = {
36
36
  navbarUl: 'bg-gray-50 dark:bg-gray-800',
37
37
  form: 'bg-gray-50 dark:bg-gray-700',
38
38
  primary: 'bg-primary-50 dark:bg-gray-800 ',
39
+ orange: 'bg-orange-50 dark:bg-orange-800',
39
40
  none: ''
40
41
  };
41
42
  const textColors = {
@@ -55,6 +56,7 @@ const textColors = {
55
56
  navbarUl: 'text-gray-700 dark:text-gray-400',
56
57
  form: 'text-gray-900 dark:text-white',
57
58
  primary: 'text-primary-800 dark:text-primary-400',
59
+ orange: 'text-orange-800 dark:text-orange-400',
58
60
  none: ''
59
61
  };
60
62
  const borderColors = {
@@ -74,6 +76,7 @@ const borderColors = {
74
76
  navbarUl: 'border-gray-100 dark:border-gray-700',
75
77
  form: 'border-gray-300 dark:border-gray-700',
76
78
  primary: 'border-primary-500 dark:bg-primary-200 ',
79
+ orange: 'border-orange-300 dark:bg-orange-800',
77
80
  none: ''
78
81
  };
79
82
  let divClass;
@@ -47,7 +47,7 @@ declare const __propDef: {
47
47
  autocapitalize?: string | null | undefined;
48
48
  autocorrect?: string | null | undefined;
49
49
  autosave?: string | null | undefined;
50
- color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "none" | undefined;
50
+ color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "orange" | "none" | undefined;
51
51
  itemprop?: string | null | undefined;
52
52
  itemscope?: boolean | null | undefined;
53
53
  itemtype?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Frame.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/Frame.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAKD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AA2I1D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA/HgB,WAAW,UAAU,GAAG,KAAK,gBAAgB;;eAWjE,WAAW,GAAG,SAAS;;;;;;;;;;;;;;;;CAoHqB,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEhD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,oBAAoB,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC;CAC3F"}
1
+ {"version":3,"file":"Frame.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/Frame.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAKD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AA8I1D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAlIgB,WAAW,UAAU,GAAG,KAAK,gBAAgB;;eAWjE,WAAW,GAAG,SAAS;;;;;;;;;;;;;;;;CAuHqB,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEhD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,oBAAoB,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC;CAC3F"}
@@ -2,6 +2,7 @@
2
2
  export let color = 'currentColor';
3
3
  export let variation = 'outline';
4
4
  export let ariaLabel = 'information circle';
5
+ export let role = 'img';
5
6
  let viewBox;
6
7
  let svgpath;
7
8
  let svgoutline = `<path d="M11.25 11.25L11.2915 11.2293C11.8646 10.9427 12.5099 11.4603 12.3545 12.082L11.6455 14.918C11.4901 15.5397 12.1354 16.0573 12.7085 15.7707L12.75 15.75M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM12 8.25H12.0075V8.2575H12V8.25Z" stroke="${color}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> `;
@@ -30,6 +31,7 @@ $: switch (variation) {
30
31
  aria-label={ariaLabel}
31
32
  fill="none"
32
33
  {viewBox}
34
+ {role}
33
35
  stroke-width="2"
34
36
  on:click>
35
37
  {@html svgpath}
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  color?: string | undefined;
7
7
  variation?: "solid" | "outline" | undefined;
8
8
  ariaLabel?: string | undefined;
9
+ role?: string | undefined;
9
10
  };
10
11
  events: {
11
12
  click: MouseEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"InformationCircle.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/InformationCircle.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAkCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,sBAAsB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC5D,MAAM,MAAM,uBAAuB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC9D,MAAM,MAAM,sBAAsB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE5D;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,oBAAoB,CAAC,sBAAsB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC;CAC3I"}
1
+ {"version":3,"file":"InformationCircle.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/InformationCircle.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAmCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,sBAAsB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC5D,MAAM,MAAM,uBAAuB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC9D,MAAM,MAAM,sBAAsB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE5D;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,oBAAoB,CAAC,sBAAsB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC;CAC3I"}
@@ -46,7 +46,7 @@ declare const __propDef: {
46
46
  autocapitalize?: string | null | undefined;
47
47
  autocorrect?: string | null | undefined;
48
48
  autosave?: string | null | undefined;
49
- color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "none" | undefined;
49
+ color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "orange" | "none" | undefined;
50
50
  itemprop?: string | null | undefined;
51
51
  itemscope?: boolean | null | undefined;
52
52
  itemtype?: string | null | undefined;
@@ -2,6 +2,7 @@
2
2
  export let color = 'currentColor';
3
3
  export let variation = 'outline';
4
4
  export let ariaLabel = 'user circle';
5
+ export let role = 'img';
5
6
  let viewBox;
6
7
  let svgpath;
7
8
  let svgoutline = `<path d="M17.9815 18.7248C16.6121 16.9175 14.4424 15.75 12 15.75C9.55761 15.75 7.38789 16.9175 6.01846 18.7248M17.9815 18.7248C19.8335 17.0763 21 14.6744 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 14.6744 4.1665 17.0763 6.01846 18.7248M17.9815 18.7248C16.3915 20.1401 14.2962 21 12 21C9.70383 21 7.60851 20.1401 6.01846 18.7248M15 9.75C15 11.4069 13.6569 12.75 12 12.75C10.3431 12.75 9 11.4069 9 9.75C9 8.09315 10.3431 6.75 12 6.75C13.6569 6.75 15 8.09315 15 9.75Z" stroke="${color}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> `;
@@ -30,6 +31,7 @@ $: switch (variation) {
30
31
  aria-label={ariaLabel}
31
32
  fill="none"
32
33
  {viewBox}
34
+ {role}
33
35
  stroke-width="2"
34
36
  on:click>
35
37
  {@html svgpath}
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  color?: string | undefined;
7
7
  variation?: "solid" | "outline" | undefined;
8
8
  ariaLabel?: string | undefined;
9
+ role?: string | undefined;
9
10
  };
10
11
  events: {
11
12
  click: MouseEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"UserCircle.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/UserCircle.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAkCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACrD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAErD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,oBAAoB,CAAC,eAAe,EAAE,gBAAgB,EAAE,eAAe,CAAC;CAC/G"}
1
+ {"version":3,"file":"UserCircle.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/UserCircle.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAmCD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACrD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAErD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,oBAAoB,CAAC,eAAe,EAAE,gBAAgB,EAAE,eAAe,CAAC;CAC/G"}
@@ -1 +1 @@
1
- {"version":3,"file":"focusTrap.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/focusTrap.js"],"names":[],"mappings":"AA0Cm4B,oJAA2G"}
1
+ {"version":3,"file":"focusTrap.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/focusTrap.js"],"names":[],"mappings":"AA0Ci4B,oJAA2G"}
@@ -12,8 +12,6 @@ const selectorTabbable = `
12
12
 
13
13
  /** @type {import('svelte/action').Action} */
14
14
  export default function focusTrap(node) {
15
- const tabbable = Array.from(node.querySelectorAll(selectorTabbable));
16
-
17
15
  /** @type {(e:KeyboardEvent)=>void} */
18
16
  function handleFocusTrap(e) {
19
17
  let isTabPressed = e.key === 'Tab' || e.keyCode === 9;
@@ -22,6 +20,8 @@ export default function focusTrap(node) {
22
20
  return;
23
21
  }
24
22
 
23
+ const tabbable = Array.from(node.querySelectorAll(selectorTabbable));
24
+
25
25
  let index = tabbable.indexOf(document.activeElement ?? node);
26
26
  if (index === -1 && e.shiftKey) index = 0;
27
27
  index += tabbable.length + (e.shiftKey ? -1 : 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.37.2",
3
+ "version": "0.37.4",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "dist/index.js",
6
6
  "author": {
@@ -28,20 +28,14 @@
28
28
  "package:publish": "standard-version && git push --follow-tags origin main && npm run package && npm run add-exports && npm run write-package-json && npm publish",
29
29
  "gen:props": "createprops && npm run format"
30
30
  },
31
- "peerDependencies": {
32
- "@popperjs/core": "^2.11.6",
33
- "classnames": "^2.3.2",
34
- "flowbite": "^1.6.3",
35
- "svelte": "^3.55.1"
36
- },
37
31
  "devDependencies": {
38
- "@docsearch/js": "^3.3.5",
39
- "@playwright/test": "^1.34.0",
32
+ "@docsearch/js": "^3.4.0",
33
+ "@playwright/test": "^1.34.3",
40
34
  "@sveltejs/adapter-vercel": "^3.0.0",
41
- "@sveltejs/kit": "^1.18.0",
35
+ "@sveltejs/kit": "^1.20.0",
42
36
  "@sveltejs/package": "2.0.2",
43
- "@typescript-eslint/eslint-plugin": "^5.59.6",
44
- "@typescript-eslint/parser": "^5.59.6",
37
+ "@typescript-eslint/eslint-plugin": "^5.59.8",
38
+ "@typescript-eslint/parser": "^5.59.8",
45
39
  "autoprefixer": "^10.4.14",
46
40
  "createprops": "^0.5.5",
47
41
  "esbuild": "0.17.19",
@@ -50,22 +44,25 @@
50
44
  "eslint-plugin-svelte3": "^4.0.0",
51
45
  "mdsvex": "^0.10.6",
52
46
  "mdsvexamples": "^0.3.3",
53
- "postcss": "^8.4.23",
47
+ "postcss": "^8.4.24",
54
48
  "postcss-load-config": "^4.0.1",
55
49
  "prettier": "^2.8.8",
56
- "prettier-plugin-svelte": "^2.10.0",
50
+ "prettier-plugin-svelte": "^2.10.1",
57
51
  "prism-themes": "^1.9.0",
58
52
  "publint": "^0.1.12",
59
53
  "svelte": "^3.59.1",
60
- "svelte-check": "^3.3.2",
54
+ "svelte-check": "^3.4.3",
61
55
  "svelte-meta-tags": "^2.7.2",
62
- "svelte-preprocess": "^5.0.3",
63
- "svelte2tsx": "^0.6.14",
56
+ "svelte-preprocess": "^5.0.4",
57
+ "svelte2tsx": "^0.6.15",
64
58
  "tailwindcss": "^3.3.2",
65
59
  "tslib": "^2.5.2",
66
60
  "typescript": "^5.0.4",
67
- "vite": "^4.3.8",
68
- "vitest": "^0.31.1"
61
+ "vite": "^4.3.9",
62
+ "vitest": "^0.31.3"
63
+ },
64
+ "peerDependencies": {
65
+ "svelte": "^3.55.1 || ^4.0.0"
69
66
  },
70
67
  "type": "module",
71
68
  "keywords": [
@@ -111,7 +108,7 @@
111
108
  "url": "https://github.com/themesberg/flowbite-svelte"
112
109
  },
113
110
  "dependencies": {
114
- "@popperjs/core": "^2.11.7",
111
+ "@popperjs/core": "^2.11.8",
115
112
  "classnames": "^2.3.2",
116
113
  "flowbite": "^1.6.5"
117
114
  },