mod-arch-kubeflow 1.0.0

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 (49) hide show
  1. package/README.md +50 -0
  2. package/dist/context/ThemeContext.d.ts +13 -0
  3. package/dist/context/ThemeContext.d.ts.map +1 -0
  4. package/dist/context/ThemeContext.js +23 -0
  5. package/dist/context/ThemeContext.js.map +1 -0
  6. package/dist/context/index.d.ts +2 -0
  7. package/dist/context/index.d.ts.map +1 -0
  8. package/dist/context/index.js +2 -0
  9. package/dist/context/index.js.map +1 -0
  10. package/dist/hooks/index.d.ts +2 -0
  11. package/dist/hooks/index.d.ts.map +1 -0
  12. package/dist/hooks/index.js +2 -0
  13. package/dist/hooks/index.js.map +1 -0
  14. package/dist/hooks/useThemeContext.d.ts +6 -0
  15. package/dist/hooks/useThemeContext.d.ts.map +1 -0
  16. package/dist/hooks/useThemeContext.js +10 -0
  17. package/dist/hooks/useThemeContext.js.map +1 -0
  18. package/dist/images/index.d.ts +4 -0
  19. package/dist/images/index.d.ts.map +1 -0
  20. package/dist/images/index.js +8 -0
  21. package/dist/images/index.js.map +1 -0
  22. package/dist/images/index.ts +9 -0
  23. package/dist/images/logo-kubeflow-dark-theme.svg +43 -0
  24. package/dist/images/logo-kubeflow-light-theme.svg +43 -0
  25. package/dist/images/scss.d.ts +9 -0
  26. package/dist/images/svg.d.ts +19 -0
  27. package/dist/index.d.ts +6 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +17 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/jest.config.d.ts +20 -0
  32. package/dist/jest.config.d.ts.map +1 -0
  33. package/dist/jest.config.js +40 -0
  34. package/dist/jest.config.js.map +1 -0
  35. package/dist/style/MUI-theme.scss +989 -0
  36. package/dist/style/index.d.ts +2 -0
  37. package/dist/style/index.d.ts.map +1 -0
  38. package/dist/style/index.js +6 -0
  39. package/dist/style/index.js.map +1 -0
  40. package/dist/style/index.ts +6 -0
  41. package/dist/utilities/const.d.ts +5 -0
  42. package/dist/utilities/const.d.ts.map +1 -0
  43. package/dist/utilities/const.js +7 -0
  44. package/dist/utilities/const.js.map +1 -0
  45. package/dist/utilities/index.d.ts +2 -0
  46. package/dist/utilities/index.d.ts.map +1 -0
  47. package/dist/utilities/index.js +2 -0
  48. package/dist/utilities/index.js.map +1 -0
  49. package/package.json +57 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../style/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ // Export style files
2
+ // Note: MUI theme styles are automatically imported by ThemeContext when needed
3
+ // Other styles are not imported by default to avoid side effects
4
+ // Users should import other styles explicitly when needed
5
+ export {};
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../style/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,gFAAgF;AAChF,iEAAiE;AACjE,0DAA0D"}
@@ -0,0 +1,6 @@
1
+ // Export style files
2
+ // Note: MUI theme styles are automatically imported by ThemeContext when needed
3
+ // Other styles are not imported by default to avoid side effects
4
+ // Users should import other styles explicitly when needed
5
+
6
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum Theme {
2
+ Patternfly = "patternfly-theme",
3
+ MUI = "mui-theme"
4
+ }
5
+ //# sourceMappingURL=const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../utilities/const.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK;IACf,UAAU,qBAAqB;IAC/B,GAAG,cAAc;CAElB"}
@@ -0,0 +1,7 @@
1
+ export var Theme;
2
+ (function (Theme) {
3
+ Theme["Patternfly"] = "patternfly-theme";
4
+ Theme["MUI"] = "mui-theme";
5
+ // Future themes can be added here
6
+ })(Theme || (Theme = {}));
7
+ //# sourceMappingURL=const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["../../utilities/const.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,wCAA+B,CAAA;IAC/B,0BAAiB,CAAA;IACjB,kCAAkC;AACpC,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB"}
@@ -0,0 +1,2 @@
1
+ export * from './const';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './const';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "mod-arch-kubeflow",
3
+ "version": "1.0.0",
4
+ "description": "Kubeflow-specific theme and UI components for modular architecture micro-frontend projects",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "sideEffects": [
9
+ "*.css",
10
+ "*.scss"
11
+ ],
12
+ "engines": {
13
+ "node": ">=20.0.0"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsc && tsc-alias && npm run copy-assets",
22
+ "copy-assets": "mkdir -p dist/style dist/images && cp -r style/* dist/style/ && cp -r images/* dist/images/",
23
+ "test:type-check": "tsc --noEmit",
24
+ "prepare": "npm run build"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/opendatahub-io/mod-arch-library.git",
29
+ "directory": "mod-arch-kubeflow"
30
+ },
31
+ "homepage": "https://github.com/opendatahub-io/mod-arch-library/tree/main/mod-arch-kubeflow#readme",
32
+ "bugs": {
33
+ "url": "https://github.com/opendatahub-io/mod-arch-library/issues"
34
+ },
35
+ "keywords": [
36
+ "kubeflow",
37
+ "theme",
38
+ "modular-architecture",
39
+ "micro-frontend",
40
+ "mui-theme",
41
+ "ui-library"
42
+ ],
43
+ "author": "OpenDataHub.io",
44
+ "license": "Apache-2.0",
45
+ "peerDependencies": {
46
+ "react": ">=16.8.0",
47
+ "@mui/material": "^6.0.0"
48
+ },
49
+ "devDependencies": {
50
+ "@mui/material": "^6.1.7",
51
+ "@types/react": "^18.3.1",
52
+ "react": "^18.3.1",
53
+ "sass": "^1.83.0",
54
+ "tsc-alias": "^1.8.15",
55
+ "typescript": "^5.0.4"
56
+ }
57
+ }