@odigos/ui-kit 0.0.21 → 0.0.22

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,13 +1,13 @@
1
1
  import * as opacity from './opacity';
2
- import * as palletes from './palletes';
2
+ import { type ITheme } from './palletes';
3
3
  import * as animations from './animations';
4
4
  declare const Theme: {
5
5
  Provider: import("react").FC<{
6
6
  children?: import("react").ReactNode | undefined;
7
7
  }>;
8
- useTheme: () => palletes.ITheme;
8
+ useTheme: () => ITheme;
9
9
  opacity: typeof opacity;
10
- palletes: typeof palletes;
11
10
  animations: typeof animations;
12
11
  };
13
12
  export default Theme;
13
+ export { type ITheme };
package/lib/theme.js CHANGED
@@ -110,11 +110,6 @@ const lightModeTheme = {
110
110
  };
111
111
  const getTheme = (darkMode) => (darkMode ? darkModeTheme : lightModeTheme);
112
112
 
113
- var palletes = /*#__PURE__*/Object.freeze({
114
- __proto__: null,
115
- getTheme: getTheme
116
- });
117
-
118
113
  const Provider = ({ children }) => {
119
114
  const { darkMode } = useDarkMode();
120
115
  return React.createElement(ThemeProvider, { theme: getTheme(darkMode) }, children);
@@ -233,7 +228,6 @@ const Theme = {
233
228
  Provider,
234
229
  useTheme: useTheme,
235
230
  opacity,
236
- palletes,
237
231
  animations,
238
232
  };
239
233
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odigos/ui-kit",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "author": "Odigos",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,25 +67,25 @@
67
67
  }
68
68
  },
69
69
  "peerDependencies": {
70
- "@xyflow/react": "^12.5.3",
70
+ "@xyflow/react": "^12.5.5",
71
71
  "javascript-time-ago": "^2.5.11",
72
+ "lottie-react": "^2.4.1",
72
73
  "prism-react-renderer": "^2.4.1",
73
74
  "react": "^19.1.0",
74
75
  "react-dom": "^19.1.0",
75
76
  "react-error-boundary": "^5.0.0",
76
- "react-lottie": "^1.2.10",
77
- "styled-components": "^6.1.16",
77
+ "styled-components": "6.1.15",
78
78
  "zustand": "^5.0.3"
79
79
  },
80
80
  "dependencies": {
81
- "@xyflow/react": "^12.5.3",
81
+ "@xyflow/react": "^12.5.5",
82
82
  "javascript-time-ago": "^2.5.11",
83
+ "lottie-react": "^2.4.1",
83
84
  "prism-react-renderer": "^2.4.1",
84
85
  "react": "^19.1.0",
85
86
  "react-dom": "^19.1.0",
86
87
  "react-error-boundary": "^5.0.0",
87
- "react-lottie": "^1.2.10",
88
- "styled-components": "^6.1.16",
88
+ "styled-components": "6.1.15",
89
89
  "zustand": "^5.0.3"
90
90
  },
91
91
  "devDependencies": {
@@ -96,27 +96,27 @@
96
96
  "@rollup/plugin-commonjs": "^28.0.3",
97
97
  "@rollup/plugin-json": "^6.1.0",
98
98
  "@rollup/plugin-node-resolve": "^16.0.1",
99
- "@storybook/addon-essentials": "^8.6.11",
99
+ "@storybook/addon-essentials": "^8.6.12",
100
100
  "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
101
- "@storybook/react": "^8.6.11",
102
- "@storybook/react-webpack5": "^8.6.11",
103
- "@types/node": "^22.13.17",
101
+ "@storybook/react": "^8.6.12",
102
+ "@storybook/react-webpack5": "^8.6.12",
103
+ "@types/node": "^22.14.0",
104
104
  "@types/react": "^19.1.0",
105
- "@types/react-dom": "^19.1.1",
105
+ "@types/react-dom": "^19.1.2",
106
106
  "@types/react-lottie": "^1.2.10",
107
- "@typescript-eslint/eslint-plugin": "^8.29.0",
108
- "@typescript-eslint/parser": "^8.29.0",
107
+ "@typescript-eslint/eslint-plugin": "^8.29.1",
108
+ "@typescript-eslint/parser": "^8.29.1",
109
109
  "babel-loader": "^10.0.0",
110
110
  "babel-plugin-styled-components": "^2.1.4",
111
- "eslint": "^9.23.0",
112
- "eslint-plugin-react": "^7.37.4",
111
+ "eslint": "^9.24.0",
112
+ "eslint-plugin-react": "^7.37.5",
113
113
  "eslint-plugin-storybook": "^0.12.0",
114
114
  "html-webpack-plugin": "^5.6.3",
115
115
  "postcss": "^8.5.3",
116
116
  "rollup": "^4.39.0",
117
117
  "rollup-plugin-postcss": "^4.0.2",
118
118
  "rollup-plugin-typescript2": "^0.36.0",
119
- "storybook": "^8.6.11",
120
- "typescript": "^5.8.2"
119
+ "storybook": "^8.6.12",
120
+ "typescript": "^5.8.3"
121
121
  }
122
122
  }