zabi-components 2.2.4 → 3.0.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.
@@ -1,5 +1,5 @@
1
1
  import { l as C, p as s, o as k, z as R, A as W, i as O, f, b as T, a as B, q as de, e as ee, c as i, d as V, g as q, m as S, x as N, k as t, j as D, h as v, t as M, v as Z, n as I, w as A, u as ne, B as ve, r as ue, s as G, C as H, D as L, E as me } from "./props-B4BdFk2B.js";
2
- import { a as ge, e as he } from "./Textarea-B9H_FPOO.js";
2
+ import { a as ge, e as he } from "./Textarea-DP1BihDh.js";
3
3
  import "svelte";
4
4
  var pe = f('<label class="block text-sm font-medium text-gray-700 mb-1"> </label>'), _e = f("<option disabled> </option>"), xe = f("<option> </option>"), ye = f("<div><!> <select><!><!></select></div>");
5
5
  function Ue(z, e) {
@@ -27,27 +27,29 @@ function re(a, e) {
27
27
  f(() => {
28
28
  }, () => {
29
29
  i(n, {
30
- sm: "px-3 py-1.5 text-sm",
31
- md: "px-4 py-2 text-sm",
32
- lg: "px-5 py-3 text-base"
30
+ sm: "px-3 py-1.5 text-sm font-medium",
31
+ md: "px-4 py-2 text-sm font-medium",
32
+ lg: "px-6 py-3 text-base font-semibold"
33
33
  });
34
34
  }), f(() => {
35
35
  }, () => {
36
36
  i(u, {
37
- primary: "bg-blue-600 text-white hover:bg-blue-700 focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",
38
- secondary: "bg-gray-600 text-white hover:bg-gray-700 focus:ring-2 focus:ring-gray-500 focus:ring-offset-2",
39
- danger: "bg-red-600 text-white hover:bg-red-700 focus:ring-2 focus:ring-red-500 focus:ring-offset-2",
40
- success: "bg-green-600 text-white hover:bg-green-700 focus:ring-2 focus:ring-green-500 focus:ring-offset-2",
41
- ghost: "bg-transparent text-gray-700 hover:bg-gray-100 focus:ring-2 focus:ring-gray-500 focus:ring-offset-2",
42
- brand: "bg-purple-600 text-white hover:bg-purple-700 focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
37
+ primary: "bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 disabled:bg-blue-400",
38
+ secondary: "bg-gray-600 text-white hover:bg-gray-700 active:bg-gray-800 focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 disabled:bg-gray-400",
39
+ danger: "bg-red-600 text-white hover:bg-red-700 active:bg-red-800 focus:ring-2 focus:ring-red-500 focus:ring-offset-2 disabled:bg-red-400",
40
+ success: "bg-green-600 text-white hover:bg-green-700 active:bg-green-800 focus:ring-2 focus:ring-green-500 focus:ring-offset-2 disabled:bg-green-400",
41
+ ghost: "bg-transparent text-gray-700 hover:bg-gray-100 active:bg-gray-200 focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 disabled:text-gray-400",
42
+ brand: "bg-purple-600 text-white hover:bg-purple-700 active:bg-purple-800 focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 disabled:bg-purple-400"
43
43
  });
44
44
  }), f(
45
45
  () => (t(n), y(p()), t(u), y(v()), y(_())),
46
46
  () => {
47
47
  i(b, [
48
- "inline-flex items-center justify-center font-medium rounded-md transition-colors duration-200",
49
- "disabled:opacity-50 disabled:cursor-not-allowed",
50
- "focus:outline-none",
48
+ "inline-flex items-center justify-center rounded-md transition-all duration-200",
49
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none",
50
+ "focus:outline-none focus:ring-2 focus:ring-offset-2",
51
+ "active:scale-95 transform-gpu",
52
+ "shadow-sm hover:shadow-md",
51
53
  t(n)[p()],
52
54
  t(u)[v()],
53
55
  _()
@@ -1,5 +1,5 @@
1
- import { B as s, C as o, a as r, H as t, O as T, P as g, S as l, b as m, T as p, c as d, d as i } from "../OptimizedImage-D-WN8yZ_.js";
2
- import { B as x, I as B, T as c } from "../Textarea-B9H_FPOO.js";
1
+ import { B as s, C as o, a as r, H as t, O as T, P as g, S as l, b as m, T as p, c as d, d as i } from "../OptimizedImage-Dio4ZB9h.js";
2
+ import { B as x, I as B, T as c } from "../Textarea-DP1BihDh.js";
3
3
  import { T as C } from "../ThemeToggle-Cm25ThjX.js";
4
4
  export {
5
5
  s as Badge,
@@ -1,5 +1,5 @@
1
- import { B as d, I as g, T as m, d as c, c as p, a as u, g as f, b as C } from "../Textarea-B9H_FPOO.js";
2
- import { B as x, C as b, a as I, H as w, O as B, P as D, S, b as V, T as $, c as F, d as v } from "../OptimizedImage-D-WN8yZ_.js";
1
+ import { B as d, I as g, T as m, d as c, c as p, a as u, g as f, b as C } from "../Textarea-DP1BihDh.js";
2
+ import { B as x, C as b, a as I, H as w, O as B, P as D, S, b as V, T as $, c as F, d as v } from "../OptimizedImage-Dio4ZB9h.js";
3
3
  import { T as N } from "../ThemeToggle-Cm25ThjX.js";
4
4
  import { Alert as P, ContactForm as R, Dropdown as h, Form as j, ImageUpload as k, Layout as y, Modal as A, SlideUp as E, Tabs as H } from "../molecules/index.js";
5
5
  import { N as q, a as z } from "../Navigation-BxP-osMQ.js";
@@ -1,5 +1,5 @@
1
1
  import { t as S, F as ie, G as le, H as de, I as ce, J, y as ve, K as ue, w as T, L as fe, S as me, l as A, p as w, i as te, f as k, a as Q, s as L, e as N, c as b, d as H, g as G, h as a, z as Y, A as ae, b as j, x as R, k as m, m as I, o as P, D, j as _, C as W, M as be, n as U, v as K, q as ge, r as he, u as re, N as Z, O as V } from "../props-B4BdFk2B.js";
2
- import { e as ne, B as ee, I as oe, T as xe } from "../Textarea-B9H_FPOO.js";
2
+ import { e as ne, B as ee, I as oe, T as xe } from "../Textarea-DP1BihDh.js";
3
3
  function pe(n, e, s = !1, t = !1, c = !1) {
4
4
  var r = n, h = "";
5
5
  S(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zabi-components",
3
- "version": "2.2.4",
4
- "description": "A modern SvelteKit component library with TypeScript and Tailwind CSS",
3
+ "version": "3.0.0",
4
+ "description": "A modern Svelte 5 component library with TypeScript, Tailwind CSS, and SSR support",
5
5
  "type": "module",
6
6
  "main": "dist/index/index.js",
7
7
  "module": "dist/index/index.js",
@@ -40,11 +40,14 @@
40
40
  ],
41
41
  "keywords": [
42
42
  "svelte",
43
+ "svelte5",
43
44
  "sveltekit",
44
45
  "components",
45
46
  "ui",
46
47
  "typescript",
47
- "tailwind"
48
+ "tailwind",
49
+ "runes",
50
+ "ssr"
48
51
  ],
49
52
  "author": "Zabi Components Team",
50
53
  "license": "MIT",