@skdx/react-blocks 0.34.0 → 0.36.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 (169) hide show
  1. package/dist/chat-composer/ChatComposer.cjs +2 -0
  2. package/dist/chat-composer/ChatComposer.d.cts +20 -0
  3. package/dist/chat-composer/ChatComposer.d.ts +20 -0
  4. package/dist/chat-composer/ChatComposer.js +2 -0
  5. package/dist/chat-composer/index.d.cts +2 -0
  6. package/dist/chat-composer/index.d.ts +2 -0
  7. package/dist/chat-composer/types.d.cts +96 -0
  8. package/dist/chat-composer/types.d.ts +96 -0
  9. package/dist/chat-message/ChatMessage.cjs +2 -0
  10. package/dist/chat-message/ChatMessage.d.cts +23 -0
  11. package/dist/chat-message/ChatMessage.d.ts +23 -0
  12. package/dist/chat-message/ChatMessage.js +2 -0
  13. package/dist/chat-message/index.d.cts +2 -0
  14. package/dist/chat-message/index.d.ts +2 -0
  15. package/dist/chat-message/types.d.cts +57 -0
  16. package/dist/chat-message/types.d.ts +57 -0
  17. package/dist/comment/Comment.cjs +2 -0
  18. package/dist/comment/Comment.d.cts +22 -0
  19. package/dist/comment/Comment.d.ts +22 -0
  20. package/dist/comment/Comment.js +2 -0
  21. package/dist/comment/index.d.cts +2 -0
  22. package/dist/comment/index.d.ts +2 -0
  23. package/dist/comment/types.d.cts +47 -0
  24. package/dist/comment/types.d.ts +47 -0
  25. package/dist/comment-thread/CommentThread.cjs +2 -0
  26. package/dist/comment-thread/CommentThread.d.cts +21 -0
  27. package/dist/comment-thread/CommentThread.d.ts +21 -0
  28. package/dist/comment-thread/CommentThread.js +2 -0
  29. package/dist/comment-thread/index.d.cts +2 -0
  30. package/dist/comment-thread/index.d.ts +2 -0
  31. package/dist/comment-thread/types.d.cts +46 -0
  32. package/dist/comment-thread/types.d.ts +46 -0
  33. package/dist/confirm-dialog/ConfirmDialog.cjs +2 -0
  34. package/dist/confirm-dialog/ConfirmDialog.d.cts +31 -0
  35. package/dist/confirm-dialog/ConfirmDialog.d.ts +31 -0
  36. package/dist/confirm-dialog/ConfirmDialog.js +2 -0
  37. package/dist/confirm-dialog/index.d.cts +2 -0
  38. package/dist/confirm-dialog/index.d.ts +2 -0
  39. package/dist/confirm-dialog/types.d.cts +114 -0
  40. package/dist/confirm-dialog/types.d.ts +114 -0
  41. package/dist/conversation-list/ConversationList.cjs +2 -0
  42. package/dist/conversation-list/ConversationList.d.cts +20 -0
  43. package/dist/conversation-list/ConversationList.d.ts +20 -0
  44. package/dist/conversation-list/ConversationList.js +2 -0
  45. package/dist/conversation-list/index.d.cts +2 -0
  46. package/dist/conversation-list/index.d.ts +2 -0
  47. package/dist/conversation-list/types.d.cts +94 -0
  48. package/dist/conversation-list/types.d.ts +94 -0
  49. package/dist/empty-state/EmptyState.cjs +2 -0
  50. package/dist/empty-state/EmptyState.d.cts +21 -0
  51. package/dist/empty-state/EmptyState.d.ts +21 -0
  52. package/dist/empty-state/EmptyState.js +2 -0
  53. package/dist/empty-state/index.d.cts +2 -0
  54. package/dist/empty-state/index.d.ts +2 -0
  55. package/dist/empty-state/types.d.cts +36 -0
  56. package/dist/empty-state/types.d.ts +36 -0
  57. package/dist/filter-bar/FilterBar.cjs +2 -0
  58. package/dist/filter-bar/FilterBar.d.cts +23 -0
  59. package/dist/filter-bar/FilterBar.d.ts +23 -0
  60. package/dist/filter-bar/FilterBar.js +2 -0
  61. package/dist/filter-bar/index.d.cts +2 -0
  62. package/dist/filter-bar/index.d.ts +2 -0
  63. package/dist/filter-bar/types.d.cts +81 -0
  64. package/dist/filter-bar/types.d.ts +81 -0
  65. package/dist/forgot-password-page/ForgotPasswordPage.cjs +2 -0
  66. package/dist/forgot-password-page/ForgotPasswordPage.d.cts +20 -0
  67. package/dist/forgot-password-page/ForgotPasswordPage.d.ts +20 -0
  68. package/dist/forgot-password-page/ForgotPasswordPage.js +2 -0
  69. package/dist/forgot-password-page/index.d.cts +2 -0
  70. package/dist/forgot-password-page/index.d.ts +2 -0
  71. package/dist/forgot-password-page/types.d.cts +54 -0
  72. package/dist/forgot-password-page/types.d.ts +54 -0
  73. package/dist/form-section/FormSection.cjs +2 -0
  74. package/dist/form-section/FormSection.d.cts +22 -0
  75. package/dist/form-section/FormSection.d.ts +22 -0
  76. package/dist/form-section/FormSection.js +2 -0
  77. package/dist/form-section/index.d.cts +2 -0
  78. package/dist/form-section/index.d.ts +2 -0
  79. package/dist/form-section/types.d.cts +27 -0
  80. package/dist/form-section/types.d.ts +27 -0
  81. package/dist/index.cjs +1 -1
  82. package/dist/index.d.cts +19 -0
  83. package/dist/index.d.ts +19 -0
  84. package/dist/index.js +1 -1
  85. package/dist/internal/AuthPanel.d.cts +54 -0
  86. package/dist/internal/AuthPanel.d.ts +54 -0
  87. package/dist/internal/Region.d.cts +17 -0
  88. package/dist/internal/Region.d.ts +17 -0
  89. package/dist/internal/formValue.d.cts +6 -0
  90. package/dist/internal/formValue.d.ts +6 -0
  91. package/dist/notification-center/NotificationCenter.cjs +2 -0
  92. package/dist/notification-center/NotificationCenter.d.cts +21 -0
  93. package/dist/notification-center/NotificationCenter.d.ts +21 -0
  94. package/dist/notification-center/NotificationCenter.js +2 -0
  95. package/dist/notification-center/index.d.cts +2 -0
  96. package/dist/notification-center/index.d.ts +2 -0
  97. package/dist/notification-center/types.d.cts +104 -0
  98. package/dist/notification-center/types.d.ts +104 -0
  99. package/dist/onboarding-checklist/OnboardingChecklist.cjs +2 -0
  100. package/dist/onboarding-checklist/OnboardingChecklist.d.cts +25 -0
  101. package/dist/onboarding-checklist/OnboardingChecklist.d.ts +25 -0
  102. package/dist/onboarding-checklist/OnboardingChecklist.js +2 -0
  103. package/dist/onboarding-checklist/index.d.cts +2 -0
  104. package/dist/onboarding-checklist/index.d.ts +2 -0
  105. package/dist/onboarding-checklist/types.d.cts +67 -0
  106. package/dist/onboarding-checklist/types.d.ts +67 -0
  107. package/dist/reset-password-page/ResetPasswordPage.cjs +2 -0
  108. package/dist/reset-password-page/ResetPasswordPage.d.cts +20 -0
  109. package/dist/reset-password-page/ResetPasswordPage.d.ts +20 -0
  110. package/dist/reset-password-page/ResetPasswordPage.js +2 -0
  111. package/dist/reset-password-page/index.d.cts +2 -0
  112. package/dist/reset-password-page/index.d.ts +2 -0
  113. package/dist/reset-password-page/types.d.cts +64 -0
  114. package/dist/reset-password-page/types.d.ts +64 -0
  115. package/dist/sign-in-page/SignInPage.cjs +1 -1
  116. package/dist/sign-in-page/SignInPage.d.cts +1 -1
  117. package/dist/sign-in-page/SignInPage.d.ts +1 -1
  118. package/dist/sign-in-page/SignInPage.js +1 -1
  119. package/dist/sign-up-page/SignUpPage.cjs +2 -0
  120. package/dist/sign-up-page/SignUpPage.d.cts +21 -0
  121. package/dist/sign-up-page/SignUpPage.d.ts +21 -0
  122. package/dist/sign-up-page/SignUpPage.js +2 -0
  123. package/dist/sign-up-page/index.d.cts +2 -0
  124. package/dist/sign-up-page/index.d.ts +2 -0
  125. package/dist/sign-up-page/types.d.cts +100 -0
  126. package/dist/sign-up-page/types.d.ts +100 -0
  127. package/dist/stat-card/StatCard.cjs +2 -0
  128. package/dist/stat-card/StatCard.d.cts +22 -0
  129. package/dist/stat-card/StatCard.d.ts +22 -0
  130. package/dist/stat-card/StatCard.js +2 -0
  131. package/dist/stat-card/index.d.cts +2 -0
  132. package/dist/stat-card/index.d.ts +2 -0
  133. package/dist/stat-card/types.d.cts +71 -0
  134. package/dist/stat-card/types.d.ts +71 -0
  135. package/dist/usage-card/UsageCard.cjs +2 -0
  136. package/dist/usage-card/UsageCard.d.cts +17 -0
  137. package/dist/usage-card/UsageCard.d.ts +17 -0
  138. package/dist/usage-card/UsageCard.js +2 -0
  139. package/dist/usage-card/index.d.cts +2 -0
  140. package/dist/usage-card/index.d.ts +2 -0
  141. package/dist/usage-card/types.d.cts +50 -0
  142. package/dist/usage-card/types.d.ts +50 -0
  143. package/dist/usage-card/usage.d.cts +18 -0
  144. package/dist/usage-card/usage.d.ts +18 -0
  145. package/dist/user-menu/UserMenu.cjs +2 -0
  146. package/dist/user-menu/UserMenu.d.cts +19 -0
  147. package/dist/user-menu/UserMenu.d.ts +19 -0
  148. package/dist/user-menu/UserMenu.js +2 -0
  149. package/dist/user-menu/index.d.cts +2 -0
  150. package/dist/user-menu/index.d.ts +2 -0
  151. package/dist/user-menu/types.d.cts +89 -0
  152. package/dist/user-menu/types.d.ts +89 -0
  153. package/dist/verification-page/VerificationPage.cjs +2 -0
  154. package/dist/verification-page/VerificationPage.d.cts +20 -0
  155. package/dist/verification-page/VerificationPage.d.ts +20 -0
  156. package/dist/verification-page/VerificationPage.js +2 -0
  157. package/dist/verification-page/index.d.cts +2 -0
  158. package/dist/verification-page/index.d.ts +2 -0
  159. package/dist/verification-page/types.d.cts +89 -0
  160. package/dist/verification-page/types.d.ts +89 -0
  161. package/dist/workspace-switcher/WorkspaceSwitcher.cjs +2 -0
  162. package/dist/workspace-switcher/WorkspaceSwitcher.d.cts +25 -0
  163. package/dist/workspace-switcher/WorkspaceSwitcher.d.ts +25 -0
  164. package/dist/workspace-switcher/WorkspaceSwitcher.js +2 -0
  165. package/dist/workspace-switcher/index.d.cts +2 -0
  166. package/dist/workspace-switcher/index.d.ts +2 -0
  167. package/dist/workspace-switcher/types.d.cts +151 -0
  168. package/dist/workspace-switcher/types.d.ts +151 -0
  169. package/package.json +194 -3
@@ -0,0 +1,151 @@
1
+ import type * as React from 'react';
2
+ import type { PopoverContent } from '@skdx/react/primitives/popover';
3
+ type ContentProps = React.ComponentProps<typeof PopoverContent>;
4
+ /** One switchable context in the list — a workspace, organisation, team, account or project. */
5
+ export interface WorkspaceSwitcherItem {
6
+ /** Stable identifier reported to the change handler and matched against the current value. */
7
+ id: string;
8
+ /** Human-readable name rendered as the item's first line and in the closed trigger. */
9
+ label: string;
10
+ /**
11
+ * Secondary line rendered under the label, such as a plan name or member count.
12
+ * @default undefined — the item renders its label alone.
13
+ */
14
+ description?: string | undefined;
15
+ /**
16
+ * Heading of the group this item is listed under, gathering items that share it.
17
+ * @default undefined — the item sits in the leading ungrouped block.
18
+ */
19
+ group?: string | undefined;
20
+ /**
21
+ * Lists the item but withholds selection, keyboard traversal and pointer highlighting.
22
+ * @default false
23
+ */
24
+ disabled?: boolean | undefined;
25
+ }
26
+ /** Props for the {@link WorkspaceSwitcher} block. */
27
+ export interface WorkspaceSwitcherProps extends Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
28
+ /** Every context the user may switch to, rendered in the order given. */
29
+ items: ReadonlyArray<WorkspaceSwitcherItem>;
30
+ /**
31
+ * Id of the active context, for controlled usage; pair it with the change handler.
32
+ * @default undefined — uncontrolled, the block tracks the active id itself.
33
+ */
34
+ value?: string | undefined;
35
+ /**
36
+ * Id of the context active on first render, for uncontrolled usage.
37
+ * @default '' — the trigger shows the placeholder until something is picked.
38
+ */
39
+ defaultValue?: string | undefined;
40
+ /**
41
+ * Fires with the id of the item the user picked, before the panel closes.
42
+ * @default undefined — the change is reported to nobody.
43
+ */
44
+ onValueChange?: ((value: string) => void) | undefined;
45
+ /**
46
+ * Trigger text shown while no item in the list is the active one.
47
+ * @default 'Select'
48
+ */
49
+ placeholder?: string | undefined;
50
+ /**
51
+ * Accessible name for the trigger and the list, when the visible text is not enough.
52
+ * @default undefined — the trigger is named by its own visible text.
53
+ */
54
+ label?: string | undefined;
55
+ /**
56
+ * Accessible name of the search field inside the open panel.
57
+ * @default 'Search'
58
+ */
59
+ searchLabel?: string | undefined;
60
+ /**
61
+ * Placeholder text shown inside the panel's empty search field.
62
+ * @default undefined — the search field renders no placeholder.
63
+ */
64
+ searchPlaceholder?: string | undefined;
65
+ /**
66
+ * Message shown in place of the list when the search matches nothing.
67
+ * @default 'No results'
68
+ */
69
+ emptyMessage?: string | undefined;
70
+ /**
71
+ * Message announced beside the list while results are still in flight.
72
+ * @default 'Loading'
73
+ */
74
+ loadingMessage?: string | undefined;
75
+ /**
76
+ * Marks the results as in flight, showing the loading message instead of the empty one.
77
+ * @default false
78
+ */
79
+ loading?: boolean | undefined;
80
+ /**
81
+ * Visually hidden text appended to the active item, naming it for screen readers.
82
+ * @default 'Current'
83
+ */
84
+ selectedLabel?: string | undefined;
85
+ /**
86
+ * Renders a decorative glyph — an avatar or a logo — for one item and for the trigger.
87
+ * @default undefined — no leading region renders anywhere.
88
+ */
89
+ renderLeading?: ((item: WorkspaceSwitcherItem) => React.ReactNode) | undefined;
90
+ /**
91
+ * Controls placed in the panel's footer, such as create and manage buttons.
92
+ * @default undefined — no footer region renders.
93
+ */
94
+ actions?: React.ReactNode | undefined;
95
+ /**
96
+ * Replaces the derived trigger button with the consumer's own element entirely.
97
+ * @default undefined — the block derives a trigger from the active item.
98
+ */
99
+ trigger?: React.ReactElement | undefined;
100
+ /**
101
+ * Whether the panel is open, for controlled usage; pair it with the change handler.
102
+ * @default undefined — uncontrolled, the block tracks the open state itself.
103
+ */
104
+ open?: boolean | undefined;
105
+ /**
106
+ * Whether the panel is open on first render, for uncontrolled usage.
107
+ * @default false
108
+ */
109
+ defaultOpen?: boolean | undefined;
110
+ /**
111
+ * Fires with the new open state whenever the panel opens or closes.
112
+ * @default undefined — the change is reported to nobody.
113
+ */
114
+ onOpenChange?: ((open: boolean) => void) | undefined;
115
+ /**
116
+ * Fires with the new open state once the enter or exit animation has settled.
117
+ * @default undefined — no-op if omitted.
118
+ */
119
+ onOpenChangeComplete?: ((open: boolean) => void) | undefined;
120
+ /**
121
+ * Fires when Escape is pressed while open; `preventDefault()` keeps it open.
122
+ * @default undefined — no-op if omitted.
123
+ */
124
+ onEscapeKeyDown?: ContentProps['onEscapeKeyDown'];
125
+ /**
126
+ * Fires on a pointer-down outside the content while open; `preventDefault()` keeps it open.
127
+ * @default undefined — no-op if omitted.
128
+ */
129
+ onPointerDownOutside?: ContentProps['onPointerDownOutside'];
130
+ /**
131
+ * Fires when focus moves outside the content while open; `preventDefault()` keeps it open.
132
+ * @default undefined — no-op if omitted.
133
+ */
134
+ onFocusOutside?: ContentProps['onFocusOutside'];
135
+ /**
136
+ * Fires for either kind of outside interaction, just before the specific event.
137
+ * @default undefined — no-op if omitted.
138
+ */
139
+ onInteractOutside?: ContentProps['onInteractOutside'];
140
+ /**
141
+ * Fires before focus moves into the content on open; `preventDefault()` leaves focus where it is.
142
+ * @default undefined — no-op if omitted.
143
+ */
144
+ onOpenAutoFocus?: ContentProps['onOpenAutoFocus'];
145
+ /**
146
+ * Fires before focus returns to the trigger on close; `preventDefault()` suppresses that return.
147
+ * @default undefined — no-op if omitted.
148
+ */
149
+ onCloseAutoFocus?: ContentProps['onCloseAutoFocus'];
150
+ }
151
+ export {};
@@ -0,0 +1,151 @@
1
+ import type * as React from 'react';
2
+ import type { PopoverContent } from '@skdx/react/primitives/popover';
3
+ type ContentProps = React.ComponentProps<typeof PopoverContent>;
4
+ /** One switchable context in the list — a workspace, organisation, team, account or project. */
5
+ export interface WorkspaceSwitcherItem {
6
+ /** Stable identifier reported to the change handler and matched against the current value. */
7
+ id: string;
8
+ /** Human-readable name rendered as the item's first line and in the closed trigger. */
9
+ label: string;
10
+ /**
11
+ * Secondary line rendered under the label, such as a plan name or member count.
12
+ * @default undefined — the item renders its label alone.
13
+ */
14
+ description?: string | undefined;
15
+ /**
16
+ * Heading of the group this item is listed under, gathering items that share it.
17
+ * @default undefined — the item sits in the leading ungrouped block.
18
+ */
19
+ group?: string | undefined;
20
+ /**
21
+ * Lists the item but withholds selection, keyboard traversal and pointer highlighting.
22
+ * @default false
23
+ */
24
+ disabled?: boolean | undefined;
25
+ }
26
+ /** Props for the {@link WorkspaceSwitcher} block. */
27
+ export interface WorkspaceSwitcherProps extends Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
28
+ /** Every context the user may switch to, rendered in the order given. */
29
+ items: ReadonlyArray<WorkspaceSwitcherItem>;
30
+ /**
31
+ * Id of the active context, for controlled usage; pair it with the change handler.
32
+ * @default undefined — uncontrolled, the block tracks the active id itself.
33
+ */
34
+ value?: string | undefined;
35
+ /**
36
+ * Id of the context active on first render, for uncontrolled usage.
37
+ * @default '' — the trigger shows the placeholder until something is picked.
38
+ */
39
+ defaultValue?: string | undefined;
40
+ /**
41
+ * Fires with the id of the item the user picked, before the panel closes.
42
+ * @default undefined — the change is reported to nobody.
43
+ */
44
+ onValueChange?: ((value: string) => void) | undefined;
45
+ /**
46
+ * Trigger text shown while no item in the list is the active one.
47
+ * @default 'Select'
48
+ */
49
+ placeholder?: string | undefined;
50
+ /**
51
+ * Accessible name for the trigger and the list, when the visible text is not enough.
52
+ * @default undefined — the trigger is named by its own visible text.
53
+ */
54
+ label?: string | undefined;
55
+ /**
56
+ * Accessible name of the search field inside the open panel.
57
+ * @default 'Search'
58
+ */
59
+ searchLabel?: string | undefined;
60
+ /**
61
+ * Placeholder text shown inside the panel's empty search field.
62
+ * @default undefined — the search field renders no placeholder.
63
+ */
64
+ searchPlaceholder?: string | undefined;
65
+ /**
66
+ * Message shown in place of the list when the search matches nothing.
67
+ * @default 'No results'
68
+ */
69
+ emptyMessage?: string | undefined;
70
+ /**
71
+ * Message announced beside the list while results are still in flight.
72
+ * @default 'Loading'
73
+ */
74
+ loadingMessage?: string | undefined;
75
+ /**
76
+ * Marks the results as in flight, showing the loading message instead of the empty one.
77
+ * @default false
78
+ */
79
+ loading?: boolean | undefined;
80
+ /**
81
+ * Visually hidden text appended to the active item, naming it for screen readers.
82
+ * @default 'Current'
83
+ */
84
+ selectedLabel?: string | undefined;
85
+ /**
86
+ * Renders a decorative glyph — an avatar or a logo — for one item and for the trigger.
87
+ * @default undefined — no leading region renders anywhere.
88
+ */
89
+ renderLeading?: ((item: WorkspaceSwitcherItem) => React.ReactNode) | undefined;
90
+ /**
91
+ * Controls placed in the panel's footer, such as create and manage buttons.
92
+ * @default undefined — no footer region renders.
93
+ */
94
+ actions?: React.ReactNode | undefined;
95
+ /**
96
+ * Replaces the derived trigger button with the consumer's own element entirely.
97
+ * @default undefined — the block derives a trigger from the active item.
98
+ */
99
+ trigger?: React.ReactElement | undefined;
100
+ /**
101
+ * Whether the panel is open, for controlled usage; pair it with the change handler.
102
+ * @default undefined — uncontrolled, the block tracks the open state itself.
103
+ */
104
+ open?: boolean | undefined;
105
+ /**
106
+ * Whether the panel is open on first render, for uncontrolled usage.
107
+ * @default false
108
+ */
109
+ defaultOpen?: boolean | undefined;
110
+ /**
111
+ * Fires with the new open state whenever the panel opens or closes.
112
+ * @default undefined — the change is reported to nobody.
113
+ */
114
+ onOpenChange?: ((open: boolean) => void) | undefined;
115
+ /**
116
+ * Fires with the new open state once the enter or exit animation has settled.
117
+ * @default undefined — no-op if omitted.
118
+ */
119
+ onOpenChangeComplete?: ((open: boolean) => void) | undefined;
120
+ /**
121
+ * Fires when Escape is pressed while open; `preventDefault()` keeps it open.
122
+ * @default undefined — no-op if omitted.
123
+ */
124
+ onEscapeKeyDown?: ContentProps['onEscapeKeyDown'];
125
+ /**
126
+ * Fires on a pointer-down outside the content while open; `preventDefault()` keeps it open.
127
+ * @default undefined — no-op if omitted.
128
+ */
129
+ onPointerDownOutside?: ContentProps['onPointerDownOutside'];
130
+ /**
131
+ * Fires when focus moves outside the content while open; `preventDefault()` keeps it open.
132
+ * @default undefined — no-op if omitted.
133
+ */
134
+ onFocusOutside?: ContentProps['onFocusOutside'];
135
+ /**
136
+ * Fires for either kind of outside interaction, just before the specific event.
137
+ * @default undefined — no-op if omitted.
138
+ */
139
+ onInteractOutside?: ContentProps['onInteractOutside'];
140
+ /**
141
+ * Fires before focus moves into the content on open; `preventDefault()` leaves focus where it is.
142
+ * @default undefined — no-op if omitted.
143
+ */
144
+ onOpenAutoFocus?: ContentProps['onOpenAutoFocus'];
145
+ /**
146
+ * Fires before focus returns to the trigger on close; `preventDefault()` suppresses that return.
147
+ * @default undefined — no-op if omitted.
148
+ */
149
+ onCloseAutoFocus?: ContentProps['onCloseAutoFocus'];
150
+ }
151
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skdx/react-blocks",
3
- "version": "0.34.0",
3
+ "version": "0.36.0",
4
4
  "description": "React blocks for the SkandaDX design system — page-level compositions of @skdx/react styled by @skdx/skins",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -33,6 +33,66 @@
33
33
  "default": "./dist/index.cjs"
34
34
  }
35
35
  },
36
+ "./chat-composer": {
37
+ "import": {
38
+ "types": "./dist/chat-composer/index.d.ts",
39
+ "default": "./dist/chat-composer/ChatComposer.js"
40
+ },
41
+ "require": {
42
+ "types": "./dist/chat-composer/index.d.cts",
43
+ "default": "./dist/chat-composer/ChatComposer.cjs"
44
+ }
45
+ },
46
+ "./chat-message": {
47
+ "import": {
48
+ "types": "./dist/chat-message/index.d.ts",
49
+ "default": "./dist/chat-message/ChatMessage.js"
50
+ },
51
+ "require": {
52
+ "types": "./dist/chat-message/index.d.cts",
53
+ "default": "./dist/chat-message/ChatMessage.cjs"
54
+ }
55
+ },
56
+ "./comment": {
57
+ "import": {
58
+ "types": "./dist/comment/index.d.ts",
59
+ "default": "./dist/comment/Comment.js"
60
+ },
61
+ "require": {
62
+ "types": "./dist/comment/index.d.cts",
63
+ "default": "./dist/comment/Comment.cjs"
64
+ }
65
+ },
66
+ "./comment-thread": {
67
+ "import": {
68
+ "types": "./dist/comment-thread/index.d.ts",
69
+ "default": "./dist/comment-thread/CommentThread.js"
70
+ },
71
+ "require": {
72
+ "types": "./dist/comment-thread/index.d.cts",
73
+ "default": "./dist/comment-thread/CommentThread.cjs"
74
+ }
75
+ },
76
+ "./confirm-dialog": {
77
+ "import": {
78
+ "types": "./dist/confirm-dialog/index.d.ts",
79
+ "default": "./dist/confirm-dialog/ConfirmDialog.js"
80
+ },
81
+ "require": {
82
+ "types": "./dist/confirm-dialog/index.d.cts",
83
+ "default": "./dist/confirm-dialog/ConfirmDialog.cjs"
84
+ }
85
+ },
86
+ "./conversation-list": {
87
+ "import": {
88
+ "types": "./dist/conversation-list/index.d.ts",
89
+ "default": "./dist/conversation-list/ConversationList.js"
90
+ },
91
+ "require": {
92
+ "types": "./dist/conversation-list/index.d.cts",
93
+ "default": "./dist/conversation-list/ConversationList.cjs"
94
+ }
95
+ },
36
96
  "./dashboard-layout": {
37
97
  "import": {
38
98
  "types": "./dist/dashboard-layout/index.d.ts",
@@ -43,6 +103,66 @@
43
103
  "default": "./dist/dashboard-layout/DashboardLayout.cjs"
44
104
  }
45
105
  },
106
+ "./empty-state": {
107
+ "import": {
108
+ "types": "./dist/empty-state/index.d.ts",
109
+ "default": "./dist/empty-state/EmptyState.js"
110
+ },
111
+ "require": {
112
+ "types": "./dist/empty-state/index.d.cts",
113
+ "default": "./dist/empty-state/EmptyState.cjs"
114
+ }
115
+ },
116
+ "./filter-bar": {
117
+ "import": {
118
+ "types": "./dist/filter-bar/index.d.ts",
119
+ "default": "./dist/filter-bar/FilterBar.js"
120
+ },
121
+ "require": {
122
+ "types": "./dist/filter-bar/index.d.cts",
123
+ "default": "./dist/filter-bar/FilterBar.cjs"
124
+ }
125
+ },
126
+ "./forgot-password-page": {
127
+ "import": {
128
+ "types": "./dist/forgot-password-page/index.d.ts",
129
+ "default": "./dist/forgot-password-page/ForgotPasswordPage.js"
130
+ },
131
+ "require": {
132
+ "types": "./dist/forgot-password-page/index.d.cts",
133
+ "default": "./dist/forgot-password-page/ForgotPasswordPage.cjs"
134
+ }
135
+ },
136
+ "./form-section": {
137
+ "import": {
138
+ "types": "./dist/form-section/index.d.ts",
139
+ "default": "./dist/form-section/FormSection.js"
140
+ },
141
+ "require": {
142
+ "types": "./dist/form-section/index.d.cts",
143
+ "default": "./dist/form-section/FormSection.cjs"
144
+ }
145
+ },
146
+ "./notification-center": {
147
+ "import": {
148
+ "types": "./dist/notification-center/index.d.ts",
149
+ "default": "./dist/notification-center/NotificationCenter.js"
150
+ },
151
+ "require": {
152
+ "types": "./dist/notification-center/index.d.cts",
153
+ "default": "./dist/notification-center/NotificationCenter.cjs"
154
+ }
155
+ },
156
+ "./onboarding-checklist": {
157
+ "import": {
158
+ "types": "./dist/onboarding-checklist/index.d.ts",
159
+ "default": "./dist/onboarding-checklist/OnboardingChecklist.js"
160
+ },
161
+ "require": {
162
+ "types": "./dist/onboarding-checklist/index.d.cts",
163
+ "default": "./dist/onboarding-checklist/OnboardingChecklist.cjs"
164
+ }
165
+ },
46
166
  "./page-container": {
47
167
  "import": {
48
168
  "types": "./dist/page-container/index.d.ts",
@@ -53,6 +173,16 @@
53
173
  "default": "./dist/page-container/PageContainer.cjs"
54
174
  }
55
175
  },
176
+ "./reset-password-page": {
177
+ "import": {
178
+ "types": "./dist/reset-password-page/index.d.ts",
179
+ "default": "./dist/reset-password-page/ResetPasswordPage.js"
180
+ },
181
+ "require": {
182
+ "types": "./dist/reset-password-page/index.d.cts",
183
+ "default": "./dist/reset-password-page/ResetPasswordPage.cjs"
184
+ }
185
+ },
56
186
  "./sign-in-page": {
57
187
  "import": {
58
188
  "types": "./dist/sign-in-page/index.d.ts",
@@ -63,6 +193,66 @@
63
193
  "default": "./dist/sign-in-page/SignInPage.cjs"
64
194
  }
65
195
  },
196
+ "./sign-up-page": {
197
+ "import": {
198
+ "types": "./dist/sign-up-page/index.d.ts",
199
+ "default": "./dist/sign-up-page/SignUpPage.js"
200
+ },
201
+ "require": {
202
+ "types": "./dist/sign-up-page/index.d.cts",
203
+ "default": "./dist/sign-up-page/SignUpPage.cjs"
204
+ }
205
+ },
206
+ "./stat-card": {
207
+ "import": {
208
+ "types": "./dist/stat-card/index.d.ts",
209
+ "default": "./dist/stat-card/StatCard.js"
210
+ },
211
+ "require": {
212
+ "types": "./dist/stat-card/index.d.cts",
213
+ "default": "./dist/stat-card/StatCard.cjs"
214
+ }
215
+ },
216
+ "./usage-card": {
217
+ "import": {
218
+ "types": "./dist/usage-card/index.d.ts",
219
+ "default": "./dist/usage-card/UsageCard.js"
220
+ },
221
+ "require": {
222
+ "types": "./dist/usage-card/index.d.cts",
223
+ "default": "./dist/usage-card/UsageCard.cjs"
224
+ }
225
+ },
226
+ "./user-menu": {
227
+ "import": {
228
+ "types": "./dist/user-menu/index.d.ts",
229
+ "default": "./dist/user-menu/UserMenu.js"
230
+ },
231
+ "require": {
232
+ "types": "./dist/user-menu/index.d.cts",
233
+ "default": "./dist/user-menu/UserMenu.cjs"
234
+ }
235
+ },
236
+ "./verification-page": {
237
+ "import": {
238
+ "types": "./dist/verification-page/index.d.ts",
239
+ "default": "./dist/verification-page/VerificationPage.js"
240
+ },
241
+ "require": {
242
+ "types": "./dist/verification-page/index.d.cts",
243
+ "default": "./dist/verification-page/VerificationPage.cjs"
244
+ }
245
+ },
246
+ "./workspace-switcher": {
247
+ "import": {
248
+ "types": "./dist/workspace-switcher/index.d.ts",
249
+ "default": "./dist/workspace-switcher/WorkspaceSwitcher.js"
250
+ },
251
+ "require": {
252
+ "types": "./dist/workspace-switcher/index.d.cts",
253
+ "default": "./dist/workspace-switcher/WorkspaceSwitcher.cjs"
254
+ }
255
+ },
66
256
  "./package.json": "./package.json"
67
257
  },
68
258
  "files": [
@@ -75,7 +265,7 @@
75
265
  "peerDependencies": {
76
266
  "react": "^19.0.0",
77
267
  "react-dom": "^19.0.0",
78
- "@skdx/react": "^0.34.0"
268
+ "@skdx/react": "^0.36.0"
79
269
  },
80
270
  "devDependencies": {
81
271
  "@testing-library/jest-dom": "^6.9.1",
@@ -93,7 +283,8 @@
93
283
  "tsup": "^8.5.1",
94
284
  "typescript": "^6.0.3",
95
285
  "vitest": "^4.1.10",
96
- "@skdx/react": "0.34.0"
286
+ "@skdx/react": "0.36.0",
287
+ "@skdx/shared": "0.36.0"
97
288
  },
98
289
  "scripts": {
99
290
  "lint": "eslint . --cache --cache-location node_modules/.cache/eslint/",