@lawkit/ui 0.1.43 → 0.1.44

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.
@@ -5,6 +5,13 @@ export declare const root: import('@vanilla-extract/recipes').RuntimeFn<{
5
5
  overflow: "hidden";
6
6
  };
7
7
  outline: {};
8
+ segmented: {
9
+ alignItems: "center";
10
+ gap: number;
11
+ padding: `var(--${string})`;
12
+ backgroundColor: "#f1f4f9";
13
+ borderRadius: number;
14
+ };
8
15
  };
9
16
  size: {
10
17
  small: {};
@@ -47,6 +54,17 @@ export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
47
54
  };
48
55
  };
49
56
  };
57
+ segmented: {
58
+ borderRadius: number;
59
+ backgroundColor: "transparent";
60
+ color: `var(--${string})`;
61
+ border: "1px solid transparent";
62
+ selectors: {
63
+ "&:hover:not([data-active='true'])": {
64
+ color: `var(--${string})`;
65
+ };
66
+ };
67
+ };
50
68
  };
51
69
  size: {
52
70
  small: {
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export type ButtonGroupVariant = "fill" | "outline";
2
+ export type ButtonGroupVariant = "fill" | "outline" | "segmented";
3
3
  export type ButtonGroupSize = "small" | "medium";
4
4
  export interface ButtonGroupItem {
5
5
  /** 고유 식별 값 */
@@ -1,4 +1,17 @@
1
1
  export declare const root: import('@vanilla-extract/recipes').RuntimeFn<{
2
+ variant: {
3
+ fill: {};
4
+ outline: {};
5
+ subtle: {};
6
+ secondary: {};
7
+ segmented: {
8
+ alignItems: "center";
9
+ gap: number;
10
+ padding: `var(--${string})`;
11
+ backgroundColor: "#f1f4f9";
12
+ borderRadius: number;
13
+ };
14
+ };
2
15
  size: {
3
16
  small: {};
4
17
  medium: {};
@@ -44,7 +57,6 @@ export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
44
57
  /**
45
58
  * subtle — inactive: secondary gray 테두리 + 거의 투명 bg + secondary gray 텍스트
46
59
  * active: primary tint bg + primary 테두리 + primary 텍스트
47
- * (Zeplin "극비/일반" 비선택 ↔ "보안" 선택 디자인과 동일)
48
60
  */
49
61
  subtle: {
50
62
  border: "1px solid rgba(130, 134, 139, 0.12)";
@@ -74,6 +86,17 @@ export declare const item: import('@vanilla-extract/recipes').RuntimeFn<{
74
86
  };
75
87
  };
76
88
  };
89
+ segmented: {
90
+ border: "1px solid transparent";
91
+ borderRadius: number;
92
+ backgroundColor: "transparent";
93
+ color: `var(--${string})`;
94
+ selectors: {
95
+ "&:hover:not([aria-checked='true'])": {
96
+ color: `var(--${string})`;
97
+ };
98
+ };
99
+ };
77
100
  };
78
101
  size: {
79
102
  small: {
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export type RadioButtonGroupVariant = "fill" | "outline" | "subtle" | "secondary";
2
+ export type RadioButtonGroupVariant = "fill" | "outline" | "subtle" | "secondary" | "segmented";
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.43",
3
+ "version": "0.1.44",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",