@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.
Files changed (238) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +41 -41
  3. package/controller/form-controller.d.ts +1 -1
  4. package/controller/form-controller.js +21 -29
  5. package/controller/form-controller.js.map +1 -1
  6. package/field/lib/_content.scss +91 -13
  7. package/field/lib/_filled-field.scss +19 -57
  8. package/field/lib/_label.scss +1 -2
  9. package/field/lib/_md-comp-filled-field.scss +123 -64
  10. package/field/lib/_md-comp-outlined-field.scss +100 -59
  11. package/field/lib/_outlined-field.scss +13 -11
  12. package/field/lib/_shared.scss +21 -17
  13. package/field/lib/field.d.ts +2 -1
  14. package/field/lib/field.js +73 -62
  15. package/field/lib/field.js.map +1 -1
  16. package/field/lib/filled-field.d.ts +0 -5
  17. package/field/lib/filled-field.js +2 -41
  18. package/field/lib/filled-field.js.map +1 -1
  19. package/field/lib/filled-styles.css.js +1 -1
  20. package/field/lib/filled-styles.css.js.map +1 -1
  21. package/field/lib/outlined-field.js +1 -1
  22. package/field/lib/outlined-field.js.map +1 -1
  23. package/field/lib/outlined-styles.css.js +1 -1
  24. package/field/lib/outlined-styles.css.js.map +1 -1
  25. package/field/lib/shared-styles.css.js +1 -1
  26. package/field/lib/shared-styles.css.js.map +1 -1
  27. package/icon/lib/_icon.scss +1 -1
  28. package/icon/lib/_md-comp-icon.scss +1 -2
  29. package/icon/lib/icon-styles.css.js +1 -1
  30. package/icon/lib/icon-styles.css.js.map +1 -1
  31. package/list/lib/_list.scss +19 -9
  32. package/list/lib/list-styles.css.js +1 -1
  33. package/list/lib/list-styles.css.js.map +1 -1
  34. package/list/lib/listitem/_list-item.scss +293 -102
  35. package/list/lib/listitem/list-item-styles.css.js +1 -1
  36. package/list/lib/listitem/list-item-styles.css.js.map +1 -1
  37. package/list/lib/listitem/list-item.d.ts +7 -6
  38. package/list/lib/listitem/list-item.js +22 -26
  39. package/list/lib/listitem/list-item.js.map +1 -1
  40. package/list/list-item-link.d.ts +18 -0
  41. package/list/list-item-link.js +19 -2
  42. package/list/list-item-link.js.map +1 -1
  43. package/list/list-item.d.ts +19 -0
  44. package/list/list-item.js +20 -2
  45. package/list/list-item.js.map +1 -1
  46. package/menu/lib/_menu.scss +26 -5
  47. package/menu/lib/menu-styles.css.js +1 -1
  48. package/menu/lib/menu-styles.css.js.map +1 -1
  49. package/menu/lib/menu.js +8 -7
  50. package/menu/lib/menu.js.map +1 -1
  51. package/menu/lib/menuitem/_menu-item.scss +39 -79
  52. package/menu/lib/menuitem/menu-item-styles.css.js +1 -1
  53. package/menu/lib/menuitem/menu-item-styles.css.js.map +1 -1
  54. package/menu/lib/submenuitem/sub-menu-item.d.ts +0 -1
  55. package/menu/lib/submenuitem/sub-menu-item.js +0 -1
  56. package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
  57. package/menu/menu-item-link.js +1 -2
  58. package/menu/menu-item-link.js.map +1 -1
  59. package/menu/menu-item.js +2 -3
  60. package/menu/menu-item.js.map +1 -1
  61. package/menu/sub-menu-item.js +1 -2
  62. package/menu/sub-menu-item.js.map +1 -1
  63. package/menusurface/lib/_md-comp-menu-surface.scss +1 -1
  64. package/package.json +1 -1
  65. package/textfield/lib/_filled-text-field.scss +98 -96
  66. package/textfield/lib/_icon.scss +11 -55
  67. package/textfield/lib/_input.scss +4 -6
  68. package/textfield/lib/_outlined-text-field.scss +87 -88
  69. package/textfield/lib/filled-styles.css.js +1 -1
  70. package/textfield/lib/filled-styles.css.js.map +1 -1
  71. package/textfield/lib/outlined-styles.css.js +1 -1
  72. package/textfield/lib/outlined-styles.css.js.map +1 -1
  73. package/textfield/lib/shared-styles.css.js +1 -1
  74. package/textfield/lib/shared-styles.css.js.map +1 -1
  75. package/tokens/_index.scss +1 -1
  76. package/tokens/v0_161/_index.scss +107 -0
  77. package/tokens/v0_161/_md-comp-assist-chip.scss +109 -0
  78. package/tokens/v0_161/_md-comp-badge.scss +58 -0
  79. package/tokens/v0_161/_md-comp-banner.scss +75 -0
  80. package/tokens/v0_161/_md-comp-bottom-app-bar.scss +35 -0
  81. package/tokens/v0_161/_md-comp-carousel-item.scss +65 -0
  82. package/tokens/v0_161/_md-comp-checkbox.scss +126 -0
  83. package/tokens/v0_161/_md-comp-circular-progress-indicator.scss +39 -0
  84. package/tokens/v0_161/_md-comp-data-table.scss +96 -0
  85. package/tokens/v0_161/_md-comp-date-input-modal.scss +89 -0
  86. package/tokens/v0_161/_md-comp-date-picker-docked.scss +246 -0
  87. package/tokens/v0_161/_md-comp-date-picker-modal.scss +305 -0
  88. package/tokens/v0_161/_md-comp-dialog.scss +123 -0
  89. package/tokens/v0_161/_md-comp-divider.scss +25 -0
  90. package/tokens/v0_161/_md-comp-elevated-button.scss +91 -0
  91. package/tokens/v0_161/_md-comp-elevated-card.scss +59 -0
  92. package/tokens/v0_161/_md-comp-extended-fab-branded.scss +86 -0
  93. package/tokens/v0_161/_md-comp-extended-fab-primary.scss +94 -0
  94. package/tokens/v0_161/_md-comp-extended-fab-secondary.scss +95 -0
  95. package/tokens/v0_161/_md-comp-extended-fab-surface.scss +90 -0
  96. package/tokens/v0_161/_md-comp-extended-fab-tertiary.scss +95 -0
  97. package/tokens/v0_161/_md-comp-fab-branded-large.scss +60 -0
  98. package/tokens/v0_161/_md-comp-fab-branded.scss +60 -0
  99. package/tokens/v0_161/_md-comp-fab-primary-large.scss +65 -0
  100. package/tokens/v0_161/_md-comp-fab-primary-small.scss +65 -0
  101. package/tokens/v0_161/_md-comp-fab-primary.scss +65 -0
  102. package/tokens/v0_161/_md-comp-fab-secondary-large.scss +66 -0
  103. package/tokens/v0_161/_md-comp-fab-secondary-small.scss +66 -0
  104. package/tokens/v0_161/_md-comp-fab-secondary.scss +66 -0
  105. package/tokens/v0_161/_md-comp-fab-surface-large.scss +64 -0
  106. package/tokens/v0_161/_md-comp-fab-surface-small.scss +64 -0
  107. package/tokens/v0_161/_md-comp-fab-surface.scss +64 -0
  108. package/tokens/v0_161/_md-comp-fab-tertiary-large.scss +66 -0
  109. package/tokens/v0_161/_md-comp-fab-tertiary-small.scss +66 -0
  110. package/tokens/v0_161/_md-comp-fab-tertiary.scss +66 -0
  111. package/tokens/v0_161/_md-comp-filled-autocomplete.scss +267 -0
  112. package/tokens/v0_161/_md-comp-filled-button.scss +89 -0
  113. package/tokens/v0_161/_md-comp-filled-card.scss +58 -0
  114. package/tokens/v0_161/_md-comp-filled-icon-button.scss +79 -0
  115. package/tokens/v0_161/_md-comp-filled-menu-button.scss +98 -0
  116. package/tokens/v0_161/_md-comp-filled-select.scss +272 -0
  117. package/tokens/v0_161/_md-comp-filled-text-field.scss +189 -0
  118. package/tokens/v0_161/_md-comp-filled-tonal-button.scss +99 -0
  119. package/tokens/v0_161/_md-comp-filled-tonal-icon-button.scss +86 -0
  120. package/tokens/v0_161/_md-comp-filter-chip.scss +209 -0
  121. package/tokens/v0_161/_md-comp-full-screen-dialog.scss +111 -0
  122. package/tokens/v0_161/_md-comp-icon-button.scss +70 -0
  123. package/tokens/v0_161/_md-comp-input-chip.scss +184 -0
  124. package/tokens/v0_161/_md-comp-linear-progress-indicator.scss +41 -0
  125. package/tokens/v0_161/_md-comp-list.scss +248 -0
  126. package/tokens/v0_161/_md-comp-menu.scss +37 -0
  127. package/tokens/v0_161/_md-comp-navigation-bar.scss +114 -0
  128. package/tokens/v0_161/_md-comp-navigation-drawer.scss +162 -0
  129. package/tokens/v0_161/_md-comp-navigation-rail.scss +131 -0
  130. package/tokens/v0_161/_md-comp-outlined-autocomplete.scss +257 -0
  131. package/tokens/v0_161/_md-comp-outlined-button.scss +84 -0
  132. package/tokens/v0_161/_md-comp-outlined-card.scss +65 -0
  133. package/tokens/v0_161/_md-comp-outlined-icon-button.scss +79 -0
  134. package/tokens/v0_161/_md-comp-outlined-menu-button.scss +94 -0
  135. package/tokens/v0_161/_md-comp-outlined-segmented-button.scss +112 -0
  136. package/tokens/v0_161/_md-comp-outlined-select.scss +262 -0
  137. package/tokens/v0_161/_md-comp-outlined-text-field.scss +171 -0
  138. package/tokens/v0_161/_md-comp-plain-tooltip.scss +55 -0
  139. package/tokens/v0_161/_md-comp-primary-navigation-tab.scss +121 -0
  140. package/tokens/v0_161/_md-comp-radio-button.scss +68 -0
  141. package/tokens/v0_161/_md-comp-rich-tooltip.scss +121 -0
  142. package/tokens/v0_161/_md-comp-scrim.scss +25 -0
  143. package/tokens/v0_161/_md-comp-search-bar.scss +99 -0
  144. package/tokens/v0_161/_md-comp-search-view.scss +93 -0
  145. package/tokens/v0_161/_md-comp-secondary-navigation-tab.scss +84 -0
  146. package/tokens/v0_161/_md-comp-sheet-bottom.scss +45 -0
  147. package/tokens/v0_161/_md-comp-sheet-floating.scss +34 -0
  148. package/tokens/v0_161/_md-comp-sheet-side.scss +91 -0
  149. package/tokens/v0_161/_md-comp-slider.scss +114 -0
  150. package/tokens/v0_161/_md-comp-snackbar.scss +127 -0
  151. package/tokens/v0_161/_md-comp-standard-menu-button.scss +98 -0
  152. package/tokens/v0_161/_md-comp-suggestion-chip.scss +125 -0
  153. package/tokens/v0_161/_md-comp-switch.scss +136 -0
  154. package/tokens/v0_161/_md-comp-text-button.scss +77 -0
  155. package/tokens/v0_161/_md-comp-time-input.scss +218 -0
  156. package/tokens/v0_161/_md-comp-time-picker.scss +264 -0
  157. package/tokens/v0_161/_md-comp-top-app-bar-large.scss +63 -0
  158. package/tokens/v0_161/_md-comp-top-app-bar-medium.scss +63 -0
  159. package/tokens/v0_161/_md-comp-top-app-bar-small-centered.scss +66 -0
  160. package/tokens/v0_161/_md-comp-top-app-bar-small.scss +64 -0
  161. package/tokens/v0_161/_md-ref-palette.scss +107 -0
  162. package/tokens/v0_161/_md-ref-typeface.scss +21 -0
  163. package/tokens/v0_161/_md-sys-color.scss +904 -0
  164. package/tokens/v0_161/_md-sys-elevation.scss +21 -0
  165. package/tokens/v0_161/_md-sys-motion.scss +53 -0
  166. package/tokens/v0_161/_md-sys-shape.scss +30 -0
  167. package/tokens/v0_161/_md-sys-state.scss +19 -0
  168. package/tokens/v0_161/_md-sys-typescale.scss +284 -0
  169. package/tokens/v0_161/index.test.css.js +9 -0
  170. package/tokens/v0_161/index.test.css.js.map +1 -0
  171. package/tokens/v0_161/index.test.scss +584 -0
  172. package/tokens/v0_161/lib.test.css.js +9 -0
  173. package/tokens/v0_161/lib.test.css.js.map +1 -0
  174. package/tokens/v0_161/lib.test.scss +663 -0
  175. package/controller/foundation.d.ts +0 -24
  176. package/controller/foundation.js +0 -18
  177. package/controller/foundation.js.map +0 -1
  178. package/controller/observer-foundation.d.ts +0 -25
  179. package/controller/observer-foundation.js +0 -37
  180. package/controller/observer-foundation.js.map +0 -1
  181. package/controller/observer.d.ts +0 -52
  182. package/controller/observer.js +0 -149
  183. package/controller/observer.js.map +0 -1
  184. package/decorators/bound.d.ts +0 -40
  185. package/decorators/bound.js +0 -49
  186. package/decorators/bound.js.map +0 -1
  187. package/list/lib/avatar/_list-item-avatar.scss +0 -40
  188. package/list/lib/avatar/list-item-avatar-styles.css.js +0 -9
  189. package/list/lib/avatar/list-item-avatar-styles.css.js.map +0 -1
  190. package/list/lib/avatar/list-item-avatar-styles.scss +0 -10
  191. package/list/lib/avatar/list-item-avatar.d.ts +0 -21
  192. package/list/lib/avatar/list-item-avatar.js +0 -48
  193. package/list/lib/avatar/list-item-avatar.js.map +0 -1
  194. package/list/lib/icon/_list-item-icon.scss +0 -71
  195. package/list/lib/icon/list-item-icon-styles.css.js +0 -9
  196. package/list/lib/icon/list-item-icon-styles.css.js.map +0 -1
  197. package/list/lib/icon/list-item-icon-styles.scss +0 -10
  198. package/list/lib/icon/list-item-icon.d.ts +0 -9
  199. package/list/lib/icon/list-item-icon.js +0 -15
  200. package/list/lib/icon/list-item-icon.js.map +0 -1
  201. package/list/lib/image/_list-item-image.scss +0 -63
  202. package/list/lib/image/list-item-image-styles.css.d.ts +0 -1
  203. package/list/lib/image/list-item-image-styles.css.js +0 -9
  204. package/list/lib/image/list-item-image-styles.css.js.map +0 -1
  205. package/list/lib/image/list-item-image-styles.scss +0 -10
  206. package/list/lib/image/list-item-image.d.ts +0 -21
  207. package/list/lib/image/list-item-image.js +0 -48
  208. package/list/lib/image/list-item-image.js.map +0 -1
  209. package/list/lib/listitem/list-item-private-styles.css.d.ts +0 -1
  210. package/list/lib/listitem/list-item-private-styles.css.js +0 -9
  211. package/list/lib/listitem/list-item-private-styles.css.js.map +0 -1
  212. package/list/lib/listitem/list-item-private-styles.scss +0 -10
  213. package/list/lib/video/_list-item-video.scss +0 -71
  214. package/list/lib/video/list-item-video-styles.css.d.ts +0 -1
  215. package/list/lib/video/list-item-video-styles.css.js +0 -9
  216. package/list/lib/video/list-item-video-styles.css.js.map +0 -1
  217. package/list/lib/video/list-item-video-styles.scss +0 -10
  218. package/list/lib/video/list-item-video.d.ts +0 -53
  219. package/list/lib/video/list-item-video.js +0 -115
  220. package/list/lib/video/list-item-video.js.map +0 -1
  221. package/list/list-item-avatar.d.ts +0 -20
  222. package/list/list-item-avatar.js +0 -23
  223. package/list/list-item-avatar.js.map +0 -1
  224. package/list/list-item-icon.d.ts +0 -20
  225. package/list/list-item-icon.js +0 -23
  226. package/list/list-item-icon.js.map +0 -1
  227. package/list/list-item-image.d.ts +0 -20
  228. package/list/list-item-image.js +0 -23
  229. package/list/list-item-image.js.map +0 -1
  230. package/list/list-item-video.d.ts +0 -20
  231. package/list/list-item-video.js +0 -23
  232. package/list/list-item-video.js.map +0 -1
  233. package/menu/lib/menuitem/menu-item-private-styles.css.d.ts +0 -1
  234. package/menu/lib/menuitem/menu-item-private-styles.css.js +0 -9
  235. package/menu/lib/menuitem/menu-item-private-styles.css.js.map +0 -1
  236. package/menu/lib/menuitem/menu-item-private-styles.scss +0 -10
  237. /package/{list/lib/avatar/list-item-avatar-styles.css.d.ts → tokens/v0_161/index.test.css.d.ts} +0 -0
  238. /package/{list/lib/icon/list-item-icon-styles.css.d.ts → tokens/v0_161/lib.test.css.d.ts} +0 -0
@@ -0,0 +1,663 @@
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
+ //
9
+
10
+ @use 'true' as test;
11
+
12
+ @use './md-comp-assist-chip';
13
+ @use './md-comp-badge';
14
+ @use './md-comp-banner';
15
+ @use './md-comp-bottom-app-bar';
16
+ @use './md-comp-carousel-item';
17
+ @use './md-comp-checkbox';
18
+ @use './md-comp-circular-progress-indicator';
19
+ @use './md-comp-data-table';
20
+ @use './md-comp-date-input-modal';
21
+ @use './md-comp-date-picker-docked';
22
+ @use './md-comp-date-picker-modal';
23
+ @use './md-comp-dialog';
24
+ @use './md-comp-divider';
25
+ @use './md-comp-elevated-button';
26
+ @use './md-comp-elevated-card';
27
+ @use './md-comp-extended-fab-branded';
28
+ @use './md-comp-extended-fab-primary';
29
+ @use './md-comp-extended-fab-secondary';
30
+ @use './md-comp-extended-fab-surface';
31
+ @use './md-comp-extended-fab-tertiary';
32
+ @use './md-comp-fab-branded';
33
+ @use './md-comp-fab-branded-large';
34
+ @use './md-comp-fab-primary';
35
+ @use './md-comp-fab-primary-large';
36
+ @use './md-comp-fab-primary-small';
37
+ @use './md-comp-fab-secondary';
38
+ @use './md-comp-fab-secondary-large';
39
+ @use './md-comp-fab-secondary-small';
40
+ @use './md-comp-fab-surface';
41
+ @use './md-comp-fab-surface-large';
42
+ @use './md-comp-fab-surface-small';
43
+ @use './md-comp-fab-tertiary';
44
+ @use './md-comp-fab-tertiary-large';
45
+ @use './md-comp-fab-tertiary-small';
46
+ @use './md-comp-filled-autocomplete';
47
+ @use './md-comp-filled-button';
48
+ @use './md-comp-filled-card';
49
+ @use './md-comp-filled-icon-button';
50
+ @use './md-comp-filled-menu-button';
51
+ @use './md-comp-filled-select';
52
+ @use './md-comp-filled-text-field';
53
+ @use './md-comp-filled-tonal-button';
54
+ @use './md-comp-filled-tonal-icon-button';
55
+ @use './md-comp-filter-chip';
56
+ @use './md-comp-full-screen-dialog';
57
+ @use './md-comp-icon-button';
58
+ @use './md-comp-input-chip';
59
+ @use './md-comp-linear-progress-indicator';
60
+ @use './md-comp-list';
61
+ @use './md-comp-menu';
62
+ @use './md-comp-navigation-bar';
63
+ @use './md-comp-navigation-drawer';
64
+ @use './md-comp-navigation-rail';
65
+ @use './md-comp-outlined-autocomplete';
66
+ @use './md-comp-outlined-button';
67
+ @use './md-comp-outlined-card';
68
+ @use './md-comp-outlined-icon-button';
69
+ @use './md-comp-outlined-menu-button';
70
+ @use './md-comp-outlined-segmented-button';
71
+ @use './md-comp-outlined-select';
72
+ @use './md-comp-outlined-text-field';
73
+ @use './md-comp-plain-tooltip';
74
+ @use './md-comp-primary-navigation-tab';
75
+ @use './md-comp-radio-button';
76
+ @use './md-comp-rich-tooltip';
77
+ @use './md-comp-scrim';
78
+ @use './md-comp-search-bar';
79
+ @use './md-comp-search-view';
80
+ @use './md-comp-secondary-navigation-tab';
81
+ @use './md-comp-sheet-bottom';
82
+ @use './md-comp-sheet-floating';
83
+ @use './md-comp-sheet-side';
84
+ @use './md-comp-slider';
85
+ @use './md-comp-snackbar';
86
+ @use './md-comp-standard-menu-button';
87
+ @use './md-comp-suggestion-chip';
88
+ @use './md-comp-switch';
89
+ @use './md-comp-text-button';
90
+ @use './md-comp-time-input';
91
+ @use './md-comp-time-picker';
92
+ @use './md-comp-top-app-bar-large';
93
+ @use './md-comp-top-app-bar-medium';
94
+ @use './md-comp-top-app-bar-small';
95
+ @use './md-comp-top-app-bar-small-centered';
96
+ @use './md-ref-palette';
97
+ @use './md-ref-typeface';
98
+ @use './md-sys-color';
99
+ @use './md-sys-elevation';
100
+ @use './md-sys-motion';
101
+ @use './md-sys-shape';
102
+ @use './md-sys-state';
103
+ @use './md-sys-typescale';
104
+
105
+ @include test.describe('lib') {
106
+ @include test.describe('md-comp-assist-chip.values') {
107
+ @include test.it('should return non-empty map') {
108
+ @include test.assert-true(md-comp-assist-chip.values());
109
+ }
110
+ }
111
+
112
+ @include test.describe('md-comp-badge.values') {
113
+ @include test.it('should return non-empty map') {
114
+ @include test.assert-true(md-comp-badge.values());
115
+ }
116
+ }
117
+
118
+ @include test.describe('md-comp-banner.values') {
119
+ @include test.it('should return non-empty map') {
120
+ @include test.assert-true(md-comp-banner.values());
121
+ }
122
+ }
123
+
124
+ @include test.describe('md-comp-bottom-app-bar.values') {
125
+ @include test.it('should return non-empty map') {
126
+ @include test.assert-true(md-comp-bottom-app-bar.values());
127
+ }
128
+ }
129
+
130
+ @include test.describe('md-comp-carousel-item.values') {
131
+ @include test.it('should return non-empty map') {
132
+ @include test.assert-true(md-comp-carousel-item.values());
133
+ }
134
+ }
135
+
136
+ @include test.describe('md-comp-checkbox.values') {
137
+ @include test.it('should return non-empty map') {
138
+ @include test.assert-true(md-comp-checkbox.values());
139
+ }
140
+ }
141
+
142
+ @include test.describe('md-comp-circular-progress-indicator.values') {
143
+ @include test.it('should return non-empty map') {
144
+ @include test.assert-true(md-comp-circular-progress-indicator.values());
145
+ }
146
+ }
147
+
148
+ @include test.describe('md-comp-data-table.values') {
149
+ @include test.it('should return non-empty map') {
150
+ @include test.assert-true(md-comp-data-table.values());
151
+ }
152
+ }
153
+
154
+ @include test.describe('md-comp-date-input-modal.values') {
155
+ @include test.it('should return non-empty map') {
156
+ @include test.assert-true(md-comp-date-input-modal.values());
157
+ }
158
+ }
159
+
160
+ @include test.describe('md-comp-date-picker-docked.values') {
161
+ @include test.it('should return non-empty map') {
162
+ @include test.assert-true(md-comp-date-picker-docked.values());
163
+ }
164
+ }
165
+
166
+ @include test.describe('md-comp-date-picker-modal.values') {
167
+ @include test.it('should return non-empty map') {
168
+ @include test.assert-true(md-comp-date-picker-modal.values());
169
+ }
170
+ }
171
+
172
+ @include test.describe('md-comp-dialog.values') {
173
+ @include test.it('should return non-empty map') {
174
+ @include test.assert-true(md-comp-dialog.values());
175
+ }
176
+ }
177
+
178
+ @include test.describe('md-comp-divider.values') {
179
+ @include test.it('should return non-empty map') {
180
+ @include test.assert-true(md-comp-divider.values());
181
+ }
182
+ }
183
+
184
+ @include test.describe('md-comp-elevated-button.values') {
185
+ @include test.it('should return non-empty map') {
186
+ @include test.assert-true(md-comp-elevated-button.values());
187
+ }
188
+ }
189
+
190
+ @include test.describe('md-comp-elevated-card.values') {
191
+ @include test.it('should return non-empty map') {
192
+ @include test.assert-true(md-comp-elevated-card.values());
193
+ }
194
+ }
195
+
196
+ @include test.describe('md-comp-extended-fab-branded.values') {
197
+ @include test.it('should return non-empty map') {
198
+ @include test.assert-true(md-comp-extended-fab-branded.values());
199
+ }
200
+ }
201
+
202
+ @include test.describe('md-comp-extended-fab-primary.values') {
203
+ @include test.it('should return non-empty map') {
204
+ @include test.assert-true(md-comp-extended-fab-primary.values());
205
+ }
206
+ }
207
+
208
+ @include test.describe('md-comp-extended-fab-secondary.values') {
209
+ @include test.it('should return non-empty map') {
210
+ @include test.assert-true(md-comp-extended-fab-secondary.values());
211
+ }
212
+ }
213
+
214
+ @include test.describe('md-comp-extended-fab-surface.values') {
215
+ @include test.it('should return non-empty map') {
216
+ @include test.assert-true(md-comp-extended-fab-surface.values());
217
+ }
218
+ }
219
+
220
+ @include test.describe('md-comp-extended-fab-tertiary.values') {
221
+ @include test.it('should return non-empty map') {
222
+ @include test.assert-true(md-comp-extended-fab-tertiary.values());
223
+ }
224
+ }
225
+
226
+ @include test.describe('md-comp-fab-branded.values') {
227
+ @include test.it('should return non-empty map') {
228
+ @include test.assert-true(md-comp-fab-branded.values());
229
+ }
230
+ }
231
+
232
+ @include test.describe('md-comp-fab-branded-large.values') {
233
+ @include test.it('should return non-empty map') {
234
+ @include test.assert-true(md-comp-fab-branded-large.values());
235
+ }
236
+ }
237
+
238
+ @include test.describe('md-comp-fab-primary.values') {
239
+ @include test.it('should return non-empty map') {
240
+ @include test.assert-true(md-comp-fab-primary.values());
241
+ }
242
+ }
243
+
244
+ @include test.describe('md-comp-fab-primary-large.values') {
245
+ @include test.it('should return non-empty map') {
246
+ @include test.assert-true(md-comp-fab-primary-large.values());
247
+ }
248
+ }
249
+
250
+ @include test.describe('md-comp-fab-primary-small.values') {
251
+ @include test.it('should return non-empty map') {
252
+ @include test.assert-true(md-comp-fab-primary-small.values());
253
+ }
254
+ }
255
+
256
+ @include test.describe('md-comp-fab-secondary.values') {
257
+ @include test.it('should return non-empty map') {
258
+ @include test.assert-true(md-comp-fab-secondary.values());
259
+ }
260
+ }
261
+
262
+ @include test.describe('md-comp-fab-secondary-large.values') {
263
+ @include test.it('should return non-empty map') {
264
+ @include test.assert-true(md-comp-fab-secondary-large.values());
265
+ }
266
+ }
267
+
268
+ @include test.describe('md-comp-fab-secondary-small.values') {
269
+ @include test.it('should return non-empty map') {
270
+ @include test.assert-true(md-comp-fab-secondary-small.values());
271
+ }
272
+ }
273
+
274
+ @include test.describe('md-comp-fab-surface.values') {
275
+ @include test.it('should return non-empty map') {
276
+ @include test.assert-true(md-comp-fab-surface.values());
277
+ }
278
+ }
279
+
280
+ @include test.describe('md-comp-fab-surface-large.values') {
281
+ @include test.it('should return non-empty map') {
282
+ @include test.assert-true(md-comp-fab-surface-large.values());
283
+ }
284
+ }
285
+
286
+ @include test.describe('md-comp-fab-surface-small.values') {
287
+ @include test.it('should return non-empty map') {
288
+ @include test.assert-true(md-comp-fab-surface-small.values());
289
+ }
290
+ }
291
+
292
+ @include test.describe('md-comp-fab-tertiary.values') {
293
+ @include test.it('should return non-empty map') {
294
+ @include test.assert-true(md-comp-fab-tertiary.values());
295
+ }
296
+ }
297
+
298
+ @include test.describe('md-comp-fab-tertiary-large.values') {
299
+ @include test.it('should return non-empty map') {
300
+ @include test.assert-true(md-comp-fab-tertiary-large.values());
301
+ }
302
+ }
303
+
304
+ @include test.describe('md-comp-fab-tertiary-small.values') {
305
+ @include test.it('should return non-empty map') {
306
+ @include test.assert-true(md-comp-fab-tertiary-small.values());
307
+ }
308
+ }
309
+
310
+ @include test.describe('md-comp-filled-autocomplete.values') {
311
+ @include test.it('should return non-empty map') {
312
+ @include test.assert-true(md-comp-filled-autocomplete.values());
313
+ }
314
+ }
315
+
316
+ @include test.describe('md-comp-filled-button.values') {
317
+ @include test.it('should return non-empty map') {
318
+ @include test.assert-true(md-comp-filled-button.values());
319
+ }
320
+ }
321
+
322
+ @include test.describe('md-comp-filled-card.values') {
323
+ @include test.it('should return non-empty map') {
324
+ @include test.assert-true(md-comp-filled-card.values());
325
+ }
326
+ }
327
+
328
+ @include test.describe('md-comp-filled-icon-button.values') {
329
+ @include test.it('should return non-empty map') {
330
+ @include test.assert-true(md-comp-filled-icon-button.values());
331
+ }
332
+ }
333
+
334
+ @include test.describe('md-comp-filled-menu-button.values') {
335
+ @include test.it('should return non-empty map') {
336
+ @include test.assert-true(md-comp-filled-menu-button.values());
337
+ }
338
+ }
339
+
340
+ @include test.describe('md-comp-filled-select.values') {
341
+ @include test.it('should return non-empty map') {
342
+ @include test.assert-true(md-comp-filled-select.values());
343
+ }
344
+ }
345
+
346
+ @include test.describe('md-comp-filled-text-field.values') {
347
+ @include test.it('should return non-empty map') {
348
+ @include test.assert-true(md-comp-filled-text-field.values());
349
+ }
350
+ }
351
+
352
+ @include test.describe('md-comp-filled-tonal-button.values') {
353
+ @include test.it('should return non-empty map') {
354
+ @include test.assert-true(md-comp-filled-tonal-button.values());
355
+ }
356
+ }
357
+
358
+ @include test.describe('md-comp-filled-tonal-icon-button.values') {
359
+ @include test.it('should return non-empty map') {
360
+ @include test.assert-true(md-comp-filled-tonal-icon-button.values());
361
+ }
362
+ }
363
+
364
+ @include test.describe('md-comp-filter-chip.values') {
365
+ @include test.it('should return non-empty map') {
366
+ @include test.assert-true(md-comp-filter-chip.values());
367
+ }
368
+ }
369
+
370
+ @include test.describe('md-comp-full-screen-dialog.values') {
371
+ @include test.it('should return non-empty map') {
372
+ @include test.assert-true(md-comp-full-screen-dialog.values());
373
+ }
374
+ }
375
+
376
+ @include test.describe('md-comp-icon-button.values') {
377
+ @include test.it('should return non-empty map') {
378
+ @include test.assert-true(md-comp-icon-button.values());
379
+ }
380
+ }
381
+
382
+ @include test.describe('md-comp-input-chip.values') {
383
+ @include test.it('should return non-empty map') {
384
+ @include test.assert-true(md-comp-input-chip.values());
385
+ }
386
+ }
387
+
388
+ @include test.describe('md-comp-linear-progress-indicator.values') {
389
+ @include test.it('should return non-empty map') {
390
+ @include test.assert-true(md-comp-linear-progress-indicator.values());
391
+ }
392
+ }
393
+
394
+ @include test.describe('md-comp-list.values') {
395
+ @include test.it('should return non-empty map') {
396
+ @include test.assert-true(md-comp-list.values());
397
+ }
398
+ }
399
+
400
+ @include test.describe('md-comp-menu.values') {
401
+ @include test.it('should return non-empty map') {
402
+ @include test.assert-true(md-comp-menu.values());
403
+ }
404
+ }
405
+
406
+ @include test.describe('md-comp-navigation-bar.values') {
407
+ @include test.it('should return non-empty map') {
408
+ @include test.assert-true(md-comp-navigation-bar.values());
409
+ }
410
+ }
411
+
412
+ @include test.describe('md-comp-navigation-drawer.values') {
413
+ @include test.it('should return non-empty map') {
414
+ @include test.assert-true(md-comp-navigation-drawer.values());
415
+ }
416
+ }
417
+
418
+ @include test.describe('md-comp-navigation-rail.values') {
419
+ @include test.it('should return non-empty map') {
420
+ @include test.assert-true(md-comp-navigation-rail.values());
421
+ }
422
+ }
423
+
424
+ @include test.describe('md-comp-outlined-autocomplete.values') {
425
+ @include test.it('should return non-empty map') {
426
+ @include test.assert-true(md-comp-outlined-autocomplete.values());
427
+ }
428
+ }
429
+
430
+ @include test.describe('md-comp-outlined-button.values') {
431
+ @include test.it('should return non-empty map') {
432
+ @include test.assert-true(md-comp-outlined-button.values());
433
+ }
434
+ }
435
+
436
+ @include test.describe('md-comp-outlined-card.values') {
437
+ @include test.it('should return non-empty map') {
438
+ @include test.assert-true(md-comp-outlined-card.values());
439
+ }
440
+ }
441
+
442
+ @include test.describe('md-comp-outlined-icon-button.values') {
443
+ @include test.it('should return non-empty map') {
444
+ @include test.assert-true(md-comp-outlined-icon-button.values());
445
+ }
446
+ }
447
+
448
+ @include test.describe('md-comp-outlined-menu-button.values') {
449
+ @include test.it('should return non-empty map') {
450
+ @include test.assert-true(md-comp-outlined-menu-button.values());
451
+ }
452
+ }
453
+
454
+ @include test.describe('md-comp-outlined-segmented-button.values') {
455
+ @include test.it('should return non-empty map') {
456
+ @include test.assert-true(md-comp-outlined-segmented-button.values());
457
+ }
458
+ }
459
+
460
+ @include test.describe('md-comp-outlined-select.values') {
461
+ @include test.it('should return non-empty map') {
462
+ @include test.assert-true(md-comp-outlined-select.values());
463
+ }
464
+ }
465
+
466
+ @include test.describe('md-comp-outlined-text-field.values') {
467
+ @include test.it('should return non-empty map') {
468
+ @include test.assert-true(md-comp-outlined-text-field.values());
469
+ }
470
+ }
471
+
472
+ @include test.describe('md-comp-plain-tooltip.values') {
473
+ @include test.it('should return non-empty map') {
474
+ @include test.assert-true(md-comp-plain-tooltip.values());
475
+ }
476
+ }
477
+
478
+ @include test.describe('md-comp-primary-navigation-tab.values') {
479
+ @include test.it('should return non-empty map') {
480
+ @include test.assert-true(md-comp-primary-navigation-tab.values());
481
+ }
482
+ }
483
+
484
+ @include test.describe('md-comp-radio-button.values') {
485
+ @include test.it('should return non-empty map') {
486
+ @include test.assert-true(md-comp-radio-button.values());
487
+ }
488
+ }
489
+
490
+ @include test.describe('md-comp-rich-tooltip.values') {
491
+ @include test.it('should return non-empty map') {
492
+ @include test.assert-true(md-comp-rich-tooltip.values());
493
+ }
494
+ }
495
+
496
+ @include test.describe('md-comp-scrim.values') {
497
+ @include test.it('should return non-empty map') {
498
+ @include test.assert-true(md-comp-scrim.values());
499
+ }
500
+ }
501
+
502
+ @include test.describe('md-comp-search-bar.values') {
503
+ @include test.it('should return non-empty map') {
504
+ @include test.assert-true(md-comp-search-bar.values());
505
+ }
506
+ }
507
+
508
+ @include test.describe('md-comp-search-view.values') {
509
+ @include test.it('should return non-empty map') {
510
+ @include test.assert-true(md-comp-search-view.values());
511
+ }
512
+ }
513
+
514
+ @include test.describe('md-comp-secondary-navigation-tab.values') {
515
+ @include test.it('should return non-empty map') {
516
+ @include test.assert-true(md-comp-secondary-navigation-tab.values());
517
+ }
518
+ }
519
+
520
+ @include test.describe('md-comp-sheet-bottom.values') {
521
+ @include test.it('should return non-empty map') {
522
+ @include test.assert-true(md-comp-sheet-bottom.values());
523
+ }
524
+ }
525
+
526
+ @include test.describe('md-comp-sheet-floating.values') {
527
+ @include test.it('should return non-empty map') {
528
+ @include test.assert-true(md-comp-sheet-floating.values());
529
+ }
530
+ }
531
+
532
+ @include test.describe('md-comp-sheet-side.values') {
533
+ @include test.it('should return non-empty map') {
534
+ @include test.assert-true(md-comp-sheet-side.values());
535
+ }
536
+ }
537
+
538
+ @include test.describe('md-comp-slider.values') {
539
+ @include test.it('should return non-empty map') {
540
+ @include test.assert-true(md-comp-slider.values());
541
+ }
542
+ }
543
+
544
+ @include test.describe('md-comp-snackbar.values') {
545
+ @include test.it('should return non-empty map') {
546
+ @include test.assert-true(md-comp-snackbar.values());
547
+ }
548
+ }
549
+
550
+ @include test.describe('md-comp-standard-menu-button.values') {
551
+ @include test.it('should return non-empty map') {
552
+ @include test.assert-true(md-comp-standard-menu-button.values());
553
+ }
554
+ }
555
+
556
+ @include test.describe('md-comp-suggestion-chip.values') {
557
+ @include test.it('should return non-empty map') {
558
+ @include test.assert-true(md-comp-suggestion-chip.values());
559
+ }
560
+ }
561
+
562
+ @include test.describe('md-comp-switch.values') {
563
+ @include test.it('should return non-empty map') {
564
+ @include test.assert-true(md-comp-switch.values());
565
+ }
566
+ }
567
+
568
+ @include test.describe('md-comp-text-button.values') {
569
+ @include test.it('should return non-empty map') {
570
+ @include test.assert-true(md-comp-text-button.values());
571
+ }
572
+ }
573
+
574
+ @include test.describe('md-comp-time-input.values') {
575
+ @include test.it('should return non-empty map') {
576
+ @include test.assert-true(md-comp-time-input.values());
577
+ }
578
+ }
579
+
580
+ @include test.describe('md-comp-time-picker.values') {
581
+ @include test.it('should return non-empty map') {
582
+ @include test.assert-true(md-comp-time-picker.values());
583
+ }
584
+ }
585
+
586
+ @include test.describe('md-comp-top-app-bar-large.values') {
587
+ @include test.it('should return non-empty map') {
588
+ @include test.assert-true(md-comp-top-app-bar-large.values());
589
+ }
590
+ }
591
+
592
+ @include test.describe('md-comp-top-app-bar-medium.values') {
593
+ @include test.it('should return non-empty map') {
594
+ @include test.assert-true(md-comp-top-app-bar-medium.values());
595
+ }
596
+ }
597
+
598
+ @include test.describe('md-comp-top-app-bar-small.values') {
599
+ @include test.it('should return non-empty map') {
600
+ @include test.assert-true(md-comp-top-app-bar-small.values());
601
+ }
602
+ }
603
+
604
+ @include test.describe('md-comp-top-app-bar-small-centered.values') {
605
+ @include test.it('should return non-empty map') {
606
+ @include test.assert-true(md-comp-top-app-bar-small-centered.values());
607
+ }
608
+ }
609
+
610
+ @include test.describe('md-ref-palette.values') {
611
+ @include test.it('should return non-empty map') {
612
+ @include test.assert-true(md-ref-palette.values());
613
+ }
614
+ }
615
+
616
+ @include test.describe('md-ref-typeface.values') {
617
+ @include test.it('should return non-empty map') {
618
+ @include test.assert-true(md-ref-typeface.values());
619
+ }
620
+ }
621
+
622
+ @include test.describe('md-sys-color.values-dark') {
623
+ @include test.it('should return non-empty map') {
624
+ @include test.assert-true(md-sys-color.values-dark());
625
+ }
626
+ }
627
+
628
+ @include test.describe('md-sys-color.values-light') {
629
+ @include test.it('should return non-empty map') {
630
+ @include test.assert-true(md-sys-color.values-light());
631
+ }
632
+ }
633
+
634
+ @include test.describe('md-sys-elevation.values') {
635
+ @include test.it('should return non-empty map') {
636
+ @include test.assert-true(md-sys-elevation.values());
637
+ }
638
+ }
639
+
640
+ @include test.describe('md-sys-motion.values') {
641
+ @include test.it('should return non-empty map') {
642
+ @include test.assert-true(md-sys-motion.values());
643
+ }
644
+ }
645
+
646
+ @include test.describe('md-sys-shape.values') {
647
+ @include test.it('should return non-empty map') {
648
+ @include test.assert-true(md-sys-shape.values());
649
+ }
650
+ }
651
+
652
+ @include test.describe('md-sys-state.values') {
653
+ @include test.it('should return non-empty map') {
654
+ @include test.assert-true(md-sys-state.values());
655
+ }
656
+ }
657
+
658
+ @include test.describe('md-sys-typescale.values') {
659
+ @include test.it('should return non-empty map') {
660
+ @include test.assert-true(md-sys-typescale.values());
661
+ }
662
+ }
663
+ }
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * Legacy stateful foundation class for components.
8
- */
9
- export declare class Foundation<Adapter extends object> {
10
- protected adapter: Adapter;
11
- constructor(adapter: Adapter);
12
- protected init(): void;
13
- }
14
- /**
15
- * The constructor for a foundation.
16
- */
17
- export interface FoundationConstructor<Adapter extends object> {
18
- new (adapter: Adapter): Foundation<Adapter>;
19
- readonly prototype: Foundation<Adapter>;
20
- }
21
- /**
22
- * Retrieves the adapter type from the provided foundation type.
23
- */
24
- export type AdapterOf<FoundationType> = FoundationType extends Foundation<infer A> ? A : never;
@@ -1,18 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * Legacy stateful foundation class for components.
8
- */
9
- export class Foundation {
10
- constructor(adapter) {
11
- this.adapter = adapter;
12
- this.init();
13
- }
14
- init() {
15
- // Subclasses should override this method to perform initialization routines
16
- }
17
- }
18
- //# sourceMappingURL=foundation.js.map