@odigos/ui-kit 0.0.218 → 0.0.220
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 +29 -0
- package/lib/chunks/{index-BPGpDZxy.js → index-BaYVU6Qp.js} +1 -1
- package/lib/chunks/ui-components-BRvjo2LR.js +2469 -0
- package/lib/components/_v2/autocomplete/index.d.ts +1 -0
- package/lib/components/_v2/button/index.d.ts +1 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +4 -3
- package/lib/components/_v2/drawer/footer/index.d.ts +9 -0
- package/lib/components/_v2/drawer/index.d.ts +2 -0
- package/lib/components/_v2/hover-actions/index.d.ts +2 -0
- package/lib/components/_v2/note/index.d.ts +1 -0
- package/lib/components/_v2/radio/index.d.ts +1 -0
- package/lib/components/_v2/search/index.d.ts +2 -1
- package/lib/components/_v2/segment/index.d.ts +2 -1
- package/lib/components/_v2/table/index.d.ts +3 -1
- package/lib/components/_v2/table/styled.d.ts +2 -0
- package/lib/components/_v2/table/table-rows/index.d.ts +2 -1
- package/lib/components/_v2/table/types.d.ts +2 -0
- package/lib/components/styled.d.ts +4 -0
- package/lib/components/tooltip/index.d.ts +2 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/sampling/index.d.ts +87 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/create-sampling-rule-drawer/index.d.ts +18 -4
- package/lib/containers/_v2/_drawers/edit-auto-rule-drawer/index.d.ts +7 -2
- package/lib/containers/_v2/_drawers/edit-cost-reduction-auto-rule-drawer/index.d.ts +7 -2
- package/lib/containers/_v2/_drawers/edit-highly-relevant-auto-rule-drawer/index.d.ts +6 -2
- package/lib/containers/_v2/_drawers/view-sampling-rule-drawer/index.d.ts +2 -4
- package/lib/containers/_v2/_forms/create-sampling-rule-form/context.d.ts +34 -0
- package/lib/containers/_v2/_forms/create-sampling-rule-form/index.d.ts +3 -0
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/sections/duration-errors.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/sections/operation.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/sections/percentage.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/sections/rule-info.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/sections/sampling-preview.d.ts +1 -1
- package/lib/containers/_v2/_forms/create-sampling-rule-form/styled.d.ts +5 -0
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/types.d.ts +1 -1
- package/lib/containers/_v2/_forms/edit-auto-rule-form/context.d.ts +21 -0
- package/lib/containers/_v2/_forms/edit-auto-rule-form/index.d.ts +3 -0
- package/lib/containers/_v2/_forms/edit-cost-reduction-auto-rule-form/context.d.ts +21 -0
- package/lib/containers/_v2/_forms/edit-cost-reduction-auto-rule-form/index.d.ts +3 -0
- package/lib/containers/_v2/_forms/edit-highly-relevant-auto-rule-form/context.d.ts +14 -0
- package/lib/containers/_v2/_forms/edit-highly-relevant-auto-rule-form/index.d.ts +3 -0
- package/lib/containers/_v2/_forms/index.d.ts +5 -0
- package/lib/containers/_v2/_forms/view-sampling-rule-form/context.d.ts +37 -0
- package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/footer.d.ts +3 -3
- package/lib/containers/_v2/_forms/view-sampling-rule-form/index.d.ts +3 -0
- package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/reverse-converters.d.ts +2 -2
- package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/sections/operation-details.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/sections/percentage.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/sections/rule-info.d.ts +1 -1
- package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/sections/sampling-preview.d.ts +2 -2
- package/lib/containers/_v2/index.d.ts +1 -2
- package/lib/containers/_v2/sampling-rules/auto-rule-card/index.d.ts +8 -0
- package/lib/containers/_v2/{sampling-rules-list → sampling-rules}/helpers.d.ts +23 -5
- package/lib/containers/_v2/sampling-rules/index.d.ts +3 -0
- package/lib/containers/_v2/sampling-rules/rules-table/index.d.ts +13 -0
- package/lib/containers/_v2/{sampling-rules-list/toolbar.d.ts → sampling-rules/toolbar/index.d.ts} +1 -1
- package/lib/containers/_v2/sampling-rules/types.d.ts +72 -0
- package/lib/containers/_v2/settings/index.d.ts +2 -0
- package/lib/containers/_v2/settings/toolbar/index.d.ts +12 -0
- package/lib/containers/source-drawer/profiling/symbol-table.d.ts +6 -0
- package/lib/containers/v2.js +152 -340
- package/lib/containers.js +124 -170
- package/lib/contexts/odigos-context.d.ts +1 -0
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useScrollTo.d.ts +11 -0
- package/lib/hooks.js +1 -1
- package/lib/snippets/_v2/colored-span/index.d.ts +16 -0
- package/lib/snippets/_v2/dynamic-field/index.d.ts +2 -0
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/_v2/rich-title/index.d.ts +2 -2
- package/lib/snippets/v2.js +15 -17
- 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 +0 -1
- package/lib/types/config/index.d.ts +3 -2
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +13 -13
- package/lib/chunks/ui-components-CzlBPbLD.js +0 -2459
- package/lib/containers/_v2/_drawers/create-sampling-rule-drawer/constants.d.ts +0 -26
- package/lib/containers/_v2/_drawers/edit-auto-rule-drawer/constants.d.ts +0 -10
- package/lib/containers/_v2/_drawers/edit-auto-rule-drawer/types.d.ts +0 -8
- package/lib/containers/_v2/_drawers/edit-cost-reduction-auto-rule-drawer/constants.d.ts +0 -10
- package/lib/containers/_v2/_drawers/edit-cost-reduction-auto-rule-drawer/types.d.ts +0 -8
- package/lib/containers/_v2/_drawers/edit-highly-relevant-auto-rule-drawer/constants.d.ts +0 -6
- package/lib/containers/_v2/_drawers/edit-highly-relevant-auto-rule-drawer/types.d.ts +0 -6
- package/lib/containers/_v2/_drawers/view-sampling-rule-drawer/constants.d.ts +0 -19
- package/lib/containers/_v2/_drawers/view-sampling-rule-drawer/sections/styled.d.ts +0 -4
- package/lib/containers/_v2/_drawers/view-sampling-rule-drawer/types.d.ts +0 -1
- package/lib/containers/_v2/auto-rule-card/constants.d.ts +0 -1
- package/lib/containers/_v2/auto-rule-card/helpers.d.ts +0 -19
- package/lib/containers/_v2/auto-rule-card/index.d.ts +0 -5
- package/lib/containers/_v2/auto-rule-card/types.d.ts +0 -6
- package/lib/containers/_v2/sampling-rules-list/constants.d.ts +0 -23
- package/lib/containers/_v2/sampling-rules-list/index.d.ts +0 -6
- package/lib/containers/_v2/sampling-rules-list/rule-row.d.ts +0 -12
- package/lib/containers/_v2/sampling-rules-list/summary-span.d.ts +0 -10
- package/lib/containers/_v2/sampling-rules-list/types.d.ts +0 -47
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/converters.d.ts +0 -0
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/form-helpers.d.ts +0 -0
- package/lib/containers/_v2/{_drawers/create-sampling-rule-drawer → _forms/create-sampling-rule-form}/sections/source-scope.d.ts +1 -1
- /package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/sections/duration-errors.d.ts +0 -0
- /package/lib/containers/_v2/{_drawers/view-sampling-rule-drawer → _forms/view-sampling-rule-form}/sections/source-scopes.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.220](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.219...ui-kit-v0.0.220) (2026-04-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add save confirmation modal to settings page ([#791](https://github.com/odigos-io/ui-kit/issues/791)) ([1cc7117](https://github.com/odigos-io/ui-kit/commit/1cc71175341ffc6a8298ecf1d5ecd75790f7f73d))
|
|
9
|
+
* enhance settings page with toolbar, action buttons, and scroll-to area ([#795](https://github.com/odigos-io/ui-kit/issues/795)) ([b11f16a](https://github.com/odigos-io/ui-kit/commit/b11f16a8134ffdfec8c2724fdceeea699a668208))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* badge for "odigos-local-ui-config" should POP (convert to warning) ([#787](https://github.com/odigos-io/ui-kit/issues/787)) ([9f06ab0](https://github.com/odigos-io/ui-kit/commit/9f06ab098606d51303e215de888d0b40344f418d))
|
|
15
|
+
* change values.yaml warning to a note component ([#786](https://github.com/odigos-io/ui-kit/issues/786)) ([a7923cb](https://github.com/odigos-io/ui-kit/commit/a7923cb9d66378065ef089bb7c0b40205c23864e))
|
|
16
|
+
* click to open (needs parent container) in dropdata + input component ([#789](https://github.com/odigos-io/ui-kit/issues/789)) ([633c138](https://github.com/odigos-io/ui-kit/commit/633c1387a316f7e8258e00455ae23c8aa5079c4a))
|
|
17
|
+
* enhance useGenericForm to capture additional keys in diff calculation ([#792](https://github.com/odigos-io/ui-kit/issues/792)) ([266b0aa](https://github.com/odigos-io/ui-kit/commit/266b0aa7aa12a0321f9b46b91e8b7f087ff9b182))
|
|
18
|
+
* fields that are marked as "enterprise" should be hidden from the UI ([#793](https://github.com/odigos-io/ui-kit/issues/793)) ([deaf765](https://github.com/odigos-io/ui-kit/commit/deaf7658586982c40e316d0e1ad64d37c05824eb))
|
|
19
|
+
* for dropdown in settings page, use "Default" variant (no search, no checkboxes) ([#788](https://github.com/odigos-io/ui-kit/issues/788)) ([85e6090](https://github.com/odigos-io/ui-kit/commit/85e6090b543e868971214dfc1477415df152580c))
|
|
20
|
+
* remove "N/A" badges from inputs in settings page ([#784](https://github.com/odigos-io/ui-kit/issues/784)) ([5fd223d](https://github.com/odigos-io/ui-kit/commit/5fd223d87ab8d53e72703976d3fb7558ff078530))
|
|
21
|
+
* remove fields sorting from the settings page ([#785](https://github.com/odigos-io/ui-kit/issues/785)) ([9628625](https://github.com/odigos-io/ui-kit/commit/96286255e6d58cabacea43db110f53f8163092c2))
|
|
22
|
+
* render "add button" only for last input in lists ([#790](https://github.com/odigos-io/ui-kit/issues/790)) ([c6ba9f2](https://github.com/odigos-io/ui-kit/commit/c6ba9f2d8ad20c6302d65400c73a2b9f83777d7d))
|
|
23
|
+
|
|
24
|
+
## [0.0.219](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.218...ui-kit-v0.0.219) (2026-04-13)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* profiling improvements ([#782](https://github.com/odigos-io/ui-kit/issues/782)) ([44599da](https://github.com/odigos-io/ui-kit/commit/44599da7baf996ec7f198cf80ddd823336f36563))
|
|
30
|
+
* refactor sampling-rules to match figma design, and kit conventions ([#781](https://github.com/odigos-io/ui-kit/issues/781)) ([35aac25](https://github.com/odigos-io/ui-kit/commit/35aac25798600c3847c36624dd4f2ee70adb5762))
|
|
31
|
+
|
|
3
32
|
## [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
33
|
|
|
5
34
|
|
|
@@ -1,3 +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-
|
|
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-BRvjo2LR.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
2
|
padding: 0 12px;
|
|
3
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};
|