@odigos/ui-kit 0.0.188 → 0.0.190

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 (79) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/chunks/index-Aa36Kwto.js +3 -0
  3. package/lib/chunks/ui-components-C1WJWY4E.js +2364 -0
  4. package/lib/chunks/vendor-C-kwkNJP.js +1 -0
  5. package/lib/components/_v2/field-message/index.d.ts +6 -0
  6. package/lib/components/_v2/field-title/index.d.ts +9 -0
  7. package/lib/components/_v2/index.d.ts +5 -0
  8. package/lib/components/_v2/input/index.d.ts +2 -0
  9. package/lib/components/_v2/input-list/index.d.ts +15 -0
  10. package/lib/components/_v2/input-table/dynamic-field/index.d.ts +13 -0
  11. package/lib/components/_v2/input-table/index.d.ts +16 -0
  12. package/lib/components/_v2/input-table/types.d.ts +13 -0
  13. package/lib/components/_v2/island/index.d.ts +2 -1
  14. package/lib/components/_v2/segment/index.d.ts +2 -0
  15. package/lib/components/_v2/textarea/index.d.ts +11 -0
  16. package/lib/components/styled.d.ts +7 -0
  17. package/lib/components/v2.js +1 -1
  18. package/lib/components.js +1 -1
  19. package/lib/constants/strings/index.d.ts +1 -0
  20. package/lib/constants.js +1 -1
  21. package/lib/containers/_v2/_drawers/add-rule-drawer/helpers.d.ts +7 -0
  22. package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +10 -0
  23. package/lib/containers/_v2/{central-connections/source-drawer → _drawers/add-source-drawer}/index.d.ts +3 -4
  24. package/lib/containers/_v2/{central-connections/source-drawer → _drawers/add-source-drawer}/namespaces-column/index.d.ts +3 -2
  25. package/lib/containers/_v2/{central-connections/source-drawer → _drawers/add-source-drawer}/workloads-column/index.d.ts +3 -2
  26. package/lib/containers/_v2/_drawers/edit-config-drawer/index.d.ts +12 -0
  27. package/lib/containers/_v2/_drawers/index.d.ts +4 -0
  28. package/lib/containers/_v2/{system-drawer → _drawers/system-drawer}/index.d.ts +2 -3
  29. package/lib/containers/_v2/_drawers/system-drawer/tokens/index.d.ts +7 -0
  30. package/lib/containers/_v2/{system-drawer → _drawers/system-drawer}/tokens/token-expires-at.d.ts +2 -0
  31. package/lib/containers/_v2/_drawers/system-drawer/tokens/token-value.d.ts +14 -0
  32. package/lib/containers/_v2/_forms/add-rule-form/custom-fields/code-attributes/index.d.ts +5 -0
  33. package/lib/containers/_v2/_forms/add-rule-form/custom-fields/custom-instrumentation/index.d.ts +5 -0
  34. package/lib/containers/_v2/_forms/add-rule-form/custom-fields/headers-collection/index.d.ts +5 -0
  35. package/lib/containers/_v2/_forms/add-rule-form/custom-fields/index.d.ts +7 -0
  36. package/lib/containers/_v2/_forms/add-rule-form/custom-fields/payload-collection/index.d.ts +5 -0
  37. package/lib/containers/_v2/_forms/add-rule-form/index.d.ts +7 -0
  38. package/lib/containers/_v2/_forms/index.d.ts +1 -0
  39. package/lib/containers/_v2/central-connections/helpers.d.ts +44 -0
  40. package/lib/containers/_v2/central-connections/index.d.ts +5 -4
  41. package/lib/containers/_v2/index.d.ts +2 -1
  42. package/lib/containers/_v2/pipeline-collectors/index.d.ts +1 -0
  43. package/lib/containers/data-stream-form/index.d.ts +2 -0
  44. package/lib/containers/toggle-dark-mode/index.d.ts +1 -3
  45. package/lib/containers/v2.js +42 -73
  46. package/lib/containers.js +46 -46
  47. package/lib/contexts/index.d.ts +1 -0
  48. package/lib/contexts/storybook-context.d.ts +8 -0
  49. package/lib/contexts.js +1 -1
  50. package/lib/functions.js +1 -1
  51. package/lib/hooks/useActionFormData.d.ts +1 -1
  52. package/lib/hooks/useGenericForm.d.ts +5 -4
  53. package/lib/hooks.js +1 -1
  54. package/lib/icons.js +1 -1
  55. package/lib/snippets/_v2/index.d.ts +1 -0
  56. package/lib/snippets/_v2/rich-title/index.d.ts +1 -0
  57. package/lib/snippets/_v2/wide-drawer/column/index.d.ts +11 -0
  58. package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +13 -0
  59. package/lib/snippets/_v2/wide-drawer/index.d.ts +35 -0
  60. package/lib/snippets.js +1 -1
  61. package/lib/store/useSetupStore.d.ts +0 -2
  62. package/lib/store.js +1 -1
  63. package/lib/theme.js +1 -1
  64. package/lib/types/common/index.d.ts +4 -0
  65. package/lib/types/instrumentation-rules/index.d.ts +4 -1
  66. package/lib/types/tokens/index.d.ts +7 -0
  67. package/lib/types.js +1 -1
  68. package/lib/visuals.js +1 -1
  69. package/package.json +9 -9
  70. package/lib/chunks/ui-components-DKFg9nOZ.js +0 -2296
  71. package/lib/chunks/vendor-1oZp1FpB.js +0 -1
  72. package/lib/containers/_v2/central-connections/config-drawer/index.d.ts +0 -18
  73. package/lib/containers/_v2/central-connections/source-drawer/styled.d.ts +0 -17
  74. package/lib/containers/_v2/system-drawer/tokens/index.d.ts +0 -7
  75. package/lib/containers/_v2/system-drawer/tokens/token-actions.d.ts +0 -12
  76. package/lib/containers/_v2/system-drawer/tokens/token-input.d.ts +0 -8
  77. /package/lib/containers/_v2/{central-connections/source-drawer → _drawers/add-source-drawer}/types.d.ts +0 -0
  78. /package/lib/containers/_v2/{system-drawer → _drawers/system-drawer}/describe/index.d.ts +0 -0
  79. /package/lib/containers/_v2/{system-drawer → _drawers/system-drawer}/diagnose/index.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [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
+
5
+
6
+ ### Features
7
+
8
+ * design v2 add rule drawer ([#631](https://github.com/odigos-io/ui-kit/issues/631)) ([b689e85](https://github.com/odigos-io/ui-kit/commit/b689e8548815e1745ac5884b258e30c50e34ac7f))
9
+ * validation errors during token update ([#655](https://github.com/odigos-io/ui-kit/issues/655)) ([1aa4208](https://github.com/odigos-io/ui-kit/commit/1aa4208e9076c7af76829787ac06794e0cc83713))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **action-drawer:** action fields in `loadFormWithDrawerItem` ([#650](https://github.com/odigos-io/ui-kit/issues/650)) ([c171f51](https://github.com/odigos-io/ui-kit/commit/c171f51ecbf88017fbc9d67c3f256151b8338aa4))
15
+ * namespace fetching ([#654](https://github.com/odigos-io/ui-kit/issues/654)) ([b35f562](https://github.com/odigos-io/ui-kit/commit/b35f5627a2e7dfb396856a45cbeed30288d673a6))
16
+ * Revert "fix: caching issue with ns in add source modal" ([#653](https://github.com/odigos-io/ui-kit/issues/653)) ([23089d1](https://github.com/odigos-io/ui-kit/commit/23089d1767ef9963480c17ba51987f83ecffbdf6))
17
+
18
+ ## [0.0.189](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.188...ui-kit-v0.0.189) (2026-01-29)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * caching issue with ns in add source modal ([#642](https://github.com/odigos-io/ui-kit/issues/642)) ([1da5118](https://github.com/odigos-io/ui-kit/commit/1da51184443b8e865f90682ab3da504d4160956d))
24
+ * edit functionality for cross-data-streams ([#643](https://github.com/odigos-io/ui-kit/issues/643)) ([32b38fe](https://github.com/odigos-io/ui-kit/commit/32b38fee2e083b7c686aaa7b37b024b5d67480e1))
25
+ * **useEntityStore:** optimize entity management with O(1) lookups ([#638](https://github.com/odigos-io/ui-kit/issues/638)) ([0f941f2](https://github.com/odigos-io/ui-kit/commit/0f941f200d5bbc72b6172aabe4e4b5d649a2e4b8))
26
+
3
27
  ## [0.0.188](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.187...ui-kit-v0.0.188) (2026-01-29)
4
28
 
5
29
 
@@ -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,cC as p,s as m,N as d}from"./ui-components-C1WJWY4E.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
+ `,C=({title:i="YAML",yaml:C,defaultOpen:Y})=>{const{clickCopy:j,isCopied:g}=a(),[v,x]=o(Y??!1),A=e(()=>C?[{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:g?u:f,onClick:()=>j(C||""),disabled:g}},{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:v?h:b,onClick:()=>x(t=>!t)}}]:[],[C,g,v]);return t(l,{richTitle:{icon:y,title:i},actions:A,children:v&&t(k,{children:C?t(p,{code:C,language:"yaml",theme:"duotoneDark"}):t(m,{children:t(d,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{C as Y};