enefit-design-system 0.0.8 → 0.0.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare function Heading({ variant, as, className, children, ...props }:
8
8
  variant: 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'leadtext' | 'subheadline';
9
9
  as?: React.ElementType;
10
10
  className?: string;
11
- children: ReactNode;
11
+ children?: ReactNode;
12
12
  [key: string]: any;
13
13
  }): JSX_2.Element;
14
14
 
@@ -1574,19 +1574,19 @@ export declare function Label({ size, weight, className, children, ...props }: {
1574
1574
  size?: 'tiny' | 'small' | 'default' | 'large';
1575
1575
  weight?: 400 | 600;
1576
1576
  className?: string;
1577
- children: ReactNode;
1577
+ children?: ReactNode;
1578
1578
  [key: string]: any;
1579
1579
  }): JSX_2.Element;
1580
1580
 
1581
1581
  declare function Text_2({ variant, size, weight, italic, underline, as, className, children, ...props }: {
1582
1582
  variant?: 'p' | 'line';
1583
1583
  size?: 'tiny' | 'small' | 'default' | 'large';
1584
- weight?: 400 | 600;
1584
+ weight?: 400 | 600 | '400' | '600';
1585
1585
  italic?: boolean;
1586
1586
  underline?: boolean;
1587
1587
  as?: React.ElementType;
1588
1588
  className?: string;
1589
- children: ReactNode;
1589
+ children?: ReactNode;
1590
1590
  [key: string]: any;
1591
1591
  }): JSX_2.Element;
1592
1592
  export { Text_2 as Text }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enefit-design-system",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Enefit design system",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -25,6 +25,7 @@
25
25
  "test": "vitest",
26
26
  "lib:test": "vitest run",
27
27
  "lib:build": "vite build",
28
+ "release": "npm run lib:test && npm run lib:build && npm run build",
28
29
  "icons": "node ./scripts/icons.js",
29
30
  "variables": "node ./scripts/variables.js"
30
31
  },