@odigos/ui-kit 0.0.190 → 0.0.191

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.191](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.190...ui-kit-v0.0.191) (2026-02-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * add missing form components (required for add/edit drawers) ([#661](https://github.com/odigos-io/ui-kit/issues/661)) ([7f54631](https://github.com/odigos-io/ui-kit/commit/7f54631c1ad22fe00e87644eb41d58c4206c1625))
9
+ * add warning before triggering rollout-restart function ([#663](https://github.com/odigos-io/ui-kit/issues/663)) ([4bd762e](https://github.com/odigos-io/ui-kit/commit/4bd762e78af9e9b6adc048ede662b8c0c4cfe2c6))
10
+
3
11
  ## [0.0.190](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.189...ui-kit-v0.0.190) (2026-02-04)
4
12
 
5
13
 
@@ -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{Y as a,j as s,k as n,ab as r,a8 as c,a1 as l,cD as p,s as m,N as d}from"./ui-components-CCA7B7ry.js";import{VIcon as u,CopyIcon as f,ChevronUpIcon as h,ChevronDownIcon as b,YamlIcon as y}from"../icons.js";const k=i.div`
2
+ padding: 0 12px;
3
+ `,Y=({title:i="YAML",yaml:Y,defaultOpen:j})=>{const{clickCopy:C,isCopied:g}=a(),[v,x]=o(j??!1),A=e(()=>Y?[{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:g?u:f,onClick:()=>C(Y||""),disabled:g}},{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:v?h:b,onClick:()=>x(t=>!t)}}]:[],[Y,g,v]);return t(l,{richTitle:{icon:y,title:i},actions:A,children:v&&t(k,{children:Y?t(p,{code:Y,language:"yaml",theme:"duotoneDark"}):t(m,{children:t(d,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{Y};