odj-svelte-ui 0.4.3 → 0.4.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.
package/README.md CHANGED
@@ -23,7 +23,6 @@ This is a fork from [Flowbite for Svelte 5 with Runes](https://svelte-5-ui-lib.c
23
23
  - `Avatar` has better borders;
24
24
  - `Sidebar` has better hover colors and some other design tweaks, like border radius;
25
25
  - `Card` is now rounded-xl;
26
- - `Table` is now w-auto;
27
26
  - `Tabs` styles are fixed and introduced underline animations and a complete modern redesign for "Full" style;
28
27
  - The `Tooltip` component received a rework;
29
28
  - `Modal` has <kbd>Esc</kbd> to close again;
@@ -2,7 +2,7 @@
2
2
  import { setContext } from "svelte";
3
3
  import { type TableProps as Props, table as tableCls, type TableCtxType, TableHead, TableBody, type HeadItemType } from ".";
4
4
 
5
- let { children, footerSlot, captionSlot, tableItems, divClass = "relative w-fit overflow-x-auto", striped, hoverable, noborder, shadow, rounded, color = "default", class: className, ...restProps }: Props = $props();
5
+ let { children, footerSlot, captionSlot, tableItems, divClass = "relative overflow-x-auto", striped, hoverable, noborder, shadow, rounded, color = "default", class: className, ...restProps }: Props = $props();
6
6
 
7
7
  const { base, table } = $derived(tableCls({ color, shadow, rounded }));
8
8
 
@@ -2,7 +2,7 @@ import { tv } from "tailwind-variants";
2
2
  export const table = tv({
3
3
  slots: {
4
4
  base: "",
5
- table: "w-auto text-left text-sm"
5
+ table: "w-full text-left text-sm"
6
6
  },
7
7
  variants: {
8
8
  color: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "odj-svelte-ui",
3
3
  "author": "orbitadajogatina",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "description": "This is a fork from Flowbite Svelte 5 with Runes. I just made some changes that fits better my taste.",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",