@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.
Files changed (146) hide show
  1. package/README.md +1 -1
  2. package/dist/{CookieConsentSettings-DyJGEnVA.js → CookieConsentSettings-B7NfjgaI.js} +1 -1
  3. package/dist/{Surface-B_J_I_1i.js → Surface-BEhoEhyC.js} +214 -84
  4. package/dist/{Tabs-_TzugjHZ.js → Tabs-DJ9_ZFjM.js} +649 -644
  5. package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +2 -0
  6. package/dist/auth/components/AuthFlow/steps/MfaEnrollmentStep.component.d.ts +2 -0
  7. package/dist/auth/components/AuthFlow/steps/MfaStep.component.d.ts +10 -4
  8. package/dist/auth/components/AuthFlow/steps/PasskeyNudgeStep.component.d.ts +3 -1
  9. package/dist/auth/components/MfaRequirementBanner/MfaRequirementBanner.component.d.ts +3 -1
  10. package/dist/auth/components/SecuritySettings/SecuritySettings.component.d.ts +1 -1
  11. package/dist/auth/components/SecuritySettings/sections/PasskeysSection.component.d.ts +6 -1
  12. package/dist/auth/components/SecuritySettings/sections/RecoveryCodesSection.component.d.ts +3 -1
  13. package/dist/auth/components/SecuritySettings/sections/TrustedDevicesSection.component.d.ts +6 -0
  14. package/dist/auth/components/index.d.ts +1 -0
  15. package/dist/auth/components/shared/SingleDevicePasskeyAdvice.component.d.ts +13 -0
  16. package/dist/auth/components/shared/passkey-ceremonies.d.ts +6 -1
  17. package/dist/auth/components/shared/support-contact.d.ts +2 -0
  18. package/dist/auth/components/test-support/auth-sdk.mock.d.ts +5 -0
  19. package/dist/auth/components/test-support/auth-test-harness.d.ts +3 -0
  20. package/dist/clsx-OuTLNxxd.js +16 -0
  21. package/dist/components/business/Support/AbyssServiceSelect.component.d.ts +26 -0
  22. package/dist/components/business/Support/SupportActionButtons.component.d.ts +7 -0
  23. package/dist/components/business/Support/SupportActivityLog.component.d.ts +7 -0
  24. package/dist/components/business/Support/SupportAttachmentsPanel.component.d.ts +7 -0
  25. package/dist/components/business/Support/SupportCategoryChip.component.d.ts +12 -0
  26. package/dist/components/business/Support/SupportCategoryGroupCards.component.d.ts +2 -0
  27. package/dist/components/business/Support/SupportCategorySelect.component.d.ts +21 -0
  28. package/dist/components/business/Support/SupportCreateTextField.d.ts +17 -0
  29. package/dist/components/business/Support/SupportMessageAttachment.component.d.ts +9 -0
  30. package/dist/components/business/Support/SupportMessageInput.component.d.ts +7 -0
  31. package/dist/components/business/Support/SupportMessageLink.component.d.ts +8 -0
  32. package/dist/components/business/Support/SupportMessageThread.component.d.ts +8 -0
  33. package/dist/components/business/Support/SupportPill.d.ts +18 -0
  34. package/dist/components/business/Support/SupportPriorityChip.component.d.ts +3 -0
  35. package/dist/components/business/Support/SupportSidebar.component.d.ts +7 -0
  36. package/dist/components/business/Support/SupportStatusBadge.component.d.ts +3 -0
  37. package/dist/components/business/Support/SupportStatusTimeline.component.d.ts +15 -0
  38. package/dist/components/business/Support/SupportSystemMessage.component.d.ts +11 -0
  39. package/dist/components/business/Support/SupportSystemMessage.component.spec.d.ts +1 -0
  40. package/dist/components/business/Support/SupportTagEditor.d.ts +15 -0
  41. package/dist/components/business/Support/SupportTicketCreateForm.component.d.ts +2 -0
  42. package/dist/components/business/Support/SupportTicketCreateForm.component.spec.d.ts +1 -0
  43. package/dist/components/business/Support/SupportTicketCreateStepper.component.d.ts +2 -0
  44. package/dist/components/business/Support/SupportTicketCreateStepper.component.spec.d.ts +1 -0
  45. package/dist/components/business/Support/SupportTicketDetail.component.d.ts +8 -0
  46. package/dist/components/business/Support/SupportTicketDetail.component.spec.d.ts +1 -0
  47. package/dist/components/business/Support/SupportTicketDetail.mobile-layout.spec.d.ts +1 -0
  48. package/dist/components/business/Support/SupportTicketList.component.spec.d.ts +1 -0
  49. package/dist/components/business/Support/SupportTicketList.week-preset.spec.d.ts +1 -0
  50. package/dist/components/business/Support/SupportTicketListFilterBar.d.ts +15 -0
  51. package/dist/components/business/Support/SupportTopBar.component.d.ts +7 -0
  52. package/dist/components/business/Support/support-action.d.ts +17 -0
  53. package/dist/components/business/Support/support-action.logic.d.ts +12 -0
  54. package/dist/components/business/Support/support-action.logic.spec.d.ts +1 -0
  55. package/dist/components/business/Support/support-attachment.logic.spec.d.ts +1 -0
  56. package/dist/components/business/Support/support-author.logic.spec.d.ts +1 -0
  57. package/dist/components/business/Support/support-create-stepper.logic.spec.d.ts +1 -0
  58. package/dist/components/business/Support/support-create.logic.d.ts +28 -0
  59. package/dist/components/business/Support/support-create.logic.spec.d.ts +1 -0
  60. package/dist/components/business/Support/support-message-anchor.d.ts +4 -0
  61. package/dist/components/business/Support/support-message-input.logic.spec.d.ts +1 -0
  62. package/dist/components/business/Support/support-service.logic.spec.d.ts +1 -0
  63. package/dist/components/business/Support/support-status-timeline.logic.spec.d.ts +1 -0
  64. package/dist/components/business/Support/support-tone.d.ts +11 -0
  65. package/dist/components/business/Support/test-support/support-detail.fixtures.d.ts +7 -0
  66. package/dist/components/business/Support/test-support/support-thread.fixtures.d.ts +9 -0
  67. package/dist/{legacy/components → components/business}/Support/types.d.ts +13 -4
  68. package/dist/components/business/Support/use-support-create-error-message.hook.d.ts +4 -0
  69. package/dist/components/business/index.d.ts +20 -0
  70. package/dist/components/inputs/ExpressionSearch/ExpressionSearch.d.ts +6 -1
  71. package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +9 -1
  72. package/dist/cookie-consent.js +2 -2
  73. package/dist/design-theme-N9jJSXdK.js +27605 -0
  74. package/dist/{editors-C6Rocm6M.js → editors-QM76tqZI.js} +29 -29
  75. package/dist/editors.js +1 -1
  76. package/dist/hooks/use-rich-intl.hook.d.ts +130 -0
  77. package/dist/{index-DGoR-pBV.js → index-3-SmpH5N.js} +4 -4
  78. package/dist/{index-CuYK_i3Q.js → index-4b2f7sdW.js} +2 -2
  79. package/dist/{index-C1I7MW-q.js → index-5OVR3WNo.js} +3 -3
  80. package/dist/{index-CDWJlhuZ.js → index-BKAfoA1a.js} +2 -2
  81. package/dist/{AbyssCloud-B3rMelRi.js → index-C27b790L.js} +1448 -1017
  82. package/dist/{index-u-EAOYOb.js → index-C6jhogFt.js} +2 -2
  83. package/dist/{index-BI4ooqu1.js → index-CM5COMvb.js} +2 -2
  84. package/dist/{index-5AavH8Oo.js → index-COUUAr5G.js} +1 -1
  85. package/dist/{index-CKJMsjnV.js → index-CQU0eEXk.js} +4 -4
  86. package/dist/{index-DjAZPCEQ.js → index-Ce0rv5wr.js} +3 -3
  87. package/dist/{index-C1GCQ2Ke.js → index-D1M_muSg.js} +2 -2
  88. package/dist/{index-Cskjr11h.js → index-D8ncJrf1.js} +2 -2
  89. package/dist/{index-BElPTqLa.js → index-DA-HUFp6.js} +2 -2
  90. package/dist/{index-UjGNADrL.js → index-DCk0q3d7.js} +3 -3
  91. package/dist/{index-B58_3EoW.js → index-DW3SBSsW.js} +2 -2
  92. package/dist/{index-TshVV9T4.js → index-DYXAfA_s.js} +2 -2
  93. package/dist/{index-CDI4_t7D.js → index-DmAoL9-1.js} +4 -4
  94. package/dist/{index-Czhx2OUB.js → index-Taee9VIc.js} +2 -2
  95. package/dist/{index-Cwgj3j50.js → index-jZGexiyT.js} +3 -3
  96. package/dist/{index-Dutd4cJm.js → index-mmrA4ErC.js} +2 -2
  97. package/dist/{index-BYDMmzla.js → index-nKbvjf2P.js} +2 -2
  98. package/dist/{index-Dym_r-do.js → index-pX3CTxFd.js} +2 -2
  99. package/dist/index.js +13954 -9324
  100. package/dist/legacy/components/index.d.ts +0 -1
  101. package/dist/legacy/legacy-support-removed.spec.d.ts +1 -0
  102. package/dist/legacy.js +5634 -11703
  103. package/dist/theme/index.d.ts +1 -1
  104. package/dist/translations/en.d.ts +65 -0
  105. package/dist/translations/fr.d.ts +65 -0
  106. package/package.json +3 -3
  107. package/dist/clsx-D8ItxkrZ.js +0 -446
  108. package/dist/design-theme-D5L0JNbX.js +0 -26599
  109. package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +0 -37
  110. package/dist/legacy/components/Support/SupportActionButtons.component.d.ts +0 -3
  111. package/dist/legacy/components/Support/SupportActivityLog.component.d.ts +0 -3
  112. package/dist/legacy/components/Support/SupportAttachmentsPanel.component.d.ts +0 -3
  113. package/dist/legacy/components/Support/SupportCategoryChip.component.d.ts +0 -9
  114. package/dist/legacy/components/Support/SupportCategoryGroupCards.component.d.ts +0 -3
  115. package/dist/legacy/components/Support/SupportCategorySelect.component.d.ts +0 -22
  116. package/dist/legacy/components/Support/SupportMessageInput.component.d.ts +0 -3
  117. package/dist/legacy/components/Support/SupportMessageThread.component.d.ts +0 -3
  118. package/dist/legacy/components/Support/SupportPriorityChip.component.d.ts +0 -3
  119. package/dist/legacy/components/Support/SupportSidebar.component.d.ts +0 -3
  120. package/dist/legacy/components/Support/SupportStatusBadge.component.d.ts +0 -3
  121. package/dist/legacy/components/Support/SupportStatusTimeline.component.d.ts +0 -10
  122. package/dist/legacy/components/Support/SupportTicketCreateForm.component.d.ts +0 -3
  123. package/dist/legacy/components/Support/SupportTicketCreateStepper.component.d.ts +0 -3
  124. package/dist/legacy/components/Support/SupportTicketDetail.component.d.ts +0 -3
  125. package/dist/legacy/components/Support/SupportTopBar.component.d.ts +0 -3
  126. package/dist/legacy/components/Support/index.d.ts +0 -18
  127. /package/dist/{legacy/components/Support/SupportCategoryPick.component.spec.d.ts → auth/components/AuthFlow/steps/MfaStep.component.spec.d.ts} +0 -0
  128. /package/dist/{legacy/components/Support/SupportMessageLink.component.spec.d.ts → components/business/Support/AbyssServiceSelect.component.spec.d.ts} +0 -0
  129. /package/dist/{legacy/components/Support/SupportSystemMessage.component.spec.d.ts → components/business/Support/SupportActivityLog.component.spec.d.ts} +0 -0
  130. /package/dist/{legacy/components/Support/SupportTicketDetail.mobile-layout.spec.d.ts → components/business/Support/SupportAttachmentsPanel.component.spec.d.ts} +0 -0
  131. /package/dist/{legacy/components/Support/SupportTicketList.week-preset.spec.d.ts → components/business/Support/SupportBadges.spec.d.ts} +0 -0
  132. /package/dist/{legacy/components/Support/support-attachment.logic.spec.d.ts → components/business/Support/SupportCategoryGroupCards.component.spec.d.ts} +0 -0
  133. /package/dist/{legacy/components/Support/support-author.logic.spec.d.ts → components/business/Support/SupportCategorySelect.component.spec.d.ts} +0 -0
  134. /package/dist/{legacy/components/Support/support-create-stepper.logic.spec.d.ts → components/business/Support/SupportMessageInput.component.spec.d.ts} +0 -0
  135. /package/dist/{legacy/components/Support/support-message-input.logic.spec.d.ts → components/business/Support/SupportMessageLink.component.spec.d.ts} +0 -0
  136. /package/dist/{legacy/components/Support/support-service.logic.spec.d.ts → components/business/Support/SupportMessageThread.component.spec.d.ts} +0 -0
  137. /package/dist/{legacy/components/Support/support-status-timeline.logic.spec.d.ts → components/business/Support/SupportSidebar.component.spec.d.ts} +0 -0
  138. /package/dist/{legacy/components → components/business}/Support/SupportTicketList.component.d.ts +0 -0
  139. /package/dist/{legacy/components → components/business}/Support/support-attachment.logic.d.ts +0 -0
  140. /package/dist/{legacy/components → components/business}/Support/support-author.logic.d.ts +0 -0
  141. /package/dist/{legacy/components → components/business}/Support/support-category.logic.d.ts +0 -0
  142. /package/dist/{legacy/components → components/business}/Support/support-create-stepper.logic.d.ts +0 -0
  143. /package/dist/{legacy/components → components/business}/Support/support-message-input.logic.d.ts +0 -0
  144. /package/dist/{legacy/components → components/business}/Support/support-service.logic.d.ts +0 -0
  145. /package/dist/{legacy/components → components/business}/Support/support-status-timeline.logic.d.ts +0 -0
  146. /package/dist/{legacy/components → components/business}/Support/support-system-message.logic.d.ts +0 -0
@@ -1,37 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ActivatableService } from '@abyss-project/main';
3
- export declare const SERVICE_CONFIG: Partial<Record<ActivatableService, {
4
- logo: string;
5
- color: string;
6
- }>>;
7
- /** The name of a service or of a game as a ticket shows it. */
8
- export declare const getSupportServiceName: (service: ActivatableService) => string;
9
- export declare const getServiceConfig: (service: ActivatableService) => {
10
- color: string;
11
- logo: string;
12
- };
13
- export interface AbyssServiceSelectProps {
14
- value: ActivatableService[];
15
- onChange: (value: ActivatableService[]) => void;
16
- placeholder?: string;
17
- sx?: Record<string, unknown>;
18
- }
19
- export declare const AbyssServiceSelect: React.FC<AbyssServiceSelectProps>;
20
- interface AbyssServiceChipProps {
21
- service: ActivatableService;
22
- logo: string;
23
- color: string;
24
- label: string;
25
- size?: 'small' | 'medium';
26
- onDelete?: () => void;
27
- }
28
- export declare const AbyssServiceChip: React.FC<AbyssServiceChipProps>;
29
- export interface AbyssServiceSingleSelectProps {
30
- value: ActivatableService | null;
31
- onChange: (value: ActivatableService | null) => void;
32
- label?: string;
33
- placeholder?: string;
34
- sx?: Record<string, unknown>;
35
- }
36
- export declare const AbyssServiceSingleSelect: React.FC<AbyssServiceSingleSelectProps>;
37
- export {};
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportActionButtonsProps } from './types';
3
- export declare const SupportActionButtons: React.FC<SupportActionButtonsProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportActivityLogProps } from './types';
3
- export declare const SupportActivityLog: React.FC<SupportActivityLogProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportAttachmentsPanelProps } from './types';
3
- export declare const SupportAttachmentsPanel: React.FC<SupportAttachmentsPanelProps>;
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTicketCategory, SupportTicketCategoryGroup } from '@abyss-project/main';
3
- import { SupportCategoryChipProps } from './types';
4
- export declare const getCategoryGroup: (category: SupportTicketCategory) => SupportTicketCategoryGroup;
5
- export declare const getCategoryConfig: (category: SupportTicketCategory) => {
6
- color: string;
7
- icon: React.ElementType;
8
- };
9
- export declare const SupportCategoryChip: React.FC<SupportCategoryChipProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportCategoryGroupCardsProps } from './types';
3
- export declare const SupportCategoryGroupCards: React.FC<SupportCategoryGroupCardsProps>;
@@ -1,22 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTicketCategory } from '@abyss-project/main';
3
- interface SupportCategorySelectProps {
4
- /** Single value mode (create form): the platform-owned categories are not offered. */
5
- value?: SupportTicketCategory | null;
6
- onChange?: (value: SupportTicketCategory | null) => void;
7
- /** Multiple value mode (filter): every category, platform-owned ones included. */
8
- multiple?: boolean;
9
- multipleValue?: SupportTicketCategory[];
10
- onMultipleChange?: (value: SupportTicketCategory[]) => void;
11
- /** Common props */
12
- label?: string;
13
- placeholder?: string;
14
- size?: 'small' | 'medium';
15
- error?: boolean;
16
- helperText?: React.ReactNode;
17
- name?: string;
18
- onBlur?: React.FocusEventHandler;
19
- sx?: Record<string, unknown>;
20
- }
21
- export declare const SupportCategorySelect: React.FC<SupportCategorySelectProps>;
22
- export {};
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportMessageInputProps } from './types';
3
- export declare const SupportMessageInput: React.FC<SupportMessageInputProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportMessageThreadProps } from './types';
3
- export declare const SupportMessageThread: React.FC<SupportMessageThreadProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportPriorityChipProps } from './types';
3
- export declare const SupportPriorityChip: React.FC<SupportPriorityChipProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportSidebarProps } from './types';
3
- export declare const SupportSidebar: React.FC<SupportSidebarProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportStatusBadgeProps } from './types';
3
- export declare const SupportStatusBadge: React.FC<SupportStatusBadgeProps>;
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTicketStatus } from '@abyss-project/main';
3
- interface SupportStatusTimelineProps {
4
- status: SupportTicketStatus;
5
- /** Exact current-status label, rendered verbatim above the rail so divergent
6
- * states (waiting/escalated/archived) stay precise. */
7
- currentStatusLabel: string;
8
- }
9
- export declare const SupportStatusTimeline: React.FC<SupportStatusTimelineProps>;
10
- export {};
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTicketCreateFormProps } from './types';
3
- export declare const SupportTicketCreateForm: React.FC<SupportTicketCreateFormProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTicketCreateStepperProps } from './types';
3
- export declare const SupportTicketCreateStepper: React.FC<SupportTicketCreateStepperProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTicketDetailProps } from './types';
3
- export declare const SupportTicketDetail: React.FC<SupportTicketDetailProps>;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SupportTopBarProps } from './types';
3
- export declare const SupportTopBar: React.FC<SupportTopBarProps>;
@@ -1,18 +0,0 @@
1
- export * from './types';
2
- export { SupportStatusBadge } from './SupportStatusBadge.component';
3
- export { SupportPriorityChip } from './SupportPriorityChip.component';
4
- export { SupportTicketList } from './SupportTicketList.component';
5
- export { SupportTicketCreateForm } from './SupportTicketCreateForm.component';
6
- export { SupportMessageThread } from './SupportMessageThread.component';
7
- export { SupportMessageInput } from './SupportMessageInput.component';
8
- export { SupportActionButtons } from './SupportActionButtons.component';
9
- export { SupportActivityLog } from './SupportActivityLog.component';
10
- export { SupportAttachmentsPanel } from './SupportAttachmentsPanel.component';
11
- export { SupportSidebar } from './SupportSidebar.component';
12
- export { SupportTicketDetail } from './SupportTicketDetail.component';
13
- export { SupportCategoryChip, getCategoryGroup, getCategoryConfig, } from './SupportCategoryChip.component';
14
- export { SupportCategorySelect } from './SupportCategorySelect.component';
15
- export { SupportTopBar } from './SupportTopBar.component';
16
- export { SupportCategoryGroupCards } from './SupportCategoryGroupCards.component';
17
- export { SupportTicketCreateStepper } from './SupportTicketCreateStepper.component';
18
- export { AbyssServiceSelect, AbyssServiceSingleSelect, AbyssServiceChip, SERVICE_CONFIG as ABYSS_SERVICE_CONFIG, getServiceConfig, } from './AbyssServiceSelect.component';