@lawkit/ui 0.1.50 → 0.1.52

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,7 +2,9 @@ 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 { fontFamilyTokens, fontSizeScale, lineHeightScale, fontWeightScale } from './foundation/typography-scale';
5
+ export { defaultRadiusTokens } from './foundation/radius-scale';
6
+ export { defaultShadowTokens } from './foundation/shadow-scale';
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';
8
10
  export { themeVars } from './contracts/theme-contract.css';
@@ -0,0 +1,69 @@
1
+ export type Swatch = {
2
+ label: string;
3
+ color: string;
4
+ value: string;
5
+ };
6
+ export type TextStyleValue = {
7
+ fontFamily: string;
8
+ fontSize: string;
9
+ fontWeight: string;
10
+ lineHeight: string;
11
+ letterSpacing: string;
12
+ };
13
+ export type BrandPresetInput = {
14
+ color?: {
15
+ accentPrimary?: string;
16
+ accentPrimaryHover?: string;
17
+ accentPrimaryActive?: string;
18
+ };
19
+ };
20
+ export declare function SectionTitle({ children }: {
21
+ children: string;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ export declare function ColorSwatchRow({ name, swatches }: {
24
+ name: string;
25
+ swatches: Swatch[];
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ export declare function PaletteStrip({ name, steps }: {
28
+ name: string;
29
+ steps: {
30
+ key: string;
31
+ value: string;
32
+ }[];
33
+ }): import("react/jsx-runtime").JSX.Element;
34
+ export declare function PresetRow({ name, preset, fallback, }: {
35
+ name: string;
36
+ preset: BrandPresetInput;
37
+ fallback: {
38
+ accentPrimary: string;
39
+ accentPrimaryHover: string;
40
+ accentPrimaryActive: string;
41
+ };
42
+ }): import("react/jsx-runtime").JSX.Element;
43
+ export declare function ScaleTable({ title, rows }: {
44
+ title: string;
45
+ rows: {
46
+ key: string;
47
+ value: string;
48
+ }[];
49
+ }): import("react/jsx-runtime").JSX.Element;
50
+ export declare function TextSpecimenRow({ name, value }: {
51
+ name: string;
52
+ value: TextStyleValue;
53
+ }): import("react/jsx-runtime").JSX.Element;
54
+ export declare function TextStyleSection({ title, styles }: {
55
+ title: string;
56
+ styles: Record<string, TextStyleValue>;
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.50",
3
+ "version": "0.1.52",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",