@abyss-project/commons-front-core 14.0.0 → 16.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.
Files changed (151) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/dist/{CookieConsentSettings-DyJGEnVA.js → CookieConsentSettings-B7NfjgaI.js} +1 -1
  4. package/dist/{Surface-B_J_I_1i.js → Surface-BEhoEhyC.js} +214 -84
  5. package/dist/{Tabs-_TzugjHZ.js → Tabs-DJ9_ZFjM.js} +649 -644
  6. package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +2 -0
  7. package/dist/auth/components/AuthFlow/steps/MfaEnrollmentStep.component.d.ts +2 -0
  8. package/dist/auth/components/AuthFlow/steps/MfaStep.component.d.ts +10 -4
  9. package/dist/auth/components/AuthFlow/steps/PasskeyNudgeStep.component.d.ts +3 -1
  10. package/dist/auth/components/MfaRequirementBanner/MfaRequirementBanner.component.d.ts +3 -1
  11. package/dist/auth/components/SecuritySettings/SecuritySettings.component.d.ts +1 -1
  12. package/dist/auth/components/SecuritySettings/sections/PasskeysSection.component.d.ts +6 -1
  13. package/dist/auth/components/SecuritySettings/sections/RecoveryCodesSection.component.d.ts +3 -1
  14. package/dist/auth/components/SecuritySettings/sections/TrustedDevicesSection.component.d.ts +6 -0
  15. package/dist/auth/components/index.d.ts +1 -0
  16. package/dist/auth/components/shared/SingleDevicePasskeyAdvice.component.d.ts +13 -0
  17. package/dist/auth/components/shared/passkey-ceremonies.d.ts +6 -1
  18. package/dist/auth/components/shared/support-contact.d.ts +2 -0
  19. package/dist/auth/components/test-support/auth-sdk.mock.d.ts +5 -0
  20. package/dist/auth/components/test-support/auth-test-harness.d.ts +3 -0
  21. package/dist/clsx-OuTLNxxd.js +16 -0
  22. package/dist/components/business/Support/AbyssServiceSelect.component.d.ts +26 -0
  23. package/dist/components/business/Support/SupportActionButtons.component.d.ts +7 -0
  24. package/dist/components/business/Support/SupportActivityLog.component.d.ts +7 -0
  25. package/dist/components/business/Support/SupportAttachmentsPanel.component.d.ts +7 -0
  26. package/dist/components/business/Support/SupportCategoryChip.component.d.ts +12 -0
  27. package/dist/components/business/Support/SupportCategoryGroupCards.component.d.ts +2 -0
  28. package/dist/components/business/Support/SupportCategorySelect.component.d.ts +21 -0
  29. package/dist/components/business/Support/SupportCreateTextField.d.ts +17 -0
  30. package/dist/components/business/Support/SupportMessageAttachment.component.d.ts +9 -0
  31. package/dist/components/business/Support/SupportMessageInput.component.d.ts +7 -0
  32. package/dist/components/business/Support/SupportMessageLink.component.d.ts +8 -0
  33. package/dist/components/business/Support/SupportMessageThread.component.d.ts +8 -0
  34. package/dist/components/business/Support/SupportPill.d.ts +18 -0
  35. package/dist/components/business/Support/SupportPriorityChip.component.d.ts +3 -0
  36. package/dist/components/business/Support/SupportSidebar.component.d.ts +7 -0
  37. package/dist/components/business/Support/SupportStatusBadge.component.d.ts +3 -0
  38. package/dist/components/business/Support/SupportStatusTimeline.component.d.ts +15 -0
  39. package/dist/components/business/Support/SupportSystemMessage.component.d.ts +11 -0
  40. package/dist/components/business/Support/SupportSystemMessage.component.spec.d.ts +1 -0
  41. package/dist/components/business/Support/SupportTagEditor.d.ts +15 -0
  42. package/dist/components/business/Support/SupportTicketCreateForm.component.d.ts +2 -0
  43. package/dist/components/business/Support/SupportTicketCreateForm.component.spec.d.ts +1 -0
  44. package/dist/components/business/Support/SupportTicketCreateStepper.component.d.ts +2 -0
  45. package/dist/components/business/Support/SupportTicketCreateStepper.component.spec.d.ts +1 -0
  46. package/dist/components/business/Support/SupportTicketDetail.component.d.ts +8 -0
  47. package/dist/components/business/Support/SupportTicketDetail.component.spec.d.ts +1 -0
  48. package/dist/components/business/Support/SupportTicketDetail.mobile-layout.spec.d.ts +1 -0
  49. package/dist/components/business/Support/SupportTicketList.component.spec.d.ts +1 -0
  50. package/dist/components/business/Support/SupportTicketList.week-preset.spec.d.ts +1 -0
  51. package/dist/components/business/Support/SupportTicketListFilterBar.d.ts +15 -0
  52. package/dist/components/business/Support/SupportTopBar.component.d.ts +7 -0
  53. package/dist/components/business/Support/support-action.d.ts +17 -0
  54. package/dist/components/business/Support/support-action.logic.d.ts +12 -0
  55. package/dist/components/business/Support/support-action.logic.spec.d.ts +1 -0
  56. package/dist/components/business/Support/support-attachment.logic.spec.d.ts +1 -0
  57. package/dist/components/business/Support/support-author.logic.spec.d.ts +1 -0
  58. package/dist/components/business/Support/support-create-stepper.logic.spec.d.ts +1 -0
  59. package/dist/components/business/Support/support-create.logic.d.ts +28 -0
  60. package/dist/components/business/Support/support-create.logic.spec.d.ts +1 -0
  61. package/dist/components/business/Support/support-message-anchor.d.ts +4 -0
  62. package/dist/components/business/Support/support-message-input.logic.spec.d.ts +1 -0
  63. package/dist/components/business/Support/support-service.logic.spec.d.ts +1 -0
  64. package/dist/components/business/Support/support-status-timeline.logic.spec.d.ts +1 -0
  65. package/dist/components/business/Support/support-tone.d.ts +11 -0
  66. package/dist/components/business/Support/test-support/support-detail.fixtures.d.ts +7 -0
  67. package/dist/components/business/Support/test-support/support-thread.fixtures.d.ts +9 -0
  68. package/dist/{legacy/components → components/business}/Support/types.d.ts +13 -4
  69. package/dist/components/business/Support/use-support-create-error-message.hook.d.ts +4 -0
  70. package/dist/components/business/index.d.ts +20 -0
  71. package/dist/components/data/LineChart/LineChart.d.ts +26 -1
  72. package/dist/components/inputs/ExpressionSearch/ExpressionSearch.d.ts +6 -1
  73. package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +9 -1
  74. package/dist/cookie-consent.js +2 -2
  75. package/dist/design-theme-N9jJSXdK.js +27605 -0
  76. package/dist/{editors-C6Rocm6M.js → editors-QM76tqZI.js} +29 -29
  77. package/dist/editors.js +1 -1
  78. package/dist/hooks/use-rich-intl.hook.d.ts +150 -20
  79. package/dist/{index-DGoR-pBV.js → index-3-SmpH5N.js} +4 -4
  80. package/dist/{index-CuYK_i3Q.js → index-4b2f7sdW.js} +2 -2
  81. package/dist/{index-C1I7MW-q.js → index-5OVR3WNo.js} +3 -3
  82. package/dist/{index-CDWJlhuZ.js → index-BKAfoA1a.js} +2 -2
  83. package/dist/{AbyssCloud-B3rMelRi.js → index-C27b790L.js} +1448 -1017
  84. package/dist/{index-u-EAOYOb.js → index-C6jhogFt.js} +2 -2
  85. package/dist/{index-BI4ooqu1.js → index-CM5COMvb.js} +2 -2
  86. package/dist/{index-5AavH8Oo.js → index-COUUAr5G.js} +1 -1
  87. package/dist/{index-CKJMsjnV.js → index-CQU0eEXk.js} +4 -4
  88. package/dist/{index-DjAZPCEQ.js → index-Ce0rv5wr.js} +3 -3
  89. package/dist/{index-C1GCQ2Ke.js → index-D1M_muSg.js} +2 -2
  90. package/dist/{index-Cskjr11h.js → index-D8ncJrf1.js} +2 -2
  91. package/dist/{index-BElPTqLa.js → index-DA-HUFp6.js} +2 -2
  92. package/dist/{index-UjGNADrL.js → index-DCk0q3d7.js} +3 -3
  93. package/dist/{index-B58_3EoW.js → index-DW3SBSsW.js} +2 -2
  94. package/dist/{index-TshVV9T4.js → index-DYXAfA_s.js} +2 -2
  95. package/dist/{index-CDI4_t7D.js → index-DmAoL9-1.js} +4 -4
  96. package/dist/{index-Czhx2OUB.js → index-Taee9VIc.js} +2 -2
  97. package/dist/{index-Cwgj3j50.js → index-jZGexiyT.js} +3 -3
  98. package/dist/{index-Dutd4cJm.js → index-mmrA4ErC.js} +2 -2
  99. package/dist/{index-BYDMmzla.js → index-nKbvjf2P.js} +2 -2
  100. package/dist/{index-Dym_r-do.js → index-pX3CTxFd.js} +2 -2
  101. package/dist/index.js +14149 -9438
  102. package/dist/legacy/components/index.d.ts +0 -1
  103. package/dist/legacy/legacy-support-removed.spec.d.ts +1 -0
  104. package/dist/legacy.js +5634 -11703
  105. package/dist/rum/AbyssRumProvider.d.ts +1 -1
  106. package/dist/rum/feedback-ticket.d.ts +2 -2
  107. package/dist/rum/rum-provider-config.d.ts +1 -1
  108. package/dist/theme/index.d.ts +1 -1
  109. package/dist/translations/en.d.ts +65 -0
  110. package/dist/translations/fr.d.ts +65 -0
  111. package/package.json +5 -5
  112. package/dist/clsx-D8ItxkrZ.js +0 -446
  113. package/dist/design-theme-D5L0JNbX.js +0 -26599
  114. package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +0 -37
  115. package/dist/legacy/components/Support/SupportActionButtons.component.d.ts +0 -3
  116. package/dist/legacy/components/Support/SupportActivityLog.component.d.ts +0 -3
  117. package/dist/legacy/components/Support/SupportAttachmentsPanel.component.d.ts +0 -3
  118. package/dist/legacy/components/Support/SupportCategoryChip.component.d.ts +0 -9
  119. package/dist/legacy/components/Support/SupportCategoryGroupCards.component.d.ts +0 -3
  120. package/dist/legacy/components/Support/SupportCategorySelect.component.d.ts +0 -22
  121. package/dist/legacy/components/Support/SupportMessageInput.component.d.ts +0 -3
  122. package/dist/legacy/components/Support/SupportMessageThread.component.d.ts +0 -3
  123. package/dist/legacy/components/Support/SupportPriorityChip.component.d.ts +0 -3
  124. package/dist/legacy/components/Support/SupportSidebar.component.d.ts +0 -3
  125. package/dist/legacy/components/Support/SupportStatusBadge.component.d.ts +0 -3
  126. package/dist/legacy/components/Support/SupportStatusTimeline.component.d.ts +0 -10
  127. package/dist/legacy/components/Support/SupportTicketCreateForm.component.d.ts +0 -3
  128. package/dist/legacy/components/Support/SupportTicketCreateStepper.component.d.ts +0 -3
  129. package/dist/legacy/components/Support/SupportTicketDetail.component.d.ts +0 -3
  130. package/dist/legacy/components/Support/SupportTopBar.component.d.ts +0 -3
  131. package/dist/legacy/components/Support/index.d.ts +0 -18
  132. /package/dist/{legacy/components/Support/SupportCategoryPick.component.spec.d.ts → auth/components/AuthFlow/steps/MfaStep.component.spec.d.ts} +0 -0
  133. /package/dist/{legacy/components/Support/SupportMessageLink.component.spec.d.ts → components/business/Support/AbyssServiceSelect.component.spec.d.ts} +0 -0
  134. /package/dist/{legacy/components/Support/SupportSystemMessage.component.spec.d.ts → components/business/Support/SupportActivityLog.component.spec.d.ts} +0 -0
  135. /package/dist/{legacy/components/Support/SupportTicketDetail.mobile-layout.spec.d.ts → components/business/Support/SupportAttachmentsPanel.component.spec.d.ts} +0 -0
  136. /package/dist/{legacy/components/Support/SupportTicketList.week-preset.spec.d.ts → components/business/Support/SupportBadges.spec.d.ts} +0 -0
  137. /package/dist/{legacy/components/Support/support-attachment.logic.spec.d.ts → components/business/Support/SupportCategoryGroupCards.component.spec.d.ts} +0 -0
  138. /package/dist/{legacy/components/Support/support-author.logic.spec.d.ts → components/business/Support/SupportCategorySelect.component.spec.d.ts} +0 -0
  139. /package/dist/{legacy/components/Support/support-create-stepper.logic.spec.d.ts → components/business/Support/SupportMessageInput.component.spec.d.ts} +0 -0
  140. /package/dist/{legacy/components/Support/support-message-input.logic.spec.d.ts → components/business/Support/SupportMessageLink.component.spec.d.ts} +0 -0
  141. /package/dist/{legacy/components/Support/support-service.logic.spec.d.ts → components/business/Support/SupportMessageThread.component.spec.d.ts} +0 -0
  142. /package/dist/{legacy/components/Support/support-status-timeline.logic.spec.d.ts → components/business/Support/SupportSidebar.component.spec.d.ts} +0 -0
  143. /package/dist/{legacy/components → components/business}/Support/SupportTicketList.component.d.ts +0 -0
  144. /package/dist/{legacy/components → components/business}/Support/support-attachment.logic.d.ts +0 -0
  145. /package/dist/{legacy/components → components/business}/Support/support-author.logic.d.ts +0 -0
  146. /package/dist/{legacy/components → components/business}/Support/support-category.logic.d.ts +0 -0
  147. /package/dist/{legacy/components → components/business}/Support/support-create-stepper.logic.d.ts +0 -0
  148. /package/dist/{legacy/components → components/business}/Support/support-message-input.logic.d.ts +0 -0
  149. /package/dist/{legacy/components → components/business}/Support/support-service.logic.d.ts +0 -0
  150. /package/dist/{legacy/components → components/business}/Support/support-status-timeline.logic.d.ts +0 -0
  151. /package/dist/{legacy/components → components/business}/Support/support-system-message.logic.d.ts +0 -0
@@ -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: ISupportTicket;
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';
@@ -20,6 +20,26 @@ export interface LineChartSeries {
20
20
  * the `status.*` color of the tone. Without tone, the series takes the next data series color.
21
21
  */
22
22
  tone?: ChartSeriesTone;
23
+ /**
24
+ * Points of the series to mark (an anomaly, an event): a dot in the `status.danger` color on the
25
+ * line at each listed x that has a value. `label` names the marks in the legend.
26
+ */
27
+ markers?: {
28
+ label: string;
29
+ xs: LineChartX[];
30
+ };
31
+ }
32
+ /** One x of a band: the values it spans, `null` on both where the band has none (it breaks there). */
33
+ export interface LineChartBandPoint {
34
+ x: LineChartX;
35
+ lower: number | null;
36
+ upper: number | null;
37
+ }
38
+ /** The area between a lower and an upper bound (a baseline range), drawn behind the lines. */
39
+ export interface LineChartBand {
40
+ /** Name of the band, in the legend. */
41
+ label: string;
42
+ points: LineChartBandPoint[];
23
43
  }
24
44
  export interface LineChartProps {
25
45
  series: LineChartSeries[];
@@ -32,6 +52,11 @@ export interface LineChartProps {
32
52
  * counts as zero there. The tooltip and the table of values keep each series' own values.
33
53
  */
34
54
  stacked?: boolean;
55
+ /**
56
+ * An area between two bounds, filled at the `.soft` opacity in the `status.neutral` color behind
57
+ * the lines; the y axis spans its values. Not drawn on a `stacked` chart.
58
+ */
59
+ band?: LineChartBand;
35
60
  /** Text of an x value: axis ticks, tooltip, table of values. */
36
61
  formatX(x: LineChartX): string;
37
62
  /** Text of a y value: axis ticks, tooltip, table of values. */
@@ -49,4 +74,4 @@ export interface LineChartProps {
49
74
  * of drawing empty axes. A `null` y breaks the line (see `LineChartPoint`). A chart with a single x
50
75
  * draws each series' value as a dot, since no line can be drawn through one x.
51
76
  */
52
- export declare function LineChart({ series, height, area, stacked, formatX, formatY, label, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
77
+ export declare function LineChart({ series, height, area, stacked, band, formatX, formatY, label, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
@@ -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;
@@ -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-DyJGEnVA.js";
2
- import { f as E } from "./Surface-B_J_I_1i.js";
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,