@zeniai/web-components 4.0.73 → 4.0.74

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 (32) hide show
  1. package/dist/{SessionTimeoutPopup-CUPraZSX.cjs → SessionTimeoutPopup-CPJ7xVae.cjs} +13994 -15272
  2. package/dist/{SessionTimeoutPopup-BjhPnwV1.js → SessionTimeoutPopup-LWwQhDa-.js} +64938 -67855
  3. package/dist/appLocale.d.ts +0 -69
  4. package/dist/cockpit.cjs.js +2 -2
  5. package/dist/cockpit.esm.js +223 -226
  6. package/dist/common/util.d.ts +1 -1
  7. package/dist/components/commentsAndNotes/ThreadsSection.d.ts +1 -5
  8. package/dist/components/common/inputFileElement/InputFileElement.d.ts +2 -2
  9. package/dist/components/spendManagement/chargeCard/components/CardListPagePromoCard.d.ts +0 -1
  10. package/dist/components/taskManagement/TaskDetailPage.d.ts +5 -26
  11. package/dist/components/taskManagement/TaskListRow.d.ts +1 -4
  12. package/dist/components/taskManagement/TaskManagementPage.d.ts +2 -12
  13. package/dist/context/featureProvider/FeatureGateNameConstants.d.ts +1 -17
  14. package/dist/index.cjs.js +1 -1
  15. package/dist/index.d.ts +0 -4
  16. package/dist/index.esm.js +252 -255
  17. package/dist/strings/strings.d.ts +0 -69
  18. package/package.json +6 -6
  19. package/dist/components/commentsAndNotes/components/CannedResponsesPopover.d.ts +0 -10
  20. package/dist/components/common/skeletons/GraphSkeleton.d.ts +0 -17
  21. package/dist/components/spendManagement/chargeCard/skeletons/ChargeCardPromoPageSkeleton.d.ts +0 -2
  22. package/dist/components/spendManagement/chargeCard/skeletons/ChargeCardUserOnboardingPromoPageSkeleton.d.ts +0 -2
  23. package/dist/components/taskManagement/QuickResponsesPage.d.ts +0 -12
  24. package/dist/components/taskManagement/SnoozePopover.d.ts +0 -6
  25. package/dist/components/taskManagement/TaskDescriptionEditor.d.ts +0 -7
  26. package/dist/components/taskManagement/bulkActionPopovers/BulkActionPopover.d.ts +0 -13
  27. package/dist/components/taskManagement/bulkActionPopovers/BulkAssigneesPopover.d.ts +0 -8
  28. package/dist/components/taskManagement/bulkActionPopovers/BulkDatePopover.d.ts +0 -6
  29. package/dist/components/taskManagement/bulkActionPopovers/BulkPriorityPopover.d.ts +0 -5
  30. package/dist/components/taskManagement/bulkActionPopovers/BulkStatusPopover.d.ts +0 -5
  31. package/dist/components/taskManagement/bulkActionPopovers/BulkTagsPopover.d.ts +0 -7
  32. package/dist/components/taskManagement/bulkActionPopovers/BulkTimeSpentPopover.d.ts +0 -5
@@ -1247,16 +1247,6 @@ export declare const zeniStrings: {
1247
1247
  failed: string;
1248
1248
  notification: string;
1249
1249
  };
1250
- snooze_task: {
1251
- success: string;
1252
- failed: string;
1253
- notification: string;
1254
- };
1255
- unsnooze_task: {
1256
- success: string;
1257
- failed: string;
1258
- notification: string;
1259
- };
1260
1250
  update_charge_card: {
1261
1251
  success: string;
1262
1252
  failed: string;
@@ -3885,7 +3875,6 @@ export declare const zeniStrings: {
3885
3875
  defaultInput: string;
3886
3876
  MMMDCommaYYYYformat: string;
3887
3877
  MMMMYYYYFormat: string;
3888
- DDSlashMMSlashYYYYFormat: string;
3889
3878
  MMSlashDSlashYYYYFormat: string;
3890
3879
  MMMDFormat: string;
3891
3880
  MMMYYFormat: string;
@@ -3902,7 +3891,6 @@ export declare const zeniStrings: {
3902
3891
  YYYYformat: string;
3903
3892
  YYYYDashMMDashDFormat: string;
3904
3893
  YYYYDashMMFormat: string;
3905
- YYYYDashMMDashDDTHHmmssFormat: string;
3906
3894
  HHMMFormat: string;
3907
3895
  };
3908
3896
  analytics: {
@@ -3921,7 +3909,6 @@ export declare const zeniStrings: {
3921
3909
  timeFormat: {
3922
3910
  hmmADashDDMMMCommaYYYY: string;
3923
3911
  hhmmAFormat: string;
3924
- dddCommaHmmAFormat: string;
3925
3912
  };
3926
3913
  months: string[];
3927
3914
  commonSetUp: {
@@ -6915,13 +6902,6 @@ export declare const zeniStrings: {
6915
6902
  status: string;
6916
6903
  priority: string;
6917
6904
  timeSpent: string;
6918
- visibility: string;
6919
- };
6920
- tabs: {
6921
- live: string;
6922
- archived: string;
6923
- deleted: string;
6924
- snoozed: string;
6925
6905
  };
6926
6906
  pageTitle: string;
6927
6907
  searchPlaceHolder: string;
@@ -6933,19 +6913,6 @@ export declare const zeniStrings: {
6933
6913
  tasksSelected: string;
6934
6914
  moveTo: string;
6935
6915
  ungroup: string;
6936
- status: string;
6937
- priority: string;
6938
- assignees: string;
6939
- dates: string;
6940
- tags: string;
6941
- timeSpent: string;
6942
- apply: string;
6943
- archive: string;
6944
- delete: string;
6945
- unarchive: string;
6946
- undoDelete: string;
6947
- unsnooze: string;
6948
- noTagsAvailable: string;
6949
6916
  };
6950
6917
  taskGroup: {
6951
6918
  groupNamePlaceholder: string;
@@ -6993,44 +6960,8 @@ export declare const zeniStrings: {
6993
6960
  attachmentTitle: string;
6994
6961
  activitySectionTitle: string;
6995
6962
  taskDetailsTitle: string;
6996
- viewDetailsLabel: string;
6997
- groupLabel: string;
6998
6963
  taskCommentCreationMessage: string;
6999
6964
  totalTimeSpent: string;
7000
- archiveTooltip: string;
7001
- unarchiveTooltip: string;
7002
- deleteTooltip: string;
7003
- snoozeTooltip: string;
7004
- snoozeUntil: string;
7005
- snoozeLaterToday: string;
7006
- snoozeTomorrow: string;
7007
- snoozeThisWeekend: string;
7008
- snoozeNextWeek: string;
7009
- snoozePickDateTime: string;
7010
- snoozeBtnLabel: string;
7011
- unsnoozeBtnLabel: string;
7012
- snoozedUntilBanner: string;
7013
- viewParentTask: string;
7014
- visibilityLabel: string;
7015
- visibilityPublic: string;
7016
- visibilityPrivate: string;
7017
- visibilityRequired: string;
7018
- commentsSectionTitle: string;
7019
- };
7020
- quickResponses: {
7021
- pageTitle: string;
7022
- pageSubtitle: string;
7023
- newTemplate: string;
7024
- templateNamePlaceholder: string;
7025
- messageContentPlaceholder: string;
7026
- cancel: string;
7027
- save: string;
7028
- nameHeader: string;
7029
- previewHeader: string;
7030
- actionsHeader: string;
7031
- loading: string;
7032
- emptyState: string;
7033
- manageTemplates: string;
7034
6965
  };
7035
6966
  };
7036
6967
  address: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-components",
3
- "version": "4.0.73",
3
+ "version": "4.0.74",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -49,8 +49,8 @@
49
49
  "@statsig/react-bindings": "^3.14.0",
50
50
  "@stripe/react-stripe-js": "^2.7.3",
51
51
  "@stripe/stripe-js": "^4.4.0",
52
- "@zeniai/client-analytics": "2.0.7",
53
- "@zeniai/client-epic-state": "5.0.31",
52
+ "@zeniai/client-analytics": "2.0.8",
53
+ "@zeniai/client-epic-state": "5.0.32",
54
54
  "autosuggest-highlight": "^3.2.1",
55
55
  "browser-image-compression": "^2.0.2",
56
56
  "countries-list": "^2.6.1",
@@ -65,7 +65,6 @@
65
65
  "memoize-one": "^5.2.1",
66
66
  "nanoid": "^3.3.8",
67
67
  "numeral": "^2.0.6",
68
- "pdf-lib": "^1.17.1",
69
68
  "react": "18.3.1",
70
69
  "react-circular-progressbar": "^2.1.0",
71
70
  "react-content-loader": "^7.0.2",
@@ -84,6 +83,7 @@
84
83
  "react-move": "^6.5.0",
85
84
  "react-number-format": "^4.9.3",
86
85
  "react-pdf": "^9.1.1",
86
+ "pdf-lib": "^1.17.1",
87
87
  "react-phone-number-input": "^3.1.50",
88
88
  "react-plaid-link": "^3.3.2",
89
89
  "react-player": "^3.4.0",
@@ -209,8 +209,8 @@
209
209
  "@types/color": "^3.0.2",
210
210
  "@types/react-select": "^4.0.18",
211
211
  "@types/react-window": "^1.8.8",
212
- "@zeniai/client-analytics": "2.0.7",
213
- "@zeniai/client-epic-state": "5.0.31",
212
+ "@zeniai/client-analytics": "2.0.5",
213
+ "@zeniai/client-epic-state": "5.0.22",
214
214
  "color": "^3.1.3",
215
215
  "react": "18.3.1",
216
216
  "react-dom": "18.3.1",
@@ -1,10 +0,0 @@
1
- import { CannedResponse } from '@zeniai/client-epic-state';
2
- interface CannedResponsesPopoverProps {
3
- cannedResponses: CannedResponse[];
4
- isLoading: boolean;
5
- onFetch: () => void;
6
- onSelect: (content: string) => void;
7
- onManageClick?: () => void;
8
- }
9
- export declare const CannedResponsesPopover: ({ cannedResponses, isLoading, onFetch, onManageClick, onSelect, }: CannedResponsesPopoverProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,17 +0,0 @@
1
- export interface GraphSkeletonProps {
2
- /** Background (base) color of the shimmering silhouette. */
3
- backgroundColor?: string;
4
- /** Foreground (highlight) color of the shimmer sweep. */
5
- foregroundColor?: string;
6
- /** Height of the graph silhouette. Defaults to the Figma value (140px). */
7
- height?: number | string;
8
- /** Width of the graph silhouette. Defaults to 100% of the parent. */
9
- width?: number | string;
10
- }
11
- /**
12
- * Loading skeleton for a line graph. Renders the line-graph silhouette from
13
- * the Figma "V3 Skelton Loaders" Graph variant with a shimmer sweep — without
14
- * any surrounding card chrome or title placeholder.
15
- */
16
- export declare const GraphSkeleton: ({ backgroundColor, foregroundColor, height, width, }?: GraphSkeletonProps) => import("react/jsx-runtime").JSX.Element;
17
- export default GraphSkeleton;
@@ -1,2 +0,0 @@
1
- declare const ChargeCardPromoPageSkeleton: () => import("react/jsx-runtime").JSX.Element;
2
- export default ChargeCardPromoPageSkeleton;
@@ -1,2 +0,0 @@
1
- declare const ChargeCardUserOnboardingPromoPageSkeleton: () => import("react/jsx-runtime").JSX.Element;
2
- export default ChargeCardUserOnboardingPromoPageSkeleton;
@@ -1,12 +0,0 @@
1
- import { CannedResponse, ID } from '@zeniai/client-epic-state';
2
- export interface QuickResponsesPageProps {
3
- cannedResponses: CannedResponse[];
4
- isLoading: boolean;
5
- isSaving: boolean;
6
- onBackClick: () => void;
7
- onDelete: (cannedResponseId: ID) => void;
8
- onFetch: () => void;
9
- onSave: (name: string, content: string, cannedResponseId?: ID) => void;
10
- }
11
- declare const QuickResponsesPage: ({ cannedResponses, isLoading, isSaving, onBackClick, onDelete, onFetch, onSave, }: QuickResponsesPageProps) => import("react/jsx-runtime").JSX.Element;
12
- export default QuickResponsesPage;
@@ -1,6 +0,0 @@
1
- export default function SnoozePopover({ anchorEl, onSnooze, onUnsnooze, onClose, }: Readonly<{
2
- anchorEl: HTMLElement | null;
3
- onClose: () => void;
4
- onSnooze: (snoozedUntil: string) => void;
5
- onUnsnooze?: () => void;
6
- }>): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- interface TaskDescriptionEditorProps {
2
- initialValue?: string;
3
- placeholder?: string;
4
- onChange: (html: string) => void;
5
- }
6
- export default function TaskDescriptionEditor({ initialValue, placeholder, onChange, }: Readonly<TaskDescriptionEditorProps>): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,13 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface BulkActionPopoverProps {
3
- anchorEl: HTMLElement | null;
4
- children: ReactNode;
5
- contentStyle?: React.CSSProperties;
6
- onClose: () => void;
7
- }
8
- export default function BulkActionPopover({ anchorEl, children, contentStyle, onClose, }: Readonly<BulkActionPopoverProps>): import("react/jsx-runtime").JSX.Element;
9
- export declare const BulkActionOptionContainer: import('@emotion/styled').StyledComponent<{
10
- theme?: import('@emotion/react').Theme;
11
- as?: React.ElementType;
12
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
- export {};
@@ -1,8 +0,0 @@
1
- import { User, UserGroup } from '@zeniai/client-epic-state';
2
- export default function BulkAssigneesPopover({ anchorEl, userList, userGroupList, onSelect, onClose, }: Readonly<{
3
- anchorEl: HTMLElement | null;
4
- userGroupList: UserGroup[];
5
- userList: User[];
6
- onClose: () => void;
7
- onSelect: (userIds: string[], groupAssigneeIds: string[]) => void;
8
- }>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ZeniDate } from '@zeniai/client-epic-state';
2
- export default function BulkDatePopover({ anchorEl, onSelect, onClose, }: Readonly<{
3
- anchorEl: HTMLElement | null;
4
- onClose: () => void;
5
- onSelect: (date: ZeniDate) => void;
6
- }>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export default function BulkPriorityPopover({ anchorEl, onSelect, onClose, }: Readonly<{
2
- anchorEl: HTMLElement | null;
3
- onClose: () => void;
4
- onSelect: (priorityCode: string) => void;
5
- }>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export default function BulkStatusPopover({ anchorEl, onSelect, onClose, }: Readonly<{
2
- anchorEl: HTMLElement | null;
3
- onClose: () => void;
4
- onSelect: (statusCode: string) => void;
5
- }>): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { Tag } from '@zeniai/client-epic-state';
2
- export default function BulkTagsPopover({ anchorEl, tagList, onSelect, onClose, }: Readonly<{
3
- anchorEl: HTMLElement | null;
4
- tagList: Tag[];
5
- onClose: () => void;
6
- onSelect: (tagIds: string[]) => void;
7
- }>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export default function BulkTimeSpentPopover({ anchorEl, onSelect, onClose, }: Readonly<{
2
- anchorEl: HTMLElement | null;
3
- onClose: () => void;
4
- onSelect: (timeSpent: string) => void;
5
- }>): import("react/jsx-runtime").JSX.Element;