@hiver/connector-agent 4.25.0-facets-beta.0 → 4.25.0

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 (60) hide show
  1. package/app/connector-cards.d.ts.map +1 -1
  2. package/app/hig-slack/HigSlackSection.d.ts.map +1 -1
  3. package/app/omni-slack/SlackConnectModalIsland.d.ts.map +1 -1
  4. package/components/ui/layover/view.d.ts +2 -1
  5. package/components/ui/layover/view.d.ts.map +1 -1
  6. package/constants/endpoints.d.ts +1 -0
  7. package/constants/endpoints.d.ts.map +1 -1
  8. package/constants/global-constants.d.ts +1 -0
  9. package/constants/global-constants.d.ts.map +1 -1
  10. package/constants/tracking-events.d.ts +7 -0
  11. package/constants/tracking-events.d.ts.map +1 -1
  12. package/features/connector-cards/components/connector-header/index.d.ts +1 -0
  13. package/features/connector-cards/components/connector-header/index.d.ts.map +1 -1
  14. package/features/connector-cards/hooks/useUserAuthFlow.d.ts +10 -2
  15. package/features/connector-cards/hooks/useUserAuthFlow.d.ts.map +1 -1
  16. package/features/slack/components/SlackConnectModal.d.ts +4 -3
  17. package/features/slack/components/SlackConnectModal.d.ts.map +1 -1
  18. package/features/slack/components/SlackConversationTab.d.ts.map +1 -1
  19. package/features/slack/components/SlackReauthScreen.d.ts.map +1 -1
  20. package/features/write-form/api/linkSearch.d.ts +13 -0
  21. package/features/write-form/api/linkSearch.d.ts.map +1 -0
  22. package/features/write-form/components/card-linking/card-linking.d.ts +2 -1
  23. package/features/write-form/components/card-linking/card-linking.d.ts.map +1 -1
  24. package/features/write-form/components/link-search/constants.d.ts +38 -0
  25. package/features/write-form/components/link-search/constants.d.ts.map +1 -0
  26. package/features/write-form/components/link-search/index.d.ts +23 -0
  27. package/features/write-form/components/link-search/index.d.ts.map +1 -0
  28. package/features/write-form/components/link-search/kit.d.ts +85 -0
  29. package/features/write-form/components/link-search/kit.d.ts.map +1 -0
  30. package/features/write-form/components/link-search/level-fields.d.ts +18 -0
  31. package/features/write-form/components/link-search/level-fields.d.ts.map +1 -0
  32. package/features/write-form/components/link-search/link-menu.d.ts +30 -0
  33. package/features/write-form/components/link-search/link-menu.d.ts.map +1 -0
  34. package/features/write-form/components/link-search/link-select.d.ts +26 -0
  35. package/features/write-form/components/link-search/link-select.d.ts.map +1 -0
  36. package/features/write-form/components/link-search/parts.d.ts +7 -0
  37. package/features/write-form/components/link-search/parts.d.ts.map +1 -0
  38. package/features/write-form/components/link-search/styles.d.ts +12 -0
  39. package/features/write-form/components/link-search/styles.d.ts.map +1 -0
  40. package/features/write-form/components/link-search/task-search.d.ts +24 -0
  41. package/features/write-form/components/link-search/task-search.d.ts.map +1 -0
  42. package/features/write-form/components/link-search/use-link-search.d.ts +23 -0
  43. package/features/write-form/components/link-search/use-link-search.d.ts.map +1 -0
  44. package/features/write-form/components/link-search/use-menu-keys.d.ts +12 -0
  45. package/features/write-form/components/link-search/use-menu-keys.d.ts.map +1 -0
  46. package/features/write-form/components/link-search/utils.d.ts +13 -0
  47. package/features/write-form/components/link-search/utils.d.ts.map +1 -0
  48. package/features/write-form/components/link-search/v2-theme.d.ts +10 -0
  49. package/features/write-form/components/link-search/v2-theme.d.ts.map +1 -0
  50. package/index.es.js +12613 -11701
  51. package/index.umd.js +775 -703
  52. package/main-dev.d.ts.map +1 -1
  53. package/package.json +4 -2
  54. package/store/slice.d.ts +3 -1
  55. package/store/slice.d.ts.map +1 -1
  56. package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
  57. package/testing/test-utils.d.ts +4 -2
  58. package/testing/test-utils.d.ts.map +1 -1
  59. package/types/form.d.ts +24 -0
  60. package/types/form.d.ts.map +1 -1
@@ -0,0 +1,30 @@
1
+ import { KeyboardEvent, ReactNode } from 'react';
2
+ export interface MenuOption {
3
+ value: string;
4
+ label: string;
5
+ }
6
+ interface LinkMenuProps<T extends MenuOption> {
7
+ id: string;
8
+ anchorEl: HTMLElement | null;
9
+ open: boolean;
10
+ options: T[];
11
+ activeIndex: number;
12
+ setActiveIndex: (index: number) => void;
13
+ onSelect: (option: T) => void;
14
+ onClose: () => void;
15
+ loading?: boolean;
16
+ loadingText?: string;
17
+ emptyText?: string | null;
18
+ search?: {
19
+ value: string;
20
+ onChange: (value: string) => void;
21
+ onKeyDown: (event: KeyboardEvent) => void;
22
+ };
23
+ optionBadge?: (option: T) => string | undefined;
24
+ isOptionDisabled?: (option: T) => boolean;
25
+ optionTooltip?: (option: T) => string | undefined;
26
+ footer?: ReactNode;
27
+ }
28
+ export declare const LinkMenu: <T extends MenuOption>({ id, anchorEl, open, options, activeIndex, setActiveIndex, onSelect, onClose, loading, loadingText, emptyText, search, optionBadge, isOptionDisabled, optionTooltip, footer }: LinkMenuProps<T>) => import('react').ReactPortal | null;
29
+ export {};
30
+ //# sourceMappingURL=link-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-menu.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-menu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA0BtD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa,CAAC,CAAC,SAAS,UAAU;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;KAAE,CAAC;IAEzG,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,UAAU,kLAiB1C,aAAa,CAAC,CAAC,CAAC,uCAyGlB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { ReactNode } from 'react';
2
+ import { MenuOption } from './link-menu';
3
+ export interface LinkSelectProps<T extends MenuOption> {
4
+ id: string;
5
+ label: string;
6
+ value: T | null;
7
+ options: T[];
8
+ placeholder: string;
9
+ helperText?: string;
10
+ disabled?: boolean;
11
+ hasError?: boolean;
12
+ loading?: boolean;
13
+ loadingText?: string;
14
+ emptyText?: string | null;
15
+ onSearch: (query: string) => void;
16
+ onOpen?: () => void;
17
+ onChange: (option: T) => void;
18
+ onClear?: () => void;
19
+ renderValue?: (option: T) => string;
20
+ isOptionDisabled?: (option: T) => boolean;
21
+ optionTooltip?: (option: T) => string | undefined;
22
+ optionBadge?: (option: T) => string | undefined;
23
+ footer?: ReactNode;
24
+ }
25
+ export declare const LinkSelect: <T extends MenuOption>({ id, label, value, options, placeholder, helperText, disabled, hasError, loading, loadingText, emptyText, onSearch, onOpen, onChange, onClear, renderValue, isOptionDisabled, optionTooltip, optionBadge, footer }: LinkSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
26
+ //# sourceMappingURL=link-select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-select.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-select.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,UAAU;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAE9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC;IACpC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAElD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,UAAU,uNAqB5C,eAAe,CAAC,CAAC,CAAC,4CAmHpB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const RetryMessage: ({ children, onRetry }: {
3
+ children: ReactNode;
4
+ onRetry?: () => void;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const CapNote: () => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=parts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/parts.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,eAAO,MAAM,YAAY,0BAA2B;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,4CAYhG,CAAC;AAGF,eAAO,MAAM,OAAO,+CAKnB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { StackProps } from '@hiver/hiver-ui-kit';
2
+ import { StyledComponent } from '@emotion/styled';
3
+ import { ComponentProps } from 'react';
4
+ type El<T extends keyof JSX.IntrinsicElements> = StyledComponent<ComponentProps<T>>;
5
+ export declare const Title: El<'p'>;
6
+ export declare const Form: StyledComponent<StackProps>;
7
+ export declare const Alert: StyledComponent<StackProps>;
8
+ export declare const View: StyledComponent<StackProps>;
9
+ export declare const Scroll: StyledComponent<StackProps>;
10
+ export declare const Footer: StyledComponent<StackProps>;
11
+ export {};
12
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,EAAE,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,iBAAiB,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAKpF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,GAAG,CAMzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,UAAU,CAI5C,CAAC;AAIF,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,UAAU,CA8B7C,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,UAAU,CAK5C,CAAC;AAIF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAc9C,CAAC;AAIF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAa9C,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { ReactNode } from 'react';
2
+ import { LinkSearchRow } from '../../../../types/form';
3
+ import { LinkSearchStatus } from './use-link-search';
4
+ import { TaskOption } from './utils';
5
+ interface IProps {
6
+ id: string;
7
+ label: string;
8
+ value: TaskOption | null;
9
+ inputValue: string;
10
+ rows: LinkSearchRow[];
11
+ status: LinkSearchStatus;
12
+ app: string;
13
+ placeholder: string;
14
+ helperText?: ReactNode;
15
+ showCapNote?: boolean;
16
+ hideEmptyMessage?: boolean;
17
+ disabled?: boolean;
18
+ hasError?: boolean;
19
+ onInputChange: (value: string) => void;
20
+ onChange: (option: TaskOption | null) => void;
21
+ }
22
+ export declare const TaskSearch: ({ id, label, value, inputValue, rows, status, app, placeholder, helperText, showCapNote, hideEmptyMessage, disabled, hasError, onInputChange, onChange }: IProps) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
24
+ //# sourceMappingURL=task-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-search.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/task-search.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,MAAM,EAAE,gBAAgB,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,UAAU,6JAgBpB,MAAM,4CA0GR,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { LinkSearchResponse } from '../../../../types/form';
2
+ export declare const LINK_SEARCH_DEBOUNCE_MS = 300;
3
+ export declare const LINK_SEARCH_TIMEOUT_MS = 20000;
4
+ export type LinkSearchStatus = 'idle' | 'loading' | 'done' | 'error' | 'unavailable';
5
+ interface UseLinkSearchProps {
6
+ formId: string;
7
+ query: string;
8
+ args: Record<string, string | number>;
9
+ enabled: boolean;
10
+ onSettled?: (result: LinkSearchResponse) => void;
11
+ }
12
+ /**
13
+ * Debounced search against the link form's link-search endpoint. Only the
14
+ * latest request may update state, so a slow response for an older query can
15
+ * never overwrite results for the current one.
16
+ */
17
+ export declare const useLinkSearch: ({ formId, query, args, enabled, onSettled }: UseLinkSearchProps) => {
18
+ status: LinkSearchStatus;
19
+ result: LinkSearchResponse | null;
20
+ retry: () => void;
21
+ };
22
+ export {};
23
+ //# sourceMappingURL=use-link-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-link-search.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/use-link-search.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,eAAO,MAAM,sBAAsB,QAAS,CAAC;AAI7C,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,aAAa,CAAC;AAErF,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAClD;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,gDAAiD,kBAAkB;;;;CA4D5F,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { KeyboardEvent } from 'react';
2
+ import { MenuOption } from './link-menu';
3
+ export declare const useMenuKeys: <T extends MenuOption>({ open, options, activeIndex, setActiveIndex, isOptionDisabled, onSelect, onClose }: {
4
+ open: boolean;
5
+ options: T[];
6
+ activeIndex: number;
7
+ setActiveIndex: (index: number) => void;
8
+ isOptionDisabled?: (option: T) => boolean;
9
+ onSelect: (option: T) => void;
10
+ onClose: () => void;
11
+ }) => (event: KeyboardEvent) => void;
12
+ //# sourceMappingURL=use-menu-keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-menu-keys.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/use-menu-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,UAAU,uFAQ7C;IACD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,aACgB,aAAa,SAiB7B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FormState, LinkSearchRow } from '../../../../types/form';
2
+ import { WriteFormFields } from '../../types/form';
3
+ export interface TaskOption {
4
+ value: string;
5
+ label: string;
6
+ row: LinkSearchRow;
7
+ }
8
+ export declare const toTaskOption: (row: LinkSearchRow) => TaskOption;
9
+ export declare const isLevelReady: (field: WriteFormFields, formState: FormState) => boolean;
10
+ export declare const isUrl: (query: string) => boolean;
11
+ export declare const getQueryId: (query: string) => string;
12
+ export declare const looksLikeId: (value: string) => boolean;
13
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,aAAa,CAAC;CACpB;AAMD,eAAO,MAAM,YAAY,QAAS,aAAa,KAAG,UAKjD,CAAC;AAGF,eAAO,MAAM,YAAY,UAAW,eAAe,aAAa,SAAS,YAGxE,CAAC;AAIF,eAAO,MAAM,KAAK,UAAW,MAAM,YAAmC,CAAC;AAMvE,eAAO,MAAM,UAAU,UAAW,MAAM,WAUvC,CAAC;AAGF,eAAO,MAAM,WAAW,UAAW,MAAM,YAA+C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * The link view's hiver-ui-kit v2 theme. v2 components read `theme.v2`, which the app-wide theme
4
+ * doesn't carry (adding it there re-themes every v1 card), so the view gets it here. Neutral text,
5
+ * border and surface tokens follow the host's connector tokens, and brand follows the host's primary.
6
+ */
7
+ export declare const LinkSearchTheme: ({ children }: {
8
+ children: ReactNode;
9
+ }) => import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=v2-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2-theme.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/v2-theme.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA2EvC;;;;GAIG;AACH,eAAO,MAAM,eAAe,iBAAkB;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAOpE,CAAC"}