@material/web 1.0.0-pre.3 → 1.0.0-pre.4
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 +1 -1
- package/README.md +41 -41
- package/controller/form-controller.d.ts +1 -1
- package/controller/form-controller.js +21 -29
- package/controller/form-controller.js.map +1 -1
- package/field/lib/_content.scss +91 -13
- package/field/lib/_filled-field.scss +19 -57
- package/field/lib/_label.scss +1 -2
- package/field/lib/_md-comp-filled-field.scss +123 -64
- package/field/lib/_md-comp-outlined-field.scss +100 -59
- package/field/lib/_outlined-field.scss +13 -11
- package/field/lib/_shared.scss +21 -17
- package/field/lib/field.d.ts +2 -1
- package/field/lib/field.js +73 -62
- package/field/lib/field.js.map +1 -1
- package/field/lib/filled-field.d.ts +0 -5
- package/field/lib/filled-field.js +2 -41
- package/field/lib/filled-field.js.map +1 -1
- package/field/lib/filled-styles.css.js +1 -1
- package/field/lib/filled-styles.css.js.map +1 -1
- package/field/lib/outlined-field.js +1 -1
- package/field/lib/outlined-field.js.map +1 -1
- package/field/lib/outlined-styles.css.js +1 -1
- package/field/lib/outlined-styles.css.js.map +1 -1
- package/field/lib/shared-styles.css.js +1 -1
- package/field/lib/shared-styles.css.js.map +1 -1
- package/icon/lib/_icon.scss +1 -1
- package/icon/lib/_md-comp-icon.scss +1 -2
- package/icon/lib/icon-styles.css.js +1 -1
- package/icon/lib/icon-styles.css.js.map +1 -1
- package/list/lib/_list.scss +19 -9
- package/list/lib/list-styles.css.js +1 -1
- package/list/lib/list-styles.css.js.map +1 -1
- package/list/lib/listitem/_list-item.scss +293 -102
- package/list/lib/listitem/list-item-styles.css.js +1 -1
- package/list/lib/listitem/list-item-styles.css.js.map +1 -1
- package/list/lib/listitem/list-item.d.ts +7 -6
- package/list/lib/listitem/list-item.js +22 -26
- package/list/lib/listitem/list-item.js.map +1 -1
- package/list/list-item-link.d.ts +18 -0
- package/list/list-item-link.js +19 -2
- package/list/list-item-link.js.map +1 -1
- package/list/list-item.d.ts +19 -0
- package/list/list-item.js +20 -2
- package/list/list-item.js.map +1 -1
- package/menu/lib/_menu.scss +26 -5
- package/menu/lib/menu-styles.css.js +1 -1
- package/menu/lib/menu-styles.css.js.map +1 -1
- package/menu/lib/menu.js +8 -7
- package/menu/lib/menu.js.map +1 -1
- package/menu/lib/menuitem/_menu-item.scss +39 -79
- package/menu/lib/menuitem/menu-item-styles.css.js +1 -1
- package/menu/lib/menuitem/menu-item-styles.css.js.map +1 -1
- package/menu/lib/submenuitem/sub-menu-item.d.ts +0 -1
- package/menu/lib/submenuitem/sub-menu-item.js +0 -1
- package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
- package/menu/menu-item-link.js +1 -2
- package/menu/menu-item-link.js.map +1 -1
- package/menu/menu-item.js +2 -3
- package/menu/menu-item.js.map +1 -1
- package/menu/sub-menu-item.js +1 -2
- package/menu/sub-menu-item.js.map +1 -1
- package/menusurface/lib/_md-comp-menu-surface.scss +1 -1
- package/package.json +1 -1
- package/textfield/lib/_filled-text-field.scss +98 -96
- package/textfield/lib/_icon.scss +11 -55
- package/textfield/lib/_input.scss +4 -6
- package/textfield/lib/_outlined-text-field.scss +87 -88
- package/textfield/lib/filled-styles.css.js +1 -1
- package/textfield/lib/filled-styles.css.js.map +1 -1
- package/textfield/lib/outlined-styles.css.js +1 -1
- package/textfield/lib/outlined-styles.css.js.map +1 -1
- package/textfield/lib/shared-styles.css.js +1 -1
- package/textfield/lib/shared-styles.css.js.map +1 -1
- package/tokens/_index.scss +1 -1
- package/tokens/v0_161/_index.scss +107 -0
- package/tokens/v0_161/_md-comp-assist-chip.scss +109 -0
- package/tokens/v0_161/_md-comp-badge.scss +58 -0
- package/tokens/v0_161/_md-comp-banner.scss +75 -0
- package/tokens/v0_161/_md-comp-bottom-app-bar.scss +35 -0
- package/tokens/v0_161/_md-comp-carousel-item.scss +65 -0
- package/tokens/v0_161/_md-comp-checkbox.scss +126 -0
- package/tokens/v0_161/_md-comp-circular-progress-indicator.scss +39 -0
- package/tokens/v0_161/_md-comp-data-table.scss +96 -0
- package/tokens/v0_161/_md-comp-date-input-modal.scss +89 -0
- package/tokens/v0_161/_md-comp-date-picker-docked.scss +246 -0
- package/tokens/v0_161/_md-comp-date-picker-modal.scss +305 -0
- package/tokens/v0_161/_md-comp-dialog.scss +123 -0
- package/tokens/v0_161/_md-comp-divider.scss +25 -0
- package/tokens/v0_161/_md-comp-elevated-button.scss +91 -0
- package/tokens/v0_161/_md-comp-elevated-card.scss +59 -0
- package/tokens/v0_161/_md-comp-extended-fab-branded.scss +86 -0
- package/tokens/v0_161/_md-comp-extended-fab-primary.scss +94 -0
- package/tokens/v0_161/_md-comp-extended-fab-secondary.scss +95 -0
- package/tokens/v0_161/_md-comp-extended-fab-surface.scss +90 -0
- package/tokens/v0_161/_md-comp-extended-fab-tertiary.scss +95 -0
- package/tokens/v0_161/_md-comp-fab-branded-large.scss +60 -0
- package/tokens/v0_161/_md-comp-fab-branded.scss +60 -0
- package/tokens/v0_161/_md-comp-fab-primary-large.scss +65 -0
- package/tokens/v0_161/_md-comp-fab-primary-small.scss +65 -0
- package/tokens/v0_161/_md-comp-fab-primary.scss +65 -0
- package/tokens/v0_161/_md-comp-fab-secondary-large.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-secondary-small.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-secondary.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-surface-large.scss +64 -0
- package/tokens/v0_161/_md-comp-fab-surface-small.scss +64 -0
- package/tokens/v0_161/_md-comp-fab-surface.scss +64 -0
- package/tokens/v0_161/_md-comp-fab-tertiary-large.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-tertiary-small.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-tertiary.scss +66 -0
- package/tokens/v0_161/_md-comp-filled-autocomplete.scss +267 -0
- package/tokens/v0_161/_md-comp-filled-button.scss +89 -0
- package/tokens/v0_161/_md-comp-filled-card.scss +58 -0
- package/tokens/v0_161/_md-comp-filled-icon-button.scss +79 -0
- package/tokens/v0_161/_md-comp-filled-menu-button.scss +98 -0
- package/tokens/v0_161/_md-comp-filled-select.scss +272 -0
- package/tokens/v0_161/_md-comp-filled-text-field.scss +189 -0
- package/tokens/v0_161/_md-comp-filled-tonal-button.scss +99 -0
- package/tokens/v0_161/_md-comp-filled-tonal-icon-button.scss +86 -0
- package/tokens/v0_161/_md-comp-filter-chip.scss +209 -0
- package/tokens/v0_161/_md-comp-full-screen-dialog.scss +111 -0
- package/tokens/v0_161/_md-comp-icon-button.scss +70 -0
- package/tokens/v0_161/_md-comp-input-chip.scss +184 -0
- package/tokens/v0_161/_md-comp-linear-progress-indicator.scss +41 -0
- package/tokens/v0_161/_md-comp-list.scss +248 -0
- package/tokens/v0_161/_md-comp-menu.scss +37 -0
- package/tokens/v0_161/_md-comp-navigation-bar.scss +114 -0
- package/tokens/v0_161/_md-comp-navigation-drawer.scss +162 -0
- package/tokens/v0_161/_md-comp-navigation-rail.scss +131 -0
- package/tokens/v0_161/_md-comp-outlined-autocomplete.scss +257 -0
- package/tokens/v0_161/_md-comp-outlined-button.scss +84 -0
- package/tokens/v0_161/_md-comp-outlined-card.scss +65 -0
- package/tokens/v0_161/_md-comp-outlined-icon-button.scss +79 -0
- package/tokens/v0_161/_md-comp-outlined-menu-button.scss +94 -0
- package/tokens/v0_161/_md-comp-outlined-segmented-button.scss +112 -0
- package/tokens/v0_161/_md-comp-outlined-select.scss +262 -0
- package/tokens/v0_161/_md-comp-outlined-text-field.scss +171 -0
- package/tokens/v0_161/_md-comp-plain-tooltip.scss +55 -0
- package/tokens/v0_161/_md-comp-primary-navigation-tab.scss +121 -0
- package/tokens/v0_161/_md-comp-radio-button.scss +68 -0
- package/tokens/v0_161/_md-comp-rich-tooltip.scss +121 -0
- package/tokens/v0_161/_md-comp-scrim.scss +25 -0
- package/tokens/v0_161/_md-comp-search-bar.scss +99 -0
- package/tokens/v0_161/_md-comp-search-view.scss +93 -0
- package/tokens/v0_161/_md-comp-secondary-navigation-tab.scss +84 -0
- package/tokens/v0_161/_md-comp-sheet-bottom.scss +45 -0
- package/tokens/v0_161/_md-comp-sheet-floating.scss +34 -0
- package/tokens/v0_161/_md-comp-sheet-side.scss +91 -0
- package/tokens/v0_161/_md-comp-slider.scss +114 -0
- package/tokens/v0_161/_md-comp-snackbar.scss +127 -0
- package/tokens/v0_161/_md-comp-standard-menu-button.scss +98 -0
- package/tokens/v0_161/_md-comp-suggestion-chip.scss +125 -0
- package/tokens/v0_161/_md-comp-switch.scss +136 -0
- package/tokens/v0_161/_md-comp-text-button.scss +77 -0
- package/tokens/v0_161/_md-comp-time-input.scss +218 -0
- package/tokens/v0_161/_md-comp-time-picker.scss +264 -0
- package/tokens/v0_161/_md-comp-top-app-bar-large.scss +63 -0
- package/tokens/v0_161/_md-comp-top-app-bar-medium.scss +63 -0
- package/tokens/v0_161/_md-comp-top-app-bar-small-centered.scss +66 -0
- package/tokens/v0_161/_md-comp-top-app-bar-small.scss +64 -0
- package/tokens/v0_161/_md-ref-palette.scss +107 -0
- package/tokens/v0_161/_md-ref-typeface.scss +21 -0
- package/tokens/v0_161/_md-sys-color.scss +904 -0
- package/tokens/v0_161/_md-sys-elevation.scss +21 -0
- package/tokens/v0_161/_md-sys-motion.scss +53 -0
- package/tokens/v0_161/_md-sys-shape.scss +30 -0
- package/tokens/v0_161/_md-sys-state.scss +19 -0
- package/tokens/v0_161/_md-sys-typescale.scss +284 -0
- package/tokens/v0_161/index.test.css.js +9 -0
- package/tokens/v0_161/index.test.css.js.map +1 -0
- package/tokens/v0_161/index.test.scss +584 -0
- package/tokens/v0_161/lib.test.css.js +9 -0
- package/tokens/v0_161/lib.test.css.js.map +1 -0
- package/tokens/v0_161/lib.test.scss +663 -0
- package/controller/foundation.d.ts +0 -24
- package/controller/foundation.js +0 -18
- package/controller/foundation.js.map +0 -1
- package/controller/observer-foundation.d.ts +0 -25
- package/controller/observer-foundation.js +0 -37
- package/controller/observer-foundation.js.map +0 -1
- package/controller/observer.d.ts +0 -52
- package/controller/observer.js +0 -149
- package/controller/observer.js.map +0 -1
- package/decorators/bound.d.ts +0 -40
- package/decorators/bound.js +0 -49
- package/decorators/bound.js.map +0 -1
- package/list/lib/avatar/_list-item-avatar.scss +0 -40
- package/list/lib/avatar/list-item-avatar-styles.css.js +0 -9
- package/list/lib/avatar/list-item-avatar-styles.css.js.map +0 -1
- package/list/lib/avatar/list-item-avatar-styles.scss +0 -10
- package/list/lib/avatar/list-item-avatar.d.ts +0 -21
- package/list/lib/avatar/list-item-avatar.js +0 -48
- package/list/lib/avatar/list-item-avatar.js.map +0 -1
- package/list/lib/icon/_list-item-icon.scss +0 -71
- package/list/lib/icon/list-item-icon-styles.css.js +0 -9
- package/list/lib/icon/list-item-icon-styles.css.js.map +0 -1
- package/list/lib/icon/list-item-icon-styles.scss +0 -10
- package/list/lib/icon/list-item-icon.d.ts +0 -9
- package/list/lib/icon/list-item-icon.js +0 -15
- package/list/lib/icon/list-item-icon.js.map +0 -1
- package/list/lib/image/_list-item-image.scss +0 -63
- package/list/lib/image/list-item-image-styles.css.d.ts +0 -1
- package/list/lib/image/list-item-image-styles.css.js +0 -9
- package/list/lib/image/list-item-image-styles.css.js.map +0 -1
- package/list/lib/image/list-item-image-styles.scss +0 -10
- package/list/lib/image/list-item-image.d.ts +0 -21
- package/list/lib/image/list-item-image.js +0 -48
- package/list/lib/image/list-item-image.js.map +0 -1
- package/list/lib/listitem/list-item-private-styles.css.d.ts +0 -1
- package/list/lib/listitem/list-item-private-styles.css.js +0 -9
- package/list/lib/listitem/list-item-private-styles.css.js.map +0 -1
- package/list/lib/listitem/list-item-private-styles.scss +0 -10
- package/list/lib/video/_list-item-video.scss +0 -71
- package/list/lib/video/list-item-video-styles.css.d.ts +0 -1
- package/list/lib/video/list-item-video-styles.css.js +0 -9
- package/list/lib/video/list-item-video-styles.css.js.map +0 -1
- package/list/lib/video/list-item-video-styles.scss +0 -10
- package/list/lib/video/list-item-video.d.ts +0 -53
- package/list/lib/video/list-item-video.js +0 -115
- package/list/lib/video/list-item-video.js.map +0 -1
- package/list/list-item-avatar.d.ts +0 -20
- package/list/list-item-avatar.js +0 -23
- package/list/list-item-avatar.js.map +0 -1
- package/list/list-item-icon.d.ts +0 -20
- package/list/list-item-icon.js +0 -23
- package/list/list-item-icon.js.map +0 -1
- package/list/list-item-image.d.ts +0 -20
- package/list/list-item-image.js +0 -23
- package/list/list-item-image.js.map +0 -1
- package/list/list-item-video.d.ts +0 -20
- package/list/list-item-video.js +0 -23
- package/list/list-item-video.js.map +0 -1
- package/menu/lib/menuitem/menu-item-private-styles.css.d.ts +0 -1
- package/menu/lib/menuitem/menu-item-private-styles.css.js +0 -9
- package/menu/lib/menuitem/menu-item-private-styles.css.js.map +0 -1
- package/menu/lib/menuitem/menu-item-private-styles.scss +0 -10
- /package/{list/lib/avatar/list-item-avatar-styles.css.d.ts → tokens/v0_161/index.test.css.d.ts} +0 -0
- /package/{list/lib/icon/list-item-icon-styles.css.d.ts → tokens/v0_161/lib.test.css.d.ts} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@function values($exclude-hardcoded-values: false) {
|
|
13
|
+
@return (
|
|
14
|
+
'level0': if($exclude-hardcoded-values, null, 0),
|
|
15
|
+
'level1': if($exclude-hardcoded-values, null, 1),
|
|
16
|
+
'level2': if($exclude-hardcoded-values, null, 3),
|
|
17
|
+
'level3': if($exclude-hardcoded-values, null, 6),
|
|
18
|
+
'level4': if($exclude-hardcoded-values, null, 8),
|
|
19
|
+
'level5': if($exclude-hardcoded-values, null, 12)
|
|
20
|
+
);
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
// User-configured context group "Platform": "Web"
|
|
11
|
+
//
|
|
12
|
+
|
|
13
|
+
@function values($exclude-hardcoded-values: false) {
|
|
14
|
+
@return (
|
|
15
|
+
'duration-extra-long1': if($exclude-hardcoded-values, null, 700ms),
|
|
16
|
+
'duration-extra-long2': if($exclude-hardcoded-values, null, 800ms),
|
|
17
|
+
'duration-extra-long3': if($exclude-hardcoded-values, null, 900ms),
|
|
18
|
+
'duration-extra-long4': if($exclude-hardcoded-values, null, 1000ms),
|
|
19
|
+
'duration-long1': if($exclude-hardcoded-values, null, 450ms),
|
|
20
|
+
'duration-long2': if($exclude-hardcoded-values, null, 500ms),
|
|
21
|
+
'duration-long3': if($exclude-hardcoded-values, null, 550ms),
|
|
22
|
+
'duration-long4': if($exclude-hardcoded-values, null, 600ms),
|
|
23
|
+
'duration-medium1': if($exclude-hardcoded-values, null, 250ms),
|
|
24
|
+
'duration-medium2': if($exclude-hardcoded-values, null, 300ms),
|
|
25
|
+
'duration-medium3': if($exclude-hardcoded-values, null, 350ms),
|
|
26
|
+
'duration-medium4': if($exclude-hardcoded-values, null, 400ms),
|
|
27
|
+
'duration-short1': if($exclude-hardcoded-values, null, 50ms),
|
|
28
|
+
'duration-short2': if($exclude-hardcoded-values, null, 100ms),
|
|
29
|
+
'duration-short3': if($exclude-hardcoded-values, null, 150ms),
|
|
30
|
+
'duration-short4': if($exclude-hardcoded-values, null, 200ms),
|
|
31
|
+
'easing-emphasized':
|
|
32
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.2, 0, 0, 1)),
|
|
33
|
+
'easing-emphasized-accelerate':
|
|
34
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.3, 0, 0.8, 0.15)),
|
|
35
|
+
'easing-emphasized-decelerate':
|
|
36
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.05, 0.7, 0.1, 1)),
|
|
37
|
+
'easing-legacy':
|
|
38
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.4, 0, 0.2, 1)),
|
|
39
|
+
'easing-legacy-accelerate':
|
|
40
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.4, 0, 1, 1)),
|
|
41
|
+
'easing-legacy-decelerate':
|
|
42
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0, 0, 0.2, 1)),
|
|
43
|
+
'easing-linear':
|
|
44
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0, 0, 1, 1)),
|
|
45
|
+
'easing-standard':
|
|
46
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.2, 0, 0, 1)),
|
|
47
|
+
'easing-standard-accelerate':
|
|
48
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0.3, 0, 1, 1)),
|
|
49
|
+
'easing-standard-decelerate':
|
|
50
|
+
if($exclude-hardcoded-values, null, cubic-bezier(0, 0, 0, 1)),
|
|
51
|
+
'path': /** TODO: type "motion_path" is not supported. */ null
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@function values($exclude-hardcoded-values: false) {
|
|
13
|
+
@return (
|
|
14
|
+
'corner-extra-large': if($exclude-hardcoded-values, null, 28px),
|
|
15
|
+
'corner-extra-large-top':
|
|
16
|
+
if($exclude-hardcoded-values, null, (28px 28px 0px 0px)),
|
|
17
|
+
'corner-extra-small': if($exclude-hardcoded-values, null, 4px),
|
|
18
|
+
'corner-extra-small-top':
|
|
19
|
+
if($exclude-hardcoded-values, null, (4px 4px 0px 0px)),
|
|
20
|
+
'corner-full': if($exclude-hardcoded-values, null, 9999px),
|
|
21
|
+
'corner-large': if($exclude-hardcoded-values, null, 16px),
|
|
22
|
+
'corner-large-end': if($exclude-hardcoded-values, null, (0px 16px 16px 0px)),
|
|
23
|
+
'corner-large-start':
|
|
24
|
+
if($exclude-hardcoded-values, null, (16px 0px 0px 16px)),
|
|
25
|
+
'corner-large-top': if($exclude-hardcoded-values, null, (16px 16px 0px 0px)),
|
|
26
|
+
'corner-medium': if($exclude-hardcoded-values, null, 12px),
|
|
27
|
+
'corner-none': if($exclude-hardcoded-values, null, 0px),
|
|
28
|
+
'corner-small': if($exclude-hardcoded-values, null, 8px)
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@function values($exclude-hardcoded-values: false) {
|
|
13
|
+
@return (
|
|
14
|
+
'dragged-state-layer-opacity': if($exclude-hardcoded-values, null, 0.16),
|
|
15
|
+
'focus-state-layer-opacity': if($exclude-hardcoded-values, null, 0.12),
|
|
16
|
+
'hover-state-layer-opacity': if($exclude-hardcoded-values, null, 0.08),
|
|
17
|
+
'pressed-state-layer-opacity': if($exclude-hardcoded-values, null, 0.12)
|
|
18
|
+
);
|
|
19
|
+
}
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
// User-configured context group "Audience": "3P"
|
|
11
|
+
//
|
|
12
|
+
|
|
13
|
+
@use 'sass:map';
|
|
14
|
+
|
|
15
|
+
@use './md-ref-typeface';
|
|
16
|
+
|
|
17
|
+
$_default: (
|
|
18
|
+
'md-ref-typeface': md-ref-typeface.values(),
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
@function values($deps: $_default, $exclude-hardcoded-values: false) {
|
|
22
|
+
@return (
|
|
23
|
+
'body-large':
|
|
24
|
+
if(
|
|
25
|
+
$exclude-hardcoded-values,
|
|
26
|
+
null,
|
|
27
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.body-large.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
28
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
29
|
+
if($exclude-hardcoded-values, null, 1rem) #{'/'} if(
|
|
30
|
+
$exclude-hardcoded-values,
|
|
31
|
+
null,
|
|
32
|
+
1.5rem
|
|
33
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
34
|
+
),
|
|
35
|
+
'body-large-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
36
|
+
'body-large-line-height': if($exclude-hardcoded-values, null, 1.5rem),
|
|
37
|
+
'body-large-size': if($exclude-hardcoded-values, null, 1rem),
|
|
38
|
+
'body-large-tracking': if($exclude-hardcoded-values, null, 0.031rem),
|
|
39
|
+
'body-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
40
|
+
'body-medium':
|
|
41
|
+
if(
|
|
42
|
+
$exclude-hardcoded-values,
|
|
43
|
+
null,
|
|
44
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.body-medium.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
45
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
46
|
+
if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
|
|
47
|
+
$exclude-hardcoded-values,
|
|
48
|
+
null,
|
|
49
|
+
1.25rem
|
|
50
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
51
|
+
),
|
|
52
|
+
'body-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
53
|
+
'body-medium-line-height': if($exclude-hardcoded-values, null, 1.25rem),
|
|
54
|
+
'body-medium-size': if($exclude-hardcoded-values, null, 0.875rem),
|
|
55
|
+
'body-medium-tracking': if($exclude-hardcoded-values, null, 0.016rem),
|
|
56
|
+
'body-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
57
|
+
'body-small':
|
|
58
|
+
if(
|
|
59
|
+
$exclude-hardcoded-values,
|
|
60
|
+
null,
|
|
61
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.body-small.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
62
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
63
|
+
if($exclude-hardcoded-values, null, 0.75rem) #{'/'} if(
|
|
64
|
+
$exclude-hardcoded-values,
|
|
65
|
+
null,
|
|
66
|
+
1rem
|
|
67
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
68
|
+
),
|
|
69
|
+
'body-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
70
|
+
'body-small-line-height': if($exclude-hardcoded-values, null, 1rem),
|
|
71
|
+
'body-small-size': if($exclude-hardcoded-values, null, 0.75rem),
|
|
72
|
+
'body-small-tracking': if($exclude-hardcoded-values, null, 0.025rem),
|
|
73
|
+
'body-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
74
|
+
'display-large':
|
|
75
|
+
if(
|
|
76
|
+
$exclude-hardcoded-values,
|
|
77
|
+
null,
|
|
78
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.display-large.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
79
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
80
|
+
if($exclude-hardcoded-values, null, 3.562rem) #{'/'} if(
|
|
81
|
+
$exclude-hardcoded-values,
|
|
82
|
+
null,
|
|
83
|
+
4rem
|
|
84
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
85
|
+
),
|
|
86
|
+
'display-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
87
|
+
'display-large-line-height': if($exclude-hardcoded-values, null, 4rem),
|
|
88
|
+
'display-large-size': if($exclude-hardcoded-values, null, 3.562rem),
|
|
89
|
+
'display-large-tracking': if($exclude-hardcoded-values, null, -0.016rem),
|
|
90
|
+
'display-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
91
|
+
'display-medium':
|
|
92
|
+
if(
|
|
93
|
+
$exclude-hardcoded-values,
|
|
94
|
+
null,
|
|
95
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.display-medium.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
96
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
97
|
+
if($exclude-hardcoded-values, null, 2.812rem) #{'/'} if(
|
|
98
|
+
$exclude-hardcoded-values,
|
|
99
|
+
null,
|
|
100
|
+
3.25rem
|
|
101
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
102
|
+
),
|
|
103
|
+
'display-medium-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
104
|
+
'display-medium-line-height': if($exclude-hardcoded-values, null, 3.25rem),
|
|
105
|
+
'display-medium-size': if($exclude-hardcoded-values, null, 2.812rem),
|
|
106
|
+
'display-medium-tracking': if($exclude-hardcoded-values, null, 0rem),
|
|
107
|
+
'display-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
108
|
+
'display-small':
|
|
109
|
+
if(
|
|
110
|
+
$exclude-hardcoded-values,
|
|
111
|
+
null,
|
|
112
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.display-small.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
113
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
114
|
+
if($exclude-hardcoded-values, null, 2.25rem) #{'/'} if(
|
|
115
|
+
$exclude-hardcoded-values,
|
|
116
|
+
null,
|
|
117
|
+
2.75rem
|
|
118
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
119
|
+
),
|
|
120
|
+
'display-small-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
121
|
+
'display-small-line-height': if($exclude-hardcoded-values, null, 2.75rem),
|
|
122
|
+
'display-small-size': if($exclude-hardcoded-values, null, 2.25rem),
|
|
123
|
+
'display-small-tracking': if($exclude-hardcoded-values, null, 0rem),
|
|
124
|
+
'display-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
125
|
+
'headline-large':
|
|
126
|
+
if(
|
|
127
|
+
$exclude-hardcoded-values,
|
|
128
|
+
null,
|
|
129
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.headline-large.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
130
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
131
|
+
if($exclude-hardcoded-values, null, 2rem) #{'/'} if(
|
|
132
|
+
$exclude-hardcoded-values,
|
|
133
|
+
null,
|
|
134
|
+
2.5rem
|
|
135
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
136
|
+
),
|
|
137
|
+
'headline-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
138
|
+
'headline-large-line-height': if($exclude-hardcoded-values, null, 2.5rem),
|
|
139
|
+
'headline-large-size': if($exclude-hardcoded-values, null, 2rem),
|
|
140
|
+
'headline-large-tracking': if($exclude-hardcoded-values, null, 0rem),
|
|
141
|
+
'headline-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
142
|
+
'headline-medium':
|
|
143
|
+
if(
|
|
144
|
+
$exclude-hardcoded-values,
|
|
145
|
+
null,
|
|
146
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.headline-medium.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
147
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
148
|
+
if($exclude-hardcoded-values, null, 1.75rem) #{'/'} if(
|
|
149
|
+
$exclude-hardcoded-values,
|
|
150
|
+
null,
|
|
151
|
+
2.25rem
|
|
152
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
153
|
+
),
|
|
154
|
+
'headline-medium-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
155
|
+
'headline-medium-line-height': if($exclude-hardcoded-values, null, 2.25rem),
|
|
156
|
+
'headline-medium-size': if($exclude-hardcoded-values, null, 1.75rem),
|
|
157
|
+
'headline-medium-tracking': if($exclude-hardcoded-values, null, 0rem),
|
|
158
|
+
'headline-medium-weight':
|
|
159
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
160
|
+
'headline-small':
|
|
161
|
+
if(
|
|
162
|
+
$exclude-hardcoded-values,
|
|
163
|
+
null,
|
|
164
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.headline-small.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
165
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
166
|
+
if($exclude-hardcoded-values, null, 1.5rem) #{'/'} if(
|
|
167
|
+
$exclude-hardcoded-values,
|
|
168
|
+
null,
|
|
169
|
+
2rem
|
|
170
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
171
|
+
),
|
|
172
|
+
'headline-small-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
173
|
+
'headline-small-line-height': if($exclude-hardcoded-values, null, 2rem),
|
|
174
|
+
'headline-small-size': if($exclude-hardcoded-values, null, 1.5rem),
|
|
175
|
+
'headline-small-tracking': if($exclude-hardcoded-values, null, 0rem),
|
|
176
|
+
'headline-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
177
|
+
'label-large':
|
|
178
|
+
if(
|
|
179
|
+
$exclude-hardcoded-values,
|
|
180
|
+
null,
|
|
181
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.label-large.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
182
|
+
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
183
|
+
if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
|
|
184
|
+
$exclude-hardcoded-values,
|
|
185
|
+
null,
|
|
186
|
+
1.25rem
|
|
187
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
188
|
+
),
|
|
189
|
+
'label-large-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
190
|
+
'label-large-line-height': if($exclude-hardcoded-values, null, 1.25rem),
|
|
191
|
+
'label-large-size': if($exclude-hardcoded-values, null, 0.875rem),
|
|
192
|
+
'label-large-tracking': if($exclude-hardcoded-values, null, 0.006rem),
|
|
193
|
+
'label-large-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
194
|
+
'label-large-weight-prominent':
|
|
195
|
+
map.get($deps, 'md-ref-typeface', 'weight-bold'),
|
|
196
|
+
'label-medium':
|
|
197
|
+
if(
|
|
198
|
+
$exclude-hardcoded-values,
|
|
199
|
+
null,
|
|
200
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.label-medium.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
201
|
+
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
202
|
+
if($exclude-hardcoded-values, null, 0.75rem) #{'/'} if(
|
|
203
|
+
$exclude-hardcoded-values,
|
|
204
|
+
null,
|
|
205
|
+
1rem
|
|
206
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
207
|
+
),
|
|
208
|
+
'label-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
209
|
+
'label-medium-line-height': if($exclude-hardcoded-values, null, 1rem),
|
|
210
|
+
'label-medium-size': if($exclude-hardcoded-values, null, 0.75rem),
|
|
211
|
+
'label-medium-tracking': if($exclude-hardcoded-values, null, 0.031rem),
|
|
212
|
+
'label-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
213
|
+
'label-medium-weight-prominent':
|
|
214
|
+
map.get($deps, 'md-ref-typeface', 'weight-bold'),
|
|
215
|
+
'label-small':
|
|
216
|
+
if(
|
|
217
|
+
$exclude-hardcoded-values,
|
|
218
|
+
null,
|
|
219
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.label-small.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
220
|
+
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
221
|
+
if($exclude-hardcoded-values, null, 0.688rem) #{'/'} if(
|
|
222
|
+
$exclude-hardcoded-values,
|
|
223
|
+
null,
|
|
224
|
+
1rem
|
|
225
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
226
|
+
),
|
|
227
|
+
'label-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
228
|
+
'label-small-line-height': if($exclude-hardcoded-values, null, 1rem),
|
|
229
|
+
'label-small-size': if($exclude-hardcoded-values, null, 0.688rem),
|
|
230
|
+
'label-small-tracking': if($exclude-hardcoded-values, null, 0.031rem),
|
|
231
|
+
'label-small-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
232
|
+
'title-large':
|
|
233
|
+
if(
|
|
234
|
+
$exclude-hardcoded-values,
|
|
235
|
+
null,
|
|
236
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.title-large.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
237
|
+
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
238
|
+
if($exclude-hardcoded-values, null, 1.375rem) #{'/'} if(
|
|
239
|
+
$exclude-hardcoded-values,
|
|
240
|
+
null,
|
|
241
|
+
1.75rem
|
|
242
|
+
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
243
|
+
),
|
|
244
|
+
'title-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
245
|
+
'title-large-line-height': if($exclude-hardcoded-values, null, 1.75rem),
|
|
246
|
+
'title-large-size': if($exclude-hardcoded-values, null, 1.375rem),
|
|
247
|
+
'title-large-tracking': if($exclude-hardcoded-values, null, 0rem),
|
|
248
|
+
'title-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
249
|
+
'title-medium':
|
|
250
|
+
if(
|
|
251
|
+
$exclude-hardcoded-values,
|
|
252
|
+
null,
|
|
253
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.title-medium.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
254
|
+
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
255
|
+
if($exclude-hardcoded-values, null, 1rem) #{'/'} if(
|
|
256
|
+
$exclude-hardcoded-values,
|
|
257
|
+
null,
|
|
258
|
+
1.5rem
|
|
259
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
260
|
+
),
|
|
261
|
+
'title-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
262
|
+
'title-medium-line-height': if($exclude-hardcoded-values, null, 1.5rem),
|
|
263
|
+
'title-medium-size': if($exclude-hardcoded-values, null, 1rem),
|
|
264
|
+
'title-medium-tracking': if($exclude-hardcoded-values, null, 0.009rem),
|
|
265
|
+
'title-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
266
|
+
'title-small':
|
|
267
|
+
if(
|
|
268
|
+
$exclude-hardcoded-values,
|
|
269
|
+
null,
|
|
270
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.sys.typescale.title-small.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
271
|
+
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
272
|
+
if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
|
|
273
|
+
$exclude-hardcoded-values,
|
|
274
|
+
null,
|
|
275
|
+
1.25rem
|
|
276
|
+
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
277
|
+
),
|
|
278
|
+
'title-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
279
|
+
'title-small-line-height': if($exclude-hardcoded-values, null, 1.25rem),
|
|
280
|
+
'title-small-size': if($exclude-hardcoded-values, null, 0.875rem),
|
|
281
|
+
'title-small-tracking': if($exclude-hardcoded-values, null, 0.006rem),
|
|
282
|
+
'title-small-weight': map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
283
|
+
);
|
|
284
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.css.js","sourceRoot":"","sources":["index.test.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`/*# sourceMappingURL=index.test.css.map */\n`;\n "]}
|