@devalok/shilp-sutra 0.4.0 → 0.4.2

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 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,eAAO,MAAM,cAAc;;;;8EA2C1B,CAAA;AAsBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yFAAyF;IACzF,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;IAC5C,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,QAAA,MAAM,MAAM,uFA8GX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,eAAO,MAAM,cAAc;;;;8EA2C1B,CAAA;AAsBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yFAAyF;IACzF,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;IAC5C,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,QAAA,MAAM,MAAM,uFAgHX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
package/dist/ui/button.js CHANGED
@@ -83,8 +83,9 @@ const x = B(
83
83
  if (z) {
84
84
  const V = {
85
85
  className: o(
86
- x({ variant: b, color: h, size: s, className: c }),
87
- m && "w-full"
86
+ x({ variant: b, color: h, size: s }),
87
+ m && "w-full",
88
+ c
88
89
  ),
89
90
  ref: f,
90
91
  disabled: v || e,
@@ -101,8 +102,9 @@ const x = B(
101
102
  "button",
102
103
  {
103
104
  className: o(
104
- x({ variant: b, color: h, size: s, className: c }),
105
- m && "w-full"
105
+ x({ variant: b, color: h, size: s }),
106
+ m && "w-full",
107
+ c
106
108
  ),
107
109
  ref: f,
108
110
  disabled: v || e,
package/dist/ui/card.d.ts CHANGED
@@ -2,14 +2,14 @@
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
  declare const cardVariants: (props?: ({
5
- variant?: "flat" | "default" | "elevated" | "outlined" | null | undefined;
5
+ variant?: "flat" | "outline" | "default" | "elevated" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  /**
8
8
  * Props for Card — a general-purpose content container with 4 elevation/style variants and
9
9
  * an optional interactive hover state.
10
10
  *
11
11
  * **Variants:** `default` (subtle border + shadow-01) | `elevated` (stronger shadow-02) |
12
- * `outlined` (2px solid border, no shadow) | `flat` (filled background, no shadow)
12
+ * `outline` (2px solid border, no shadow) | `flat` (filled background, no shadow)
13
13
  *
14
14
  * **Composition:** Use sub-components `<CardHeader>`, `<CardTitle>`, `<CardDescription>`,
15
15
  * `<CardContent>`, and `<CardFooter>` for consistent internal spacing.
package/dist/ui/card.js CHANGED
@@ -10,7 +10,7 @@ const l = i(
10
10
  variant: {
11
11
  default: "bg-layer-01 border border-border-subtle shadow-01",
12
12
  elevated: "bg-layer-01 border border-border-subtle shadow-02",
13
- outlined: "bg-transparent border-2 border-border shadow-none",
13
+ outline: "bg-transparent border-2 border-border shadow-none",
14
14
  flat: "bg-layer-02 border-none shadow-none"
15
15
  }
16
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devalok/shilp-sutra",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Devalok Design System — tokens, components, and patterns for Next.js",
5
5
  "license": "MIT",
6
6
  "type": "module",