Skip to content

Commit 780783b

Browse files
committed
feat(core): remove Elevation module
1 parent 8381a75 commit 780783b

File tree

9 files changed

+2
-131
lines changed

9 files changed

+2
-131
lines changed

packages/core/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,6 @@
230230
"./components/area-chart/less": "./components/area-chart/area-chart.less",
231231
"./components/area-chart/css": "./components/area-chart/area-chart.css",
232232
"./components/area-chart/css/rtl": "./components/area-chart/area-chart-rtl.css",
233-
"./components/elevation": "./components/elevation/elevation.js",
234-
"./components/elevation/less": "./components/elevation/elevation.less",
235-
"./components/elevation/css": "./components/elevation/elevation.css",
236-
"./components/elevation/css/rtl": "./components/elevation/elevation-rtl.css",
237233
"./components/typography": "./components/typography/typography.js",
238234
"./components/typography/less": "./components/typography/typography.less",
239235
"./components/typography/css": "./components/typography/typography.css",

scripts/build-config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ const config = {
123123

124124
'breadcrumbs',
125125

126-
// Elevation
127-
'elevation',
128-
129126
// Typography
130127
'typography',
131128
],

src/core/components/elevation/elevation-ios.less

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/core/components/elevation/elevation-md.less

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/core/components/elevation/elevation-vars.less

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/core/components/elevation/elevation.d.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/core/components/elevation/elevation.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/core/components/elevation/elevation.less

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/core/components/pull-to-refresh/pull-to-refresh-md.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
margin-top: calc(-1 * var(--f7-ptr-size));
99
z-index: 100;
10-
box-shadow: var(--f7-elevation-1);
10+
box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14),
11+
0px 1px 3px 0px rgba(0, 0, 0, 0.12);
1112
.ltr({
1213
left: 50%;
1314
margin-left: calc(-1 * var(--f7-ptr-size) / 2);

0 commit comments

Comments
 (0)