@lawkit/ui 0.1.31 → 0.1.32

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.
@@ -13,6 +13,10 @@ export declare const root: import('@vanilla-extract/recipes').RuntimeFn<{
13
13
  }>;
14
14
  export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
15
15
  variant: {
16
+ /**
17
+ * fill — inactive: neutral border + canvas bg
18
+ * active: solid primary bg + inverse text
19
+ */
16
20
  fill: {
17
21
  border: `1px solid var(--${string})`;
18
22
  backgroundColor: `var(--${string})`;
@@ -23,6 +27,10 @@ export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
23
27
  };
24
28
  };
25
29
  };
30
+ /**
31
+ * outline — inactive: primary border + transparent + primary text
32
+ * active: subtleActive tint + primary border + primary text
33
+ */
26
34
  outline: {
27
35
  border: `1px solid var(--${string})`;
28
36
  backgroundColor: "transparent";
@@ -33,6 +41,22 @@ export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
33
41
  };
34
42
  };
35
43
  };
44
+ /**
45
+ * subtle — inactive: neutral border + canvas bg + default text
46
+ * active: primary tint bg + primary border + primary text
47
+ * (Zeplin "Custom Option" 선택 상태와 동일)
48
+ */
49
+ subtle: {
50
+ border: `1px solid var(--${string})`;
51
+ backgroundColor: `var(--${string})`;
52
+ color: `var(--${string})`;
53
+ selectors: {
54
+ "&:hover:not([aria-checked='true'])": {
55
+ backgroundColor: "rgba(33, 81, 236, 0.12)";
56
+ borderColor: `var(--${string})`;
57
+ };
58
+ };
59
+ };
36
60
  };
37
61
  size: {
38
62
  small: {
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export type RadioButtonGroupVariant = "fill" | "outline";
2
+ export type RadioButtonGroupVariant = "fill" | "outline" | "subtle";
3
3
  export interface RadioButtonGroupItem {
4
4
  value: string;
5
5
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawkit/ui",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",