@lawkit/ui 0.1.50 → 0.1.51

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.
@@ -2,7 +2,7 @@ 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 { fontFamilyTokens, fontSizeScale, lineHeightScale, fontWeightScale, letterSpacingScale } from './foundation/typography-scale';
6
6
  export { semanticColorRoles } from './semantic/color-roles';
7
7
  export { textStyles } from './semantic/text-styles';
8
8
  export { themeVars } from './contracts/theme-contract.css';
@@ -0,0 +1,57 @@
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawkit/ui",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",