@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.
- package/README.md +3 -0
- package/dist/account-settings.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/app-header/search.js +1 -1
- package/dist/app-header.d.ts +3 -3
- package/dist/app-shell.js +1 -1
- package/dist/argument-card.js +2 -2
- package/dist/audio-player.js +1 -1
- package/dist/{chunk-5QEXOGO2.js → chunk-6BMKLAZ7.js} +1 -1
- package/dist/{chunk-XCBVFMNV.js.map → chunk-6BMKLAZ7.js.map} +1 -1
- package/dist/{chunk-SHBYNQFS.js → chunk-7DYZTEE3.js} +1 -1
- package/dist/{chunk-SHBYNQFS.js.map → chunk-7DYZTEE3.js.map} +1 -1
- package/dist/{chunk-YCZ7N6Q6.js → chunk-7MQNG35Q.js} +2 -2
- package/dist/{chunk-XCBVFMNV.js → chunk-C57KK5VB.js} +7 -2
- package/dist/chunk-C57KK5VB.js.map +1 -0
- package/dist/{chunk-VB7MWE2N.js → chunk-DSDFXPL6.js} +2 -2
- package/dist/{chunk-P7GZR5CU.js → chunk-GFRUTPGG.js} +1 -1
- package/dist/{chunk-P7GZR5CU.js.map → chunk-GFRUTPGG.js.map} +1 -1
- package/dist/{chunk-4GQH27IT.js → chunk-GW5EI7MI.js} +2 -2
- package/dist/{chunk-F6JTHPHE.js → chunk-I6EOLPSH.js} +2 -2
- package/dist/chunk-NG6G6V5E.js +33 -0
- package/dist/{chunk-5QEXOGO2.js.map → chunk-NG6G6V5E.js.map} +1 -1
- package/dist/{chunk-CPA5CF35.js → chunk-PGBF3UBX.js} +1 -1
- package/dist/{chunk-CPA5CF35.js.map → chunk-PGBF3UBX.js.map} +1 -1
- package/dist/{chunk-BG5APGX6.js → chunk-Q5DYWQ6S.js} +4 -4
- package/dist/{chunk-RCKXJEDQ.js → chunk-ST5P5HNI.js} +2 -2
- package/dist/code-block.js +1 -1
- package/dist/collection-switcher.d.ts +68 -0
- package/dist/collection-switcher.js +131 -0
- package/dist/collection-switcher.js.map +1 -0
- package/dist/combobox.js +2 -2
- package/dist/cover-hero.js +1 -1
- package/dist/data-table.js +4 -4
- package/dist/date-picker.js +1 -1
- package/dist/decision-list.js +1 -1
- package/dist/default-avatar-D9kiSFNB.d.ts +26 -0
- package/dist/docs-layout.js +1 -1
- package/dist/entity-header.d.ts +92 -0
- package/dist/entity-header.js +165 -0
- package/dist/entity-header.js.map +1 -0
- package/dist/file-upload.js +1 -1
- package/dist/filter-bar.d.ts +3 -3
- package/dist/filter-bar.js +2 -2
- package/dist/genui.js +4 -4
- package/dist/link-card.js +2 -2
- package/dist/list.js +1 -1
- package/dist/media-capture.js +1 -1
- package/dist/native.d.ts +121 -3
- package/dist/native.js +1770 -1228
- package/dist/native.js.map +1 -1
- package/dist/opening-hours.js +1 -1
- package/dist/page-hero.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/photo-grid.js +1 -1
- package/dist/pricing-page.js.map +1 -1
- package/dist/qr-code.d.ts +42 -0
- package/dist/qr-code.js +350 -0
- package/dist/qr-code.js.map +1 -0
- package/dist/radio-group.js +1 -1
- package/dist/rail-nav.js +1 -1
- package/dist/retro-tv.js +2 -2
- package/dist/search-field.js +2 -2
- package/dist/service-card.js +1 -1
- package/dist/shop-composer.js +1 -1
- package/dist/shop-composer.js.map +1 -1
- package/dist/site-cahier.js +1 -1
- package/dist/status-chip.js +1 -1
- package/dist/tag-input.js +2 -2
- package/dist/terminal-replay.js +1 -1
- package/dist/tree-view.js +1 -1
- package/dist/video-player.js +2 -2
- package/dist/virtual.d.ts +3 -3
- package/package.json +48 -5
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +2 -2
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +2 -2
- package/registry/activity-feed.json +1 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/analysis-report.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-frame.json +2 -2
- package/registry/app-header.json +2 -2
- package/registry/app-shell.json +2 -2
- package/registry/argument-card.json +2 -2
- package/registry/audio-player.json +2 -2
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +2 -2
- package/registry/collection-switcher.json +436 -0
- package/registry/combobox.json +2 -2
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +1 -1
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +2 -2
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +1 -1
- package/registry/data-table.json +2 -2
- package/registry/date-picker.json +2 -2
- package/registry/decision-list.json +2 -2
- package/registry/description-list.json +1 -1
- package/registry/desktop-window.json +1 -1
- package/registry/detail-layout.json +1 -1
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +2 -2
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +2 -2
- package/registry/embed-facade.json +1 -1
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +1 -1
- package/registry/entity-header.json +502 -0
- package/registry/environment-notice.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/collection-switcher/entity.d.ts +4 -0
- package/registry/examples/collection-switcher/entity.js +17 -0
- package/registry/examples/collection-switcher/entity.tsx +13 -0
- package/registry/examples/collection-switcher/list.d.ts +4 -0
- package/registry/examples/collection-switcher/list.js +32 -0
- package/registry/examples/collection-switcher/list.tsx +27 -0
- package/registry/examples/collection-switcher/native/list.d.ts +4 -0
- package/registry/examples/collection-switcher/native/list.dark.png +0 -0
- package/registry/examples/collection-switcher/native/list.js +18 -0
- package/registry/examples/collection-switcher/native/list.light.png +0 -0
- package/registry/examples/collection-switcher/native/list.tsx +14 -0
- package/registry/examples/collection-switcher/tree.d.ts +4 -0
- package/registry/examples/collection-switcher/tree.js +19 -0
- package/registry/examples/collection-switcher/tree.tsx +15 -0
- package/registry/examples/entity-header/basic.d.ts +4 -0
- package/registry/examples/entity-header/basic.js +31 -0
- package/registry/examples/entity-header/basic.tsx +25 -0
- package/registry/examples/entity-header/native/basic.d.ts +4 -0
- package/registry/examples/entity-header/native/basic.dark.png +0 -0
- package/registry/examples/entity-header/native/basic.js +17 -0
- package/registry/examples/entity-header/native/basic.light.png +0 -0
- package/registry/examples/entity-header/native/basic.tsx +12 -0
- package/registry/examples/qr-code/basic.d.ts +4 -0
- package/registry/examples/qr-code/basic.js +11 -0
- package/registry/examples/qr-code/basic.tsx +6 -0
- package/registry/examples/qr-code/calendar-feed.d.ts +4 -0
- package/registry/examples/qr-code/calendar-feed.js +24 -0
- package/registry/examples/qr-code/calendar-feed.tsx +18 -0
- package/registry/examples/qr-code/native/calendar-feed.d.ts +4 -0
- package/registry/examples/qr-code/native/calendar-feed.dark.png +0 -0
- package/registry/examples/qr-code/native/calendar-feed.js +25 -0
- package/registry/examples/qr-code/native/calendar-feed.light.png +0 -0
- package/registry/examples/qr-code/native/calendar-feed.tsx +19 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +2 -2
- package/registry/filter-bar.json +2 -2
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +1 -1
- package/registry/form.json +1 -1
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +1 -1
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +1 -1
- package/registry/grade-stamp.json +1 -1
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +102 -8
- package/registry/iso.json +1 -1
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- package/registry/kpi-explained.json +1 -1
- package/registry/landing-page.json +1 -1
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +2 -2
- package/registry/list.json +2 -2
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/margin-layout.json +1 -1
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +2 -2
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +1 -1
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +2 -2
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +1 -1
- package/registry/number-ticker.json +1 -1
- package/registry/opening-hours.json +2 -2
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +2 -2
- package/registry/page-index.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +2 -2
- package/registry/photo-grid.json +2 -2
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +2 -2
- package/registry/product-page.json +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +1 -1
- package/registry/qr-code.json +343 -0
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +2 -2
- package/registry/rail-nav.json +3 -3
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/reviews.json +1 -1
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +2 -2
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +2 -2
- package/registry/settings-layout.json +1 -1
- package/registry/shop-composer.json +2 -2
- package/registry/shop.json +2 -2
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +2 -2
- package/registry/sites.json +1 -1
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +1 -1
- package/registry/status-chip.json +2 -2
- package/registry/status-page.json +1 -1
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +1 -1
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +1 -1
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +2 -2
- package/registry/text-style.json +1 -1
- package/registry/theme.json +1 -1
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +2 -2
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/usage.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- package/registry/vertical-video.json +1 -1
- package/registry/video-player.json +2 -2
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +1 -1
- package/registry/wall.json +1 -1
- package/registry/waveform.json +1 -1
- /package/dist/{chunk-YCZ7N6Q6.js.map → chunk-7MQNG35Q.js.map} +0 -0
- /package/dist/{chunk-VB7MWE2N.js.map → chunk-DSDFXPL6.js.map} +0 -0
- /package/dist/{chunk-4GQH27IT.js.map → chunk-GW5EI7MI.js.map} +0 -0
- /package/dist/{chunk-F6JTHPHE.js.map → chunk-I6EOLPSH.js.map} +0 -0
- /package/dist/{chunk-BG5APGX6.js.map → chunk-Q5DYWQ6S.js.map} +0 -0
- /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-
|
|
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-
|
|
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-
|
|
22
|
+
import "./chunk-DSDFXPL6.js";
|
|
23
23
|
import "./chunk-ZIXB33X7.js";
|
|
24
24
|
import "./chunk-FZBWEDQI.js";
|
|
25
|
-
import "./chunk-
|
|
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
package/dist/list.js
CHANGED
package/dist/media-capture.js
CHANGED
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,
|
|
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 };
|