@odigos/ui-kit 0.0.10 → 0.0.11

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 (88) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/lib/components/badge/index.d.ts +2 -2
  3. package/lib/components/data-card/data-card-fields/index.d.ts +14 -14
  4. package/lib/components/data-card/index.d.ts +2 -2
  5. package/lib/components/data-tab/index.d.ts +3 -3
  6. package/lib/components/delete-warning/index.d.ts +2 -2
  7. package/lib/components/describe-row/index.d.ts +2 -2
  8. package/lib/components/divider/index.d.ts +2 -2
  9. package/lib/components/icon-group/index.d.ts +2 -2
  10. package/lib/components/icon-wrapped/index.d.ts +2 -2
  11. package/lib/components/interactive-table/index.d.ts +2 -2
  12. package/lib/components/interactive-table/row.d.ts +2 -2
  13. package/lib/components/monitors-checkboxes/index.d.ts +4 -4
  14. package/lib/components/monitors-icons/index.d.ts +2 -2
  15. package/lib/components/notification-note/index.d.ts +2 -2
  16. package/lib/components/status/index.d.ts +2 -2
  17. package/lib/components/stepper/index.d.ts +1 -1
  18. package/lib/components/warning-modal/index.d.ts +2 -2
  19. package/lib/components.js +8 -8
  20. package/lib/constants/strings/index.d.ts +10 -10
  21. package/lib/constants.js +4 -4
  22. package/lib/containers/action-drawer/build-card.d.ts +2 -2
  23. package/lib/containers/action-drawer/index.d.ts +2 -2
  24. package/lib/containers/action-form/custom-fields/index.d.ts +2 -2
  25. package/lib/containers/data-flow/edges/labeled-edge.d.ts +2 -2
  26. package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +2 -2
  27. package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
  28. package/lib/containers/data-flow/nodes/add-node.d.ts +3 -3
  29. package/lib/containers/data-flow/nodes/base-node.d.ts +5 -5
  30. package/lib/containers/data-flow/nodes/edged-node.d.ts +2 -2
  31. package/lib/containers/data-flow/nodes/frame-node.d.ts +2 -2
  32. package/lib/containers/data-flow/nodes/header-node.d.ts +2 -2
  33. package/lib/containers/data-flow/nodes/scroll-node.d.ts +5 -5
  34. package/lib/containers/data-flow/nodes/skeleton-node.d.ts +2 -2
  35. package/lib/containers/data-flow-actions-menu/index.d.ts +2 -2
  36. package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +2 -2
  37. package/lib/containers/destination-drawer/build-card.d.ts +2 -2
  38. package/lib/containers/destination-form/test-connection/index.d.ts +2 -2
  39. package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -2
  40. package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
  41. package/lib/containers/side-nav/index.d.ts +8 -8
  42. package/lib/containers/source-drawer/build-card.d.ts +1 -1
  43. package/lib/containers.js +341 -340
  44. package/lib/data/sources/index.d.ts +3 -3
  45. package/lib/functions/get-action-icon/index.d.ts +2 -2
  46. package/lib/functions/get-conditions-booleans/index.d.ts +2 -2
  47. package/lib/functions/get-entity-icon/index.d.ts +2 -2
  48. package/lib/functions/get-entity-label/index.d.ts +2 -2
  49. package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
  50. package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
  51. package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
  52. package/lib/functions/get-monitor-icon/index.d.ts +2 -2
  53. package/lib/functions/get-platform-icon/index.d.ts +2 -2
  54. package/lib/functions/get-platform-label/index.d.ts +2 -2
  55. package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
  56. package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
  57. package/lib/functions/get-status-icon/index.d.ts +2 -2
  58. package/lib/functions/index.d.ts +0 -1
  59. package/lib/functions.js +9 -20
  60. package/lib/hooks.js +7 -7
  61. package/lib/icons.js +2 -2
  62. package/lib/{index-BFct3S32.js → index-7-KCQK-x.js} +2 -2
  63. package/lib/{index-ixs381n-.js → index-9ObpINp4.js} +4 -4
  64. package/lib/{index-Do8ODRlA.js → index-B_fzHjxk.js} +87 -92
  65. package/lib/{index-eF2JXMVR.js → index-BtuW12KL.js} +22 -22
  66. package/lib/{index-CZe2VX28.js → index-CJKFedQi.js} +31 -31
  67. package/lib/{index-DB1gmCsH.js → index-CYn62h8x.js} +33 -33
  68. package/lib/{index-DnmWFsTQ.js → index-C_0J5P9M.js} +10 -10
  69. package/lib/{index-DIcomki-.js → index-DYEcdkUF.js} +19 -19
  70. package/lib/{index-BumPE6cF.js → index-Db_ZDrEr.js} +13 -13
  71. package/lib/store/useDrawerStore.d.ts +2 -2
  72. package/lib/store/useEntityStore.d.ts +5 -5
  73. package/lib/store/usePendingStore.d.ts +2 -2
  74. package/lib/store.js +1 -1
  75. package/lib/theme.js +1 -1
  76. package/lib/types/actions/index.d.ts +14 -14
  77. package/lib/types/common/index.d.ts +80 -76
  78. package/lib/types/connection/index.d.ts +3 -3
  79. package/lib/types/data-flow/index.d.ts +15 -15
  80. package/lib/types/destinations/index.d.ts +2 -2
  81. package/lib/types/instrumentation-rules/index.d.ts +28 -28
  82. package/lib/types/signals/index.d.ts +5 -5
  83. package/lib/types/sources/index.d.ts +7 -7
  84. package/lib/types.js +164 -159
  85. package/lib/{useSourceSelectionFormData-CxdOP9FT.js → useSourceSelectionFormData-BnlRp8m3.js} +40 -40
  86. package/lib/{useTransition-Dfxjcy-C.js → useTransition-CFmm4scp.js} +23 -23
  87. package/package.json +1 -1
  88. package/lib/functions/derive-type-from-rule/index.d.ts +0 -2
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import { type CustomFieldProps, INSTRUMENTATION_RULE_TYPE, type InstrumentationRuleFormData } from '@/types';
2
+ import { type CustomFieldProps, InstrumentationRuleType, type InstrumentationRuleFormData } from '@/types';
3
3
  interface CustomFieldsProps extends CustomFieldProps<InstrumentationRuleFormData> {
4
- ruleType?: INSTRUMENTATION_RULE_TYPE;
4
+ ruleType?: InstrumentationRuleType;
5
5
  }
6
6
  declare const CustomFields: FC<CustomFieldsProps>;
7
7
  export { CustomFields, type CustomFieldsProps };
@@ -1,16 +1,16 @@
1
1
  import { type FC } from 'react';
2
2
  import { type NavIcon } from '@/components';
3
- declare enum NAV_ICON_IDS {
4
- OVERVIEW = "overview",
5
- INSTRUMENTATION_RULES = "instrumentation-rules",
6
- SOURCES = "sources",
7
- ACTIONS = "actions",
8
- DESTINATIONS = "destinations"
3
+ declare enum NavIconIds {
4
+ Overview = "overview",
5
+ InstrumentationRules = "instrumentation rule",
6
+ Sources = "source",
7
+ Actions = "action",
8
+ Destinations = "destination"
9
9
  }
10
10
  interface SideNavProps {
11
- onClickId: (id: NAV_ICON_IDS) => void;
11
+ onClickId: (id: NavIconIds) => void;
12
12
  defaultSelectedId?: string;
13
13
  extendedNavIcons?: NavIcon[];
14
14
  }
15
15
  declare const SideNav: FC<SideNavProps>;
16
- export { SideNav, type SideNavProps, NAV_ICON_IDS };
16
+ export { SideNav, type SideNavProps, NavIconIds };
@@ -1,6 +1,6 @@
1
1
  import type { Source } from '@/types';
2
2
  declare const buildCard: (source: Source) => {
3
- type?: import("@/components").DATA_CARD_FIELD_TYPES;
3
+ type?: import("@/components").DataCardFieldTypes;
4
4
  title?: string;
5
5
  tooltip?: string;
6
6
  value?: string | Record<string, any>;