@uipath/apollo-react 6.77.0 → 6.77.2

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.
@@ -1,4 +1,4 @@
1
- export type { BuildJsonTreeOptions, ContainerPath, CopyEvent, DeriveTypeIcon, FlatJsonTreeRow, FlattenOptions, JsonCodeEditorRenderProps, JsonContainer, JsonContainerEditorProps, JsonLeafValueEditorProps, JsonMultilineLeafEditorProps, JsonObject, JsonSchema, JsonSchemaTypeName, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeNodeType, JsonTreeRowWrapper, JsonTreeRowWrapperProps, JsonTreeToolbarProps, JsonTreeViewStrings, JsonTreeViewProps, JsonTreeViewProviderProps, JsonTypeBadgeProps, JsonValue, NodeAction, NodeActionContext, NodeActionsResolver, NodeBadgeReference, NodeDecoration, NodeDecorationBadge, NodeDecorationChip, NodeDecorationTone, NodeDisplayTexts, PathSegment, RenderCodeEditor, RenderValueCell, RenderValueContext, ResolvedJsonTreeViewStrings, } from '@uipath/apollo-wind';
1
+ export type { BuildJsonTreeOptions, ContainerPath, CopyEvent, DeriveTypeIcon, FlatJsonTreeRow, FlattenOptions, JsonCodeEditorRenderProps, JsonContainer, JsonContainerEditorProps, JsonLeafValueEditorProps, JsonMultilineLeafEditorProps, JsonObject, JsonSchema, JsonSchemaTypeName, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeNodeType, JsonTreeRowWrapper, JsonTreeRowWrapperProps, JsonTreeToolbarProps, JsonTreeViewStrings, JsonTreeViewProps, JsonTreeViewProviderProps, JsonTypeBadgeProps, JsonValue, NodeAction, NodeActionContext, NodeActionsResolver, NodeBadgeReference, NodeDecoration, NodeDecorationBadge, NodeDecorationChip, NodeDecorationTone, NodeDisplayTexts, PathForCopy, PathSegment, RenderCodeEditor, RenderValueCell, RenderValueContext, ResolvedJsonTreeViewStrings, } from '@uipath/apollo-wind';
2
2
  export { appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, DEFAULT_JSON_TREE_VIEW_STRINGS, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, removeValueAtPath, schemaDisplayType, setValueAtPath, } from '@uipath/apollo-wind';
3
3
  export * from './JsonTree';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/index.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC5B,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,8BAA8B,EAC9B,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/JsonTree/index.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC5B,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,8BAA8B,EAC9B,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,cAAc,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { CopyEvent, DeriveTypeIcon, JsonContainer, JsonSchema, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeRowWrapper, NodeActionsResolver, NodeDecoration, RenderCodeEditor, RenderValueCell } from '../JsonTree';
2
+ import type { CopyEvent, DeriveTypeIcon, JsonContainer, JsonSchema, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeRowWrapper, NodeActionsResolver, NodeDecoration, PathForCopy, RenderCodeEditor, RenderValueCell } from '../JsonTree';
3
3
  export interface NodeIOViewTab {
4
4
  id: string;
5
5
  label: string;
@@ -30,7 +30,7 @@ export interface NodeIOViewProps {
30
30
  nodeActions?: NodeActionsResolver;
31
31
  maxInlineActions?: number;
32
32
  renderCodeEditor?: RenderCodeEditor;
33
- pathForCopy?: (path: string) => string;
33
+ pathForCopy?: PathForCopy;
34
34
  onCopy?: (event: CopyEvent) => void;
35
35
  virtualized?: boolean;
36
36
  defaultCollapsedDepth?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"NodeIOView.types.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodeIOView/NodeIOView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,aAAa,EACb,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,eAAe,EAChB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,aAAa;IAE5B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAE9B,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAOtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAKrB,SAAS,CAAC,EAA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AAC;IAEtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -101,13 +101,17 @@ const IconContainer = (0, material_namespaceObject.styled)('div')({
101
101
  padding: `11px ${apollo_core_default().Padding.PadL} 0`,
102
102
  color: 'var(--icon-color)',
103
103
  '& .MuiSvgIcon-root': {
104
+ display: 'block',
104
105
  width: apollo_core_default().Icon.IconS,
105
106
  height: apollo_core_default().Icon.IconS
106
107
  }
107
108
  });
108
109
  const TextContent = (0, material_namespaceObject.styled)('div')({
109
110
  padding: `${apollo_core_default().Padding.PadXl} ${apollo_core_default().Spacing.SpacingL} ${apollo_core_default().Padding.PadXl} 0`,
110
- width: '100%'
111
+ width: '100%',
112
+ '& > .MuiTypography-root': {
113
+ display: 'block'
114
+ }
111
115
  });
112
116
  const CancelButton = (0, material_namespaceObject.styled)('div')({
113
117
  padding: `${apollo_core_default().Padding.PadL} ${apollo_core_default().Padding.PadL} ${apollo_core_default().Padding.PadL} 0`,
@@ -1 +1 @@
1
- {"version":3,"file":"ApAlertBar.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-alert-bar/ApAlertBar.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAgF1E,eAAO,MAAM,UAAU,wFAmCtB,CAAC"}
1
+ {"version":3,"file":"ApAlertBar.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-alert-bar/ApAlertBar.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAyF1E,eAAO,MAAM,UAAU,wFAmCtB,CAAC"}
@@ -57,13 +57,17 @@ const IconContainer = styled('div')({
57
57
  padding: `11px ${apollo_core.Padding.PadL} 0`,
58
58
  color: 'var(--icon-color)',
59
59
  '& .MuiSvgIcon-root': {
60
+ display: 'block',
60
61
  width: apollo_core.Icon.IconS,
61
62
  height: apollo_core.Icon.IconS
62
63
  }
63
64
  });
64
65
  const TextContent = styled('div')({
65
66
  padding: `${apollo_core.Padding.PadXl} ${apollo_core.Spacing.SpacingL} ${apollo_core.Padding.PadXl} 0`,
66
- width: '100%'
67
+ width: '100%',
68
+ '& > .MuiTypography-root': {
69
+ display: 'block'
70
+ }
67
71
  });
68
72
  const CancelButton = styled('div')({
69
73
  padding: `${apollo_core.Padding.PadL} ${apollo_core.Padding.PadL} ${apollo_core.Padding.PadL} 0`,
@@ -66,7 +66,10 @@ function AutopilotChatInputErrorComponent() {
66
66
  marginBottom: apollo_core_default().Spacing.SpacingBase,
67
67
  width: '100%',
68
68
  maxHeight: '300px',
69
- overflowY: 'auto'
69
+ overflowY: 'auto',
70
+ '& [data-chat-error-paragraph]:not(:last-child)': {
71
+ paddingBottom: apollo_core_default().Spacing.SpacingXs
72
+ }
70
73
  },
71
74
  status: 'warn' === error.level ? statusTypes_cjs_namespaceObject.StatusTypes.WARNING : statusTypes_cjs_namespaceObject.StatusTypes.ERROR,
72
75
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_react_markdown_default(), {
@@ -75,9 +78,9 @@ function AutopilotChatInputErrorComponent() {
75
78
  ],
76
79
  components: {
77
80
  p: ({ children })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
81
+ "data-chat-error-paragraph": true,
78
82
  style: {
79
- margin: 0,
80
- paddingBottom: apollo_core_default().Spacing.SpacingXs
83
+ margin: 0
81
84
  },
82
85
  children: children
83
86
  }),
@@ -25,7 +25,10 @@ function AutopilotChatInputErrorComponent() {
25
25
  marginBottom: apollo_core.Spacing.SpacingBase,
26
26
  width: '100%',
27
27
  maxHeight: '300px',
28
- overflowY: 'auto'
28
+ overflowY: 'auto',
29
+ '& [data-chat-error-paragraph]:not(:last-child)': {
30
+ paddingBottom: apollo_core.Spacing.SpacingXs
31
+ }
29
32
  },
30
33
  status: 'warn' === error.level ? StatusTypes.WARNING : StatusTypes.ERROR,
31
34
  children: /*#__PURE__*/ jsx(react_markdown, {
@@ -34,9 +37,9 @@ function AutopilotChatInputErrorComponent() {
34
37
  ],
35
38
  components: {
36
39
  p: ({ children })=>/*#__PURE__*/ jsx("div", {
40
+ "data-chat-error-paragraph": true,
37
41
  style: {
38
- margin: 0,
39
- paddingBottom: apollo_core.Spacing.SpacingXs
42
+ margin: 0
40
43
  },
41
44
  children: children
42
45
  }),
@@ -0,0 +1,13 @@
1
+ import type { Reporter, TestModule, Vitest } from 'vitest/node';
2
+ type UnhandledErrors = Parameters<NonNullable<Reporter['onTestRunEnd']>>[1];
3
+ export declare class CiDiagnosticsReporter implements Reporter {
4
+ private readonly outputFile;
5
+ private timeout;
6
+ private body;
7
+ constructor(outputFile: string);
8
+ onInit(vitest: Vitest): void;
9
+ onTestRunEnd(testModules: ReadonlyArray<TestModule>, unhandledErrors: UnhandledErrors): void;
10
+ private write;
11
+ }
12
+ export {};
13
+ //# sourceMappingURL=ci-diagnostics-reporter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ci-diagnostics-reporter.d.ts","sourceRoot":"","sources":["../../src/test/ci-diagnostics-reporter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEhE,KAAK,eAAe,GAAG,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAmB5E,qBAAa,qBAAsB,YAAW,QAAQ;IAKxC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAJvC,OAAO,CAAC,OAAO,CAAQ;IAEvB,OAAO,CAAC,IAAI,CAAkD;gBAEjC,UAAU,EAAE,MAAM;IAE/C,MAAM,CAAC,MAAM,EAAE,MAAM;IAerB,YAAY,CAAC,WAAW,EAAE,aAAa,CAAC,UAAU,CAAC,EAAE,eAAe,EAAE,eAAe;IA6CrF,OAAO,CAAC,KAAK;CAMd"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "6.77.0",
3
+ "version": "6.77.2",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -229,7 +229,7 @@
229
229
  "zustand": "^5.0.9",
230
230
  "@uipath/apollo-core": "5.15.1",
231
231
  "@uipath/apollo-ui-icons": "1.2.0",
232
- "@uipath/apollo-wind": "2.65.0"
232
+ "@uipath/apollo-wind": "2.65.1"
233
233
  },
234
234
  "devDependencies": {
235
235
  "@lingui/cli": "^5.6.1",