@ptbdynamic/plinth 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +258 -2
- package/package.json +99 -4
- package/packages/css/dist/avatar.css +122 -0
- package/packages/css/dist/badge.css +76 -0
- package/packages/css/dist/button.css +273 -0
- package/packages/css/dist/callout.css +143 -0
- package/packages/css/dist/code-block.css +283 -0
- package/packages/css/dist/confirm-dialog.css +183 -0
- package/packages/css/dist/data-table.css +470 -0
- package/packages/css/dist/dialog.css +113 -0
- package/packages/css/dist/drawer.css +156 -0
- package/packages/css/dist/fonts/geist/LICENSE +93 -0
- package/packages/css/dist/fonts/geist/geist-cyrillic-ext-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist/geist-cyrillic-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist/geist-latin-ext-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist/geist-latin-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist/geist-vietnamese-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist-mono/LICENSE +93 -0
- package/packages/css/dist/fonts/geist-mono/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist-mono/geist-mono-cyrillic-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist-mono/geist-mono-latin-ext-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist-mono/geist-mono-latin-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist-mono/geist-mono-symbols2-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/geist-mono/geist-mono-vietnamese-wght-normal.woff2 +0 -0
- package/packages/css/dist/fonts/index.css +109 -0
- package/packages/css/dist/header.css +110 -0
- package/packages/css/dist/icon.css +51 -0
- package/packages/css/dist/list-card.css +76 -0
- package/packages/css/dist/list-row.css +164 -0
- package/packages/css/dist/menu-sheet.css +84 -0
- package/packages/css/dist/menu.css +245 -0
- package/packages/css/dist/modal.css +367 -0
- package/packages/css/dist/page-header.css +124 -0
- package/packages/css/dist/pill-row.css +197 -0
- package/packages/css/dist/plinth.css +4446 -0
- package/packages/css/dist/section-menu.css +226 -0
- package/packages/css/dist/sheet.css +239 -0
- package/packages/css/dist/text-field.css +230 -0
- package/packages/css/dist/textarea.css +169 -0
- package/packages/css/dist/tokens.css +413 -0
- package/packages/react/dist/PlinthAvatar.d.ts +17 -0
- package/packages/react/dist/PlinthBadge.d.ts +7 -0
- package/packages/react/dist/PlinthButton.d.ts +29 -0
- package/packages/react/dist/PlinthCallout.d.ts +16 -0
- package/packages/react/dist/PlinthCodeBlock.d.ts +24 -0
- package/packages/react/dist/PlinthConfirmDialog.d.ts +38 -0
- package/packages/react/dist/PlinthDataTable.d.ts +11 -0
- package/packages/react/dist/PlinthDataTableCell.d.ts +15 -0
- package/packages/react/dist/PlinthDataTableColumn.d.ts +13 -0
- package/packages/react/dist/PlinthDataTableEmpty.d.ts +9 -0
- package/packages/react/dist/PlinthDataTableRow.d.ts +9 -0
- package/packages/react/dist/PlinthDataTableSort.d.ts +4 -0
- package/packages/react/dist/PlinthDialog.d.ts +26 -0
- package/packages/react/dist/PlinthDrawer.d.ts +29 -0
- package/packages/react/dist/PlinthIcon.d.ts +10 -0
- package/packages/react/dist/PlinthIconButton.d.ts +26 -0
- package/packages/react/dist/PlinthListCard.d.ts +14 -0
- package/packages/react/dist/PlinthListRow.d.ts +29 -0
- package/packages/react/dist/PlinthMenu.d.ts +12 -0
- package/packages/react/dist/PlinthMenuGroup.d.ts +9 -0
- package/packages/react/dist/PlinthMenuItem.d.ts +26 -0
- package/packages/react/dist/PlinthMenuSeparator.d.ts +4 -0
- package/packages/react/dist/PlinthMenuSheet.d.ts +24 -0
- package/packages/react/dist/PlinthPageHeader.d.ts +17 -0
- package/packages/react/dist/PlinthPill.d.ts +17 -0
- package/packages/react/dist/PlinthPillRow.d.ts +13 -0
- package/packages/react/dist/PlinthSectionMenu.d.ts +11 -0
- package/packages/react/dist/PlinthSectionMenuItem.d.ts +20 -0
- package/packages/react/dist/PlinthSheet.d.ts +26 -0
- package/packages/react/dist/PlinthTextField.d.ts +24 -0
- package/packages/react/dist/PlinthTextarea.d.ts +24 -0
- package/packages/react/dist/avatar.d.ts +12 -0
- package/packages/react/dist/button.d.ts +21 -0
- package/packages/react/dist/callout.d.ts +19 -0
- package/packages/react/dist/code-block.d.ts +16 -0
- package/packages/react/dist/confirm-dialog.d.ts +23 -0
- package/packages/react/dist/data-table.d.ts +15 -0
- package/packages/react/dist/dialog.d.ts +10 -0
- package/packages/react/dist/drawer.d.ts +20 -0
- package/packages/react/dist/heading.d.ts +5 -0
- package/packages/react/dist/icon.d.ts +5 -0
- package/packages/react/dist/index.d.ts +49 -0
- package/packages/react/dist/index.js +1326 -0
- package/packages/react/dist/list-row.d.ts +5 -0
- package/packages/react/dist/markup.d.ts +9 -0
- package/packages/react/dist/menu.d.ts +7 -0
- package/packages/react/dist/page-header.d.ts +5 -0
- package/packages/react/dist/sheet.d.ts +12 -0
- package/packages/react/dist/size.d.ts +13 -0
- package/packages/react/dist/swipe.d.ts +15 -0
- package/packages/react/dist/text-field.d.ts +10 -0
- package/packages/react/dist/tones.d.ts +5 -0
- package/packages/tokens/dist/index.d.ts +230 -0
- package/packages/tokens/dist/index.js +4091 -0
- package/packages/tokens/dist/tailwind-theme.css +80 -0
- package/packages/tokens/dist/tokens.css +413 -0
- package/packages/tokens/dist/tokens.json +3875 -0
- package/packages/vue/dist/PlinthAvatar.vue.d.ts +24 -0
- package/packages/vue/dist/PlinthBadge.vue.d.ts +21 -0
- package/packages/vue/dist/PlinthButton.vue.d.ts +42 -0
- package/packages/vue/dist/PlinthCallout.vue.d.ts +31 -0
- package/packages/vue/dist/PlinthCodeBlock.vue.d.ts +49 -0
- package/packages/vue/dist/PlinthConfirmDialog.vue.d.ts +51 -0
- package/packages/vue/dist/PlinthDataTable.vue.d.ts +21 -0
- package/packages/vue/dist/PlinthDataTableCell.vue.d.ts +29 -0
- package/packages/vue/dist/PlinthDataTableColumn.vue.d.ts +26 -0
- package/packages/vue/dist/PlinthDataTableEmpty.vue.d.ts +19 -0
- package/packages/vue/dist/PlinthDataTableRow.vue.d.ts +19 -0
- package/packages/vue/dist/PlinthDataTableSort.vue.d.ts +13 -0
- package/packages/vue/dist/PlinthDialog.vue.d.ts +45 -0
- package/packages/vue/dist/PlinthDrawer.vue.d.ts +48 -0
- package/packages/vue/dist/PlinthIcon.vue.d.ts +23 -0
- package/packages/vue/dist/PlinthIconButton.vue.d.ts +37 -0
- package/packages/vue/dist/PlinthListCard.vue.d.ts +26 -0
- package/packages/vue/dist/PlinthListRow.vue.d.ts +38 -0
- package/packages/vue/dist/PlinthMenu.vue.d.ts +24 -0
- package/packages/vue/dist/PlinthMenuGroup.vue.d.ts +17 -0
- package/packages/vue/dist/PlinthMenuItem.vue.d.ts +34 -0
- package/packages/vue/dist/PlinthMenuSeparator.vue.d.ts +3 -0
- package/packages/vue/dist/PlinthMenuSheet.vue.d.ts +48 -0
- package/packages/vue/dist/PlinthPageHeader.vue.d.ts +27 -0
- package/packages/vue/dist/PlinthPill.vue.d.ts +28 -0
- package/packages/vue/dist/PlinthPillRow.vue.d.ts +22 -0
- package/packages/vue/dist/PlinthSectionMenu.vue.d.ts +22 -0
- package/packages/vue/dist/PlinthSectionMenuItem.vue.d.ts +28 -0
- package/packages/vue/dist/PlinthSheet.vue.d.ts +45 -0
- package/packages/vue/dist/PlinthTextField.vue.d.ts +51 -0
- package/packages/vue/dist/PlinthTextarea.vue.d.ts +42 -0
- package/packages/vue/dist/avatar.d.ts +12 -0
- package/packages/vue/dist/button.d.ts +5 -0
- package/packages/vue/dist/callout.d.ts +19 -0
- package/packages/vue/dist/code-block.d.ts +16 -0
- package/packages/vue/dist/confirm-dialog.d.ts +23 -0
- package/packages/vue/dist/data-table.d.ts +15 -0
- package/packages/vue/dist/dialog.d.ts +10 -0
- package/packages/vue/dist/drawer.d.ts +20 -0
- package/packages/vue/dist/heading.d.ts +5 -0
- package/packages/vue/dist/icon.d.ts +5 -0
- package/packages/vue/dist/index.d.ts +53 -0
- package/packages/vue/dist/index.js +1732 -0
- package/packages/vue/dist/list-row.d.ts +5 -0
- package/packages/vue/dist/menu.d.ts +8 -0
- package/packages/vue/dist/page-header.d.ts +5 -0
- package/packages/vue/dist/sheet.d.ts +12 -0
- package/packages/vue/dist/size.d.ts +13 -0
- package/packages/vue/dist/slots.d.ts +3 -0
- package/packages/vue/dist/swipe.d.ts +12 -0
- package/packages/vue/dist/text-field.d.ts +10 -0
- package/packages/vue/dist/tones.d.ts +5 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The list row's chevron, for a row that opens something. It points the other way in
|
|
3
|
+
* right-to-left text (data-mirror). Blade's list row prints the same markup.
|
|
4
|
+
*/
|
|
5
|
+
export declare const listRowChevron = "<span class=\"plinth-icon plinth-list-row-chevron\" data-size=\"sm\" data-mirror aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9 6l6 6-6 6\"></path></svg></span>";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/** Plinth's class with the project's own after it, as Blade's `$attributes->merge()` does. */
|
|
3
|
+
export declare const classNames: (base: string, extra: string | undefined) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Whether a node prints anything, as Vue's `hasContent` tells a filled slot from an empty one:
|
|
6
|
+
* `null`, `undefined`, booleans and blank text print nothing, nor does a list or a fragment of
|
|
7
|
+
* them (an empty `map()`, a false `&&`).
|
|
8
|
+
*/
|
|
9
|
+
export declare const hasContent: (node: ReactNode) => boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** A menu item's tone: `neutral` (the default) or `danger`, for an item that destroys or removes. */
|
|
2
|
+
export declare const menuItemTones: readonly ["neutral", "danger"];
|
|
3
|
+
export type MenuItemTone = (typeof menuItemTones)[number];
|
|
4
|
+
/** A tone from the list, or `neutral` when it is not one of them. */
|
|
5
|
+
export declare function menuItemTone(value: string | undefined): MenuItemTone;
|
|
6
|
+
/** The id of the menu around an item, which a button item closes when it is pressed. */
|
|
7
|
+
export declare const MenuIdContext: import("react").Context<string | undefined>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The levels the page header's heading can take. `h1` is the default. */
|
|
2
|
+
export declare const pageHeaderLevels: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
3
|
+
export type PageHeaderLevel = (typeof pageHeaderLevels)[number];
|
|
4
|
+
/** A level from the list, or `h1` when it is not one of them. */
|
|
5
|
+
export declare function pageHeaderLevel(value: string | undefined): PageHeaderLevel;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The edge a sheet comes from. `end` is the default; `start` and `end` are logical, so they swap
|
|
3
|
+
* in right-to-left text. The same list is the side on a phone (`sidePhone`), which has no default.
|
|
4
|
+
*/
|
|
5
|
+
export declare const sheetSides: readonly ["start", "end", "top", "bottom"];
|
|
6
|
+
export type SheetSide = (typeof sheetSides)[number];
|
|
7
|
+
/** A side from the list, or `end` when it is not one of them. */
|
|
8
|
+
export declare function sheetSide(value: string | undefined): SheetSide;
|
|
9
|
+
/** A side from the list, or nothing (no `data-side-phone`) when it is not one of them. */
|
|
10
|
+
export declare function sheetSidePhone(value: string | undefined): SheetSide | undefined;
|
|
11
|
+
/** The close button's icon, a cross. Blade's sheet prints the same markup. */
|
|
12
|
+
export declare const sheetCloseIcon = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 6l12 12M18 6L6 18\"></path></svg>";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One size scale for every component, as Filament has (and as Blade's Size enum). Each component
|
|
3
|
+
* supports the sizes that make sense for it and falls back to its default for the rest.
|
|
4
|
+
*/
|
|
5
|
+
export declare const sizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
6
|
+
export type Size = (typeof sizes)[number];
|
|
7
|
+
/** The control sizes (28, 32 and 40 px): buttons, icon buttons, inputs. */
|
|
8
|
+
export declare const controlSizes: readonly ["sm", "md", "lg"];
|
|
9
|
+
export type ControlSize = (typeof controlSizes)[number];
|
|
10
|
+
/** A size from `supported`, or `fallback` when it isn't one of them. */
|
|
11
|
+
export declare function resolveSize<T extends Size>(value: string | undefined, supported: readonly T[], fallback: T): T;
|
|
12
|
+
/** The size of the icons inside a control of this size. */
|
|
13
|
+
export declare function iconSizeFor(size: Size): 'sm' | 'md';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type Ref, type RefCallback } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* What a bottom panel on a phone needs beyond the platform (modal.css, docs/adr/0005): the
|
|
4
|
+
* dialog, sheet and drawer are dragged by native scrolling, and this closes the dialog (with
|
|
5
|
+
* `requestClose()`, so `cancel` can keep it open) when the scrolling settles with the panel off the bottom edge, closes it on a tap above the panel when
|
|
6
|
+
* it has `closedby="any"`, and opens a drawer at its `data-snap` point. It does nothing while the
|
|
7
|
+
* root isn't a scroll-snap container (from 768px up, or a panel with no handle). Returns what
|
|
8
|
+
* removes the listeners.
|
|
9
|
+
*/
|
|
10
|
+
export declare function swipeToClose(dialog: HTMLDialogElement): () => void;
|
|
11
|
+
/**
|
|
12
|
+
* `swipeToClose()` on a component's dialog, as a callback ref that also sets the project's own
|
|
13
|
+
* `ref`, while the dialog is mounted.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useSwipeToClose(ref: Ref<HTMLDialogElement> | undefined): RefCallback<HTMLDialogElement>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** The text field sizes (28 and 32 px), from the shared size scale. `md` is the default. */
|
|
2
|
+
export declare const textFieldSizes: readonly ["sm", "md"];
|
|
3
|
+
export type TextFieldSize = (typeof textFieldSizes)[number];
|
|
4
|
+
/** A size from the list, or `md` when it is not one of them. */
|
|
5
|
+
export declare function textFieldSize(value: string | undefined): TextFieldSize;
|
|
6
|
+
/**
|
|
7
|
+
* What a field's aria-describedby lists: its description's id, then its error's, or nothing when
|
|
8
|
+
* it has neither (text-field.css, textarea.css).
|
|
9
|
+
*/
|
|
10
|
+
export declare function fieldDescribedBy(id: string, description: string | undefined, error: string | undefined): string | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** The tones a component such as the badge accepts. The first one is the default. */
|
|
2
|
+
export declare const tones: readonly ["neutral", "success", "warning", "danger"];
|
|
3
|
+
export type Tone = (typeof tones)[number];
|
|
4
|
+
/** A tone from the list, or the default when it is not one of them. */
|
|
5
|
+
export declare function tone(value: string | undefined): Tone;
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
/* Built from packages/tokens/tokens/*.json. Do not edit by hand. */
|
|
2
|
+
export interface Token {
|
|
3
|
+
path: string[];
|
|
4
|
+
name: string;
|
|
5
|
+
cssVar: string;
|
|
6
|
+
tier: 'primitive' | 'semantic' | 'component';
|
|
7
|
+
type: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
value: string;
|
|
10
|
+
dark?: string;
|
|
11
|
+
ref?: string;
|
|
12
|
+
darkRef?: string;
|
|
13
|
+
css: string;
|
|
14
|
+
darkCss?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export declare const tokens: Token[];
|
|
18
|
+
|
|
19
|
+
export declare const vars: {
|
|
20
|
+
"space": {
|
|
21
|
+
"0": string;
|
|
22
|
+
"1": string;
|
|
23
|
+
"2": string;
|
|
24
|
+
"3": string;
|
|
25
|
+
"4": string;
|
|
26
|
+
"5": string;
|
|
27
|
+
"6": string;
|
|
28
|
+
"8": string;
|
|
29
|
+
"10": string;
|
|
30
|
+
"12": string;
|
|
31
|
+
"14": string;
|
|
32
|
+
"16": string;
|
|
33
|
+
"0-5": string;
|
|
34
|
+
};
|
|
35
|
+
"radius": {
|
|
36
|
+
"control": string;
|
|
37
|
+
"container": string;
|
|
38
|
+
"pill": string;
|
|
39
|
+
};
|
|
40
|
+
"border-width": {
|
|
41
|
+
"thin": string;
|
|
42
|
+
"thick": string;
|
|
43
|
+
};
|
|
44
|
+
"opacity": {
|
|
45
|
+
"disabled": string;
|
|
46
|
+
};
|
|
47
|
+
"focus-ring": {
|
|
48
|
+
"width": string;
|
|
49
|
+
"offset": string;
|
|
50
|
+
"offset-filled": string;
|
|
51
|
+
"offset-inset": string;
|
|
52
|
+
};
|
|
53
|
+
"font": {
|
|
54
|
+
"family": {
|
|
55
|
+
"body": string;
|
|
56
|
+
"mono": string;
|
|
57
|
+
};
|
|
58
|
+
"size": {
|
|
59
|
+
"xs": string;
|
|
60
|
+
"sm": string;
|
|
61
|
+
"md": string;
|
|
62
|
+
"lg": string;
|
|
63
|
+
"xl": string;
|
|
64
|
+
"2xl": string;
|
|
65
|
+
"3xl": string;
|
|
66
|
+
"4xl": string;
|
|
67
|
+
"5xl": string;
|
|
68
|
+
"6xl": string;
|
|
69
|
+
"field": string;
|
|
70
|
+
};
|
|
71
|
+
"weight": {
|
|
72
|
+
"regular": string;
|
|
73
|
+
"medium": string;
|
|
74
|
+
"semibold": string;
|
|
75
|
+
"bold": string;
|
|
76
|
+
};
|
|
77
|
+
"leading": {
|
|
78
|
+
"display": string;
|
|
79
|
+
"tight": string;
|
|
80
|
+
"normal": string;
|
|
81
|
+
};
|
|
82
|
+
"tracking": {
|
|
83
|
+
"normal": string;
|
|
84
|
+
"snug": string;
|
|
85
|
+
"tight": string;
|
|
86
|
+
"tighter": string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
"duration": {
|
|
90
|
+
"fast": string;
|
|
91
|
+
"normal": string;
|
|
92
|
+
"slow": string;
|
|
93
|
+
};
|
|
94
|
+
"easing": {
|
|
95
|
+
"standard": string;
|
|
96
|
+
"enter": string;
|
|
97
|
+
"exit": string;
|
|
98
|
+
};
|
|
99
|
+
"control": {
|
|
100
|
+
"sm": string;
|
|
101
|
+
"md": string;
|
|
102
|
+
"lg": string;
|
|
103
|
+
};
|
|
104
|
+
"touch-target": string;
|
|
105
|
+
"size": {
|
|
106
|
+
"icon": {
|
|
107
|
+
"sm": string;
|
|
108
|
+
"md": string;
|
|
109
|
+
"lg": string;
|
|
110
|
+
};
|
|
111
|
+
"row": string;
|
|
112
|
+
"avatar": {
|
|
113
|
+
"sm": string;
|
|
114
|
+
"md": string;
|
|
115
|
+
"lg": string;
|
|
116
|
+
"xl": string;
|
|
117
|
+
};
|
|
118
|
+
"dialog": string;
|
|
119
|
+
"panel": string;
|
|
120
|
+
"peek": string;
|
|
121
|
+
"menu": {
|
|
122
|
+
"min": string;
|
|
123
|
+
"max": string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
"layer": {
|
|
127
|
+
"base": string;
|
|
128
|
+
"sticky": string;
|
|
129
|
+
"overlay": string;
|
|
130
|
+
"sheet": string;
|
|
131
|
+
"toast": string;
|
|
132
|
+
};
|
|
133
|
+
"breakpoint": {
|
|
134
|
+
"md": string;
|
|
135
|
+
"lg": string;
|
|
136
|
+
};
|
|
137
|
+
"color": {
|
|
138
|
+
"surface": string;
|
|
139
|
+
"surface-raised": string;
|
|
140
|
+
"surface-sunken": string;
|
|
141
|
+
"surface-hover": string;
|
|
142
|
+
"text": string;
|
|
143
|
+
"text-muted": string;
|
|
144
|
+
"text-subtle": string;
|
|
145
|
+
"border": string;
|
|
146
|
+
"border-strong": string;
|
|
147
|
+
"divider": string;
|
|
148
|
+
"primary": string;
|
|
149
|
+
"primary-hover": string;
|
|
150
|
+
"primary-active": string;
|
|
151
|
+
"on-primary": string;
|
|
152
|
+
"primary-edge": string;
|
|
153
|
+
"accent": string;
|
|
154
|
+
"accent-text": string;
|
|
155
|
+
"on-accent": string;
|
|
156
|
+
"focus-ring": string;
|
|
157
|
+
"overlay": string;
|
|
158
|
+
"info": string;
|
|
159
|
+
"info-surface": string;
|
|
160
|
+
"info-text": string;
|
|
161
|
+
"success": string;
|
|
162
|
+
"success-surface": string;
|
|
163
|
+
"success-text": string;
|
|
164
|
+
"warning": string;
|
|
165
|
+
"warning-surface": string;
|
|
166
|
+
"warning-text": string;
|
|
167
|
+
"danger": string;
|
|
168
|
+
"danger-surface": string;
|
|
169
|
+
"danger-text": string;
|
|
170
|
+
"accent-hover": string;
|
|
171
|
+
"accent-active": string;
|
|
172
|
+
"danger-solid": string;
|
|
173
|
+
"danger-solid-hover": string;
|
|
174
|
+
"danger-solid-active": string;
|
|
175
|
+
"on-danger": string;
|
|
176
|
+
"accent-subtle": string;
|
|
177
|
+
"accent-subtle-hover": string;
|
|
178
|
+
"accent-subtle-active": string;
|
|
179
|
+
};
|
|
180
|
+
"elevation": {
|
|
181
|
+
"1": string;
|
|
182
|
+
"2": string;
|
|
183
|
+
"3": string;
|
|
184
|
+
};
|
|
185
|
+
"page-header": {
|
|
186
|
+
"height": string;
|
|
187
|
+
"offset": string;
|
|
188
|
+
};
|
|
189
|
+
"data-table": {
|
|
190
|
+
"row-height": string;
|
|
191
|
+
};
|
|
192
|
+
"list-row": {
|
|
193
|
+
"height": string;
|
|
194
|
+
};
|
|
195
|
+
"pill": {
|
|
196
|
+
"height": string;
|
|
197
|
+
};
|
|
198
|
+
"dialog": {
|
|
199
|
+
"width": string;
|
|
200
|
+
};
|
|
201
|
+
"sheet": {
|
|
202
|
+
"side-width": string;
|
|
203
|
+
};
|
|
204
|
+
"drawer": {
|
|
205
|
+
"peek-height": string;
|
|
206
|
+
};
|
|
207
|
+
"section-menu": {
|
|
208
|
+
"height": string;
|
|
209
|
+
"item-height": string;
|
|
210
|
+
};
|
|
211
|
+
"menu": {
|
|
212
|
+
"min-width": string;
|
|
213
|
+
"max-width": string;
|
|
214
|
+
};
|
|
215
|
+
"text-field": {
|
|
216
|
+
"trailing-size": string;
|
|
217
|
+
};
|
|
218
|
+
"callout": {
|
|
219
|
+
"neutral-surface": string;
|
|
220
|
+
"neutral-border": string;
|
|
221
|
+
"info-surface": string;
|
|
222
|
+
"info-border": string;
|
|
223
|
+
"success-surface": string;
|
|
224
|
+
"success-border": string;
|
|
225
|
+
"warning-surface": string;
|
|
226
|
+
"warning-border": string;
|
|
227
|
+
"danger-surface": string;
|
|
228
|
+
"danger-border": string;
|
|
229
|
+
};
|
|
230
|
+
};
|