@uipath/apollo-react 7.11.1 → 7.11.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.
@@ -164,6 +164,7 @@ const Attachment = /*#__PURE__*/ external_react_default().memo(({ attachment, on
164
164
  }, [
165
165
  attachment
166
166
  ]);
167
+ const name = attachment.name;
167
168
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(StyledAttachment, {
168
169
  ref: attachmentRef,
169
170
  id: attachment.name,
@@ -201,7 +202,7 @@ const Attachment = /*#__PURE__*/ external_react_default().memo(({ attachment, on
201
202
  ariaLabel: _({
202
203
  id: 'autopilot-chat.common.attachments.remove-file-name',
203
204
  values: {
204
- 0: attachment.name
205
+ name: name
205
206
  }
206
207
  }),
207
208
  onClick: ()=>{
@@ -1 +1 @@
1
- {"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../../../../../src/material/components/ap-chat/components/common/attachments.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAgG1B,UAAU,eAAe;IACvB,UAAU,EAAE,qBAAqB,CAAC;IAClC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,0FACyC,eAAe,6CA0H9E,CAAC;AAEF,UAAU,gBAAgB;IACxB,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC7C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,6GAOnB,gBAAgB,6CA0DpB,CAAC"}
1
+ {"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../../../../../src/material/components/ap-chat/components/common/attachments.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAgG1B,UAAU,eAAe;IACvB,UAAU,EAAE,qBAAqB,CAAC;IAClC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,0FACyC,eAAe,6CA4H9E,CAAC;AAEF,UAAU,gBAAgB;IACxB,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC7C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,6GAOnB,gBAAgB,6CA0DpB,CAAC"}
@@ -124,6 +124,7 @@ const Attachment = /*#__PURE__*/ react.memo(({ attachment, onRemove, shouldFocus
124
124
  }, [
125
125
  attachment
126
126
  ]);
127
+ const name = attachment.name;
127
128
  return /*#__PURE__*/ jsxs(StyledAttachment, {
128
129
  ref: attachmentRef,
129
130
  id: attachment.name,
@@ -161,7 +162,7 @@ const Attachment = /*#__PURE__*/ react.memo(({ attachment, onRemove, shouldFocus
161
162
  ariaLabel: _({
162
163
  id: 'autopilot-chat.common.attachments.remove-file-name',
163
164
  values: {
164
- 0: attachment.name
165
+ name: name
165
166
  }
166
167
  }),
167
168
  onClick: ()=>{
@@ -140,10 +140,10 @@ const ResourceChipBaseInner = ({ label, icon, readonly = false, onDelete })=>{
140
140
  iconSize: spacing.compactMode ? apollo_core_default().Icon.IconXxs : apollo_core_default().Icon.IconXs,
141
141
  iconName: "close",
142
142
  tooltip: _({
143
- id: 'autopilot-chat.common.attachments.remove-file'
143
+ id: 'autopilot-chat.input.resource-chip.remove'
144
144
  }),
145
145
  ariaLabel: _({
146
- id: 'autopilot-chat.common.attachments.remove-file-name',
146
+ id: 'autopilot-chat.input.resource-chip.remove-name',
147
147
  values: {
148
148
  label: label
149
149
  }
@@ -100,10 +100,10 @@ const ResourceChipBaseInner = ({ label, icon, readonly = false, onDelete })=>{
100
100
  iconSize: spacing.compactMode ? apollo_core.Icon.IconXxs : apollo_core.Icon.IconXs,
101
101
  iconName: "close",
102
102
  tooltip: _({
103
- id: 'autopilot-chat.common.attachments.remove-file'
103
+ id: 'autopilot-chat.input.resource-chip.remove'
104
104
  }),
105
105
  ariaLabel: _({
106
- id: 'autopilot-chat.common.attachments.remove-file-name',
106
+ id: 'autopilot-chat.input.resource-chip.remove-name',
107
107
  values: {
108
108
  label: label
109
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "7.11.1",
3
+ "version": "7.11.2",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -244,9 +244,9 @@
244
244
  "use-sync-external-store": "^1.2.0",
245
245
  "zod": "^4.3.5",
246
246
  "zustand": "^5.0.9",
247
- "@uipath/apollo-ui-icons": "1.2.1",
248
247
  "@uipath/apollo-core": "5.15.2",
249
- "@uipath/apollo-wind": "2.79.1"
248
+ "@uipath/apollo-ui-icons": "1.2.1",
249
+ "@uipath/apollo-wind": "2.80.0"
250
250
  },
251
251
  "devDependencies": {
252
252
  "@lingui/cli": "^5.6.1",