@team-monolith/cds 0.2.9 → 0.2.11

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.
@@ -1,4 +1,68 @@
1
1
  /// <reference types="react" />
2
+ export declare const light: {
3
+ color: {
4
+ background: {
5
+ neutralBase: string;
6
+ neutralAlt: string;
7
+ neutralAltActive: string;
8
+ neutralAltDisabled: string;
9
+ primary: string;
10
+ primaryActive: string;
11
+ primaryDisabled: string;
12
+ secondary: string;
13
+ secondaryActive: string;
14
+ secondaryDisabled: string;
15
+ danger: string;
16
+ dangerActive: string;
17
+ dangerDisabled: string;
18
+ success: string;
19
+ successActive: string;
20
+ successDisabled: string;
21
+ info: string;
22
+ infoActive: string;
23
+ infoDisabled: string;
24
+ warning: string;
25
+ warningActive: string;
26
+ warningDisabled: string;
27
+ };
28
+ foreground: {
29
+ neutralBase: string;
30
+ neutralBaseDisabled: string;
31
+ neutralAlt: string;
32
+ neutralAltDisabled: string;
33
+ primary: string;
34
+ primaryDisabled: string;
35
+ secondary: string;
36
+ secondaryDisabled: string;
37
+ danger: string;
38
+ dangerDisabled: string;
39
+ success: string;
40
+ successDisabled: string;
41
+ info: string;
42
+ infoDisabled: string;
43
+ warning: string;
44
+ warningDisabled: string;
45
+ };
46
+ container: {
47
+ primaryContainer: string;
48
+ primaryOnContainer: string;
49
+ secondaryContainer: string;
50
+ secondaryOnContainer: string;
51
+ dangerContainer: string;
52
+ dangerOnContainer: string;
53
+ successContainer: string;
54
+ successOnContainer: string;
55
+ infoContainer: string;
56
+ infoOnContainer: string;
57
+ warningContainer: string;
58
+ warningOnContainer: string;
59
+ obsidianContainer: string;
60
+ obsidianOnContainer: string;
61
+ marbleContainer: string;
62
+ marbleOnContainer: string;
63
+ };
64
+ };
65
+ };
2
66
  export default function (props: {
3
67
  children: React.ReactNode;
4
68
  fontFamily?: string;
@@ -14,7 +14,7 @@ import { ThemeProvider } from "@emotion/react";
14
14
  import { ThemeProvider as MuiThemeProvider } from "@mui/material";
15
15
  import COLOR from "./foundation/color";
16
16
  import { createTheme } from "@mui/material";
17
- var light = {
17
+ export var light = {
18
18
  color: {
19
19
  background: {
20
20
  neutralBase: COLOR.white,
package/dist/index.d.ts CHANGED
@@ -41,3 +41,4 @@ export * from "./patterns/EmptyState";
41
41
  export * from "./patterns/SegmentedControl";
42
42
  export * from "./patterns/Table";
43
43
  export { default as CodleDesignSystemProvider } from "./CodleDesignSystemProvider";
44
+ export * from "./CodleDesignSystemProvider";
package/dist/index.js CHANGED
@@ -41,3 +41,4 @@ export * from "./patterns/EmptyState";
41
41
  export * from "./patterns/SegmentedControl";
42
42
  export * from "./patterns/Table";
43
43
  export { default as CodleDesignSystemProvider } from "./CodleDesignSystemProvider";
44
+ export * from "./CodleDesignSystemProvider";
package/dist/svg.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ declare module "*.svg" {
2
+ import * as React from "react";
3
+
4
+ export const ReactComponent: React.FunctionComponent<
5
+ React.SVGProps<SVGSVGElement> & { title?: string }
6
+ >;
7
+
8
+ const src: string;
9
+ export default src;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -3,7 +3,7 @@ import { ThemeProvider as MuiThemeProvider } from "@mui/material";
3
3
  import COLOR from "./foundation/color";
4
4
  import { createTheme } from "@mui/material";
5
5
 
6
- const light = {
6
+ export const light = {
7
7
  color: {
8
8
  background: {
9
9
  neutralBase: COLOR.white,
package/src/cds/index.ts CHANGED
@@ -61,3 +61,4 @@ export * from "./patterns/SegmentedControl";
61
61
  export * from "./patterns/Table";
62
62
 
63
63
  export { default as CodleDesignSystemProvider } from "./CodleDesignSystemProvider";
64
+ export * from "./CodleDesignSystemProvider";