@dimasbaguspm/versaur 0.0.42 → 0.0.43

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,6 +1,6 @@
1
1
  import { c as f, j as r, a as l } from "./index-DOdDlCoL.js";
2
2
  import j, { useState as p, useEffect as x, createContext as V, useContext as B, forwardRef as u, useRef as z, useMemo as M } from "react";
3
- import { O as S, n as P, k as N, H as D } from "./image-rectangle-DPZAgdEa.js";
3
+ import { O as S, n as P, k as N, H as D } from "./image-rectangle-en-PQWib.js";
4
4
  import { XIcon as R } from "lucide-react";
5
5
  import "./snackbar-DH8jCh2V.js";
6
6
  function F() {
@@ -1,9 +1,9 @@
1
1
  import { c as v, j as e, a as m } from "./index-DOdDlCoL.js";
2
2
  import x, { createContext as N, useContext as z, useId as F, forwardRef as j, useRef as B, useState as R, useEffect as U, useMemo as E } from "react";
3
- import { I as C } from "./image-rectangle-DPZAgdEa.js";
3
+ import { I as C } from "./image-rectangle-en-PQWib.js";
4
4
  import { Calendar as X, SearchIcon as Y, Clock as Z, Banknote as ee, MailIcon as re, Check as P } from "lucide-react";
5
5
  import "./snackbar-DH8jCh2V.js";
6
- import { M as O, D as M, B as V } from "./bottom-sheet-DHMq1-Di.js";
6
+ import { M as O, D as M, B as V } from "./bottom-sheet-COYI-CL2.js";
7
7
  const te = v("space-y-2", {
8
8
  variants: {
9
9
  direction: {
@@ -1,4 +1,4 @@
1
- import { B as a, C as n, b as p, a as u, D as s, k as I, E as i, M as l, P as S, R as c, d as r, c as g, S as h, e as o, j as m, i as M, h as b, f as k, T as x, g as C } from "../bottom-sheet-input-IzuwB7Zy.js";
1
+ import { B as a, C as n, b as p, a as u, D as s, k as I, E as i, M as l, P as S, R as c, d as r, c as g, S as h, e as o, j as m, i as M, h as b, f as k, T as x, g as C } from "../bottom-sheet-input-BmkctBPw.js";
2
2
  export {
3
3
  a as BottomSheetInput,
4
4
  n as CheckboxInput,
@@ -2087,7 +2087,7 @@ const cardVariants = cva(
2087
2087
  "li",
2088
2088
  {
2089
2089
  ref: t,
2090
- className: "flex items-center min-w-0 flex-shrink-0 after:content-[''] after:inline-block after:mx-1.5 sm:after:mx-2 after:w-1 after:h-1 after:rounded-full after:bg-ghost last:after:hidden after:flex-shrink-0",
2090
+ className: "flex items-center min-w-0 flex-shrink-0 after:content-[''] after:inline-block after:mx-1.5 @sm/card:after:mx-2 after:w-1 after:h-1 after:rounded-full after:bg-ghost last:after:hidden after:flex-shrink-0",
2091
2091
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "span", fontSize: "sm", color: "gray", ellipsis: !0, clamp: 1, children: e })
2092
2092
  }
2093
2093
  )
@@ -2110,10 +2110,11 @@ const cardVariants = cva(
2110
2110
  ref: n,
2111
2111
  className: cn(
2112
2112
  cardVariants({ size: e, shape: t, bordered: l, as: u }),
2113
- c
2113
+ c,
2114
+ "@container/card"
2114
2115
  ),
2115
2116
  ...f,
2116
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-3 sm:gap-4 w-full", children: [
2117
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-3 @sm/card:gap-4 w-full", children: [
2117
2118
  r && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0", children: r }),
2118
2119
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full min-w-0", children: [
2119
2120
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-start justify-between gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 min-w-0", children: [
@@ -2129,9 +2130,9 @@ const cardVariants = cva(
2129
2130
  ),
2130
2131
  s && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-1", children: typeof s == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { as: "p", fontSize: "sm", color: "gray", children: s }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "min-w-0 overflow-hidden", children: s }) })
2131
2132
  ] }) }) }),
2132
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:justify-between sm:items-center", children: [
2133
- o && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "order-1 sm:order-none overflow-hidden", children: o }),
2134
- a && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0 order-2 sm:order-none sm:ml-auto", children: typeof a == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
2133
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-2 @sm/card:flex-row @sm/card:justify-between @sm/card:items-center", children: [
2134
+ o && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "order-1 @sm/card:order-none overflow-hidden", children: o }),
2135
+ a && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-shrink-0 order-2 @sm/card:order-none @sm/card:ml-auto", children: typeof a == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
2135
2136
  Text,
2136
2137
  {
2137
2138
  as: "p",
package/dist/js/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { L as t, P as s, S as r } from "./skeleton-BNZyaRjo.js";
2
- import { A as n, a as u, B as p, b as i, F as l, f as I, P as c, c as S, d as m, e as B, S as g, T as d } from "./top-bar-BKeQ6yXv.js";
3
- import { B as T, C as x, b as f, a as h, D as P, k as C, E as M, M as A, P as k, R as F, d as L, c as D, S as H, e as R, j as w, i as G, h as j, f as q, T as v, g as y } from "./bottom-sheet-input-IzuwB7Zy.js";
4
- import { B as N, D as z, M as J } from "./bottom-sheet-DHMq1-Di.js";
5
- import { A as O, a as Q, b as U, c as V, d as W, e as X, B as Y, s as Z, f as _, g as $, j as aa, k as ea, h as ta, i as sa, C as ra, l as oa, F as na, H as ua, m as pa, I as ia, p as la, r as Ia, q as ca, M as Sa, N as ma, T as Ba, n as ga, o as da } from "./image-rectangle-DPZAgdEa.js";
6
- import { T as Ta } from "./tooltip-D_laXWIT.js";
2
+ import { A as n, a as u, B as p, b as i, F as l, f as I, P as c, c as S, d as m, e as B, S as g, T as d } from "./top-bar-CyrMtg_S.js";
3
+ import { B as T, C as x, b as f, a as h, D as P, k as C, E as M, M as A, P as k, R as F, d as L, c as D, S as H, e as R, j as w, i as G, h as j, f as q, T as v, g as y } from "./bottom-sheet-input-BmkctBPw.js";
4
+ import { B as N, D as z, M as J } from "./bottom-sheet-COYI-CL2.js";
5
+ import { A as O, a as Q, b as U, c as V, d as W, e as X, B as Y, s as Z, f as _, g as $, j as aa, k as ea, h as ta, i as sa, C as ra, l as oa, F as na, H as ua, m as pa, I as ia, p as la, r as Ia, q as ca, M as Sa, N as ma, T as Ba, n as ga, o as da } from "./image-rectangle-en-PQWib.js";
6
+ import { T as Ta } from "./tooltip-bAUJtxZh.js";
7
7
  import { S as fa } from "./snackbar-DH8jCh2V.js";
8
- import { B as Pa, T as Ca } from "./tabs-BRMO0ktc.js";
8
+ import { B as Pa, T as Ca } from "./tabs-Cacli_Rq.js";
9
9
  import { S as Aa, u as ka } from "./use-snackbars-Cou8L41F.js";
10
10
  export {
11
11
  O as Accordion,
@@ -1,4 +1,4 @@
1
- import { A as e, a as r, B as s, b as t, F as p, f as B, P as u, c as d, d as g, e as P, S as i, T as m } from "../top-bar-BKeQ6yXv.js";
1
+ import { A as e, a as r, B as s, b as t, F as p, f as B, P as u, c as d, d as g, e as P, S as i, T as m } from "../top-bar-CyrMtg_S.js";
2
2
  export {
3
3
  e as AppBar,
4
4
  r as BadgeGroup,
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-BRMO0ktc.js";
1
+ import { B as s, T as b } from "../tabs-Cacli_Rq.js";
2
2
  export {
3
3
  s as Breadcrumbs,
4
4
  b as Tabs
@@ -1,6 +1,6 @@
1
- import { B as a, D as e, M as t } from "../bottom-sheet-DHMq1-Di.js";
2
- import { M as m } from "../image-rectangle-DPZAgdEa.js";
3
- import { T as M } from "../tooltip-D_laXWIT.js";
1
+ import { B as a, D as e, M as t } from "../bottom-sheet-COYI-CL2.js";
2
+ import { M as m } from "../image-rectangle-en-PQWib.js";
3
+ import { T as M } from "../tooltip-bAUJtxZh.js";
4
4
  export {
5
5
  a as BottomSheet,
6
6
  e as Drawer,
@@ -1,4 +1,4 @@
1
- import { A as t, a as e, b as o, c as r, d as n, e as u, B as c, s as l, f as i, g as B, j as g, k as I, h as m, i as A, C as d, l as b, F as C, H as p, m as T, I as f, p as h, r as x, q as F, N as H, T as S, n as k, o as q } from "../image-rectangle-DPZAgdEa.js";
1
+ import { A as t, a as e, b as o, c as r, d as n, e as u, B as c, s as l, f as i, g as B, j as g, k as I, h as m, i as A, C as d, l as b, F as C, H as p, m as T, I as f, p as h, r as x, q as F, N as H, T as S, n as k, o as q } from "../image-rectangle-en-PQWib.js";
2
2
  import { S as N } from "../snackbar-DH8jCh2V.js";
3
3
  export {
4
4
  t as Accordion,
@@ -1,6 +1,6 @@
1
1
  import { c as d, j as s, a as u } from "./index-DOdDlCoL.js";
2
2
  import { forwardRef as f, createContext as x, useContext as g, useState as p, useLayoutEffect as y, useRef as h } from "react";
3
- import { I as w } from "./image-rectangle-DPZAgdEa.js";
3
+ import { I as w } from "./image-rectangle-en-PQWib.js";
4
4
  import "./snackbar-DH8jCh2V.js";
5
5
  import { ChevronRight as T } from "lucide-react";
6
6
  const j = d(
@@ -1,6 +1,6 @@
1
1
  import { c as v, j as c, a as w } from "./index-DOdDlCoL.js";
2
2
  import { useRef as m, useState as d, useEffect as h, useId as T, cloneElement as j } from "react";
3
- import { n as y } from "./image-rectangle-DPZAgdEa.js";
3
+ import { n as y } from "./image-rectangle-en-PQWib.js";
4
4
  function P(e = "auto") {
5
5
  const n = m(null), [a, t] = d("bottom");
6
6
  return h(() => {
@@ -1,7 +1,7 @@
1
1
  import { c as i, j as s, a as l } from "./index-DOdDlCoL.js";
2
2
  import * as v from "react";
3
3
  import { forwardRef as o } from "react";
4
- import { n as f } from "./image-rectangle-DPZAgdEa.js";
4
+ import { n as f } from "./image-rectangle-en-PQWib.js";
5
5
  import "./snackbar-DH8jCh2V.js";
6
6
  import { L as h } from "./skeleton-BNZyaRjo.js";
7
7
  const j = i(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "description": "React UI library with Tailwind CSS",
5
5
  "author": "Dimas Bagus Prayogo Mukti<dimas.bagus.pm@gmail.com>",
6
6
  "license": "MIT",