Skip to content

Commit 19ea062

Browse files
authored
Remove material web components. (dart-lang#9467)
1 parent 06ec172 commit 19ea062

67 files changed

Lines changed: 0 additions & 6985 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/lib/frontend/static_files.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ class StaticFileCache {
9797
_resolveDir('third_party/dartdoc/resources'),
9898
baseDir: thirdPartyDir,
9999
);
100-
_addDirectory(
101-
_resolveDir('third_party/material/bundle'),
102-
baseDir: thirdPartyDir,
103-
);
104100
_joinFiles(
105101
path: '/static/highlight/highlight-with-init.js',
106102
from: [

app/lib/frontend/templates/views/shared/layout.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,11 @@ d.Node pageLayoutNode({
127127
title: versionsFeedTitle,
128128
href: versionsFeedUrl,
129129
),
130-
d.link(
131-
rel: 'stylesheet',
132-
type: 'text/css',
133-
href: staticUrls.getAssetUrl(
134-
'/static/material/bundle/styles.css',
135-
),
136-
),
137130
d.link(
138131
rel: 'stylesheet',
139132
type: 'text/css',
140133
href: staticUrls.getAssetUrl('/static/css/style.css'),
141134
),
142-
d.script(
143-
src: staticUrls.getAssetUrl(
144-
'/static/material/bundle/script.min.js',
145-
),
146-
defer: true,
147-
),
148135
d.script(
149136
src: staticUrls.getAssetUrl('/static/js/script.dart.js'),
150137
defer: true,

app/test/frontend/golden/authorized_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="search" type="application/opensearchdescription+xml" title="Dart packages" href="/osd.xml"/>
2626
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2727
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
28-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
2928
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
30-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3129
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3230
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3331
<link rel="preload" href="/static/hash-%%etag%%/highlight/highlight-with-init.js" as="script"/>

app/test/frontend/golden/consent_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="search" type="application/opensearchdescription+xml" title="Dart packages" href="/osd.xml"/>
2626
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2727
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
28-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
2928
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
30-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3129
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3230
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3331
<meta name="pub-page-data" content="eyJjb25zZW50SWQiOiIxMjM0LTU2NzgiLCJzZXNzaW9uQXdhcmUiOnRydWV9"/>

app/test/frontend/golden/create_publisher_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="search" type="application/opensearchdescription+xml" title="Dart packages" href="/osd.xml"/>
2626
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2727
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
28-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
2928
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
30-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3129
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3230
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3331
</head>

app/test/frontend/golden/error_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="search" type="application/opensearchdescription+xml" title="Dart packages" href="/osd.xml"/>
2626
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2727
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
28-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
2928
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
30-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3129
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3230
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3331
</head>

app/test/frontend/golden/help_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
<link rel="canonical" href="https://pub.dev/help"/>
2727
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2828
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
29-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
3029
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
31-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3230
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3331
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3432
</head>

app/test/frontend/golden/landing_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
<link rel="canonical" href="https://pub.dev/"/>
2727
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2828
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
29-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
3029
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
31-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3230
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3331
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3432
<link rel="preload" href="/static/hash-%%etag%%/img/hero-bg-static.svg" as="image"/>

app/test/frontend/golden/my_activity_log_page.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="search" type="application/opensearchdescription+xml" title="Dart packages" href="/osd.xml"/>
2626
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2727
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
28-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
2928
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
30-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3129
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3230
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3331
<meta name="csrf-token" content="%%csrf-token%%"/>

app/test/frontend/golden/my_liked_packages.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="search" type="application/opensearchdescription+xml" title="Dart packages" href="/osd.xml"/>
2626
<meta name="description" content="Pub is the package manager for the Dart programming language, containing reusable libraries &amp; packages for Flutter and general Dart programs."/>
2727
<link rel="alternate" type="application/atom+xml" title="Recently published packages on pub.dev" href="/feed.atom"/>
28-
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/material/bundle/styles.css"/>
2928
<link rel="stylesheet" type="text/css" href="/static/hash-%%etag%%/css/style.css"/>
30-
<script src="/static/hash-%%etag%%/material/bundle/script.min.js" defer="defer"></script>
3129
<script src="/static/hash-%%etag%%/js/script.dart.js" defer="defer"></script>
3230
<script src="https://www.gstatic.com/brandstudio/kato/cookie_choice_component/cookie_consent_bar.v3.js" defer="defer" data-autoload-cookie-consent-bar="true"></script>
3331
<meta name="csrf-token" content="%%csrf-token%%"/>

0 commit comments

Comments
 (0)