odj-svelte-ui 0.2.5 → 0.2.6

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
@@ -22,6 +22,7 @@ This is a fork from [Flowbite for Svelte 5 with Runes](https://svelte-5-ui-lib.c
22
22
  - `Dropdown` is more modern;
23
23
  - `Avatar` has better borders;
24
24
  - `Sidebar` has better hover colors and some other design tweaks, like border radius;
25
+ - `Card` is now rounded-xl;
25
26
  - `Tabs` styles are fixed and introduced underline animations and a complete modern redesign for "Full" style;
26
27
  - The `Tooltip` component received a rework;
27
28
  - `Modal` has <kbd>Esc</kbd> to close again;
@@ -1,8 +1,8 @@
1
1
  import { tv } from "tailwind-variants";
2
2
  export const card = tv({
3
3
  slots: {
4
- base: "w-full flex max-w-sm bg-white border border-light-surface-200 rounded-lg dark:bg-dark-surface-700 dark:border-light-surface-600",
5
- image: "rounded-t-lg",
4
+ base: "w-full flex max-w-sm bg-white border border-light-surface-200 rounded-xl dark:bg-dark-surface-700 dark:border-light-surface-600",
5
+ image: "rounded-t-xl",
6
6
  content: ""
7
7
  },
8
8
  variants: {
@@ -60,8 +60,8 @@ export const card = tv({
60
60
  }
61
61
  },
62
62
  reverse: {
63
- true: { base: "flex-col-reverse", image: "rounded-b-lg rounded-tl-none" },
64
- false: { base: "flex-col", image: "rounded-t-lg" }
63
+ true: { base: "flex-col-reverse", image: "rounded-b-xl rounded-tl-none" },
64
+ false: { base: "flex-col", image: "rounded-t-xl" }
65
65
  },
66
66
  href: {
67
67
  true: {
@@ -78,12 +78,12 @@ export const card = tv({
78
78
  {
79
79
  horizontal: true,
80
80
  reverse: true,
81
- class: { base: "md:flex-row-reverse", image: "md:rounded-e-lg" }
81
+ class: { base: "md:flex-row-reverse", image: "md:rounded-e-xl" }
82
82
  },
83
83
  {
84
84
  horizontal: true,
85
85
  reverse: false,
86
- class: { base: "md:flex-row", image: "md:rounded-s-lg" }
86
+ class: { base: "md:flex-row", image: "md:rounded-s-xl" }
87
87
  },
88
88
  // gray, primary, secondary, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose
89
89
  {
@@ -4,8 +4,8 @@ export const tabs = tv({
4
4
  base: "flex space-x-2 rtl:space-x-reverse",
5
5
  content: "rounded-lg mt-2",
6
6
  divider: "h-px bg-light-surface-200 dark:bg-dark-surface-700",
7
- active: "p-4 text-primary-600 bg-light-surface-100 rounded-t-lg",
8
- inactive: "p-4 text-light-surface-500 rounded-t-lg",
7
+ active: "p-4 text-primary-600 bg-light-surface-100",
8
+ inactive: "p-4 text-light-surface-500",
9
9
  slider: ""
10
10
  },
11
11
  variants: {
@@ -27,8 +27,8 @@ export const tabs = tv({
27
27
  slider: "absolute bottom-0 transition-all duration-200 border-b-2 border-primary-600 dark:border-primary-500 m-0! z-10"
28
28
  },
29
29
  none: {
30
- active: "dark:bg-dark-surface-800 dark:text-primary-500",
31
- inactive: "hover:text-light-surface-600 hover:bg-light-surface-50 dark:text-dark-surface-400 dark:hover:bg-dark-surface-800 dark:hover:text-dark-surface-300"
30
+ active: "dark:bg-dark-surface-800 dark:text-primary-500 rounded-t-lg",
31
+ inactive: "hover:text-light-surface-600 hover:bg-light-surface-50 dark:text-dark-surface-400 dark:hover:bg-dark-surface-800 dark:hover:text-dark-surface-300 rounded-t-lg"
32
32
  }
33
33
  },
34
34
  hasDivider: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "odj-svelte-ui",
3
3
  "author": "orbitadajogatina",
4
- "version": "0.2.5",
4
+ "version": "0.2.6",
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",