@odigos/ui-kit 0.0.193 → 0.0.195

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/lib/chunks/index-DvMzoRJQ.js +3 -0
  3. package/lib/chunks/{ui-components-B4OMCuIf.js → ui-components-ymRfS19x.js} +396 -387
  4. package/lib/components/_v2/drawer/header/index.d.ts +1 -0
  5. package/lib/components/_v2/typography/index.d.ts +2 -0
  6. package/lib/components/styled.d.ts +1 -0
  7. package/lib/components/v2.js +1 -1
  8. package/lib/components.js +1 -1
  9. package/lib/constants/actions/index.d.ts +2 -0
  10. package/lib/constants.js +1 -1
  11. package/lib/containers/_v2/_drawers/add-action-drawer/helpers.d.ts +7 -0
  12. package/lib/containers/_v2/_drawers/add-action-drawer/index.d.ts +10 -0
  13. package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +2 -2
  14. package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/index.d.ts +2 -1
  15. package/lib/containers/_v2/_drawers/index.d.ts +1 -0
  16. package/lib/containers/_v2/_forms/add-action-form/custom-fields/add-cluster-info/index.d.ts +5 -0
  17. package/lib/containers/_v2/_forms/add-action-form/custom-fields/delete-attributes/index.d.ts +5 -0
  18. package/lib/containers/_v2/_forms/add-action-form/custom-fields/error-sampler/index.d.ts +5 -0
  19. package/lib/containers/_v2/_forms/add-action-form/custom-fields/index.d.ts +7 -0
  20. package/lib/containers/_v2/_forms/add-action-form/custom-fields/k8s-attributes/index.d.ts +5 -0
  21. package/lib/containers/_v2/_forms/add-action-form/custom-fields/latency-sampler/index.d.ts +5 -0
  22. package/lib/containers/_v2/_forms/add-action-form/custom-fields/pii-masking/index.d.ts +5 -0
  23. package/lib/containers/_v2/_forms/add-action-form/custom-fields/probabilistic-sampler/index.d.ts +5 -0
  24. package/lib/containers/_v2/_forms/add-action-form/custom-fields/rename-attributes/index.d.ts +5 -0
  25. package/lib/containers/_v2/_forms/add-action-form/custom-fields/service-name-sampler/index.d.ts +5 -0
  26. package/lib/containers/_v2/_forms/add-action-form/custom-fields/span-attribute-sampler/index.d.ts +5 -0
  27. package/lib/containers/_v2/_forms/add-action-form/index.d.ts +7 -0
  28. package/lib/containers/_v2/_forms/index.d.ts +1 -0
  29. package/lib/containers/_v2/central-connections/index.d.ts +2 -1
  30. package/lib/containers/v2.js +43 -26
  31. package/lib/containers.js +23 -23
  32. package/lib/contexts.js +1 -1
  33. package/lib/functions.js +1 -1
  34. package/lib/hooks.js +1 -1
  35. package/lib/snippets/_v2/wide-drawer/column/index.d.ts +0 -1
  36. package/lib/snippets/_v2/wide-drawer/column-list-collapse/index.d.ts +7 -0
  37. package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +2 -0
  38. package/lib/snippets/_v2/wide-drawer/index.d.ts +5 -5
  39. package/lib/snippets.js +1 -1
  40. package/lib/store.js +1 -1
  41. package/lib/theme.js +1 -1
  42. package/lib/types/actions/index.d.ts +4 -1
  43. package/lib/types/instrumentation-rules/index.d.ts +1 -1
  44. package/lib/types.js +1 -1
  45. package/lib/visuals.js +1 -1
  46. package/package.json +1 -1
  47. package/lib/chunks/index-BzflK0LT.js +0 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.195](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.194...ui-kit-v0.0.195) (2026-02-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * design v2 add action drawer ([#652](https://github.com/odigos-io/ui-kit/issues/652)) ([4b3dd97](https://github.com/odigos-io/ui-kit/commit/4b3dd9790116c0cdc8a93043e0b980f579ce165c))
9
+ * **wide-drawer:** tweaks based on recent Figma changes ([#675](https://github.com/odigos-io/ui-kit/issues/675)) ([fd31834](https://github.com/odigos-io/ui-kit/commit/fd318342dc9fe2d7b2bd7fb3466e18d954ecc716))
10
+
11
+ ## [0.0.194](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.193...ui-kit-v0.0.194) (2026-02-15)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * namespaces future-apps value in store and state ([#660](https://github.com/odigos-io/ui-kit/issues/660)) ([fbe0d93](https://github.com/odigos-io/ui-kit/commit/fbe0d9394d4eb3c7dde43320a5db1b99ae727a97))
17
+
3
18
  ## [0.0.193](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.192...ui-kit-v0.0.193) (2026-02-12)
4
19
 
5
20
 
@@ -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{a7 as a,r as s,p as n,am as r,aj as c,ac as l,cG as p,l as m,N as d}from"./ui-components-ymRfS19x.js";import{VIcon as u,CopyIcon as f,ChevronUpIcon as h,ChevronDownIcon as y,YamlIcon as b}from"../icons.js";const j=i.div`
2
+ padding: 0 12px;
3
+ `,k=({title:i="YAML",yaml:k,defaultOpen:C})=>{const{clickCopy:Y,isCopied:g}=a(),[v,x]=o(C??!1),A=e(()=>k?[{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:g?u:f,onClick:()=>Y(k||""),disabled:g}},{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:v?h:y,onClick:()=>x(t=>!t)}}]:[],[k,g,v]);return t(l,{richTitle:{icon:b,title:i},actions:A,children:v&&t(j,{children:k?t(p,{code:k,language:"yaml",theme:"duotoneDark"}):t(m,{children:t(d,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{k as Y};