@odigos/ui-kit 0.0.211 → 0.0.213
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 +22 -0
- package/lib/chunks/index-Bh2gKc3b.js +3 -0
- package/lib/chunks/ui-components-BliHHDta.js +2388 -0
- package/lib/chunks/vendor-C150cdxb.js +1 -0
- package/lib/components/_v2/badge/index.d.ts +2 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +1 -0
- package/lib/components/_v2/checkbox/index.d.ts +5 -1
- package/lib/components/_v2/field-message/index.d.ts +1 -0
- package/lib/components/_v2/field-title/index.d.ts +2 -0
- package/lib/components/_v2/index.d.ts +1 -0
- package/lib/components/_v2/input/index.d.ts +4 -3
- package/lib/components/_v2/input-list/index.d.ts +5 -3
- package/lib/components/_v2/input-table/index.d.ts +5 -3
- package/lib/components/_v2/stepper/index.d.ts +11 -0
- package/lib/components/_v2/textarea/index.d.ts +4 -3
- package/lib/components/_v2/toggle/index.d.ts +5 -1
- package/lib/components/styled.d.ts +3 -6
- package/lib/components/tooltip/index.d.ts +1 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/destinations/index.d.ts +5 -0
- package/lib/constants/strings/index.d.ts +12 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/add-action-drawer/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/add-destination-drawer/form-column/index.d.ts +4 -7
- package/lib/containers/_v2/_drawers/add-destination-drawer/helpers.d.ts +1 -9
- package/lib/containers/_v2/_drawers/add-destination-drawer/index.d.ts +10 -5
- package/lib/containers/_v2/_drawers/add-destination-drawer/lists-column/index.d.ts +3 -5
- package/lib/containers/_v2/_drawers/add-destination-drawer/types.d.ts +1 -6
- package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +3 -3
- package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +7 -5
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/index.d.ts +2 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/list/index.d.ts +1 -0
- package/lib/containers/_v2/_drawers/add-source-drawer/types.d.ts +3 -0
- package/lib/containers/_v2/_drawers/add-source-drawer/workloads-column/index.d.ts +2 -1
- package/lib/containers/_v2/_forms/add-action-form/context.d.ts +18 -0
- package/lib/containers/_v2/_forms/add-action-form/index.d.ts +2 -6
- package/lib/containers/_v2/_forms/add-destination-form/context.d.ts +36 -0
- package/lib/containers/_v2/_forms/add-destination-form/dynamic-fields/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/add-destination-form/index.d.ts +4 -5
- package/lib/containers/_v2/_forms/add-rule-form/context.d.ts +18 -0
- package/lib/containers/_v2/_forms/add-rule-form/index.d.ts +2 -6
- package/lib/containers/_v2/_forms/add-source-form/context.d.ts +21 -0
- package/lib/containers/_v2/_forms/add-source-form/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/index.d.ts +1 -0
- package/lib/containers/_v2/central-connections/index.d.ts +2 -1
- package/lib/containers/_v2/index.d.ts +1 -0
- package/lib/containers/_v2/onboarding/background/index.d.ts +7 -0
- package/lib/containers/_v2/onboarding/get-started/index.d.ts +5 -0
- package/lib/containers/_v2/onboarding/index.d.ts +14 -0
- package/lib/containers/_v2/onboarding/summary/index.d.ts +12 -0
- package/lib/containers/_v2/pipeline-collectors/general-info/yaml-drawer/index.d.ts +1 -1
- package/lib/containers/v2.js +91 -30
- package/lib/containers.js +131 -131
- package/lib/contexts.js +1 -1
- package/lib/functions/deep-values/index.d.ts +2 -0
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/useGenericForm.d.ts +2 -0
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +5 -0
- package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +1 -0
- package/lib/snippets/_v2/yaml-section-card/index.d.ts +1 -0
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +307 -3
- package/lib/types/destinations/index.d.ts +9 -8
- package/lib/types/snapshot/index.d.ts +4 -4
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +28 -28
- package/lib/chunks/index-BURQQLWb.js +0 -3
- package/lib/chunks/ui-components-B5U474B5.js +0 -2387
- package/lib/chunks/vendor-D99eCWta.js +0 -1
- package/lib/containers/_v2/_drawers/add-action-drawer/helpers.d.ts +0 -7
- package/lib/containers/_v2/_drawers/add-rule-drawer/helpers.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.213](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.212...ui-kit-v0.0.213) (2026-03-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use React Context for V2 "add action" form ([#757](https://github.com/odigos-io/ui-kit/issues/757)) ([7f7847a](https://github.com/odigos-io/ui-kit/commit/7f7847acf5f16e811cb345aced03b27cc06e90cb))
|
|
9
|
+
* use React Context for V2 "add rule" form ([#756](https://github.com/odigos-io/ui-kit/issues/756)) ([6cb5e9b](https://github.com/odigos-io/ui-kit/commit/6cb5e9b749bf89606217419ebb74d28dab97783c))
|
|
10
|
+
* use React Context for V2 "add source" form ([#758](https://github.com/odigos-io/ui-kit/issues/758)) ([cd73671](https://github.com/odigos-io/ui-kit/commit/cd73671ff74c9a9160f20791c1a99f2500d468bf))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update destination drawer helpers to use object for auto-filled fields and improve save button logic ([#759](https://github.com/odigos-io/ui-kit/issues/759)) ([2d54de8](https://github.com/odigos-io/ui-kit/commit/2d54de85cc2883bad6c185c566318cfad53d2948))
|
|
16
|
+
|
|
17
|
+
## [0.0.212](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.211...ui-kit-v0.0.212) (2026-03-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* onboarding V2 design ([#700](https://github.com/odigos-io/ui-kit/issues/700)) ([5051513](https://github.com/odigos-io/ui-kit/commit/5051513ebd2e265df9f1c8e1f8b3e56bae618ea1))
|
|
23
|
+
* use React Context to share Destination form data and handlers across multiple files ([#722](https://github.com/odigos-io/ui-kit/issues/722)) ([300f265](https://github.com/odigos-io/ui-kit/commit/300f2653e413488c5de1a1533c1f074b34f8bfb9))
|
|
24
|
+
|
|
3
25
|
## [0.0.211](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.210...ui-kit-v0.0.211) (2026-03-23)
|
|
4
26
|
|
|
5
27
|
|
|
@@ -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{at as a,t as n,j as r,aF as s,aD as l,ax as c,cT as d,e as p,N as m}from"./ui-components-BliHHDta.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
|
+
`,j=({title:i="YAML",yaml:j,defaultOpen:k,fullHeight:v})=>{const{clickCopy:x,isCopied:C}=a(),[S,T]=o(k??!1),Y=e(()=>j?[{id:l(),type:s.Button,buttonProps:{variant:r.Secondary,size:n.S,leftIcon:C?u:f,onClick:()=>x(j||""),disabled:C}},{id:l(),type:s.Button,buttonProps:{variant:r.Secondary,size:n.S,leftIcon:S?h:y,onClick:()=>T(t=>!t)}}]:[],[j,C,S]);return t(c,{richTitle:{icon:b,title:i},actions:Y,fullHeight:v,children:S&&t(g,{children:j?t(d,{code:j,language:"yaml",theme:"duotoneDark"}):t(p,{children:t(m,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{j as Y};
|