@odigos/ui-kit 0.0.218 → 0.0.219
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 +8 -0
- package/lib/chunks/{index-BPGpDZxy.js → index-YIqbBRyO.js} +1 -1
- package/lib/chunks/{ui-components-CzlBPbLD.js → ui-components-Dj10kYlT.js} +428 -418
- 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 +1 -1
- 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 +3 -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/source-drawer/profiling/symbol-table.d.ts +6 -0
- package/lib/containers/v2.js +148 -341
- package/lib/containers.js +124 -170
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/snippets/_v2/colored-span/index.d.ts +16 -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.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +13 -13
- 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,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.219](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.218...ui-kit-v0.0.219) (2026-04-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* profiling improvements ([#782](https://github.com/odigos-io/ui-kit/issues/782)) ([44599da](https://github.com/odigos-io/ui-kit/commit/44599da7baf996ec7f198cf80ddd823336f36563))
|
|
9
|
+
* 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))
|
|
10
|
+
|
|
3
11
|
## [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
12
|
|
|
5
13
|
|
|
@@ -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-Dj10kYlT.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};
|