@odigos/ui-kit 0.0.148 → 0.0.150
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 +21 -0
- package/lib/chunks/index-13c41ca4.js +3 -0
- package/lib/chunks/index-64bb5a64.js +9 -0
- package/lib/chunks/{ui-components-51dfd29f.js → ui-components-82b524d5.js} +390 -367
- package/lib/components/_v2/modal/index.d.ts +2 -0
- package/lib/components/_v2/note/index.d.ts +6 -0
- package/lib/components/_v2/segment/index.d.ts +2 -1
- package/lib/components/_v2/typography/index.d.ts +1 -0
- package/lib/components/styled.d.ts +4 -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 -1
- package/lib/containers/_v2/pipeline-collectors/toolbar/index.d.ts +2 -1
- package/lib/containers/v2.js +14 -12
- package/lib/containers.js +20 -20
- package/lib/contexts/index.d.ts +1 -0
- package/lib/contexts/odigos-context.d.ts +13 -0
- package/lib/contexts.js +1 -0
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions/trim-version/index.d.ts +1 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/_v2/upgrade-required/index.d.ts +6 -0
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types.js +1 -1
- package/lib/visuals/index.d.ts +1 -0
- package/lib/visuals/visual-star/index.d.ts +2 -0
- package/lib/visuals.js +3 -3
- package/package.json +10 -5
- package/lib/chunks/index-1ba6021d.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.150](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.149...ui-kit-v0.0.150) (2025-12-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add "upgrade required" modal ([#544](https://github.com/odigos-io/ui-kit/issues/544)) ([8aacbdd](https://github.com/odigos-io/ui-kit/commit/8aacbddcf90a05f541c27c8378fb18afdb6f41a4))
|
|
9
|
+
|
|
10
|
+
## [0.0.149](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.148...ui-kit-v0.0.149) (2025-12-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add action support to Note component and update stories ([#543](https://github.com/odigos-io/ui-kit/issues/543)) ([2cacf27](https://github.com/odigos-io/ui-kit/commit/2cacf27d779349f5e33f26dd5a7988e14bb8a17e))
|
|
16
|
+
* enhance styling and add YAML section card stories ([#539](https://github.com/odigos-io/ui-kit/issues/539)) ([89af77e](https://github.com/odigos-io/ui-kit/commit/89af77e282d6d9a559ee7f445a0b128f340a1e92))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* signals for actions during edit ([#542](https://github.com/odigos-io/ui-kit/issues/542)) ([02e56f0](https://github.com/odigos-io/ui-kit/commit/02e56f0368100fb233f4a3052be2ce4926a004a7))
|
|
22
|
+
* useTimeAgo UTC conversion ([#540](https://github.com/odigos-io/ui-kit/issues/540)) ([06ad986](https://github.com/odigos-io/ui-kit/commit/06ad986df63b84dfa5513a08699acf06fbbc05d6))
|
|
23
|
+
|
|
3
24
|
## [0.0.148](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.147...ui-kit-v0.0.148) (2025-12-15)
|
|
4
25
|
|
|
5
26
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o,{useMemo as s}from"react";import t from"styled-components";import{VIcon as a,CopyIcon as e,YamlIcon as i}from"../icons.js";import{u as n,g as r,S as l,B as c,a as m,b as p,C as u,c as d,N as f}from"./ui-components-82b524d5.js";const b=t.div`
|
|
2
|
+
padding: 0 12px;
|
|
3
|
+
`,y=({yaml:t})=>{const{clickCopy:y,isCopied:g}=n(),C=s(()=>[{id:r(),type:l.Button,buttonProps:{leftIcon:g?a:e,onClick:()=>y(t||""),disabled:g,size:c.S,variant:m.Secondary}}],[t,g]);return o.createElement(p,{icon:i,title:"YAML",actions:C},o.createElement(b,null,t?o.createElement(u,{code:t,language:"yaml",theme:"duotoneDark"}):o.createElement(d,null,o.createElement(f,{title:"No YAML found",subTitle:"The YAML for this resource is not available"}))))};export{y as Y};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from"react";import L from"styled-components";const e=L.div`
|
|
2
|
+
width: ${({$size:o})=>o}px;
|
|
3
|
+
height: ${({$size:o})=>o}px;
|
|
4
|
+
border-radius: 100%;
|
|
5
|
+
background: ${({$color:o})=>o};
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
`,r=()=>o.createElement(e,{$size:74,$color:"rgba(80, 246, 232, 0.10)"},o.createElement(e,{$size:71,$color:"rgba(80, 246, 232, 0.20)"},o.createElement(e,{$size:65,$color:"rgba(80, 246, 232, 0.40)"},o.createElement(e,{$size:56,$color:"rgba(80, 246, 232, 0.60)"},o.createElement(e,{$size:39,$color:"#50F6E8"},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none"},o.createElement("path",{fill:"#151618",d:"M9.4844 0.730003C9.99694 -0.243259 11.4076 -0.24341 11.92 0.730003L11.9685 0.831353L14.3039 6.22012L20.153 6.77755C21.3553 6.89211 21.841 8.38683 20.9358 9.18621L16.5314 13.0731L17.8091 18.8079C18.0716 19.9868 16.8005 20.9109 15.7605 20.2969L10.7017 17.3093L5.64282 20.2969C4.60289 20.9104 3.33173 19.9866 3.59427 18.8079L4.87192 13.0741L0.468608 9.18621C-0.43662 8.38693 0.0482932 6.8924 1.25029 6.77755L7.09837 6.22012L9.43588 0.831353L9.4844 0.730003ZM8.55284 7.02876C8.35287 7.48992 7.9179 7.80589 7.41751 7.85357L2.03952 8.36571L6.09027 11.941C6.46691 12.2737 6.63296 12.7852 6.5237 13.2758L5.34956 18.5459L10.0008 15.8009L10.1669 15.7179C10.5087 15.574 10.8945 15.5741 11.2364 15.7179L11.4036 15.8009L16.0538 18.5459L14.8807 13.2758C14.7714 12.7851 14.9374 12.2737 15.3141 11.941L19.3627 8.36571L13.9858 7.85357C13.4855 7.80587 13.0505 7.4899 12.8505 7.02876L10.7017 2.07342L8.55284 7.02876Z"})))))));export{r as V};
|