@abyss-project/commons-front-core 14.0.0 → 15.0.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.
- package/README.md +1 -1
- package/dist/{CookieConsentSettings-DyJGEnVA.js → CookieConsentSettings-B7NfjgaI.js} +1 -1
- package/dist/{Surface-B_J_I_1i.js → Surface-BEhoEhyC.js} +214 -84
- package/dist/{Tabs-_TzugjHZ.js → Tabs-DJ9_ZFjM.js} +649 -644
- package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +2 -0
- package/dist/auth/components/AuthFlow/steps/MfaEnrollmentStep.component.d.ts +2 -0
- package/dist/auth/components/AuthFlow/steps/MfaStep.component.d.ts +10 -4
- package/dist/auth/components/AuthFlow/steps/PasskeyNudgeStep.component.d.ts +3 -1
- package/dist/auth/components/MfaRequirementBanner/MfaRequirementBanner.component.d.ts +3 -1
- package/dist/auth/components/SecuritySettings/SecuritySettings.component.d.ts +1 -1
- package/dist/auth/components/SecuritySettings/sections/PasskeysSection.component.d.ts +6 -1
- package/dist/auth/components/SecuritySettings/sections/RecoveryCodesSection.component.d.ts +3 -1
- package/dist/auth/components/SecuritySettings/sections/TrustedDevicesSection.component.d.ts +6 -0
- package/dist/auth/components/index.d.ts +1 -0
- package/dist/auth/components/shared/SingleDevicePasskeyAdvice.component.d.ts +13 -0
- package/dist/auth/components/shared/passkey-ceremonies.d.ts +6 -1
- package/dist/auth/components/shared/support-contact.d.ts +2 -0
- package/dist/auth/components/test-support/auth-sdk.mock.d.ts +5 -0
- package/dist/auth/components/test-support/auth-test-harness.d.ts +3 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/business/Support/AbyssServiceSelect.component.d.ts +26 -0
- package/dist/components/business/Support/SupportActionButtons.component.d.ts +7 -0
- package/dist/components/business/Support/SupportActivityLog.component.d.ts +7 -0
- package/dist/components/business/Support/SupportAttachmentsPanel.component.d.ts +7 -0
- package/dist/components/business/Support/SupportCategoryChip.component.d.ts +12 -0
- package/dist/components/business/Support/SupportCategoryGroupCards.component.d.ts +2 -0
- package/dist/components/business/Support/SupportCategorySelect.component.d.ts +21 -0
- package/dist/components/business/Support/SupportCreateTextField.d.ts +17 -0
- package/dist/components/business/Support/SupportMessageAttachment.component.d.ts +9 -0
- package/dist/components/business/Support/SupportMessageInput.component.d.ts +7 -0
- package/dist/components/business/Support/SupportMessageLink.component.d.ts +8 -0
- package/dist/components/business/Support/SupportMessageThread.component.d.ts +8 -0
- package/dist/components/business/Support/SupportPill.d.ts +18 -0
- package/dist/components/business/Support/SupportPriorityChip.component.d.ts +3 -0
- package/dist/components/business/Support/SupportSidebar.component.d.ts +7 -0
- package/dist/components/business/Support/SupportStatusBadge.component.d.ts +3 -0
- package/dist/components/business/Support/SupportStatusTimeline.component.d.ts +15 -0
- package/dist/components/business/Support/SupportSystemMessage.component.d.ts +11 -0
- package/dist/components/business/Support/SupportSystemMessage.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTagEditor.d.ts +15 -0
- package/dist/components/business/Support/SupportTicketCreateForm.component.d.ts +2 -0
- package/dist/components/business/Support/SupportTicketCreateForm.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketCreateStepper.component.d.ts +2 -0
- package/dist/components/business/Support/SupportTicketCreateStepper.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketDetail.component.d.ts +8 -0
- package/dist/components/business/Support/SupportTicketDetail.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketDetail.mobile-layout.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketList.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketList.week-preset.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketListFilterBar.d.ts +15 -0
- package/dist/components/business/Support/SupportTopBar.component.d.ts +7 -0
- package/dist/components/business/Support/support-action.d.ts +17 -0
- package/dist/components/business/Support/support-action.logic.d.ts +12 -0
- package/dist/components/business/Support/support-action.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-attachment.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-author.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-create-stepper.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-create.logic.d.ts +28 -0
- package/dist/components/business/Support/support-create.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-message-anchor.d.ts +4 -0
- package/dist/components/business/Support/support-message-input.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-service.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-status-timeline.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-tone.d.ts +11 -0
- package/dist/components/business/Support/test-support/support-detail.fixtures.d.ts +7 -0
- package/dist/components/business/Support/test-support/support-thread.fixtures.d.ts +9 -0
- package/dist/{legacy/components → components/business}/Support/types.d.ts +13 -4
- package/dist/components/business/Support/use-support-create-error-message.hook.d.ts +4 -0
- package/dist/components/business/index.d.ts +20 -0
- package/dist/components/inputs/ExpressionSearch/ExpressionSearch.d.ts +6 -1
- package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +9 -1
- package/dist/cookie-consent.js +2 -2
- package/dist/design-theme-N9jJSXdK.js +27605 -0
- package/dist/{editors-C6Rocm6M.js → editors-QM76tqZI.js} +29 -29
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +130 -0
- package/dist/{index-DGoR-pBV.js → index-3-SmpH5N.js} +4 -4
- package/dist/{index-CuYK_i3Q.js → index-4b2f7sdW.js} +2 -2
- package/dist/{index-C1I7MW-q.js → index-5OVR3WNo.js} +3 -3
- package/dist/{index-CDWJlhuZ.js → index-BKAfoA1a.js} +2 -2
- package/dist/{AbyssCloud-B3rMelRi.js → index-C27b790L.js} +1448 -1017
- package/dist/{index-u-EAOYOb.js → index-C6jhogFt.js} +2 -2
- package/dist/{index-BI4ooqu1.js → index-CM5COMvb.js} +2 -2
- package/dist/{index-5AavH8Oo.js → index-COUUAr5G.js} +1 -1
- package/dist/{index-CKJMsjnV.js → index-CQU0eEXk.js} +4 -4
- package/dist/{index-DjAZPCEQ.js → index-Ce0rv5wr.js} +3 -3
- package/dist/{index-C1GCQ2Ke.js → index-D1M_muSg.js} +2 -2
- package/dist/{index-Cskjr11h.js → index-D8ncJrf1.js} +2 -2
- package/dist/{index-BElPTqLa.js → index-DA-HUFp6.js} +2 -2
- package/dist/{index-UjGNADrL.js → index-DCk0q3d7.js} +3 -3
- package/dist/{index-B58_3EoW.js → index-DW3SBSsW.js} +2 -2
- package/dist/{index-TshVV9T4.js → index-DYXAfA_s.js} +2 -2
- package/dist/{index-CDI4_t7D.js → index-DmAoL9-1.js} +4 -4
- package/dist/{index-Czhx2OUB.js → index-Taee9VIc.js} +2 -2
- package/dist/{index-Cwgj3j50.js → index-jZGexiyT.js} +3 -3
- package/dist/{index-Dutd4cJm.js → index-mmrA4ErC.js} +2 -2
- package/dist/{index-BYDMmzla.js → index-nKbvjf2P.js} +2 -2
- package/dist/{index-Dym_r-do.js → index-pX3CTxFd.js} +2 -2
- package/dist/index.js +13954 -9324
- package/dist/legacy/components/index.d.ts +0 -1
- package/dist/legacy/legacy-support-removed.spec.d.ts +1 -0
- package/dist/legacy.js +5634 -11703
- package/dist/theme/index.d.ts +1 -1
- package/dist/translations/en.d.ts +65 -0
- package/dist/translations/fr.d.ts +65 -0
- package/package.json +3 -3
- package/dist/clsx-D8ItxkrZ.js +0 -446
- package/dist/design-theme-D5L0JNbX.js +0 -26599
- package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +0 -37
- package/dist/legacy/components/Support/SupportActionButtons.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportActivityLog.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportAttachmentsPanel.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportCategoryChip.component.d.ts +0 -9
- package/dist/legacy/components/Support/SupportCategoryGroupCards.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportCategorySelect.component.d.ts +0 -22
- package/dist/legacy/components/Support/SupportMessageInput.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportMessageThread.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportPriorityChip.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportSidebar.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportStatusBadge.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportStatusTimeline.component.d.ts +0 -10
- package/dist/legacy/components/Support/SupportTicketCreateForm.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportTicketCreateStepper.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportTicketDetail.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportTopBar.component.d.ts +0 -3
- package/dist/legacy/components/Support/index.d.ts +0 -18
- /package/dist/{legacy/components/Support/SupportCategoryPick.component.spec.d.ts → auth/components/AuthFlow/steps/MfaStep.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportMessageLink.component.spec.d.ts → components/business/Support/AbyssServiceSelect.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportSystemMessage.component.spec.d.ts → components/business/Support/SupportActivityLog.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportTicketDetail.mobile-layout.spec.d.ts → components/business/Support/SupportAttachmentsPanel.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportTicketList.week-preset.spec.d.ts → components/business/Support/SupportBadges.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-attachment.logic.spec.d.ts → components/business/Support/SupportCategoryGroupCards.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-author.logic.spec.d.ts → components/business/Support/SupportCategorySelect.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-create-stepper.logic.spec.d.ts → components/business/Support/SupportMessageInput.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-message-input.logic.spec.d.ts → components/business/Support/SupportMessageLink.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-service.logic.spec.d.ts → components/business/Support/SupportMessageThread.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-status-timeline.logic.spec.d.ts → components/business/Support/SupportSidebar.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components → components/business}/Support/SupportTicketList.component.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-attachment.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-author.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-category.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-create-stepper.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-message-input.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-service.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-status-timeline.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-system-message.logic.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SupportTicketCategoryGroup, SupportTicketPriority, SupportTicketStatus } from '@abyss-project/main';
|
|
2
|
+
import { StatusTone } from '../../meaning/StatusBadge/StatusBadge';
|
|
3
|
+
/**
|
|
4
|
+
* The tone of each status of a support ticket. The core has six tones: an archived ticket shares
|
|
5
|
+
* the neutral tone of a closed one and is told from it by its label, never by colour alone.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SUPPORT_STATUS_TONE: Record<SupportTicketStatus, StatusTone>;
|
|
8
|
+
/** The tone of the dot before a priority name. */
|
|
9
|
+
export declare const SUPPORT_PRIORITY_TONE: Record<SupportTicketPriority, StatusTone>;
|
|
10
|
+
/** The tone of a category group: the dot of its categories and the accent of its card. */
|
|
11
|
+
export declare const SUPPORT_GROUP_TONE: Record<SupportTicketCategoryGroup, StatusTone>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SupportTicketStatus, ISupportTicket } from '@abyss-project/main';
|
|
3
|
+
/** Shared fixtures of the specs of the ticket detail. */
|
|
4
|
+
/** The ticket of the thread fixtures, in another status. */
|
|
5
|
+
export declare const ticketIn: (status: SupportTicketStatus) => ISupportTicket;
|
|
6
|
+
/** `wrap`, with the host of the confirmations the actions of a ticket ask. */
|
|
7
|
+
export declare const wrapWithConfirm: (node: ReactNode) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { UserLanguage, ISupportTicket, ISupportTicketAttachment, ISupportTicketMessage } from '@abyss-project/main';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
|
+
/** Shared fixtures of the specs of the ticket thread. */
|
|
5
|
+
export declare const theme: Theme;
|
|
6
|
+
export declare const ticket: ISupportTicket;
|
|
7
|
+
export declare const message: (id: string, userId: string, isAdminNote?: boolean) => ISupportTicketMessage;
|
|
8
|
+
export declare const supportAttachment: (id: string, mimeType: string, extra?: Partial<ISupportTicketAttachment>) => ISupportTicketAttachment;
|
|
9
|
+
export declare const wrap: (node: ReactNode, language?: UserLanguage) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -52,12 +52,18 @@ export interface SupportTicketListProps {
|
|
|
52
52
|
subtitle?: string;
|
|
53
53
|
/** Hide the create button */
|
|
54
54
|
hideCreateButton?: boolean;
|
|
55
|
+
/** Leave the page header (title, subtitle, create button) to the host, which lays out its own */
|
|
56
|
+
hideHeader?: boolean;
|
|
55
57
|
/** URL builder for user profile pictures (required when isAdmin is true) */
|
|
56
58
|
getProfilePictureUrl: (userId: string) => string;
|
|
57
59
|
/** URL builder for organization logos (required when isAdmin is true) */
|
|
58
60
|
getOrgLogoUrl: (orgId: string) => string;
|
|
59
61
|
/** Available tags for filtering (admin only) */
|
|
60
62
|
availableTags?: ISupportTicketTag[];
|
|
63
|
+
/** Set when the tickets could not be loaded: the list shows the error block with a retry. */
|
|
64
|
+
error?: {
|
|
65
|
+
onRetry: () => void;
|
|
66
|
+
};
|
|
61
67
|
}
|
|
62
68
|
export interface SupportTicketCreateValues {
|
|
63
69
|
title: string;
|
|
@@ -250,7 +256,8 @@ export interface SupportSidebarProps extends SupportCloudImportProps {
|
|
|
250
256
|
renderScanStatusBadge?: (attachment: ISupportTicketAttachment) => ReactNode;
|
|
251
257
|
}
|
|
252
258
|
export interface SupportTicketDetailProps extends SupportCloudImportProps {
|
|
253
|
-
ticket
|
|
259
|
+
/** The ticket once loaded; `null` when there is none to show (the not-found block). */
|
|
260
|
+
ticket: ISupportTicket | null;
|
|
254
261
|
/** Thumbnail URL of an attachment's preview image. */
|
|
255
262
|
getFileThumbnailUrl: (id: string) => string;
|
|
256
263
|
messages: ISupportTicketMessage[];
|
|
@@ -259,6 +266,10 @@ export interface SupportTicketDetailProps extends SupportCloudImportProps {
|
|
|
259
266
|
targetMessageId?: string;
|
|
260
267
|
isAdmin?: boolean;
|
|
261
268
|
isLoading?: boolean;
|
|
269
|
+
/** Set when the ticket could not be loaded: the detail shows the error block with a retry. */
|
|
270
|
+
error?: {
|
|
271
|
+
onRetry: () => void;
|
|
272
|
+
};
|
|
262
273
|
onNavigateBack?: () => void;
|
|
263
274
|
onSendMessage: (content: string) => void;
|
|
264
275
|
onSendAdminNote?: (content: string) => void;
|
|
@@ -313,15 +324,13 @@ export interface SupportTicketDetailProps extends SupportCloudImportProps {
|
|
|
313
324
|
}
|
|
314
325
|
export interface SupportStatusBadgeProps {
|
|
315
326
|
status: SupportTicketStatus;
|
|
316
|
-
size?: 'small' | 'medium';
|
|
317
327
|
}
|
|
318
328
|
export interface SupportPriorityChipProps {
|
|
319
329
|
priority: SupportTicketPriority;
|
|
330
|
+
/** The larger chip is for a step that is read rather than scanned. */
|
|
320
331
|
size?: 'small' | 'medium';
|
|
321
|
-
onDelete?: () => void;
|
|
322
332
|
}
|
|
323
333
|
export interface SupportCategoryChipProps {
|
|
324
334
|
category: SupportTicketCategory;
|
|
325
335
|
size?: 'small' | 'medium';
|
|
326
|
-
onDelete?: () => void;
|
|
327
336
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SupportTicketPriority } from '@abyss-project/main';
|
|
2
|
+
import { SupportCreateError } from './support-create.logic';
|
|
3
|
+
/** The sentence that tells what is wrong with a field of the ticket-creation components. */
|
|
4
|
+
export declare const useSupportCreateErrorMessage: () => ((error: SupportCreateError, priority: SupportTicketPriority) => string);
|
|
@@ -5,3 +5,23 @@ export * from './QRCodeModal/QRCodeModal';
|
|
|
5
5
|
export * from './CookieConsent/AbyssCookieConsentProvider';
|
|
6
6
|
export * from './CookieConsent/CookieConsentBanner';
|
|
7
7
|
export * from './CookieConsent/CookieConsentSettings';
|
|
8
|
+
export * from './Support/types';
|
|
9
|
+
export * from './Support/SupportPill';
|
|
10
|
+
export * from './Support/SupportStatusBadge.component';
|
|
11
|
+
export * from './Support/SupportPriorityChip.component';
|
|
12
|
+
export * from './Support/SupportCategoryChip.component';
|
|
13
|
+
export * from './Support/SupportCategorySelect.component';
|
|
14
|
+
export * from './Support/SupportCategoryGroupCards.component';
|
|
15
|
+
export * from './Support/AbyssServiceSelect.component';
|
|
16
|
+
export * from './Support/SupportTicketCreateForm.component';
|
|
17
|
+
export * from './Support/SupportTicketCreateStepper.component';
|
|
18
|
+
export * from './Support/SupportTicketList.component';
|
|
19
|
+
export * from './Support/SupportMessageThread.component';
|
|
20
|
+
export * from './Support/SupportMessageInput.component';
|
|
21
|
+
export * from './Support/SupportAttachmentsPanel.component';
|
|
22
|
+
export * from './Support/SupportActivityLog.component';
|
|
23
|
+
export * from './Support/SupportActionButtons.component';
|
|
24
|
+
export * from './Support/SupportStatusTimeline.component';
|
|
25
|
+
export * from './Support/SupportTopBar.component';
|
|
26
|
+
export * from './Support/SupportSidebar.component';
|
|
27
|
+
export * from './Support/SupportTicketDetail.component';
|
|
@@ -17,6 +17,11 @@ export interface ExpressionSearchProps {
|
|
|
17
17
|
/** The values of `field` (as typed, `@` included) that start with `prefix`. */
|
|
18
18
|
fetchValues(field: string, prefix: string): Promise<ExpressionValueSuggestion[]>;
|
|
19
19
|
placeholder?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Accept `field:/pattern/` as a valid term (an alert rule's expression, the only place a regex
|
|
22
|
+
* is read). Off by default: anywhere else a regex is a syntax error at the slash.
|
|
23
|
+
*/
|
|
24
|
+
allowRegex?: boolean;
|
|
20
25
|
}
|
|
21
26
|
/** Pause after the last keystroke before the suggestions are asked for, in ms. */
|
|
22
27
|
export declare const SUGGESTION_DELAY_MS = 150;
|
|
@@ -27,4 +32,4 @@ export declare const SUGGESTION_DELAY_MS = 150;
|
|
|
27
32
|
* before the colon, are suggested from the host's lookups; ArrowUp and ArrowDown move through
|
|
28
33
|
* them, Enter picks (or submits when none is highlighted), Escape closes the list.
|
|
29
34
|
*/
|
|
30
|
-
export declare function ExpressionSearch({ value, onChange, onSubmit, fetchKeys, fetchValues, placeholder, }: ExpressionSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare function ExpressionSearch({ value, onChange, onSubmit, fetchKeys, fetchValues, placeholder, allowRegex, }: ExpressionSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,16 +2,24 @@ export interface SegmentedOption<V extends string> {
|
|
|
2
2
|
value: V;
|
|
3
3
|
label: string;
|
|
4
4
|
count?: number;
|
|
5
|
+
/** Rendered as `data-testid` on the segment. */
|
|
6
|
+
testId?: string;
|
|
7
|
+
/** Accessible name of the segment when the visible label is not enough (an abbreviation). */
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
/** Language of the label when it differs from the page's (`lang` of the segment). */
|
|
10
|
+
lang?: string;
|
|
5
11
|
}
|
|
6
12
|
export interface SegmentedControlProps<V extends string> {
|
|
7
13
|
options: SegmentedOption<V>[];
|
|
8
14
|
value: V;
|
|
9
15
|
onChange(value: V): void;
|
|
10
16
|
ariaLabel: string;
|
|
17
|
+
/** Rendered as `data-testid` on the group (the element carrying `ariaLabel`). */
|
|
18
|
+
testId?: string;
|
|
11
19
|
}
|
|
12
20
|
/**
|
|
13
21
|
* A segmented choice (`.seg`): one option is selected at a time. A `radiogroup` with a roving tab
|
|
14
22
|
* stop: Tab enters on the selected option, arrow keys move the selection (wrapping), Home and End
|
|
15
23
|
* jump to the ends.
|
|
16
24
|
*/
|
|
17
|
-
export declare function SegmentedControl<V extends string>({ options, value, onChange, ariaLabel, }: SegmentedControlProps<V>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function SegmentedControl<V extends string>({ options, value, onChange, ariaLabel, testId, }: SegmentedControlProps<V>): import("react/jsx-runtime").JSX.Element;
|
package/dist/cookie-consent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as e, d as a, C as n, b as C, D as i, R as t, V as r, e as A, r as k, f as c, u as l, c as f, a as b, w as u } from "./CookieConsentSettings-
|
|
2
|
-
import { f as E } from "./Surface-
|
|
1
|
+
import { A as e, d as a, C as n, b as C, D as i, R as t, V as r, e as A, r as k, f as c, u as l, c as f, a as b, w as u } from "./CookieConsentSettings-B7NfjgaI.js";
|
|
2
|
+
import { f as E } from "./Surface-BEhoEhyC.js";
|
|
3
3
|
export {
|
|
4
4
|
e as AbyssCookieConsentProvider,
|
|
5
5
|
a as COOKIE_NAME,
|