@devalok/shilp-sutra 0.20.0 → 0.20.1

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.
@@ -7,7 +7,7 @@ const h = v(
7
7
  {
8
8
  variants: {
9
9
  variant: {
10
- default: "border border-surface-border-strong bg-surface-1 shadow-01 hover:shadow-02",
10
+ default: "border border-surface-border-strong bg-surface-2 shadow-01 hover:shadow-02",
11
11
  outline: "border border-surface-border bg-transparent hover:border-surface-border-strong",
12
12
  ghost: "border border-transparent bg-transparent hover:bg-surface-2"
13
13
  },
@@ -66,7 +66,7 @@ const k = p.forwardRef(
66
66
  return /* @__PURE__ */ t("div", { ref: f, ...d, className: o("flex min-h-[60vh] items-center justify-center p-ds-05", l), children: /* @__PURE__ */ r(
67
67
  "div",
68
68
  {
69
- className: "flex w-full max-w-lg flex-col items-center gap-ds-06 rounded-ds-xl border border-surface-border-strong bg-surface-1 p-ds-07 text-center shadow-01",
69
+ className: "flex w-full max-w-lg flex-col items-center gap-ds-06 rounded-ds-xl border border-surface-border-strong bg-surface-2 p-ds-07 text-center shadow-01",
70
70
  children: [
71
71
  /* @__PURE__ */ t(
72
72
  "div",
@@ -10,7 +10,7 @@ const b = t.forwardRef(
10
10
  ref: o,
11
11
  ...l,
12
12
  className: c(
13
- "rounded-ds-lg border border-surface-border-strong bg-surface-1 p-ds-05b",
13
+ "rounded-ds-lg border border-surface-border-strong bg-surface-2 p-ds-05b",
14
14
  d
15
15
  ),
16
16
  children: [
@@ -109,7 +109,7 @@ const h = t.forwardRef(
109
109
  Array.from({ length: l }).map((u, m) => /* @__PURE__ */ r(
110
110
  "div",
111
111
  {
112
- className: "rounded-ds-lg border border-surface-border-strong bg-surface-1 p-ds-04",
112
+ className: "rounded-ds-lg border border-surface-border-strong bg-surface-2 p-ds-04",
113
113
  children: [
114
114
  /* @__PURE__ */ r("div", { className: "space-y-ds-03", children: [
115
115
  /* @__PURE__ */ e(s, { className: "h-[12px] w-4/5 bg-surface-3" }),
@@ -8,7 +8,7 @@ const l = "bg-surface-3", t = n.forwardRef(
8
8
  /* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-ds-05 sm:grid-cols-2 lg:grid-cols-4", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ a(
9
9
  "div",
10
10
  {
11
- className: "flex flex-col gap-ds-04 rounded-ds-xl border border-surface-border-strong bg-surface-1 p-ds-05b",
11
+ className: "flex flex-col gap-ds-04 rounded-ds-xl border border-surface-border-strong bg-surface-2 p-ds-05b",
12
12
  children: [
13
13
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
14
14
  /* @__PURE__ */ s(d, { className: e("h-[12px] w-[80px]", l) }),
@@ -20,7 +20,7 @@ const l = "bg-surface-3", t = n.forwardRef(
20
20
  },
21
21
  `stat-${r}`
22
22
  )) }),
23
- /* @__PURE__ */ a("div", { className: "rounded-ds-xl border border-surface-border-strong bg-surface-1 p-ds-06", children: [
23
+ /* @__PURE__ */ a("div", { className: "rounded-ds-xl border border-surface-border-strong bg-surface-2 p-ds-06", children: [
24
24
  /* @__PURE__ */ a("div", { className: "mb-ds-06 flex items-center justify-between", children: [
25
25
  /* @__PURE__ */ s(d, { className: e("h-[20px] w-[128px]", l) }),
26
26
  /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
@@ -59,7 +59,7 @@ const f = n.forwardRef(
59
59
  /* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-ds-05 sm:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 6 }).map((c, r) => /* @__PURE__ */ a(
60
60
  "div",
61
61
  {
62
- className: "flex flex-col gap-ds-05 rounded-ds-xl border border-surface-border-strong bg-surface-1 p-ds-05b",
62
+ className: "flex flex-col gap-ds-05 rounded-ds-xl border border-surface-border-strong bg-surface-2 p-ds-05b",
63
63
  children: [
64
64
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
65
65
  /* @__PURE__ */ s(d, { className: e("h-[20px] w-[64px] rounded-ds-full", l) }),
@@ -90,7 +90,7 @@ const f = n.forwardRef(
90
90
  f.displayName = "ProjectListSkeleton";
91
91
  const h = n.forwardRef(
92
92
  function({ className: m, ...o }, i) {
93
- return /* @__PURE__ */ a("div", { ref: i, ...o, className: e("flex h-full flex-col gap-0 rounded-ds-xl border border-surface-border-strong bg-surface-1", m), children: [
93
+ return /* @__PURE__ */ a("div", { ref: i, ...o, className: e("flex h-full flex-col gap-0 rounded-ds-xl border border-surface-border-strong bg-surface-2", m), children: [
94
94
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between border-b border-surface-border-strong px-ds-05b py-ds-05", children: [
95
95
  /* @__PURE__ */ s(d, { className: e("h-[20px] w-[192px]", l) }),
96
96
  /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
@@ -510,7 +510,7 @@ const Ke = o.forwardRef(
510
510
  "div",
511
511
  {
512
512
  className: p(
513
- "overflow-hidden rounded-ds-lg border border-surface-border-strong bg-surface-1",
513
+ "overflow-hidden rounded-ds-lg border border-surface-border-strong bg-surface-2",
514
514
  "transition-colors focus-within:border-surface-border-strong"
515
515
  ),
516
516
  children: [
@@ -83,7 +83,7 @@ function j({
83
83
  {
84
84
  type: "button",
85
85
  className: x(
86
- "block w-full border-b border-surface-border hover:bg-surface-2 transition-colors",
86
+ "block w-full border-b border-surface-border hover:bg-surface-3 transition-colors",
87
87
  n % 2 === 0 ? "border-surface-border-strong" : "border-surface-3"
88
88
  ),
89
89
  style: { height: `${100 / g}%` },
@@ -151,7 +151,7 @@ const R = $.forwardRef(
151
151
  role: "region",
152
152
  "aria-label": r === "day" ? `Schedule for ${u(s, "EEEE, MMMM d, yyyy")}` : `Week schedule starting ${u(b[0], "MMMM d, yyyy")}`,
153
153
  className: x(
154
- "flex rounded-ds-md border border-surface-border-strong bg-surface-1 overflow-hidden",
154
+ "flex rounded-ds-md border border-surface-border-strong bg-surface-2 overflow-hidden",
155
155
  "h-[480px]",
156
156
  y
157
157
  ),
package/dist/ui/card.js CHANGED
@@ -10,8 +10,8 @@ const p = f(
10
10
  {
11
11
  variants: {
12
12
  variant: {
13
- default: "bg-surface-1 border border-surface-border shadow-01",
14
- elevated: "bg-surface-1 border border-surface-border shadow-02",
13
+ default: "bg-surface-2 border border-surface-border shadow-01",
14
+ elevated: "bg-surface-2 border border-surface-border shadow-02",
15
15
  outline: "bg-transparent border-2 border-surface-border-strong shadow-none",
16
16
  flat: "bg-surface-2 border-none shadow-none"
17
17
  }
@@ -106,7 +106,7 @@ const V = f.forwardRef(
106
106
  {
107
107
  ref: k,
108
108
  className: p(
109
- "rounded-ds-lg border border-surface-border bg-surface-1 shadow-01 p-ds-05b",
109
+ "rounded-ds-lg border border-surface-border bg-surface-2 shadow-01 p-ds-05b",
110
110
  y && `border-l-[3px] ${R[y]}`,
111
111
  c
112
112
  ),
@@ -217,7 +217,7 @@ const V = f.forwardRef(
217
217
  }
218
218
  )
219
219
  ] }), j = p(
220
- "rounded-ds-lg border border-surface-border bg-surface-1 shadow-01 p-ds-05b",
220
+ "rounded-ds-lg border border-surface-border bg-surface-2 shadow-01 p-ds-05b",
221
221
  y && `border-l-[3px] ${R[y]}`,
222
222
  M && "cursor-pointer hover:shadow-02 hover:border-surface-border-strong transition-all duration-fast-02 group",
223
223
  c
package/llms-full.txt CHANGED
@@ -5,7 +5,7 @@
5
5
  > All variant values and props verified from source CVA definitions.
6
6
  >
7
7
  > Package: @devalok/shilp-sutra
8
- > Version: 0.20.0
8
+ > Version: 0.20.1
9
9
 
10
10
  ---
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devalok/shilp-sutra",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Devalok Design System — tokens, components, and patterns for Next.js",
5
5
  "license": "MIT",
6
6
  "type": "module",