mtrl 0.8.0-next.26 → 0.8.0-next.27
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/dist/components/dialog/types.d.ts +1 -1
- package/dist/components/drawer/types.d.ts +1 -1
- package/dist/components/menu/types.d.ts +7 -7
- package/dist/components/progress/types.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -129,15 +129,11 @@ export interface MenuConfig {
|
|
|
129
129
|
* Array of menu items and dividers to display
|
|
130
130
|
*/
|
|
131
131
|
items: MenuContent[];
|
|
132
|
-
/**
|
|
133
|
-
* Position of the menu relative to the opener
|
|
134
|
-
* @default 'bottom-start'
|
|
135
|
-
*/
|
|
136
132
|
/**
|
|
137
133
|
* Menu variant. `'vertical'` is the M3 expressive menu: a rounded
|
|
138
134
|
* container holding items that sit apart and change shape as they are
|
|
139
|
-
* hovered, focused, pressed or selected.
|
|
140
|
-
*
|
|
135
|
+
* hovered, focused, pressed or selected.
|
|
136
|
+
* @default 'baseline'
|
|
141
137
|
*/
|
|
142
138
|
variant?: MenuVariant;
|
|
143
139
|
/**
|
|
@@ -145,6 +141,10 @@ export interface MenuConfig {
|
|
|
145
141
|
* and more prominent, so it should be used sparingly.
|
|
146
142
|
*/
|
|
147
143
|
color?: MenuColor;
|
|
144
|
+
/**
|
|
145
|
+
* Position of the menu relative to the opener
|
|
146
|
+
* @default 'bottom-start'
|
|
147
|
+
*/
|
|
148
148
|
position?: MenuPosition;
|
|
149
149
|
/**
|
|
150
150
|
* Whether the menu should close when an item is clicked
|
|
@@ -183,7 +183,7 @@ export interface MenuConfig {
|
|
|
183
183
|
maxHeight?: string;
|
|
184
184
|
/**
|
|
185
185
|
* Optional offset from the opener (in pixels)
|
|
186
|
-
* @default
|
|
186
|
+
* @default 0
|
|
187
187
|
*/
|
|
188
188
|
offset?: number;
|
|
189
189
|
/**
|
|
@@ -55,7 +55,7 @@ export interface ProgressConfig {
|
|
|
55
55
|
/**
|
|
56
56
|
* Thickness of the progress track and indicator
|
|
57
57
|
* Can be a named preset ('thin', 'default', 'thick') or a specific number in pixels
|
|
58
|
-
* @default '
|
|
58
|
+
* @default 'thin'
|
|
59
59
|
*/
|
|
60
60
|
thickness?: ProgressThickness;
|
|
61
61
|
/**
|
|
@@ -109,7 +109,7 @@ export interface ProgressConfig {
|
|
|
109
109
|
/**
|
|
110
110
|
* Size of the circular progress indicator in dp (only for circular variant)
|
|
111
111
|
* Clamped between 24 and 240
|
|
112
|
-
* @default
|
|
112
|
+
* @default 40 (48 when wavy)
|
|
113
113
|
*/
|
|
114
114
|
size?: number;
|
|
115
115
|
}
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/dist/package.json
CHANGED
package/dist/styles.css
CHANGED
package/package.json
CHANGED