@lawkit/ui 0.1.31 → 0.1.33

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,23 @@ export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
33
41
  };
34
42
  };
35
43
  };
44
+ /**
45
+ * subtle — inactive: secondary gray 테두리 + 거의 투명 bg + secondary gray 텍스트
46
+ * active: primary tint bg + primary 테두리 + primary 텍스트
47
+ * (Zeplin "극비/일반" 비선택 ↔ "보안" 선택 디자인과 동일)
48
+ */
49
+ subtle: {
50
+ border: "1px solid rgba(130, 134, 139, 0.12)";
51
+ backgroundColor: "transparent";
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
+ color: `var(--${string})`;
58
+ };
59
+ };
60
+ };
36
61
  };
37
62
  size: {
38
63
  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.33",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",