@odigos/ui-kit 0.0.216 → 0.0.218
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 +19 -0
- package/lib/chunks/index-BPGpDZxy.js +3 -0
- package/lib/chunks/{ui-components-DvThY8Em.js → ui-components-CzlBPbLD.js} +364 -327
- package/lib/components/_v2/button/index.d.ts +1 -0
- package/lib/components/_v2/search/index.d.ts +4 -0
- package/lib/components/tooltip/index.d.ts +5 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/index.d.ts +1 -1
- package/lib/containers/_v2/settings/index.d.ts +13 -0
- package/lib/containers/source-drawer/index.d.ts +5 -0
- package/lib/containers/source-drawer/profiling/flame-graph-canvas.d.ts +10 -0
- package/lib/containers/source-drawer/profiling/flamebearer.d.ts +70 -0
- package/lib/containers/source-drawer/profiling/index.d.ts +34 -0
- package/lib/containers/v2.js +102 -156
- package/lib/containers.js +214 -120
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/usePopup.d.ts +17 -1
- package/lib/hooks.js +1 -1
- package/lib/mock-data/config/index.d.ts +3 -0
- package/lib/mock-data/index.d.ts +1 -0
- package/lib/mock-data/profiling/index.d.ts +10 -0
- package/lib/mock-data/service-map/index.d.ts +3 -1
- package/lib/snippets/_v2/dynamic-field/index.d.ts +19 -0
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/v2.js +55 -0
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/config/index.d.ts +78 -0
- package/lib/types/destinations/index.d.ts +2 -2
- package/lib/types/index.d.ts +1 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +10 -5
- package/lib/chunks/index-3rwrQKyF.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.218](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.217...ui-kit-v0.0.218) (2026-04-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* sources profiling ([#772](https://github.com/odigos-io/ui-kit/issues/772)) ([9f01c37](https://github.com/odigos-io/ui-kit/commit/9f01c376e9c6961d6ffd1d5740f483e01eb882fa))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update action reference in npm-publish workflow to use STS version ([#774](https://github.com/odigos-io/ui-kit/issues/774)) ([b62efbf](https://github.com/odigos-io/ui-kit/commit/b62efbfb4fbd5ce75b5786c86e0716ec1bb7bb6f))
|
|
14
|
+
|
|
15
|
+
## [0.0.217](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.216...ui-kit-v0.0.217) (2026-04-06)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* settings page ([#746](https://github.com/odigos-io/ui-kit/issues/746)) ([ae6f48a](https://github.com/odigos-io/ui-kit/commit/ae6f48ad4be3e45d7e1f114fafbb34a5cbe1c78d))
|
|
21
|
+
|
|
3
22
|
## [0.0.216](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.215...ui-kit-v0.0.216) (2026-04-05)
|
|
4
23
|
|
|
5
24
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{useState as o,useMemo as e}from"react";import i from"styled-components";import{u as n,B as a,a as r,A as s,g as l,S as c,C as d,b as p,N as m}from"./ui-components-CzlBPbLD.js";import{VIcon as u,CopyIcon as f,ChevronUpIcon as h,ChevronDownIcon as y,YamlIcon as b}from"../icons.js";const g=i.div`
|
|
2
|
+
padding: 0 12px;
|
|
3
|
+
`,C=({title:i="YAML",yaml:C,defaultOpen:S,fullHeight:k})=>{const{clickCopy:v,isCopied:A}=n(),[Y,j]=o(S??!1),x=e(()=>C?[{id:l(),type:s.Button,buttonProps:{variant:r.Secondary,size:a.S,leftIcon:A?u:f,onClick:()=>v(C||""),disabled:A}},{id:l(),type:s.Button,buttonProps:{variant:r.Secondary,size:a.S,leftIcon:Y?h:y,onClick:()=>j(t=>!t)}}]:[],[C,A,Y]);return t(c,{richTitle:{icon:b,title:i},actions:x,fullHeight:k,children:Y&&t(g,{children:C?t(d,{code:C,language:"yaml",theme:"duotoneDark"}):t(p,{children:t(m,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{C as Y};
|