@odigos/ui-kit 0.0.181 → 0.0.182
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.
- package/CHANGELOG.md +14 -0
- package/README.md +16 -12
- package/lib/chunks/ui-components-DPfN8yF_.js +2296 -0
- package/lib/chunks/vendor-ex1Kb_ap.js +1 -0
- package/lib/components/_v2/input/index.d.ts +1 -2
- package/lib/components/_v2/segment/index.d.ts +1 -2
- package/lib/components/_v2/table/styled.d.ts +29 -18
- package/lib/components/selection-button/index.d.ts +1 -1
- package/lib/components/styled.d.ts +46 -60
- package/lib/components/tab-list/index.d.ts +4 -3
- package/lib/components/text/index.d.ts +1 -1
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/central-connections/index.d.ts +1 -2
- package/lib/containers/_v2/central-connections/source-drawer/styled.d.ts +15 -17
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +1 -1
- package/lib/containers/data-flow-actions-menu/styled.d.ts +9 -5
- package/lib/containers/source-drawer/describe/index.d.ts +1 -1
- package/lib/containers/source-drawer/odigos-health/index.d.ts +1 -2
- package/lib/containers/v2.js +21 -21
- package/lib/containers.js +122 -122
- package/lib/contexts/odigos-context.d.ts +2 -2
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/auth/okta-icon/index.d.ts +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/add-button/index.d.ts +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme/animations/index.d.ts +28 -22
- package/lib/theme/index.d.ts +3 -12
- package/lib/theme.js +1 -1
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +25 -24
- package/lib/chunks/ui-components-93edfedb.js +0 -2297
- package/lib/chunks/vendor-0965fadc.js +0 -1
- /package/lib/theme/{palletes → palettes}/index.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.182](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.181...ui-kit-v0.0.182) (2026-01-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update dependencies, cleanup redundancy ([#625](https://github.com/odigos-io/ui-kit/issues/625)) ([724ba81](https://github.com/odigos-io/ui-kit/commit/724ba8125b09896356165701143bea5882a4e70a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* enhance useActionFormData hook for backward compatibility ([#632](https://github.com/odigos-io/ui-kit/issues/632)) ([761d4f5](https://github.com/odigos-io/ui-kit/commit/761d4f539faebe35711f19ef0142898f358bce1d))
|
|
14
|
+
* entity counts for new streams ([#630](https://github.com/odigos-io/ui-kit/issues/630)) ([a0918bc](https://github.com/odigos-io/ui-kit/commit/a0918bc37a6ec640f80c5d882f18d10679aefb6e))
|
|
15
|
+
* remove unsupported kinds from rollout restart ([#628](https://github.com/odigos-io/ui-kit/issues/628)) ([541d35e](https://github.com/odigos-io/ui-kit/commit/541d35ea20c52f16a64f3627659de49227087503))
|
|
16
|
+
|
|
3
17
|
## [0.0.181](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.180...ui-kit-v0.0.181) (2026-01-25)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Odigos UI Kit
|
|
2
2
|
|
|
3
3
|
This library contains directories shared across multiple Odigos UIs, available import paths are:
|
|
4
|
+
|
|
4
5
|
- components (re-usable and flexible)
|
|
5
6
|
- constants
|
|
6
7
|
- containers (logic based sections)
|
|
8
|
+
- contexts
|
|
7
9
|
- functions
|
|
8
10
|
- hooks
|
|
9
11
|
- icons
|
|
@@ -11,6 +13,7 @@ This library contains directories shared across multiple Odigos UIs, available i
|
|
|
11
13
|
- store
|
|
12
14
|
- theme
|
|
13
15
|
- types
|
|
16
|
+
- visuals
|
|
14
17
|
|
|
15
18
|
## Installation
|
|
16
19
|
|
|
@@ -31,33 +34,34 @@ yarn add @odigos/ui-kit
|
|
|
31
34
|
Wrap your app with the theme provider:
|
|
32
35
|
|
|
33
36
|
```tsx
|
|
34
|
-
import
|
|
37
|
+
import { ThemeProvider } from '@odigos/ui-kit/theme';
|
|
35
38
|
|
|
36
39
|
const AppProviders = () => {
|
|
37
40
|
return (
|
|
38
|
-
<
|
|
41
|
+
<ThemeProvider>
|
|
39
42
|
<App />
|
|
40
|
-
</
|
|
41
|
-
)
|
|
42
|
-
}
|
|
43
|
+
</ThemeProvider>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
43
46
|
```
|
|
44
47
|
|
|
45
48
|
Import anything else you'd need:
|
|
46
49
|
|
|
47
50
|
```tsx
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
51
|
+
import { useTheme } from 'styled-components';
|
|
52
|
+
import { opacity } from '@odigos/ui-kit/theme';
|
|
53
|
+
import { Text } from '@odigos/ui-kit/components';
|
|
54
|
+
import { useDarkMode } from '@odigos/ui-kit/store';
|
|
55
|
+
import { ToggleDarkMode } from '@odigos/ui-kit/containers';
|
|
52
56
|
|
|
53
57
|
const App = () => {
|
|
54
|
-
const { darkMode } = useDarkMode()
|
|
58
|
+
const { darkMode } = useDarkMode();
|
|
55
59
|
|
|
56
60
|
return (
|
|
57
61
|
<div>
|
|
58
62
|
<ToggleDarkMode />
|
|
59
63
|
<Text>{darkMode ? 'it is dark in here' : 'it is light in here'}</Text>
|
|
60
64
|
</div>
|
|
61
|
-
)
|
|
62
|
-
}
|
|
65
|
+
);
|
|
66
|
+
};
|
|
63
67
|
```
|