@hiver/connector-agent 4.0.1-feedbackForm-beta.14 → 4.0.1

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 (33) hide show
  1. package/app/connector-cards.d.ts.map +1 -1
  2. package/constants/card.d.ts +0 -1
  3. package/constants/card.d.ts.map +1 -1
  4. package/constants/global-constants.d.ts +2 -0
  5. package/constants/global-constants.d.ts.map +1 -1
  6. package/constants/tracking-events.d.ts +0 -4
  7. package/constants/tracking-events.d.ts.map +1 -1
  8. package/features/connector-cards/components/card-list/style.d.ts +1 -0
  9. package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
  10. package/features/connector-cards/components/connector-header/index.d.ts +0 -1
  11. package/features/connector-cards/components/connector-header/index.d.ts.map +1 -1
  12. package/features/write-form/components/write-form/index.d.ts +1 -2
  13. package/features/write-form/components/write-form/index.d.ts.map +1 -1
  14. package/index.d.ts +0 -1
  15. package/index.d.ts.map +1 -1
  16. package/index.es.js +6473 -7030
  17. package/index.umd.js +245 -320
  18. package/package.json +1 -1
  19. package/testing/setup-test.d.ts.map +1 -1
  20. package/utils/index.d.ts +1 -6
  21. package/utils/index.d.ts.map +1 -1
  22. package/constants/feedback.d.ts +0 -7
  23. package/constants/feedback.d.ts.map +0 -1
  24. package/features/connector-cards/components/connector-header/help-dropdown.d.ts +0 -15
  25. package/features/connector-cards/components/connector-header/help-dropdown.d.ts.map +0 -1
  26. package/features/feedback/components/star-rating.d.ts +0 -8
  27. package/features/feedback/components/star-rating.d.ts.map +0 -1
  28. package/features/feedback/index.d.ts +0 -7
  29. package/features/feedback/index.d.ts.map +0 -1
  30. package/features/feedback/styles.d.ts +0 -8
  31. package/features/feedback/styles.d.ts.map +0 -1
  32. package/hooks/useAutoScroll.d.ts +0 -10
  33. package/hooks/useAutoScroll.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-agent",
3
- "version": "4.0.1-feedbackForm-beta.14",
3
+ "version": "4.0.1",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"setup-test.d.ts","sourceRoot":"","sources":["../../src/testing/setup-test.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,2BAA2B,CAAC"}
1
+ {"version":3,"file":"setup-test.d.ts","sourceRoot":"","sources":["../../src/testing/setup-test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
package/utils/index.d.ts CHANGED
@@ -59,10 +59,5 @@ export declare const parseCardData: (data: ISpecificCardSlice) => ISpecificCard;
59
59
  export declare const getUniqueConnectorsFromCards: (cards: {
60
60
  [key: string]: ISpecificCard;
61
61
  } | null) => string[];
62
- export declare const buildFeedbackURL: ({ url, params }: {
63
- url: string;
64
- params: {
65
- [key: string]: string | undefined | null;
66
- };
67
- }) => string;
62
+ export declare const getGotAnyFeedbackUrl: (userId: string | undefined, ugId: string | undefined, currentSmIds: string[], uniqueConnectors: string[]) => string;
68
63
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAM3C,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE9F,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+DA6JiizM,eAAe;kCAjHhlzM,eAAe,iBAAiB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAxBf,eAGrC;;;oBAIE,eAAe;;;;;;;4XAvBzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAOF,eAA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AC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAOF,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAAU,MAAM,YAIxE,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAAa,MAAM,gBAAe,OAAO,aAAoB,OAAO,SA2BnG,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,sBAAuB,aAAa,2BAAoB,MAAM,YAM5F,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,MAAM,UAAU;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,KAAG,MAElG,CAAC;AAEF,eAAO,MAAM,gCAAgC,SACrC,SAAS,SACR,MAAM,cACD,OAAO,cACR,OAAO,eAcnB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,kBAAkB,KAAG,aA4BxD,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAAW;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAAE,GAAG,IAAI,aAY1F,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB,MAAM,oBACR,MAAM,4BACE,MAAM,EAAE,oBACJ,MAAM,EAAE,WAK3B,CAAC"}
@@ -1,7 +0,0 @@
1
- export declare const FEEDBACK_MSG = "Share your feedback";
2
- export declare const FEEDBACK_BUTTON_TOOLTIP = "Got any feedback?";
3
- export declare const FEEDBACK_BUTTON_URL = "https://txeep2wshyx.typeform.com/to/RuOwF9SG";
4
- export declare const STAR_RATING_FEEDBACK_URL = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd";
5
- export declare const MISSING_ANY_FIELDS_URL = "https://txeep2wshyx.typeform.com/to/bqhVSfDk";
6
- export declare const CONTACT_SUPPORT_URL = "https://cdn.hiverhq.com/chat-support/hiver-chat.html";
7
- //# sourceMappingURL=feedback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../src/constants/feedback.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,wBAAwB,CAAC;AAClD,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAE3D,eAAO,MAAM,mBAAmB,iDAAiD,CAAC;AAClF,eAAO,MAAM,wBAAwB,iDAAiD,CAAC;AACvF,eAAO,MAAM,sBAAsB,iDAAiD,CAAC;AAErF,eAAO,MAAM,mBAAmB,yDAAyD,CAAC"}
@@ -1,15 +0,0 @@
1
- type Props = {
2
- options: DropdownEntry[];
3
- anchor: HTMLElement | null;
4
- open: boolean;
5
- onClose: () => void;
6
- };
7
- export type DropdownEntry = {
8
- id: string;
9
- label: string;
10
- icon: JSX.Element;
11
- onClick: () => void;
12
- };
13
- export declare const HelpDropdown: ({ options, anchor, open, onClose }: Props) => import("react/jsx-runtime").JSX.Element;
14
- export {};
15
- //# sourceMappingURL=help-dropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"help-dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/connector-header/help-dropdown.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,uCAAwC,KAAK,4CAWrE,CAAC"}
@@ -1,8 +0,0 @@
1
- type Props = {
2
- rating: number;
3
- setRating: (rating: number) => void;
4
- count?: number;
5
- };
6
- export declare const StarRating: ({ rating, setRating, count }: Props) => import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=star-rating.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"star-rating.d.ts","sourceRoot":"","sources":["../../../../src/features/feedback/components/star-rating.tsx"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,iCAAsC,KAAK,4CA2BjE,CAAC"}
@@ -1,7 +0,0 @@
1
- type Props = {
2
- connectors: string[];
3
- expanded?: boolean;
4
- };
5
- export declare const Feedback: ({ connectors, expanded }: Props) => import("react/jsx-runtime").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/feedback/index.tsx"],"names":[],"mappings":"AAmBA,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,6BAAsC,KAAK,4CA2G/D,CAAC"}
@@ -1,8 +0,0 @@
1
- import { StyledComponent } from '@emotion/styled';
2
- import { IconButtonProps, StackProps } from '@hiver/hiver-ui-kit';
3
- export declare const CollapsedFeedbackContainer: StyledComponent<StackProps>;
4
- export declare const ExpandedFeedbackContainer: StyledComponent<StackProps>;
5
- export declare const CloseButton: StyledComponent<IconButtonProps>;
6
- export declare const StarRatingContainer: StyledComponent<StackProps>;
7
- export declare const StarRatingItem: StyledComponent<StackProps>;
8
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/features/feedback/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAc,eAAe,EAAoB,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AAoC/G,eAAO,MAAM,0BAA0B,EAAE,eAAe,CAAC,UAAU,CA+BlE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,eAAe,CAAC,UAAU,CAoBjE,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAIxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,UAAU,CAI3D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAItD,CAAC"}
@@ -1,10 +0,0 @@
1
- interface UseAutoScrollOptions {
2
- delayAfterLoad?: number;
3
- }
4
- export declare const useAutoScroll: (scrollToRef: React.RefObject<HTMLDivElement>, options?: UseAutoScrollOptions) => {
5
- scrollOnceAfterLoad: (isLoadingComplete: boolean, behavior?: ScrollBehavior) => void;
6
- resetScrollState: () => void;
7
- hasScrolledOnce: boolean;
8
- };
9
- export {};
10
- //# sourceMappingURL=useAutoScroll.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAutoScroll.d.ts","sourceRoot":"","sources":["../../src/hooks/useAutoScroll.ts"],"names":[],"mappings":"AAEA,UAAU,oBAAoB;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,gBAAiB,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,YAAW,oBAAoB;6CAiBjF,OAAO,aAAY,cAAc;;;CAuCxD,CAAC"}