@lawkit/ui 0.1.51 → 0.1.53

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.
@@ -0,0 +1,5 @@
1
+ export declare const defaultRadiusTokens: {
2
+ readonly sm: "4px";
3
+ readonly md: "6px";
4
+ readonly lg: "8px";
5
+ };
@@ -0,0 +1,5 @@
1
+ export declare const defaultShadowTokens: {
2
+ readonly focus: "0 0 0 3px rgba(47, 91, 255, 0.14)";
3
+ readonly raised: "0 6px 16px rgba(17, 24, 39, 0.08)";
4
+ readonly modal: "0 4px 15px rgba(44, 63, 88, 0.35)";
5
+ };
@@ -2,6 +2,8 @@ export type { LdsColorTokens } from './foundation/color-palette';
2
2
  export { defaultColorTokens, grayPalette, bluePalette, greenPalette, redPalette, yellowPalette, cyanPalette, darkPalette, opacityPalette, scourtPalette, bootstrapPalette, socialPalette } from './foundation/color-palette';
3
3
  export type { LdsSpacingTokens } from './foundation/spacing-scale';
4
4
  export { spacingScale, defaultSpacingTokens } from './foundation/spacing-scale';
5
+ export { defaultRadiusTokens } from './foundation/radius-scale';
6
+ export { defaultShadowTokens } from './foundation/shadow-scale';
5
7
  export { fontFamilyTokens, fontSizeScale, lineHeightScale, fontWeightScale, letterSpacingScale } from './foundation/typography-scale';
6
8
  export { semanticColorRoles } from './semantic/color-roles';
7
9
  export { textStyles } from './semantic/text-styles';
@@ -0,0 +1,36 @@
1
+ /**
2
+ * 스토리북 데모용 브랜드 프리셋.
3
+ * Theming.stories.tsx / Colors.stories.tsx에서 공유.
4
+ * (.stories 파일에서 export하면 Storybook이 스토리로 인식하므로 별도 모듈로 분리)
5
+ */
6
+ export declare const brandPresets: {
7
+ readonly "Law.ai (\uAE30\uBCF8)": {};
8
+ readonly "Green Brand": {
9
+ readonly color: {
10
+ readonly accentPrimary: "#16a34a";
11
+ readonly accentPrimaryHover: "#15803d";
12
+ readonly accentPrimaryActive: "#166534";
13
+ };
14
+ };
15
+ readonly "Purple Brand": {
16
+ readonly color: {
17
+ readonly accentPrimary: "#7c3aed";
18
+ readonly accentPrimaryHover: "#6d28d9";
19
+ readonly accentPrimaryActive: "#5b21b6";
20
+ };
21
+ };
22
+ readonly "Orange Brand": {
23
+ readonly color: {
24
+ readonly accentPrimary: "#ea580c";
25
+ readonly accentPrimaryHover: "#c2410c";
26
+ readonly accentPrimaryActive: "#9a3412";
27
+ };
28
+ };
29
+ readonly "Scourt Blue": {
30
+ readonly color: {
31
+ readonly accentPrimary: "#003399";
32
+ readonly accentPrimaryHover: "#002b80";
33
+ readonly accentPrimaryActive: "#001f5c";
34
+ };
35
+ };
36
+ };
@@ -55,3 +55,15 @@ export declare function TextStyleSection({ title, styles }: {
55
55
  title: string;
56
56
  styles: Record<string, TextStyleValue>;
57
57
  }): import("react/jsx-runtime").JSX.Element;
58
+ export declare function SpacingBar({ name, value }: {
59
+ name: string;
60
+ value: string;
61
+ }): import("react/jsx-runtime").JSX.Element;
62
+ export declare function RadiusSwatch({ name, value }: {
63
+ name: string;
64
+ value: string;
65
+ }): import("react/jsx-runtime").JSX.Element;
66
+ export declare function ShadowSwatch({ name, value }: {
67
+ name: string;
68
+ value: string;
69
+ }): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawkit/ui",
3
- "version": "0.1.51",
3
+ "version": "0.1.53",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",