@maicol07/material-web 2.0.0 → 2.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/button/elevated-button.js +2 -1
- package/button/elevated-button.js.map +1 -1
- package/button/filled-button.js +2 -1
- package/button/filled-button.js.map +1 -1
- package/button/filled-tonal-button.js +2 -1
- package/button/filled-tonal-button.js.map +1 -1
- package/button/internal/button.d.ts +6 -0
- package/button/internal/button.js +10 -0
- package/button/internal/button.js.map +1 -1
- package/button/outlined-button.js +2 -1
- package/button/outlined-button.js.map +1 -1
- package/button/text-button.js +2 -1
- package/button/text-button.js.map +1 -1
- package/checkbox/checkbox.js +2 -1
- package/checkbox/checkbox.js.map +1 -1
- package/checkbox/internal/checkbox.d.ts +1 -0
- package/checkbox/internal/checkbox.js.map +1 -1
- package/chips/assist-chip.js +2 -1
- package/chips/assist-chip.js.map +1 -1
- package/chips/chip-set.js +2 -1
- package/chips/chip-set.js.map +1 -1
- package/chips/filter-chip.js +2 -1
- package/chips/filter-chip.js.map +1 -1
- package/chips/harness.js.map +1 -1
- package/chips/input-chip.js +2 -1
- package/chips/input-chip.js.map +1 -1
- package/chips/internal/assist-chip.d.ts +6 -0
- package/chips/internal/assist-chip.js +10 -0
- package/chips/internal/assist-chip.js.map +1 -1
- package/chips/internal/chip-set.js.map +1 -1
- package/chips/internal/chip.d.ts +1 -0
- package/chips/internal/chip.js.map +1 -1
- package/chips/internal/filter-chip.js.map +1 -1
- package/chips/internal/input-chip.js.map +1 -1
- package/chips/internal/multi-action-chip.js.map +1 -1
- package/chips/internal/trailing-icons.js.map +1 -1
- package/chips/suggestion-chip.js +2 -1
- package/chips/suggestion-chip.js.map +1 -1
- package/custom-elements.json +1340 -593
- package/dialog/dialog.js +2 -1
- package/dialog/dialog.js.map +1 -1
- package/dialog/internal/dialog.js.map +1 -1
- package/divider/divider.js +2 -1
- package/divider/divider.js.map +1 -1
- package/elevation/elevation.js +2 -1
- package/elevation/elevation.js.map +1 -1
- package/fab/branded-fab.js +7 -2
- package/fab/branded-fab.js.map +1 -1
- package/fab/fab.js +2 -1
- package/fab/fab.js.map +1 -1
- package/field/filled-field.js +2 -1
- package/field/filled-field.js.map +1 -1
- package/field/internal/_content.scss +4 -8
- package/field/internal/_shared.scss +11 -0
- package/field/internal/field.d.ts +1 -0
- package/field/internal/field.js +3 -1
- package/field/internal/field.js.map +1 -1
- package/field/internal/filled-field.d.ts +1 -0
- package/field/internal/filled-field.js +4 -4
- package/field/internal/filled-field.js.map +1 -1
- package/field/internal/filled-styles.css +1 -1
- package/field/internal/filled-styles.css.map +1 -1
- package/field/internal/filled-styles.js +1 -1
- package/field/internal/filled-styles.js.map +1 -1
- package/field/internal/outlined-styles.css +1 -1
- package/field/internal/outlined-styles.css.map +1 -1
- package/field/internal/outlined-styles.js +1 -1
- package/field/internal/outlined-styles.js.map +1 -1
- package/field/internal/shared-styles.css +1 -1
- package/field/internal/shared-styles.css.map +1 -1
- package/field/internal/shared-styles.js +1 -1
- package/field/internal/shared-styles.js.map +1 -1
- package/field/outlined-field.js +2 -1
- package/field/outlined-field.js.map +1 -1
- package/focus/internal/focus-ring.js.map +1 -1
- package/focus/md-focus-ring.js +2 -1
- package/focus/md-focus-ring.js.map +1 -1
- package/icon/icon.js +2 -1
- package/icon/icon.js.map +1 -1
- package/icon/internal/icon.js.map +1 -1
- package/iconbutton/filled-icon-button.js +2 -1
- package/iconbutton/filled-icon-button.js.map +1 -1
- package/iconbutton/filled-tonal-icon-button.js +2 -1
- package/iconbutton/filled-tonal-icon-button.js.map +1 -1
- package/iconbutton/harness.js.map +1 -1
- package/iconbutton/icon-button.js +2 -1
- package/iconbutton/icon-button.js.map +1 -1
- package/iconbutton/internal/_shared.scss +2 -0
- package/iconbutton/internal/icon-button.d.ts +6 -0
- package/iconbutton/internal/icon-button.js +14 -3
- package/iconbutton/internal/icon-button.js.map +1 -1
- package/iconbutton/internal/shared-styles.css +1 -1
- package/iconbutton/internal/shared-styles.css.map +1 -1
- package/iconbutton/internal/shared-styles.js +1 -1
- package/iconbutton/internal/shared-styles.js.map +1 -1
- package/iconbutton/outlined-icon-button.js +2 -1
- package/iconbutton/outlined-icon-button.js.map +1 -1
- package/internal/aria/aria.d.ts +1 -1
- package/internal/aria/delegate.js.map +1 -1
- package/internal/controller/attachable-controller.js.map +1 -1
- package/internal/controller/form-submitter.js.map +1 -1
- package/internal/events/dispatch-hooks.js.map +1 -1
- package/internal/events/form-label-activation.js.map +1 -1
- package/internal/events/redispatch-event.js.map +1 -1
- package/internal/motion/animation.js.map +1 -1
- package/labs/badge/badge.js +2 -1
- package/labs/badge/badge.js.map +1 -1
- package/labs/badge/internal/_badge.scss +1 -1
- package/labs/badge/internal/badge-styles.css +1 -1
- package/labs/badge/internal/badge-styles.css.map +1 -1
- package/labs/badge/internal/badge-styles.js +1 -1
- package/labs/badge/internal/badge-styles.js.map +1 -1
- package/labs/behaviors/constraint-validation.js.map +1 -1
- package/labs/behaviors/custom-state-set.d.ts +107 -0
- package/labs/behaviors/custom-state-set.js +121 -0
- package/labs/behaviors/custom-state-set.js.map +1 -0
- package/labs/behaviors/element-internals.js.map +1 -1
- package/labs/behaviors/focusable.js.map +1 -1
- package/labs/behaviors/form-associated.js.map +1 -1
- package/labs/behaviors/on-report-validity.js.map +1 -1
- package/labs/behaviors/validators/checkbox-validator.js.map +1 -1
- package/labs/behaviors/validators/radio-validator.js.map +1 -1
- package/labs/behaviors/validators/select-validator.js.map +1 -1
- package/labs/behaviors/validators/text-field-validator.js.map +1 -1
- package/labs/behaviors/validators/validator.js.map +1 -1
- package/labs/card/elevated-card.js +2 -1
- package/labs/card/elevated-card.js.map +1 -1
- package/labs/card/filled-card.js +2 -1
- package/labs/card/filled-card.js.map +1 -1
- package/labs/card/outlined-card.js +2 -1
- package/labs/card/outlined-card.js.map +1 -1
- package/labs/item/internal/item.js.map +1 -1
- package/labs/item/item.js +2 -1
- package/labs/item/item.js.map +1 -1
- package/labs/navigationbar/internal/_navigation-bar.scss +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.css +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.css.map +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.js +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.js.map +1 -1
- package/labs/navigationbar/internal/navigation-bar.js.map +1 -1
- package/labs/navigationbar/navigation-bar.js +2 -1
- package/labs/navigationbar/navigation-bar.js.map +1 -1
- package/labs/navigationdrawer/internal/navigation-drawer-modal.js.map +1 -1
- package/labs/navigationdrawer/internal/navigation-drawer.js.map +1 -1
- package/labs/navigationdrawer/navigation-drawer-modal.js +2 -1
- package/labs/navigationdrawer/navigation-drawer-modal.js.map +1 -1
- package/labs/navigationdrawer/navigation-drawer.js +2 -1
- package/labs/navigationdrawer/navigation-drawer.js.map +1 -1
- package/labs/navigationtab/internal/_navigation-tab.scss +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.css +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.css.map +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.js +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.js.map +1 -1
- package/labs/navigationtab/internal/navigation-tab.js.map +1 -1
- package/labs/navigationtab/navigation-tab.js +2 -1
- package/labs/navigationtab/navigation-tab.js.map +1 -1
- package/labs/segmentedbutton/internal/_outlined-segmented-button.scss +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.css +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.css.map +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.js +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.js.map +1 -1
- package/labs/segmentedbutton/internal/segmented-button.js.map +1 -1
- package/labs/segmentedbutton/outlined-segmented-button.js +2 -1
- package/labs/segmentedbutton/outlined-segmented-button.js.map +1 -1
- package/labs/segmentedbuttonset/internal/segmented-button-set.js.map +1 -1
- package/labs/segmentedbuttonset/outlined-segmented-button-set.js +2 -1
- package/labs/segmentedbuttonset/outlined-segmented-button-set.js.map +1 -1
- package/list/internal/list-controller.js.map +1 -1
- package/list/internal/list-navigation-helpers.js.map +1 -1
- package/list/internal/list.js.map +1 -1
- package/list/internal/listitem/list-item.d.ts +2 -0
- package/list/internal/listitem/list-item.js +10 -0
- package/list/internal/listitem/list-item.js.map +1 -1
- package/list/list-item.js +2 -1
- package/list/list-item.js.map +1 -1
- package/list/list.js +2 -1
- package/list/list.js.map +1 -1
- package/menu/harness.js.map +1 -1
- package/menu/internal/_menu.scss +2 -1
- package/menu/internal/controllers/menuItemController.js.map +1 -1
- package/menu/internal/controllers/surfacePositionController.js.map +1 -1
- package/menu/internal/controllers/typeaheadController.js.map +1 -1
- package/menu/internal/menu-styles.css +1 -1
- package/menu/internal/menu-styles.css.map +1 -1
- package/menu/internal/menu-styles.js +1 -1
- package/menu/internal/menu-styles.js.map +1 -1
- package/menu/internal/menu.js.map +1 -1
- package/menu/internal/menuitem/menu-item.d.ts +1 -0
- package/menu/internal/menuitem/menu-item.js.map +1 -1
- package/menu/internal/submenu/sub-menu.js.map +1 -1
- package/menu/menu-item.js +2 -1
- package/menu/menu-item.js.map +1 -1
- package/menu/menu.d.ts +1 -1
- package/menu/menu.js +3 -2
- package/menu/menu.js.map +1 -1
- package/menu/sub-menu.js +2 -1
- package/menu/sub-menu.js.map +1 -1
- package/migrations/v2/query-selector-aria.js.map +1 -1
- package/package.json +8 -6
- package/progress/circular-progress.js +2 -1
- package/progress/circular-progress.js.map +1 -1
- package/progress/internal/circular-progress.js.map +1 -1
- package/progress/linear-progress.js +2 -1
- package/progress/linear-progress.js.map +1 -1
- package/radio/internal/_radio.scss +3 -8
- package/radio/internal/radio-styles.css +1 -1
- package/radio/internal/radio-styles.css.map +1 -1
- package/radio/internal/radio-styles.js +1 -1
- package/radio/internal/radio-styles.js.map +1 -1
- package/radio/internal/radio.js +1 -7
- package/radio/internal/radio.js.map +1 -1
- package/radio/internal/single-selection-controller.js.map +1 -1
- package/radio/radio.js +2 -1
- package/radio/radio.js.map +1 -1
- package/ripple/internal/ripple.js.map +1 -1
- package/ripple/ripple.js +2 -1
- package/ripple/ripple.js.map +1 -1
- package/select/filled-select.js +2 -1
- package/select/filled-select.js.map +1 -1
- package/select/harness.js.map +1 -1
- package/select/internal/select.d.ts +1 -0
- package/select/internal/select.js +2 -1
- package/select/internal/select.js.map +1 -1
- package/select/internal/selectoption/select-option.d.ts +1 -0
- package/select/internal/selectoption/selectOptionController.js.map +1 -1
- package/select/internal/shared.js.map +1 -1
- package/select/outlined-select.js +2 -1
- package/select/outlined-select.js.map +1 -1
- package/select/select-option.js +2 -1
- package/select/select-option.js.map +1 -1
- package/slider/harness.js.map +1 -1
- package/slider/internal/slider.js.map +1 -1
- package/slider/slider.js +2 -1
- package/slider/slider.js.map +1 -1
- package/switch/internal/switch.js.map +1 -1
- package/switch/switch.js +2 -1
- package/switch/switch.js.map +1 -1
- package/tabs/harness.js.map +1 -1
- package/tabs/internal/tab.js.map +1 -1
- package/tabs/internal/tabs.js.map +1 -1
- package/tabs/primary-tab.js +2 -1
- package/tabs/primary-tab.js.map +1 -1
- package/tabs/secondary-tab.js +2 -1
- package/tabs/secondary-tab.js.map +1 -1
- package/tabs/tabs.js +2 -1
- package/tabs/tabs.js.map +1 -1
- package/testing/harness.js.map +1 -1
- package/testing/transform-pseudo-classes.js.map +1 -1
- package/textfield/filled-text-field.js +2 -1
- package/textfield/filled-text-field.js.map +1 -1
- package/textfield/harness.js.map +1 -1
- package/textfield/internal/_filled-text-field.scss +5 -0
- package/textfield/internal/_icon.scss +9 -2
- package/textfield/internal/_outlined-text-field.scss +5 -0
- package/textfield/internal/_shared.scss +4 -0
- package/textfield/internal/filled-styles.css +1 -1
- package/textfield/internal/filled-styles.css.map +1 -1
- package/textfield/internal/filled-styles.js +1 -1
- package/textfield/internal/filled-styles.js.map +1 -1
- package/textfield/internal/outlined-styles.css +1 -1
- package/textfield/internal/outlined-styles.css.map +1 -1
- package/textfield/internal/outlined-styles.js +1 -1
- package/textfield/internal/outlined-styles.js.map +1 -1
- package/textfield/internal/shared-styles.css +1 -1
- package/textfield/internal/shared-styles.css.map +1 -1
- package/textfield/internal/shared-styles.js +1 -1
- package/textfield/internal/shared-styles.js.map +1 -1
- package/textfield/internal/text-field.js +1 -0
- package/textfield/internal/text-field.js.map +1 -1
- package/textfield/outlined-text-field.js +2 -1
- package/textfield/outlined-text-field.js.map +1 -1
- package/tokens/_md-comp-filled-field.scss +8 -0
- package/tokens/_md-comp-filled-text-field.scss +8 -0
- package/tokens/_md-comp-menu.scss +7 -1
- package/tokens/_md-comp-outlined-field.scss +8 -0
- package/tokens/_md-comp-outlined-text-field.scss +8 -0
- package/web-types.json +140 -2
|
@@ -15,7 +15,7 @@ import { styles as sharedStyles } from './internal/shared-styles.js';
|
|
|
15
15
|
* @final
|
|
16
16
|
* @suppress {visibility}
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
let MdOutlinedTextField = class MdOutlinedTextField extends OutlinedTextField {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
21
|
this.fieldTag = literal `md-outlined-field`;
|
|
@@ -25,4 +25,5 @@ MdOutlinedTextField.styles = [sharedStyles, outlinedStyles];
|
|
|
25
25
|
MdOutlinedTextField = __decorate([
|
|
26
26
|
customElement('md-outlined-text-field')
|
|
27
27
|
], MdOutlinedTextField);
|
|
28
|
+
export { MdOutlinedTextField };
|
|
28
29
|
//# sourceMappingURL=outlined-text-field.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outlined-text-field.js","sourceRoot":"","sources":["outlined-text-field.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,4BAA4B,CAAC;AAGpC,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAUnE;;;;GAIG;AAEI,
|
|
1
|
+
{"version":3,"file":"outlined-text-field.js","sourceRoot":"","sources":["outlined-text-field.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,4BAA4B,CAAC;AAGpC,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAUnE;;;;GAIG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,iBAAiB;IAAnD;;QAGuB,aAAQ,GAAG,OAAO,CAAA,mBAAmB,CAAC;IACpE,CAAC;;AAHiB,0BAAM,GAAwB,CAAC,YAAY,EAAE,cAAc,CAAC,AAAtD,CAAuD;AADlE,mBAAmB;IAD/B,aAAa,CAAC,wBAAwB,CAAC;GAC3B,mBAAmB,CAI/B","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '../field/outlined-field.js';\n\nimport {CSSResultOrNative} from 'lit';\nimport {customElement} from 'lit/decorators.js';\nimport {literal} from 'lit/static-html.js';\n\nimport {styles as outlinedStyles} from './internal/outlined-styles.js';\nimport {OutlinedTextField} from './internal/outlined-text-field.js';\nimport {styles as sharedStyles} from './internal/shared-styles.js';\n\nexport {type TextFieldType} from './internal/text-field.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-outlined-text-field': MdOutlinedTextField;\n }\n}\n\n/**\n * TODO(b/228525797): Add docs\n * @final\n * @suppress {visibility}\n */\n@customElement('md-outlined-text-field')\nexport class MdOutlinedTextField extends OutlinedTextField {\n static override styles: CSSResultOrNative[] = [sharedStyles, outlinedStyles];\n\n protected override readonly fieldTag = literal`md-outlined-field`;\n}\n"]}
|
|
@@ -32,6 +32,7 @@ $supported-tokens: (
|
|
|
32
32
|
'content-font',
|
|
33
33
|
'content-line-height',
|
|
34
34
|
'content-size',
|
|
35
|
+
'content-space',
|
|
35
36
|
'content-weight',
|
|
36
37
|
'disabled-active-indicator-color',
|
|
37
38
|
'disabled-active-indicator-height',
|
|
@@ -106,6 +107,8 @@ $supported-tokens: (
|
|
|
106
107
|
'trailing-space',
|
|
107
108
|
'with-label-bottom-space',
|
|
108
109
|
'with-label-top-space',
|
|
110
|
+
'with-leading-content-leading-space',
|
|
111
|
+
'with-trailing-content-trailing-space',
|
|
109
112
|
// go/keep-sorted end
|
|
110
113
|
);
|
|
111
114
|
|
|
@@ -137,6 +140,7 @@ $_default: (
|
|
|
137
140
|
'content-font': map.get($text-field, 'input-text-font'),
|
|
138
141
|
'content-line-height': map.get($text-field, 'input-text-line-height'),
|
|
139
142
|
'content-size': map.get($text-field, 'input-text-size'),
|
|
143
|
+
'content-space': if($exclude-hardcoded-values, null, 16px),
|
|
140
144
|
'content-weight': map.get($text-field, 'input-text-weight'),
|
|
141
145
|
'disabled-active-indicator-color':
|
|
142
146
|
map.get($text-field, 'disabled-active-indicator-color'),
|
|
@@ -256,6 +260,10 @@ $_default: (
|
|
|
256
260
|
'trailing-space': if($exclude-hardcoded-values, null, 16px),
|
|
257
261
|
'with-label-bottom-space': if($exclude-hardcoded-values, null, 8px),
|
|
258
262
|
'with-label-top-space': if($exclude-hardcoded-values, null, 8px),
|
|
263
|
+
'with-leading-content-leading-space':
|
|
264
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
265
|
+
'with-trailing-content-trailing-space':
|
|
266
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
259
267
|
// go/keep-sorted end
|
|
260
268
|
);
|
|
261
269
|
|
|
@@ -82,6 +82,7 @@ $supported-tokens: (
|
|
|
82
82
|
'hover-state-layer-opacity',
|
|
83
83
|
'hover-supporting-text-color',
|
|
84
84
|
'hover-trailing-icon-color',
|
|
85
|
+
'icon-input-space',
|
|
85
86
|
'input-text-color',
|
|
86
87
|
'input-text-font',
|
|
87
88
|
'input-text-line-height',
|
|
@@ -113,6 +114,8 @@ $supported-tokens: (
|
|
|
113
114
|
'trailing-space',
|
|
114
115
|
'with-label-bottom-space',
|
|
115
116
|
'with-label-top-space',
|
|
117
|
+
'with-leading-icon-leading-space',
|
|
118
|
+
'with-trailing-icon-trailing-space',
|
|
116
119
|
// go/keep-sorted end
|
|
117
120
|
);
|
|
118
121
|
|
|
@@ -143,6 +146,7 @@ $_default: (
|
|
|
143
146
|
$new-tokens: map.merge(
|
|
144
147
|
shape.get-new-logical-shape-tokens($tokens, 'container-shape'),
|
|
145
148
|
(
|
|
149
|
+
'icon-input-space': if($exclude-hardcoded-values, null, 16px),
|
|
146
150
|
'leading-space': if($exclude-hardcoded-values, null, 16px),
|
|
147
151
|
'trailing-space': if($exclude-hardcoded-values, null, 16px),
|
|
148
152
|
'top-space': if($exclude-hardcoded-values, null, 16px),
|
|
@@ -155,6 +159,10 @@ $_default: (
|
|
|
155
159
|
'with-label-bottom-space': if($exclude-hardcoded-values, null, 8px),
|
|
156
160
|
// TODO(b/270705687): remove when focus-caret-color token added
|
|
157
161
|
'focus-caret-color': map.get($deps, 'md-sys-color', 'primary'),
|
|
162
|
+
'with-leading-icon-leading-space':
|
|
163
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
164
|
+
'with-trailing-icon-trailing-space':
|
|
165
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
158
166
|
)
|
|
159
167
|
);
|
|
160
168
|
|
|
@@ -16,10 +16,12 @@
|
|
|
16
16
|
|
|
17
17
|
$supported-tokens: (
|
|
18
18
|
// go/keep-sorted start
|
|
19
|
+
'bottom-space',
|
|
19
20
|
'container-color',
|
|
20
21
|
'container-elevation',
|
|
21
22
|
'container-shadow-color',
|
|
22
23
|
'container-shape',
|
|
24
|
+
'top-space',
|
|
23
25
|
// go/keep-sorted end
|
|
24
26
|
);
|
|
25
27
|
|
|
@@ -46,7 +48,11 @@ $_default: (
|
|
|
46
48
|
$tokens: validate.values(
|
|
47
49
|
md-comp-menu.values($deps),
|
|
48
50
|
$supported-tokens: $supported-tokens,
|
|
49
|
-
$unsupported-tokens: $unsupported-tokens
|
|
51
|
+
$unsupported-tokens: $unsupported-tokens,
|
|
52
|
+
$new-tokens: (
|
|
53
|
+
'top-space': if($exclude-hardcoded-values, null, 8px),
|
|
54
|
+
'bottom-space': if($exclude-hardcoded-values, null, 8px),
|
|
55
|
+
)
|
|
50
56
|
);
|
|
51
57
|
|
|
52
58
|
@if not $exclude-custom-properties {
|
|
@@ -29,6 +29,7 @@ $supported-tokens: (
|
|
|
29
29
|
'content-font',
|
|
30
30
|
'content-line-height',
|
|
31
31
|
'content-size',
|
|
32
|
+
'content-space',
|
|
32
33
|
'content-weight',
|
|
33
34
|
'disabled-content-color',
|
|
34
35
|
'disabled-content-opacity',
|
|
@@ -99,6 +100,8 @@ $supported-tokens: (
|
|
|
99
100
|
'top-space',
|
|
100
101
|
'trailing-content-color',
|
|
101
102
|
'trailing-space',
|
|
103
|
+
'with-leading-content-leading-space',
|
|
104
|
+
'with-trailing-content-trailing-space',
|
|
102
105
|
// go/keep-sorted end
|
|
103
106
|
);
|
|
104
107
|
|
|
@@ -127,6 +130,7 @@ $_default: (
|
|
|
127
130
|
'content-font': map.get($text-field, 'input-text-font'),
|
|
128
131
|
'content-line-height': map.get($text-field, 'input-text-line-height'),
|
|
129
132
|
'content-size': map.get($text-field, 'input-text-size'),
|
|
133
|
+
'content-space': if($exclude-hardcoded-values, null, 16px),
|
|
130
134
|
'content-weight': map.get($text-field, 'input-text-weight'),
|
|
131
135
|
'disabled-content-color': map.get($text-field, 'disabled-input-text-color'),
|
|
132
136
|
'disabled-content-opacity':
|
|
@@ -231,6 +235,10 @@ $_default: (
|
|
|
231
235
|
'top-space': if($exclude-hardcoded-values, null, 16px),
|
|
232
236
|
'trailing-content-color': map.get($text-field, 'trailing-icon-color'),
|
|
233
237
|
'trailing-space': if($exclude-hardcoded-values, null, 16px),
|
|
238
|
+
'with-leading-content-leading-space':
|
|
239
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
240
|
+
'with-trailing-content-trailing-space':
|
|
241
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
234
242
|
// go/keep-sorted end
|
|
235
243
|
);
|
|
236
244
|
|
|
@@ -72,6 +72,7 @@ $supported-tokens: (
|
|
|
72
72
|
'hover-outline-width',
|
|
73
73
|
'hover-supporting-text-color',
|
|
74
74
|
'hover-trailing-icon-color',
|
|
75
|
+
'icon-input-space',
|
|
75
76
|
'input-text-color',
|
|
76
77
|
'input-text-font',
|
|
77
78
|
'input-text-line-height',
|
|
@@ -103,6 +104,8 @@ $supported-tokens: (
|
|
|
103
104
|
'trailing-icon-color',
|
|
104
105
|
'trailing-icon-size',
|
|
105
106
|
'trailing-space',
|
|
107
|
+
'with-leading-icon-leading-space',
|
|
108
|
+
'with-trailing-icon-trailing-space',
|
|
106
109
|
// go/keep-sorted end
|
|
107
110
|
);
|
|
108
111
|
|
|
@@ -132,6 +135,7 @@ $_default: (
|
|
|
132
135
|
$new-tokens: map.merge(
|
|
133
136
|
shape.get-new-logical-shape-tokens($tokens, 'container-shape'),
|
|
134
137
|
(
|
|
138
|
+
'icon-input-space': if($exclude-hardcoded-values, null, 16px),
|
|
135
139
|
'leading-space': if($exclude-hardcoded-values, null, 16px),
|
|
136
140
|
'trailing-space': if($exclude-hardcoded-values, null, 16px),
|
|
137
141
|
'top-space': if($exclude-hardcoded-values, null, 16px),
|
|
@@ -142,6 +146,10 @@ $_default: (
|
|
|
142
146
|
if($exclude-hardcoded-values, null, 2px),
|
|
143
147
|
// TODO(b/270705687): remove when focus-caret-color token added
|
|
144
148
|
'focus-caret-color': map.get($deps, 'md-sys-color', 'primary'),
|
|
149
|
+
'with-leading-icon-leading-space':
|
|
150
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
151
|
+
'with-trailing-icon-trailing-space':
|
|
152
|
+
if($exclude-hardcoded-values, null, 12px),
|
|
145
153
|
)
|
|
146
154
|
);
|
|
147
155
|
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
|
-
"name": "@material
|
|
4
|
-
"version": "2.
|
|
3
|
+
"name": "@maicol07/material-web",
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
"description": "The URL that the link button points to.",
|
|
27
27
|
"value": { "type": "string" }
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
"name": "download",
|
|
31
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
32
|
+
"value": { "type": "string" }
|
|
33
|
+
},
|
|
29
34
|
{
|
|
30
35
|
"name": "target",
|
|
31
36
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -70,6 +75,11 @@
|
|
|
70
75
|
"description": "The URL that the link button points to.",
|
|
71
76
|
"type": "string"
|
|
72
77
|
},
|
|
78
|
+
{
|
|
79
|
+
"name": "download",
|
|
80
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
73
83
|
{
|
|
74
84
|
"name": "target",
|
|
75
85
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -121,6 +131,11 @@
|
|
|
121
131
|
"description": "The URL that the link button points to.",
|
|
122
132
|
"value": { "type": "string" }
|
|
123
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"name": "download",
|
|
136
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
137
|
+
"value": { "type": "string" }
|
|
138
|
+
},
|
|
124
139
|
{
|
|
125
140
|
"name": "target",
|
|
126
141
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -165,6 +180,11 @@
|
|
|
165
180
|
"description": "The URL that the link button points to.",
|
|
166
181
|
"type": "string"
|
|
167
182
|
},
|
|
183
|
+
{
|
|
184
|
+
"name": "download",
|
|
185
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
168
188
|
{
|
|
169
189
|
"name": "target",
|
|
170
190
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -216,6 +236,11 @@
|
|
|
216
236
|
"description": "The URL that the link button points to.",
|
|
217
237
|
"value": { "type": "string" }
|
|
218
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"name": "download",
|
|
241
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
242
|
+
"value": { "type": "string" }
|
|
243
|
+
},
|
|
219
244
|
{
|
|
220
245
|
"name": "target",
|
|
221
246
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -260,6 +285,11 @@
|
|
|
260
285
|
"description": "The URL that the link button points to.",
|
|
261
286
|
"type": "string"
|
|
262
287
|
},
|
|
288
|
+
{
|
|
289
|
+
"name": "download",
|
|
290
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
291
|
+
"type": "string"
|
|
292
|
+
},
|
|
263
293
|
{
|
|
264
294
|
"name": "target",
|
|
265
295
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -311,6 +341,11 @@
|
|
|
311
341
|
"description": "The URL that the link button points to.",
|
|
312
342
|
"value": { "type": "string" }
|
|
313
343
|
},
|
|
344
|
+
{
|
|
345
|
+
"name": "download",
|
|
346
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
347
|
+
"value": { "type": "string" }
|
|
348
|
+
},
|
|
314
349
|
{
|
|
315
350
|
"name": "target",
|
|
316
351
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -355,6 +390,11 @@
|
|
|
355
390
|
"description": "The URL that the link button points to.",
|
|
356
391
|
"type": "string"
|
|
357
392
|
},
|
|
393
|
+
{
|
|
394
|
+
"name": "download",
|
|
395
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
396
|
+
"type": "string"
|
|
397
|
+
},
|
|
358
398
|
{
|
|
359
399
|
"name": "target",
|
|
360
400
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -406,6 +446,11 @@
|
|
|
406
446
|
"description": "The URL that the link button points to.",
|
|
407
447
|
"value": { "type": "string" }
|
|
408
448
|
},
|
|
449
|
+
{
|
|
450
|
+
"name": "download",
|
|
451
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
452
|
+
"value": { "type": "string" }
|
|
453
|
+
},
|
|
409
454
|
{
|
|
410
455
|
"name": "target",
|
|
411
456
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -450,6 +495,11 @@
|
|
|
450
495
|
"description": "The URL that the link button points to.",
|
|
451
496
|
"type": "string"
|
|
452
497
|
},
|
|
498
|
+
{
|
|
499
|
+
"name": "download",
|
|
500
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
453
503
|
{
|
|
454
504
|
"name": "target",
|
|
455
505
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -501,6 +551,11 @@
|
|
|
501
551
|
"description": "The URL that the link button points to.",
|
|
502
552
|
"value": { "type": "string" }
|
|
503
553
|
},
|
|
554
|
+
{
|
|
555
|
+
"name": "download",
|
|
556
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
557
|
+
"value": { "type": "string" }
|
|
558
|
+
},
|
|
504
559
|
{
|
|
505
560
|
"name": "target",
|
|
506
561
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -545,6 +600,11 @@
|
|
|
545
600
|
"description": "The URL that the link button points to.",
|
|
546
601
|
"type": "string"
|
|
547
602
|
},
|
|
603
|
+
{
|
|
604
|
+
"name": "download",
|
|
605
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
606
|
+
"type": "string"
|
|
607
|
+
},
|
|
548
608
|
{
|
|
549
609
|
"name": "target",
|
|
550
610
|
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
@@ -660,6 +720,11 @@
|
|
|
660
720
|
"attributes": [
|
|
661
721
|
{ "name": "elevated", "value": { "type": "boolean" } },
|
|
662
722
|
{ "name": "href", "value": { "type": "string" } },
|
|
723
|
+
{
|
|
724
|
+
"name": "download",
|
|
725
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).",
|
|
726
|
+
"value": { "type": "string" }
|
|
727
|
+
},
|
|
663
728
|
{ "name": "target", "value": { "type": "string" } },
|
|
664
729
|
{
|
|
665
730
|
"name": "disabled",
|
|
@@ -698,6 +763,11 @@
|
|
|
698
763
|
"properties": [
|
|
699
764
|
{ "name": "elevated", "type": "boolean" },
|
|
700
765
|
{ "name": "href", "type": "string" },
|
|
766
|
+
{
|
|
767
|
+
"name": "download",
|
|
768
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).",
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
701
771
|
{ "name": "target", "type": "string" },
|
|
702
772
|
{
|
|
703
773
|
"name": "disabled",
|
|
@@ -952,6 +1022,11 @@
|
|
|
952
1022
|
"attributes": [
|
|
953
1023
|
{ "name": "elevated", "value": { "type": "boolean" } },
|
|
954
1024
|
{ "name": "href", "value": { "type": "string" } },
|
|
1025
|
+
{
|
|
1026
|
+
"name": "download",
|
|
1027
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).",
|
|
1028
|
+
"value": { "type": "string" }
|
|
1029
|
+
},
|
|
955
1030
|
{ "name": "target", "value": { "type": "string" } },
|
|
956
1031
|
{
|
|
957
1032
|
"name": "disabled",
|
|
@@ -990,6 +1065,11 @@
|
|
|
990
1065
|
"properties": [
|
|
991
1066
|
{ "name": "elevated", "type": "boolean" },
|
|
992
1067
|
{ "name": "href", "type": "string" },
|
|
1068
|
+
{
|
|
1069
|
+
"name": "download",
|
|
1070
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).",
|
|
1071
|
+
"type": "string"
|
|
1072
|
+
},
|
|
993
1073
|
{ "name": "target", "type": "string" },
|
|
994
1074
|
{
|
|
995
1075
|
"name": "disabled",
|
|
@@ -1044,6 +1124,11 @@
|
|
|
1044
1124
|
"attributes": [
|
|
1045
1125
|
{ "name": "elevated", "value": { "type": "boolean" } },
|
|
1046
1126
|
{ "name": "href", "value": { "type": "string" } },
|
|
1127
|
+
{
|
|
1128
|
+
"name": "download",
|
|
1129
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).",
|
|
1130
|
+
"value": { "type": "string" }
|
|
1131
|
+
},
|
|
1047
1132
|
{ "name": "target", "value": { "type": "string" } },
|
|
1048
1133
|
{
|
|
1049
1134
|
"name": "disabled",
|
|
@@ -1082,6 +1167,11 @@
|
|
|
1082
1167
|
"properties": [
|
|
1083
1168
|
{ "name": "elevated", "type": "boolean" },
|
|
1084
1169
|
{ "name": "href", "type": "string" },
|
|
1170
|
+
{
|
|
1171
|
+
"name": "download",
|
|
1172
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).",
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
},
|
|
1085
1175
|
{ "name": "target", "type": "string" },
|
|
1086
1176
|
{
|
|
1087
1177
|
"name": "disabled",
|
|
@@ -2007,6 +2097,11 @@
|
|
|
2007
2097
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2008
2098
|
"value": { "type": "string" }
|
|
2009
2099
|
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "download",
|
|
2102
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2103
|
+
"value": { "type": "string" }
|
|
2104
|
+
},
|
|
2010
2105
|
{
|
|
2011
2106
|
"name": "target",
|
|
2012
2107
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2072,6 +2167,11 @@
|
|
|
2072
2167
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2073
2168
|
"type": "string"
|
|
2074
2169
|
},
|
|
2170
|
+
{
|
|
2171
|
+
"name": "download",
|
|
2172
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2173
|
+
"type": "string"
|
|
2174
|
+
},
|
|
2075
2175
|
{
|
|
2076
2176
|
"name": "target",
|
|
2077
2177
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2145,6 +2245,11 @@
|
|
|
2145
2245
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2146
2246
|
"value": { "type": "string" }
|
|
2147
2247
|
},
|
|
2248
|
+
{
|
|
2249
|
+
"name": "download",
|
|
2250
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2251
|
+
"value": { "type": "string" }
|
|
2252
|
+
},
|
|
2148
2253
|
{
|
|
2149
2254
|
"name": "target",
|
|
2150
2255
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2210,6 +2315,11 @@
|
|
|
2210
2315
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2211
2316
|
"type": "string"
|
|
2212
2317
|
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "download",
|
|
2320
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2321
|
+
"type": "string"
|
|
2322
|
+
},
|
|
2213
2323
|
{
|
|
2214
2324
|
"name": "target",
|
|
2215
2325
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2283,6 +2393,11 @@
|
|
|
2283
2393
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2284
2394
|
"value": { "type": "string" }
|
|
2285
2395
|
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "download",
|
|
2398
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2399
|
+
"value": { "type": "string" }
|
|
2400
|
+
},
|
|
2286
2401
|
{
|
|
2287
2402
|
"name": "target",
|
|
2288
2403
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2348,6 +2463,11 @@
|
|
|
2348
2463
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2349
2464
|
"type": "string"
|
|
2350
2465
|
},
|
|
2466
|
+
{
|
|
2467
|
+
"name": "download",
|
|
2468
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2469
|
+
"type": "string"
|
|
2470
|
+
},
|
|
2351
2471
|
{
|
|
2352
2472
|
"name": "target",
|
|
2353
2473
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2421,6 +2541,11 @@
|
|
|
2421
2541
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2422
2542
|
"value": { "type": "string" }
|
|
2423
2543
|
},
|
|
2544
|
+
{
|
|
2545
|
+
"name": "download",
|
|
2546
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2547
|
+
"value": { "type": "string" }
|
|
2548
|
+
},
|
|
2424
2549
|
{
|
|
2425
2550
|
"name": "target",
|
|
2426
2551
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2486,6 +2611,11 @@
|
|
|
2486
2611
|
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.",
|
|
2487
2612
|
"type": "string"
|
|
2488
2613
|
},
|
|
2614
|
+
{
|
|
2615
|
+
"name": "download",
|
|
2616
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).",
|
|
2617
|
+
"type": "string"
|
|
2618
|
+
},
|
|
2489
2619
|
{
|
|
2490
2620
|
"name": "target",
|
|
2491
2621
|
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.",
|
|
@@ -2576,6 +2706,14 @@
|
|
|
2576
2706
|
"events": []
|
|
2577
2707
|
}
|
|
2578
2708
|
},
|
|
2709
|
+
{
|
|
2710
|
+
"name": "test-custom-state-set",
|
|
2711
|
+
"description": "\n---\n",
|
|
2712
|
+
"doc-url": "",
|
|
2713
|
+
"attributes": [],
|
|
2714
|
+
"events": [],
|
|
2715
|
+
"js": { "properties": [], "events": [] }
|
|
2716
|
+
},
|
|
2579
2717
|
{
|
|
2580
2718
|
"name": "md-elevated-card",
|
|
2581
2719
|
"description": "\n---\n",
|