@nxgt/material 3.10.1 → 3.11.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 +76 -0
- package/README.md +4 -4
- package/dist/{async-slice-DDjaJY_F.js → async-slice-4qbER86I.js} +1 -1
- package/dist/button-BNjw-pnE.js +327 -0
- package/dist/button-group-context-CaP0X5p_.js +5 -0
- package/dist/{button-tones-BgZJ1tkD.js → button-tones-BwuVvAmd.js} +9 -1
- package/dist/{callout-view-DdJPdFrP.js → callout-view-C6voDS00.js} +1 -1
- package/dist/charts.js +5 -5
- package/dist/{chip-DpySRqCy.js → chip-DLgQTJBZ.js} +4 -4
- package/dist/{code-editor-BiA14xua.js → code-editor-BZbaYLvo.js} +8 -8
- package/dist/code-editor.js +7 -7
- package/dist/{code-language-items-C_dJ6GVs.js → code-language-items-BT5BO5w6.js} +2 -2
- package/dist/components/base.css +21 -6
- package/dist/components/components.css +5 -2
- package/dist/components/type-scale.css +194 -0
- package/dist/components/ui/actions/button/button.css +156 -0
- package/dist/components/ui/actions/button-group/button-group-standard.css +131 -0
- package/dist/components/ui/actions/button-group/button-group.css +4 -1
- package/dist/components/ui/actions/icon-button/icon-button.css +115 -0
- package/dist/components/ui/actions/morph-fill.css +62 -0
- package/dist/{components-fqz7csN3.js → components-1GK7YIhY.js} +14685 -14688
- package/dist/components.js +23 -23
- package/dist/{dialog-CkIYpJXk.js → dialog-BQp5IdFl.js} +147 -147
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-BC5Tbhb9.js → dropdown-menu-BsH9W_3C.js} +3 -3
- package/dist/editor-viewer.js +1 -1
- package/dist/editor.js +13 -13
- package/dist/empty-state-WaU4-T2c.js +117 -0
- package/dist/escape-owner-C4W_sOAU.js +116 -0
- package/dist/{field-blur-DPLsMufs.js → field-blur-CJHzVSh9.js} +1 -1
- package/dist/{field-blur-context-1ZwJgsHE.js → field-blur-context-Cft9s7Hg.js} +2 -2
- package/dist/{hover-card-Cox-tPDz.js → hover-card-C0fw2kLK.js} +72 -71
- package/dist/i18n.js +12 -12
- package/dist/{icon-badge-q3Ve8gra.js → icon-badge-DUAq9f7H.js} +4 -4
- package/dist/icon-button-ifTpXt0A.js +355 -0
- package/dist/{illustration-Hj-Q9se9.js → illustration-BmQmvW_4.js} +36 -30
- package/dist/illustrations.js +2 -2
- package/dist/lib/components/ui/actions/button/button-tones.d.ts +16 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +13 -0
- package/dist/lib/components/ui/actions/button/button.variants.d.ts +4 -3
- package/dist/lib/components/ui/actions/button-group/button-group-context.d.ts +16 -0
- package/dist/lib/components/ui/actions/button-group/button-group-reset.d.ts +13 -0
- package/dist/lib/components/ui/actions/button-group/button-group.d.ts +19 -2
- package/dist/lib/components/ui/actions/icon-button/icon-button-shape.d.ts +3 -2
- package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +18 -4
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +34 -4
- package/dist/lib/components/ui/feedback/state-frame/state-scene-illustration.d.ts +4 -2
- package/dist/lib/components/ui/feedback/typing-indicator/typing-indicator.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +1 -1
- package/dist/lib/components/ui/overlays/dialog/dialog-variants.d.ts +1 -1
- package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +1 -1
- package/dist/lib/components/ui/primitives/typography/typography.d.ts +17 -7
- package/dist/lib/components/ui/primitives/typography/typography.variants.d.ts +55 -0
- package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +2 -2
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/illustrations/lazy-chunk.d.ts +9 -0
- package/dist/lib.js +2 -2
- package/dist/{line-path-BQeLQZ-P.js → line-path-C5pZGC49.js} +1 -1
- package/dist/main.js +29 -29
- package/dist/map.js +9 -9
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{plated-illustration-B7fcgOED.js → plated-illustration-iNO6KYTL.js} +9 -2
- package/dist/print.js +1 -1
- package/dist/{public-Cl4dLDHQ.js → public-B0Nq_yYV.js} +524 -524
- package/dist/{render-json-DyFYFIkZ.js → render-json-BOhvPnSv.js} +1 -1
- package/dist/{rich-code-block-C2Fp_FDU.js → rich-code-block-v7WmeZp9.js} +5 -5
- package/dist/{rich-text-viewer-LO1IZCWs.js → rich-text-viewer-W15XIwah.js} +2 -2
- package/dist/{skeleton-Bmp4gWAH.js → skeleton-DSdtr2qc.js} +1 -1
- package/dist/{sortable-provider-pVaEZzty.js → sortable-provider-CgDTolQR.js} +3 -3
- package/dist/{spinner-CsHcmcpF.js → spinner-BtSIYVrC.js} +3 -3
- package/dist/{state-scenes-Be9w_3an.js → state-scenes-BX03WmSu.js} +54 -41
- package/dist/styles.css +2 -0
- package/dist/theme-picker.js +3 -3
- package/dist/{theme-toggle-oU-fh6WE.js → theme-toggle-B2Pehdhn.js} +2 -2
- package/dist/{toggle-group-j8zaxEg1.js → toggle-group-BMJNcFAC.js} +1 -1
- package/dist/{toolbar-items-CqHvlTU8.js → toolbar-items-rUHdVqAq.js} +399 -398
- package/dist/{tooltip-rhbqNmr3.js → tooltip-CkttDIab.js} +1 -1
- package/dist/{translate-material-CGZljjp1.js → translate-material-Bd_KgfB8.js} +1 -1
- package/dist/{translator-DCYO4Ij3.js → translator-Dje8HrNz.js} +5 -5
- package/dist/{use-chat-composer-UHlGFSm0.js → use-chat-composer-Bt2ULsv6.js} +4172 -4172
- package/dist/{use-material-translation-DkxcLbLM.js → use-material-translation-B3V_bz-5.js} +1 -1
- package/dist/{utils-Bcd2Z3ea.js → utils-BLfntITJ.js} +14 -1
- package/docs/components/buttons-and-actions.md +64 -15
- package/docs/components/navigation-and-layout.md +1 -1
- package/docs/components/primitives.md +52 -10
- package/docs/guides/illustrations.md +12 -0
- package/docs/guides/theming.md +51 -0
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/feedback-status-circularprogress.webp +0 -0
- package/docs/previews/feedback-status-hydrateloading.webp +0 -0
- package/docs/previews/feedback-status-notifications.webp +0 -0
- package/docs/previews/feedback-status-progress.webp +0 -0
- package/docs/previews/feedback-status-skeleton.webp +0 -0
- package/docs/previews/feedback-status-spinner.webp +0 -0
- package/docs/previews/feedback-status-typingindicator.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/roadmap.md +35 -4
- package/docs/troubleshooting.md +71 -2
- package/lib/components/base.css +21 -6
- package/lib/components/components.css +5 -2
- package/lib/components/type-scale.css +194 -0
- package/lib/components/ui/actions/button/button.css +156 -0
- package/lib/components/ui/actions/button-group/button-group-standard.css +131 -0
- package/lib/components/ui/actions/button-group/button-group.css +4 -1
- package/lib/components/ui/actions/icon-button/icon-button.css +115 -0
- package/lib/components/ui/actions/morph-fill.css +62 -0
- package/lib/styles.css +2 -0
- package/package.json +1 -1
- package/dist/button-DbfdITBB.js +0 -322
- package/dist/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
- package/dist/components/ui/actions/icon-button/icon-button-morph.css +0 -152
- package/dist/empty-state-BOZWBC5q.js +0 -98
- package/dist/escape-owner-CripBce_.js +0 -57
- package/dist/icon-button-DJcWpIhu.js +0 -319
- package/lib/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
- package/lib/components/ui/actions/icon-button/icon-button-morph.css +0 -152
|
@@ -1,11 +1,41 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
/**
|
|
3
|
+
* The classes of each `size`, written out whole so Tailwind finds them. A
|
|
4
|
+
* ladder of variables, read by `button.css` (the shared look) and
|
|
5
|
+
* `icon-button.css`: `--btn-h` the height (and so the round radius,
|
|
6
|
+
* `--btn-h / 2`), `--ib-k` the width as a factor of it (`width`), `--btn-ic`
|
|
7
|
+
* the icon, `--btn-sq` the square radius. `legacy` is a button without a
|
|
8
|
+
* `size`: the 36px, 16px-icon button it always was, in rem like `size-9`.
|
|
9
|
+
* `scripts/button-radius.spec.ts` reads the heights and radii back from here.
|
|
10
|
+
*/
|
|
11
|
+
export declare const iconButtonSizeClasses: {
|
|
12
|
+
readonly legacy: "h-9 w-[calc(2.25rem*var(--ib-k,1))] [--btn-h:2.25rem] [--btn-sq:10px] [--btn-ic:1rem] has-[[data-slot=icon]]:p-1.5";
|
|
13
|
+
readonly xs: "h-(--btn-h) w-[calc(var(--btn-h)*var(--ib-k,1))] [--btn-h:24px] [--btn-sq:6px] [--btn-ic:14px]";
|
|
14
|
+
readonly sm: "h-(--btn-h) w-[calc(var(--btn-h)*var(--ib-k,1))] [--btn-h:32px] [--btn-sq:8px] [--btn-ic:16px]";
|
|
15
|
+
readonly default: "h-(--btn-h) w-[calc(var(--btn-h)*var(--ib-k,1))] [--btn-h:36px] [--btn-sq:10px] [--btn-ic:18px]";
|
|
16
|
+
readonly lg: "h-(--btn-h) w-[calc(var(--btn-h)*var(--ib-k,1))] [--btn-h:40px] [--btn-sq:12px] [--btn-ic:20px]";
|
|
17
|
+
readonly xl: "h-(--btn-h) w-[calc(var(--btn-h)*var(--ib-k,1))] [--btn-h:56px] [--btn-sq:16px] [--btn-ic:28px]";
|
|
18
|
+
};
|
|
19
|
+
export type IconButtonSize = Exclude<keyof typeof iconButtonSizeClasses, 'legacy'>;
|
|
20
|
+
export type IconButtonWidth = 'narrow' | 'default' | 'wide';
|
|
1
21
|
declare const variantsByColor: (props?: ({
|
|
22
|
+
look?: "btn" | "shaped" | null | undefined;
|
|
23
|
+
size?: "lg" | "sm" | "default" | "xs" | "xl" | "legacy" | null | undefined;
|
|
24
|
+
width?: "default" | "narrow" | "wide" | null | undefined;
|
|
2
25
|
variant?: "tonal" | "filled" | "link" | "ghost" | "outlined" | null | undefined;
|
|
3
26
|
color?: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "default" | null | undefined;
|
|
4
27
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
28
|
+
type Props = Parameters<typeof variantsByColor>[0];
|
|
29
|
+
/** What `iconButtonVariants` takes: `size` is optional and has no `legacy`. */
|
|
30
|
+
export type IconButtonVariantProps = Omit<NonNullable<Props>, 'look' | 'size'> & {
|
|
31
|
+
size?: IconButtonSize | null;
|
|
32
|
+
};
|
|
5
33
|
/**
|
|
6
|
-
* `IconButton`'s variant
|
|
7
|
-
* reads as the default colour, so it keeps its neutral hover
|
|
8
|
-
* no compound variant on `null`).
|
|
34
|
+
* `IconButton`'s variant x color x size x width classes. On a ghost one,
|
|
35
|
+
* `color: null` reads as the default colour, so it keeps its neutral hover.
|
|
9
36
|
*/
|
|
10
|
-
export declare const variants:
|
|
37
|
+
export declare const variants: (props?: IconButtonVariantProps) => string;
|
|
38
|
+
/** The same classes for a button drawn as a shape (`shape`): it keeps its own ring and surface. */
|
|
39
|
+
export declare const shapedVariants: (props?: IconButtonVariantProps) => string;
|
|
40
|
+
export type IconButtonVariants = VariantProps<typeof variants>;
|
|
11
41
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { SceneId } from './scene-registry.js';
|
|
2
|
-
|
|
2
|
+
type SceneProps = {
|
|
3
3
|
scene: SceneId;
|
|
4
4
|
size: 'sm' | 'md';
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
export declare function StateSceneIllustration({ scene, size }: SceneProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
declare const typingIndicatorVariants: (props?: ({
|
|
4
4
|
variant?: "bubble" | "dots" | null | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "md" | "sm" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type TypingIndicatorProps = ComponentProps<'div'> & VariantProps<typeof typingIndicatorVariants> & {
|
|
8
8
|
/** Its accessible name, announced politely (`role="status"`). Default: "Typing". */
|
|
@@ -45,13 +45,13 @@ export declare function splitSliderProps({ defaultValue, value, min, max, step,
|
|
|
45
45
|
minStepsBetweenThumbs?: number;
|
|
46
46
|
onValueCommit?(value: number[]): void;
|
|
47
47
|
form?: string;
|
|
48
|
+
title?: string | undefined | undefined;
|
|
48
49
|
content?: string | undefined | undefined;
|
|
49
50
|
translate?: "yes" | "no" | undefined | undefined;
|
|
50
51
|
color?: string | undefined | undefined;
|
|
51
52
|
prefix?: string | undefined | undefined;
|
|
52
53
|
slot?: string | undefined | undefined;
|
|
53
54
|
style?: import('react').CSSProperties | undefined;
|
|
54
|
-
title?: string | undefined | undefined;
|
|
55
55
|
children?: import('react').ReactNode;
|
|
56
56
|
key?: import('react').Key | null | undefined;
|
|
57
57
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -19,13 +19,13 @@ export declare function useSliderControl(props: SliderControlProps): {
|
|
|
19
19
|
minStepsBetweenThumbs?: number;
|
|
20
20
|
onValueCommit?(value: number[]): void;
|
|
21
21
|
form?: string;
|
|
22
|
+
title?: string | undefined | undefined;
|
|
22
23
|
content?: string | undefined | undefined;
|
|
23
24
|
translate?: "yes" | "no" | undefined | undefined;
|
|
24
25
|
color?: string | undefined | undefined;
|
|
25
26
|
prefix?: string | undefined | undefined;
|
|
26
27
|
slot?: string | undefined | undefined;
|
|
27
28
|
style?: import('react').CSSProperties | undefined;
|
|
28
|
-
title?: string | undefined | undefined;
|
|
29
29
|
children?: import('react').ReactNode;
|
|
30
30
|
key?: import('react').Key | null | undefined;
|
|
31
31
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
* layer, so a utility in `className` still wins (`rounded-lg`, `bg-background`).
|
|
6
6
|
*/
|
|
7
7
|
export declare const dialogContentVariants: (props?: ({
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "lg" | "md" | "sm" | "xl" | "full" | null | undefined;
|
|
9
9
|
mobilePresentation?: "dialog" | "fullscreen" | "bottom-sheet" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
export type DialogContentVariants = VariantProps<typeof dialogContentVariants>;
|
|
@@ -9,7 +9,7 @@ import { ComponentProps } from 'react';
|
|
|
9
9
|
*/
|
|
10
10
|
declare const toggleVariants: (props?: ({
|
|
11
11
|
variant?: "default" | "outlined" | null | undefined;
|
|
12
|
-
size?: "
|
|
12
|
+
size?: "lg" | "sm" | "default" | null | undefined;
|
|
13
13
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
14
|
declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react").JSX.Element;
|
|
15
15
|
export { Toggle, toggleVariants };
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import { ComponentProps } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { TypographyVariantProps } from './typography.variants.js';
|
|
3
|
+
export { typographyVariants } from './typography.variants.js';
|
|
4
|
+
export type TypographyProps = ComponentProps<'p'> & Omit<TypographyVariantProps, 'variant'> & {
|
|
5
|
+
/**
|
|
6
|
+
* A step of the type scale, `<role>-<size>`: role `display`, `headline`,
|
|
7
|
+
* `title`, `body` or `label`, size `lg`, `md` or `sm`. Default `body-md`.
|
|
8
|
+
*
|
|
9
|
+
* The fifteen former names are kept as aliases of the scale and are
|
|
10
|
+
* deprecated: `normal`, `huge-larger`, `huge-large`, `huge-medium`,
|
|
11
|
+
* `huge-small`, `headline-larger`, `headline-large`, `headline-medium`,
|
|
12
|
+
* `headline-small`, `title-large`, `title-medium`, `title-small`,
|
|
13
|
+
* `body-medium`, `body-small` and `caption`.
|
|
14
|
+
*/
|
|
15
|
+
variant?: TypographyVariantProps['variant'];
|
|
16
|
+
/** The heavier weight of the same step (`text-<step>-em`): same size, line height and tracking. No effect on a deprecated alias that is emphasized already. */
|
|
17
|
+
emphasized?: boolean | null;
|
|
8
18
|
/** The element to render, `div` by default. Intrinsic tags only. */
|
|
9
19
|
as?: keyof React.JSX.IntrinsicElements;
|
|
10
20
|
/** Merge the typography classes onto the single child instead of rendering an element. */
|
|
11
21
|
asChild?: boolean;
|
|
12
22
|
};
|
|
13
|
-
export declare function Typography({ className, variant, tone, as, asChild, ...props }: TypographyProps): import("react").JSX.Element;
|
|
23
|
+
export declare function Typography({ className, variant, emphasized, tone, as, asChild, ...props }: TypographyProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
/** The five roles of the type scale (lib/components/type-scale.css). */
|
|
3
|
+
export declare const typeRoles: readonly ["display", "headline", "title", "body", "label"];
|
|
4
|
+
export declare const typeSizes: readonly ["lg", "md", "sm"];
|
|
5
|
+
type Role = (typeof typeRoles)[number];
|
|
6
|
+
type Size = (typeof typeSizes)[number];
|
|
7
|
+
/** `display-lg`, `title-md`… the fifteen scale variants. */
|
|
8
|
+
export type ScaleVariant = `${Role}-${Size}`;
|
|
9
|
+
export declare const scaleVariants: ScaleVariant[];
|
|
10
|
+
/**
|
|
11
|
+
* The fifteen variants this component had before the scale, each mapped by
|
|
12
|
+
* name onto it: the old semibold ones to the emphasized variant, the others
|
|
13
|
+
* to the plain one. The sizes follow the scale, so they changed (the changelog
|
|
14
|
+
* has the table). `emphasized` has no effect on an alias that is emphasized
|
|
15
|
+
* already.
|
|
16
|
+
*/
|
|
17
|
+
export declare const aliases: {
|
|
18
|
+
/** @deprecated Use `body-md`. */
|
|
19
|
+
readonly normal: "body-md";
|
|
20
|
+
/** @deprecated Use `display-lg` with `emphasized`. */
|
|
21
|
+
readonly 'huge-larger': "display-lg-em";
|
|
22
|
+
/** @deprecated Use `display-lg` with `emphasized`. */
|
|
23
|
+
readonly 'huge-large': "display-lg-em";
|
|
24
|
+
/** @deprecated Use `display-md` with `emphasized`. */
|
|
25
|
+
readonly 'huge-medium': "display-md-em";
|
|
26
|
+
/** @deprecated Use `display-sm` with `emphasized`. */
|
|
27
|
+
readonly 'huge-small': "display-sm-em";
|
|
28
|
+
/** @deprecated Use `display-sm` with `emphasized`. */
|
|
29
|
+
readonly 'headline-larger': "display-sm-em";
|
|
30
|
+
/** @deprecated Use `headline-lg` with `emphasized`. */
|
|
31
|
+
readonly 'headline-large': "headline-lg-em";
|
|
32
|
+
/** @deprecated Use `headline-md` with `emphasized`. */
|
|
33
|
+
readonly 'headline-medium': "headline-md-em";
|
|
34
|
+
/** @deprecated Use `headline-sm` with `emphasized`. */
|
|
35
|
+
readonly 'headline-small': "headline-sm-em";
|
|
36
|
+
/** @deprecated Use `title-lg` with `emphasized`. */
|
|
37
|
+
readonly 'title-large': "title-lg-em";
|
|
38
|
+
/** @deprecated Use `title-md` with `emphasized`. */
|
|
39
|
+
readonly 'title-medium': "title-md-em";
|
|
40
|
+
/** @deprecated Use `title-sm` with `emphasized`. */
|
|
41
|
+
readonly 'title-small': "title-sm-em";
|
|
42
|
+
/** @deprecated Use `body-md`. */
|
|
43
|
+
readonly 'body-medium': "body-md";
|
|
44
|
+
/** @deprecated Use `body-sm`. */
|
|
45
|
+
readonly 'body-small': "body-sm";
|
|
46
|
+
/** @deprecated Use `label-sm` with `tone="muted"`. */
|
|
47
|
+
readonly caption: "label-sm";
|
|
48
|
+
};
|
|
49
|
+
export declare const typographyVariants: (props?: ({
|
|
50
|
+
variant?: "caption" | "normal" | "display-lg" | "display-md" | "display-sm" | "headline-lg" | "headline-md" | "headline-sm" | "title-lg" | "title-md" | "title-sm" | "body-lg" | "body-md" | "body-sm" | "label-lg" | "label-md" | "label-sm" | "huge-larger" | "huge-large" | "huge-medium" | "huge-small" | "headline-larger" | "headline-large" | "headline-medium" | "headline-small" | "title-large" | "title-medium" | "title-small" | "body-medium" | "body-small" | null | undefined;
|
|
51
|
+
emphasized?: boolean | null | undefined;
|
|
52
|
+
tone?: "primary" | "error" | "default" | "muted" | null | undefined;
|
|
53
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
54
|
+
export type TypographyVariantProps = VariantProps<typeof typographyVariants>;
|
|
55
|
+
export {};
|
|
@@ -52,13 +52,13 @@ export declare function useChoiceGroupField(props: ChoiceGroupBase<HTMLButtonEle
|
|
|
52
52
|
name: string | undefined;
|
|
53
53
|
dom: {
|
|
54
54
|
id?: string;
|
|
55
|
+
title?: string | undefined | undefined;
|
|
55
56
|
content?: string | undefined | undefined;
|
|
56
57
|
translate?: "yes" | "no" | undefined | undefined;
|
|
57
58
|
color?: string | undefined | undefined;
|
|
58
59
|
prefix?: string | undefined | undefined;
|
|
59
60
|
slot?: string | undefined | undefined;
|
|
60
61
|
style?: import('react').CSSProperties | undefined;
|
|
61
|
-
title?: string | undefined | undefined;
|
|
62
62
|
key?: import('react').Key | null | undefined;
|
|
63
63
|
defaultChecked?: boolean | undefined | undefined;
|
|
64
64
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -329,13 +329,13 @@ export declare function useChoiceGroupField(props: ChoiceGroupBase<HTMLButtonEle
|
|
|
329
329
|
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
|
|
330
330
|
} | {
|
|
331
331
|
id?: string;
|
|
332
|
+
title?: string | undefined | undefined;
|
|
332
333
|
content?: string | undefined | undefined;
|
|
333
334
|
translate?: "yes" | "no" | undefined | undefined;
|
|
334
335
|
color?: string | undefined | undefined;
|
|
335
336
|
prefix?: string | undefined | undefined;
|
|
336
337
|
slot?: string | undefined | undefined;
|
|
337
338
|
style?: import('react').CSSProperties | undefined;
|
|
338
|
-
title?: string | undefined | undefined;
|
|
339
339
|
key?: import('react').Key | null | undefined;
|
|
340
340
|
defaultChecked?: boolean | undefined | undefined;
|
|
341
341
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|