@oxy.so/bloom 7.2.0 → 7.4.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 (148) hide show
  1. package/docs/adoption-matrix.mdx +15 -15
  2. package/docs/app-shell.mdx +22 -0
  3. package/docs/appearance.mdx +1 -1
  4. package/docs/card.mdx +14 -0
  5. package/docs/chip.mdx +5 -0
  6. package/docs/content-panel.mdx +22 -0
  7. package/docs/error-boundary.mdx +35 -0
  8. package/docs/mail-thread.mdx +9 -1
  9. package/docs/settings-modal.mdx +5 -0
  10. package/lib/commonjs/app-shell/AppShellSplit.js +26 -14
  11. package/lib/commonjs/app-shell/AppShellSplit.js.map +1 -1
  12. package/lib/commonjs/card/Card.js +6 -2
  13. package/lib/commonjs/card/Card.js.map +1 -1
  14. package/lib/commonjs/chip/Chip.js +51 -7
  15. package/lib/commonjs/chip/Chip.js.map +1 -1
  16. package/lib/commonjs/content-panel/ContentPanel.js +16 -8
  17. package/lib/commonjs/content-panel/ContentPanel.js.map +1 -1
  18. package/lib/commonjs/content-panel/ContentPanel.web.js +18 -8
  19. package/lib/commonjs/content-panel/ContentPanel.web.js.map +1 -1
  20. package/lib/commonjs/error-boundary/ErrorBoundary.js +10 -0
  21. package/lib/commonjs/error-boundary/ErrorBoundary.js.map +1 -1
  22. package/lib/commonjs/error-boundary/PanelErrorBoundary.js +64 -0
  23. package/lib/commonjs/error-boundary/PanelErrorBoundary.js.map +1 -0
  24. package/lib/commonjs/error-boundary/index.js +7 -0
  25. package/lib/commonjs/error-boundary/index.js.map +1 -1
  26. package/lib/commonjs/index.js +7 -0
  27. package/lib/commonjs/index.js.map +1 -1
  28. package/lib/commonjs/index.web.js +7 -0
  29. package/lib/commonjs/index.web.js.map +1 -1
  30. package/lib/commonjs/mail-thread/MailMessage.js +1 -1
  31. package/lib/commonjs/mail-thread/MailMessage.js.map +1 -1
  32. package/lib/commonjs/mail-thread/MailThread.js +3 -4
  33. package/lib/commonjs/mail-thread/MailThread.js.map +1 -1
  34. package/lib/commonjs/mail-thread/shared.js +3 -3
  35. package/lib/commonjs/mail-thread/shared.js.map +1 -1
  36. package/lib/commonjs/settings-modal/SettingsPlanCard.js +11 -7
  37. package/lib/commonjs/settings-modal/SettingsPlanCard.js.map +1 -1
  38. package/lib/module/app-shell/AppShellSplit.js +26 -14
  39. package/lib/module/app-shell/AppShellSplit.js.map +1 -1
  40. package/lib/module/card/Card.js +6 -2
  41. package/lib/module/card/Card.js.map +1 -1
  42. package/lib/module/chip/Chip.js +51 -7
  43. package/lib/module/chip/Chip.js.map +1 -1
  44. package/lib/module/content-panel/ContentPanel.js +17 -9
  45. package/lib/module/content-panel/ContentPanel.js.map +1 -1
  46. package/lib/module/content-panel/ContentPanel.web.js +19 -9
  47. package/lib/module/content-panel/ContentPanel.web.js.map +1 -1
  48. package/lib/module/error-boundary/ErrorBoundary.js +10 -0
  49. package/lib/module/error-boundary/ErrorBoundary.js.map +1 -1
  50. package/lib/module/error-boundary/PanelErrorBoundary.js +59 -0
  51. package/lib/module/error-boundary/PanelErrorBoundary.js.map +1 -0
  52. package/lib/module/error-boundary/index.js +1 -0
  53. package/lib/module/error-boundary/index.js.map +1 -1
  54. package/lib/module/index.js +1 -1
  55. package/lib/module/index.js.map +1 -1
  56. package/lib/module/index.web.js +1 -1
  57. package/lib/module/index.web.js.map +1 -1
  58. package/lib/module/mail-thread/MailMessage.js +1 -1
  59. package/lib/module/mail-thread/MailMessage.js.map +1 -1
  60. package/lib/module/mail-thread/MailThread.js +1 -2
  61. package/lib/module/mail-thread/MailThread.js.map +1 -1
  62. package/lib/module/mail-thread/shared.js +3 -3
  63. package/lib/module/mail-thread/shared.js.map +1 -1
  64. package/lib/module/settings-modal/SettingsPlanCard.js +7 -3
  65. package/lib/module/settings-modal/SettingsPlanCard.js.map +1 -1
  66. package/lib/typescript/commonjs/app-shell/AppShellSplit.d.ts.map +1 -1
  67. package/lib/typescript/commonjs/app-shell/types.d.ts +5 -0
  68. package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
  69. package/lib/typescript/commonjs/card/Card.d.ts.map +1 -1
  70. package/lib/typescript/commonjs/card/types.d.ts +5 -5
  71. package/lib/typescript/commonjs/card/types.d.ts.map +1 -1
  72. package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
  73. package/lib/typescript/commonjs/content-panel/ContentPanel.d.ts.map +1 -1
  74. package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts.map +1 -1
  75. package/lib/typescript/commonjs/content-panel/types.d.ts +10 -0
  76. package/lib/typescript/commonjs/content-panel/types.d.ts.map +1 -1
  77. package/lib/typescript/commonjs/error-boundary/ErrorBoundary.d.ts +1 -0
  78. package/lib/typescript/commonjs/error-boundary/ErrorBoundary.d.ts.map +1 -1
  79. package/lib/typescript/commonjs/error-boundary/PanelErrorBoundary.d.ts +4 -0
  80. package/lib/typescript/commonjs/error-boundary/PanelErrorBoundary.d.ts.map +1 -0
  81. package/lib/typescript/commonjs/error-boundary/index.d.ts +2 -1
  82. package/lib/typescript/commonjs/error-boundary/index.d.ts.map +1 -1
  83. package/lib/typescript/commonjs/error-boundary/types.d.ts +16 -0
  84. package/lib/typescript/commonjs/error-boundary/types.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/index.d.ts +2 -2
  86. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  87. package/lib/typescript/commonjs/index.web.d.ts +2 -2
  88. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  89. package/lib/typescript/commonjs/mail-thread/MailThread.d.ts.map +1 -1
  90. package/lib/typescript/commonjs/mail-thread/shared.d.ts +2 -2
  91. package/lib/typescript/commonjs/mail-thread/shared.d.ts.map +1 -1
  92. package/lib/typescript/commonjs/note-card/shared.d.ts +1 -1
  93. package/lib/typescript/commonjs/note-card/shared.d.ts.map +1 -1
  94. package/lib/typescript/commonjs/settings-modal/SettingsPlanCard.d.ts.map +1 -1
  95. package/lib/typescript/commonjs/settings-modal/types.d.ts +3 -0
  96. package/lib/typescript/commonjs/settings-modal/types.d.ts.map +1 -1
  97. package/lib/typescript/module/app-shell/AppShellSplit.d.ts.map +1 -1
  98. package/lib/typescript/module/app-shell/types.d.ts +5 -0
  99. package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
  100. package/lib/typescript/module/card/Card.d.ts.map +1 -1
  101. package/lib/typescript/module/card/types.d.ts +5 -5
  102. package/lib/typescript/module/card/types.d.ts.map +1 -1
  103. package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
  104. package/lib/typescript/module/content-panel/ContentPanel.d.ts.map +1 -1
  105. package/lib/typescript/module/content-panel/ContentPanel.web.d.ts.map +1 -1
  106. package/lib/typescript/module/content-panel/types.d.ts +10 -0
  107. package/lib/typescript/module/content-panel/types.d.ts.map +1 -1
  108. package/lib/typescript/module/error-boundary/ErrorBoundary.d.ts +1 -0
  109. package/lib/typescript/module/error-boundary/ErrorBoundary.d.ts.map +1 -1
  110. package/lib/typescript/module/error-boundary/PanelErrorBoundary.d.ts +4 -0
  111. package/lib/typescript/module/error-boundary/PanelErrorBoundary.d.ts.map +1 -0
  112. package/lib/typescript/module/error-boundary/index.d.ts +2 -1
  113. package/lib/typescript/module/error-boundary/index.d.ts.map +1 -1
  114. package/lib/typescript/module/error-boundary/types.d.ts +16 -0
  115. package/lib/typescript/module/error-boundary/types.d.ts.map +1 -1
  116. package/lib/typescript/module/index.d.ts +2 -2
  117. package/lib/typescript/module/index.d.ts.map +1 -1
  118. package/lib/typescript/module/index.web.d.ts +2 -2
  119. package/lib/typescript/module/index.web.d.ts.map +1 -1
  120. package/lib/typescript/module/mail-thread/MailThread.d.ts.map +1 -1
  121. package/lib/typescript/module/mail-thread/shared.d.ts +2 -2
  122. package/lib/typescript/module/mail-thread/shared.d.ts.map +1 -1
  123. package/lib/typescript/module/note-card/shared.d.ts +1 -1
  124. package/lib/typescript/module/note-card/shared.d.ts.map +1 -1
  125. package/lib/typescript/module/settings-modal/SettingsPlanCard.d.ts.map +1 -1
  126. package/lib/typescript/module/settings-modal/types.d.ts +3 -0
  127. package/lib/typescript/module/settings-modal/types.d.ts.map +1 -1
  128. package/package.json +1 -1
  129. package/src/app-shell/AppShellSplit.tsx +16 -7
  130. package/src/app-shell/types.ts +5 -0
  131. package/src/card/Card.tsx +6 -2
  132. package/src/card/types.ts +5 -5
  133. package/src/chip/Chip.tsx +26 -5
  134. package/src/content-panel/ContentPanel.tsx +16 -11
  135. package/src/content-panel/ContentPanel.web.tsx +16 -10
  136. package/src/content-panel/types.ts +10 -0
  137. package/src/error-boundary/ErrorBoundary.tsx +6 -0
  138. package/src/error-boundary/PanelErrorBoundary.tsx +38 -0
  139. package/src/error-boundary/index.ts +3 -0
  140. package/src/error-boundary/types.ts +18 -0
  141. package/src/index.ts +3 -1
  142. package/src/index.web.ts +3 -1
  143. package/src/mail-thread/MailMessage.tsx +1 -1
  144. package/src/mail-thread/MailThread.tsx +0 -2
  145. package/src/mail-thread/shared.ts +3 -3
  146. package/src/note-card/shared.ts +1 -1
  147. package/src/settings-modal/SettingsPlanCard.tsx +2 -0
  148. package/src/settings-modal/types.ts +3 -0
@@ -125,8 +125,8 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
125
125
  | `alert-dialog` | `@oxy.so/bloom/alert-dialog` + barrel | web fork | `alert-dialog.mdx` | yes | 2 | | | | |
126
126
  | `animated-check` | `@oxy.so/bloom/animated-check` + barrel | universal | `animated-check.mdx` | yes | 2 | | | | |
127
127
  | `announcement` | `@oxy.so/bloom/announcement` + barrel | universal | `announcement.mdx` | yes | 2 | | | | |
128
- | `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes | 6 | | | | reads |
129
- | `appearance` | `@oxy.so/bloom/appearance` + barrel | universal | `composition.mdx` | yes | 11 | | reads | | |
128
+ | `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes | 7 | | | | reads |
129
+ | `appearance` | `@oxy.so/bloom/appearance` + barrel | universal | `composition.mdx` | yes | 12 | | reads | | |
130
130
  | `aspect-ratio` | `@oxy.so/bloom/aspect-ratio` + barrel | universal | `aspect-ratio.mdx` | yes | 1 | | | | |
131
131
  | `auth-card` | `@oxy.so/bloom/auth-card` + barrel | universal | `auth-card.mdx` | yes | 2 | | | | |
132
132
  | `avatar` | `@oxy.so/bloom/avatar` + barrel | universal | `avatar.mdx` | yes | 7 | | reads | | |
@@ -140,7 +140,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
140
140
  | `button-group` | `@oxy.so/bloom/button-group` + barrel | web fork | `button-group.mdx` | yes | 8 | | reads | | |
141
141
  | `calendar` | `@oxy.so/bloom/calendar` + barrel | universal | `calendar.mdx` | yes | 3 | | | | reads |
142
142
  | `call-ui` | `@oxy.so/bloom/call-ui` + barrel | universal | `call-ui.mdx` | yes | 2 | | reads | | |
143
- | `card` | `@oxy.so/bloom/card` + barrel | universal | `card.mdx` | yes | 5 | | reads | | |
143
+ | `card` | `@oxy.so/bloom/card` + barrel | universal | `card.mdx` | yes | 7 | | reads | | |
144
144
  | `card-form` | `@oxy.so/bloom/card-form` + barrel | universal | `card-form.mdx` | yes | 2 | reads | | | reads |
145
145
  | `carousel` | `@oxy.so/bloom/carousel` + barrel | universal | `carousel.mdx` | yes | 2 | | | | |
146
146
  | `carrier-quote` | `@oxy.so/bloom/carrier-quote` + barrel | universal | `carrier-quote.mdx` | yes | 2 | n/a¹ | | | reads |
@@ -154,7 +154,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
154
154
  | `chat-screen` | `@oxy.so/bloom/chat-screen` + barrel | universal | `chat-screen.mdx` | yes | 3 | | reads | | reads |
155
155
  | `checkbox` | `@oxy.so/bloom/checkbox` + barrel | universal | `checkbox.mdx` | yes | 5 | reads | reads | | reads |
156
156
  | `checkout-summary` | `@oxy.so/bloom/checkout-summary` + barrel | universal | `checkout-summary.mdx` | yes | 2 | | | | |
157
- | `chip` | `@oxy.so/bloom/chip` + barrel | universal | `chip.mdx` | yes | 6 | | reads | | |
157
+ | `chip` | `@oxy.so/bloom/chip` + barrel | universal | `chip.mdx` | yes | 7 | | reads | | |
158
158
  | `code` | `@oxy.so/bloom/code` + barrel | universal | `code.mdx` | yes | 4 | | | | |
159
159
  | `command` | `@oxy.so/bloom/command` + barrel | web fork | `command.mdx` | yes | 2 | n/a¹ | | | reads |
160
160
  | `composer-loader` | `@oxy.so/bloom/composer-loader` + barrel | web fork | `composer-loader.mdx` | yes | 1 | | | | |
@@ -163,7 +163,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
163
163
  | `connection-dots` | `@oxy.so/bloom/connection-dots` + barrel | web fork | `connection-dots.mdx` | yes | 2 | | | | |
164
164
  | `connection-status` | `@oxy.so/bloom/connection-status` + barrel | web fork | `connection-status.mdx` | yes | 1 | | | | |
165
165
  | `contact-card` | `@oxy.so/bloom/contact-card` + barrel | universal | `contact-card.mdx` | yes | 2 | | | | |
166
- | `content-panel` | `@oxy.so/bloom/content-panel` + barrel | web fork | `content-panel.mdx` | yes | 9 | | | | |
166
+ | `content-panel` | `@oxy.so/bloom/content-panel` + barrel | web fork | `content-panel.mdx` | yes | 11 | | | | |
167
167
  | `context-menu` | `@oxy.so/bloom/context-menu` + barrel | web fork | `context-menu.mdx` | yes | 6 | | | reads | |
168
168
  | `cover-header` | `@oxy.so/bloom/cover-header` + barrel | universal | `cover-header.mdx` | yes | 1 | | | | |
169
169
  | `creator-studio` | `@oxy.so/bloom/creator-studio` + barrel | universal | `creator-studio.mdx` | yes | 4 | | n/a¹ | | **adaptation** |
@@ -177,7 +177,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
177
177
  | `dropdown-menu` | `@oxy.so/bloom/dropdown-menu` + barrel | web fork | `dropdown-menu.mdx` | yes | 5 | | | reads | reads |
178
178
  | `earnings` | `@oxy.so/bloom/earnings` + barrel | universal | `earnings.mdx` | yes | 2 | | | | reads |
179
179
  | `empty-state` | `@oxy.so/bloom/empty-state` + barrel | universal | `empty-state.mdx` | yes | 1 | | | | |
180
- | `error-boundary` | `@oxy.so/bloom/error-boundary` + barrel | universal | `error-boundary.mdx` | yes | 2 | | | | |
180
+ | `error-boundary` | `@oxy.so/bloom/error-boundary` + barrel | universal | `error-boundary.mdx` | yes | 3 | | | | |
181
181
  | `eviction` | `@oxy.so/bloom/eviction` + barrel | universal | `eviction.mdx` | yes | 2 | | | | |
182
182
  | `fab` | `@oxy.so/bloom/fab` + barrel | web fork | `fab.mdx` | yes | 4 | | reads | | |
183
183
  | `field` | `@oxy.so/bloom/field` + barrel | universal | `field.mdx` | yes | 14 | reads | | | |
@@ -192,7 +192,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
192
192
  | `hooks` | `@oxy.so/bloom/hooks` + barrel | universal | `hooks.mdx` | yes | 12 | | | | reads |
193
193
  | `hover-card` | `@oxy.so/bloom/hover-card` + barrel | web fork | `hover-card.mdx` | yes | 4 | | | reads | reads |
194
194
  | `icon-circle` | `@oxy.so/bloom/icon-circle` + barrel | universal | `icon-circle.mdx` | yes | 1 | | | | |
195
- | `icons` | `@oxy.so/bloom/icons` + barrel | universal | `icons.mdx` | yes | 60 | | | | |
195
+ | `icons` | `@oxy.so/bloom/icons` + barrel | universal | `icons.mdx` | yes | 61 | | | | |
196
196
  | `image-aspect-ratio-cache` | `@oxy.so/bloom/image-aspect-ratio-cache` + barrel | universal | `image-aspect-ratio-cache.mdx` | yes | 1 | | | | |
197
197
  | `image-resolver` | `@oxy.so/bloom/image-resolver` + barrel | universal | `image-resolver.mdx` | yes | 8 | | | | |
198
198
  | `important-alerts-card` | `@oxy.so/bloom/important-alerts-card` + barrel | universal | `important-alerts-card.mdx` | yes | 1 | | | | |
@@ -202,7 +202,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
202
202
  | `job-board` | `@oxy.so/bloom/job-board` + barrel | universal | `job-board.mdx` | yes | 2 | n/a¹ | | | reads |
203
203
  | `kbd` | `@oxy.so/bloom/kbd` + barrel | universal | `kbd.mdx` | yes | 1 | | reads | | |
204
204
  | `label` | `@oxy.so/bloom/label` + barrel | universal | `label.mdx` | yes | 2 | | reads | | |
205
- | `layout` | `@oxy.so/bloom/layout` + barrel | universal | `layout.mdx` | yes | 10 | | | | |
205
+ | `layout` | `@oxy.so/bloom/layout` + barrel | universal | `layout.mdx` | yes | 11 | | | | |
206
206
  | `lead-score` | `@oxy.so/bloom/lead-score` + barrel | universal | `lead-score.mdx` | yes | 1 | | | | |
207
207
  | `link-preview` | `@oxy.so/bloom/link-preview` + barrel | universal | `link-preview.mdx` | yes | 3 | | | | |
208
208
  | `list` | `@oxy.so/bloom/list` + barrel | web fork | `list.mdx` | yes | 2 | | | | |
@@ -211,7 +211,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
211
211
  | `listing-details` | `@oxy.so/bloom/listing-details` + barrel | universal | `listing-details.mdx` | yes | 5 | | | | reads |
212
212
  | `listing-editor` | `@oxy.so/bloom/listing-editor` + barrel | universal | `listing-editor.mdx` | yes | 2 | **adaptation** | | | reads |
213
213
  | `loading` | `@oxy.so/bloom/loading` + barrel | web fork | `loading.mdx` | yes | 3 | | reads | | |
214
- | `locale` | `@oxy.so/bloom/locale` + barrel | universal | `locale.mdx` | — | 24 | | | | |
214
+ | `locale` | `@oxy.so/bloom/locale` + barrel | universal | `locale.mdx` | — | 25 | | | | |
215
215
  | `location-puck` | `@oxy.so/bloom/location-puck` + barrel | universal | `location-puck.mdx` | yes | 2 | | | | |
216
216
  | `lyrics` | `@oxy.so/bloom/lyrics` + barrel | universal | `lyrics.mdx` | yes | 3 | | | | |
217
217
  | `mail-compose` | `@oxy.so/bloom/mail-compose` + barrel | universal | `mail-compose.mdx` | yes | 4 | reads | | | reads |
@@ -244,8 +244,8 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
244
244
  | `order-status` | `@oxy.so/bloom/order-status` + barrel | universal | `order-status.mdx` | yes | 1 | | | | |
245
245
  | `outline-nav` | `@oxy.so/bloom/outline-nav` + barrel | universal | `outline-nav.mdx` | yes | 2 | | | | |
246
246
  | `overlay` | `@oxy.so/bloom/overlay` + barrel | universal | `overlay.mdx` | yes | 17 | | | | |
247
- | `page-footer` | `@oxy.so/bloom/page-footer` + barrel | universal | `page-footer.mdx` | yes | 1 | | | | |
248
- | `page-header` | `@oxy.so/bloom/page-header` + barrel | universal | `page-header.mdx` | yes | 6 | | | | |
247
+ | `page-footer` | `@oxy.so/bloom/page-footer` + barrel | universal | `page-footer.mdx` | yes | 2 | | | | |
248
+ | `page-header` | `@oxy.so/bloom/page-header` + barrel | universal | `page-header.mdx` | yes | 7 | | | | |
249
249
  | `pagination` | `@oxy.so/bloom/pagination` + barrel | universal | `pagination.mdx` | yes | 2 | | | | |
250
250
  | `patient-info-card` | `@oxy.so/bloom/patient-info-card` + barrel | universal | `patient-info-card.mdx` | yes | 1 | | | | |
251
251
  | `payment-method` | `@oxy.so/bloom/payment-method` + barrel | universal | `payment-method.mdx` | yes | 3 | reads | | | |
@@ -279,7 +279,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
279
279
  | `segmented-control` | `@oxy.so/bloom/segmented-control` + barrel | universal | `segmented-control.mdx` | yes | 4 | reads | reads | | |
280
280
  | `select` | `@oxy.so/bloom/select` + barrel | web fork | `select.mdx` | yes | 11 | reads | reads | reads | reads |
281
281
  | `settings-list` | `@oxy.so/bloom/settings-list` + barrel | universal | `settings-list.mdx` | yes | 5 | | | | |
282
- | `settings-modal` | `@oxy.so/bloom/settings-modal` + barrel | universal | `settings-modal.mdx` | yes | 10 | | | | reads |
282
+ | `settings-modal` | `@oxy.so/bloom/settings-modal` + barrel | universal | `settings-modal.mdx` | yes | 11 | | | | reads |
283
283
  | `shapes` | `@oxy.so/bloom/shapes` + barrel | universal | `shapes.mdx` | yes | 4 | | | | |
284
284
  | `shipment-request` | `@oxy.so/bloom/shipment-request` + barrel | universal | `shipment-request.mdx` | yes | 1 | **adaptation** | | | |
285
285
  | `sidebar` | `@oxy.so/bloom/sidebar` + barrel | universal | `sidebar.mdx` | yes | 12 | n/a¹ | reads | | reads |
@@ -293,9 +293,9 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
293
293
  | `stay-search` | `@oxy.so/bloom/stay-search` + barrel | universal | `stay-search.mdx` | yes | 5 | | | | |
294
294
  | `stepper` | `@oxy.so/bloom/stepper` + barrel | universal | `stepper.mdx` | yes | 4 | reads | reads | | |
295
295
  | `sticker` | `@oxy.so/bloom/sticker` + barrel | web fork | `sticker.mdx` | yes | 1 | | | | |
296
- | `styles` | `@oxy.so/bloom/styles` + barrel | universal | `styles.mdx` | yes | 87 | n/a¹ | reads | | |
296
+ | `styles` | `@oxy.so/bloom/styles` + barrel | universal | `styles.mdx` | yes | 88 | n/a¹ | reads | | |
297
297
  | `subtle-hover` | `@oxy.so/bloom/subtle-hover` + barrel | universal | `subtle-hover.mdx` | yes | 1 | | | | |
298
- | `surface` | `@oxy.so/bloom/surface` + barrel | web fork | `surface.mdx` | yes | 40 | | | | |
298
+ | `surface` | `@oxy.so/bloom/surface` + barrel | web fork | `surface.mdx` | yes | 41 | | | | |
299
299
  | `surfaces` | `@oxy.so/bloom/surfaces` + barrel | web fork | `alert.mdx` | yes | 3 | | | | |
300
300
  | `swipe-row` | `@oxy.so/bloom/swipe-row` + barrel | universal | `swipe-row.mdx` | yes | 2 | | | | |
301
301
  | `switch` | `@oxy.so/bloom/switch` + barrel | universal | `switch.mdx` | yes | 7 | reads | reads | | reads |
@@ -308,7 +308,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
308
308
  | `tenancy` | `@oxy.so/bloom/tenancy` + barrel | universal | `tenancy.mdx` | yes | 5 | | reads | | |
309
309
  | `text-field` | `@oxy.so/bloom/text-field` + barrel | universal | `text-field.mdx` | yes | 17 | reads | reads | | |
310
310
  | `textarea` | `@oxy.so/bloom/textarea` + barrel | universal | `textarea.mdx` | yes | 4 | reads | reads | | n/a¹ |
311
- | `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 356 | | | n/a¹ | reads |
311
+ | `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 359 | | | n/a¹ | reads |
312
312
  | `theme-toggle` | `@oxy.so/bloom/theme-toggle` + barrel | universal | `theme-toggle.mdx` | yes | 2 | n/a¹ | | | |
313
313
  | `toast` | `@oxy.so/bloom/toast` + barrel | universal | `toast.mdx` | yes | 17 | | | | |
314
314
  | `tooltip` | `@oxy.so/bloom/tooltip` + barrel | web fork | `tooltip.mdx` | yes | 1 | | | | |
@@ -689,3 +689,25 @@ To fill wide displays without a reading-column cap, set
689
689
  `contentMaxWidth="none"`. The default remains 1300. Dashboard reveal layouts
690
690
  honor an explicit `gutter`, including `gutter={0}` for edge-to-edge compact
691
691
  content; omitting it preserves the existing 12px frame and wider-screen top gap.
692
+
693
+ ### Pane error recovery
694
+
695
+ `AppShellSplitPanes` isolates list, detail and info rendering failures independently.
696
+ The default localized, themed EmptyState offers retry while the other panes and
697
+ shell navigation keep working. Pass options per pane to customize the presentation
698
+ and clear a failed pane when navigation changes:
699
+
700
+ ```tsx
701
+ <AppShellSplitPanes
702
+ list={<MessageList />}
703
+ detail={<MessageRoute />}
704
+ detailErrorBoundary={{
705
+ resetKey: pathname,
706
+ emptyState: { illustration: <BrandSticker />, title: 'Cannot open this message' },
707
+ }}
708
+ />
709
+ ```
710
+
711
+ `listErrorBoundary`, `detailErrorBoundary` and `infoErrorBoundary` accept
712
+ `PanelErrorBoundaryOptions` or `false` to disable local recovery. These boundaries
713
+ catch render/lifecycle errors; expected request failures remain normal content state.
@@ -41,7 +41,7 @@ Explicit props win over the nearest scope, which wins over the family's defaults
41
41
 
42
42
  ### Panel corners
43
43
 
44
- `BloomScope panelRadius={28}` sets the shared corner radius for `Sidebar surface="card"`
44
+ `BloomScope panelRadius={28}` sets the shared corner radius for `Card radius="panel"`, message cards, and `Sidebar surface="card"`
45
45
  and framed `ContentPanel` surfaces. The default is 28; any finite non-negative number
46
46
  is accepted, including zero. Nested scopes inherit it independently of size and tone.
47
47
  The surface, its material, the content clip and web frame/mask all use that radius.
package/docs/card.mdx CHANGED
@@ -133,3 +133,17 @@ Backgrounds resolved by the styled adapter into `style` participate in this cont
133
133
  `ref` and `onLayout` address the outer card host in both passive and pressable forms. Responsive card families reuse that measurement rather than adding a layout wrapper. Dashboard, chart, booking, tenancy and specialized cards compose this base; their custom content retains its geometry and semantic colours while neutral fills derive from the surrounding surface.
134
134
 
135
135
  Material resolution is shared with Surface and overlays: one resolver chooses paint alpha, composited backing, depth and CSS aliases. Plain cards publish explicit backing without applying material or incrementing depth.
136
+
137
+ ## Match workspace panels
138
+
139
+ `radius="panel"` inherits `BloomScope panelRadius` and the shared circular panel
140
+ curve (28px by default). Use it for message and reply cards that should match
141
+ Sidebar and ContentPanel, without reading geometry tokens in the app. Scoped
142
+ changes update the surface paint and its inner clip together; an explicit
143
+ `cornerCurve` remains an intentional override. Other Card radius defaults are unchanged.
144
+
145
+ ```tsx
146
+ <BloomScope panelRadius={40}>
147
+ <Card radius="panel" clipContent>Reply composer</Card>
148
+ </BloomScope>
149
+ ```
package/docs/chip.mdx CHANGED
@@ -165,3 +165,8 @@ In a flex row of chips — a filter bar, a tag list — each pill keeps its size
165
165
  ## Compatibility
166
166
 
167
167
  The shared `size`, `tone` and `appearance` vocabulary coexists with the previously published family props. Explicit shared props take precedence over legacy spellings; existing size and state callbacks remain supported. New code should prefer the shared vocabulary.
168
+
169
+ When a chip provides both `onPress` (or `onCheckedChange`) and `onClose`, selection
170
+ and removal are two sibling controls inside one painted pill. Each is keyboard
171
+ focusable and has its own accessible name. Closing does not select the chip;
172
+ `disabled` disables both actions. The forwarded ref targets the selection control.
@@ -259,3 +259,25 @@ The painted host delegates its fill to Surface: a 90%-opacity body with a subtle
259
259
  Panel corners inherit `BloomScope panelRadius` (28 by default), matching card sidebars. Both preserve the circular corner shape of the content panel on web and native.
260
260
  `chrome="none"` removes the border, shadow and material rim/sheen while retaining the
261
261
  framed radius and content clipping. Use it for a reader pane that should have a plain fill.
262
+
263
+ For a page outside split panes, `errorBoundary` opts into themed local recovery inside
264
+ the existing surface: `errorBoundary={{ resetKey: pathname, emptyState: { title: 'Cannot open this page' } }}`.
265
+ The frame remains mounted while content retries. Omit it when `AppShellSplitPanes`
266
+ already owns the pane boundary. See [Error boundary](/docs/error-boundary).
267
+
268
+ ### Transparent content layout
269
+
270
+ Use `appearance="plain"` when the content should sit directly on the enclosing
271
+ surface, for example individual message cards inside a reader. The panel keeps
272
+ its responsive framing, scoped radius, clipping and height behavior, but paints
273
+ no backing, material, border or shadow. Its descendants inherit the enclosing
274
+ surface's actual level and fill, so `PageHeader` and `PageFooter` scrims blend
275
+ into that surface. Background overrides and `surfaceColor` apply only to the
276
+ default `appearance="solid"` mode. This differs from `chrome="none"`, which
277
+ removes the edge while retaining the solid backing.
278
+
279
+ ```tsx
280
+ <ContentPanel appearance="plain" fill overlaySizing="panel">
281
+ <MailThread messages={messages} />
282
+ </ContentPanel>
283
+ ```
@@ -70,3 +70,38 @@ React error boundaries catch errors thrown **during render**. They do not catch:
70
70
 
71
71
  So a boundary is a safety net for the unexpected, not the way you handle a
72
72
  failed request. A request that can fail has a designed failure state.
73
+
74
+ ## Recover one pane inside a healthy shell
75
+
76
+ Use `PanelErrorBoundary` for content beneath Bloom's providers. It renders a themed
77
+ `EmptyState` with localized error text and a retry button. `ErrorBoundary` remains
78
+ the provider-independent last line of defense for failures outside those providers.
79
+
80
+ ```tsx
81
+ <PanelErrorBoundary
82
+ resetKey={pathname}
83
+ emptyState={{ illustration: <BrandSticker />, title: 'Cannot open this message' }}
84
+ >
85
+ <MessageContent />
86
+ </PanelErrorBoundary>
87
+ ```
88
+
89
+ The boundary catches render and lifecycle failures, not rejected requests or event
90
+ handler exceptions. Keep expected loading/error data states in the content API.
91
+ Changing `resetKey` clears a failed boundary; healthy content retains its state.
92
+ Retry affects only this boundary. A supplied `emptyState.action.onPress` runs before
93
+ retry, so it can clear local error data or request a refresh. Omitting `action`
94
+ preserves the default retry button. `fallback` accepts the same node/render callback
95
+ and error context as `ErrorBoundary`; a failing fallback escalates to the next outer
96
+ boundary instead of retrying itself.
97
+
98
+ The default fallback scrolls when space is short and clears the inherited occupied
99
+ bottom edge. Set `bottomInset={0}` when its parent already reserves that space.
100
+ An explicit `bottomInset` takes precedence over the inherited occupancy.
101
+
102
+ `AppShellSplitPanes` installs independent boundaries for its list, detail and info
103
+ panes by default. Configure each through `listErrorBoundary`, `detailErrorBoundary`
104
+ and `infoErrorBoundary`, using the same options as `PanelErrorBoundary`; pass `false`
105
+ to delegate that pane to an outer boundary. Shell navigation and healthy panes remain
106
+ mounted. `ContentPanel errorBoundary` provides the same recovery inside the framed
107
+ surface for pages outside a split; it is opt-in to avoid redundant boundaries.
@@ -122,8 +122,16 @@ be ambiguous.
122
122
 
123
123
  ## Message surfaces and spacing
124
124
 
125
- Collapsed and expanded messages use the same solid `Card`, with radius-16,
125
+ Collapsed and expanded messages use the same solid `Card`, with shared panel geometry,
126
126
  no border and small elevation. Expanding changes the contents without replacing
127
127
  the card host, so focus stays on the disclosure. `MailThread` separates the
128
128
  cards and the earlier-messages control by `space.md` (12); `messageGap` can
129
129
  adjust that spacing without wrapping or restyling individual messages.
130
+
131
+ Message cards use the shared panel shape in both collapsed and expanded states:
132
+ `BloomScope panelRadius` controls their radius, with circular 28px corners by
133
+ default. Compose a matching inline reply with `<Card radius="panel" clipContent>`.
134
+ The message surface, border and elevation remain the same when it opens.
135
+
136
+ The thread title separates from the messages through spacing; it does not draw
137
+ a divider line beneath the header.
@@ -144,3 +144,8 @@ All surfaces come from the theme ramps (`button/shared`): background/secondary i
144
144
  Use the imperative control for guarded flows. External changes to controlled `open` or `page`, and parent unmounts, remain the caller's authority and are not vetoed. Preserve the application's router leave guard as well when navigation can unmount the modal. The guard should read the application's completion state; the modal never stores recovery phrases or other sensitive content.
145
145
 
146
146
  The modal uses the shared Surface gradient and rim over its existing full backing. It publishes that backing to nested controls through the surface context and web CSS variable; the navigation rail publishes its own secondary backing. Neither replaces the modal’s layout, scrolling or overlay behavior.
147
+
148
+ A `SettingsPageSection` can provide `emptyState: EmptyStateProps`. General and Profile
149
+ pages render that EmptyState inside the section card only when `rows` is empty,
150
+ retaining the section heading, description and action. The compact variant is the
151
+ default; the section can override it and supply its own illustration and actions.
@@ -7,6 +7,7 @@ exports.AppShellSplitPanes = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _AiChatResizeHandle = require("../ai-chat/AiChatResizeHandle.js");
10
+ var _PanelErrorBoundary = require("../error-boundary/PanelErrorBoundary.js");
10
11
  var _zIndex = require("../styles/z-index.js");
11
12
  var _tokens = require("../styles/tokens.js");
12
13
  var _useTheme = require("../theme/use-theme.js");
@@ -35,34 +36,42 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
35
36
  /** One pane: a bounded column that scrolls its own overflow. */function Pane({
36
37
  children,
37
38
  scroll,
39
+ errorBoundary,
38
40
  style,
39
41
  testID
40
42
  }) {
43
+ const content = scroll ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
44
+ style: {
45
+ flex: 1
46
+ },
47
+ contentContainerStyle: {
48
+ flexGrow: 1
49
+ },
50
+ children: children
51
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
52
+ style: {
53
+ flex: 1,
54
+ minHeight: 0
55
+ },
56
+ children: children
57
+ });
41
58
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
42
59
  testID: testID,
43
60
  style: [{
44
61
  minWidth: 0,
45
62
  alignSelf: 'stretch'
46
63
  }, style],
47
- children: scroll ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
48
- style: {
49
- flex: 1
50
- },
51
- contentContainerStyle: {
52
- flexGrow: 1
53
- },
54
- children: children
55
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
56
- style: {
57
- flex: 1,
58
- minHeight: 0
59
- },
60
- children: children
64
+ children: errorBoundary === false ? content : /*#__PURE__*/(0, _jsxRuntime.jsx)(_PanelErrorBoundary.PanelErrorBoundary, {
65
+ ...errorBoundary,
66
+ children: content
61
67
  })
62
68
  });
63
69
  }
64
70
  const AppShellSplitPanesComponent = ({
65
71
  variant = 'joined',
72
+ listErrorBoundary,
73
+ detailErrorBoundary,
74
+ infoErrorBoundary,
66
75
  list,
67
76
  detail,
68
77
  info,
@@ -127,6 +136,7 @@ const AppShellSplitPanesComponent = ({
127
136
  },
128
137
  children: [showList ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Pane, {
129
138
  testID: testID ? `${testID}-pane-list` : undefined,
139
+ errorBoundary: listErrorBoundary,
130
140
  scroll: paneScroll,
131
141
  style: solo ? {
132
142
  flexGrow: 1,
@@ -163,6 +173,7 @@ const AppShellSplitPanesComponent = ({
163
173
  }) : null
164
174
  }) : null, showDetail ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Pane, {
165
175
  testID: testID ? `${testID}-pane-detail` : undefined,
176
+ errorBoundary: detailErrorBoundary,
166
177
  scroll: paneScroll,
167
178
  style: {
168
179
  flexGrow: 1,
@@ -175,6 +186,7 @@ const AppShellSplitPanesComponent = ({
175
186
  testID: testID ? `${testID}-info-gap` : undefined
176
187
  }) : null, showInfo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Pane, {
177
188
  testID: testID ? `${testID}-pane-info` : undefined,
189
+ errorBoundary: infoErrorBoundary,
178
190
  scroll: paneScroll,
179
191
  style: solo ? {
180
192
  flexGrow: 1,
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_AiChatResizeHandle","_zIndex","_tokens","_useTheme","_messages","_messages2","_constants","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Pane","children","scroll","style","testID","jsx","View","minWidth","alignSelf","ScrollView","flex","contentContainerStyle","flexGrow","minHeight","AppShellSplitPanesComponent","variant","list","detail","info","showList","showDetail","showInfo","listWidth","D","listMinWidth","listMaxWidth","onListWidthChange","infoWidth","resizable","paneScroll","resizeLabel","resizeLabelProp","theme","useTheme","messages","useMessages","APP_SHELL_MESSAGES","resizePanes","width","setWidth","useState","widthAtDragStart","useRef","clamp","useCallback","next","Math","min","max","commit","clamped","onResizeStart","current","onResize","dx","onNudge","separated","divider","space","md","flexShrink","zIndex","Z_INDEX","floating","backgroundColor","colors","border","solo","filter","Boolean","length","jsxs","flexDirection","undefined","flexBasis","pointerEvents","position","top","bottom","left","right","AiChatResizeHandle","label","AppShellSplitPanes","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShellSplit.tsx"],"mappings":";;;;;;AAgBA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAGA,IAAAQ,UAAA,GAAAR,OAAA;AAAsD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAA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AAMiE,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,gBAAG,IAAAE,WAAI,EAACvE,2BAA2B,CAAC;AACnEqE,kBAAkB,CAACG,WAAW,GAAG,oBAAoB","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_AiChatResizeHandle","_PanelErrorBoundary","_zIndex","_tokens","_useTheme","_messages","_messages2","_constants","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Pane","children","scroll","errorBoundary","style","testID","content","jsx","ScrollView","flex","contentContainerStyle","flexGrow","View","minHeight","minWidth","alignSelf","PanelErrorBoundary","AppShellSplitPanesComponent","variant","listErrorBoundary","detailErrorBoundary","infoErrorBoundary","list","detail","info","showList","showDetail","showInfo","listWidth","D","listMinWidth","listMaxWidth","onListWidthChange","infoWidth","resizable","paneScroll","resizeLabel","resizeLabelProp","theme","useTheme","messages","useMessages","APP_SHELL_MESSAGES","resizePanes","width","setWidth","useState","widthAtDragStart","useRef","clamp","useCallback","next","Math","min","max","commit","clamped","onResizeStart","current","onResize","dx","onNudge","separated","divider","space","md","flexShrink","zIndex","Z_INDEX","floating","backgroundColor","colors","border","solo","filter","Boolean","length","jsxs","flexDirection","undefined","flexBasis","pointerEvents","position","top","bottom","left","right","AiChatResizeHandle","label","AppShellSplitPanes","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShellSplit.tsx"],"mappings":";;;;;;AAgBA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,SAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA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AQ,IAAID,UAAU,IAAI,CAAC+C,IAAI,gBAAG,IAAA7F,WAAA,CAAA2B,GAAA,EAACpC,YAAA,CAAAyC,IAAI;MAACR,KAAK,EAAE2D,OAAQ;MAAC1D,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,WAAW,GAAG0E;IAAU,CAAE,CAAC,GAAG,IAAI,EACpHpD,QAAQ,gBACP,IAAA/C,WAAA,CAAA2B,GAAA,EAACP,IAAI;MACHK,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,YAAY,GAAG0E,SAAU;MACnD5E,aAAa,EAAEkB,iBAAkB;MACjCnB,MAAM,EAAEiC,UAAW;MACnB/B,KAAK,EAAEqE,IAAI,GAAG;QAAE9D,QAAQ,EAAE,CAAC;QAAEuD,UAAU,EAAE,CAAC;QAAEc,SAAS,EAAE;MAAE,CAAC,GAAG;QAAEpC,KAAK,EAAEX,SAAS;QAAEiC,UAAU,EAAE;MAAE,CAAE;MAAAjE,QAAA,EAEhGuB;IAAI,CACD,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX,CAAC;AAEM,MAAMiE,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,gBAAG,IAAAE,WAAI,EAAC1E,2BAA2B,CAAC;AACnEwE,kBAAkB,CAACG,WAAW,GAAG,oBAAoB","ignoreList":[]}
@@ -23,6 +23,7 @@ var _shadows = require("../design-tokens/shadows");
23
23
  var _useInteractionState = require("../hooks/use-interaction-state.js");
24
24
  var _styledPrimitives = require("../styles/styled-primitives.js");
25
25
  var _tokens = require("../styles/tokens.js");
26
+ var _panelChrome = require("../styles/panel-chrome.js");
26
27
  var _jsxRuntime = require("react/jsx-runtime");
27
28
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
28
29
  /**
@@ -80,7 +81,7 @@ const CardRootComponent = /*#__PURE__*/_react.default.forwardRef(function CardRo
80
81
  appearance: appearanceProp,
81
82
  tone: toneProp,
82
83
  radius,
83
- cornerCurve = _shapes.SURFACE_SHAPES.card.curve,
84
+ cornerCurve: cornerCurveProp,
84
85
  clipContent = false,
85
86
  contentStyle,
86
87
  elevation,
@@ -97,7 +98,10 @@ const CardRootComponent = /*#__PURE__*/_react.default.forwardRef(function CardRo
97
98
  const theme = (0, _useTheme.useTheme)();
98
99
  const layer = (0, _useSurfaceLayer.useSurfaceLayer)();
99
100
  const parentLevel = (0, _surfaceLevels.useSurfaceLevelValue)();
100
- const resolvedGeometry = (0, _resolveSurfaceGeometry.resolveSurfaceGeometry)(radius ? _scales.RADIUS[radius] : undefined, style, _scales.RADIUS['radius-12'], cornerCurve);
101
+ const panelShape = (0, _panelChrome.usePanelShape)();
102
+ const cornerCurve = cornerCurveProp ?? (radius === 'panel' ? panelShape.curve : _shapes.SURFACE_SHAPES.card.curve);
103
+ const explicitRadius = radius === 'panel' ? panelShape.radius : radius ? _scales.RADIUS[radius] : undefined;
104
+ const resolvedGeometry = (0, _resolveSurfaceGeometry.resolveSurfaceGeometry)(explicitRadius, style, _scales.RADIUS['radius-12'], cornerCurve);
101
105
  const appearance = appearanceProp ?? 'solid';
102
106
  const {
103
107
  tone
@@ -1 +1 @@
1
- {"version":3,"names":["_surfaceStyle","require","_shapes","_context","_index","_colors","_react","_interopRequireWildcard","_reactNative","_reactNativeCss","_SurfacePaint","_resolveSurfaceGeometry","_resolveSurfaceMaterial","_useSurfaceLayer","_surfaceLevels","_useTheme","_scales","_shadows","_useInteractionState","_styledPrimitives","_tokens","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BORDER_PX","hairline","BORDER_WIDTH","thin","medium","VARIANT_DEFAULTS","plain","border","elevation","solid","outline","subtle","CardRootComponent","React","forwardRef","children","appearance","appearanceProp","tone","toneProp","radius","cornerCurve","SURFACE_SHAPES","card","curve","clipContent","contentStyle","style","className","onPress","onLayout","accessibilityRole","disabled","accessibilityLabel","testID","ref","theme","useTheme","layer","useSurfaceLayer","parentLevel","useSurfaceLevelValue","resolvedGeometry","resolveSurfaceGeometry","RADIUS","undefined","useBloomAppearance","size","paint","resolveBloomColors","colors","state","pressed","onIn","onPressIn","onOut","onPressOut","useInteractionState","containerStyle","useMemo","defaults","resolvedBorder","resolvedElevation","base","backgroundColor","fill","background","borderWidth","borderColor","assign","bloomShadowStyle","shape","geometry","resolved","StyleSheet","flatten","outerStyle","material","resolveSurfaceMaterial","String","parentFill","paintFill","painted","paintsSurface","publishedFill","vars","contents","jsxs","Fragment","jsx","SurfacePaint","SurfaceLevelProvider","level","CardForegroundContext","Provider","value","foreground","View","surfaceStyle","Math","max","borderRadius","overflow","alignSelf","flexGrow","flexShrink","StyledPressable","opacity","accessibilityState","StyledView","CardHeaderComponent","paddingHorizontal","space","lg","paddingTop","paddingBottom","sm","CardBodyComponent","paddingVertical","CardFooterComponent","flexDirection","alignItems","justifyContent","gap","CardTitleComponent","numberOfLines","useContext","Text","fontSize","fontWeight","color","text","lineHeight","CardDescriptionComponent","textSecondary","StyledCard","styled","Card","exports","memo","displayName","CardHeader","CardBody","CardFooter","CardTitle","CardDescription"],"sourceRoot":"../../../src","sources":["card/Card.tsx"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAqBA,IAAAK,MAAA,GA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C;EAAEgB,SAAS,EAAE;AAAQ,CAAC,CAA6B;AAC3H,MAAM6G,IAAI,GAAAC,OAAA,CAAAD,IAAA,gBAAG,IAAAE,WAAI,EAACJ,UAAU,CAAC;AACpCE,IAAI,CAACG,WAAW,GAAG,MAAM;AAElB,MAAMC,UAAU,GAAAH,OAAA,CAAAG,UAAA,gBAAG,IAAAF,WAAI,EAAC7B,mBAAmB,CAAC;AACnD+B,UAAU,CAACD,WAAW,GAAG,YAAY;AAE9B,MAAME,QAAQ,GAAAJ,OAAA,CAAAI,QAAA,gBAAG,IAAAH,WAAI,EAACtB,iBAAiB,CAAC;AAC/CyB,QAAQ,CAACF,WAAW,GAAG,UAAU;AAE1B,MAAMG,UAAU,GAAAL,OAAA,CAAAK,UAAA,gBAAG,IAAAJ,WAAI,EAACpB,mBAAmB,CAAC;AACnDwB,UAAU,CAACH,WAAW,GAAG,YAAY;AAE9B,MAAMI,SAAS,GAAAN,OAAA,CAAAM,SAAA,gBAAG,IAAAL,WAAI,EAACf,kBAAkB,CAAC;AACjDoB,SAAS,CAACJ,WAAW,GAAG,WAAW;AAE5B,MAAMK,eAAe,GAAAP,OAAA,CAAAO,eAAA,gBAAG,IAAAN,WAAI,EAACN,wBAAwB,CAAC;AAC7DY,eAAe,CAACL,WAAW,GAAG,iBAAiB","ignoreList":[]}
1
+ {"version":3,"names":["_surfaceStyle","require","_shapes","_context","_index","_colors","_react","_interopRequireWildcard","_reactNative","_reactNativeCss","_SurfacePaint","_resolveSurfaceGeometry","_resolveSurfaceMaterial","_useSurfaceLayer","_surfaceLevels","_useTheme","_scales","_shadows","_useInteractionState","_styledPrimitives","_tokens","_panelChrome","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BORDER_PX","hairline","BORDER_WIDTH","thin","medium","VARIANT_DEFAULTS","plain","border","elevation","solid","outline","subtle","CardRootComponent","React","forwardRef","children","appearance","appearanceProp","tone","toneProp","radius","cornerCurve","cornerCurveProp","clipContent","contentStyle","style","className","onPress","onLayout","accessibilityRole","disabled","accessibilityLabel","testID","ref","theme","useTheme","layer","useSurfaceLayer","parentLevel","useSurfaceLevelValue","panelShape","usePanelShape","curve","SURFACE_SHAPES","card","explicitRadius","RADIUS","undefined","resolvedGeometry","resolveSurfaceGeometry","useBloomAppearance","size","paint","resolveBloomColors","colors","state","pressed","onIn","onPressIn","onOut","onPressOut","useInteractionState","containerStyle","useMemo","defaults","resolvedBorder","resolvedElevation","base","backgroundColor","fill","background","borderWidth","borderColor","assign","bloomShadowStyle","shape","geometry","resolved","StyleSheet","flatten","outerStyle","material","resolveSurfaceMaterial","String","parentFill","paintFill","painted","paintsSurface","publishedFill","vars","contents","jsxs","Fragment","jsx","SurfacePaint","SurfaceLevelProvider","level","CardForegroundContext","Provider","value","foreground","View","surfaceStyle","Math","max","borderRadius","overflow","alignSelf","flexGrow","flexShrink","StyledPressable","opacity","accessibilityState","StyledView","CardHeaderComponent","paddingHorizontal","space","lg","paddingTop","paddingBottom","sm","CardBodyComponent","paddingVertical","CardFooterComponent","flexDirection","alignItems","justifyContent","gap","CardTitleComponent","numberOfLines","useContext","Text","fontSize","fontWeight","color","text","lineHeight","CardDescriptionComponent","textSecondary","StyledCard","styled","Card","exports","memo","displayName","CardHeader","CardBody","CardFooter","CardTitle","CardDescription"],"sourceRoot":"../../../src","sources":["card/Card.tsx"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAqBA,IAAAK,MAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAEA,IAAAQ,eAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,uBAAA,GAAAV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a,EAAEA,aAAc;IAAAlH,QAAA,EAE5BA;EAAQ,CACL,CAAC;AAEX,CAAC;;AAED;AACA,MAAM4H,UAAU,GAAG,IAAAC,sBAAM,EAAChI,iBAAiB,EAAoC;EAAEc,SAAS,EAAE;AAAQ,CAAC,CAA6B;AAC3H,MAAMmH,IAAI,GAAAC,OAAA,CAAAD,IAAA,gBAAG,IAAAE,WAAI,EAACJ,UAAU,CAAC;AACpCE,IAAI,CAACG,WAAW,GAAG,MAAM;AAElB,MAAMC,UAAU,GAAAH,OAAA,CAAAG,UAAA,gBAAG,IAAAF,WAAI,EAAC7B,mBAAmB,CAAC;AACnD+B,UAAU,CAACD,WAAW,GAAG,YAAY;AAE9B,MAAME,QAAQ,GAAAJ,OAAA,CAAAI,QAAA,gBAAG,IAAAH,WAAI,EAACtB,iBAAiB,CAAC;AAC/CyB,QAAQ,CAACF,WAAW,GAAG,UAAU;AAE1B,MAAMG,UAAU,GAAAL,OAAA,CAAAK,UAAA,gBAAG,IAAAJ,WAAI,EAACpB,mBAAmB,CAAC;AACnDwB,UAAU,CAACH,WAAW,GAAG,YAAY;AAE9B,MAAMI,SAAS,GAAAN,OAAA,CAAAM,SAAA,gBAAG,IAAAL,WAAI,EAACf,kBAAkB,CAAC;AACjDoB,SAAS,CAACJ,WAAW,GAAG,WAAW;AAE5B,MAAMK,eAAe,GAAAP,OAAA,CAAAO,eAAA,gBAAG,IAAAN,WAAI,EAACN,wBAAwB,CAAC;AAC7DY,eAAe,CAACL,WAAW,GAAG,iBAAiB","ignoreList":[]}
@@ -81,6 +81,15 @@ const BLOOM_CHIP_CSS = (0, _interactiveWebCss.interactiveWebCss)({
81
81
  },
82
82
  outlineOffset: 2,
83
83
  extraRules: `
84
+ /* The removable pill contains two sibling controls. Draw one exterior focus ring. */
85
+ [data-bloom-chip-group]:has(:focus-visible) {
86
+ outline: 2px solid var(--bloom-chip-ring);
87
+ outline-offset: 2px;
88
+ }
89
+ [data-bloom-chip-group] [data-bloom-chip]:focus-visible {
90
+ outline: none;
91
+ }
92
+
84
93
  /* The rung with a minWidth ("Any", "1", "8+" in a counts row) centres its
85
94
  label. The style prop cannot say so: the reset above is an adopted sheet and
86
95
  wins over react-native-web's atomic classes, so it has to be said here too. */
@@ -225,7 +234,12 @@ const ChipComponent = /*#__PURE__*/(0, _react.forwardRef)(function ChipComponent
225
234
  // when that label is words; `closeLabel` is for the rest.
226
235
  const removeLabel = closeLabel ?? (typeof children === 'string' ? `Remove ${children}` : 'Remove');
227
236
  const closeButton = onClose ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
228
- onPress: onClose,
237
+ onPress: event => {
238
+ event.stopPropagation();
239
+ onClose();
240
+ },
241
+ disabled: disabled,
242
+ "aria-disabled": disabled || undefined,
229
243
  hitSlop: {
230
244
  top: 6,
231
245
  bottom: 6,
@@ -254,7 +268,7 @@ const ChipComponent = /*#__PURE__*/(0, _react.forwardRef)(function ChipComponent
254
268
  }) : children, endIcon != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
255
269
  style: iconSlotStyle,
256
270
  children: endIcon
257
- }) : null, closeButton]
271
+ }) : null]
258
272
  });
259
273
  if (onPress || onCheckedChange) {
260
274
  // Both spellings of the state, because neither platform reads the other's
@@ -285,8 +299,8 @@ const ChipComponent = /*#__PURE__*/(0, _react.forwardRef)(function ChipComponent
285
299
  },
286
300
  'aria-pressed': selected
287
301
  };
288
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledPressable, {
289
- className: className,
302
+ const button = /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledPressable, {
303
+ className: onClose ? undefined : className,
290
304
  ref: ref
291
305
  // The DOM hook the adopted sheet above hangs off.
292
306
  //
@@ -321,7 +335,18 @@ const ChipComponent = /*#__PURE__*/(0, _react.forwardRef)(function ChipComponent
321
335
  onKeyDown
322
336
  } : null)
323
337
  } : {}),
324
- style: [containerStyle, disabled && {
338
+ style: onClose ? {
339
+ flexGrow: 1,
340
+ flexShrink: 1,
341
+ alignSelf: 'stretch',
342
+ flexDirection: 'row',
343
+ alignItems: 'center',
344
+ gap: geometry.iconGap,
345
+ borderWidth: 0,
346
+ backgroundColor: 'transparent',
347
+ padding: 0,
348
+ minWidth: 0
349
+ } : [containerStyle, disabled && {
325
350
  opacity: 0.5
326
351
  }, hovered && !disabled && paint.hoveredBorder ? {
327
352
  borderColor: paint.hoveredBorder
@@ -349,8 +374,27 @@ const ChipComponent = /*#__PURE__*/(0, _react.forwardRef)(function ChipComponent
349
374
  testID: testID,
350
375
  children: content
351
376
  });
377
+ if (!onClose) return button;
378
+ // Selection and removal are sibling controls, never nested buttons.
379
+ // The shared outer pill owns layout classes and paint; the ref still targets selection.
380
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styledPrimitives.StyledView, {
381
+ className: className,
382
+ ...(IS_WEB ? {
383
+ dataSet: {
384
+ bloomChipGroup: ''
385
+ }
386
+ } : {}),
387
+ style: [containerStyle, disabled && {
388
+ opacity: 0.5
389
+ }, hovered && !disabled && paint.hoveredBorder ? {
390
+ borderColor: paint.hoveredBorder
391
+ } : null, pressed && !disabled && {
392
+ backgroundColor: paint.pressedBackground
393
+ }, style],
394
+ children: [button, closeButton]
395
+ });
352
396
  }
353
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledView, {
397
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styledPrimitives.StyledView, {
354
398
  className: className,
355
399
  ref: ref,
356
400
  style: [containerStyle, disabled && {
@@ -358,7 +402,7 @@ const ChipComponent = /*#__PURE__*/(0, _react.forwardRef)(function ChipComponent
358
402
  }, style],
359
403
  accessibilityLabel: accessibilityLabel,
360
404
  testID: testID,
361
- children: content
405
+ children: [content, closeButton]
362
406
  });
363
407
  });
364
408
  const Chip = exports.Chip = /*#__PURE__*/(0, _react.memo)(ChipComponent);