@nxgt/material 3.88.1 → 3.90.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/CHANGELOG.md +44 -0
- package/README.md +8 -5
- package/dist/{alert-dialog-CEGs7LMN.js → alert-dialog-BFk4ye-3.js} +1 -1
- package/dist/{async-slice-CR0M95Jq.js → async-slice-gGyfyUw2.js} +1 -1
- package/dist/{button-DuTNpo28.js → button-C5OEq9bi.js} +1 -1
- package/dist/{calculator-DsGk_fCw.js → calculator-Dg_L6d3R.js} +16 -16
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-DMFptsDf.js → calculator-segment-CvAaDqKf.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-C-RAjar5.js → chip-DOxFA4BI.js} +2 -2
- package/dist/{code-editor-DApeIOZ3.js → code-editor-tiAjhXW-.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-CGtYfc1l.js → code-language-items-CcdzQvLT.js} +2 -2
- package/dist/{components-DiEY0nrG.js → components-HQy9UW9D.js} +19870 -19548
- package/dist/components.js +38 -37
- package/dist/{conversion-variant-DfQiOwYC.js → conversion-variant-4gCdFWV-.js} +3 -3
- package/dist/currency-field-CIqe7Wg4.js +289 -0
- package/dist/{dialog-Bul68q8u.js → dialog-d6Kdf5wc.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-xUUE5X6T.js → dropdown-menu-DO5kUvof.js} +1 -1
- package/dist/editor.js +139 -139
- package/dist/{empty-state-D7ofGDU_.js → empty-state-DQnICuun.js} +1 -1
- package/dist/{financial-variant-CYgRZzKT.js → financial-variant-D80C1hVD.js} +14 -14
- package/dist/{hooks-CpvvZCs7.js → hooks-C-yLDF39.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-CZLFQwZv.js → hover-card-DU3TAME4.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-0Xo9q7Ey.js → icon-badge-BGczZ4Hc.js} +1 -1
- package/dist/{icon-button-DE1EcO2-.js → icon-button-D0xjBCst.js} +1 -1
- package/dist/input-group-CSlXMFxu.js +70 -0
- package/dist/lib/components/ui/actions/back-link/back-link.d.ts +10 -2
- package/dist/lib/components/ui/collections/data-grid/grid-cell-tone.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-access.d.ts +4 -3
- package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-flags.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-value.d.ts +4 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-cell-content.d.ts +11 -0
- package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +50 -2
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +1 -0
- package/dist/lib/components/ui/collections/list-pane/list-pane-item.d.ts +3 -1
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-item-content.d.ts +2 -1
- package/dist/lib/components/ui/dates/age-field/age-field.d.ts +8 -0
- package/dist/lib/components/ui/dates/age-field/age-form-field.d.ts +8 -0
- package/dist/lib/components/ui/dates/age-field/age-reading.d.ts +11 -0
- package/dist/lib/components/ui/dates/age-field/age-value.d.ts +9 -0
- package/dist/lib/components/ui/dates/age-field/index.d.ts +4 -0
- package/dist/lib/components/ui/dates/age-field/types.d.ts +40 -0
- package/dist/lib/components/ui/dates/index.d.ts +1 -0
- package/dist/lib/components/ui/display/badge/badge.d.ts +4 -1
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +8 -1
- package/dist/lib/components/ui/display/index.d.ts +2 -0
- package/dist/lib/components/ui/display/person-cell/index.d.ts +1 -0
- package/dist/lib/components/ui/display/person-cell/person-cell.d.ts +23 -0
- package/dist/lib/components/ui/display/tone-value/index.d.ts +2 -0
- package/dist/lib/components/ui/display/tone-value/tone-value.d.ts +23 -0
- package/dist/lib/components/ui/feedback/error-state/partials/error-state-actions.d.ts +6 -1
- package/dist/lib/components/ui/feedback/page-load-failed/page-load-failed.d.ts +8 -1
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/number-field/number-control.d.ts +2 -2
- package/dist/lib/components/ui/fields/switch/partials/switch-row.d.ts +4 -2
- package/dist/lib/components/ui/fields/switch/switch.d.ts +7 -1
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside-parts.d.ts +68 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside-toggle.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside.d.ts +5 -2
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside.types.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content.d.ts +3 -2
- package/dist/lib/components/ui/layout/app-shell/app-shell.utils.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-entries.d.ts +5 -2
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-icon-item.d.ts +2 -1
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +14 -5
- package/dist/lib/components/ui/primitives/tabs/partials/tabs-list.d.ts +8 -2
- package/dist/lib/components/ui/primitives/tabs/tabs-nav.d.ts +5 -1
- package/dist/lib/components/ui/primitives/tabs/tabs-overflow-classes.d.ts +3 -0
- package/dist/lib/components/ui/selection/sortable-list/index.d.ts +1 -1
- package/dist/lib/components/ui/selection/sortable-list/sortable-list-context.d.ts +3 -1
- package/dist/lib/components/ui/selection/sortable-list/sortable-list.d.ts +6 -2
- package/dist/lib/components/ui/selection/sortable-list/types.d.ts +1 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-labels.d.ts +3 -0
- package/dist/lib/i18n/resources/en/en.d.ts +11 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +12 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +11 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +12 -1
- package/dist/lib/i18n/resources/resources.d.ts +22 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +54 -53
- package/dist/map.js +7 -7
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-BFwxazf1.js → percent-field-DyJ2yOH4.js} +1 -1
- package/dist/{picker-surface-DkfTv_ft.js → picker-surface-CnlOKQ3D.js} +4 -4
- package/dist/{popover-BM6xApJd.js → popover-BevReSHi.js} +1 -1
- package/dist/{pos-types-CpTpT4vE.js → pos-types-BrZBX0Zg.js} +1 -1
- package/dist/{pos-variant-Bs5BUB1L.js → pos-variant-G12HCSfQ.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-B1eI1fd0.js → programmer-variant-WWLwTGRF.js} +2 -2
- package/dist/{public-CzLMnSsS.js → public-C1a6wQ6o.js} +19 -19
- package/dist/{rich-code-block-CdVtxD75.js → rich-code-block-Dh9J-VZ8.js} +5 -5
- package/dist/{scientific-variant-rfvJKxB4.js → scientific-variant-BvutlF8a.js} +2 -2
- package/dist/{sortable-provider-BopzsciJ.js → sortable-provider-BrA5tfJX.js} +2 -2
- package/dist/{spinner-DcW21pN1.js → spinner-JnLLiLIO.js} +1 -1
- package/dist/{tabs-CdoBFtWx.js → tabs-dXCZGShv.js} +63 -61
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-Ch3GkDDU.js → theme-toggle-BmcK6mXV.js} +1 -1
- package/dist/{toolbar-items-CZ1lJXZZ.js → toolbar-items-B-kMYsDT.js} +4 -4
- package/dist/{translate-material-BrYBBZ66.js → translate-material-BmpcP1p1.js} +1 -1
- package/dist/{translator-DoVsjUff.js → translator-CfoXTrZd.js} +24 -2
- package/dist/{use-chat-composer-C9DG7O1Z.js → use-chat-composer-DFD_eF-r.js} +4197 -4246
- package/dist/{use-heading-spy-kyOSe9rb.js → use-heading-spy-BcNK1qvq.js} +4 -4
- package/dist/{use-material-translation-BdrItuwY.js → use-material-translation-DoymV6IP.js} +1 -1
- package/dist/{use-return-focus-Cqzvj9R0.js → use-return-focus-CLEnhfka.js} +1 -1
- package/docs/components/README.md +2 -1
- package/docs/components/buttons-and-actions.md +10 -1
- package/docs/components/data-display.md +80 -4
- package/docs/components/data-table-filter-and-lists.md +56 -3
- package/docs/components/date-and-time.md +53 -1
- package/docs/components/feedback-and-status.md +11 -2
- package/docs/components/form-fields.md +11 -2
- package/docs/components/navigation-and-layout.md +2 -2
- package/docs/components/primitives.md +7 -0
- package/docs/components/selection-and-choice.md +4 -2
- package/docs/guides/app-shell.md +46 -11
- package/docs/guides/data-grid.md +12 -0
- package/docs/guides/forms.md +1 -0
- package/docs/guides/i18n.md +1 -1
- package/docs/previews/data-display-personcell.webp +0 -0
- package/docs/previews/data-display-tonevalue.webp +0 -0
- package/docs/previews/date-time-agefield.webp +0 -0
- package/docs/roadmap.md +23 -0
- package/package.json +2 -2
- package/dist/currency-field-cwC7cqUE.js +0 -286
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NumberFieldProps } from './number-field.types.js';
|
|
2
2
|
/**
|
|
3
3
|
* A NumberField's row: the "Decrease" button, the text input, the "Increase"
|
|
4
|
-
* button
|
|
5
|
-
* caller's.
|
|
4
|
+
* button; a suffix sits inside the input's box, as its end adornment. The
|
|
5
|
+
* field's label, its help and its ids are the caller's.
|
|
6
6
|
*/
|
|
7
7
|
export declare function NumberControl({ error, disabled, value, defaultValue, onChange, onBlur, min, max, step, hideSteppers, suffix, stepperName, ...input }: Omit<NumberFieldProps, 'label' | 'helperText' | 'className'> & {
|
|
8
8
|
/** The field's plain-text name, appended to the steppers' own ("Increase Quantity"). */
|
|
@@ -6,9 +6,11 @@ export type SwitchRowProps = {
|
|
|
6
6
|
text: ReactNode;
|
|
7
7
|
isChecked: boolean;
|
|
8
8
|
error?: boolean;
|
|
9
|
+
/** `plain` draws the row without the field box: no border, no tint. */
|
|
10
|
+
variant?: 'box' | 'plain';
|
|
9
11
|
className?: string;
|
|
10
12
|
/** The switch itself. */
|
|
11
13
|
children: ReactNode;
|
|
12
14
|
};
|
|
13
|
-
/** The bordered row: its text, tinted while checked, then the switch. */
|
|
14
|
-
export declare function SwitchRow({ id, rowTextId, text, isChecked, error, className, children, }: SwitchRowProps): import("react").JSX.Element;
|
|
15
|
+
/** The bordered row (or, `plain`, the unboxed one): its text, tinted while checked, then the switch. */
|
|
16
|
+
export declare function SwitchRow({ id, rowTextId, text, isChecked, error, variant, className, children, }: SwitchRowProps): import("react").JSX.Element;
|
|
@@ -5,8 +5,14 @@ export type SwitchProps = {
|
|
|
5
5
|
error?: boolean;
|
|
6
6
|
helperText?: ReactNode;
|
|
7
7
|
placeholder?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* How a labelled switch is drawn: `box` (default) is the bordered, tinted
|
|
10
|
+
* row of an input; `plain` keeps the label beside the switch with no
|
|
11
|
+
* border and no tint. Without a `label` or `placeholder` it changes nothing.
|
|
12
|
+
*/
|
|
13
|
+
variant?: 'box' | 'plain';
|
|
8
14
|
} & SwitchControlProps;
|
|
9
|
-
export declare function Switch({ error, helperText, label, placeholder, className, ...props }: SwitchProps): import("react").JSX.Element;
|
|
15
|
+
export declare function Switch({ error, helperText, label, placeholder, variant, className, ...props }: SwitchProps): import("react").JSX.Element;
|
|
10
16
|
/**
|
|
11
17
|
* The labelled `Switch` under `@nxgt/material-vue`'s name, so code reads the
|
|
12
18
|
* same in both libraries. Same component, same props. The names may align
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ActivityContentAsideFrom, ActivityContentAsideSide } from './activity-content-aside.types.js';
|
|
3
|
+
import { phoneClasses } from './activity-content-aside-toggle.js';
|
|
4
|
+
/**
|
|
5
|
+
* Every breakpoint's classes are written out: Tailwind reads whole class
|
|
6
|
+
* names from the source. The layout is CSS only, so the server's HTML and a
|
|
7
|
+
* phone's first paint are already right.
|
|
8
|
+
*/
|
|
9
|
+
export declare const FROM: {
|
|
10
|
+
readonly lg: {
|
|
11
|
+
readonly grid: "lg:grid-cols-[var(--ac-main)_var(--ac-aside)]";
|
|
12
|
+
readonly gridStart: "lg:grid-cols-[var(--ac-aside)_var(--ac-main)]";
|
|
13
|
+
readonly aside: "lg:self-start lg:order-last";
|
|
14
|
+
readonly asideStart: "lg:self-start lg:order-first";
|
|
15
|
+
readonly sticky: "lg:sticky lg:top-(--ac-top) lg:max-h-(--ac-max) lg:overflow-y-auto";
|
|
16
|
+
};
|
|
17
|
+
readonly xl: {
|
|
18
|
+
readonly grid: "xl:grid-cols-[var(--ac-main)_var(--ac-aside)]";
|
|
19
|
+
readonly gridStart: "xl:grid-cols-[var(--ac-aside)_var(--ac-main)]";
|
|
20
|
+
readonly aside: "xl:self-start xl:order-last";
|
|
21
|
+
readonly asideStart: "xl:self-start xl:order-first";
|
|
22
|
+
readonly sticky: "xl:sticky xl:top-(--ac-top) xl:max-h-(--ac-max) xl:overflow-y-auto";
|
|
23
|
+
};
|
|
24
|
+
readonly '2xl': {
|
|
25
|
+
readonly grid: "2xl:grid-cols-[var(--ac-main)_var(--ac-aside)]";
|
|
26
|
+
readonly gridStart: "2xl:grid-cols-[var(--ac-aside)_var(--ac-main)]";
|
|
27
|
+
readonly aside: "2xl:self-start 2xl:order-last";
|
|
28
|
+
readonly asideStart: "2xl:self-start 2xl:order-first";
|
|
29
|
+
readonly sticky: "2xl:sticky 2xl:top-(--ac-top) 2xl:max-h-(--ac-max) 2xl:overflow-y-auto";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const WIDTH: {
|
|
33
|
+
readonly full: "[--ac-main:minmax(0,1fr)]";
|
|
34
|
+
readonly form: "[--ac-main:minmax(0,48rem)]";
|
|
35
|
+
readonly reading: "[--ac-main:minmax(0,72ch)]";
|
|
36
|
+
};
|
|
37
|
+
export declare const ASIDE_WIDTH: {
|
|
38
|
+
readonly sm: "[--ac-aside:16rem]";
|
|
39
|
+
readonly md: "[--ac-aside:var(--nxgt-aside-width,20rem)]";
|
|
40
|
+
readonly lg: "[--ac-aside:24rem]";
|
|
41
|
+
};
|
|
42
|
+
/** Keyboard users reach a panel that scrolls inside itself. */
|
|
43
|
+
export declare function useFocusableWhenScrolling(sticky: boolean): {
|
|
44
|
+
ref: import('react').RefObject<HTMLElement | null>;
|
|
45
|
+
tabIndex: number | undefined;
|
|
46
|
+
};
|
|
47
|
+
export type AsidePanelProps = {
|
|
48
|
+
sticky: boolean;
|
|
49
|
+
side: ActivityContentAsideSide;
|
|
50
|
+
from: ActivityContentAsideFrom;
|
|
51
|
+
hiddenClasses: ReturnType<typeof phoneClasses> | false;
|
|
52
|
+
label?: string;
|
|
53
|
+
labelledBy?: string;
|
|
54
|
+
className?: string;
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
};
|
|
57
|
+
/** The side panel: a `complementary` landmark, sticky and focusable when it scrolls. */
|
|
58
|
+
export declare function AsidePanel({ sticky, side, from, hiddenClasses, label, labelledBy, className, children, }: AsidePanelProps): import("react").JSX.Element;
|
|
59
|
+
/** The main column; a size container when a panel sits beside it. */
|
|
60
|
+
export declare function AsideMain({ container, hiddenClasses, children, }: {
|
|
61
|
+
container: boolean;
|
|
62
|
+
hiddenClasses: ReturnType<typeof phoneClasses> | false;
|
|
63
|
+
children?: ReactNode;
|
|
64
|
+
}): import("react").JSX.Element;
|
|
65
|
+
/** Spans every track: as wide as the column and the panel together, first. */
|
|
66
|
+
export declare function NoticeSlot({ children }: {
|
|
67
|
+
children?: ReactNode;
|
|
68
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ActivityContentAsideFrom } from './activity-content-aside.types.js';
|
|
2
|
+
/** Which pane a phone shows when the panel is behind a toggle. */
|
|
3
|
+
export type AsideView = 'main' | 'aside';
|
|
4
|
+
/**
|
|
5
|
+
* The classes that keep one pane out of a phone's way: hidden (not unmounted,
|
|
6
|
+
* so a form keeps what was typed) below the breakpoint, back from it.
|
|
7
|
+
*/
|
|
8
|
+
export declare function phoneClasses(from: ActivityContentAsideFrom, pane: AsideView, view: AsideView): string[] | undefined;
|
|
9
|
+
export type AsidePhoneToggleProps = {
|
|
10
|
+
from: ActivityContentAsideFrom;
|
|
11
|
+
view: AsideView;
|
|
12
|
+
onViewChange: (view: AsideView) => void;
|
|
13
|
+
/** The button that shows the panel. */
|
|
14
|
+
label?: string;
|
|
15
|
+
/** The button that shows the content. */
|
|
16
|
+
mainLabel?: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Two buttons above the content that swap the content and the panel on a
|
|
20
|
+
* phone. Gone from the breakpoint, where both sit side by side.
|
|
21
|
+
*/
|
|
22
|
+
export declare function AsidePhoneToggle({ from, view, onViewChange, label, mainLabel, }: AsidePhoneToggleProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { ActivityContentAsideFrom, ActivityContentAsideSide, ActivityContentAsideStack, ActivityContentAsideWidth, ActivityContentWidth } from './activity-content-aside.types.js';
|
|
2
|
+
import { ActivityContentAsideFrom, ActivityContentAsidePhone, ActivityContentAsideSide, ActivityContentAsideStack, ActivityContentAsideWidth, ActivityContentWidth } from './activity-content-aside.types.js';
|
|
3
3
|
export type ActivityContentBodyProps = {
|
|
4
4
|
width: ActivityContentWidth;
|
|
5
5
|
aside?: ReactNode;
|
|
@@ -11,6 +11,9 @@ export type ActivityContentBodyProps = {
|
|
|
11
11
|
asideSticky?: boolean;
|
|
12
12
|
asideStack?: ActivityContentAsideStack;
|
|
13
13
|
asideClassName?: string;
|
|
14
|
+
asidePhone?: ActivityContentAsidePhone;
|
|
15
|
+
asidePreviewLabel?: string;
|
|
16
|
+
asideMainLabel?: string;
|
|
14
17
|
/** A notice above the column and the panel, at the content's width. */
|
|
15
18
|
notice?: ReactNode;
|
|
16
19
|
children?: ReactNode;
|
|
@@ -21,4 +24,4 @@ export type ActivityContentBodyProps = {
|
|
|
21
24
|
* main column is a size container, so a `ResponsiveGrid` in it follows its
|
|
22
25
|
* width and not the window's.
|
|
23
26
|
*/
|
|
24
|
-
export declare function ActivityContentBody({ width, aside, asideLabel, asideLabelledBy, asideSide, asideWidth, asideFrom, asideSticky, asideStack, asideClassName, notice, children, }: ActivityContentBodyProps): import("react").JSX.Element;
|
|
27
|
+
export declare function ActivityContentBody({ width, aside, asideLabel, asideLabelledBy, asideSide, asideWidth, asideFrom, asideSticky, asideStack, asideClassName, asidePhone, asidePreviewLabel, asideMainLabel, notice, children, }: ActivityContentBodyProps): import("react").JSX.Element;
|
|
@@ -12,6 +12,13 @@ export type ActivityContentAsideWidth = 'sm' | 'md' | 'lg' | (string & {});
|
|
|
12
12
|
export type ActivityContentAsideFrom = 'lg' | 'xl' | '2xl';
|
|
13
13
|
/** Where a stacked panel goes, relative to the content. */
|
|
14
14
|
export type ActivityContentAsideStack = 'before' | 'after';
|
|
15
|
+
/**
|
|
16
|
+
* What a phone does with the panel, below `asideFrom`: `'stack'` puts it
|
|
17
|
+
* after (or before) the content; `'toggle'` puts it behind a two-button
|
|
18
|
+
* switch above the content (the content stays mounted, hidden). A `'sheet'`
|
|
19
|
+
* mode is planned.
|
|
20
|
+
*/
|
|
21
|
+
export type ActivityContentAsidePhone = 'stack' | 'toggle';
|
|
15
22
|
export type ActivityContentAsideProps = {
|
|
16
23
|
/** The side panel's content. It is a `complementary` landmark: name it with `asideLabel` or `asideLabelledBy`. */
|
|
17
24
|
aside?: ReactNode;
|
|
@@ -33,4 +40,10 @@ export type ActivityContentAsideProps = {
|
|
|
33
40
|
asideStack?: ActivityContentAsideStack;
|
|
34
41
|
/** Classes for the panel itself. */
|
|
35
42
|
asideClassName?: string;
|
|
43
|
+
/** Below `asideFrom`: `'stack'` (the default) or `'toggle'` (see {@link ActivityContentAsidePhone}). */
|
|
44
|
+
asidePhone?: ActivityContentAsidePhone;
|
|
45
|
+
/** The toggle's button that shows the panel. "Preview" by default. */
|
|
46
|
+
asidePreviewLabel?: string;
|
|
47
|
+
/** The toggle's button that shows the content. "Content" by default. */
|
|
48
|
+
asideMainLabel?: string;
|
|
36
49
|
};
|
|
@@ -50,10 +50,11 @@ export type ActivityContentProps = {
|
|
|
50
50
|
* 1280px, by default), sticky under the app bar, and stacked after the content
|
|
51
51
|
* (or before, with `asideStack="before"`) on a narrower screen. It is a
|
|
52
52
|
* `complementary` landmark named by `asideLabel` or `asideLabelledBy`. The
|
|
53
|
-
* layout is CSS only.
|
|
53
|
+
* layout is CSS only. `asidePhone="toggle"` puts the panel behind a
|
|
54
|
+
* Content / Preview switch on a narrower screen instead of stacking it.
|
|
54
55
|
*
|
|
55
56
|
* When the app bar shows the page's title (a route's `handle.title`), `title`
|
|
56
57
|
* is left out here: the bar's is the page's one `h1`. The subtitle and the
|
|
57
58
|
* actions stay.
|
|
58
59
|
*/
|
|
59
|
-
export declare function ActivityContent({ title, subtitle, header, actions, hideHeader, titleAs: Title, inset, width, children, className, aside, asideLabel, asideLabelledBy, asideSide, asideWidth, asideFrom, asideSticky, asideStack, asideClassName, notice, ...props }: ActivityContentProps): import("react").JSX.Element;
|
|
60
|
+
export declare function ActivityContent({ title, subtitle, header, actions, hideHeader, titleAs: Title, inset, width, children, className, aside, asideLabel, asideLabelledBy, asideSide, asideWidth, asideFrom, asideSticky, asideStack, asideClassName, asidePhone, asidePreviewLabel, asideMainLabel, notice, ...props }: ActivityContentProps): import("react").JSX.Element;
|
|
@@ -43,7 +43,9 @@ export declare function isMenuItemActive(pathname: string, url: string): boolean
|
|
|
43
43
|
*/
|
|
44
44
|
export declare function findActiveMenuItem(pathname: string, items: MenuItem[]): MenuItem | undefined;
|
|
45
45
|
/** Every entry and, after each, its children: the list the location is matched against. */
|
|
46
|
-
export declare function flattenItems(items: MenuItem[]): MenuItem[];
|
|
46
|
+
export declare function flattenItems(items: MenuItem[], sheet?: boolean): MenuItem[];
|
|
47
|
+
/** An entry's children as a surface draws them: the phone's menu sheet drops those of a `childrenIn: 'sidebar'` entry. */
|
|
48
|
+
export declare function menuChildren(item: MenuItem, sheet?: boolean): MenuItem[];
|
|
47
49
|
/**
|
|
48
50
|
* The top-level entry the location belongs to: the one whose own url or whose
|
|
49
51
|
* descendant's url is the most specific match. A child living outside its
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { AppShellLinkComponent, MenuItem } from './types.js';
|
|
2
2
|
/**
|
|
3
|
-
* The sidebar's entries: a link per item, an icon button for `display: 'icon'
|
|
3
|
+
* The sidebar's entries: a link per item, an icon button for `display: 'icon'`
|
|
4
|
+
* (except in the phone's menu sheet, which always shows the label too).
|
|
4
5
|
* Expanded (the sidebar open, the phone's menu sheet), an entry's `children`
|
|
5
6
|
* are nested under it, indented.
|
|
6
7
|
*/
|
|
7
|
-
export declare function AppSidebarEntries({ items, activeUrl, linkComponent, expanded, }: {
|
|
8
|
+
export declare function AppSidebarEntries({ items, activeUrl, linkComponent, expanded, sheet, }: {
|
|
8
9
|
items: MenuItem[];
|
|
9
10
|
/** The `url` of the one current entry, a child included. */
|
|
10
11
|
activeUrl?: string;
|
|
11
12
|
linkComponent: AppShellLinkComponent;
|
|
12
13
|
expanded?: boolean;
|
|
14
|
+
/** The phone's menu sheet: a `childrenIn: 'sidebar'` entry lists no children. */
|
|
15
|
+
sheet?: boolean;
|
|
13
16
|
}): import("react").JSX.Element[];
|
|
@@ -2,7 +2,8 @@ import { AppShellLinkComponent, MenuItem } from './types.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* An entry with `display: 'icon'`: a round, icon-only link, drawn with
|
|
4
4
|
* `IconButton` (the Button family's look) in the expanded sidebar and the
|
|
5
|
-
* collapsed rail alike
|
|
5
|
+
* collapsed rail alike (not in the phone's menu sheet, which draws the label
|
|
6
|
+
* item). The label is its tooltip and, visually hidden, its
|
|
6
7
|
* accessible name; the active one is tinted in primary and `aria-current`.
|
|
7
8
|
* On a coarse pointer the button itself is 44px.
|
|
8
9
|
*/
|
|
@@ -35,6 +35,8 @@ export type AppSidebarProps = {
|
|
|
35
35
|
* expanded sidebar always starts at the top.
|
|
36
36
|
*/
|
|
37
37
|
align?: 'start' | 'center';
|
|
38
|
+
/** Set by the header's menu sheet: an entry marked `childrenIn: 'sidebar'` shows no children. */
|
|
39
|
+
sheet?: boolean;
|
|
38
40
|
} & SidebarProps;
|
|
39
41
|
/**
|
|
40
42
|
* The application sidebar: a navigation entry per {@link MenuItem}, with the
|
|
@@ -45,4 +47,4 @@ export type AppSidebarProps = {
|
|
|
45
47
|
* {@link findActiveMenuItem} for why that cannot be decided one entry at a
|
|
46
48
|
* time once a menu is mounted anywhere but `/`.
|
|
47
49
|
*/
|
|
48
|
-
export declare function AppSidebar({ items, brand, logo, name, context, linkComponent: ownLink, align, className, withToggleIcon, expanded, onExpandedChange, ...props }: AppSidebarProps): import("react").JSX.Element;
|
|
50
|
+
export declare function AppSidebar({ items, brand, logo, name, context, linkComponent: ownLink, align, sheet, className, withToggleIcon, expanded, onExpandedChange, ...props }: AppSidebarProps): import("react").JSX.Element;
|
|
@@ -25,11 +25,12 @@ export type MenuItem = {
|
|
|
25
25
|
/**
|
|
26
26
|
* How the entry is drawn. Unset: the icon and the label (a tile under the
|
|
27
27
|
* icon on the collapsed rail). `'icon'`: a round, icon-only button (the
|
|
28
|
-
* Button family's `IconButton`) in the expanded sidebar
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
28
|
+
* Button family's `IconButton`) in the expanded sidebar and the collapsed
|
|
29
|
+
* rail, with the `label` as its tooltip and its accessible name,
|
|
30
|
+
* `aria-current` when active and a 44px target on a coarse pointer. The
|
|
31
|
+
* phone's menu sheet always shows the icon and the label, since a lone icon
|
|
32
|
+
* reads poorly there. Meant for a `footer` entry such as "Settings". It
|
|
33
|
+
* draws no `badge` as an icon button: the option is ignored there.
|
|
33
34
|
*/
|
|
34
35
|
display?: 'icon';
|
|
35
36
|
/**
|
|
@@ -57,6 +58,14 @@ export type MenuItem = {
|
|
|
57
58
|
* presets list the top level only.
|
|
58
59
|
*/
|
|
59
60
|
children?: MenuItem[];
|
|
61
|
+
/**
|
|
62
|
+
* `'sidebar'`: the `children` show in the expanded sidebar and the
|
|
63
|
+
* `navigation="top"` dropdown only. The phone's menu sheet lists the entry
|
|
64
|
+
* as a plain link to its `url`, with its badge, and no children, for a
|
|
65
|
+
* parent whose own page already lists them. Unset: the sheet nests them
|
|
66
|
+
* like the expanded sidebar. Ignored without `children`.
|
|
67
|
+
*/
|
|
68
|
+
childrenIn?: 'sidebar';
|
|
60
69
|
/** The section this entry belongs to, already translated: the drawer draws one section per group. */
|
|
61
70
|
group?: string;
|
|
62
71
|
/** Whether a bottom navigation bar shows this entry (the others go under "More"): the bar and the floating toolbar. */
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { Tabs as TabsPrimitive } from 'radix-ui';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
|
+
import { TabsScrollButtonsMode } from '../tabs-overflow-classes.js';
|
|
3
4
|
/**
|
|
4
5
|
* The row of tabs. When it is wider than its container it scrolls sideways;
|
|
5
6
|
* while tabs are hidden on a side, that side fades and gets a scroll button,
|
|
6
|
-
* and the selected (or focused) tab is scrolled into view.
|
|
7
|
+
* and the selected (or focused) tab is scrolled into view. With
|
|
8
|
+
* `scrollButtons="none"` the buttons are left out and the list stays a plain
|
|
9
|
+
* touch-scrollable row with a soft fade on each side that hides tabs.
|
|
7
10
|
*/
|
|
8
|
-
export declare function TabsList({ className, children, ref, ...props }: ComponentProps<typeof TabsPrimitive.List>
|
|
11
|
+
export declare function TabsList({ scrollButtons, className, children, ref, ...props }: ComponentProps<typeof TabsPrimitive.List> & {
|
|
12
|
+
/** `auto` (default): scroll buttons while tabs are hidden; `none`: no buttons. */
|
|
13
|
+
scrollButtons?: TabsScrollButtonsMode;
|
|
14
|
+
}): import("react").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from 'react';
|
|
2
2
|
import { TabsNavLink } from './partials/tabs-nav-link.js';
|
|
3
3
|
import { TabsLook } from './tabs-classes.js';
|
|
4
|
+
import { TabsScrollButtonsMode } from './tabs-overflow-classes.js';
|
|
4
5
|
export type { TabsNavLinkProps } from './partials/tabs-nav-link.js';
|
|
5
6
|
export type TabsNavProps = Omit<ComponentProps<'nav'>, 'aria-label'> & {
|
|
6
7
|
/** Names the navigation for assistive technology ("Account sections"). */
|
|
@@ -9,6 +10,8 @@ export type TabsNavProps = Omit<ComponentProps<'nav'>, 'aria-label'> & {
|
|
|
9
10
|
value?: string;
|
|
10
11
|
/** `underline` (the default) or `segmented`, as `Tabs`. */
|
|
11
12
|
variant?: TabsLook;
|
|
13
|
+
/** `auto` (default): scroll buttons while links are hidden; `none`: no buttons, a plain scrollable row with a soft edge fade. */
|
|
14
|
+
scrollButtons?: TabsScrollButtonsMode;
|
|
12
15
|
children?: ReactNode;
|
|
13
16
|
};
|
|
14
17
|
/**
|
|
@@ -18,5 +21,6 @@ export type TabsNavProps = Omit<ComponentProps<'nav'>, 'aria-label'> & {
|
|
|
18
21
|
* current one marked `aria-current="page"`. Use `Tabs` when the panels are
|
|
19
22
|
* on the page, `TabsNav` when each tab is a place to go.
|
|
20
23
|
*/
|
|
21
|
-
declare function TabsNav({ value, variant, className, children, ref, ...props }: TabsNavProps): import("react").JSX.Element;
|
|
24
|
+
declare function TabsNav({ value, variant, scrollButtons, className, children, ref, ...props }: TabsNavProps): import("react").JSX.Element;
|
|
25
|
+
export type { TabsScrollButtonsMode } from './tabs-overflow-classes.js';
|
|
22
26
|
export { TabsNav, TabsNavLink };
|
|
@@ -7,3 +7,6 @@ export declare const TABS_SCROLL_OVERLAY = "pointer-events-none absolute z-20 ov
|
|
|
7
7
|
export declare const TABS_SCROLL_BUTTON = "pointer-events-auto absolute top-1/2 inline-flex size-7 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-border bg-background text-foreground shadow-sm transition-colors hover:bg-muted pointer-coarse:h-full pointer-coarse:max-h-11 pointer-coarse:w-11 focus-visible:outline-2 focus-visible:outline-offset-[-3px] focus-visible:outline-primary dark:focus-visible:outline-track-fill [&_svg]:size-4";
|
|
8
8
|
export declare const TABS_SCROLL_LEFT = "pointer-events-auto absolute top-1/2 inline-flex size-7 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-border bg-background text-foreground shadow-sm transition-colors hover:bg-muted pointer-coarse:h-full pointer-coarse:max-h-11 pointer-coarse:w-11 focus-visible:outline-2 focus-visible:outline-offset-[-3px] focus-visible:outline-primary dark:focus-visible:outline-track-fill [&_svg]:size-4 left-1";
|
|
9
9
|
export declare const TABS_SCROLL_RIGHT = "pointer-events-auto absolute top-1/2 inline-flex size-7 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-border bg-background text-foreground shadow-sm transition-colors hover:bg-muted pointer-coarse:h-full pointer-coarse:max-h-11 pointer-coarse:w-11 focus-visible:outline-2 focus-visible:outline-offset-[-3px] focus-visible:outline-primary dark:focus-visible:outline-track-fill [&_svg]:size-4 right-1";
|
|
10
|
+
export declare const TABS_OVERFLOW_FADE_ONLY = "[--tabs-cue:0px] data-[overflow-left]:[--tabs-inset-left:1.5rem] data-[overflow-right]:[--tabs-inset-right:1.5rem] data-[overflow-left]:[mask-image:linear-gradient(to_right,transparent,#000_var(--tabs-inset-left,0px),#000_calc(100%_-_var(--tabs-inset-right,0px)),transparent)] data-[overflow-right]:[mask-image:linear-gradient(to_right,transparent,#000_var(--tabs-inset-left,0px),#000_calc(100%_-_var(--tabs-inset-right,0px)),transparent)]";
|
|
11
|
+
/** `auto` (the default) shows scroll buttons while tabs are hidden; `none` shows none. */
|
|
12
|
+
export type TabsScrollButtonsMode = 'auto' | 'none';
|
|
@@ -2,4 +2,4 @@ export { DragHandle as SortableHandle, insertIds, } from '../../collections/dnd/
|
|
|
2
2
|
export type { SortableListProps } from './sortable-list.js';
|
|
3
3
|
export { SortableList } from './sortable-list.js';
|
|
4
4
|
export * from './sortable-list-form-field.js';
|
|
5
|
-
export type { SortableListAppearance, SortableListDensity, SortableListDragActivator, SortableListItem, SortableListRenderItem, } from './types.js';
|
|
5
|
+
export type { SortableListAppearance, SortableListDensity, SortableListDragActivator, SortableListItem, SortableListRenderItem, SortableListRowAction, } from './types.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SortableListAppearance, SortableListDensity, SortableListDragActivator, SortableListRenderItem } from './types.js';
|
|
1
|
+
import { SortableListAppearance, SortableListDensity, SortableListDragActivator, SortableListItem, SortableListRenderItem, SortableListRowAction } from './types.js';
|
|
2
2
|
import { SortableListModel } from './use-sortable-list.js';
|
|
3
3
|
export type SortableListOptions = {
|
|
4
4
|
uid: string;
|
|
@@ -12,6 +12,8 @@ export type SortableListOptions = {
|
|
|
12
12
|
dragActivator: SortableListDragActivator;
|
|
13
13
|
required?: boolean;
|
|
14
14
|
renderItem?: SortableListRenderItem;
|
|
15
|
+
labelLines: 1 | 2;
|
|
16
|
+
rowActions?: (item: SortableListItem) => SortableListRowAction[] | undefined;
|
|
15
17
|
};
|
|
16
18
|
export type SortableListLabels = {
|
|
17
19
|
drag: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { SortableListAppearance, SortableListDensity, SortableListDragActivator, SortableListItem, SortableListRenderItem } from './types.js';
|
|
2
|
+
import { SortableListAppearance, SortableListDensity, SortableListDragActivator, SortableListItem, SortableListRenderItem, SortableListRowAction } from './types.js';
|
|
3
3
|
export type SortableListProps = {
|
|
4
4
|
items: SortableListItem[];
|
|
5
5
|
value?: string[];
|
|
@@ -28,5 +28,9 @@ export type SortableListProps = {
|
|
|
28
28
|
name?: string;
|
|
29
29
|
className?: string;
|
|
30
30
|
renderItem?: SortableListRenderItem;
|
|
31
|
+
/** Lines a row's label may take before an ellipsis: `1` (default) or `2`. The full text stays in the `title`. Ignored with `renderItem`. */
|
|
32
|
+
labelLines?: 1 | 2;
|
|
33
|
+
/** A "..." menu on each row, beside the remove button: the actions of that item (`RowMenu` items). Return nothing or `[]` for a row without one. Ignored with `renderItem`. */
|
|
34
|
+
rowActions?: (item: SortableListItem) => SortableListRowAction[] | undefined;
|
|
31
35
|
};
|
|
32
|
-
export declare function SortableList({ items, value, defaultValue, onValueChange, searchable, draggable, reorderable, removable, numbered, density, appearance, dragActivator, disabled, height, label, hideLabel, helperText, error, required, name, className, renderItem, }: SortableListProps): import("react").JSX.Element;
|
|
36
|
+
export declare function SortableList({ items, value, defaultValue, onValueChange, searchable, draggable, reorderable, removable, numbered, density, appearance, dragActivator, disabled, height, label, hideLabel, helperText, error, required, name, className, renderItem, labelLines, rowActions, }: SortableListProps): import("react").JSX.Element;
|
|
@@ -12,6 +12,7 @@ export type SortableListItem = {
|
|
|
12
12
|
/** Stays where it is: no handle, not draggable, not movable by keyboard. */
|
|
13
13
|
locked?: boolean;
|
|
14
14
|
};
|
|
15
|
+
export type { RowMenuItem as SortableListRowAction } from '../../collections/row-menu/row-menu.js';
|
|
15
16
|
export type SortableListRenderItem = (item: SortableListItem, ctx: {
|
|
16
17
|
dragging: boolean;
|
|
17
18
|
}) => ReactNode;
|
|
@@ -1500,6 +1500,14 @@ export declare const en: {
|
|
|
1500
1500
|
"country-field": {
|
|
1501
1501
|
placeholder: string;
|
|
1502
1502
|
};
|
|
1503
|
+
"age-field": {
|
|
1504
|
+
"unit-day": string;
|
|
1505
|
+
"unit-week": string;
|
|
1506
|
+
"unit-month": string;
|
|
1507
|
+
"unit-year": string;
|
|
1508
|
+
unit: string;
|
|
1509
|
+
reading: string;
|
|
1510
|
+
};
|
|
1503
1511
|
"duration-field": {
|
|
1504
1512
|
hours: string;
|
|
1505
1513
|
minutes: string;
|
|
@@ -1536,6 +1544,9 @@ export declare const en: {
|
|
|
1536
1544
|
navigation: string;
|
|
1537
1545
|
badge: string;
|
|
1538
1546
|
"badge-dot": string;
|
|
1547
|
+
"aside-main": string;
|
|
1548
|
+
"aside-preview": string;
|
|
1549
|
+
"aside-toggle": string;
|
|
1539
1550
|
};
|
|
1540
1551
|
"top-app-bar": {
|
|
1541
1552
|
account: string;
|
|
@@ -1490,6 +1490,14 @@ declare const _default: {
|
|
|
1490
1490
|
"country-field": {
|
|
1491
1491
|
"placeholder": "Country"
|
|
1492
1492
|
},
|
|
1493
|
+
"age-field": {
|
|
1494
|
+
"unit-day": "{count, plural, one {day} other {days}}",
|
|
1495
|
+
"unit-week": "{count, plural, one {week} other {weeks}}",
|
|
1496
|
+
"unit-month": "{count, plural, one {month} other {months}}",
|
|
1497
|
+
"unit-year": "{count, plural, one {year} other {years}}",
|
|
1498
|
+
"unit": "Age unit",
|
|
1499
|
+
"reading": "{value} {unit}"
|
|
1500
|
+
},
|
|
1493
1501
|
"duration-field": {
|
|
1494
1502
|
"hours": "h",
|
|
1495
1503
|
"minutes": "min",
|
|
@@ -1525,7 +1533,10 @@ declare const _default: {
|
|
|
1525
1533
|
"open-menu": "Open menu",
|
|
1526
1534
|
"navigation": "Navigation",
|
|
1527
1535
|
"badge": "{count} new",
|
|
1528
|
-
"badge-dot": "new activity"
|
|
1536
|
+
"badge-dot": "new activity",
|
|
1537
|
+
"aside-main": "Content",
|
|
1538
|
+
"aside-preview": "Preview",
|
|
1539
|
+
"aside-toggle": "View"
|
|
1529
1540
|
},
|
|
1530
1541
|
"top-app-bar": {
|
|
1531
1542
|
"account": "Account menu",
|
|
@@ -1500,6 +1500,14 @@ export declare const fr: {
|
|
|
1500
1500
|
"country-field": {
|
|
1501
1501
|
placeholder: string;
|
|
1502
1502
|
};
|
|
1503
|
+
"age-field": {
|
|
1504
|
+
"unit-day": string;
|
|
1505
|
+
"unit-week": string;
|
|
1506
|
+
"unit-month": string;
|
|
1507
|
+
"unit-year": string;
|
|
1508
|
+
unit: string;
|
|
1509
|
+
reading: string;
|
|
1510
|
+
};
|
|
1503
1511
|
"duration-field": {
|
|
1504
1512
|
hours: string;
|
|
1505
1513
|
minutes: string;
|
|
@@ -1536,6 +1544,9 @@ export declare const fr: {
|
|
|
1536
1544
|
navigation: string;
|
|
1537
1545
|
badge: string;
|
|
1538
1546
|
"badge-dot": string;
|
|
1547
|
+
"aside-main": string;
|
|
1548
|
+
"aside-preview": string;
|
|
1549
|
+
"aside-toggle": string;
|
|
1539
1550
|
};
|
|
1540
1551
|
"top-app-bar": {
|
|
1541
1552
|
account: string;
|
|
@@ -1490,6 +1490,14 @@ declare const _default: {
|
|
|
1490
1490
|
"country-field": {
|
|
1491
1491
|
"placeholder": "Pays"
|
|
1492
1492
|
},
|
|
1493
|
+
"age-field": {
|
|
1494
|
+
"unit-day": "{count, plural, one {jour} other {jours}}",
|
|
1495
|
+
"unit-week": "{count, plural, one {semaine} other {semaines}}",
|
|
1496
|
+
"unit-month": "{count, plural, one {mois} other {mois}}",
|
|
1497
|
+
"unit-year": "{count, plural, one {an} other {ans}}",
|
|
1498
|
+
"unit": "Unité d'âge",
|
|
1499
|
+
"reading": "{value} {unit}"
|
|
1500
|
+
},
|
|
1493
1501
|
"duration-field": {
|
|
1494
1502
|
"hours": "h",
|
|
1495
1503
|
"minutes": "min",
|
|
@@ -1525,7 +1533,10 @@ declare const _default: {
|
|
|
1525
1533
|
"open-menu": "Ouvrir le menu",
|
|
1526
1534
|
"navigation": "Navigation",
|
|
1527
1535
|
"badge": "{count, plural, one {# nouveauté} other {# nouveautés}}",
|
|
1528
|
-
"badge-dot": "nouveauté"
|
|
1536
|
+
"badge-dot": "nouveauté",
|
|
1537
|
+
"aside-main": "Contenu",
|
|
1538
|
+
"aside-preview": "Aperçu",
|
|
1539
|
+
"aside-toggle": "Affichage"
|
|
1529
1540
|
},
|
|
1530
1541
|
"top-app-bar": {
|
|
1531
1542
|
"account": "Menu du compte",
|
|
@@ -1498,6 +1498,14 @@ export declare const resources: {
|
|
|
1498
1498
|
"country-field": {
|
|
1499
1499
|
placeholder: string;
|
|
1500
1500
|
};
|
|
1501
|
+
"age-field": {
|
|
1502
|
+
"unit-day": string;
|
|
1503
|
+
"unit-week": string;
|
|
1504
|
+
"unit-month": string;
|
|
1505
|
+
"unit-year": string;
|
|
1506
|
+
unit: string;
|
|
1507
|
+
reading: string;
|
|
1508
|
+
};
|
|
1501
1509
|
"duration-field": {
|
|
1502
1510
|
hours: string;
|
|
1503
1511
|
minutes: string;
|
|
@@ -1534,6 +1542,9 @@ export declare const resources: {
|
|
|
1534
1542
|
navigation: string;
|
|
1535
1543
|
badge: string;
|
|
1536
1544
|
"badge-dot": string;
|
|
1545
|
+
"aside-main": string;
|
|
1546
|
+
"aside-preview": string;
|
|
1547
|
+
"aside-toggle": string;
|
|
1537
1548
|
};
|
|
1538
1549
|
"top-app-bar": {
|
|
1539
1550
|
account: string;
|
|
@@ -5036,6 +5047,14 @@ export declare const resources: {
|
|
|
5036
5047
|
"country-field": {
|
|
5037
5048
|
placeholder: string;
|
|
5038
5049
|
};
|
|
5050
|
+
"age-field": {
|
|
5051
|
+
"unit-day": string;
|
|
5052
|
+
"unit-week": string;
|
|
5053
|
+
"unit-month": string;
|
|
5054
|
+
"unit-year": string;
|
|
5055
|
+
unit: string;
|
|
5056
|
+
reading: string;
|
|
5057
|
+
};
|
|
5039
5058
|
"duration-field": {
|
|
5040
5059
|
hours: string;
|
|
5041
5060
|
minutes: string;
|
|
@@ -5072,6 +5091,9 @@ export declare const resources: {
|
|
|
5072
5091
|
navigation: string;
|
|
5073
5092
|
badge: string;
|
|
5074
5093
|
"badge-dot": string;
|
|
5094
|
+
"aside-main": string;
|
|
5095
|
+
"aside-preview": string;
|
|
5096
|
+
"aside-toggle": string;
|
|
5075
5097
|
};
|
|
5076
5098
|
"top-app-bar": {
|
|
5077
5099
|
account: string;
|