@krizaka/ui 3.65.0 → 3.66.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 (304) hide show
  1. package/README.md +3 -0
  2. package/dist/account-settings.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/app-header/search.js +1 -1
  5. package/dist/app-header.d.ts +3 -3
  6. package/dist/app-shell.js +1 -1
  7. package/dist/argument-card.js +2 -2
  8. package/dist/audio-player.js +1 -1
  9. package/dist/{chunk-5QEXOGO2.js → chunk-6BMKLAZ7.js} +1 -1
  10. package/dist/{chunk-XCBVFMNV.js.map → chunk-6BMKLAZ7.js.map} +1 -1
  11. package/dist/{chunk-SHBYNQFS.js → chunk-7DYZTEE3.js} +1 -1
  12. package/dist/{chunk-SHBYNQFS.js.map → chunk-7DYZTEE3.js.map} +1 -1
  13. package/dist/{chunk-YCZ7N6Q6.js → chunk-7MQNG35Q.js} +2 -2
  14. package/dist/{chunk-XCBVFMNV.js → chunk-C57KK5VB.js} +7 -2
  15. package/dist/chunk-C57KK5VB.js.map +1 -0
  16. package/dist/{chunk-VB7MWE2N.js → chunk-DSDFXPL6.js} +2 -2
  17. package/dist/{chunk-P7GZR5CU.js → chunk-GFRUTPGG.js} +1 -1
  18. package/dist/{chunk-P7GZR5CU.js.map → chunk-GFRUTPGG.js.map} +1 -1
  19. package/dist/{chunk-4GQH27IT.js → chunk-GW5EI7MI.js} +2 -2
  20. package/dist/{chunk-F6JTHPHE.js → chunk-I6EOLPSH.js} +2 -2
  21. package/dist/chunk-NG6G6V5E.js +33 -0
  22. package/dist/{chunk-5QEXOGO2.js.map → chunk-NG6G6V5E.js.map} +1 -1
  23. package/dist/{chunk-CPA5CF35.js → chunk-PGBF3UBX.js} +1 -1
  24. package/dist/{chunk-CPA5CF35.js.map → chunk-PGBF3UBX.js.map} +1 -1
  25. package/dist/{chunk-BG5APGX6.js → chunk-Q5DYWQ6S.js} +4 -4
  26. package/dist/{chunk-RCKXJEDQ.js → chunk-ST5P5HNI.js} +2 -2
  27. package/dist/code-block.js +1 -1
  28. package/dist/collection-switcher.d.ts +68 -0
  29. package/dist/collection-switcher.js +131 -0
  30. package/dist/collection-switcher.js.map +1 -0
  31. package/dist/combobox.js +2 -2
  32. package/dist/cover-hero.js +1 -1
  33. package/dist/data-table.js +4 -4
  34. package/dist/date-picker.js +1 -1
  35. package/dist/decision-list.js +1 -1
  36. package/dist/default-avatar-D9kiSFNB.d.ts +26 -0
  37. package/dist/docs-layout.js +1 -1
  38. package/dist/entity-header.d.ts +92 -0
  39. package/dist/entity-header.js +165 -0
  40. package/dist/entity-header.js.map +1 -0
  41. package/dist/file-upload.js +1 -1
  42. package/dist/filter-bar.d.ts +3 -3
  43. package/dist/filter-bar.js +2 -2
  44. package/dist/genui.js +4 -4
  45. package/dist/link-card.js +2 -2
  46. package/dist/list.js +1 -1
  47. package/dist/media-capture.js +1 -1
  48. package/dist/native.d.ts +121 -3
  49. package/dist/native.js +1770 -1228
  50. package/dist/native.js.map +1 -1
  51. package/dist/opening-hours.js +1 -1
  52. package/dist/page-hero.js +1 -1
  53. package/dist/pagination.js +1 -1
  54. package/dist/photo-grid.js +1 -1
  55. package/dist/pricing-page.js.map +1 -1
  56. package/dist/qr-code.d.ts +42 -0
  57. package/dist/qr-code.js +350 -0
  58. package/dist/qr-code.js.map +1 -0
  59. package/dist/radio-group.js +1 -1
  60. package/dist/rail-nav.js +1 -1
  61. package/dist/retro-tv.js +2 -2
  62. package/dist/search-field.js +2 -2
  63. package/dist/service-card.js +1 -1
  64. package/dist/shop-composer.js +1 -1
  65. package/dist/shop-composer.js.map +1 -1
  66. package/dist/site-cahier.js +1 -1
  67. package/dist/status-chip.js +1 -1
  68. package/dist/tag-input.js +2 -2
  69. package/dist/terminal-replay.js +1 -1
  70. package/dist/tree-view.js +1 -1
  71. package/dist/video-player.js +2 -2
  72. package/dist/virtual.d.ts +3 -3
  73. package/package.json +48 -5
  74. package/registry/account-menu.json +1 -1
  75. package/registry/account-settings.json +2 -2
  76. package/registry/achievement.json +1 -1
  77. package/registry/action-bar.json +2 -2
  78. package/registry/activity-feed.json +1 -1
  79. package/registry/agenda.json +1 -1
  80. package/registry/alert.json +1 -1
  81. package/registry/analysis-report.json +1 -1
  82. package/registry/anatomy-plate.json +1 -1
  83. package/registry/app-frame.json +2 -2
  84. package/registry/app-header.json +2 -2
  85. package/registry/app-shell.json +2 -2
  86. package/registry/argument-card.json +2 -2
  87. package/registry/audio-player.json +2 -2
  88. package/registry/auth-layout.json +1 -1
  89. package/registry/avatar.json +1 -1
  90. package/registry/badge.json +1 -1
  91. package/registry/bird-plate.json +1 -1
  92. package/registry/button.json +1 -1
  93. package/registry/captcha.json +1 -1
  94. package/registry/card-grid.json +1 -1
  95. package/registry/card.json +1 -1
  96. package/registry/catalogue-page.json +1 -1
  97. package/registry/changelog-page.json +1 -1
  98. package/registry/chapter.json +1 -1
  99. package/registry/chat.json +1 -1
  100. package/registry/checkbox.json +1 -1
  101. package/registry/chip-link.json +1 -1
  102. package/registry/chip-row.json +1 -1
  103. package/registry/chip.json +1 -1
  104. package/registry/choice-grid.json +1 -1
  105. package/registry/code-block.json +2 -2
  106. package/registry/collection-switcher.json +436 -0
  107. package/registry/combobox.json +2 -2
  108. package/registry/command.json +1 -1
  109. package/registry/comparison-table.json +1 -1
  110. package/registry/component-page.json +1 -1
  111. package/registry/confirm-button.json +1 -1
  112. package/registry/contact-page.json +1 -1
  113. package/registry/continue-prompt.json +1 -1
  114. package/registry/countdown.json +1 -1
  115. package/registry/cover-hero.json +2 -2
  116. package/registry/cta-panel.json +1 -1
  117. package/registry/dashboard-layout.json +1 -1
  118. package/registry/data-table.json +2 -2
  119. package/registry/date-picker.json +2 -2
  120. package/registry/decision-list.json +2 -2
  121. package/registry/description-list.json +1 -1
  122. package/registry/desktop-window.json +1 -1
  123. package/registry/detail-layout.json +1 -1
  124. package/registry/dialog.json +1 -1
  125. package/registry/docs-article-page.json +1 -1
  126. package/registry/docs-hub-page.json +1 -1
  127. package/registry/docs-layout.json +2 -2
  128. package/registry/docs-nav.json +1 -1
  129. package/registry/document-viewer.json +1 -1
  130. package/registry/doodle.json +1 -1
  131. package/registry/drop-overlay.json +1 -1
  132. package/registry/dropdown-menu.json +1 -1
  133. package/registry/elephant.json +2 -2
  134. package/registry/embed-facade.json +1 -1
  135. package/registry/empty-state.json +1 -1
  136. package/registry/engine-flow.json +1 -1
  137. package/registry/entity-header.json +502 -0
  138. package/registry/environment-notice.json +1 -1
  139. package/registry/error-page.json +1 -1
  140. package/registry/examples/collection-switcher/entity.d.ts +4 -0
  141. package/registry/examples/collection-switcher/entity.js +17 -0
  142. package/registry/examples/collection-switcher/entity.tsx +13 -0
  143. package/registry/examples/collection-switcher/list.d.ts +4 -0
  144. package/registry/examples/collection-switcher/list.js +32 -0
  145. package/registry/examples/collection-switcher/list.tsx +27 -0
  146. package/registry/examples/collection-switcher/native/list.d.ts +4 -0
  147. package/registry/examples/collection-switcher/native/list.dark.png +0 -0
  148. package/registry/examples/collection-switcher/native/list.js +18 -0
  149. package/registry/examples/collection-switcher/native/list.light.png +0 -0
  150. package/registry/examples/collection-switcher/native/list.tsx +14 -0
  151. package/registry/examples/collection-switcher/tree.d.ts +4 -0
  152. package/registry/examples/collection-switcher/tree.js +19 -0
  153. package/registry/examples/collection-switcher/tree.tsx +15 -0
  154. package/registry/examples/entity-header/basic.d.ts +4 -0
  155. package/registry/examples/entity-header/basic.js +31 -0
  156. package/registry/examples/entity-header/basic.tsx +25 -0
  157. package/registry/examples/entity-header/native/basic.d.ts +4 -0
  158. package/registry/examples/entity-header/native/basic.dark.png +0 -0
  159. package/registry/examples/entity-header/native/basic.js +17 -0
  160. package/registry/examples/entity-header/native/basic.light.png +0 -0
  161. package/registry/examples/entity-header/native/basic.tsx +12 -0
  162. package/registry/examples/qr-code/basic.d.ts +4 -0
  163. package/registry/examples/qr-code/basic.js +11 -0
  164. package/registry/examples/qr-code/basic.tsx +6 -0
  165. package/registry/examples/qr-code/calendar-feed.d.ts +4 -0
  166. package/registry/examples/qr-code/calendar-feed.js +24 -0
  167. package/registry/examples/qr-code/calendar-feed.tsx +18 -0
  168. package/registry/examples/qr-code/native/calendar-feed.d.ts +4 -0
  169. package/registry/examples/qr-code/native/calendar-feed.dark.png +0 -0
  170. package/registry/examples/qr-code/native/calendar-feed.js +25 -0
  171. package/registry/examples/qr-code/native/calendar-feed.light.png +0 -0
  172. package/registry/examples/qr-code/native/calendar-feed.tsx +19 -0
  173. package/registry/field.json +1 -1
  174. package/registry/file-upload.json +2 -2
  175. package/registry/filter-bar.json +2 -2
  176. package/registry/flock.json +1 -1
  177. package/registry/footnote.json +1 -1
  178. package/registry/force-update-screen.json +1 -1
  179. package/registry/form.json +1 -1
  180. package/registry/gallery-page.json +1 -1
  181. package/registry/genui.json +1 -1
  182. package/registry/glossary-term.json +1 -1
  183. package/registry/glossary.json +1 -1
  184. package/registry/glow-card.json +1 -1
  185. package/registry/goal-gauge.json +1 -1
  186. package/registry/grade-stamp.json +1 -1
  187. package/registry/how-it-works-page.json +1 -1
  188. package/registry/image-cropper.json +1 -1
  189. package/registry/index.json +102 -8
  190. package/registry/iso.json +1 -1
  191. package/registry/kanban.json +1 -1
  192. package/registry/kbd.json +1 -1
  193. package/registry/kind-config-editor.json +1 -1
  194. package/registry/kpi-explained.json +1 -1
  195. package/registry/landing-page.json +1 -1
  196. package/registry/landscape.json +1 -1
  197. package/registry/language-switch.json +1 -1
  198. package/registry/legal-page.json +1 -1
  199. package/registry/link-card.json +2 -2
  200. package/registry/list.json +2 -2
  201. package/registry/loader.json +1 -1
  202. package/registry/longform-page.json +1 -1
  203. package/registry/maintenance-screen.json +1 -1
  204. package/registry/map.json +2 -2
  205. package/registry/margin-layout.json +1 -1
  206. package/registry/markdown.json +1 -1
  207. package/registry/marketing-layout.json +1 -1
  208. package/registry/marquee.json +1 -1
  209. package/registry/mascot-quote.json +1 -1
  210. package/registry/mascot-state.json +1 -1
  211. package/registry/mascots.json +1 -1
  212. package/registry/match-dialog.json +1 -1
  213. package/registry/media-capture.json +2 -2
  214. package/registry/media-gallery.json +1 -1
  215. package/registry/media-grid.json +1 -1
  216. package/registry/meta-row.json +1 -1
  217. package/registry/meter.json +1 -1
  218. package/registry/nav-bar.json +2 -2
  219. package/registry/next-actions.json +1 -1
  220. package/registry/notification-preferences.json +1 -1
  221. package/registry/number-ticker.json +1 -1
  222. package/registry/opening-hours.json +2 -2
  223. package/registry/page-header.json +1 -1
  224. package/registry/page-hero.json +2 -2
  225. package/registry/page-index.json +1 -1
  226. package/registry/page.json +1 -1
  227. package/registry/pagination.json +2 -2
  228. package/registry/photo-grid.json +2 -2
  229. package/registry/pointer-light.json +1 -1
  230. package/registry/popover.json +1 -1
  231. package/registry/pricing-page.json +2 -2
  232. package/registry/product-page.json +1 -1
  233. package/registry/profile-card.json +1 -1
  234. package/registry/progress.json +1 -1
  235. package/registry/promise-card.json +1 -1
  236. package/registry/qr-code.json +343 -0
  237. package/registry/quota-meter.json +1 -1
  238. package/registry/radio-group.json +2 -2
  239. package/registry/rail-nav.json +3 -3
  240. package/registry/recipes.json +1 -1
  241. package/registry/retro-tv.json +1 -1
  242. package/registry/reviews.json +1 -1
  243. package/registry/router.json +1 -1
  244. package/registry/scroll-stage.json +1 -1
  245. package/registry/search-field.json +2 -2
  246. package/registry/section-backdrop.json +1 -1
  247. package/registry/separator.json +1 -1
  248. package/registry/service-card.json +2 -2
  249. package/registry/settings-layout.json +1 -1
  250. package/registry/shop-composer.json +2 -2
  251. package/registry/shop.json +2 -2
  252. package/registry/showcase.json +1 -1
  253. package/registry/signature.json +1 -1
  254. package/registry/site-cahier.json +1 -1
  255. package/registry/site-footer.json +2 -2
  256. package/registry/sites.json +1 -1
  257. package/registry/skeleton.json +1 -1
  258. package/registry/skip-link.json +1 -1
  259. package/registry/slider.json +1 -1
  260. package/registry/slot-picker.json +1 -1
  261. package/registry/slot.json +1 -1
  262. package/registry/specimen-tag.json +1 -1
  263. package/registry/speed-lines.json +1 -1
  264. package/registry/spinner.json +1 -1
  265. package/registry/split-view.json +1 -1
  266. package/registry/stage-banner.json +1 -1
  267. package/registry/stat.json +1 -1
  268. package/registry/status-chip.json +2 -2
  269. package/registry/status-page.json +1 -1
  270. package/registry/step-progress.json +1 -1
  271. package/registry/step-showcase.json +1 -1
  272. package/registry/stepper.json +1 -1
  273. package/registry/sticky-action.json +1 -1
  274. package/registry/stuck.json +1 -1
  275. package/registry/swipe-deck.json +1 -1
  276. package/registry/switch.json +1 -1
  277. package/registry/tabs.json +1 -1
  278. package/registry/tag-input.json +1 -1
  279. package/registry/tag-selector.json +1 -1
  280. package/registry/taped-photo.json +1 -1
  281. package/registry/terminal-replay.json +2 -2
  282. package/registry/text-style.json +1 -1
  283. package/registry/theme.json +1 -1
  284. package/registry/toast.json +1 -1
  285. package/registry/toc.json +1 -1
  286. package/registry/tooltip.json +1 -1
  287. package/registry/tree-view.json +2 -2
  288. package/registry/update-prompt.json +1 -1
  289. package/registry/upload-queue.json +1 -1
  290. package/registry/usage.json +1 -1
  291. package/registry/verified-badge.json +1 -1
  292. package/registry/versus-card.json +1 -1
  293. package/registry/vertical-video.json +1 -1
  294. package/registry/video-player.json +2 -2
  295. package/registry/video-trimmer.json +1 -1
  296. package/registry/virtual.json +1 -1
  297. package/registry/wall.json +1 -1
  298. package/registry/waveform.json +1 -1
  299. /package/dist/{chunk-YCZ7N6Q6.js.map → chunk-7MQNG35Q.js.map} +0 -0
  300. /package/dist/{chunk-VB7MWE2N.js.map → chunk-DSDFXPL6.js.map} +0 -0
  301. /package/dist/{chunk-4GQH27IT.js.map → chunk-GW5EI7MI.js.map} +0 -0
  302. /package/dist/{chunk-F6JTHPHE.js.map → chunk-I6EOLPSH.js.map} +0 -0
  303. /package/dist/{chunk-BG5APGX6.js.map → chunk-Q5DYWQ6S.js.map} +0 -0
  304. /package/dist/{chunk-RCKXJEDQ.js.map → chunk-ST5P5HNI.js.map} +0 -0
package/dist/genui.js CHANGED
@@ -7,22 +7,22 @@ import {
7
7
  } from "./chunk-YKOLME7R.js";
8
8
  import {
9
9
  DataTable
10
- } from "./chunk-BG5APGX6.js";
10
+ } from "./chunk-Q5DYWQ6S.js";
11
11
  import "./chunk-3X3OF4TI.js";
12
12
  import "./chunk-JXLDUDTD.js";
13
13
  import "./chunk-M3GEYLMR.js";
14
14
  import "./chunk-KVDB4GXV.js";
15
- import "./chunk-F6JTHPHE.js";
15
+ import "./chunk-I6EOLPSH.js";
16
16
  import "./chunk-UYGUSYIC.js";
17
17
  import "./chunk-D3T54RSL.js";
18
18
  import "./chunk-J3NC6ER4.js";
19
19
  import {
20
20
  cn
21
21
  } from "./chunk-NSLXEDIS.js";
22
- import "./chunk-VB7MWE2N.js";
22
+ import "./chunk-DSDFXPL6.js";
23
23
  import "./chunk-ZIXB33X7.js";
24
24
  import "./chunk-FZBWEDQI.js";
25
- import "./chunk-CPA5CF35.js";
25
+ import "./chunk-PGBF3UBX.js";
26
26
 
27
27
  // src/genui/catalog.tsx
28
28
  import { formatCompact, formatMoney, formatNumber, formatPercent } from "@krizaka/intl";
package/dist/link-card.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LinkCard
3
- } from "./chunk-RCKXJEDQ.js";
4
- import "./chunk-XCBVFMNV.js";
3
+ } from "./chunk-ST5P5HNI.js";
4
+ import "./chunk-C57KK5VB.js";
5
5
  import "./chunk-FVGFPB73.js";
6
6
  import "./chunk-W675RFOA.js";
7
7
  export {
package/dist/list.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-FZBWEDQI.js";
8
8
  import {
9
9
  ChevronGlyph
10
- } from "./chunk-CPA5CF35.js";
10
+ } from "./chunk-PGBF3UBX.js";
11
11
 
12
12
  // src/list/list.tsx
13
13
  import * as React from "react";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  CameraGlyph,
12
12
  FlipGlyph
13
- } from "./chunk-CPA5CF35.js";
13
+ } from "./chunk-PGBF3UBX.js";
14
14
 
15
15
  // src/media-capture/media-capture.tsx
16
16
  import * as React from "react";
package/dist/native.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default from 'react';
3
3
  import { StyleProp, ViewStyle, ViewProps, PressableProps, TextProps, ImageProps, TextInput, TextInputProps, Animated, NativeSyntheticEvent, NativeScrollEvent, TextStyle, RefreshControlProps, DimensionValue, ActivityIndicatorProps } from 'react-native';
4
- import { Label, TagPreset, StatusTone, Marker as Marker$1, StatusSet } from '@krizaka/organize/contract';
4
+ import { Marker as Marker$1, OrganizeCode, Label, TagPreset, StatusTone, StatusSet } from '@krizaka/organize/contract';
5
5
 
6
6
  /** A brand of the default avatars. `orochia`, `yasakia`, `yororis` and `kachizaka` are deprecated: paused products (2026-10-25), removed in the next major; their pictures stay served until then. */
7
7
  type DefaultAvatarBrand = "krizaka" | "orazaka" | "orochia" | "yasakia" | "yororis" | "yomizaka" | "kachizaka" | "akinaza";
@@ -718,6 +718,51 @@ declare const Chip: typeof ChipBase & {
718
718
  Group: typeof ChipGroup;
719
719
  };
720
720
 
721
+ type CollectionItem = {
722
+ /** A stable id. */
723
+ id: string;
724
+ /** Its name — it is the user's own text, never translated. */
725
+ name: string;
726
+ /** The collection it is nested in; `null`/missing for a root. An unknown parent makes it a root (nothing is lost). */
727
+ parentId?: string | null;
728
+ /** The default collection: marked, and never removable. */
729
+ isDefault?: boolean;
730
+ /** How many items it holds. */
731
+ count?: number;
732
+ /** Its picture (a shop or studio in `entity` mode). */
733
+ avatar?: {
734
+ src?: string | null;
735
+ defaultAvatar?: DefaultAvatar;
736
+ };
737
+ };
738
+
739
+ type CollectionSwitcherProps = Omit<ViewProps, "children"> & {
740
+ /** The collections, flat; `parentId` nests them in the `tree` layout. */
741
+ collections: readonly CollectionItem[];
742
+ /** The current one (read from the route), or `null`. */
743
+ value: string | null;
744
+ /** The viewer chooses a collection: navigate. */
745
+ onValueChange?: (id: string) => void;
746
+ /** The accessible name (“Collections”), passed translated. */
747
+ label: string;
748
+ /** `list` (default) or `tree` (indented by `parentId`). */
749
+ layout?: "list" | "tree";
750
+ /** `collection` (default), or `entity`: a compact button that opens the list, to switch shop or studio. */
751
+ mode?: "collection" | "entity";
752
+ /** The mark on the default collection (“Default”), passed translated. */
753
+ defaultLabel: string;
754
+ /** Removes a collection — never offered on the default one. */
755
+ onRemove?: (id: string) => void;
756
+ /** The remove button's accessible name (“Remove Archive”), passed translated. */
757
+ removeLabel?: (name: string) => string;
758
+ /** Adds a collection: a row at the end. */
759
+ onCreate?: () => void;
760
+ /** The create row's words, passed translated. */
761
+ createLabel?: string;
762
+ };
763
+ /** The collections of a workspace — or the shops of an account — to move between; the default one marked and never removable. */
764
+ declare function CollectionSwitcher(props: CollectionSwitcherProps): React$1.JSX.Element;
765
+
721
766
  /** An option: the value stored and its words (passed translated), a line under them. */
722
767
  type SelectOption = {
723
768
  value: string;
@@ -1067,6 +1112,58 @@ type EmptyStateProps = Omit<ViewProps, "children"> & {
1067
1112
  /** What a list, a search or a screen says when it has nothing to show — every word is a prop. */
1068
1113
  declare function EmptyState({ icon, title, description, action, style, ...props }: EmptyStateProps): React$1.JSX.Element;
1069
1114
 
1115
+ /** The refusals a header knows how to say: the product passes the words (translated) for the codes it can get. */
1116
+ type EntityRefusals = Partial<Record<OrganizeCode, string>>;
1117
+ /** The entity's picture: an address, or one of Krizaka's default pictures. */
1118
+ type EntityAvatar = {
1119
+ src?: string | null;
1120
+ defaultAvatar?: DefaultAvatar;
1121
+ fallback?: React$1.ReactNode;
1122
+ };
1123
+ type EntityTag = {
1124
+ id: string;
1125
+ label: string;
1126
+ marker: Marker$1;
1127
+ };
1128
+ /** The props both platforms take: plain data, the editing callbacks, the refusals. */
1129
+ type EntityHeaderBase = {
1130
+ /** The entity's name. */
1131
+ name: string;
1132
+ /** Makes the name editable in place: called with the trimmed new name. Throw (or reject with) an error carrying a `code` to show its refusal. */
1133
+ onNameChange?: (name: string) => void | Promise<void>;
1134
+ /** What editing the name does (“Rename the collection”), passed translated: the field's name, and the button's after the visible name. */
1135
+ nameLabel?: string;
1136
+ /** One line under the name. */
1137
+ description?: string;
1138
+ /** Makes the description editable in place. Same contract as `onNameChange`. */
1139
+ onDescriptionChange?: (description: string) => void | Promise<void>;
1140
+ /** What editing the description does (“Edit the description”), passed translated: the field's name, and the button's after the visible text. */
1141
+ descriptionLabel?: string;
1142
+ /** Shown when there is no description and it is editable (“Add a description”), passed translated. */
1143
+ descriptionPlaceholder?: string;
1144
+ /** The picture. */
1145
+ avatar?: EntityAvatar;
1146
+ /** The entity's tags. */
1147
+ tags?: readonly EntityTag[];
1148
+ /** A refusal to say now (the last answer of the server), by its code. */
1149
+ refusal?: {
1150
+ code: OrganizeCode;
1151
+ } | null;
1152
+ /** The messages by refusal code: `NAME_TAKEN`, `AVATAR_NOT_ALLOWED`, `DEFAULT_COLLECTION`, … A code with no message says nothing. */
1153
+ refusals?: EntityRefusals;
1154
+ /** After the text: the actions of the entity (a menu, a button). */
1155
+ actions?: React$1.ReactNode;
1156
+ };
1157
+
1158
+ type EntityHeaderProps = Omit<ViewProps, "children"> & EntityHeaderBase & {
1159
+ /** Makes the picture a button; the app opens its picker. */
1160
+ onAvatarPress?: () => void;
1161
+ /** The accessible name of the picture's button (“Change the picture”), passed translated. */
1162
+ avatarLabel?: string;
1163
+ };
1164
+ /** The head of an entity: picture, name and description editable in place, tags, a refusal said in words, actions. */
1165
+ declare function EntityHeader({ avatar, onAvatarPress, avatarLabel, style, actions, refusal, refusals, tags, description, onDescriptionChange, descriptionLabel, descriptionPlaceholder, name, nameLabel, onNameChange, ...props }: EntityHeaderProps): React$1.JSX.Element;
1166
+
1070
1167
  type EnvironmentNoticeProps = Omit<ViewProps, "children"> & {
1071
1168
  /** The deployment's stage, read once by the app. `production` (or `prod`) renders nothing. */
1072
1169
  stage: string | null | undefined;
@@ -2162,6 +2259,27 @@ type BrandedRefreshProps = {
2162
2259
  */
2163
2260
  declare function BrandedRefresh({ product, refreshing, onRefresh, label, children, threshold }: BrandedRefreshProps): React$1.JSX.Element;
2164
2261
 
2262
+ type QrLevel = "L" | "M" | "Q" | "H";
2263
+
2264
+ type QrCodeProps = Omit<ViewProps, "children"> & {
2265
+ /** The text to encode. Encoded on the device; never sent anywhere. */
2266
+ value: string;
2267
+ /** What the code is, for the screen reader, passed translated. */
2268
+ label: string;
2269
+ /** The side of the tile, in points, quiet zone included. Default 176. */
2270
+ size?: number;
2271
+ /** The quiet zone, in modules. Default 4, never less than 2. */
2272
+ quietZone?: number;
2273
+ /** L · M (default) · Q · H. */
2274
+ level?: QrLevel;
2275
+ /** The copy action's words, translated. Without it there is no button. */
2276
+ copyLabel?: string;
2277
+ /** Called with the text when the person asks to copy: the app puts it on the clipboard and says so. */
2278
+ onCopy?: (value: string) => void;
2279
+ };
2280
+ /** A QR code from a text: dark modules on a light tile, a quiet zone, an accessible name, an optional copy button. */
2281
+ declare function QrCode({ value, label, size, quietZone, level, copyLabel, onCopy, style, ...props }: QrCodeProps): React$1.JSX.Element;
2282
+
2165
2283
  /** A choice: the value stored and its words (passed translated), a line under them, a second line on a key. */
2166
2284
  type RadioOption = {
2167
2285
  value: string;
@@ -3207,5 +3325,5 @@ declare function YomizakaMark({ size, animated, title, neutral }: NativeMarkProp
3207
3325
  */
3208
3326
  declare function YororisMark({ size, animated, title, neutral }: NativeMarkProps): React__default.JSX.Element;
3209
3327
 
3210
- export { ActionSheet, ActivityFeed, AkinazaMark, AnalysisReport, AppHeader, AppHeaderCount, AppHeaderSearch, Avatar, AvatarGroup, AvatarRoot, Badge, BrandedRefresh, Button, Calendar, Card, CardBody, CardDescription, CardFooter, CardImage, CardMedia, CardOverlay, CardRoot, CardTitle, Checkbox, Chip, Columns, Combobox, ComposerMeta, ConversationItem, Countdown, DEFAULT_COLUMNS, DateField, DateWheel, DayStrip, DescriptionList, EmptyState, EnvironmentNotice, ErrorState, Fab, ForceUpdateScreen, FormFlow, GRID_GAPS, GoalGauge, Grid, Header, IconButton, ImageViewer, KachizakaMark, KrizakaMark, ListDetail, Loader, LoaderGlyph, LoadingState, MaintenanceScreen, MarkerPicker, Mascot, MascotState, MatchDialog, MessageBubble, MessageComposer, MetaRow, Meter, MonthPicker, NumberTicker, OfflineBanner, Onboarding, OrazakaMark, OrochiaMark, OtpInput, Pagination, PermissionPrompt, PersonCard, Phoenix, PhotoGrid, ProductMark, ProfileBanner, ProfileCard, Progress, PullToRefresh, RadioGroup, SIZE_CLASS_FROM, Screen, SearchField, Segmented, Select, SettingsGroup, SettingsRow, Sheet, Showcase, Skeleton, Slider, Spinner, SplashHandoff, StateScreen, StatusChip, StatusSetEditor, StepProgress, Stepper, SuccessState, SwipeDeck, SwipeableRow, Switch, TAG_MARKERS, TabBar, Tabs, TagChip, TagMarker, TagSelector, TagSetEditor, TextField, ThemeProvider, TimePicker, Toaster, Txt, TypingIndicator, UpdatePrompt, VerifiedBadge, Waveform, WelcomeState, Wheel, WheelDivider, WheelPicker, YasakiaMark, YazakiaMark, YomizakaMark, YororisMark, addDays, addMonths, ageOn, alpha, calendarLabels, columnsFit, comboboxLabels, composeDate, dateFieldLabels, datePartsOrder, daysInMonth, defaultAvatarUrl, formatTime, gridColumns, isRealDate, itemWidth, latestBirthDate, monthNames, prefetchNeighbours, showcaseLabels, sizeClassOf, splitDuration, statusSetEditorLabels, tagSetEditorLabels, textStyles, timeSlots, timeToMinutes, toast, todayIso, useCollapsingHeader, useCountdown, useDelayedWait, useFontScale, useReducedMotion, useSizeClass, useTheme, uses12Hours };
3211
- export type { ActionSheetAction, ActionSheetProps, ActivityEvent, ActivityFeedLabels, ActivityFeedProps, ActivityTone, AnalysisReportData, AnalysisReportLabels, AnalysisReportProps, AnalysisStatus, AppHeaderCountProps, AppHeaderProps, AppHeaderSearchProps, AvatarGroupProps, AvatarProps, AvatarSize, BadgeProps, BadgeTone, BrandId, BrandedRefreshProps, BrandedRefreshScrollProps, ButtonProps, ButtonSize, ButtonVariant, CalendarLabels, CalendarProps, CardBodyProps, CardImageProps, CardMediaProps, CardOverlayProps, CardRootProps, CheckboxProps, ChipGroupProps, ChipProps, ChipSize, ColumnsProps, ComboboxLabels, ComboboxProps, ComposerMetaProps, ConversationItemProps, CountdownProps, CountdownUnits, DateFieldLabels, DateFieldProps, DatePart, DateWheelProps, DayStripProps, DefaultAvatar, DefaultAvatarBrand, DescriptionItem, DescriptionListProps, EditorRole, EmptyStateProps, EnvironmentNoticeProps, FabProps, ForceUpdateScreenProps, FormFlowProps, FormFlowStep, GoalGaugeProps, GridColumns, GridGap, GridPhoto, GridProps, HapticKind, HeaderProps, IconButtonProps, ImageViewerProps, Insets, ListDetailProps, LoaderGlyphProps, LoaderProps, MaintenanceScreenProps, Marker, MarkerPickerProps, MarkerShape, MascotProps, MascotStateProps, MatchDialogProps, MessageBubbleLabels, MessageBubbleProps, MessageComposerProps, MessageStatus, MetaRowProps, MeterPart, MeterProps, Mode, MonthPickerProps, Motion, NativeMarkProps, NumberTickerProps, OfflineBannerProps, OnboardingProps, OnboardingSlide, OtpInputProps, PaginationLabels, PaginationProps, PermissionPromptProps, PermissionStatus, PersonCardProps, PhoenixProps, PhotoGridLabels, PhotoGridProps, ProfileBannerProps, ProfileCardProps, ProfileStat, ProgressProps, PullToRefreshProps, RadioGroupProps, RadioOption, Radius, ScreenProps, SearchFieldProps, SegmentedOption, SegmentedProps, SelectOption, SelectProps, SettingsGroupProps, SettingsRowProps, SheetProps, ShowcaseLabels, ShowcaseProps, SizeClass, SkeletonProps, SliderProps, SliderValue, SpinnerProps, SplashHandoffProps, StateAction, StateKind, StateScreenProps, StatusChipProps, StatusMoveOption, StatusSetEditorLabels, StatusSetEditorProps, Step, StepProgressProps, StepStatus, StepperProps, SwipeAction, SwipeDeckLabels, SwipeDeckProps, SwipeDirection, SwipeableRowProps, SwitchProps, TabBarItem, TabBarProps, TabItem, TabsHue, TabsProps, TagChipProps, TagMarkerProps, TagOption, TagSelectorProps, TagSetEditorLabels, TagSetEditorProps, TagSetValue, TextFieldProps, Theme, ThemeContextValue, ThemeFonts, ThemeName, ThemeOverrides, ThemeProviderProps, TimePickerLabels, TimePickerProps, TimeValue, ToastItem, ToastOptions, ToastTone, ToasterProps, TxtProps, TxtTone, TxtVariant, TypingIndicatorProps, UpdatePromptProps, VerifiedBadgeProps, ViewerImage, WaveformProps, WheelOption, WheelPickerProps, WheelProps };
3328
+ export { ActionSheet, ActivityFeed, AkinazaMark, AnalysisReport, AppHeader, AppHeaderCount, AppHeaderSearch, Avatar, AvatarGroup, AvatarRoot, Badge, BrandedRefresh, Button, Calendar, Card, CardBody, CardDescription, CardFooter, CardImage, CardMedia, CardOverlay, CardRoot, CardTitle, Checkbox, Chip, CollectionSwitcher, Columns, Combobox, ComposerMeta, ConversationItem, Countdown, DEFAULT_COLUMNS, DateField, DateWheel, DayStrip, DescriptionList, EmptyState, EntityHeader, EnvironmentNotice, ErrorState, Fab, ForceUpdateScreen, FormFlow, GRID_GAPS, GoalGauge, Grid, Header, IconButton, ImageViewer, KachizakaMark, KrizakaMark, ListDetail, Loader, LoaderGlyph, LoadingState, MaintenanceScreen, MarkerPicker, Mascot, MascotState, MatchDialog, MessageBubble, MessageComposer, MetaRow, Meter, MonthPicker, NumberTicker, OfflineBanner, Onboarding, OrazakaMark, OrochiaMark, OtpInput, Pagination, PermissionPrompt, PersonCard, Phoenix, PhotoGrid, ProductMark, ProfileBanner, ProfileCard, Progress, PullToRefresh, QrCode, RadioGroup, SIZE_CLASS_FROM, Screen, SearchField, Segmented, Select, SettingsGroup, SettingsRow, Sheet, Showcase, Skeleton, Slider, Spinner, SplashHandoff, StateScreen, StatusChip, StatusSetEditor, StepProgress, Stepper, SuccessState, SwipeDeck, SwipeableRow, Switch, TAG_MARKERS, TabBar, Tabs, TagChip, TagMarker, TagSelector, TagSetEditor, TextField, ThemeProvider, TimePicker, Toaster, Txt, TypingIndicator, UpdatePrompt, VerifiedBadge, Waveform, WelcomeState, Wheel, WheelDivider, WheelPicker, YasakiaMark, YazakiaMark, YomizakaMark, YororisMark, addDays, addMonths, ageOn, alpha, calendarLabels, columnsFit, comboboxLabels, composeDate, dateFieldLabels, datePartsOrder, daysInMonth, defaultAvatarUrl, formatTime, gridColumns, isRealDate, itemWidth, latestBirthDate, monthNames, prefetchNeighbours, showcaseLabels, sizeClassOf, splitDuration, statusSetEditorLabels, tagSetEditorLabels, textStyles, timeSlots, timeToMinutes, toast, todayIso, useCollapsingHeader, useCountdown, useDelayedWait, useFontScale, useReducedMotion, useSizeClass, useTheme, uses12Hours };
3329
+ export type { ActionSheetAction, ActionSheetProps, ActivityEvent, ActivityFeedLabels, ActivityFeedProps, ActivityTone, AnalysisReportData, AnalysisReportLabels, AnalysisReportProps, AnalysisStatus, AppHeaderCountProps, AppHeaderProps, AppHeaderSearchProps, AvatarGroupProps, AvatarProps, AvatarSize, BadgeProps, BadgeTone, BrandId, BrandedRefreshProps, BrandedRefreshScrollProps, ButtonProps, ButtonSize, ButtonVariant, CalendarLabels, CalendarProps, CardBodyProps, CardImageProps, CardMediaProps, CardOverlayProps, CardRootProps, CheckboxProps, ChipGroupProps, ChipProps, ChipSize, CollectionSwitcherProps, ColumnsProps, ComboboxLabels, ComboboxProps, ComposerMetaProps, ConversationItemProps, CountdownProps, CountdownUnits, DateFieldLabels, DateFieldProps, DatePart, DateWheelProps, DayStripProps, DefaultAvatar, DefaultAvatarBrand, DescriptionItem, DescriptionListProps, EditorRole, EmptyStateProps, EntityHeaderProps, EnvironmentNoticeProps, FabProps, ForceUpdateScreenProps, FormFlowProps, FormFlowStep, GoalGaugeProps, GridColumns, GridGap, GridPhoto, GridProps, HapticKind, HeaderProps, IconButtonProps, ImageViewerProps, Insets, ListDetailProps, LoaderGlyphProps, LoaderProps, MaintenanceScreenProps, Marker, MarkerPickerProps, MarkerShape, MascotProps, MascotStateProps, MatchDialogProps, MessageBubbleLabels, MessageBubbleProps, MessageComposerProps, MessageStatus, MetaRowProps, MeterPart, MeterProps, Mode, MonthPickerProps, Motion, NativeMarkProps, NumberTickerProps, OfflineBannerProps, OnboardingProps, OnboardingSlide, OtpInputProps, PaginationLabels, PaginationProps, PermissionPromptProps, PermissionStatus, PersonCardProps, PhoenixProps, PhotoGridLabels, PhotoGridProps, ProfileBannerProps, ProfileCardProps, ProfileStat, ProgressProps, PullToRefreshProps, QrCodeProps, RadioGroupProps, RadioOption, Radius, ScreenProps, SearchFieldProps, SegmentedOption, SegmentedProps, SelectOption, SelectProps, SettingsGroupProps, SettingsRowProps, SheetProps, ShowcaseLabels, ShowcaseProps, SizeClass, SkeletonProps, SliderProps, SliderValue, SpinnerProps, SplashHandoffProps, StateAction, StateKind, StateScreenProps, StatusChipProps, StatusMoveOption, StatusSetEditorLabels, StatusSetEditorProps, Step, StepProgressProps, StepStatus, StepperProps, SwipeAction, SwipeDeckLabels, SwipeDeckProps, SwipeDirection, SwipeableRowProps, SwitchProps, TabBarItem, TabBarProps, TabItem, TabsHue, TabsProps, TagChipProps, TagMarkerProps, TagOption, TagSelectorProps, TagSetEditorLabels, TagSetEditorProps, TagSetValue, TextFieldProps, Theme, ThemeContextValue, ThemeFonts, ThemeName, ThemeOverrides, ThemeProviderProps, TimePickerLabels, TimePickerProps, TimeValue, ToastItem, ToastOptions, ToastTone, ToasterProps, TxtProps, TxtTone, TxtVariant, TypingIndicatorProps, UpdatePromptProps, VerifiedBadgeProps, ViewerImage, WaveformProps, WheelOption, WheelPickerProps, WheelProps };